fix(web): download archives via html POST forms (#30021)

* fix: download archives via html POST forms

* refactor: fix css of download panel, add translations and toasts

* style: run lint, formatter, check

* chore: generate open-api specs

* refactor(web): simplify download manager, use SvelteMap

* refactor(server): parse fields from x-www-form-urlencoded request

* refactor: move content-disposition to ImmichReadStream

* Pass asset ids as a comma-separated string

This fixes a bug where the 1000 parameter limit is being hit when
downloading 1000+ assets.

* Add download controller test

* Fix lint warnings
This commit is contained in:
Diogo Correia
2026-08-20 20:58:41 -04:00
committed by GitHub
parent c7531a36f9
commit c9776fb990
18 changed files with 178 additions and 91 deletions
+2
View File
@@ -1602,6 +1602,8 @@ export type UserConfigDto = {
user: UserConfigUserDto;
};
export type DownloadArchiveDto = {
/** The name of the archive to download, without extension */
archiveName?: string;
/** Asset IDs */
assetIds: string[];
/** Download edited asset if available */