task manager implementation to start/stop tasks WIP
implemented socket client for internal communication between threads - needs more testing as connection string is hardcoded
added loopback in ws server to pass through toast ws messages from threads - needs more testing
fixed potential bug during config fetch function when syncing
Reworked Tasks and logging to prevent overlapping tasks from executing. This is done by reworking the logging process so that the task state is stored and accurately tracked allowing us to check for currently running tasks.
Backup and sync tasks also reworked to reduce code redundancy and allow for better error handling
Websockets finally fixed and implementation has begun
Added Toast notifications
Cleaned up redundant code and moved around classes to be better grouped eg routes folder
Moved endpoints to other route files to better represent their actions
Removed redundant endpoints
Renamed endpoints to be more meaningful
Added API Key authorisations to utilize the API outside of Jellystat UI (Still need to document Endpoints)
Added new column to app_config to store api keys
New API Section under settings
Updated backups route name
Changed Tasks to run based on last successful execution time in the logs table vs an interval counter that counts from startup. This prevents an issue where if a server is restarted before the interval time, the task timer essentially resets.
Fixed User Image in session card
Disabled websocket proxy