fc0541762e
Add version indication and link to our site on profile page (bottom right corner).
v1.0.0
LeoVasanko2026-02-11 01:36:58 +00:00
cebaa2a757
Less eagerly enable very wide layout for user profile (only if more than 8 items for passkeys or per site sessions).
LeoVasanko2026-02-11 01:24:15 +00:00
fb71ea1220
Storing config on database to simplify reloads by CLI.
LeoVasanko2026-02-09 17:00:40 +00:00
25283eba9b
Change database name to (rp-id).paskiadb (previously paskia.jsonl). Validate the rp-id in passkey init.
LeoVasanko2026-02-09 16:42:12 +00:00
c3df6c318c
Change host normalization to remove port numbers - sessions are per host, cookies don't respect port numbers.
LeoVasanko2026-02-05 19:04:40 +00:00
615066a2a2
Upgrade by fastapi-vue-setup, devserver script entirely rewritten to use its facilities.
LeoVasanko2026-02-05 18:50:08 +00:00
70c682b539
Improved client IP and UA handling.
LeoVasanko2026-02-05 17:33:08 +00:00
af5a48f565
API/DB cleanup for flat URLs that don't include org where users etc. are referred to. Implement user deletion in admin app and API, UI improvement. Reset token DB factory function revised to create passphrase and key internally. Removed unneeded functions and args, using update_user_role instead of a separate deleted _in_organization function.
LeoVasanko2026-02-05 13:57:07 +00:00
632278d4ce
Change CLI to use --listen rather than positional hostport argument. Fix listening on all interfaces (runs lifespan twice, which needs to be OK). Update README with various CLI changes and more.
v0.10.2
LeoVasanko2026-02-05 02:54:07 +00:00
3faaeee7be
Add missing __init__ that was causing ModuleFoundError trying to import paskia.util.
LeoVasanko2026-02-05 02:33:05 +00:00
1800dc12ae
Light/dark selection in user profile, if set this is preferred on the whole system, together with app overrides (the first one on the URL wins).
LeoVasanko2026-01-30 23:31:06 +00:00
cc55474e62
Light/dark override for in-app login dialogs to match app style e.g. light only
LeoVasanko2026-01-30 22:59:52 +00:00
2ee8ddf1d1
Log proper action for delete_session depending on what function it performs: logout, delete_session (user's own) or admin:delete_session.
v0.10.0
LeoVasanko2026-01-29 22:44:22 +00:00
d58b3742b1
Smarter change logging on console, properly display newly created items (not available via jsondiffs).
LeoVasanko2026-01-29 22:39:16 +00:00
5b3406025c
Silence type checker about our unconventional imports.
LeoVasanko2026-01-29 22:09:03 +00:00
dda57ac27d
Fix WS access log IP margin size change missed in earlier commit.
LeoVasanko2026-01-29 21:39:30 +00:00
5e12dcba76
Add paskia-js to Python build; update build-frontend to use fastapi-vue utils for JS_RUNTIME that also can be set via env now. Fix paskia-js compatibility issue with deno, now works with all three runtimes.
LeoVasanko2026-01-29 21:33:09 +00:00
be7a9e7f00
Smarter access log formatting with IPv6.
LeoVasanko2026-01-29 21:17:50 +00:00
3d2151fed7
Add support for perm=foo+bar to specify multiple scopes that are required. Multiple perm args are acceptable too. Pretty logging of permission denied errors.
LeoVasanko2026-01-29 21:11:29 +00:00
58b56a09a4
Restrict remote auth to the existing granting user's credentials.
LeoVasanko2026-01-29 20:24:26 +00:00
731b36b456
Cleanup auth WS code, refactor to remove duplication and pass proper context.
LeoVasanko2026-01-29 20:15:01 +00:00
8f9cd1124c
Add missing context on update_session.
LeoVasanko2026-01-29 19:51:56 +00:00
7e49ef296a
Create a stand-alone paskia npm package (paskia-js). Make the frontend use it (but from source tree to keep synced).
LeoVasanko2026-01-29 19:46:26 +00:00
dac1415a86
More of a normal white path color.
LeoVasanko2026-01-29 16:57:30 +00:00
433844cf08
Refactor to separate paskia lib functionality generally useful for various apps.
LeoVasanko2026-01-29 16:55:46 +00:00
c9ea1c8948
Consistent and stronger session revalidation checks in Auth profile and Admin App. Fix missing handling of link generation network errors.
LeoVasanko2026-01-29 16:02:29 +00:00
58f46c6abf
Logging cleanup, better colors, suppress more useless messages. Enable reloading in devmode again (needs uvicorn.run to function).
LeoVasanko2026-01-29 14:48:59 +00:00
e88cc004dd
Implement versioning in metadata, outside of the DB itself. Cleanup to migration handling and changes. Implement new migration step using msgspec normalization.
LeoVasanko2026-01-28 20:21:09 +00:00
76921e8b31
Add migrate:msgspec for changes in schema that don't require version bump. Rename the other migrations to migrate:sql and migrate:v{N}.
LeoVasanko2026-01-28 19:24:15 +00:00
d16d1ed1c2
Make database changes outside of transaction a fatal error. Fix bootstrap and migrate to work with various latest changes.
LeoVasanko2026-01-28 19:04:00 +00:00
2cfca81672
Fix a bug with validate returning 401 when a session was refreshed. Simplify & cleanup.
LeoVasanko2026-01-28 18:45:02 +00:00
ce300ebdaf
API to use msgspec structs as well.
LeoVasanko2026-01-28 18:31:45 +00:00
7329223784
Implement full ORM. Various other cleanup.
LeoVasanko2026-01-28 17:19:56 +00:00
c8d659b5ca
Move get_session_context to DB.session_ctx().
LeoVasanko2026-01-28 14:52:18 +00:00
29ea6426fe
Problem solved, remove extraneous migration, reset to v1.
v0.9.0
LeoVasanko2026-01-28 02:29:53 +00:00
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).
LeoVasanko2026-01-28 02:14:34 +00:00