Leo Vasanko
|
9983245652
|
Remove get_session_context setting of host (now read only op as expected). Make session host, ip and user_agent always set (the ua potentially empty string).
|
2026-01-28 02:14:34 +00:00 |
|
Leo Vasanko
|
78a7c4f07a
|
Fix migration logic.
|
2026-01-28 02:02:18 +00:00 |
|
Leo Vasanko
|
614e5a289d
|
Fix migration logic.
|
2026-01-28 01:58:36 +00:00 |
|
Leo Vasanko
|
f90d9e4eb1
|
Implement migration to remove created_at timestamp from Orgs that already has one, bumping db v1.
|
2026-01-28 01:52:33 +00:00 |
|
Leo Vasanko
|
c6a7429f11
|
Remove Org.created_at to maintain compatibility with old versions (the field was not being used).
|
2026-01-28 01:31:35 +00:00 |
|
Leo Vasanko
|
e3ff1f9db1
|
Hardened PATCH handling (only allow updating select fields). Hardened DB transactions, rollback.
|
2026-01-28 01:13:05 +00:00 |
|
Leo Vasanko
|
8a6540aa91
|
Fix background task still running twice, and add a check to prevent that happening again (double expiry).
|
2026-01-27 23:51:13 +00:00 |
|
Leo Vasanko
|
4cf0bda26d
|
Disable API docs that display very much broken due to missing request/response typing.
|
2026-01-27 23:27:42 +00:00 |
|
Leo Vasanko
|
dea62d799f
|
Remove unnecessary use of async now that db access doesn't need awaiting.
|
2026-01-27 23:16:17 +00:00 |
|
Leo Vasanko
|
46083d8bce
|
Broken import
|
2026-01-27 22:46:49 +00:00 |
|
Leo Vasanko
|
b09fb7fe26
|
DB background worker cleanup, avoid issue with double cleanup. Faster write to disk.
|
2026-01-27 22:21:33 +00:00 |
|
Leo Vasanko
|
43ffb31414
|
Cleaner typing to avoid some checking errors.
|
2026-01-27 22:04:14 +00:00 |
|
Leo Vasanko
|
d40a2b8682
|
DB transactions cleanup, better actor/user data. Simplified admin API. Use UUID to refer to a specific permission in admin API. Other cleanup.
|
2026-01-27 21:48:21 +00:00 |
|
Leo Vasanko
|
e3b64ef537
|
Move imports to top of file.
|
2026-01-27 20:16:32 +00:00 |
|
Leo Vasanko
|
a54819aba8
|
Remove most remaining DB getters. Add ws auth chat helper function to avoid repetition, along with the existing register chat in wschat.py.
|
2026-01-27 20:01:17 +00:00 |
|
Leo Vasanko
|
69a0aae78c
|
Remove db.get_session.
|
2026-01-27 18:28:32 +00:00 |
|
Leo Vasanko
|
925a582869
|
Remove list_sessions_for_user, inline db access at call sites.
|
2026-01-27 18:25:29 +00:00 |
|
Leo Vasanko
|
8249a9b3c1
|
DB cleanup: removed get_permission_organizations and build_org. Using db.data() for read access at call sites.
|
2026-01-27 18:23:17 +00:00 |
|
Leo Vasanko
|
1c4fda6aa2
|
DB cleanup continued: Made the working copy data public in DB class.
|
2026-01-27 18:02:16 +00:00 |
|
Leo Vasanko
|
7efd7e4e98
|
Remove runtime expiry checks; the db background cleanup makes this unnecessary.
|
2026-01-27 16:55:07 +00:00 |
|
Leo Vasanko
|
462c21f7fa
|
Database cleanup continues, build functions replaced by post init. Simplified some APIs.
|
2026-01-27 16:53:13 +00:00 |
|
Leo Vasanko
|
173071ead2
|
Missing import in migrate script.
|
2026-01-27 16:26:48 +00:00 |
|
Leo Vasanko
|
e2a4143543
|
Consistently use UUID type in APIs instead of UUID str as option.
|
2026-01-27 16:24:02 +00:00 |
|
Leo Vasanko
|
bafd62a1b1
|
DB getter refactoring. Documented call sites. Added separate function for by-scope permission lookup.
|
2026-01-27 15:54:28 +00:00 |
|
Leo Vasanko
|
071a7b9e0b
|
Remove credentials: 'include', a mechanism that we don't actually use.
|
2026-01-27 15:23:19 +00:00 |
|
Leo Vasanko
|
637b1b95a8
|
Finalize database API class merge.
|
2026-01-27 03:00:18 +00:00 |
|
Leo Vasanko
|
73e4d41f04
|
Refactor API to match database, no _uuid postfixes.
|
2026-01-27 02:32:46 +00:00 |
|
Leo Vasanko
|
1b26383586
|
Update E2E tests with changes since a while back.
|
2026-01-27 02:24:09 +00:00 |
|
Leo Vasanko
|
2413a32bda
|
Update the API to use new naming matching database.
|
2026-01-27 02:22:29 +00:00 |
|
Leo Vasanko
|
db104d762b
|
Finish the database key-in-object refactoring.
|
2026-01-27 02:11:09 +00:00 |
|
Leo Vasanko
|
ece0ac9a16
|
Database cleanup, better UUID passing and construction (User model).
|
2026-01-27 01:25:52 +00:00 |
|
Leo Vasanko
|
e0e1a644de
|
Cleanup and bugfixes on Bootstrap and JSONL handling.
|
2026-01-26 23:54:03 +00:00 |
|
Leo Vasanko
|
f6e995184f
|
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.
|
2026-01-26 19:40:48 +00:00 |
|
Leo Vasanko
|
d7665f3f8d
|
Fix frontend-build location. Cleanup.
|
2026-01-25 03:26:22 +00:00 |
|
Leo Vasanko
|
533932b798
|
Fix test expected HTTP code.
|
2026-01-25 03:20:28 +00:00 |
|
Leo Vasanko
|
f63f088883
|
Add missing set_session_host on dunder all.
|
2026-01-25 03:17:32 +00:00 |
|
Leo Vasanko
|
21364fc621
|
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.
|
2026-01-25 03:15:50 +00:00 |
|
Leo Vasanko
|
0097bb4011
|
Logging cleanup, linter.
|
2026-01-24 01:08:00 +00:00 |
|
Leo Vasanko
|
f7f529d8b9
|
Fix errors where permission scopes were still expected for indexing.
|
2026-01-24 00:58:18 +00:00 |
|
Leo Vasanko
|
6d340ef689
|
Large refactoring for better JSONL context. Switched back the urlsafe for session tokens that need to be passed in URLs. Other minor fixes.
|
2026-01-24 00:40:32 +00:00 |
|
Leo Vasanko
|
2965528b26
|
Don't load existing JSONL on migrate.
|
2026-01-24 00:08:21 +00:00 |
|
Leo Vasanko
|
2227a9bf6f
|
Refer permissions by UUID rather than scope.
|
2026-01-24 00:06:08 +00:00 |
|
Leo Vasanko
|
5585651e57
|
Debug JSONL updates.
|
2026-01-23 23:49:11 +00:00 |
|
Leo Vasanko
|
17961c2bca
|
Debug JSONL updates.
|
2026-01-23 23:41:47 +00:00 |
|
Leo Vasanko
|
3f3cd27ec8
|
Debug JSONL updates.
|
2026-01-23 23:35:00 +00:00 |
|
Leo Vasanko
|
a7ade8d2ac
|
Debug JSONL updates.
|
2026-01-23 23:29:47 +00:00 |
|
Leo Vasanko
|
6a3a4afd8e
|
Fixes to JSONL management, starting from empty state rather than default DB.
|
2026-01-23 21:31:54 +00:00 |
|
Leo Vasanko
|
3f5018918e
|
Simplify session and reset token formats; removes the token utility functions entirely.
|
2026-01-23 21:01:45 +00:00 |
|
Leo Vasanko
|
e93578f2e7
|
Fix actor fields and transactions for API operations as they are recorded to DB.
|
2026-01-23 20:19:33 +00:00 |
|
Leo Vasanko
|
943bda806d
|
Update migrate script with the latest database changes.
|
2026-01-23 19:56:44 +00:00 |
|