Files
shared/packages/python-backend/README.md
T
Gabriel20xx da97fd4fb1
Lint / Lint (Node/Svelte) (push) Successful in 24s
Lint / Lint (Go) (push) Successful in 28s
Lint / Lint (Python) (push) Failing after 14s
Tests / Test (Node/Svelte) (push) Successful in 18s
Tests / Test (Go) (push) Successful in 25s
Tests / Test (Python) (push) Successful in 12s
feat(auth): implement TOTP setup and management
- Added TOTP support for two-factor authentication in the auth module.
- Introduced new types and interfaces for TOTP setup and token actions in the web UI.
- Created backend logic for generating and verifying TOTP secrets and tokens.
- Implemented user management features including role assignments and user CRUD operations.
- Enhanced UI components for managing users and TOTP settings.
- Added styles for optional labels and authentication reset links.
- Implemented reset code generation and validation for admin accounts.
2026-08-05 14:57:01 +02:00

725 B

gabriel20xx-shared-backend

Shared Python backend infrastructure for services using asyncpg:

  • validated DATABASE_URL and pool settings;
  • one async pool owner with ping and graceful shutdown;
  • bcrypt password and secure session-token helpers;
  • short-lived, one-time admin reset codes printed to the server console;
  • common account/session persistence for the single-admin or optional multi-user model.

HTTP framework adapters stay in each service. Install this package from the published index or directly from the SharedCode repository with a subdirectory install during development:

pip install "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode.git@v0.1.0#subdirectory=packages/python-backend"