Commit Graph
4 Commits
Author SHA1 Message Date
Gabriel20xxandClaude Sonnet 5 c09957189f Add shared_backend.authproxy: FastAPI AuthGuard-proxy engine
Extracted from three near-identical bespoke implementations (Heretic,
HordeWorker, InfiniteVideo), each ~800-1000 lines hand-rolling the same
status/setup/login/logout/TOTP/admin-user-CRUD proxy around AuthClient.
build_auth_router(get_client, get_store) returns a ready-to-mount
APIRouter matching shared/backend/auth (Go)'s Service response shapes.
Gated behind an optional `fastapi` extra so the rest of this
framework-agnostic package is unaffected. 18 new tests, including a
regression test for a real bug this had (request models nested inside
build_auth_router silently broke under `from __future__ import
annotations`, misrouting every JSON body as a missing query param).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-13 21:27:54 +02:00
Gabriel20xx dfae1cb572 Bump Go and Python package release to 0.1.1
Publish Go package / Publish shared Go module (push) Successful in 57s
Publish npm packages / Publish shared npm packages (push) Failing after 39s
Publish Python package / Publish shared Python package (push) Successful in 12s
2026-08-06 12:12:04 +02:00
Gabriel20xx fbbdab49bc Add lint and test workflows
Tests / Test (Go) (push) Successful in 1m46s
Tests / Test (Python) (push) Successful in 14s
Lint / Lint (Go) (push) Successful in 21s
Lint / Lint (Python) (push) Successful in 10s
Tests / Test (Node/Svelte) (push) Successful in 12s
Lint / Lint (Node/Svelte) (push) Successful in 40s
2026-08-04 15:23:36 +02:00
Gabriel20xx 838a97d344 Add initial shared code packages 2026-08-04 15:17:15 +02:00