Commit graph

94 commits

Author SHA1 Message Date
1d760f91db customizable footer 2023-09-26 22:23:23 +00:00
5fcc4f0684 various cleanup 2023-09-21 12:25:23 +00:00
5e0f797a2f config rework & bigger images 2023-09-21 13:49:28 +02:00
be6c03c84a rework _security to respect EventDates 2023-09-21 13:26:02 +02:00
7bc94804e3 remove DayStrModel 2023-09-21 00:45:57 +00:00
82ab9ccddc EventDays -> EventDates rework
- events param is now one-indexed
2023-09-20 16:25:10 +02:00
b644252b9c minor rename / doc 2023-09-18 23:12:32 +02: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
c93ec06925 use EventDays in GET admin/config_model 2023-09-14 23:40:06 +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
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
penner
050c8408d9 No negative Days 2023-09-10 15:12:58 +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
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
5cf0846c68 basic readability 2023-09-08 01:19:15 +00:00
a5751c973a config structure rework 2023-09-08 00:56:14 +00:00
a0268f52b9 sort doors on set 2023-09-07 21:18:08 +00:00
83098d3dc4 minor refactoring 2023-09-07 19:34:11 +00:00
b3448dbfa8 get/set doors 2023-09-07 16:44:44 +00:00