Commit graph

561 commits

Author SHA1 Message Date
1a865da656 🐛 use ?? operator where suited instead of || 2025-12-30 13:51:23 +00:00
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
6bbfab2758 Preview in AdminView is now refreshable 2025-12-30 02:54:26 +00:00
811fec743e 🔧 improved secret handling
- BulmaSecret automatically returns to "hidden" after 2.5 seconds in "pending"
- ConfigView clears the credential values if not viewed
2025-12-30 02:31:53 +00:00
8e8e894638 🐛 ui: BulmaToast rebuild previous logic (now with explanation) 2025-12-28 16:49:52 +00:00
24696fe44f ui: BulmaDrawer slots for "loading"/"error" 2025-12-28 16:44:18 +00:00
630cdcd6a0 🔧 ui: AdminButton "try" rework 2025-12-28 16:42:32 +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
804ad3f92f 🖼️ ui: use array notation for icons 2025-12-28 16:24:25 +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
2aff1f3a99 🔧 ui: BulmaSecret state machine rework 2025-12-28 01:55:01 +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
eacd1da482 🔧 ui: BulmaDrawer state machine rework 2025-12-28 01:19:17 +00:00
d5c935ade7 🔧 ui: more use of async functions and try-catch-blocks
🚧 WIP
2025-12-27 14:01:03 +00:00
ac3773483f 🐛 fix PreviewDoor onClick 2025-12-27 03:39:40 +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
6ff5af45d5 🐛 fix advent_image.py
- `get_average_color` working again
- refactor `hide_text` (fail-fast)
2025-12-19 19:48:24 +01:00
5c865b8dbb 🔧 small UI fixes
- update browserslist
- make BulmaBreadcrumbs clearer
- fix aspect ratio on SVGRect
- fix weird behaviour on DoorCanvas click
2025-12-12 16:57:36 +00:00
ac71909819 UI: add preview to AdminView 2025-12-11 16:49:36 +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
029b361e2d 🚧 wip on ui: rework for vue 3 composition API 2025-12-05 02:12:33 +00:00
835bf0345a 🔧 fix: consistent use of === and !== 2025-12-04 18:54:35 +00:00
82da2f6171 🚧 wip on ui: rework for vue 3 composition API 2025-12-04 18:51:57 +00:00
96a3747262 🚧 wip on ui: rework for vue 3 composition API 2025-11-30 20:14:21 +00:00
f482fd4ec1 🚧 wip on ui: rework for vue 3 composition API 2025-11-30 18:09:08 +00:00
4f603d3cb1 minor fixes
- line jumps on save
- `RE_NUM` declaration point
2025-11-30 14:20:15 +01:00
60a417dc64 API: use ImageData type 2025-11-30 14:19:05 +01:00
af08917155 restructure Pillow imports 2025-11-30 02:38:03 +01:00
510edf5818 fix Pillow related issues 2025-11-29 02:39:38 +01:00
ec3f846c01 Merge branch 'develop' into feature/refactoring 2025-11-26 06:45:01 +00:00
52e1a4042e "devcontainers-contrib" -> "devcontainers-extra" 2025-11-26 06:44:04 +00:00
2931a4ce1b simplify APIError 2024-11-27 18:25:56 +00:00
9b494136ee Merge branch 'develop' into feature/refactoring 2024-11-27 18:23:14 +00:00
4a7e494710 build NODE_VERSION 2024-11-26 14:58:02 +01:00
5cf1c8b7ee fix: better use of images_manual 2024-11-26 14:44:47 +01:00
fbecae5d53 fix: explicitly serve dev UI on 0.0.0.0:8080 2024-11-26 14:44:18 +01:00
a1a5db11b7 "prettier" reformatting 2024-08-27 00:25:42 +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
d8fe5dc9f4 prune fa-brands 2024-08-23 16:37:32 +00:00
0c01237456 UI upgrade deps
`yarn upgrade-interactive --latest`
2024-08-08 16:56:24 +00:00
04097ea1a3 fix vue cli-service feature flag warning 2024-04-03 19:00:20 +00:00
c6e61d5d76 move *_user_error from advent22.ts to store.ts, fixing advent22Store.init 2024-04-03 18:33:32 +00:00
98ab638762 API upgrade deps
`poetry up --latest`
2024-03-21 23:30:28 +01:00