Commit graph

103 commits

Author SHA1 Message Date
97d4d1e136 helpers.EventDays class + basic testing 2023-09-14 23:36:20 +00:00
e9ef7f67e3 remove public puzzle.title from private ConfigModel 2023-09-14 15:00:34 +00:00
bd7bc38954 endpoints "credentials" (routers.admin) 2023-09-12 22:06:16 +00:00
2d0209ae61 ConfigView.num_user_doors 2023-09-12 21:06:52 +00:00
60a451a426 router: "images" -> "user" 2023-09-12 20:51:26 +00:00
d7818ac93a router.images: unnecessary "startup" 2023-09-12 20:46:25 +00:00
764c6b16fb config.puzzle.title 2023-09-12 20:45:57 +00:00
d4f8469a7a depends.get_all_image_names, CalendarAssistant.day_image_names 2023-09-12 17:31:08 +00:00
0550621835 minor renames 2023-09-12 17:22:52 +00:00
8290925659 minor cleanup 2023-09-12 17:16:02 +00:00
5694438c96 rename DayPartModel -> DayStrModel 2023-09-12 17:15:44 +00:00
fd821d6ff2 _security indexing 2023-09-12 16:48:55 +00:00
4e1a9fa10d splice DayPartModel from ConfigModel 2023-09-12 16:26:12 +00:00
3316bf2822 major cleanup
- `routers`: `admin`, `days`, `general`, `user` -> `admin`, `images`
- `core.depends`: cleanup
- `core.*_helpers`: joined in `core.helpers`
2023-09-12 13:50:02 +00:00
63d88c3a09 implementation using get_part_for_day 2023-09-12 07:27:59 +00:00
a84323afc8 Merge branch 'develop' into feature/days-rework 2023-09-12 06:36:12 +00:00
a11c16d17b more asyncification for webdav 2023-09-12 06:36:02 +00:00
95dfe2a9df depends.py: get_days and get_solution_parts 2023-09-12 02:58:10 +00:00
b73185e4fb remove "doors" from admin ConfigModel (is public) 2023-09-11 23:47:07 +00:00
b30e8095f9 way better admin login flow 2023-09-11 23:36:36 +00:00
2da7b6914a crude admin authentication flow 2023-09-11 23:10:17 +00:00
26556ad309 ConfigView rendering 2023-09-11 22:50:11 +00:00
74b9322ae2 query admin/config_model in ConfigView 2023-09-11 22:24:01 +00:00
d5d99caeb2 cfg.puzzle.random_pepper -> cfg.puzzle.random_seed 2023-09-11 22:14:33 +00:00
0337c659a2 Depends(shuffle_solution) 2023-09-11 19:40:36 +00:00
91c2589045 "admin" router with /private_config route 2023-09-11 19:39:02 +00:00
02cb654022 hack handle key miss 2023-09-11 03:12:24 +00:00
4415c0f861 hack: invalidate cache on file write 2023-09-11 02:59:11 +00:00
5c583bd478 TTL caching improvement 2023-09-11 02:37:08 +00:00
657a7507f7 manual image processing 2023-09-10 15:22:45 +00:00
050c8408d9 No negative Days 2023-09-10 15:12:58 +00:00
8389ceb14a api: minor cfg/settings adjustment 2023-09-10 02:59:57 +00:00
3ab2a56172 get_visible_days with Depends() 2023-09-09 21:41:30 +00:00
f9f9989414 remove (Calendar)Config's static methods for good measure 2023-09-08 19:53:35 +00:00
21279f747c documentation 2023-09-08 19:44:41 +00:00
11daf2bf8b bug: set_calendar_config nicht "dependable" 2023-09-08 19:43:53 +00:00
973f7546b6 module routers._security for user/admin stuff 2023-09-08 19:33:43 +00:00
29f02d2545 remove "namespace classes" AllTime and Today 2023-09-08 19:19:08 +00:00
af00dafb6c router integration: stuck
apparently, a @staticmethod that Depends on another @staticmethod in the same class is bad
2023-09-08 19:08:13 +00:00
b1748ea0fb "core" module alpha state 2023-09-08 18:17:18 +00:00
d51db8b836 apply experiments to WebDAV helper 2023-09-08 16:19:26 +00:00
d27d952d38 async context manager for WebDAV.read_buffer 2023-09-08 15:30:52 +00:00
74688f45b8 typing issues 2023-09-08 11:27:23 +00:00
c8ce12c299 Merge branch 'develop' into feature/refactoring 2023-09-08 11:14:01 +00:00
d1158b1e10 fix typing issues 2023-09-08 11:13:51 +00:00
69e4590305 "TODO penner" 2023-09-08 10:23:43 +00:00
452040a0ae WIP: core module 2023-09-08 02:45:00 +00:00
30c5788d4d cache_ttl default 2023-09-08 01:39:53 +00:00
5cf0846c68 basic readability 2023-09-08 01:19:15 +00:00
a5751c973a config structure rework 2023-09-08 00:56:14 +00:00