Commit Graph

152 Commits

Author SHA1 Message Date
John B f5e50a6e25 lightbox: close option false by default 2026-06-13 16:34:08 +03:00
John B bd77655815 fix lightbox harcoded options: counter, zoom, close, padding, paddingFn 2026-06-12 22:17:58 +03:00
Alan Grainger 9c1048f609 Guard deferred video autoplay against slide changes 2026-06-12 12:18:52 +12:00
John B 41226d4514 fix muted video after click 2026-06-12 02:17:44 +03:00
Alan Grainger 652f2903ce Add config option for autoplay videos 2026-06-11 16:12:00 +12:00
Alan Grainger 6ddd1e80ca Fix #246 Metadata is not hidden when "Show metadata" is disabled 2026-06-09 09:36:04 +12:00
Alan Grainger e436fd36fb Fix #246 Metadata is not hidden when "Show metadata" is disabled 2026-06-09 09:30:36 +12:00
Alan Grainger b40383e72e Clean up any broken staged downloads 2026-06-06 21:14:36 +12:00
Alan Grainger b0e0fe0f95 Restructure download function 2026-06-06 21:05:28 +12:00
Alan Grainger cefe2e81ff Refactor duplicated patterns into shared helpers 2026-06-05 12:46:35 +12:00
Alan Grainger 0a1f050ab0 #244 Reverse metadata field defaults 2026-06-05 11:39:26 +12:00
Alan Grainger 0a9b20f0a1 Reverse metadata field defaults 2026-06-05 11:09:36 +12:00
Alan Grainger 7799fa71c9 #244 Reverse metadata field defaults 2026-06-05 11:09:33 +12:00
Alan Grainger 6803911df4 IDE fix 2026-06-04 11:22:20 +12:00
Alan Grainger d057e23a32 Move icons to separate file 2026-06-04 11:15:41 +12:00
Alan Grainger 4404e646ab Fix corrupted camera-iris icon 2026-06-04 11:05:54 +12:00
Alan Grainger 86ecf08a1a Add jsdocs 2026-06-04 10:25:00 +12:00
Alan Grainger 6d77075e21 Add config option to control the map provider link 2026-06-04 10:03:08 +12:00
Alan Grainger 70153c3137 Add noreferrer to OSM link 2026-06-04 09:53:07 +12:00
Alan Grainger e43b57d644 Refactor to TypeScript ES modules and add metadata sidebar 2026-06-04 07:40:52 +12:00
Alan Grainger 26aa83599e Fix issue with non-ASCII filename in single-asset download 2026-06-01 08:25:53 +08:00
Alan Grainger c2ef0ae938 Fix #184 - return full video to clients that don't send Range header 2026-06-01 08:12:03 +08:00
Alan Grainger d500418500 Fix #214 - replace deprecated query password with POST 2026-05-30 11:32:45 +08:00
Alan Grainger c07ef0fab3 Ensure ipp.lightbox.options is an object 2026-05-30 10:55:50 +08:00
Alan Grainger 7cdc7c21f6 Merge pull request #229 from e1jo/lightbox-custom
new PhotoSwipe lightbox: pass native options
2026-05-30 10:50:54 +08:00
Alan Grainger 356486bb75 Use album cover for og:image
Co-authored-by: Pierre KELBERT <root@mout.ch>
2026-05-30 10:36:09 +08:00
Alan Grainger 1906f3ceeb Fix og:image video image 2026-05-29 17:29:16 +08:00
Alan Grainger 8be7ac9179 Improvements to extension handling 2026-05-28 17:19:28 +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 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
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 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 633f589832 2.0.0 - full gallery redesign to match Immich 2026-05-24 13:01:09 +08:00
Alan Grainger a1000840f3 Selective merge from PR #205 2026-04-24 10:39:44 +12:00
Tqqk 440e07aa38 fix: distinguish invalid share keys from password-protected shares in 401 handling 2026-04-04 21:09:10 +02: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 8eb99a265a #196 Fix incorrect original download in zip 2026-03-03 10:24:18 +13:00