- Separate admin login (ADMIN_USERNAME/ADMIN_PASSWORD) with its own JWT,
no longer a seeded user account; lockout after 5 failed attempts
- Admin panel tabs: Users, Notifications, Backups, Reset
- Ntfy settings moved from .env/compose into admin_settings (token encrypted)
- Scheduled and on-demand mariadb-dump backups to NFS volume, with
restore (entries only or all) and retention pruning
- Reset all entries, guarded by an automatic safety backup
- Remove user impersonation and the admin link in the user nav
- Login page falls back to admin login; nginx sends Cache-Control: no-cache
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Same 8.4 LTS series. The server ran its automatic data dictionary
upgrade (80411 → 80413) on first start.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bump fastapi (starlette 1.8.0), uvicorn, python-multipart, pydantic-settings,
pytz, email-validator, and slowapi. Move nginx and mysql image pins to
current digests. Rename deprecated HTTP_422 status constant.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- nginx: add HSTS (max-age=31536000) and gzip for text/css/js/json
- entries: add limit/offset query params (default 200, max 1000)
- Ntfy: wire NTFY_URL/NTFY_TOKEN through env; notify on startup, new
registration, admin login, user disable, and user delete
- httpx==0.28.1 added for async Ntfy HTTP calls
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Remove pool_pre_ping=True to fix startup crash caused by aiomysql 0.2.0
async adapter requiring a reconnect argument SQLAlchemy does not pass.
Add slowapi rate limiting, structured logging, CORS config, backend
health check, and nginx security headers.
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>