LeoVasanko
|
d16d1ed1c2
|
Make database changes outside of transaction a fatal error. Fix bootstrap and migrate to work with various latest changes.
|
2026-01-28 19:04:00 +00:00 |
|
LeoVasanko
|
2cfca81672
|
Fix a bug with validate returning 401 when a session was refreshed. Simplify & cleanup.
|
2026-01-28 18:45:02 +00:00 |
|
LeoVasanko
|
ce300ebdaf
|
API to use msgspec structs as well.
|
2026-01-28 18:31:45 +00:00 |
|
LeoVasanko
|
7329223784
|
Implement full ORM. Various other cleanup.
|
2026-01-28 17:19:56 +00:00 |
|
LeoVasanko
|
c8d659b5ca
|
Move get_session_context to DB.session_ctx().
|
2026-01-28 14:52:18 +00:00 |
|
LeoVasanko
|
29ea6426fe
|
Problem solved, remove extraneous migration, reset to v1.
v0.9.0
|
2026-01-28 02:29:53 +00:00 |
|
LeoVasanko
|
88a170a37b
|
Debug DB problem
|
2026-01-28 02:27:26 +00:00 |
|
LeoVasanko
|
38d240d86d
|
Credential update was being done out of transaction, now part of login.
|
2026-01-28 02:22:47 +00:00 |
|
LeoVasanko
|
53362b8061
|
Debug DB problem
|
2026-01-28 02:19:54 +00:00 |
|
LeoVasanko
|
d3d5f5a3c8
|
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 |
|
LeoVasanko
|
d156fb9221
|
Fix migration logic.
|
2026-01-28 02:02:18 +00:00 |
|
LeoVasanko
|
f868bc59d1
|
Fix migration logic.
|
2026-01-28 01:58:36 +00:00 |
|
LeoVasanko
|
0022986d4e
|
Implement migration to remove created_at timestamp from Orgs that already has one, bumping db v1.
|
2026-01-28 01:52:33 +00:00 |
|
LeoVasanko
|
b08cca754f
|
Remove Org.created_at to maintain compatibility with old versions (the field was not being used).
|
2026-01-28 01:31:35 +00:00 |
|
LeoVasanko
|
aa58f08bc5
|
Hardened PATCH handling (only allow updating select fields). Hardened DB transactions, rollback.
|
2026-01-28 01:13:05 +00:00 |
|
LeoVasanko
|
1062b5d6c8
|
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 |
|
LeoVasanko
|
3d49cbf2d6
|
Disable API docs that display very much broken due to missing request/response typing.
|
2026-01-27 23:27:42 +00:00 |
|
LeoVasanko
|
13c49aebfd
|
Remove unnecessary use of async now that db access doesn't need awaiting.
|
2026-01-27 23:16:17 +00:00 |
|
LeoVasanko
|
abec77d561
|
Broken import
|
2026-01-27 22:46:49 +00:00 |
|
LeoVasanko
|
9b505ff553
|
DB background worker cleanup, avoid issue with double cleanup. Faster write to disk.
|
2026-01-27 22:21:33 +00:00 |
|
LeoVasanko
|
ddd70e6130
|
Cleaner typing to avoid some checking errors.
|
2026-01-27 22:04:14 +00:00 |
|
LeoVasanko
|
cf1124c251
|
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 |
|
LeoVasanko
|
7504aaf7e0
|
Move imports to top of file.
|
2026-01-27 20:16:32 +00:00 |
|
LeoVasanko
|
e8247a2c7f
|
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 |
|
LeoVasanko
|
968964c4c9
|
Remove db.get_session.
|
2026-01-27 18:28:32 +00:00 |
|
LeoVasanko
|
6aa1a08e39
|
Remove list_sessions_for_user, inline db access at call sites.
|
2026-01-27 18:25:29 +00:00 |
|
LeoVasanko
|
31f40d874c
|
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 |
|
LeoVasanko
|
7530d7a710
|
DB cleanup continued: Made the working copy data public in DB class.
|
2026-01-27 18:02:16 +00:00 |
|
LeoVasanko
|
90d5f0e45f
|
Remove runtime expiry checks; the db background cleanup makes this unnecessary.
|
2026-01-27 16:55:07 +00:00 |
|
LeoVasanko
|
f0d1b86d6b
|
Database cleanup continues, build functions replaced by post init. Simplified some APIs.
|
2026-01-27 16:53:13 +00:00 |
|
LeoVasanko
|
dbdd1dbd3c
|
Missing import in migrate script.
|
2026-01-27 16:26:48 +00:00 |
|
LeoVasanko
|
8f862fb4d1
|
Consistently use UUID type in APIs instead of UUID str as option.
|
2026-01-27 16:24:02 +00:00 |
|
LeoVasanko
|
cfb917da46
|
DB getter refactoring. Documented call sites. Added separate function for by-scope permission lookup.
|
2026-01-27 15:54:28 +00:00 |
|
LeoVasanko
|
3a8e7d1f4f
|
Remove credentials: 'include', a mechanism that we don't actually use.
|
2026-01-27 15:23:19 +00:00 |
|
LeoVasanko
|
86966526c4
|
Finalize database API class merge.
|
2026-01-27 03:00:18 +00:00 |
|
LeoVasanko
|
3196aa7688
|
Refactor API to match database, no _uuid postfixes.
|
2026-01-27 02:32:46 +00:00 |
|
LeoVasanko
|
2fadaea19c
|
Update E2E tests with changes since a while back.
|
2026-01-27 02:24:09 +00:00 |
|
LeoVasanko
|
cb84a81a06
|
Update the API to use new naming matching database.
|
2026-01-27 02:22:29 +00:00 |
|
LeoVasanko
|
9bdca1f43a
|
Finish the database key-in-object refactoring.
|
2026-01-27 02:11:09 +00:00 |
|
LeoVasanko
|
0f29544bdb
|
Database cleanup, better UUID passing and construction (User model).
|
2026-01-27 01:25:52 +00:00 |
|
LeoVasanko
|
4ddaa9fdf4
|
Cleanup and bugfixes on Bootstrap and JSONL handling.
|
2026-01-26 23:54:03 +00:00 |
|
LeoVasanko
|
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.
|
2026-01-26 19:40:48 +00:00 |
|
LeoVasanko
|
fbc6108b7a
|
Fix frontend-build location. Cleanup.
v0.8.2
|
2026-01-25 03:26:22 +00:00 |
|
LeoVasanko
|
6e649f1f07
|
Fix test expected HTTP code.
v0.8.1
|
2026-01-25 03:20:28 +00:00 |
|
LeoVasanko
|
8d68e5d237
|
Add missing set_session_host on dunder all.
|
2026-01-25 03:17:32 +00:00 |
|
LeoVasanko
|
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.
|
2026-01-25 03:15:50 +00:00 |
|
LeoVasanko
|
2100a7e14f
|
Logging cleanup, linter.
v0.8.0
|
2026-01-24 01:08:00 +00:00 |
|
LeoVasanko
|
aae33e60ce
|
Fix errors where permission scopes were still expected for indexing.
|
2026-01-24 00:58:18 +00:00 |
|
LeoVasanko
|
cebef8adfc
|
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 |
|
LeoVasanko
|
57a9c60557
|
Don't load existing JSONL on migrate.
|
2026-01-24 00:08:21 +00:00 |
|