mirror of
https://github.com/immich-app/immich.git
synced 2026-09-30 13:23:21 +08:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user