Commit Graph

79 Commits

Author SHA1 Message Date
CasVT
258c3db83d Refactored settings.py 2025-08-03 13:24:06 +02:00
CasVT
1e09ce1510 Copy over last DB backup timestamp on DB import
When importing a backup from a long time ago (more than one DB backup interval ago), a backup would be created the moment the import was done, regardless of when the previous backup was made (so even when that was minutes ago). Now the schedule is kept, by copying over the timestamp of the last DB backup from the current DB to the imported DB.
2025-08-03 12:20:49 +02:00
CasVT
40473de47a Changes made since startup were carried over on DB import
The changes made since startup, stored in the wal file, were carried over when importing a database. This was because the database file was replaced with the imported database file, but the changes were stored in the wal file. So now we merge all changes into the main database file before replacing them.
2025-08-02 18:54:28 +02:00
CasVT
ba2d89d4ce Moved backup command to DB connection 2025-08-02 18:03:32 +02:00
CasVT
783a5664d5 Refactored db_backup_import.py 2025-08-02 17:07:45 +02:00
CasVT
09b152fabc Refactored db.py 2025-08-01 17:38:23 +02:00
CasVT
4dc682ed59 Refactored db_migration.py 2025-08-01 17:11:03 +02:00
CasVT
51e2891020 Slightly refactored base code and updated docstrings 2025-08-01 16:58:13 +02:00
CasVT
48105ef88b Improved library search 2025-07-01 13:34:08 +02:00
CasVT
5b1c285ab3 Fixed default value for DB backup folder 2025-06-25 18:36:23 +02:00
CasVT
8fced3c978 Fixed 404 handling 2025-05-17 20:17:08 +02:00
CasVT
312e3978e3 Improved sorting of user list 2025-05-17 20:06:03 +02:00
CasVT
39847f18cd Added backend for resetting setting values 2025-05-17 19:59:00 +02:00
CasVT
a5ec5c5427 Added support for cron schedules in backend (#83)
Fully functioning backend (and API) support for cron schedules. Frontend is coming later.
2025-05-04 18:02:49 +02:00
CasVT
9a91955ff4 Added timezone change handling (#89) 2025-05-04 16:20:11 +02:00
CasVT
59ac864c16 Added DB backup system 2025-04-30 13:52:31 +02:00
CasVT
cd400bb559 Added option to enable/disable reminders (#77) 2025-04-24 21:10:28 +02:00
CasVT
cefc1a9593 Allow changing username 2025-04-24 16:15:38 +02:00
CasVT
4f77435801 Converted manifest file into dynamic endpoint 2025-04-24 13:51:43 +02:00
CasVT
89ff90a9a4 Fixed closing DB conns in time on shutdown
We needed the close_all_db function to close any remaining database connections on shutdown. But why were there any unclosed db connections anyway? The connections were closed after the thread was already marked as shut down so when exiting the thread wasn't done with closing the database yet and thus sometimes you had an improper shutdown. Now the threads are only marked as stopped when the database connection is also closed so we have guaranteed that they'll be closed when the server returns. So no more need to explicitly close any remaining afterwards.
2025-04-23 23:10:01 +02:00
CasVT
3892b9754e Refactored input validation 2025-04-23 19:55:41 +02:00
CasVT
0cbb03151f Refactored backend (Fixes #87) 2025-04-22 23:29:35 +02:00
CasVT
117e677300 Fixed DB migration from previous release version 2024-03-15 14:08:05 +01:00
CasVT
056ddb5bd8 Fixed merging errors in backend 2024-03-11 22:15:50 +01:00
Casvt
d93c19bf3f Branch Sync
From Main to Development
2024-03-11 21:38:49 +01:00
CasVT
3b75e7a24c Fixed keeping manifest u.t.d. when importing DB 2024-03-10 11:55:51 +01:00
CasVT
99d59cd0e7 Fixed manifest updating for smaller url prefix
When the value of the URL prefix would be changed, if the resulting json would be smaller than the current json, it would create invalid json. Now we wipe the contents before writing to avoid this.
2024-03-10 11:53:12 +01:00
CasVT
37cec53649 Changed manifest filename in backend 2024-03-10 11:10:09 +01:00
CasVT
98ff362a68 Added option to delete NS with it's reminders 2024-03-09 17:22:12 +01:00
CasVT
909b7011e4 Fixed sending body-less reminders after dep update 2024-03-09 17:21:10 +01:00
CasVT
b4682ea43b Fixed file clearing when LL goes debug to debug 2024-03-06 17:27:40 +01:00
CasVT
3b57d01596 Improved logging setup with debug log files 2024-03-03 23:19:04 +01:00
CasVT
a88cc8a36a Moved logging level setting to admin panel 2024-03-03 16:01:15 +01:00
CasVT
a881f090be Added data type of vars to API docs 2024-03-03 15:12:36 +01:00
CasVT
ea5323c979 Improved type hinting 2024-03-03 14:23:42 +01:00
CasVT
1de747e011 Fixed logging python version error 2024-03-03 13:47:53 +01:00
CasVT
ae17c62ad3 Added support for PWA 2024-03-03 13:40:08 +01:00
CasVT
f7decf4b4e Added 'keep hosting settings' option for db import 2024-03-03 13:06:49 +01:00
CasVT
1e6ef57d6a Refactored server code 2024-03-01 12:47:50 +01:00
CasVT
4073f60539 Added hosting settings to admin panel 2024-02-28 22:11:12 +01:00
CasVT
ae56927d0f Small backend refactoring dealing with None values 2024-02-28 14:22:53 +01:00
CasVT
c9a71d8be6 Added database importing (Resolves #2) 2024-02-28 13:48:24 +01:00
CasVT
6f1c37b79c Refactored input validation 2024-02-25 22:59:23 +01:00
CasVT
20efb2eefd Added restart and shutdown buttons 2024-02-23 16:32:22 +01:00
CasVT
c6590f91dd Frontend Update 2024-02-23 12:37:10 +01:00
CasVT
ccdb16eef5 Backend Refactor 2024-02-01 14:42:10 +01:00
Casvt
634759a964 Added admin panel
* Added API and UI base for panel

* Added option to disable registration (Fixes #27)

* Added settings for login duration (Resolves #39)

* Added user management and download database button
2024-01-29 17:30:40 +01:00
CasVT
8ad985278b Fixed logging when triggering static reminder (#62) 2023-08-30 23:31:27 +02:00
CasVT
5493ad8d55 Fixed adding NS when regex for field used named groups (#60) 2023-08-20 22:52:37 +02:00
CasVT
197e4ad704 Added recurring reminders on week days (#55) 2023-07-31 19:38:37 +02:00