Commit Graph

644 Commits

Author SHA1 Message Date
Alan Grainger 172f247418 Update docs 2026-10-07 18:04:57 +13:00
Alan Grainger 7a9ff2e6ee Update docs 2026-10-07 16:51:46 +13:00
Alan Grainger ba893dc42f Update docs 2026-10-07 16:48:30 +13:00
Alan Grainger 9ad99cb91b Update docs 2026-10-07 16:45:17 +13:00
Alan Grainger 940523a7c0 Match existing env variable 2026-10-07 16:01:54 +13:00
Alan Grainger 19691ccf99 4.0.0-alpha.2 2026-10-07 15:52:18 +13:00
Alan Grainger 19585bffea Centre upload page 2026-10-07 15:51:25 +13:00
Alan Grainger 1db8e14ee0 Check for upload service before by status 204 2026-10-07 15:50:54 +13:00
Alan Grainger 3bade3c34b Check for upload service before by status 204 2026-10-07 15:50:34 +13:00
Alan Grainger 5f2edc5f74 Update build steps 2026-10-07 15:01:35 +13:00
Alan Grainger daa099aca1 Update docs 2026-10-07 14:53:14 +13:00
Alan Grainger b1dab610a4 Update docs 2026-10-07 14:38:04 +13:00
Alan Grainger 2e078c268d Update docs 2026-10-07 14:20:02 +13:00
Alan Grainger ce5fc72d5c 4.0.0-alpha.1 2026-10-07 14:09:08 +13:00
Alan Grainger e9694fa4ee Add tini #66 2026-10-07 09:56:31 +13:00
Alan Grainger 9cd5e4ed18 Fix zombie wget processes #66 2026-10-07 09:47:06 +13:00
Alan Grainger 2fb6c717fc Add dismiss for denied uploads 2026-10-06 15:28:26 +13:00
Alan Grainger 20c4238b6e Update docs 2026-10-06 15:17:11 +13:00
Alan Grainger 7a20c72f77 WIP 2026-10-06 14:57:10 +13:00
Alan Grainger 242d716f7b Add upload page and move styles to shared assets 2026-10-06 11:14:36 +13:00
Alan Grainger 95ac498cf0 Initial work on upload app server 2026-10-06 10:07:20 +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 54c0f91c4e 3.4.1 2026-10-05 11:24:02 +13:00
Alan Grainger 65958ae899 Fix long-press issue for iPhone 2026-10-05 11:22:22 +13:00
Alan Grainger 588174f62e Fix password-share caching, slug gate, video probe and mobile tile tap (#119, #294) 2026-10-05 09:39:14 +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
Alan Grainger 6a5ff3cd13 Merge pull request #298 from SilasDo/fix/dockerfile-app-ownership
Create /app as node-owned in the Docker image
2026-10-05 09:01:42 +13:00
opencode bc30610e71 Create /app as node-owned in the Docker image
WORKDIR leaves it root-owned on non-BuildKit builders and COPY --chown
doesn't cover the pre-existing directory, so npm ci as node fails with
EACCES. CI never sees it because buildx chowns WORKDIR to USER.
2026-10-04 11:04:44 +02: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 aa520b47fc Move docs to Github pages 2026-09-22 08:40:34 +12:00
Alan Grainger d395d900a1 3.4.0 2026-09-21 14:54:44 +12:00
Alan Grainger bbb4dd1491 Tidy up overly verbose LLM comments 2026-09-17 22:08:47 +12:00
Alan Grainger 93c86aefab Merge pull request #290 from vposham/sticky-loaded-thumbnails 2026-09-17 22:04:16 +12: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
Vignan Posham 9b85b4e748 Guard sticky-tile registration against stale image loads
If a tile is virtualised out before its in-flight thumbnail finishes, the
load event still fires on the detached <img>. Without a guard that callback
would add the index to state.stickyTiles, potentially pinning a later
replacement tile whose own <img> has not painted yet.

Only register the index while this <a> is still the live tile for it
(state.renderedTiles.get(index) === a).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-07 01:38:19 -04:00
Vignan Posham ec199961ea 3.3.2
Bumps the release version so the cache-busted static asset path
(/share/static/<version>/js/client/init.js) changes and clients pick up the
rebuilt gallery bundle with the sticky-thumbnail fix instead of an
immutably-cached old one.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-07 01:29:12 -04:00
Vignan Posham 06741b47bb Keep loaded gallery thumbnails mounted to stop scroll-back flicker
The gallery virtualiser removed a tile's <a>/<img> from the DOM whenever it
left the viewport ± 1 buffer and rebuilt it from scratch on re-entry, so
scrolling back up replayed the thumbhash placeholder and opacity fade on
thumbnails that were already loaded - even for small albums where no network
fetch happens.

Track tile indices whose <img> has fired `load` in a bounded, LRU-ordered
`stickyTiles` set. virtualize() keeps those tiles in the "needed" set so
syncRendered never unmounts them; not-yet-loaded tiles still get the normal
lazy create/remove + data-src treatment, so large albums keep lazy-loading
on first scroll-into-view.

The set is trimmed to STICKY_TILE_LIMIT (1500) each pass - currently visible
tiles are bumped to most-recently-used and the oldest off-screen overflow is
released back to normal virtualisation - so a very large album (100k+ photos)
cannot accumulate unbounded mounted DOM or retained image memory as the user
scrolls. Cleared on a layout recompute since tile geometry changes there.
Also adds a fast-path skip in loadVisibleTiles() for finished loads now that
the rendered-tile map can be larger.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-07 01:10:23 -04:00
Alan Grainger 5884e5afc9 Remove buffering for single downloads #94 2026-09-05 06:12:54 +12:00
Alan Grainger 5fb59b27e4 Update docs 2026-09-04 23:37:55 +12:00
Alan Grainger f70ae0397e Update docs 2026-09-04 23:35:42 +12:00
Alan Grainger 3753dbe42e 3.3.1 2026-09-04 23:28:03 +12:00
Alan Grainger 3701d4e92c Add no-store cache header for zip downloads 2026-09-04 23:27:28 +12:00
Alan Grainger ff45919107 Update docs 2026-09-04 12:55:08 +12:00
Alan Grainger 18284ef5c5 3.3.0 2026-09-04 11:56:02 +12:00