100 Commits
Author SHA1 Message Date
Logan Cusano a4d07db766 #16 Update variable name
DRB Server Build / drb_server_build (push) Successful in 36s
DRB Tests / drb_mocha_tests (push) Failing after 1m13s
2024-05-11 14:40:10 -04:00
Logan Cusano 03c940e07c Update PDAB handler
- Move PDAB socket server startup to function
- Updated join server wrapper to start the server before opening the python app
2024-05-05 23:39:05 -04:00
Logan Cusano fee40dd609 #16 Updated join
-  After getting all available IDs, it now checks if there are IDs. If not telling the user
2024-05-05 22:00:04 -04:00
Logan Cusano 5671503594 Omitting OP25 update in the post update for now 2024-05-05 18:29:06 -04:00
Logan Cusano 0fd511cfaf Adding handlers for discord presense 2024-05-05 18:24:59 -04:00
Logan Cusano 9d0aa0191f Resolve bug when selecting ID on join 2024-05-05 18:24:11 -04:00
Logan Cusano 9ce8928d82 Revert base image and add global gyp install
DRB Server Build / drb_server_build (push) Successful in 24s
DRB Tests / drb_mocha_tests (push) Failing after 59s
2024-04-29 23:25:34 -04:00
Logan Cusano abadcf5cb5 Change base image of the dockerfile
DRB Server Build / drb_server_build (push) Failing after 9s
DRB Tests / drb_mocha_tests (push) Failing after 1m38s
2024-04-29 22:16:17 -04:00
Logan Cusano 4b18df9e2c Fix server build name and removed clean and run code, just update
DRB Server Build / drb_server_build (push) Successful in 6s
DRB Tests / drb_mocha_tests (push) Failing after 58s
2024-04-29 01:28:18 -04:00
Logan Cusano 26a8d8a172 Update build to clean and run the container
DRB Server Build / drb_mocha_tests (push) Successful in 6s
2024-04-29 01:20:50 -04:00
Logan Cusano 26f3493c8f Remove node setup from build action
DRB Tests / drb_mocha_tests (push) Failing after 58s
DRB Server Build / drb_mocha_tests (push) Successful in 8s
2024-04-29 01:17:14 -04:00
Logan Cusano fd261ef015 Missed addition
DRB Server Build / drb_mocha_tests (push) Failing after 7s
DRB Tests / drb_mocha_tests (push) Failing after 55s
- Server build action
2024-04-29 01:13:00 -04:00
Logan Cusano 91201c3527 Update tests
- Update test names
- Added new action to build the latest server code on the server it's running on
- Removed unnecessary vars from makefile
2024-04-29 01:12:30 -04:00
Logan Cusano dfb4c6afa1 Remove build from tests 2024-04-28 22:52:39 -04:00
Logan Cusano 3b8e70208a Update build tests
DRB Build Tests / build (push) Failing after 5s
DRB Build Tests / drb_build_and_test (push) Failing after 53s
Start docker in the test
2024-04-28 22:22:01 -04:00
Logan Cusano 99b60bf02c Update build tests
DRB Build Tests / build (push) Failing after 5s
DRB Build Tests / drb_build_and_test (push) Failing after 58s
2024-04-28 22:19:09 -04:00
Logan Cusano 831317b9f0 Update build test
DRB Build Tests / build (push) Failing after 7s
DRB Build Tests / drb_build_and_test (push) Failing after 56s
- Switch to installing docker io
2024-04-28 20:13:25 -04:00
Logan Cusano 2477b10900 Add docker install step to build test
DRB Build Tests / build (push) Failing after 1m17s
DRB Build Tests / drb_build_and_test (push) Failing after 57s
2024-04-28 06:08:57 -04:00
Logan Cusano 67c29f1d72 Remove gitea debug after potential resolution
DRB Build Tests / build (push) Failing after 8s
DRB Build Tests / drb_build_and_test (push) Failing after 1m1s
2024-04-28 06:07:06 -04:00
Logan Cusano 91ed4fb1dc gitea debug 2
DRB Build Tests / build (push) Failing after 1m3s
DRB Build Tests / drb_build_and_test (push) Failing after 1m31s
2024-04-28 05:50:52 -04:00
Logan Cusano 8ea02d1c0b gitea debug
DRB Build Tests / build (push) Failing after 16s
DRB Build Tests / drb_build_and_test (push) Has been cancelled
2024-04-28 05:49:57 -04:00
Logan Cusano b15ac7c973 Added working directory to build step
DRB Build Tests / build (push) Failing after 14s
DRB Build Tests / drb_build_and_test (push) Failing after 52s
2024-04-28 05:32:54 -04:00
Logan Cusano c2c90019d7 Update tests
DRB Build Tests / build (push) Failing after 32s
DRB Build Tests / drb_build_and_test (push) Failing after 58s
2024-04-28 05:30:13 -04:00
Logan Cusano 686ddc8a0f Gitea runner debug
DRB Build Tests / build (push) Failing after 25s
DRB Build Tests / drb_build_and_test (push) Failing after 41s
2024-04-28 05:22:20 -04:00
Logan Cusano 463ccc1bd5 Setup docker in the test
DRB Build Tests / build (push) Failing after 1m13s
DRB Build Tests / drb_build_and_test (push) Failing after 59s
2024-04-28 05:17:08 -04:00
Logan Cusano 14a2b4a1b9 Update tests
DRB Build Tests / build (push) Failing after 41s
DRB Build Tests / drb_build_and_test (push) Failing after 43s
- Output docker ps before curl
2024-04-28 05:13:40 -04:00
Logan Cusano 0c1f6cd867 Update dockerfile
DRB Build Tests / build (push) Failing after 34s
DRB Build Tests / drb_build_and_test (push) Failing after 51s
- Use the startup command used in the terminal
2024-04-28 05:11:49 -04:00
Logan Cusano 7175487d77 Update makefile
DRB Build Tests / build (push) Failing after 31s
DRB Build Tests / drb_build_and_test (push) Failing after 43s
- Run docker detached
2024-04-28 05:06:50 -04:00
Logan Cusano f0eac45955 Replace space with tab in makefile
DRB Build Tests / build (push) Failing after 12s
DRB Build Tests / drb_build_and_test (push) Has been cancelled
2024-04-28 05:05:43 -04:00
Logan Cusano c81dce99e2 Update makefile with clean step
DRB Build Tests / build (push) Failing after 7s
DRB Build Tests / drb_build_and_test (push) Has been cancelled
2024-04-28 05:04:52 -04:00
Logan Cusano 38cb1054e0 Add DISCORD_TOKEN var to tests and makefile
DRB Build Tests / build (push) Failing after 12s
DRB Build Tests / drb_build_and_test (push) Failing after 59s
2024-04-28 05:00:10 -04:00
Logan Cusano 12441c5c6d Update makefile
DRB Build Tests / build (push) Failing after 1m38s
DRB Build Tests / drb_build_and_test (push) Failing after 56s
- Mistake in the docker build path
2024-04-28 04:54:53 -04:00
Logan Cusano 1c1b071bd7 Update makefile
DRB Build Tests / build (push) Failing after 9s
DRB Build Tests / drb_build_and_test (push) Has been cancelled
- Removed all spaces for tabs
2024-04-28 04:53:55 -04:00
Logan Cusano 961c5c19e2 Update drb tests
DRB Build Tests / build (push) Failing after 7s
DRB Build Tests / drb_build_and_test (push) Failing after 56s
- Update working directory for make
2024-04-28 04:49:56 -04:00
Logan Cusano 49e52d8944 Add makefile for server and related action build test
DRB Build Tests / build (push) Failing after 7s
DRB Build Tests / drb_build_and_test (push) Failing after 58s
2024-04-28 04:46:08 -04:00
Logan Cusano 63ccfa70d3 Add server docker file and related action tests
DRB Build Tests / build (push) Failing after 15s
DRB Build Tests / drb_build_and_test (push) Failing after 1m2s
2024-04-28 04:34:15 -04:00
Logan Cusano 4bb8038a1d Update variables in test action
DRB Build Tests / drb_build_and_test (push) Failing after 57s
2024-04-28 03:26:06 -04:00
Logan Cusano a353b9adbb Improvements to tests and from testing
- Moved OP25 start outside of PDAB start callback
- Added more logging
- Set the pdabProcess variable to false when closing the discord client
- Update test variable names
- Added new WIP pdabWrappers tests to test the full wrappers as the client would
2024-04-28 03:21:03 -04:00
Logan Cusano bf69e93e29 Improve subprocess handler
- Will now output the subprocess console when in dev mode
2024-04-28 03:18:13 -04:00
Logan Cusano 6cae18e70c Update PDAB tests
DRB Build Tests / drb_build_and_test (push) Failing after 58s
- These new tests will likely not run in actions due to pyaudio
2024-04-27 23:34:30 -04:00
Logan Cusano e7229322e4 Update pdab handler
- Updated socket close
- Took server outside of the init (server is always running)
- initDiscordBotClient just starts the PDAB process
2024-04-27 23:33:53 -04:00
Logan Cusano 34aa5d17dc Updates to setup from testing
DRB Build Tests / drb_build_and_test (push) Successful in 52s
2024-04-26 23:46:13 -04:00
Logan Cusano 565fd5af37 Updated join voice log
DRB Build Tests / drb_build_and_test (push) Successful in 1m27s
2024-04-26 21:30:27 -04:00
Logan Cusano f04154d361 Remove client build test for now 2024-04-26 21:29:10 -04:00
Logan Cusano 383663e980 #30 Update discordBot
- Added voice states intent
2024-04-26 21:28:49 -04:00
Logan Cusano 7b21d4601f #10 Updated setup
DRB Build Tests / drb_test_setup (push) Failing after 2m34s
DRB Build Tests / drb_build_and_test (push) Successful in 47s
- Re-formatted apt deps. for readability with many packages
- Added libasound-dev to try and build pyaudio
2024-04-21 15:06:59 -04:00
Logan Cusano d0c2fcc8eb #10 #33 Update client setup and setup test
DRB Build Tests / drb_test_setup (push) Failing after 2m37s
DRB Build Tests / drb_build_and_test (push) Successful in 54s
- Added a step to run the service after setting it up
- Removed `--system` option from pip3
2024-04-21 14:57:17 -04:00
Logan Cusano 9ba90af464 #10 Update setup.sh
DRB Build Tests / drb_build_and_test (push) Successful in 52s
DRB Build Tests / drb_test_setup (push) Failing after 2m15s
- Remove systemctl stops as they are not needed and impact testing
2024-04-21 02:43:43 -04:00
Logan Cusano 6e8681e52d #10 Update client setup test
DRB Build Tests / drb_test_setup (push) Failing after 2m1s
DRB Build Tests / drb_build_and_test (push) Successful in 1m2s
- Updated test name
- Added user pi in test environment
2024-04-21 02:34:07 -04:00
Logan Cusano 8ba1ed36d8 #10 Update actions and setup script
DRB Build Tests / test_setup (push) Failing after 2m5s
DRB Build Tests / drb_build_and_test (push) Successful in 54s
- Removed the step to run the DRB client from socket tests
- Added a testing switch to the install script to return all preset values for all user input
- Added test switch to client setup action step
2024-04-21 02:28:37 -04:00
Logan Cusano 3074e88963 #10 Updated client setup test action
DRB Build Tests / test_setup (push) Failing after 2m27s
DRB Build Tests / drb_build_and_test (push) Failing after 41s
- Removed comment and fixed name typo
2024-04-21 02:15:38 -04:00
Logan Cusano 737b493b23 #10 Updated client setup test action
DRB Build Tests / test_setup (push) Failing after 8s
DRB Build Tests / drb_build_and_test (push) Failing after 56s
- Added working dir for setup test
2024-04-21 02:14:32 -04:00
Logan Cusano 539dbd9518 #10 Removing makefile
DRB Build Tests / test_setup (push) Failing after 9s
DRB Build Tests / drb_build_and_test (push) Has been cancelled
The makefile for the client is not as useful as a install script

