Logan Cusano
2e22fa66a6
Initial bones for #37
2023-07-15 18:16:42 -04:00
Logan Cusano
6b37a48061
Update jsDoc in utils
2023-07-15 18:15:17 -04:00
Logan Cusano
5d6d86fa47
Update jsDoc in nodeController
2023-07-15 18:14:53 -04:00
Logan Cusano
c35d3f3fa7
Update adminController to use join/leave command wrappers
2023-07-15 18:14:40 -04:00
Logan Cusano
c38bca4144
Add jsDoc to leaveServerWrapper
2023-07-15 17:58:35 -04:00
Logan Cusano
e6332dffc9
Update join command to accept a specific node ID
2023-07-15 17:58:12 -04:00
Logan Cusano
60b6eb7cda
Fix for #40
...
- Moved general commands to the description for higher character limit
2023-07-13 21:39:55 -04:00
Logan Cusano
eec80f7239
Implement noisegate into recording
...
- Should remove dead air
- Should save space as it's not recording dead air
2023-07-01 18:24:19 -04:00
Logan Cusano
a58f314475
Lock numpy version for OP25 compatibility
2023-07-01 18:22:20 -04:00
Logan Cusano
a603a53602
Resolve bug when checking if user is in channel
2023-07-01 18:19:53 -04:00
Logan Cusano
c9890c7cc8
Update give-role filename to match convention
2023-06-25 02:09:04 -04:00
Logan Cusano
bec4c2d743
Add discord commands to allow users to start recording
2023-06-25 02:08:46 -04:00
Logan Cusano
45258d5e4b
Updated verbose text for interaction create
2023-06-25 02:08:28 -04:00
Logan Cusano
ffe9c413ba
Update client readme
...
- Basic info for hardware
2023-06-25 01:25:58 -04:00
Logan Cusano
959cfdf7af
Implement routes to start and stop client recording
2023-06-25 01:24:46 -04:00
Logan Cusano
97acfc312c
Add new python recorder for clients
2023-06-25 01:24:25 -04:00
Logan Cusano
c6cdc0809c
Update gitignore to ignore recordings
2023-06-25 01:23:51 -04:00
Logan Cusano
851a9c55fa
Fix for #32
...
- Add the response check when updating client info
2023-06-23 21:43:05 -04:00
Logan Cusano
fb9df3230e
Fix for #32
...
- Add a retry loop when the server is down
2023-06-23 17:55:08 -04:00
Logan Cusano
7163df21e9
Potential final fix for #30
2023-06-23 17:48:28 -04:00
Logan Cusano
47d18c494d
Fix misplacement of setting online for checkIn
2023-06-19 02:34:29 -04:00
Logan Cusano
ea2dbd9fb0
Always send online as true when checking in with server
2023-06-19 02:33:06 -04:00
Logan Cusano
9ce77a5be0
Improved fix for #30
2023-06-19 02:29:04 -04:00
Logan Cusano
57881a7e17
Potential fix for #30
2023-06-19 02:26:36 -04:00
Logan Cusano
e350cd6030
Fixing fix of join autocorrect
2023-06-19 00:25:35 -04:00
Logan Cusano
fba0a2a2b2
Fixed bug in join autocorect
...
- It would add both numbers and the names to the autocorrect
2023-06-19 00:23:29 -04:00
Logan Cusano
83cef63109
Improved number check in join command
2023-06-19 00:20:00 -04:00
Logan Cusano
2390bdc2c6
Update join command to handle updated preset objects
2023-06-19 00:16:58 -04:00
Logan Cusano
93be4ca9dc
Update client startup for new nodes
...
- Still needs to get IP from linux nodes
- Other tasks still, idk
2023-06-19 00:05:27 -04:00
Logan Cusano
d96e6ad519
Updated nodesController to properly update nodes
2023-06-19 00:02:37 -04:00
Logan Cusano
b180f90973
Update recordHelper to use undefined instead of null
2023-06-18 23:40:51 -04:00
Logan Cusano
fd7435c7bc
Update requirement versions
2023-06-18 23:21:18 -04:00
Logan Cusano
e062cf5794
Fix bug in HTTP response parsing
2023-06-18 22:53:23 -04:00
Logan Cusano
597546b73d
Ensure async functions wait for node contstructor
2023-06-18 22:35:51 -04:00
Logan Cusano
333e7420f4
Removed erroneous indexing on sqlreseponse
2023-06-18 22:32:01 -04:00
Logan Cusano
37a03c5cc6
Forgot to await getting new node
2023-06-18 22:29:16 -04:00
Logan Cusano
d2e9f286e2
Improved logging for server side add new node
2023-06-18 22:25:41 -04:00
Logan Cusano
255b1282ec
Improve logging for server SQL requests
2023-06-18 22:22:20 -04:00
Logan Cusano
878e64fa42
Fix bug in return from addNewNode
...
- Return the function to get a node from the ID since the add new doesn't return node rows
- Update the controller to send the correct key from the updated object
2023-06-18 19:13:03 -04:00
Logan Cusano
7a040a8e97
Handle if new node is added with no nearby systems
2023-06-18 19:06:14 -04:00
Logan Cusano
8dffeccf83
Fix bug with 'connected' key when adding new node to the server
2023-06-18 19:02:15 -04:00
Logan Cusano
2108a3b92b
Improved error response for new node
2023-06-18 17:13:29 -04:00
Logan Cusano
960b801dd2
Working on initial startup for new clients
2023-06-18 16:36:38 -04:00
Logan Cusano
dd5b442377
Update client clientController to better handle no ID
2023-06-18 16:26:55 -04:00
Logan Cusano
c5a7131063
Improve validation when checking for nodeId
2023-06-18 15:31:15 -04:00
Logan Cusano
5d54f07af4
Enabled nodeMonitorService
...
- Updated logging for nodeMonitorService to use it's own debugBuilder
2023-06-18 14:56:54 -04:00
Logan Cusano
24faa5279d
#29
...
- Update debugBuilder to inspect objects instead of stringify
- Moved tthe debug entry for saving post to after the post is validated
2023-06-18 14:49:15 -04:00
Logan Cusano
79d2ca1887
#6 Removed copy of env
...
- Should be done manually and edited before running setup script
2023-06-17 23:37:26 -04:00
Logan Cusano
c2b4b4bfa1
#16
...
- Allow bots to display the preset they are listening to
2023-06-17 22:02:09 -04:00
Logan Cusano
d8a697e583
#13
...
- Added command to allow users to give other users their group
- Shows all groups as options but will not let user add another user if the caller doesn't have the role
2023-06-17 21:49:46 -04:00
Logan Cusano
44caa11f7c
Fixed typo in remove description
2023-06-17 21:28:33 -04:00
Logan Cusano
dc92b07426
Implemented function to remove commands from a given bot and guild
2023-06-17 19:37:13 -04:00
Logan Cusano
92f4caad0c
Improve the join node verification system
2023-06-17 19:25:47 -04:00
Logan Cusano
b888a9233d
Improve the response when a user requests a bot to join
2023-06-17 19:01:55 -04:00
Logan Cusano
b4e27162aa
Update to mysql2
2023-06-17 18:40:09 -04:00
Logan Cusano
bfda15866e
Streamlined joining and leaving autocomplete
...
- Removed custom command builder as it's no longer needed with autocomplete
2023-06-17 17:55:27 -04:00
Logan Cusano
f4475dc9d7
#19
...
- Update the wrapper called when a feed encounters an error
- Will now use a more robus backoff system
- Waits in increments of 30 seconds
- Keeps track of ignored attempts and 'count'
- Updated wrapper to remove source from backoff list
- Now removes the object after the first attempt irrespective of deletion station
2023-06-16 23:26:38 -04:00
Logan Cusano
c4650a9e99
Make the bot option in the leave command required
2023-06-16 22:02:54 -04:00
Logan Cusano
f5e119d845
Bugfixes and functional #7 & #9
...
- #7 needs to error check more
- both need to be cleaned up
2023-06-11 04:40:40 -04:00
Logan Cusano
e8d68b2da7
Initial #7 & #9
...
- Working commands
- Keeps track of open connections
2023-06-10 22:16:39 -04:00
Logan Cusano
041e0d485d
Fix error status in client join
2023-06-10 20:46:43 -04:00
Logan Cusano
fc11324714
Add function to get all client IDs from JSON file #7
2023-06-04 00:24:50 -04:00
Logan Cusano
c6c048c919
Update default command with autocomplete
2023-06-03 23:35:07 -04:00
Logan Cusano
8ab611836b
Allow commands to use autocomplete
2023-06-03 23:31:27 -04:00
Logan Cusano
ff8e86cc3a
Updated client setup script
...
- Create a copy of the .env example
- Updated the installed packages to allow for installation
2023-06-03 23:02:41 -04:00
Logan Cusano
6b12c3e3df
Remove unused keys from example .env file
2023-06-03 23:01:47 -04:00
Logan Cusano
fa2f28207e
wrapping up join command
...
- API untested
2023-06-03 23:00:50 -04:00
Logan Cusano
5c8414b4d8
Moved to issues in git
2023-06-03 22:58:31 -04:00
Logan Cusano
edaeb261f7
Add additional info on connection status to nodeObject
2023-06-03 19:00:16 -04:00
Logan Cusano
c31ccff5ca
Added JSDoc to Join wrapper and updated wrapper to also take just a client ID string
2023-06-03 16:03:07 -04:00
Logan Cusano
d2186e9471
Added a join command #7
...
- Added a JSON example for Known Client IDs
- Implemented a custom slash command builder to add the available presets as options in the discord command
2023-06-03 15:47:07 -04:00
Logan Cusano
07743cf8a3
Updated requirements and versions
2023-06-03 15:43:15 -04:00
Logan Cusano
18afa7c058
Added extra logging when deploying commands
2023-06-03 15:42:40 -04:00
Logan Cusano
a5cff9ec7e
Check if the returned data from HTTP is valid JSON and parse if so, return the string if not
2023-06-03 15:42:23 -04:00
Logan Cusano
9450b78bd4
Updated all functions to return nodeObjects instead of SQL response
2023-06-03 15:41:29 -04:00
Logan Cusano
5757c51fa3
Added new utils
...
- isJsonString
- This can be used to check if a string is valid json before parsing it
- getMembersInRole
- This can be used to check online/offline/all members in a role
- (unused) SanitizePresetName
2023-06-03 15:40:48 -04:00
Logan Cusano
fa91cbc887
Used env var for the listening port
2023-06-03 15:39:16 -04:00
Logan Cusano
7fbaf31335
Updated server intents
2023-06-03 15:38:40 -04:00
Logan Cusano
0280cb5384
Update gitignore
2023-06-03 15:38:24 -04:00
Logan Cusano
a298be40d5
Accidentally set the wrong variable for the device ID
2023-06-03 15:32:08 -04:00
Logan Cusano
43d60a748b
Remove device ID requirement for API
...
- The device ID is handled by the .env file
2023-06-03 15:28:46 -04:00
Logan Cusano
51f517cae5
Fixed node '^=' to python '>='
2023-06-03 15:03:18 -04:00
Logan Cusano
06cb2cc352
Fix logging namespace and windows launch
2023-06-03 15:00:42 -04:00
Logan Cusano
5ce525f2b5
Updating install script #6
2023-06-03 02:51:19 -04:00
Logan Cusano
69fdc63983
Fixing linux bug, added noisegate switch to the call
2023-05-27 21:34:19 -04:00
Logan Cusano
a9d3c33af2
Improved client bot logging
2023-05-27 21:17:31 -04:00
Logan Cusano
3719fce86a
Update client package.json
2023-05-27 18:25:12 -04:00
Logan Cusano
ba927bae8c
Implement install and update system for the bot
...
- LINUX OR WINDOW WSL ONLY
2023-05-27 17:00:57 -04:00
Logan Cusano
7512c8e1df
Removing the static ENV var for nearby systems
2023-05-21 15:22:43 -04:00
Logan Cusano
c882fb63d3
Moving PDAB to pdab
2023-05-20 15:24:28 -04:00
Logan Cusano
7fc61bbf2e
renaming PDAB to pdab to try to fix git issues
2023-05-20 15:20:53 -04:00
Logan Cusano
e1c2ce6484
Updating and streamlining radio controller side
2023-05-20 15:18:50 -04:00
Logan Cusano
c4070cc420
Initial working radio controller for OP25
2023-05-20 14:31:43 -04:00
Logan Cusano
0f003f907e
Discord voice bot handler working
2023-05-20 00:01:12 -04:00
Logan Cusano
e7b802839e
Initial removal of internal discord bot
2023-05-18 22:53:25 -04:00
Logan Cusano
48999e0d63
Resolved bug in Client with .env config migration
2023-05-07 19:31:53 -04:00
Logan Cusano
2c25be1de7
Removed Embedded discord
2023-05-07 19:31:33 -04:00
Logan Cusano
cf04e37f89
Implement example .env files
2023-05-07 04:48:19 -04:00
Logan Cusano
d04cc8d5b1
Update gitignore for .env files
2023-05-07 04:43:46 -04:00
Logan Cusano
4662f37a72
Removing real .env files
2023-05-07 04:43:00 -04:00