Commit graph

118 commits

Author SHA1 Message Date
e83f56a932 hide openapi, docs and redoc in production mode 2023-09-21 00:56:25 +02:00
d5ae079949 typo 2023-09-20 18:24:19 +02:00
0fcae295ec minor renamings 2023-09-20 18:14:58 +02:00
eef06ed131 bug: issue with short solutions 2023-09-20 16:39:00 +02:00
82ab9ccddc EventDays -> EventDates rework
- events param is now one-indexed
2023-09-20 16:25:10 +02:00
75dcea25fb revert accidental 12 -> 9 change 2023-09-19 18:50:43 +02:00
d4c0d1ef5e WIP: EventDays rework 2023-09-19 18:49:10 +02:00
b644252b9c minor rename / doc 2023-09-18 23:12:32 +02:00
1b71aab5b6 cleaner dockerization 2023-09-18 18:17:28 +00:00
c55bef46dd bug: NoneValue for ConfigModel.puzzle.next 2023-09-16 00:16:18 +00:00
1bfa17a629 ConfigModel.puzzle.next 2023-09-15 17:06:28 +00:00
6bd8f66527 GET user/next_door 2023-09-15 16:54:45 +00:00
41368c7191 doc 2023-09-15 16:54:29 +00:00
c93ec06925 use EventDays in GET admin/config_model 2023-09-14 23:40:06 +00:00
a4a0893e7d minor doc + refactoring 2023-09-14 23:38:35 +00:00
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
penner
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