Commit Graph
282 Commits
Author SHA1 Message Date
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
Leo Vasanko aa26a16d5d Record user UUID as actor for API access. 2026-01-23 19:55:54 +00:00
Leo Vasanko 257ddc0b51 Cleanup, add database versioning. 2026-01-23 19:22:23 +00:00
Leo Vasanko 62dbf5a4ae Refactor to use UUID and bytes rather than str keys in msgspec structs because the module can automatically convert these. 2026-01-23 18:47:56 +00:00
Leo Vasanko 0674f9ceeb Database refactor to separate modules. 2026-01-23 18:35:35 +00:00
Leo Vasanko b6ee11b4de Updated database to use async background worker, making changes lock-free synchronous ops. 2026-01-23 15:57:16 +00:00
Leo Vasanko c6dadd283d 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. 2026-01-23 15:41:23 +00:00
Leo Vasanko 4c1db37c73 Better handling of Org Admin permission. More guardrails for Master Admin not locking himself out by changes. Admin app UI improvements. 2026-01-23 15:11:01 +00:00
Leo Vasanko 253387be97 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. 2026-01-23 13:54:31 +00:00
Leo Vasanko 291e0eae0b Replace session.renewed with .expiry for consistency with other expiring items. Fix migration script. 2026-01-23 01:39:59 +00:00
Leo Vasanko ab65f3dae2 Database cleanup: make it synchronous because we work with in-memory data. Defer writes to disk and cleanup to background task. Tests passing. 2026-01-23 01:22:47 +00:00
Leo Vasanko 887c0f92a2 Replace SQL database with JSONL based solution that keeps history. 2026-01-23 00:54:37 +00:00
LeoVasanko dfb86efc65 Update docs/Caddy.md 2025-12-19 22:53:10 +00:00
Leo Vasanko be4208b74e Docs updates. 2025-12-19 21:09:56 +00:00
Leo Vasanko 4e54856624 Docs updates. 2025-12-19 21:08:40 +00:00
Leo Vasanko 8ba644e2cd Docs updates. 2025-12-19 21:07:20 +00:00
Leo Vasanko efc55c600e Docs updates. 2025-12-19 21:06:27 +00:00
Leo Vasanko 8cddf7b414 Docs updates. 2025-12-19 21:01:05 +00:00
Leo Vasanko 65f604aa67 Docs updates. 2025-12-19 21:00:16 +00:00
Leo Vasanko 3aa178e7fa Docs updates. 2025-12-19 20:59:16 +00:00
Leo Vasanko 5fad729839 Docs updates. 2025-12-19 20:56:47 +00:00
Leo Vasanko 3702a002bd Docs updates. 2025-12-19 20:54:44 +00:00
Leo Vasanko 159d5fc87b Docs updates. 2025-12-19 20:52:38 +00:00
Leo Vasanko 00ea0cc05f Docs updates. 2025-12-19 20:38:49 +00:00
Leo Vasanko 1c98563000 Docs updates. 2025-12-19 20:37:25 +00:00
Leo Vasanko f55933eca2 Docs updates. 2025-12-19 20:23:49 +00:00
Leo Vasanko 3bf9702b23 Docs updates. 2025-12-19 18:34:12 +00:00
Leo Vasanko 88743839af Add missing max-age argument to validate endpoint. 2025-12-19 18:34:01 +00:00
Leo Vasanko 767f7475b8 Docs updates. 2025-12-19 18:17:28 +00:00
Leo Vasanko fa2ee0b0bd Docs updates. 2025-12-19 17:34:09 +00:00
Leo Vasanko bb5a11fe6f Docs updates. 2025-12-19 17:28:54 +00:00
Leo Vasanko 46b2dccf4f Docs updates. 2025-12-19 16:06:51 +00:00
Leo Vasanko 60eb6370d3 README formatting and links. 2025-12-19 14:59:22 +00:00
Leo Vasanko 477fc1fe44 Info fields for PyPI 2025-12-18 14:13:05 +00:00
Leo Vasanko cdcaa5a199 Remove layout max width. 2025-12-10 20:53:59 +00:00
Leo Vasanko 541a019c13 Fix dialog patterns in admin app: dialog must close before doing API calls to avoid conflict with authentication dialogs. 2025-12-10 20:42:12 +00:00
Leo Vasanko 841ebf70c5 Cleanup on Admin app, better delete confirmations. 2025-12-10 20:16:57 +00:00
Leo Vasanko 1143032eca Adopt <dialog> for our modals to tap into browser built-in functionality. 2025-12-10 19:41:55 +00:00
Leo Vasanko 683a912899 Revised light color scheme for a more professional look. 2025-12-10 19:40:59 +00:00
Leo Vasanko 727db38bc7 UX: Close the QR code/link dialog automatically when the code is click-to-copied. 2025-12-10 19:07:56 +00:00