firebreak/web/app
ZTatman e3ead49f13 refactor(web): add Forgejo service + token encryption modules
Centralize all Forgejo HTTP in app/services/forgejo.py (get/post +
authorize_url/exchange_code/fetch_user, typed ForgejoError, defensive
base-URL join). Centralize credential encryption in app/auth/tokens.py
(decrypt_pat/set_pat, set_client_secret/decrypt_client_secret) so the
get_fernet()+crypto+column pattern no longer leaks into routers.

auth/settings/setup now delegate to these modules; the duplicated
client-secret encrypt block and per-call httpx clients are gone.
2026-06-10 17:03:10 -04:00
..
auth refactor(web): add Forgejo service + token encryption modules 2026-06-10 17:03:10 -04:00
models feat(web): setup wizard, settings page, Firebreak rename (#15) 2026-06-08 14:56:27 -04:00
routers refactor(web): add Forgejo service + token encryption modules 2026-06-10 17:03:10 -04:00
services refactor(web): add Forgejo service + token encryption modules 2026-06-10 17:03:10 -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