Commit Graph

280 Commits

Author SHA1 Message Date
CasVT
b5387a0635 Moved API prefixes from Server to Constants 2025-08-12 16:57:13 +02:00
CasVT
8739e1ab95 Refactored start type handling 2025-08-06 18:46:48 +02:00
CasVT
492674d280 Turned DatabaseBackupHandler methods into classmethods 2025-08-05 12:26:57 +02:00
CasVT
75823c0899 Put closing threads DB connection into own method 2025-08-05 12:18:56 +02:00
CasVT
cc43df13f9 Only allow editing public settings via API 2025-08-04 18:29:02 +02:00
CasVT
129859048d Split internal settings into separate dataclass 2025-08-03 16:44:27 +02:00
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
9b3b9637a3 Fixed "Keep hosting settings" option in frontend 2025-08-02 18:06:02 +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
76ecb52995 Refactored notification service UI 2025-08-01 15:54:51 +02:00
CasVT
767d263e45 Make scrollbar thinner on mobile devices 2025-08-01 10:44:25 +02:00
CasVT
16c5d44b44 Log IP address of any unauth request made 2025-07-31 23:22:57 +02:00
CasVT
b86bec606c Updated shadow of admin panel sections 2025-07-03 23:23:16 +02:00
CasVT
b61b86f668 Added clock option (Resolves #80) 2025-07-03 13:42:11 +02:00
CasVT
7cdf70fc61 Refined search bar 2025-07-03 12:26:56 +02:00
CasVT
48105ef88b Improved library search 2025-07-01 13:34:08 +02:00
CasVT
98ee414dc5 Reduced window slide animation speed on phones 2025-06-28 17:33:26 +02:00
CasVT
8b23f26128 Fixed positioning of text on account deletion confirmation 2025-06-26 18:09:48 +02:00
CasVT
d0f0919356 Refactored user settings in UI 2025-06-26 18:07:38 +02:00
CasVT
4ce5ec02e6 Fix type hint of general fetch functions 2025-06-26 17:57:21 +02:00
CasVT
ed5f268af6 Tweak sub-window title size 2025-06-26 17:56:31 +02:00
CasVT
3aa67ddd21 Put UI window transition time into variable 2025-06-26 17:55:48 +02:00
CasVT
5b1c285ab3 Fixed default value for DB backup folder 2025-06-25 18:36:23 +02:00
CasVT
f419bbcc27 Added URL base in manifest link 2025-06-23 17:46:45 +02:00
CasVT
b583250fc7 Refactored and refined navigation bar 2025-06-23 17:43:48 +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
568843845a Merge branch 'Development' of github.com:Casvt/MIND into Development 2025-05-17 20:02:51 +02:00
CasVT
77a2a67232 Refactored and refined login and admin UI 2025-05-17 20:01:19 +02:00
CasVT
cc2827af13 Updated API docs 2025-05-17 17:59:32 +00:00
CasVT
39847f18cd Added backend for resetting setting values 2025-05-17 19:59:00 +02:00
CasVT
fff78b83d4 Mention cron support in README 2025-05-16 23:04:24 +02:00
CasVT
b5ff3c8f1d Updated API docs 2025-05-04 16:03:17 +00: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
2fbc460893 Fixed contribute request form 2025-04-24 11:08:42 +02:00
CasVT
ef9f45472a Moved to GitHub issue forms 2025-04-24 11:06:46 +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
659663370e Update ubuntu version of workflows 2025-04-23 19:58:07 +02:00
CasVT
3892b9754e Refactored input validation 2025-04-23 19:55:41 +02:00