Commit Graph

5 Commits

Author SHA1 Message Date
e381b615d6 Add version chip (v0.1.0) + changelog
- version.py: __version__ = 0.1.0 + structured CHANGELOG (newest first).
- footer version chip on every page (base.html) links to /changelog.
- /changelog page renders release notes; CHANGELOG.md mirrors it.
- 0.1.0 captures the storage/SQLite/settings/suggestions/backup work.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-06 16:55:25 -05:00
dc9717a59b Fix /month 500: malformed Jinja in month.html budget total
budgeted_by_cat.values( | money|sum)  ->  budgeted_by_cat.values()|sum|money
Pre-existing template syntax error, unrelated to storage.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-06 16:44:58 -05:00
74d5e196c7 Add in-app Settings page for secrets; move Gmail creds out of source
- settings.py: JSON-on-volume store with env fallback; secrets never rendered.
- /settings page (⚙️ in nav) to set Gmail address + app password + reminder prefs;
  password fields are write-only (blank keeps existing).
- reminders.py reads Gmail creds from Settings instead of a hardcoded password
  (resolves #2 in code — note the old password is still in git history; rotate it).
- mac_notification no longer crashes off-macOS; FLASK_DEBUG gates debug (#7).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-06 16:38:20 -05:00
be74ca1eb7 Harden JSON storage (atomic writes + crash-safe loads) + suggestions lightbulb
- storage.py: atomic save_json (temp+fsync+os.replace) and load_json that
  survives missing/corrupt files (moves corrupt aside). Closes #11/#12.
- route all data modules + app.py helpers through storage (closes #31 core);
  fixes mutable DEFAULT_FUNDS/DEFAULT_CARS return (#23).
- gunicorn --workers 1 --threads 4 to remove the write race (#13); strip
  Dockerfile template scaffolding (#40).
- base.html: 💡 suggestions link in the shared nav (shows on every page).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-06 16:34:06 -05:00
Bonna
fa3c030b36 Initial commit — Moon Household Budget 2026-06-06 14:22:57 -05:00