fieldwitness/frontends/web/templates/admin
Aaron D. Lee a23a034838 Wire up auth, stego routes, and full web UI with login flow
Auth system:
- Copy auth.py from stegasoo, adapt DB path to ~/.soosef/auth/soosef.db
- Add setup/login/logout/recover/account routes
- Add admin user management routes (users, create, delete, reset)
- Full RBAC: admin_required and login_required decorators working

Stego routes (mounted directly in app.py):
- Generate credentials with QR code support
- Encode/decode/tools placeholder pages (full route migration is Phase 1b)
- Channel status API, capacity comparison API, download API

Support modules (copied verbatim from stegasoo):
- subprocess_stego.py: crash-safe subprocess isolation
- stego_worker.py: worker script for subprocess
- temp_storage.py: file-based temp storage with auto-expiry
- ssl_utils.py: self-signed cert generation

Templates and JS:
- All stegasoo templates copied to stego/ subdirectory
- Auth templates (login, setup, account, recover) at root
- Admin templates (users, settings)
- JS files: soosef.js (renamed from stegasoo.js), auth.js, generate.js

Verified: full login flow works (setup → login → authenticated routes)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 15:53:58 -04:00
..
password_reset.html Wire up auth, stego routes, and full web UI with login flow 2026-03-31 15:53:58 -04:00
settings.html Add core modules, web frontend, CLI, keystore, and fieldkit 2026-03-31 14:30:13 -04:00
user_created.html Wire up auth, stego routes, and full web UI with login flow 2026-03-31 15:53:58 -04:00
user_new.html Wire up auth, stego routes, and full web UI with login flow 2026-03-31 15:53:58 -04:00
users.html Add core modules, web frontend, CLI, keystore, and fieldkit 2026-03-31 14:30:13 -04:00