Commit Graph
13 Commits
Author SHA1 Message Date
derekcandClaude Opus 5.5 d357d6b885 Add 2026.10 release notes and update README
- release-notes/2026.10.md: version changes, code/config changes,
  upgrade and rollback steps, and test results for the October 2026
  dependency upgrades
- README: add Upgrading section, component versions, Other purchases
  feature, session token row in Security; fix API docs location
  (not exposed via nginx); add ntfy.py, favicon.svg, release-notes/
  to project structure

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 23:20:04 -07: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 Sonnet 4.6 883bb1ab12 Add ntfy push notifications to Features section of README
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-03-23 23:15:09 -07:00
derekcandClaude Sonnet 4.6 2d3ad3a06c Add login lockout with ntfy alerts and update docs
- Lock accounts for 15 minutes after 5 consecutive failed login attempts
- Send urgent ntfy notification when an account is locked
- Send high-priority ntfy notification on login attempt against a locked account
- Auto-reset lockout on expiry; reset counter on successful login
- Add v2.4 migration for failed_login_attempts and locked_until columns
- Add ALLOWED_ORIGINS and SECURE_COOKIES to .env.example
- Update README: lockout row in security table, new ntfy events

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-03-23 23:11:30 -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 4172b63dc2 Add footer with CHNS.tech credit and Buy Me a Coffee button
Adds a green footer (matching nav colour) to all authenticated pages
with a "Created by: CHNS.tech" link and a styled BMC button. CSP updated
to allow buymeacoffee CDN domains.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-03-23 22:50:30 -07:00
derekcandClaude Sonnet 4.6 dcfc605579 Update README: auth, security, env vars, project structure
- Fix authentication section: JWT now in HttpOnly cookie, not localStorage
- Fix API section: session cookie auth, no Authorization header needed
- Add SECURE_COOKIES and ALLOWED_ORIGINS to setup instructions
- Add Security section documenting headers, CORS, rate limiting, etc.
- Document server-side impersonation (no admin token in browser)
- Add logout endpoint to API table
- Update project structure with login.js
- Note HTTPS reverse proxy requirement

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-03-20 00:18:54 -07:00
derekcandClaude Sonnet 4.6 b660263f30 Merge History into Log Eggs page; update dashboard card order and colors
- Removed standalone History page (history.html); full collection history
  (date filter, edit, delete, totals footer) is now embedded in the Log
  Eggs page below the log form
- Removed History nav link from all pages
- Reordered dashboard stat cards: egg counts → averages → Flock Size →
  cost cards
- Egg count and average cards now use green; Flock Size card uses orange
- Updated README to reflect removed History page, merged log/history
  feature, dashboard card changes, and project structure

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-03-17 23:43:27 -07:00
derekcandClaude Sonnet 4.6 4d94e716e7 Add egg emoji to README title
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-03-17 23:21:20 -07:00
derekcandClaude Sonnet 4.6 58c138d647 Update clone URL to yolkbook repo name
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-03-17 23:20:21 -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 ceb0780663 Add README
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-02-26 22:29:55 -08:00
derekc 4387f6df92 Initial commit 2026-02-26 22:25:21 -08:00