Vadym Samoilenko
|
53a85c788d
|
Add full auth system: SQLite sessions, email invites, admin console
- Real email/password login backed by SQLite (better-sqlite3)
- HttpOnly cookie sessions with 8h sliding TTL
- Admin role: invite users via Mailgun magic-link, manage roles/status
- Per-user One2Edit username mapping for job filtering
- Self-service forgot-password / reset-password via email
- Admin console (admin.html) with user table, invite modal, row actions
- New pages: change-password, forgot-password, reset-password, accept-invite
- Gated /api proxy: requires valid session, anti-hijack sessionId check
- Bootstrap initial admins from INITIAL_ADMINS env var on first boot
- Remove Oliver login button, SSO buttons, and legacy api.js/login.js
- deploy.sh: add build-essential (for native module), npm install, data dir
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-05-05 11:26:40 +01:00 |
|
Vadym Samoilenko
|
8092b3e70d
|
Apply Live_v1 update: search/filter, auto-refresh, timeout handling
- dashboard.js: add search, workflow filter, result count, auto-refresh
every 60s (pauses on hidden tab), formatLocalDate, STEP_LABELS,
Final Review badge, getSession/redirectToLogin helpers
- server.js: upstream timeout (30s default), IS_PROD flag, logProxyParams
helper (masks username in prod), 502+CORS on proxy errors, attachTimeout
- auth.js: named constants SESSION_CLIENT_ID/USER_INFO_CLIENT_ID
- dashboard.html: search/filter UI controls, Favicon_logo.png
- login.html, editor.html: switch favicon to Favicon_logo.png
- styles.css: updated stylesheet from Live_v1
- Images/Favicon_logo.png: new favicon asset
- package.json: add engines node>=18
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-05-05 10:56:56 +01:00 |
|