Add hosted login persistence
This commit is contained in:
+5
-3
@@ -79,12 +79,14 @@ Definition of done:
|
||||
|
||||
Goal: make the hosted app personally usable without relying on browser `localStorage`.
|
||||
|
||||
Current foundation note: hosted mode now has username/password login, signed cookie sessions, and per-user SQLite workspace persistence. Account creation is intentionally bootstrap/manual-only for the private alpha.
|
||||
|
||||
Tasks:
|
||||
|
||||
- Add a minimal server API for sessions, notes, settings, timelines, and active workspace state.
|
||||
- Add a simple login path, starting with manually created accounts or invite-only access.
|
||||
- Add a minimal server API for sessions, notes, settings, timelines, and active workspace state. Started in `server/libre-study-server.mjs`.
|
||||
- Add a simple login path, starting with manually created accounts or invite-only access. Started with bootstrap-created users.
|
||||
- Store only necessary account data: username or email, password hash, sessions, notes, settings, timeline events, created/updated timestamps.
|
||||
- Move hosted sessions from `localStorage` to server persistence.
|
||||
- Move hosted sessions from `localStorage` to server persistence. Started through the authenticated workspace snapshot endpoint.
|
||||
- Keep local browser preview and Tauri desktop able to run without accounts.
|
||||
- Add basic backup expectations for the server-side user database.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user