10 Commits
Author SHA1 Message Date
derekcandClaude Opus 5.5 4b7451f8e2 chore(deps): bump fastapi 0.143.0 → 0.163.1, starlette 1.7.0 → 1.10.0
FastAPI 0.145–0.162 changed form/file/query parsing, rejects explicit JSON
null on non-nullable fields (0.151) and removed **extra on param functions
(0.155). The app uses only JSON bodies, and every field the frontend sends
as null is already Optional, so no code changes were needed. Verified with
the full timer lifecycle, WS broadcast and TV dashboard smoke test.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-16 23:35:19 -08:00
derekcandClaude Opus 5.5 b37b5d08c1 chore(deps): bump backend patch/minor group
- pydantic 2.14.1 → 2.14.3, pydantic-settings 2.15.0 → 2.16.3
- sqlalchemy 2.1.4 → 2.1.9
- anyio 4.15.1 → 4.16.0, alembic 1.20.0 → 1.20.1, PyMySQL 1.2.3 → 1.2.4
- email-validator 2.3.0 → 2.4.0, python-multipart 0.0.32 → 0.0.34

No code changes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-16 23:33:04 -08:00
derekcandClaude Opus 5.5 954161ba8f v2026.10: monthly dependency update, switch to calendar versioning
- Frontend: vue 3.5.43, vite 8.3.4, @vitejs/plugin-vue 6.0.10, pinia 4.0.3
  (+ @vue/devtools-api 8.2.1 peer), vue-router 5.4.0; npm audit 6 -> 0
- package.json "type": "module"; vite.config.js resolves @ via import.meta.url
- Backend: fastapi 0.143.0, sqlalchemy 2.1.4, PyMySQL 1.2.3, aiomysql 0.3.2,
  uvicorn 0.54.0, httpx 0.28.1, pydantic 2.14.1, pydantic-settings 2.15.0,
  PyJWT 2.15.1, cryptography 50.0.2, email-validator 2.3.0
- Settings: class Config -> SettingsConfigDict (Pydantic V2 deprecation)
- python 3.12.15-slim base image
- Releases now tagged vYYYY.MM (README, Release-Notes/v2026.10.md)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-12 22:59:03 -07:00
derekcandClaude Opus 5.5 eed5a8fb12 Fix LOW findings from 2026-09-24 maintenance review
- Frontend on nginx-unprivileged (non-root, container port 8080)
- Replace unmaintained passlib with bcrypt 5.0.0 (hash-compatible)
- Pass DOCS_ENABLED through to the backend container
- Raise db mem_limit to 768m for MySQL 8.4

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-25 00:01:44 -07:00
derekcandClaude Opus 5.5 5a2510059d Fix timer action 500s after FastAPI upgrade
FastAPI 0.141 raises when response serialization hits a lazy-load
(current_block.subject.options) in async context, where 0.115 silently
skipped it. Eager-load Subject.options in session get/timer and the TV
dashboard queries. Pin pydantic 2.13.5.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-24 23:51:10 -07:00
derekcandClaude Opus 5.5 3170c7f4eb Fix HIGH findings from 2026-09-24 maintenance review
- nginx: resolve real client IP through Cloudflare -> NPM so rate limits
  are per client instead of shared across all users
- Bump vulnerable Python deps (PyJWT auth bypass, anyio, starlette via
  fastapi 0.141.1, cryptography, python-multipart, Mako); pin PyMySQL
  1.1.2 since 1.2.x breaks SQLAlchemy 2.0.35's aiomysql ping
- Backend: python 3.12.14-slim, apt-get upgrade, drop unneeded build deps
- Frontend: nginx 1.30.5-alpine (stable) + apk upgrade
- MySQL 8.0.40 (EOL) -> 8.4.11 LTS; add healthcheck start_period so
  slow startups (e.g. data upgrades) don't abort dependent services
- Add maintenance review report

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-24 23:38:16 -07:00
derekcandClaude Sonnet 4.6 090ebc109e Add Ntfy push notifications for super admin events
Sends alerts to a configurable Ntfy topic on: new user registration,
account lockout after 5 failed login attempts, and login attempts on an
already-locked account. Fire-and-forget — never raises if Ntfy is down.

Configure via NTFY_URL and NTFY_TOKEN in .env.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-03-22 01:04:12 -07:00
derekcandClaude Sonnet 4.6 3022bc328b Security hardening: go-live review fixes
- TV tokens upgraded from 4 to 6 digits; Regen Token button in Admin
- Nginx rate limiting on TV dashboard and WebSocket endpoints
- Login lockout after 5 failed attempts (15 min); clears on admin password reset
- HSTS header added; CSP unsafe-inline removed from script-src; CORS restricted to explicit methods/headers
- Dependency CVE fixes: PyJWT 2.12.0, aiomysql 0.3.0, cryptography 46.0.5, python-multipart 0.0.22
- datetime.utcnow() replaced with datetime.now(timezone.utc) throughout
- SQL identifier whitelist for startup migration queries
- README updated: security notes section, lockout docs, token regen, NPM proxy guidance

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-03-22 00:00:14 -07:00
derekcandClaude Sonnet 4.6 781e179090 Fix backend deps and apply theme to all Cancel buttons
- Pin bcrypt==3.2.2 to fix passlib bcrypt backend detection error
- Add email-validator==2.2.0 required by Pydantic EmailStr
- Add btn-sm class to Cancel buttons in Admin, Dashboard, Log, Schedule views

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-02-27 23:24:39 -08:00
derekcandClaude Sonnet 4.6 417b3adfe8 Initial project scaffold
Full-stack homeschool web app with FastAPI backend, Vue 3 frontend,
MySQL database, and Docker Compose orchestration. Includes JWT auth,
WebSocket real-time TV dashboard, schedule builder, activity logging,
and multi-child support.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-02-27 22:56:56 -08:00