1062b5d6c8
Fix background task still running twice, and add a check to prevent that happening again (double expiry).
LeoVasanko2026-01-27 23:51:13 +00:00
3d49cbf2d6
Disable API docs that display very much broken due to missing request/response typing.
LeoVasanko2026-01-27 23:27:42 +00:00
13c49aebfd
Remove unnecessary use of async now that db access doesn't need awaiting.
LeoVasanko2026-01-27 23:16:17 +00:00
9b505ff553
DB background worker cleanup, avoid issue with double cleanup. Faster write to disk.
LeoVasanko2026-01-27 22:21:33 +00:00
ddd70e6130
Cleaner typing to avoid some checking errors.
LeoVasanko2026-01-27 22:04:14 +00:00
cf1124c251
DB transactions cleanup, better actor/user data. Simplified admin API. Use UUID to refer to a specific permission in admin API. Other cleanup.
LeoVasanko2026-01-27 21:48:21 +00:00
e8247a2c7f
Remove most remaining DB getters. Add ws auth chat helper function to avoid repetition, along with the existing register chat in wschat.py.
LeoVasanko2026-01-27 20:01:17 +00:00
6aa1a08e39
Remove list_sessions_for_user, inline db access at call sites.
LeoVasanko2026-01-27 18:25:29 +00:00
31f40d874c
DB cleanup: removed get_permission_organizations and build_org. Using db.data() for read access at call sites.
LeoVasanko2026-01-27 18:23:17 +00:00
7530d7a710
DB cleanup continued: Made the working copy data public in DB class.
LeoVasanko2026-01-27 18:02:16 +00:00
90d5f0e45f
Remove runtime expiry checks; the db background cleanup makes this unnecessary.
LeoVasanko2026-01-27 16:55:07 +00:00
f0d1b86d6b
Database cleanup continues, build functions replaced by post init. Simplified some APIs.
LeoVasanko2026-01-27 16:53:13 +00:00
dbdd1dbd3c
Missing import in migrate script.
LeoVasanko2026-01-27 16:26:48 +00:00
8f862fb4d1
Consistently use UUID type in APIs instead of UUID str as option.
LeoVasanko2026-01-27 16:24:02 +00:00
cfb917da46
DB getter refactoring. Documented call sites. Added separate function for by-scope permission lookup.
LeoVasanko2026-01-27 15:54:28 +00:00
3a8e7d1f4f
Remove credentials: 'include', a mechanism that we don't actually use.
LeoVasanko2026-01-27 15:23:19 +00:00
86966526c4
Finalize database API class merge.
LeoVasanko2026-01-27 03:00:18 +00:00
3196aa7688
Refactor API to match database, no _uuid postfixes.
LeoVasanko2026-01-27 02:32:46 +00:00
2fadaea19c
Update E2E tests with changes since a while back.
LeoVasanko2026-01-27 02:24:09 +00:00
cb84a81a06
Update the API to use new naming matching database.
LeoVasanko2026-01-27 02:22:29 +00:00
9bdca1f43a
Finish the database key-in-object refactoring.
LeoVasanko2026-01-27 02:11:09 +00:00
0f29544bdb
Database cleanup, better UUID passing and construction (User model).
LeoVasanko2026-01-27 01:25:52 +00:00
4ddaa9fdf4
Cleanup and bugfixes on Bootstrap and JSONL handling.
LeoVasanko2026-01-26 23:54:03 +00:00
7e568dbd10
Refactor validate endpoint to return session context, leaving user-info only for extra profile data. Completely separate token-info for reset tokens. Simplified by reusing same data structures in various places and mandating fields to have values not needing fallbacks. Implemented consistent AccessDenied view in profile and admin apps.
LeoVasanko2026-01-26 19:40:48 +00:00
8d68e5d237
Add missing set_session_host on dunder all.
LeoVasanko2026-01-25 03:17:32 +00:00
5ee7443801
Use fastapi-vue-setup, merging its template scripts to old Paskia entry point and devserver. Simplified CLI, no longer uses serve subcommand. Fixed the URL displayed on banner to show to actual frontend/caddy server even in devmode.
LeoVasanko2026-01-25 03:15:50 +00:00
aae33e60ce
Fix errors where permission scopes were still expected for indexing.
LeoVasanko2026-01-24 00:58:18 +00:00
cebef8adfc
Large refactoring for better JSONL context. Switched back the urlsafe for session tokens that need to be passed in URLs. Other minor fixes.
LeoVasanko2026-01-24 00:40:32 +00:00
57a9c60557
Don't load existing JSONL on migrate.
LeoVasanko2026-01-24 00:08:21 +00:00
a9ef20969e
Refer permissions by UUID rather than scope.
LeoVasanko2026-01-24 00:06:08 +00:00
b7ebe68665
Refactor to use UUID and bytes rather than str keys in msgspec structs because the module can automatically convert these.
LeoVasanko2026-01-23 18:47:56 +00:00
f9d23a196c
Database refactor to separate modules.
LeoVasanko2026-01-23 18:27:12 +00:00
2c6a5c72d9
Updated database to use async background worker, making changes lock-free synchronous ops.
LeoVasanko2026-01-23 15:57:16 +00:00
c13044c085
Change PUT to PATCH for intent-based updates, avoiding override of fields not intended to change. This preserves role permissions matrix even if the permission is temporarily removed from the org.
LeoVasanko2026-01-23 15:41:23 +00:00
2c783498a4
Better handling of Org Admin permission. More guardrails for Master Admin not locking himself out by changes. Admin app UI improvements.
LeoVasanko2026-01-23 15:11:01 +00:00
3430c7f0cf
Permissions refactor. Permissions have UUID and scope (previously id) and the latter no longer needs to be unique. Org admin uses a single global permission now. Domain scoped permissions. Removed from user info the admin fields, use effective_permission checks instead.
LeoVasanko2026-01-23 13:54:31 +00:00
236d52aa55
Replace session.renewed with .expiry for consistency with other expiring items. Fix migration script.
LeoVasanko2026-01-23 01:39:59 +00:00
02e04da2c4
Database cleanup: make it synchronous because we work with in-memory data. Defer writes to disk and cleanup to background task. Tests passing.
LeoVasanko2026-01-23 01:22:47 +00:00
7f3763b46d
Replace SQL database with JSONL based solution that keeps history.
LeoVasanko2026-01-23 00:54:37 +00:00
8992cff473
Fix dialog patterns in admin app: dialog must close before doing API calls to avoid conflict with authentication dialogs.
v0.7.0
LeoVasanko2025-12-10 20:42:12 +00:00
851b17f45c
Adopt <dialog> for our modals to tap into browser built-in functionality.
LeoVasanko2025-12-10 19:41:55 +00:00
cdb9691b59
Revised light color scheme for a more professional look.
LeoVasanko2025-12-10 19:40:59 +00:00
720d875eb5
UX: Close the QR code/link dialog automatically when the code is click-to-copied.
LeoVasanko2025-12-10 19:07:56 +00:00
ac560172ff
Fix regression from adding color-scheme: light dark improperly at :root (html) rather than at body.
LeoVasanko2025-12-10 18:47:56 +00:00
091f20a666
Use absolute paths for resources so that the links work when Vite is serving these at root instead of /auth/
LeoVasanko2025-12-10 18:30:45 +00:00
9930608359
Improved breadcrumbs on auth host.
LeoVasanko2025-12-10 18:20:37 +00:00
4a753ca29b
Vite devserver configuration that behaves correctly for auth-host, serving the profile view at site root and /admin/ instead of under /auth/.
LeoVasanko2025-12-10 18:18:14 +00:00
2d797454de
Fix button row layout problem from the responsive layout cleanup before, that was causing them display stretched to full window width. Now they only shrink.
LeoVasanko2025-12-10 17:43:10 +00:00
a8ffd629ff
Fix devserver script misprocessing in some situations where auth-host was being used. Deduplicate origins on server end.
LeoVasanko2025-12-10 17:39:09 +00:00
3f0de04a49
Fix link copy toast messages, remove custom toast in favor of authStore, remove a component that was no longer used.
LeoVasanko2025-12-10 17:18:48 +00:00
460094e4dd
Change input placeholder that was improperly triggering Bitwarden to complete username in it. BW does not respect autocomplete at all.
LeoVasanko2025-12-10 16:56:19 +00:00
cff62a1904
Fix mobile browser code word autocomplete (on space that wasn't detected correctly).
LeoVasanko2025-12-10 16:40:58 +00:00
ea63b7236c
Automatic light/dark mode. Fixes a cursor color issue on Huawei Browser, and is generally a good idea.
LeoVasanko2025-12-10 16:40:54 +00:00
8bb00f01c4
Simplify responsive layouts. Remove button vertical stacking and always fit them on the same row.
LeoVasanko2025-12-10 16:11:43 +00:00
ca73febe2f
Implement keyboard navigation using arrow keys in the whole application. (#2)
LeoVasanko2025-12-10 15:43:40 +00:00