Commit Graph

616 Commits

Author SHA1 Message Date
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
Alan Grainger bb2f1370c7 Merge pull request #233 from MDornacher/fix/samesite-lax
fix: use SameSite=Lax for session cookie
2026-05-28 07:01:58 +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
John B 9a6740ab96 PhotoSwipe lightbox options: customization 2026-05-26 22:53:35 +03:00
John B cf4d8f053d Merge branch 'main' of github.com:e1jo/immich-public-proxy 2026-05-26 21:47:00 +03:00
Alan Grainger 3e648b896a Update README.md 2026-05-26 15:19:26 +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
Alan Grainger 4e418003dc Merge pull request #228 from ahyattdev/optimize-image-loading-cache
Fix long load times per image for larger albums
2026-05-26 10:57:41 +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 845875c548 Update readme 2026-05-25 17:08:25 +08:00
Alan Grainger 37dabc0738 Update readme 2026-05-25 17:03:02 +08:00
Alan Grainger f2c36d4c85 Fix #222 - add major/minor version docker tags 2026-05-25 16:45:13 +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
John B a14e168190 Fix: enable seamless next page loading during lightGallery sliding, add intelligent loop 2026-05-16 22:52:30 +03: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
Alan Grainger 35350318fe Merge pull request #206 from tqqk/fix/invalid-share-key-401
fix: invalid share keys being treated as password-protected shares
2026-04-24 10:32:11 +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
Alan Grainger 6208f4738d Merge pull request #199 from fraggar/fix/password-protected-shares-401
fix: handle password-protected shares with Immich v2.6+
2026-03-22 15:27:09 +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