Commit Graph

16 Commits

Author SHA1 Message Date
Alan Grainger 6ae80569ff Add nostore to upload healthcheck and fix double-sort 2026-10-20 09:39:37 +13:00
Alan Grainger 5cddddd9f7 Change default download filenames to anonymised hash 2026-10-08 10:31:35 +13:00
Alan Grainger 9e6c00da35 Move static assets to shared location 2026-10-06 09:28:53 +13:00
Alan Grainger 255260ccb3 Require Immich 3.x; code cleanup 2026-10-06 09:23:57 +13:00
Alan Grainger d03a77f691 Extract @ipp/core npm workspace package 2026-10-05 15:55:18 +13:00
Alan Grainger bbc23b6250 Move attachmentDisposition to filename.ts 2026-10-05 09:21:48 +13:00
Alan Grainger f8b7776bc4 Merge pull request #295 from adriandlam/fix/content-disposition-encoding 2026-10-05 09:20:32 +13:00
Alan Grainger 0ae17abdc0 Tidy up WebP download filename fix #297 2026-10-05 09:12:34 +13:00
opencode 2a99258278 Fix download file extensions when Immich serves WebP previews
With maxDownloadQuality=preview and Immich generating WebP previews, the
zip entries and per-asset downloads were named .jpg while carrying WebP
bytes. Previews, converted fullsize images and transcodes follow the
server's image settings, so derive the extension from the upstream
content-type for every non-/original endpoint, via a shared
servedMimeFrom() in gallery/sizing.ts.
2026-10-05 09:12:34 +13:00
Adrian Lam 930d990580 Percent-encode commas in download filenames
encodeURI leaves , ; and other reserved characters raw in the RFC 5987
filename* value. A comma in an album title ("Yellow Aster Butte, WA")
makes Chrome see two Content-Disposition headers and fail the download
with ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION. Single-asset
downloads had the same bug for original filenames with a comma.

Both call sites now share attachmentDisposition(), which uses
encodeURIComponent plus the attr-char exclusions ' ( ) *.
2026-10-03 01:53:48 -04:00
Alan Grainger 5884e5afc9 Remove buffering for single downloads #94 2026-09-05 06:12:54 +12:00
Alan Grainger 24e8228d9f Fix #288 IPP reads from NAS at LAN speed and feeds user at a much slower speed, causing its buffer to overflow 2026-09-03 15:40:51 +12:00
Alan Grainger 2a5580e5a2 #281 refinements: transcoded filename extensions, allowDownload:2 caveats in docs 2026-08-20 07:35:49 +12:00
mFIND 72ae93ad9d Issue #239 fix 2026-08-14 16:47:13 +02:00
Alan Grainger 00da9018cf #162 #258 Serve fullsize image on zoom (configurable) 2026-06-30 13:01:54 +12:00
Alan Grainger e43b57d644 Refactor to TypeScript ES modules and add metadata sidebar 2026-06-04 07:40:52 +12:00