BillTracker/db
null a9cdf846fe v0.19.2: fix legacy DB migration login failure + security hardening
CRITICAL fix: Users upgrading from pre-migration-tracking databases
(now get 'invalid username/password' because schema_migrations table
doesn't exist. Added handleLegacyDatabase() and
reconcileLegacyMigrations() to detect and reconcile legacy DBs.

Security fixes:
- Path traversal: replaced sanitizePath() with ALLOWED_FILES allowlist
- Public /about bypass: added admin route guard in App.jsx
- Sensitive info exposure: expanded redactSensitiveContent() patterns
- Error message path leaks: generic error messages only
- Race condition: wrapped in db.transaction() in server.js
- Password validation: INIT_REGULAR_PASS min 8 chars with process.exit(1)

All verified by Bishop (build + runtime) and Private_Hudson (security).
2026-05-09 18:25:25 -05:00
..
.restore-1777763192032-96266b49.sqlite-shm initial commit 2026-05-03 19:51:57 -05:00
.restore-1777763192032-96266b49.sqlite-wal initial commit 2026-05-03 19:51:57 -05:00
database.js v0.19.2: fix legacy DB migration login failure + security hardening 2026-05-09 18:25:25 -05:00
schema.sql push 2026-05-04 23:34:24 -05:00