Commit Graph

  • 7f52276c23 Use samesite=strict because we don't need the cookie for page loads. LeoVasanko 2026-02-13 20:22:05 +00:00
  • c1f8020f6b API cleanup, using msgspec structs rather than raw responses. Admin app cleanup, better breadcrumbs. LeoVasanko 2026-02-13 20:09:41 +00:00
  • 423abb0d1b Move CLI entry point to main module even though it runs the FastAPI app from a submodule. LeoVasanko 2026-02-13 16:26:05 +00:00
  • ef7a6c8011 Upgrade fastapi-vue-setup 1.0.2 LeoVasanko 2026-02-11 21:33:21 +00:00
  • 97064f7bc7 Remove unused CLI bootstrap entry point. LeoVasanko 2026-02-11 19:36:06 +00:00
  • fc0541762e Add version indication and link to our site on profile page (bottom right corner). v1.0.0 LeoVasanko 2026-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). LeoVasanko 2026-02-11 01:24:15 +00:00
  • 4ebe5ae968 Style overhaul. v0.13.1 LeoVasanko 2026-02-11 01:18:19 +00:00
  • a944224027 Inline get_config, rewrite update_config, DB init Config and rp_id defaults changed. v0.13.0 LeoVasanko 2026-02-10 23:01:02 +00:00
  • aef0e0cb44 ResetToken.hash(phrase) added avoiding code duplication. LeoVasanko 2026-02-10 22:56:49 +00:00
  • d41cffc03e Remove remaining DB getter functions, inline at call site and add ResetToken.by_passphrase(). LeoVasanko 2026-02-10 22:48:31 +00:00
  • bad709a3ab Remove unnecessary odd getter from db.operations. LeoVasanko 2026-02-10 22:37:57 +00:00
  • 1cfde06de9 Refactor DB lifecycle functions init and cleanup to separate db.lifecycle module. LeoVasanko 2026-02-10 22:28:38 +00:00
  • b0b36e88b1 CRUD store and delete on the DB classes directly. LeoVasanko 2026-02-10 22:19:02 +00:00
  • 2237e6b5e9 Db operations: bootstrap separated to its own module. LeoVasanko 2026-02-10 22:08:54 +00:00
  • c2ea01e6d9 Use strictly same now timestamp over a transaction, even for UUIDv7s generated. LeoVasanko 2026-02-10 21:45:09 +00:00
  • 8b6bdd0f9c Calculate session expiry times in operations, using a common now timestamp for everything. LeoVasanko 2026-02-10 21:35:56 +00:00
  • 3ca784dc3c Set last seen and increment visits during registration, not only on authentication. LeoVasanko 2026-02-10 21:25:20 +00:00
  • d8876d9202 README LeoVasanko 2026-02-09 19:22:05 +00:00
  • aa22b7709f README LeoVasanko 2026-02-09 18:52:53 +00:00
  • a8222f4bba README LeoVasanko 2026-02-09 18:46:03 +00:00
  • 16ab111a89 Make config part of bootstrap. v0.12.3 LeoVasanko 2026-02-09 18:33:29 +00:00
  • d826146932 Improved CLI logging of DB transactions. LeoVasanko 2026-02-09 18:28:24 +00:00
  • fda9b2545e Fix save config running before bootstrap for new databases. LeoVasanko 2026-02-09 18:07:51 +00:00
  • 0cf551cb28 Cleaner database error handling and fixes. v0.12.2 LeoVasanko 2026-02-09 17:55:03 +00:00
  • 632230d05c Minor fixes to config handling. v0.12.1 LeoVasanko 2026-02-09 17:37:10 +00:00
  • a37198bb4b README v0.12.0 LeoVasanko 2026-02-09 17:18:55 +00:00
  • fb71ea1220 Storing config on database to simplify reloads by CLI. LeoVasanko 2026-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. LeoVasanko 2026-02-09 16:42:12 +00:00
  • 6a217978d6 Upgrade fastapi-vue-setup. v0.11.2 LeoVasanko 2026-02-09 16:29:24 +00:00
  • 4d48c0720a README v0.11.1 LeoVasanko 2026-02-06 01:07:00 +00:00
  • 083d20c8c9 README LeoVasanko 2026-02-06 01:00:58 +00:00
  • c662fbd39c README LeoVasanko 2026-02-06 00:29:16 +00:00
  • edf80aef52 README LeoVasanko 2026-02-06 00:27:01 +00:00
  • 8d5c53ab72 README LeoVasanko 2026-02-06 00:25:38 +00:00
  • f8a760ddfd README LeoVasanko 2026-02-06 00:23:44 +00:00
  • 430394a1e5 README LeoVasanko 2026-02-06 00:22:03 +00:00
  • 4c54ad5d1f Docs, screenshot of permissions view. LeoVasanko 2026-02-06 00:16:29 +00:00
  • 0b2be18b44 Docs LeoVasanko 2026-02-06 00:08:27 +00:00
  • 1c8be68811 README LeoVasanko 2026-02-05 22:58:42 +00:00
  • 116bc3c4ef README LeoVasanko 2026-02-05 22:44:26 +00:00
  • c641c721c7 README LeoVasanko 2026-02-05 21:54:14 +00:00
  • 8fc03ade04 Remove the reset subcommand that was broken and unnecessary. LeoVasanko 2026-02-05 21:53:30 +00:00
  • 6ad3aa7d8c Screenshots, README. LeoVasanko 2026-02-05 21:38:57 +00:00
  • d8444b0db8 New screenshot after theme changes. v0.11.0 LeoVasanko 2026-02-05 20:38:30 +00:00
  • f515daeecd Release paskia-js 0.1.3 with minor updates on styling and metadata. LeoVasanko 2026-02-05 19:49:39 +00:00
  • 5deb57435b Remove paskia-migration script (SQL no longer supported). LeoVasanko 2026-02-05 19:32:18 +00:00
  • 250189dbe5 Update tests for the latest changes. LeoVasanko 2026-02-05 19:26:20 +00:00
  • 3469e6fa3f ruff check LeoVasanko 2026-02-05 19:21:03 +00:00
  • c3df6c318c Change host normalization to remove port numbers - sessions are per host, cookies don't respect port numbers. LeoVasanko 2026-02-05 19:04:40 +00:00
  • 615066a2a2 Upgrade by fastapi-vue-setup, devserver script entirely rewritten to use its facilities. LeoVasanko 2026-02-05 18:50:08 +00:00
  • 70c682b539 Improved client IP and UA handling. LeoVasanko 2026-02-05 17:33:08 +00:00
  • 8444d0399e Improved theme picker LeoVasanko 2026-02-05 16:19:06 +00:00
  • 3c5f8694b3 Load stylesheets directly from HTML to avoid flashing wrong background color first. LeoVasanko 2026-02-05 15:39:51 +00:00
  • 871eb149ab Styling updates, more robust dynamic/userpref light/dark switching. Sync with paskia-js. LeoVasanko 2026-02-05 15:27:15 +00:00
  • 291a665e21 Improved UI feedback on registration link creation. LeoVasanko 2026-02-05 14:26:11 +00:00
  • 0537b85085 Better UI for role deletions. LeoVasanko 2026-02-05 14:05:36 +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. LeoVasanko 2026-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 LeoVasanko 2026-02-05 02:54:07 +00:00
  • 3faaeee7be Add missing __init__ that was causing ModuleFoundError trying to import paskia.util. LeoVasanko 2026-02-05 02:33:05 +00:00
  • 0f51f8501d Console startup box themed as well. v0.10.1 LeoVasanko 2026-01-31 00:30:14 +00:00
  • a7e6eb7341 Missing theme file. Added favicon. LeoVasanko 2026-01-31 00:25:38 +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). LeoVasanko 2026-01-30 23:31:06 +00:00
  • cc55474e62 Light/dark override for in-app login dialogs to match app style e.g. light only LeoVasanko 2026-01-30 22:59:52 +00:00
  • 8ac2c8e5fa Screenshots on README. LeoVasanko 2026-01-29 22:50:54 +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 LeoVasanko 2026-01-29 22:44:22 +00:00
  • d58b3742b1 Smarter change logging on console, properly display newly created items (not available via jsondiffs). LeoVasanko 2026-01-29 22:39:16 +00:00
  • 5879be39a5 Better change entry logging. LeoVasanko 2026-01-29 22:09:26 +00:00
  • 5b3406025c Silence type checker about our unconventional imports. LeoVasanko 2026-01-29 22:09:03 +00:00
  • dda57ac27d Fix WS access log IP margin size change missed in earlier commit. LeoVasanko 2026-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. LeoVasanko 2026-01-29 21:33:09 +00:00
  • be7a9e7f00 Smarter access log formatting with IPv6. LeoVasanko 2026-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. LeoVasanko 2026-01-29 21:11:29 +00:00
  • 58b56a09a4 Restrict remote auth to the existing granting user's credentials. LeoVasanko 2026-01-29 20:24:26 +00:00
  • 731b36b456 Cleanup auth WS code, refactor to remove duplication and pass proper context. LeoVasanko 2026-01-29 20:15:01 +00:00
  • 8f9cd1124c Add missing context on update_session. LeoVasanko 2026-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). LeoVasanko 2026-01-29 19:46:26 +00:00
  • af35ff3d4c Add a screenshot. LeoVasanko 2026-01-29 19:15:17 +00:00
  • dac1415a86 More of a normal white path color. LeoVasanko 2026-01-29 16:57:30 +00:00
  • 433844cf08 Refactor to separate paskia lib functionality generally useful for various apps. LeoVasanko 2026-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. LeoVasanko 2026-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). LeoVasanko 2026-01-29 14:48:59 +00:00
  • 7c4418e631 Smarter change logging on console. v0.9.1 LeoVasanko 2026-01-28 23:22:03 +00:00
  • 1648c8641f Improved access logging. LeoVasanko 2026-01-28 23:01:35 +00:00
  • 63eb088dbd Cleanup LeoVasanko 2026-01-28 20:31:33 +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. LeoVasanko 2026-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}. LeoVasanko 2026-01-28 19:24:15 +00:00
  • c1b0aab296 Cleanup LeoVasanko 2026-01-28 19:17:24 +00:00
  • 8f89bb6d4b Modules missing git add LeoVasanko 2026-01-28 19:04:18 +00:00
  • d16d1ed1c2 Make database changes outside of transaction a fatal error. Fix bootstrap and migrate to work with various latest changes. LeoVasanko 2026-01-28 19:04:00 +00:00
  • 2cfca81672 Fix a bug with validate returning 401 when a session was refreshed. Simplify & cleanup. LeoVasanko 2026-01-28 18:45:02 +00:00
  • ce300ebdaf API to use msgspec structs as well. LeoVasanko 2026-01-28 18:31:45 +00:00
  • 7329223784 Implement full ORM. Various other cleanup. LeoVasanko 2026-01-28 17:19:56 +00:00
  • c8d659b5ca Move get_session_context to DB.session_ctx(). LeoVasanko 2026-01-28 14:52:18 +00:00
  • 29ea6426fe Problem solved, remove extraneous migration, reset to v1. v0.9.0 LeoVasanko 2026-01-28 02:29:53 +00:00
  • 88a170a37b Debug DB problem LeoVasanko 2026-01-28 02:27:26 +00:00
  • 38d240d86d Credential update was being done out of transaction, now part of login. LeoVasanko 2026-01-28 02:22:47 +00:00
  • 53362b8061 Debug DB problem LeoVasanko 2026-01-28 02:19:54 +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). LeoVasanko 2026-01-28 02:14:34 +00:00
  • d156fb9221 Fix migration logic. LeoVasanko 2026-01-28 02:02:18 +00:00