firebreak/web/app
ZTatman 8b7f2664d0 refactor(web): expose app settings as required/optional FastAPI deps
Mirror the session.py dependency trio: current_app_settings (honest
optional accessor), get_app_settings (required; raises 500 if reached
unconfigured), and set_app_settings (single write path). Middleware reads
through the accessor instead of poking app.state directly.

get_app_settings takes request and calls current_app_settings internally
rather than declaring it as a sub-Depends — a Depends param typed with a
TYPE_CHECKING-only forward ref makes FastAPI drop the marker and treat it
as a query param.
2026-06-10 17:03:10 -04:00
..
auth feat(web): setup wizard, settings page, Firebreak rename (#15) 2026-06-08 14:56:27 -04:00
models feat(web): setup wizard, settings page, Firebreak rename (#15) 2026-06-08 14:56:27 -04:00
routers feat(web): setup wizard, settings page, Firebreak rename (#15) 2026-06-08 14:56:27 -04:00
static style(web): design token system + Firebreak branding pass 2026-06-10 17:03:10 -04:00
templates style(web): design token system + Firebreak branding pass 2026-06-10 17:03:10 -04:00
__init__.py Add FastAPI web service with async SQLAlchemy and Docker (#10) 2026-04-24 16:03:54 -04:00
config.py refactor(web): expose app settings as required/optional FastAPI deps 2026-06-10 17:03:10 -04:00
database.py Add FastAPI web service with async SQLAlchemy and Docker (#10) 2026-04-24 16:03:54 -04:00
deps.py feat(web): OAuth CSRF protection, refactor, and cleanup (#11) 2026-05-15 15:18:52 -04:00
main.py feat(web): setup wizard, settings page, Firebreak rename (#15) 2026-06-08 14:56:27 -04:00
middleware.py refactor(web): expose app settings as required/optional FastAPI deps 2026-06-10 17:03:10 -04:00
templating.py feat(web): setup wizard, settings page, Firebreak rename (#15) 2026-06-08 14:56:27 -04:00