Commit Graph
10 Commits
Author SHA1 Message Date
derekcandClaude Opus 5.5 8f53de040e chore(deps): bump fastapi 0.162.0 → 0.165.0
Adds opt-in dependency concurrency limits (0.163), request body size
limits (0.164) and form parsing limits (0.165). All default to off, so
behavior is unchanged. Starlette stays at 1.10.0. No code changes needed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-22 18:05:53 -08:00
derekcandClaude Opus 5.5 99d8a452e8 chore(deps): bump sqlalchemy 2.1.6 → 2.1.9, pydantic 2.14.1 → 2.14.4, pymysql 1.2.3 → 1.2.4
Patch releases only; pydantic-core 2.50.1 → 2.50.5 comes with pydantic.
No code changes needed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-22 18:04:18 -08:00
derekcandClaude Opus 5.5 2382289484 Major dependency upgrades: Python 3.14, FastAPI, SQLAlchemy 2.1, PyJWT, MySQL 8.4
- Python base image 3.12-slim -> 3.14-slim
- fastapi 0.136.3 -> 0.162.0, sqlalchemy 2.0.50 -> 2.1.6
- Replace unmaintained python-jose with PyJWT 2.15.1; tokens issued by
  python-jose remain valid, so existing sessions are not logged out
- MySQL 8.0.46 (EOL) -> 8.4.13 LTS; in-place data dictionary upgrade runs
  automatically on first start

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 23:02:45 -07:00
derekcandClaude Opus 5.5 8f32a395a1 Bump low-risk dependencies: uvicorn, pymysql, cryptography, pydantic, nginx, Chart.js
- uvicorn 0.54.0, pymysql 1.2.3, cryptography 50.0.2, pydantic 2.14.1
- nginx 1.30.6-alpine
- Chart.js CDN 4.6.1 with updated SRI hash; add missing SRI to summary.html

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 22:55:01 -07:00
derekcandClaude Sonnet 4.6 3e990cae7e Replace passlib with direct bcrypt calls, drop passlib dependency
passlib is unmaintained and incompatible with bcrypt 5.0.0 due to its
internal wrap-bug detection test exceeding bcrypt's 72-byte password limit.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-25 01:41:27 -07:00
derekcandClaude Sonnet 4.6 b8d2910d7c Bump all Python dependencies to latest versions
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-25 01:38:44 -07:00
derekcandClaude Sonnet 4.6 7cd2dfb710 Add ntfy push notifications for security-relevant events
Sends alerts on admin login, new registrations, user disable/delete, and
impersonation. NTFY_URL and NTFY_TOKEN are optional — leave blank to disable.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-03-23 23:01:13 -07:00
derekcandClaude Sonnet 4.6 392a48dfb9 Go-live hardening: server_tokens, resource limits, pinned images, CVE fixes
- Add server_tokens off to nginx (suppress version leakage)
- Add deploy.resources.limits to all containers (db: 512M, api: 256M, nginx: 64M)
- Pin image tags: mysql:8.0 → 8.0.45, nginx:alpine → 1.29.6-alpine
- Fix CVEs: cryptography 43.0.3 → 46.0.5 (HIGH), python-jose 3.3.0 → 3.4.0 (CRITICAL)
- Add .limit(500) to GET /api/flock and GET /api/admin/users

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-03-20 00:16:28 -07:00
derekcandClaude Sonnet 4.6 aa12648228 Add multi-user auth, admin panel, and timezone support; rename to Yolkbook
- Rename app from Eggtracker to Yolkbook throughout
- Add JWT-based authentication (python-jose, passlib/bcrypt)
- Add users table; all data tables gain user_id FK for full data isolation
- Super admin credentials sourced from ADMIN_USERNAME/ADMIN_PASSWORD env vars,
  synced on every startup; orphaned rows auto-assigned to admin post-migration
- Login page with self-registration; JWT stored in localStorage (30-day expiry)
- Admin panel (/admin): list users, reset passwords, disable/enable, delete,
  and impersonate (Login As) with Return to Admin banner
- Settings modal (gear icon in nav): timezone selector and change password
- Timezone stored per-user; stats date windows computed in user's timezone;
  date input setToday() respects user timezone via Intl API
- migrate_v2.sql for existing single-user installs
- Auto-migration adds timezone column to users on startup
- Updated README with full setup, auth, admin, and migration docs

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-03-17 23:19:29 -07:00
derekcandClaude Sonnet 4.6 492e1fd68f Initial commit
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-02-26 22:27:58 -08:00