Commit Graph

175 Commits

Author SHA1 Message Date
Alan Grainger b8f6b7340a 2.1.0 2026-05-28 09:42:31 +08:00
Alan Grainger 95957b7d37 Fix #230 slug album not downloading correctly 2026-05-28 09:35:03 +08:00
Alan Grainger 062c7bef19 Update archiver code to match Immich's code 2026-05-28 08:59:25 +08:00
Alan Grainger 98b52b673c Update archive code to match Immich's code 2026-05-28 08:11:19 +08:00
Alan Grainger 79346d9bc7 Fix #234 remove non-functional publicBaseUrl variable
This should presumably not impact anyone. As mentioned in #234, Node lowercases incoming header keys, so the camelCase lookup `req.headers.publicBaseUrl` never matched any request. The header override has been dead code since it was added — operators relying on it would have silently been falling back to the Host header.

If we add it back in, will need to do it in a way that solves for cache-poisoning.
2026-05-28 07:30:29 +08:00
MDornacher 6a2274df8e fix: use SameSite=Lax for session cookie 2026-05-27 19:36:39 +02:00
Alan Grainger 9519294733 2.0.3 2026-05-27 22:34:54 +08:00
Alan Grainger 236620f1f0 #231 fix missing file extension when original file has no extension 2026-05-27 22:34:30 +08:00
Alan Grainger 9c20164b0f Mobile back button should close lightbox 2026-05-26 13:38:32 +08:00
Alan Grainger 32f209f1cd #227 add fullscreen button 2026-05-26 13:18:57 +08:00
Alan Grainger 27c89ba1cc 2.0.2 2026-05-26 12:55:57 +08:00
Alan Grainger 3b5141b9df Revert default setting 2026-05-26 12:13:12 +08:00
Alan Grainger cbcc607c4b Add timeout for image fetch 2026-05-26 11:48:45 +08:00
Alan Grainger 29ca716ad8 Lower default concurrency 2026-05-26 11:29:57 +08:00
Alan Grainger 4bf088d486 Merge pull request #218 from ahyattdev/limit-concurrent-download
Limit concurrent downloads and retry failed downloads
2026-05-26 11:22:27 +08:00
Alan Grainger 6760c6e49b Add LRU eviction 2026-05-26 11:13:26 +08:00
Andrew Hyatt 83cc0f4bb6 Cache share and album metadata for 2 minutes.
Fixes 5 second loading time for every image that I experienced with an album of 2,500 photos.
2026-05-25 22:20:30 -04:00
Andrew Hyatt 0f88414730 Limit concurrent downloads and retry failed downloads
These optimizations both help large albums where many simultaneous downloads will overwhelm Immich. Also with larger downloads, a transient network error is more likely to happen to at least one asset, so three total attempts will be made per asset.

If download fails after retries, the entire download will be aborted. This is to avoid silent failures where users may think their download is complete when assets may actually have been dropped.

The next optimization to make will be building the archive on disk instead of loading every image into memory (will fail for very large albums).
2026-05-25 16:44:18 -04:00
Alan Grainger 7a04fd6d3e #162 revert previous - fullsize Immich API appears to not yet be functional 2026-05-25 20:40:09 +08:00
Alan Grainger 04aa1d9dc9 #162 add support for fetching fullsize image 2026-05-25 20:14:59 +08:00
Alan Grainger d11091e844 2.0.1 2026-05-25 16:28:13 +08:00
Alan Grainger cd12f792a7 Fix #221 - single selection should not be a zip 2026-05-25 16:23:24 +08:00
Alan Grainger 349cf0061b #223 Fix lightbox buttons 2026-05-25 16:19:22 +08:00
Alan Grainger 7c4c1c4776 #224 Fix missing caption 2026-05-25 16:06:16 +08:00
Alan Grainger 5c169af78d Update config default to match Immich 2026-05-24 13:28:58 +08:00
Alan Grainger cbbe821177 Update config default to match Immich 2026-05-24 13:02:23 +08:00
Alan Grainger 633f589832 2.0.0 - full gallery redesign to match Immich 2026-05-24 13:01:09 +08:00
Alan Grainger 2b903f031e npm audit 2026-04-24 10:46:38 +12:00
Alan Grainger a1000840f3 Selective merge from PR #205 2026-04-24 10:39:44 +12:00
Alan Grainger e0411d1133 Merge pull request #192 from esammier/feat-opengraph-description
Show description in OpenGraph link previews
2026-04-24 10:32:36 +12:00
Tqqk 440e07aa38 fix: distinguish invalid share keys from password-protected shares in 401 handling 2026-04-04 21:09:10 +02:00
Alan Grainger 6952c4811a Update package.json 2026-03-22 15:30:50 +13:00
Fraggar 90b8a01b8a fix: handle password-protected shares with Immich v2.6+
Immich v2.6 changed the API response for password-protected shared links
from "Invalid password" to "Password required" when no password token is
provided. The previous string match on the message caused the proxy to
fall through to the catch-all and return 404 instead of showing the
password entry page.

Match on the 401 status code alone, since this endpoint only returns 401
for password-related reasons. This is backwards compatible with older
Immich versions and resilient to future message wording changes.

Fixes #198

Made-with: Cursor
2026-03-21 22:26:41 +01:00
Alan Grainger ac00570082 #196 Fix incorrect original download in zip 2026-03-03 10:25:02 +13:00
Alan Grainger 8eb99a265a #196 Fix incorrect original download in zip 2026-03-03 10:24:18 +13:00
tkf dee0c3b5cd Merge branch 'main' into feat-opengraph-description 2026-02-24 21:41:38 +00:00
Alan Grainger ec283b4bd9 Add placeholder thumbnail on image error 2026-02-23 16:56:36 +13:00
Alan Grainger ad7c0000ef Improve gallery rendering, make archive creation parallel 2026-02-23 16:46:53 +13:00
sir_omelett 75b2edb6ec Also reorganize title meta tags 2026-02-21 18:59:10 +00:00
sir_omelett 8a211a1059 Add HTML meta tags for description 2026-02-21 18:54:45 +00:00
Alan Grainger e72bce70f8 Fix #187 description not wrapping correctly 2026-02-17 11:53:04 +13:00
Alan Grainger 8d93051f90 npm audit 2026-02-17 11:01:40 +13:00
Alan Grainger 56c44b5dfa Fix version 2026-02-17 07:07:11 +13:00
Alan Grainger 31b8bbc58b 1.15.3 2026-02-17 07:05:58 +13:00
Alan Grainger 08b9cd1056 #151 #96 Add album descriptions 2026-02-16 21:48:14 +13:00
Alan Grainger fe0aee8df9 Fix #148 download preview video 2026-02-13 11:49:00 +13:00
Alan Grainger ea4f16a436 Move helper function 2026-02-09 11:30:56 +13:00
Sijisu eaaeacb4c6 Properly escape text coming from the Immich instance 2026-02-08 22:59:58 +01:00
Alan Grainger cfd42fb575 #176 fix slug links with password protection 2026-01-26 22:44:06 +13:00
Alan Grainger b677269509 #176 fix slug links with password protection 2026-01-26 21:07:27 +13:00