BillTracker/routes
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
..
about.js push 2026-05-04 20:12:57 -05:00
aboutAdmin.js v0.19.2: fix legacy DB migration login failure + security hardening 2026-05-09 18:25:25 -05:00
admin.js push 2026-05-09 13:03:36 -05:00
analytics.js push 2026-05-09 13:03:36 -05:00
auth.js push 2026-05-09 13:03:36 -05:00
authLogin.js push 2026-05-09 13:03:36 -05:00
authOidc.js initial commit 2026-05-03 19:51:57 -05:00
bills.js push 2026-05-09 13:03:36 -05:00
calendar.js push 2026-05-09 13:03:36 -05:00
categories.js push 2026-05-09 13:03:36 -05:00
export.js push 2026-05-09 13:03:36 -05:00
import.js push 2026-05-09 13:03:36 -05:00
monthly-starting-amounts.js push 2026-05-04 20:12:57 -05:00
notifications.js initial commit 2026-05-03 19:51:57 -05:00
payments.js push 2026-05-09 13:03:36 -05:00
profile.js push 2026-05-09 13:03:36 -05:00
settings.js push 2026-05-09 13:03:36 -05:00
status.js initial commit 2026-05-03 19:51:57 -05:00
summary.js push 2026-05-04 20:12:57 -05:00
tracker.js push 2026-05-04 20:12:57 -05:00
user.js push 2026-05-09 13:03:36 -05:00
version.js initial commit 2026-05-03 19:51:57 -05:00