Files
shared/backend
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
..
2026-08-04 15:17:15 +02:00
2026-08-04 15:17:15 +02:00
2026-08-04 15:17:15 +02:00
2026-08-04 15:17:15 +02:00
2026-08-04 15:17:15 +02:00
2026-08-04 15:17:15 +02:00

Shared Go backend packages

The Go packages under this directory hold infrastructure shared by the services, not application-specific SQL or HTTP handlers.

  • config — environment string, required value, boolean, integer, and duration helpers.
  • postgres — validated DATABASE_URL configuration, pgxpool creation/ping, transaction wrapper, and PostgreSQL error classification.
  • auth — shared bcrypt policy, secure token generation/hashing, account/session schema, and account/session persistence.
  • migrate — embedded filesystem adapter for Goose migrations.

Run go test ./... and go vet ./... from this directory. The module path is repos.gfranz.ch/Gabriel20xx/SharedCode/backend; change it if the SharedCode folder is hosted under a different repository path.

Application-specific table definitions and HTTP behavior stay in the service. That lets a service reuse reliable connection/auth plumbing without coupling its domain model to another project.