Commit Graph

38 Commits

Author SHA1 Message Date
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 16ba140766 Size motion photo clip to the still and make the toggle sticky #286 2026-09-17 21:45:55 +12:00
Alan Grainger c3dccf4d25 Merge pull request #286 from trecoool/feat/motion-photos 2026-09-17 21:34:22 +12:00
Alan Grainger 5884e5afc9 Remove buffering for single downloads #94 2026-09-05 06:12:54 +12:00
Alan Grainger 3701d4e92c Add no-store cache header for zip downloads 2026-09-04 23:27:28 +12:00
Alan Grainger 9c72829c4f #289 stream downloads rather than staging to temp disk 2026-09-04 11:20:45 +12:00
Alan Grainger 02b30e0176 Fix #260 empty shares when Postgres timezone is not UTC 2026-09-03 15:49:28 +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
trecoool 4021c66cec #200 motion photo (Live Photo) support
Show a badge on the gallery thumbnail and a lightbox toggle that plays the
photo's clip over the still, matching Immich's own viewer.

The clip is a hidden Immich asset, but the existing share key already
authorises it - checkSharedLinkAccess whitelists each shared asset's
livePhotoVideoId - so no new upstream access is involved. The video route
accepts a clip id only when a shared still points at it.

Both enumeration paths already carry the field (AssetResponseDto for
individual shares, TimeBucketAssetResponseDto for album buckets), so album
shares cost no extra upstream requests.

Gated by ipp.motionPhotos (default true). The clip is preload="none" and is
only fetched when a visitor presses the toggle.
2026-08-24 14:35:28 +02:00
Alan Grainger 8c2c2219ce #284 release open fd on aborted download 2026-08-21 05:58:29 +12:00
Alan Grainger 2a5580e5a2 #281 refinements: transcoded filename extensions, allowDownload:2 caveats in docs 2026-08-20 07:35:49 +12:00
Alan Grainger a2776f9933 Merge PR #281: fall back to video playback for downloads on download-disabled shares 2026-08-20 07:31:59 +12:00
Alan Grainger 0cc1c759e9 #284 fix issue where aborted downloads are not cleaned up 2026-08-20 06:42:31 +12:00
mFIND 72ae93ad9d Issue #239 fix 2026-08-14 16:47:13 +02:00
Alan Grainger e1a968cb99 Fix case 2026-07-27 12:41:36 +12:00
Alan Grainger 55bd63e3f2 #272 Keep undated assets last regardless of album sort order 2026-07-27 12:27:03 +12:00
Alan Grainger f8c83bc1f4 #273 refinements: match Immich date display, fix timeline UTC parsing, rename timezone flag 2026-07-27 12:14:19 +12:00
Alan Grainger 4ba5c2eeee Merge pull request #273 from kylmp/exif-timezone
# Conflicts:
#	app/tests/assetMetadata.test.ts
2026-07-27 11:36:13 +12:00
Alan Grainger 74c09acc27 Fallback orientation calc for Immich 2.x 2026-07-27 11:27:16 +12:00
Alan Grainger fd42ab61da Use Immich's orientation-aware dimensions instead of exif dimensions 2026-07-27 09:53:05 +12:00
klymp 626f6a1a3a Fix exif info display resolution orientation 2026-07-26 17:20:54 +02:00
klymp 1533d3de6d Add date time with timezone offset option 2026-07-26 16:54:12 +02:00
Alan Grainger aa6183a95d Better error handling, and handling of numeric config options 2026-07-24 22:15:17 +12:00
Alan Grainger ca5d23c6d7 Add locale for expiry date 2026-07-17 14:58:33 +12:00
Alan Grainger c1e2d3c0e7 Merge branch 'pr-264' into #264-show-expiry
# Conflicts:
#	docs/configuration.md
2026-07-17 14:38:58 +12:00
Alan Grainger c2fcb81807 #265 add grouping by day as well as month 2026-07-17 14:27:51 +12:00
Alan Grainger 4e7af0ab57 #267 Add minimum Immich version to prevent this issue 2026-07-16 07:07:18 +12:00
Alan Grainger c371acbe43 Add logging for #267 2026-07-15 21:00:26 +12:00
lukasganster ed595cca0e test: add tests for expiry date option 2026-07-07 17:16:44 +02:00
Alan Grainger 00da9018cf #162 #258 Serve fullsize image on zoom (configurable) 2026-06-30 13:01:54 +12:00
Alan Grainger 494fbe36c7 Prepping for v3.0 release
Fetch album assets from timeline endpoint is the major change
2026-06-22 06:21:51 +12:00
Alan Grainger b40383e72e Clean up any broken staged downloads 2026-06-06 21:14:36 +12:00
Alan Grainger cefe2e81ff Refactor duplicated patterns into shared helpers 2026-06-05 12:46:35 +12:00
Alan Grainger c1b58011aa Add tests 2026-06-05 12:46:35 +12:00
Alan Grainger e43b57d644 Refactor to TypeScript ES modules and add metadata sidebar 2026-06-04 07:40:52 +12:00