Commit Graph

11 Commits

Author SHA1 Message Date
CyferShepard
41e9a6e0cf Fix failed backup bug due to not awaiting log insert #393 2025-05-24 22:14:06 +02:00
CyferShepard
f8436f39a0 Bump version to 1.1.6
Ensure worker exits when task completes
2025-04-14 18:49:14 +02:00
CyferShepard
7348c22ab8 Version Bump 1.1.5
add better logging for child worker threads
add better error handling for updateSingleFieldOnDB function
2025-04-08 09:34:44 +02:00
CyferShepard
81fe4997d1 task scheduler rework
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
2025-03-04 22:23:34 +02:00
CyferShepard
00edf7d7ba chore: Fix backup function call in BackupTask.js 2024-06-22 17:06:12 +02:00
CyferShepard
13e186ef7b chore: Update logging import paths in backend code
chore: fix swagger doc endpoints
chore: refactored code to respective classes
2024-06-20 14:43:25 +02:00
Thegan Govender
fab97c4a7b Cleanup first time setup and sync logic
Fixed checks and triggers for First time setup and sync processes so that sync wont run until setup is complete
2023-11-27 20:58:31 +02:00
Thegan Govender
aeb46f2a08 Task and Logging Changes
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
2023-09-03 20:47:52 +02:00
Thegan Govender
e7912397d2 Code clean-up + API Keys
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
2023-07-01 22:52:19 +02:00
Thegan Govender
364aa2ac09 Tasks + UI improvements
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
2023-06-19 19:52:29 +02:00
Thegan Govender
550e1d3f7c v1.0.4.10 Beta 2023-06-18 21:02:18 +02:00