Commit Graph

40 Commits

Author SHA1 Message Date
Logan Cusano
cebd316939 Fixed bug if statement
All checks were successful
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
All checks were successful
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
All checks were successful
Run Discord Radio Bot v3 Tests / test (push) Successful in 48s
2024-04-14 16:39:24 -04:00
Logan Cusano
ac82b0efd0 Removed hardcoded IDs in test 2024-04-14 15:51:31 -04:00
Logan Cusano
854c73cc4e Testing updates
All checks were successful
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
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
c78ed89707 Initial implementation of python client with socket.io IPC 2024-04-03 02:24:21 -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
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
Logan Cusano
7983a45281 Improve service handler 2024-03-24 02:46:16 -04:00
Logan Cusano
fea7ed2c7f #16
- Server can now choose from IDs in the DB
- Implemented an active system to disable some IDs from being used
2024-03-24 02:45:34 -04:00
Logan Cusano
b209a672c6 Improve the client setup script 2024-03-10 03:22:04 -04:00
Logan Cusano
7983670c81 #18
- When grabbing the device from the CLI, we now add it to a new var
- We then add new var as the device so we can specify the group
- Updated the default UDP port in the audio device for OP25 config
2024-03-10 00:03:30 -05:00
Logan Cusano
73da7ee2f4 #13 Finializing fix
- Updated the regex to double exclude '\'
- Updated extractValue function to return the full result
2024-03-09 17:22:52 -05:00
Logan Cusano
6ab0ec6d6f Finishing #15
- setup script needs to set the permissions on the .env file explicitly
2024-03-09 15:15:16 -05:00
Logan Cusano
84aa4c5aff #15
- Changed the regex expression to not require a value after the key
2024-03-09 15:09:42 -05:00
Logan Cusano
32f827fe5e Fixing a bug in boot
- When booting for the first time, the generated NUID was saved to the wrong key
2024-03-08 23:36:02 -05:00
Logan Cusano
d48d1155cb #10 resolving bug in variable assignment 2024-03-08 22:09:22 -05:00
Logan Cusano
3cb53605c7 Working on #13
- Running the 'pactl' command
- Using regex on the output to find the active running device
2024-03-08 21:58:27 -05:00
Logan Cusano
b7d4cbf46c Adding to the setup script #10
- Change permissions on the whole project dir
- Add an echo for better visibility
2024-03-08 21:55:24 -05:00
Logan Cusano
c46b7c6ea6 Modified the self updater to reset any local changes when updating #10 2024-03-03 22:02:27 -05:00
Logan Cusano
36c0ec8b13 Update DAB to include dynamic settings
- Settings will now get the active device(s) available on Linux (UNTESTED)
- Added CLI handler for interacting with the CLI
- Added wrapper for extracting values with regex
-
2024-03-03 21:29:50 -05:00
Logan Cusano
79574e188d Update bug in the startService script
- Was writing output to a file, thought it would write to actual stderr
2024-03-03 21:27:30 -05:00
Logan Cusano
d0a75dc557 Fixing bug in client boot that ignored 0
- Added check for string '0' and int 0
2024-03-03 20:54:47 -05:00
Logan Cusano
6b156b441a Updating client package with new modules #10 2024-03-03 20:54:00 -05:00
Logan Cusano
956dc89107 Adding functional usage of client self updater #10
- Added update command to the server
- Server can request nodes update
- Nodes have an 'endpoint' for updating
- Fixes to the install script
2024-03-03 20:49:29 -05:00
Logan Cusano
976c44838e Fix bugs in setup script #10 2024-03-03 20:21:50 -05:00
Logan Cusano
1395130d6d Starting to work on instal and update function #10
- Added a new self updater module that will update the git repo and restart the node service
- Added a setup script that will install and setup both OP25 and the DRB node
- Updated service names
2024-03-03 19:41:06 -05:00
Logan Cusano
54a6d544e4 Finalizing #9
- Added service handler for system services
- Control OP25 from service handler
- Generate and save OP25 config file
- Handlers for OP25
2024-03-03 17:25:07 -05:00
Logan Cusano
35f3f07793 Working on #9
- Can join and leave from voice channels
- Will check to make sure that the bot is in a given system or no system before joining
- Cleaned up the socket client with wrappers
- Added a new module to handle subprocesses for the client
- Beginning workings on OP25 handler
- Added OP25 config object generator with config exporter
2024-03-03 00:10:43 -05:00
Logan Cusano
42784f1852 Functional joining and leaving
- Needs to be tested on multiple servers
- Needs to be tested with multiple nodes
#1 #9
2024-02-18 20:05:10 -05:00
Logan Cusano
3ebccdba0c Added activity when listening to system 2024-02-11 04:49:37 -05:00
Logan Cusano
ed33654b8c Updates to join (server/client)
- Check if the available nodes are connected to a vc in the given guild
2024-02-11 04:32:58 -05:00
Logan Cusano
9c46792959 Major updates to core 2024-02-10 15:10:35 -05:00
Logan Cusano
4ac95f5325 Stable joining with dummy commands sent on timeouts 2024-01-19 23:57:03 -05:00
Logan Cusano
4a0b1004d2 Init Commit
Server
- Working init discord bot
    - Modular events and commands
    - Has access to the socket server
- Working init socket server
    - Need to work on getting access to discord bot
- Working init web server

Currently working on breaking out the init of the socket server

Client
- Working init socket client

Currently working on the discord bot to join voice channels
2024-01-08 00:12:47 -05:00