curo1305
4a42ccee5a
feat(05-09): authenticated document preview via fetch + Blob URL
- Add fetchDocumentContent() to client.js: fetch with Bearer auth, 401 refresh
retry pattern, returns raw Response (not parsed JSON) for blob() calls
- Replace iframe :src=proxyUrl (unauthenticated) in DocumentPreviewModal.vue
with authenticated fetch → blob → URL.createObjectURL; loading/error states;
URL.revokeObjectURL on unmount to prevent memory leaks
- Replace window.open(rawUrl) in DocumentView.vue openPdf() with
fetchDocumentContent → blob → objectUrl → window.open; 60s auto-revoke
- Frontend build exits 0 with zero errors
- Closes T-05-09-04: no persistent unauthenticated content exposure
2026-05-30 11:18:01 +02:00
..
2026-05-30 11:18:01 +02:00
2026-05-22 08:53:28 +02:00
2026-05-22 08:53:28 +02:00
2026-05-29 08:05:59 +02:00
2026-05-22 08:53:28 +02:00
2026-05-22 08:53:28 +02:00
2026-05-29 08:12:36 +02:00
2026-05-28 17:10:52 +02:00