Commit Graph

7 Commits

Author SHA1 Message Date
Reese Norris
895dbd8fc8 web: allow Instructor1+ access to airport editor
Move airport-editor HTML routes and validate API from ADM to I1+, matching
sweatbox. Config editor stays Administrator-only. Nav/dashboard use
CanAccessAirportEditor; PE tests cover I1 shell, nav, and validate-apt.
2026-07-27 18:53:44 -04:00
Reese Norris
7d4cdba6ae web: user dashboard self-service, authz realignment, session revalidation
- Account page: change password + soft-delete (optional hard-delete via env)
- Session revalidation + claims overlay on HTML and dual-accept API (KD-9)
- Authz: user editor SUP+, sweatbox I1+, config/airport ADM
- Fix pilot rating options: full scale for editors (no actor pilot ceiling)
- Refresh rejects inactive/suspended; DeleteUser for permanent self-delete
- Dashboard/nav as user home with Account + capability-gated tools
2026-07-27 18:36:41 -04:00
Reese Norris
d14dab8736 web: add site-wide dark mode with shared theme tokens
Bootstrap data-bs-theme + localStorage toggle in layout chrome; map
console CSS (users/sweatbox/airport editor) onto shared --ofs-console-*
tokens; swap OSM basemap for dark maps. Include PE and webjs coverage,
and the approved sweatbox TWRTrainer P2 command-parity design doc.
2026-07-27 17:59:01 -04:00
Reese Norris
34480db437 web: add /airport-editor shell with echo-download
Admin-only MPA shell with dual textareas and CSRF echo-download.
No server persistence; pure body echo. Map region inert without JS.
2026-07-23 19:00:42 -04:00
Reese Norris
d9084f866e web: boring-web sweatbox instructor page
Server-rendered Administrator instructor UI at /sweatbox with CSRF forms,
flash PRG, FSD service HTTP proxy, and disabled/unavailable messaging when
SWEATBOX_ENABLED is off or the control plane is unreachable. No JS required
for the primary path.
2026-07-17 20:57:34 -04:00
Reese Norris
ef1a883b48 web: PE baseline — form login, signed session, CSRF, gates, drop jQuery
Stateless session cookie; dual-accept API auth; no-JS login path.
2026-07-16 12:37:51 -04:00
Reese Norris
65ec62a738 refactor: internal/web importable; cmd/openfsd-web; Docker embed-safe
Move web package; no init panic; Dockerfile_web builds cmd/openfsd-web as fsdweb.
2026-07-16 12:37:47 -04:00