- Security-Header (CSP, nosniff, X-Frame-Options, Referrer-/Permissions-Policy)
- HSTS nur bei HTTPS und ohne includeSubDomains
- echtes 404 für dateiartige Pfade wie /.env statt SPA-Fallback
- API-Doku nur mit ENABLE_API_DOCS=true
- API-Requests über 1 MiB werden mit 413 abgelehnt, auch bei Chunked-Upload
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Tabellen users, sessions, login_attempts (Migration 0002)
- UTCDateTime speichert UTC in SQLite und liefert aware datetimes
- Tests legen das Schema über die echten Migrationen an
- Test prüft, dass Migrationen und Modelle übereinstimmen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- GET /api/health prüft die Datenbankverbindung
- SQLite im WAL-Modus unter /data/app.db
- Auslieferung des gebauten Frontends mit SPA-Fallback
- leere Basis-Migration, Tests mit pytest
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>