Commit Graph

7 Commits

Author SHA1 Message Date
f7e704943e Add NextSnap PWA specification and implementation guide
Complete specification for NextSnap, an offline-first Progressive Web App for Nextcloud photo management. Includes 14 modules covering camera capture, upload queue, photo review, admin panel, and Docker deployment.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-06 23:32:05 -06:00
a6a55d37e6 Add .gitignore to exclude system and config files
Excludes bash history, SSH keys, cache directories, Claude Code files, Python artifacts, and application data files to keep the repository clean.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-06 17:19:32 -06:00
a5c6996219 Add PDF/HEIC/image upload support and improve receipt extraction
- Add backend image conversion endpoint (POST /api/convert-image) supporting
  PDF, HEIC, PNG, WebP via Pillow, PyMuPDF, and pillow-heif
- Add separate "Upload file" button in UI while keeping camera-first behavior
  for the photo area and + button
- Improve Haiku extraction prompt for hotel receipts (parenthesized total)
- Increase max image resolution from 1024px to 2048px for better OCR accuracy
- Add libheif-dev system dependency in Dockerfile

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 01:20:23 -06:00
fde6fcb724 Add project filter and zip export with photos
- Filter dropdown to display receipts by project
- Total banner updates to reflect filtered view
- Export produces a zip with Excel + receipt photos
- Photo filenames use project_date_amount_category format

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 00:11:58 -06:00
be2ac4eaf7 Add customer and project management with receipt association
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 23:55:05 -06:00
6e93b7f672 Add receipt extraction, manual crop, and UX improvements
- Add Claude Haiku vision integration to extract amount and date from
  receipt photos, re-reading on photo replacement
- Add manual crop overlay with draggable handles for receipt photos
- Open camera directly when tapping + to add new receipt
- Make add/edit modal scrollable on small screens
- Show "Tap to change photo" hint on uploaded photos
- Include api-key in Docker image for Anthropic API access

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 23:35:16 -06:00
9c35cc71e9 Add authentication and date picker to Receipt Manager
Add username/password login with session cookies, change-password modal,
and logout. All API endpoints require a valid session. Default credentials
(admin/admin) are auto-created on first run. Also add a date input field
to the receipt modal, defaulting to today but allowing the user to pick
any date.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 20:24:02 -06:00