Commit Graph

9 Commits

Author SHA1 Message Date
James 99b39ee737 Add download attribute to download link to prevent inline viewing 2026-02-12 17:29:48 -05:00
James f59c12e25c Add download link with pretty filename from document title
- servePDF now supports ?download=1 query param
- Looks up document title and uses it as the Content-Disposition filename
- Download button on document page triggers actual download (not tab open)
- Added sanitizeFilename helper for safe Content-Disposition values
2026-02-12 17:27:12 -05:00
James 1b49dac87f Document page: two-row layout - details|summary+notes top, OCR|PDF bottom 2026-02-10 04:14:51 -05:00
James a52ab6e20d Document details: two-column layout (category/vendor/amount | date/processed/filename) 2026-02-10 04:06:59 -05:00
James 9c9bd5e881 Document details: inline category dropdown, formatted processed_at timestamp 2026-02-10 04:00:11 -05:00
James 4a0e9648ac Move category edit to document page (inline dropdown), revert dashboard to static badges 2026-02-10 03:55:27 -05:00
James a77a31f4c9 Fix share links: use external URL (docs.jongsma.me), fix copy button, add copy on existing shares 2026-02-09 12:09:16 -05:00
James 9f0bac5783 Add document sharing with expiring links
- Share table with random tokens and optional expiry (default 7 days)
- Public /s/{token} endpoint serves PDF directly
- Share/revoke UI on document page with copy-to-clipboard
- Caddy reverse proxy configured at docs.jongsma.me
2026-02-09 11:28:21 -05:00
James 00d0b0a0d7 Initial commit 2026-02-04 13:37:26 -05:00