1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-25 10:43:13 +02:00
immich/mobile/openapi/doc
Jonathan Jogenfors 1b54c4f8e7
feat(server): Add support for client-side hashing (#2072)
* Modify controller DTOs

* Can check duplicates on server side

* Remove deviceassetid and deviceid

* Remove device ids from file uploader

* Add db migration for removed device ids

* Don't sanitize checksum

* Convert asset checksum to string

* Make checksum not optional for asset

* Use enums when rejecting duplicates

* Cleanup

* Return of the device id, but optional

* Don't use deviceId for upload folder

* Use checksum in thumb path

* Only use asset id in thumb path

* Openapi generation

* Put deviceAssetId back in asset response dto

* Add missing checksum in test fixture

* Add another missing checksum in test fixture

* Cleanup asset repository

* Add back previous /exists endpoint

* Require checksum to not be null

* Correctly set deviceId in db

* Remove index

* Fix compilation errors

* Make device id nullabel in asset response dto

* Reduce PR scope

* Revert asset service

* Reorder imports

* Reorder imports

* Reduce PR scope

* Reduce PR scope

* Reduce PR scope

* Reduce PR scope

* Reduce PR scope

* Update openapi

* Reduce PR scope

* refactor: asset bulk upload check

* chore: regenreate open-api

* chore: fix tests

* chore: tests

* update migrations and regenerate api

* Feat: use checksum in web file uploader

* Change to wasm-crypto

* Use crypto api for checksumming in web uploader

* Minor cleanup of file upload

* feat(web): pause and resume jobs

* Make device asset id not nullable again

* Cleanup

* Device id not nullable in response dto

* Update API specs

* Bump api specs

* Remove old TODO comment

* Remove NOT NULL constraint on checksum index

* Fix requested pubspec changes

* Remove unneeded import

* Update server/apps/immich/src/api-v1/asset/asset.service.ts

Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>

* Update server/apps/immich/src/api-v1/asset/asset-repository.ts

Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>

* Remove unneeded check

* Update server/apps/immich/src/api-v1/asset/asset-repository.ts

Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>

* Remove hashing in the web uploader

* Cleanup file uploader

* Remove varchar from asset entity fields

* Return 200 from bulk upload check

* Put device asset id back into asset repository

* Merge migrations

* Revert pubspec lock

* Update openapi specs

* Merge upstream changes

* Fix failing asset service tests

* Fix formatting issue

* Cleanup migrations

* Remove newline from pubspec

* Revert newline

* Checkout main version

* Revert again

* Only return AssetCheck

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>
2023-05-24 16:08:21 -05:00
..
AddAssetsDto.md Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00
AddAssetsResponseDto.md feat(server) Extend PUT /album/:id/assets endpoint (#857) 2022-10-28 14:54:09 -05:00
AddUsersDto.md Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00
AdminSignupResponseDto.md Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00
AlbumApi.md refactor(server): album controller (#2539) 2023-05-24 09:30:13 -05:00
AlbumCountResponseDto.md feat(web): add asset and album count info (#623) 2022-09-07 15:16:18 -05:00
AlbumResponseDto.md chore(server): make owner as required response for AlbumResponseDto (#1579) 2023-02-07 15:11:14 -06:00
AllJobStatusResponseDto.md feat: facial recognition (#2180) 2023-05-17 12:07:17 -05:00
APIKeyApi.md feat(server): add api key to openapi spec (#2362) 2023-05-04 11:41:29 -05:00
APIKeyCreateDto.md feat(web,server): api keys (#1244) 2023-01-02 14:22:33 -06:00
APIKeyCreateResponseDto.md feat(web,server): api keys (#1244) 2023-01-02 14:22:33 -06:00
APIKeyResponseDto.md infra(server)!: fix typeorm asset entity relations (#1782) 2023-02-19 16:44:53 +00:00
APIKeyUpdateDto.md feat(web,server): api keys (#1244) 2023-01-02 14:22:33 -06:00
AssetApi.md feat(server): Add support for client-side hashing (#2072) 2023-05-24 16:08:21 -05:00
AssetBulkUploadCheckDto.md feat(server): Add support for client-side hashing (#2072) 2023-05-24 16:08:21 -05:00
AssetBulkUploadCheckItem.md feat(server): Add support for client-side hashing (#2072) 2023-05-24 16:08:21 -05:00
AssetBulkUploadCheckResponseDto.md feat(server): Add support for client-side hashing (#2072) 2023-05-24 16:08:21 -05:00
AssetBulkUploadCheckResult.md feat(server): Add support for client-side hashing (#2072) 2023-05-24 16:08:21 -05:00
AssetCountByTimeBucket.md Feature - Implemented virtual scroll on web (#573) 2022-09-04 08:34:39 -05:00
AssetCountByTimeBucketResponseDto.md Feature - Implemented virtual scroll on web (#573) 2022-09-04 08:34:39 -05:00
AssetCountByUserIdResponseDto.md feat(server): multi archive downloads (#956) 2022-11-15 09:51:56 -06:00
AssetFileUploadResponseDto.md refactor(server): asset service - upload asset (#1438) 2023-01-30 10:14:13 -06:00
AssetResponseDto.md feat: facial recognition (#2180) 2023-05-17 12:07:17 -05:00
AssetTypeEnum.md Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00
AuthDeviceResponseDto.md feat(web,server): manage authorized devices (#2329) 2023-04-25 21:19:23 -05:00
AuthenticationApi.md feat(web,server): logout all devices (#2415) 2023-05-09 14:34:17 -05:00
ChangePasswordDto.md feat(web): user profile (#1148) 2022-12-21 08:43:35 -06:00
CheckDuplicateAssetDto.md Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00
CheckDuplicateAssetResponseDto.md [WEB] Upload asset directly to album (#379) 2022-07-26 20:53:25 -05:00
CheckExistingAssetsDto.md feat(mobile) duplicated asset upload handling mechanism (#853) 2022-10-25 09:51:03 -05:00
CheckExistingAssetsResponseDto.md feat(mobile) duplicated asset upload handling mechanism (#853) 2022-10-25 09:51:03 -05:00
CreateAlbumDto.md Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00
CreateAlbumShareLinkDto.md feat(server): improve validation of albums (#2188) 2023-04-06 12:50:55 -05:00
CreateAssetsShareLinkDto.md refactor(server): shared links (#1385) 2023-01-25 10:35:28 -06:00
CreateProfileImageResponseDto.md Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00
CreateTagDto.md feat(server) Tagging system (#1046) 2022-12-05 11:56:44 -06:00
CreateUserDto.md feat(web,server): user storage label (#2418) 2023-05-21 23:18:10 -04:00
CuratedLocationsResponseDto.md Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00
CuratedObjectsResponseDto.md Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00
DeleteAssetDto.md Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00
DeleteAssetResponseDto.md Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00
DeleteAssetStatus.md Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00
DownloadFilesDto.md feat(web/server) public album sharing (#1266) 2023-01-09 14:16:08 -06:00
EditSharedLinkDto.md refactor(server): shared links (#1385) 2023-01-25 10:35:28 -06:00
ExifResponseDto.md feat: Add description (#2237) 2023-04-13 10:22:06 -05:00
GetAssetByTimeBucketDto.md feat (server, web): Share with partner (#2388) 2023-05-15 12:30:53 -05:00
GetAssetCountByTimeBucketDto.md feat (server, web): Share with partner (#2388) 2023-05-15 12:30:53 -05:00
JobApi.md feat(server): add api key to openapi spec (#2362) 2023-05-04 11:41:29 -05:00
JobCommand.md feat(server/web) Add manual job trigger mechanism to the web (#767) 2022-10-06 11:25:54 -05:00
JobCommandDto.md refactor(server): jobs (#2023) 2023-03-20 10:55:28 -05:00
JobCountsDto.md fix(server): add paused property to JobCountsDto (#2112) 2023-03-29 10:33:03 -05:00
JobName.md refactor(server): jobs (#2023) 2023-03-20 10:55:28 -05:00
JobStatusDto.md feat(server/web): jobs clear button + queue status (#2144) 2023-04-01 15:46:07 -05:00
LoginCredentialDto.md Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00
LoginResponseDto.md Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00
LogoutResponseDto.md feat(web,server): manage authorized devices (#2329) 2023-04-25 21:19:23 -05:00
MapMarkerResponseDto.md feat(web+server): map improvements (#2498) 2023-05-21 01:26:06 -05:00
OAuthApi.md feat(server): add api key to openapi spec (#2362) 2023-05-04 11:41:29 -05:00
OAuthCallbackDto.md feat(server,web): OIDC Implementation (#884) 2022-11-14 20:24:25 -06:00
OAuthConfigDto.md feat(server,web): OIDC Implementation (#884) 2022-11-14 20:24:25 -06:00
OAuthConfigResponseDto.md feat(web,server): disable password login (#1223) 2023-01-09 16:32:58 -05:00
PartnerApi.md feat (server, web): Share with partner (#2388) 2023-05-15 12:30:53 -05:00
PersonApi.md feat: facial recognition (#2180) 2023-05-17 12:07:17 -05:00
PersonResponseDto.md feat: facial recognition (#2180) 2023-05-17 12:07:17 -05:00
PersonUpdateDto.md feat: facial recognition (#2180) 2023-05-17 12:07:17 -05:00
QueueStatusDto.md feat(server/web): jobs clear button + queue status (#2144) 2023-04-01 15:46:07 -05:00
RemoveAssetsDto.md Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00
SearchAlbumResponseDto.md feat(server)!: search via typesense (#1778) 2023-03-02 20:47:08 -06:00
SearchApi.md feat(server): add api key to openapi spec (#2362) 2023-05-04 11:41:29 -05:00
SearchAssetDto.md Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00
SearchAssetResponseDto.md feat(server)!: search via typesense (#1778) 2023-03-02 20:47:08 -06:00
SearchConfigResponseDto.md feat(server)!: search via typesense (#1778) 2023-03-02 20:47:08 -06:00
SearchExploreItem.md feat(web,server): explore (#1926) 2023-03-05 14:44:31 -06:00
SearchExploreResponseDto.md feat(web,server): explore (#1926) 2023-03-05 14:44:31 -06:00
SearchFacetCountResponseDto.md feat(server)!: search via typesense (#1778) 2023-03-02 20:47:08 -06:00
SearchFacetResponseDto.md feat(server)!: search via typesense (#1778) 2023-03-02 20:47:08 -06:00
SearchResponseDto.md feat(server)!: search via typesense (#1778) 2023-03-02 20:47:08 -06:00
ServerInfoApi.md feat(server): add api key to openapi spec (#2362) 2023-05-04 11:41:29 -05:00
ServerInfoResponseDto.md Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00
ServerPingResponse.md Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00
ServerStatsResponseDto.md feat(web): improved server stats (#1870) 2023-02-26 13:57:34 -06:00
ServerVersionReponseDto.md build: version pump script (#1398) 2023-01-23 21:46:37 -06:00
ShareApi.md feat(server): add api key to openapi spec (#2362) 2023-05-04 11:41:29 -05:00
SharedLinkResponseDto.md feat(web/server) Add more options to public shared link (#1348) 2023-01-21 22:15:16 -06:00
SharedLinkType.md feat(web/server) public album sharing (#1266) 2023-01-09 14:16:08 -06:00
SignUpDto.md Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00
SmartInfoResponseDto.md chore(server): typeorm definitions fix part 3 (#1796) 2023-02-20 01:50:27 +00:00
SystemConfigApi.md feat(server): add api key to openapi spec (#2362) 2023-05-04 11:41:29 -05:00
SystemConfigDto.md feat(web,server): disable password login (#1223) 2023-01-09 16:32:58 -05:00
SystemConfigFFmpegDto.md feat(server): transcode bitrate and thread settings (#2488) 2023-05-22 13:07:43 -05:00
SystemConfigOAuthDto.md feat(web,server): disable password login (#1223) 2023-01-09 16:32:58 -05:00
SystemConfigPasswordLoginDto.md feat(web,server): disable password login (#1223) 2023-01-09 16:32:58 -05:00
SystemConfigStorageTemplateDto.md feat(server) user-defined storage structure (#1098) 2022-12-16 14:26:12 -06:00
SystemConfigTemplateStorageOptionDto.md feat(server) user-defined storage structure (#1098) 2022-12-16 14:26:12 -06:00
TagApi.md feat(server): add api key to openapi spec (#2362) 2023-05-04 11:41:29 -05:00
TagResponseDto.md fix(server) added TagResponseDto for TagController (#1065) 2022-12-06 15:46:13 -06:00
TagTypeEnum.md feat(server) Tagging system (#1046) 2022-12-05 11:56:44 -06:00
ThumbnailFormat.md Add ablum feature to web (#352) 2022-07-15 23:18:17 -05:00
TimeGroupEnum.md Add asset repository and refactor asset service (#540) 2022-08-26 22:53:37 -07:00
UpdateAlbumDto.md [WEB] Select album thumbnail (#383) 2022-07-27 11:16:02 -05:00
UpdateAssetDto.md feat: Add description (#2237) 2023-04-13 10:22:06 -05:00
UpdateTagDto.md feat(server) Tagging system (#1046) 2022-12-05 11:56:44 -06:00
UpdateUserDto.md feat(web,server): user storage label (#2418) 2023-05-21 23:18:10 -04:00
UsageByUserDto.md feat(web): improved server stats (#1870) 2023-02-26 13:57:34 -06:00
UserApi.md feat(server): add api key to openapi spec (#2362) 2023-05-04 11:41:29 -05:00
UserCountResponseDto.md Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00
UserResponseDto.md feat(web,server): user storage label (#2418) 2023-05-21 23:18:10 -04:00
ValidateAccessTokenResponseDto.md Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00