39 Commits

Author SHA1 Message Date
Logan Cusano
2260deee01 Added filter presets function to utils and code formatted 2023-08-04 22:10:09 -04:00
Logan Cusano
fc743cbb46 #37 Working Joining and Leaving 2023-07-16 01:43:13 -04:00
Logan Cusano
e522326576 Additional changes for #37
- Updating side bar
- Updating nav bar
- Adding node details page
- Adding controller page
- Updating routes
2023-07-15 23:30:41 -04:00
Logan Cusano
6b37a48061 Update jsDoc in utils 2023-07-15 18:15:17 -04:00
Logan Cusano
7163df21e9 Potential final fix for #30 2023-06-23 17:48:28 -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
b180f90973 Update recordHelper to use undefined instead of null 2023-06-18 23:40:51 -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
c5a7131063 Improve validation when checking for nodeId 2023-06-18 15:31:15 -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
dc92b07426 Implemented function to remove commands from a given bot and guild 2023-06-17 19:37:13 -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
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
fc11324714 Add function to get all client IDs from JSON file #7 2023-06-04 00:24:50 -04:00
Logan Cusano
fa2f28207e wrapping up join command
- API untested
2023-06-03 23:00:50 -04:00
Logan Cusano
edaeb261f7 Add additional info on connection status to nodeObject 2023-06-03 19:00:16 -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
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
4e67e21651 Update debugging to log to a file (for running as a service) 2023-05-07 04:00:51 -04:00
Logan Cusano
9b2d0c4bbb Implement Node Monitor Service
- Check in with online nodes every n ms
- Update nodes that do not reply
- Added node object record helper
- Updated mysql wrapper for updating node info to accept bool or number
2023-05-07 02:41:58 -04:00
Logan Cusano
7b2215e9da Remove config files in favor of environment variables 2023-05-06 15:22:28 -04:00
Logan Cusano
b0e52920a7 Merge of /utilities 2023-05-06 15:09:19 -04:00
Logan Cusano
f3a4f25f85 Initial Emmelia merge 2023-05-06 14:56:51 -04:00
Logan Cusano
ce072d9287 Major update
- Working client server interactions
- Can create radio config
- Needs radio testing
2023-02-18 20:41:43 -05:00
Logan Cusano
e5d885cc3e Logging Update
- Changed to uniform logging with the 'debug' module
- Updated all apps
2022-12-11 21:11:29 -05:00