MyMidas/frontend
megaproxy 26e2a055db Add AI receipt scanning with OCR pipeline and debug toggle
- OCR pipeline: Tesseract (images) + pdfplumber (PDFs) → AI text prompt →
  rule-based regex fallback; works with any text model, not just vision models
- Scan Receipt toolbar button parses a photo and pre-fills the transaction form;
  receipt image is automatically attached to the created transaction
- AI settings page: provider, API key (AES-256-GCM encrypted), custom URL,
  model, and per-user debug toggle that gates the OCR/AI debug panel
- Fix CSRF cookie secure=False so HTTP deployments work; add 7-day max_age
- Fix attachment_refs missing from _to_response (attachments never appeared in UI)
- Fix multipart boundary lost when Content-Type was set manually in axios calls
- nginx: raise client_max_body_size to 15 MB, add 120s proxy timeout for OCR
- Migration 0005: add ai_debug boolean to users table
- Update README and CLAUDE.md with AI scanning docs and architecture notes

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 22:07:38 +00:00
..
src Add AI receipt scanning with OCR pipeline and debug toggle 2026-04-22 22:07:38 +00:00
Dockerfile Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
index.html Rebrand to MyMidas 2026-04-21 12:11:52 +00:00
nginx.conf Add AI receipt scanning with OCR pipeline and debug toggle 2026-04-22 22:07:38 +00:00
package-lock.json Add Test Connection button to AI settings with plain-English error messages 2026-04-22 19:28:20 +00:00
package.json Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
postcss.config.js Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
tailwind.config.ts Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
tsconfig.json Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
tsconfig.node.json Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
vite.config.ts Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00