Commit Graph

131 Commits

Author SHA1 Message Date
CasVT
fa9fc6fccb Improved spacing of reminder entries in UI 2025-09-03 16:14:56 +02:00
CasVT
99eae8f914 Add user option to change username 2025-09-03 15:28:36 +02:00
CasVT
aef883e0da Added 2FA in the backend 2025-08-30 23:12:50 +02:00
CasVT
fc5bdba55e Fixed Discord links 2025-08-28 17:44:20 +02:00
CasVT
4444b007bd Refined favicon and added PNGs 2025-08-28 17:13:44 +02:00
CasVT
3d6b57eb88 Refactored api.py endpoint handlers 2025-08-26 16:28:12 +02:00
CasVT
d4d6d0973c Clean expired API keys every 24h
If someone logs in, then never logs back in while the key expires, then the key is stored in the dict and never deleted. So every 24 hours delete all keys that have been expired for more than 24 hours. Avoids a memory leak-like situation.
2025-08-26 02:30:01 +02:00
CasVT
515ef665a2 Changed what's stored in global context vars for API 2025-08-26 01:52:01 +02:00
CasVT
b68284530b Changed generation and hashing of API keys
Moved from generating API keys using os.urandom to secrets.token_hex. Moved from hashing the keys using stdlib.hash to hashlib.sha256.
2025-08-26 00:50:46 +02:00
CasVT
42891f5f32 Moved API inputs to context globals 2025-08-25 23:29:16 +02:00
CasVT
6244aff737 Improved type hinting in api.py 2025-08-25 22:49:35 +02:00
CasVT
2aa1258500 Refactored ui.py 2025-08-25 21:43:01 +02:00
CasVT
61882e609a Refactored reminders.py 2025-08-21 16:57:23 +02:00
CasVT
85a2f32dad Refactored static_reminders.py 2025-08-21 15:52:09 +02:00
CasVT
414eae0614 Refactored templates.py 2025-08-21 15:28:40 +02:00
CasVT
08bd642224 Refactored notification_services.py 2025-08-21 15:15:46 +02:00
CasVT
bafd8abe6a Refactored users.py 2025-08-18 17:05:35 +02:00
CasVT
d80dd8c2a0 Moved reminders.py, static_reminders.py and templates.py to implementations folder 2025-08-18 15:29:35 +02:00
CasVT
c9719ec221 Create Flask app on init of Server class 2025-08-17 16:34:49 +02:00
CasVT
39d5c9e51e Fixed link to manifest when using url prefix 2025-08-17 16:30:14 +02:00
CasVT
b427c2c1d4 Refactored Flask error handling setup 2025-08-15 16:42:25 +02:00
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
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
9b3b9637a3 Fixed "Keep hosting settings" option in frontend 2025-08-02 18:06:02 +02:00
CasVT
783a5664d5 Refactored db_backup_import.py 2025-08-02 17:07:45 +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
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
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
77a2a67232 Refactored and refined login and admin UI 2025-05-17 20:01:19 +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
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
3892b9754e Refactored input validation 2025-04-23 19:55:41 +02:00