Commit graph

43 commits

Author SHA1 Message Date
6a7491b15b 🔧 model rework for "Credentials"
affects:
- environment vars/api.conf: "WEBDAV__USERNAME" -> "WEBDAV__AUTH__USERNAME" and "WEBDAV__PASSWORD" -> "WEBDAV__AUTH__PASSWORD"
- remote config.toml: "[admin] name" -> "[admin] username"
2025-12-30 13:50:35 +00:00
956d373b28 🔧 ui: minor code cleanups 2025-12-28 16:39:24 +00:00
4bab74b852 ↩️ return type annotations 2025-12-28 16:37:31 +00:00
7643f35ec5 🔧 ui: minor refactoring
- remove helper `loading_success`
- typing in `ThouCanvas`
-  internal renamings and logic optimizations
2025-12-28 02:34:41 +00:00
7cca8c4825 🔧 ui: minor changes to helpers
- rename `Like` -> `VueLike` (also `unwrap_like` -> `unwrap_vuelike`)
- rename `ensure_loaded` -> `unwrap_loading`
- make `unwrap_loading` throw `null` on error instead of `""`
2025-12-28 01:24:31 +00:00
fd1a66ba25 🔧 ui: overall typescript compliance
- reduce use of `as` in favor of Vue's `UnwrapRef`
- add `wait_for` helper function

⚠️ known bug: PreviewDoor (DoorChooser) onClick not working
2025-12-25 19:56:25 +00:00
39b56d8bd0 🚧 wip on ui: rework for vue 3 composition API 2025-12-07 03:28:00 +00:00
9079fca30f 🐛 minor bugs
- use empty credentials when none given
- fix FontAwesomeIcon
2025-12-05 02:30:58 +00:00
f482fd4ec1 🚧 wip on ui: rework for vue 3 composition API 2025-11-30 18:09:08 +00:00
2931a4ce1b simplify APIError 2024-11-27 18:25:56 +00:00
d0d81510cc store: catch failure to load from API 2024-08-26 19:14:04 +00:00
af5abc7c8f major refactoring
- use bulma 1.0
- use vue composition API for several components
2024-08-26 19:09:43 +00:00
109dec73d2 first part of refactoring
- use `ImageData` and `Loading` types for image transfer
-  consolidate library directory
- remove `advent22` plugin in favor of static `API` class
2024-08-26 14:14:07 +00:00
e3e19a0572 WIP: major refactoring 2024-08-23 18:59:11 +00:00
15b957791f WIP: major refactoring 2024-08-23 18:21:32 +00:00
55081b24d8 WIP: major refactoring 2024-08-23 16:38:04 +00:00
090da8c679 implement cfg.puzzle.extra_days 2023-11-24 01:44:32 +01:00
082f50c66b implement cfg.puzzle.skip_empty 2023-11-24 01:38:46 +01:00
b4ab4809c6 handling special chars in solution 2023-11-21 23:20:22 +01:00
9e303f898a fixed some code smells 2023-11-09 23:08:35 +00:00
4fbdb94caa cfg.site with markdown 2023-11-03 14:40:44 +00:00
0bc31529bc ConfigModel -> AdminConfigModel 2023-11-02 12:49:02 +00:00
8a254d2958 updated font handling 2023-11-01 01:30:33 +01:00
367fef145d RedisSettings 2023-10-31 21:48:27 +00:00
63b9f4e1d9 make cfg.solution.* values non-null 2023-10-31 22:36:35 +01:00
cc54e1dddf show "redis" settings in ConfigView 2023-10-31 20:27:50 +01:00
b74646994e cfg.puzzle.solution -> cfg.solution 2023-10-31 20:18:18 +01:00
5fcc4f0684 various cleanup 2023-09-21 12:25:23 +00:00
b99a6ccc68 typing improvements 2023-09-21 09:53:30 +00:00
7bc94804e3 remove DayStrModel 2023-09-21 00:45:57 +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
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
764c6b16fb config.puzzle.title 2023-09-12 20:45:57 +00:00
5694438c96 rename DayPartModel -> DayStrModel 2023-09-12 17:15:44 +00:00
51beac231c more interfaces into api.ts 2023-09-12 16:55:34 +00:00
d1e2648f5f API models into own TS module 2023-09-12 16:39:18 +00:00
c718ab7d42 UI: one-indexed days 2023-09-12 14:55:08 +00:00
83098d3dc4 minor refactoring 2023-09-07 19:34:11 +00:00
a6e6d8eb19 (de-)serializing of "Door" class 2023-09-07 03:32:15 +00:00
dd156b936d ts overload constructors 2023-09-07 03:29:53 +00:00
f603a9947c refactoring (moving stuff around) 2023-09-07 02:08:56 +00:00