- Updated test action to install client deps.
- Added new action to specifically test the install script for client
2024-04-21 02:13:35 -04:00
Logan Cusano 59bfdbe143 #10 Updating build test
DRB Build Tests / drb_build_and_test (push) Failing after 2m17s
- Adding the pi user in the test environment to match raspbian
2024-04-21 01:46:34 -04:00
Logan Cusano 560ed401cf #10 Updated Makefile
DRB Build Tests / drb_build_and_test (push) Failing after 2m39s
- Updated sed command in setup_pulse_audio
2024-04-21 01:38:45 -04:00
Logan Cusano 7b91667414 #10 Update Makefiles
DRB Build Tests / drb_build_and_test (push) Failing after 2m26s
- Removed the client_dir var as it's not needed
2024-04-21 01:31:04 -04:00
Logan Cusano fd9b6d9d1c #10 Updating build test to remove threads and sudo
DRB Build Tests / drb_build_and_test (push) Failing after 29s
2024-04-21 01:26:44 -04:00
Logan Cusano 3aae427249 #10 Updating makefile to include sudo
DRB Build Tests / drb_build_and_test (push) Has been cancelled
2024-04-21 01:24:24 -04:00
Logan Cusano bc4c8f72d0 #10 Update makefile
DRB Build Tests / drb_build_and_test (push) Failing after 2m27s
- Working on issue running OP25 install script
2024-04-21 01:14:40 -04:00
Logan Cusano cc4e5e762d #10 Added sudo to makefile test
DRB Build Tests / drb_build_and_test (push) Failing after 2m49s
2024-04-21 01:07:51 -04:00
Logan Cusano 31cedb2e9c #10 Combining tests
DRB Build Tests / drb_build_and_test (push) Failing after 2m16s
- Combined all tests
2024-04-21 01:01:32 -04:00
Logan Cusano 61a616ec6b #10 Updates
DRB Client Makefile Build Test / build (push) Failing after 54s
DRB Socket Communication Tests / test (push) Successful in 1m58s
- Added check for updates at boot
- Updated post update script to update OP25 and PDAB
- Added initial makefile to replace the `setup.sh`
- Added new test to make sure makefile builds
- Renamed socket tests
2024-04-21 00:52:15 -04:00
Logan Cusano d7b7b04f78 Update PDAB Wrappers
Run Discord Radio Bot v3 Tests / test (push) Successful in 46s
- Close the socket server when there are no active connections
2024-04-14 23:59:04 -04:00
Logan Cusano 2c9383824e Updated client setup script
- Added pip
- updated branch for op25
- Improved the python deps install
2024-04-14 23:46:43 -04:00
Logan Cusano cebd316939 Fixed bug if statement
Run Discord Radio Bot v3 Tests / test (push) Successful in 46s
2024-04-14 20:43:06 -04:00
Logan Cusano af19db8e17 Add PDAB setup
Run Discord Radio Bot v3 Tests / test (push) Successful in 53s
2024-04-14 20:41:22 -04:00
Logan Cusano 45b9a62c64 Removed dev comments stopping OP25
Run Discord Radio Bot v3 Tests / test (push) Successful in 48s
2024-04-14 16:39:24 -04:00
Logan Cusano 8c3164029f Updated typo for pdab_port action var
Run Discord Radio Bot v3 Tests / test (push) Successful in 48s
2024-04-14 16:03:30 -04:00
Logan Cusano bec4072837 Merge test actions into one action
Run Discord Radio Bot v3 Tests / test (push) Failing after 1m17s
2024-04-14 15:58:00 -04:00
Logan Cusano ac82b0efd0 Removed hardcoded IDs in test 2024-04-14 15:51:31 -04:00
Logan Cusano 854c73cc4e Testing updates
Client Tests / test (push) Successful in 1m30s
Run Socket Server Tests / test (push) Successful in 1m15s
- Added client tests, started with the pdabHandler interactions
- Updated caps in socket server tests
- Updated pdabHandler with uniform 'guild_id'
- Updated pdabHandler with production check to launch or not launch the python client
-
2024-04-14 15:47:29 -04:00
Logan Cusano 238fe6a254 Updating server workflows
Run Socket Server Tests / test (push) Successful in 34s
- trying to get mongo container to work
2024-04-07 20:26:47 -04:00
Logan Cusano 96d9c38425 Removed unused imports from tests
Run Socket Server Tests / test (push) Failing after 1m20s
2024-04-07 19:07:31 -04:00
Logan Cusano 4df3de4d4a Passing local server tests
Run Socket Server Tests / test (push) Failing after 30s
2024-04-07 19:01:00 -04:00
Logan Cusano 461b449194 Added success emits for server functions 2024-04-07 17:01:51 -04:00
Logan Cusano 757fdfb3b2 Rename tests file to test for mocha 2024-04-07 16:59:51 -04:00
Logan Cusano 9bc80887ce Updated Package 2024-04-07 16:59:16 -04:00
Logan Cusano 0ce0f72ed3 Update Server
- Move socket server start to main server file
- This way tests and the main function can use the same code
2024-04-07 16:58:50 -04:00
Logan Cusano 49ae941e83 Updating tests
Run Socket Server Tests / test (push) Failing after 33s
- Removed bugged --name param
2024-04-07 16:56:03 -04:00
Logan Cusano 8e73659855 Updating tests
Run Socket Server Tests / test (push) Failing after 26s
2024-04-07 16:53:54 -04:00
Logan Cusano 0a76804490 Updating tests file to use mongo docker for testing
Run Socket Server Tests / build (push) Failing after 0s
Run Socket Server Tests / test (push) Failing after 31s
2024-04-07 16:43:35 -04:00
Logan Cusano 49c1a1d724 Clear the package-lock.json from in the workflow
Run Socket Server Tests / test (push) Failing after 0s
2024-04-06 03:39:48 -04:00
Logan Cusano a423417949 Update versions and install param
Run Socket Server Tests / test (push) Failing after 25s
2024-04-06 03:36:36 -04:00
Logan Cusano 2fb0bc8920 Update server package.json to use mocha tests
Run Socket Server Tests / test (push) Failing after 17s
2024-04-06 03:32:18 -04:00
Logan Cusano 62c00eec09 Implementing disconnection of discord client 2024-04-06 01:02:42 -04:00
Logan Cusano ea63abcb93 Update the subprocess handler to take a CWD 2024-04-06 01:01:36 -04:00
Logan Cusano 1df2027a29 Update test version 2024-04-03 22:57:45 -04:00
Logan Cusano a36ddd9614 Added extra echo 2024-04-03 03:16:27 -04:00
Logan Cusano ce4a6e925e Fixing the on for the action 2024-04-03 03:15:22 -04:00
Logan Cusano 8790fb05fb Merge branch 'master' into Implementing-Python-Client_#19 2024-04-03 03:14:10 -04:00
Logan Cusano 0f8dc86dd5 trying v3 2024-04-03 03:11:49 -04:00
Logan Cusano 3319a9617e fixes to tests
Run Socket Server Tests / test (push) Failing after 45s
2024-04-03 02:28:34 -04:00
Logan Cusano c78ed89707 Initial implementation of python client with socket.io IPC 2024-04-03 02:24:21 -04:00
Logan Cusano be5943e9d4 Adding basic tests 2024-04-03 02:20:30 -04:00
Logan Cusano 64edc612df #10
- Implemented a new param for launching client processes to wait for the process to close
- Waiting for the bash script to finish before restarting the application
2024-03-24 19:09:17 -04:00
Logan Cusano ed04e24fc6 #10 Added console output for post-update script 2024-03-24 19:02:49 -04:00
Logan Cusano 3e50f0b2f3 Finalizing #10
- Added a stash command to stash any found changs
- Added a post-update script (needs testing)
2024-03-24 18:55:29 -04:00
Logan Cusano 2754494083 #16 changed where the map was done for leave AC 2024-03-24 09:55:45 -04:00
Logan Cusano e62be27f74 #16 missed another reference 2024-03-24 03:03:47 -04:00
Logan Cusano 96b32d1241 #16 fixed bug on client when checking username 2024-03-24 03:01:33 -04:00