1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-03-01 15:11:21 +01:00
immich/mobile/openapi/doc
Alex Phillips e171fec5aa
feat(server): support for read-only assets and importing existing items in the filesystem ()
* Added read-only flag for assets, endpoint to trigger file import vs upload

* updated fixtures with new property

* if upload is 'read-only', ensure there is no existing asset at the designated originalPath

* added test for file import as well as detecting existing image at read-only destination location

* Added storage service test for a case where it should not move read-only assets

* upload doesn't need the read-only flag available, just importing

* default isReadOnly on import endpoint to true

* formatting fixes

* create-asset dto needs isReadOnly, so set it to false by default on create, updated api generation

* updated code to reflect changes in MR

* fixed read stream promise return type

* new index for originalPath, check for existing path on import, reglardless of user, to prevent duplicates

* refactor: import asset

* chore: open api

* chore: tests

* Added externalPath support for individual users, updated UI to allow this to be set by admin

* added missing var for externalPath in ui

* chore: open api

* fix: compilation issues

* fix: server test

* built api, fixed user-response dto to include externalPath

* reverted accidental commit

* bad commit of duplicate externalPath in user response  dto

* fixed tests to include externalPath on expected result

* fix: unit tests

* centralized supported filetypes, perform file type checking of asset and sidecar during file import process

* centralized supported filetype check method to keep regex DRY

* fixed typo

* combined migrations into one

* update api

* Removed externalPath from shared-link code, added column to admin user page whether external paths / import is enabled or not

* update mimetype

* Fixed detect correct mimetype

* revert asset-upload config

* reverted domain.constant

* refactor

* fix mime-type issue

* fix format

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-06-21 21:33:20 -05:00
..
AddAssetsDto.md Refactor mobile to use OpenApi generated SDK () 2022-07-13 07:23:48 -05:00
AddAssetsResponseDto.md feat(server) Extend PUT /album/:id/assets endpoint () 2022-10-28 14:54:09 -05:00
AddUsersDto.md Refactor mobile to use OpenApi generated SDK () 2022-07-13 07:23:48 -05:00
AdminSignupResponseDto.md refactor(server): use date type for entities () 2023-05-30 08:15:56 -05:00
AlbumApi.md refactor(server, web): create shared link () 2023-06-20 20:08:43 -05:00
AlbumCountResponseDto.md refactor(server): album count () 2023-06-16 10:48:48 -05:00
AlbumResponseDto.md feat(web): Add album sorting to albums view () 2023-06-20 20:00:59 -05:00
AllJobStatusResponseDto.md feat(server): dynamic job concurrency () 2023-06-01 05:32:51 -05:00
APIKeyApi.md feat(server): add api key to openapi spec () 2023-05-04 11:41:29 -05:00
APIKeyCreateDto.md feat(web,server): api keys () 2023-01-02 14:22:33 -06:00
APIKeyCreateResponseDto.md feat(web,server): api keys () 2023-01-02 14:22:33 -06:00
APIKeyResponseDto.md refactor(server): use date type for entities () 2023-05-30 08:15:56 -05:00
APIKeyUpdateDto.md feat(web,server): api keys () 2023-01-02 14:22:33 -06:00
AssetApi.md feat(server): support for read-only assets and importing existing items in the filesystem () 2023-06-21 21:33:20 -05:00
AssetBulkUploadCheckDto.md feat(server): Add support for client-side hashing () 2023-05-24 16:08:21 -05:00
AssetBulkUploadCheckItem.md feat(server): return asset checksum () 2023-05-27 20:56:17 -05:00
AssetBulkUploadCheckResponseDto.md feat(server): Add support for client-side hashing () 2023-05-24 16:08:21 -05:00
AssetBulkUploadCheckResult.md feat(server): Add support for client-side hashing () 2023-05-24 16:08:21 -05:00
AssetCountByTimeBucket.md Feature - Implemented virtual scroll on web () 2022-09-04 08:34:39 -05:00
AssetCountByTimeBucketResponseDto.md Feature - Implemented virtual scroll on web () 2022-09-04 08:34:39 -05:00
AssetCountByUserIdResponseDto.md feat(server): multi archive downloads () 2022-11-15 09:51:56 -06:00
AssetFileUploadResponseDto.md refactor(server): asset service - upload asset () 2023-01-30 10:14:13 -06:00
AssetIdsDto.md refactor(server): tags () 2023-05-31 20:51:28 -05:00
AssetIdsResponseDto.md refactor(server): tags () 2023-05-31 20:51:28 -05:00
AssetResponseDto.md feat(web,server): add thumbhash support () 2023-06-17 22:22:31 -05:00
AssetTypeEnum.md Refactor mobile to use OpenApi generated SDK () 2022-07-13 07:23:48 -05:00
AuthDeviceResponseDto.md feat(web,server): manage authorized devices () 2023-04-25 21:19:23 -05:00
AuthenticationApi.md feat(web,server): logout all devices () 2023-05-09 14:34:17 -05:00
ChangePasswordDto.md feat(web): user profile () 2022-12-21 08:43:35 -06:00
CheckDuplicateAssetDto.md Refactor mobile to use OpenApi generated SDK () 2022-07-13 07:23:48 -05:00
CheckDuplicateAssetResponseDto.md [WEB] Upload asset directly to album () 2022-07-26 20:53:25 -05:00
CheckExistingAssetsDto.md feat(mobile) duplicated asset upload handling mechanism () 2022-10-25 09:51:03 -05:00
CheckExistingAssetsResponseDto.md feat(mobile) duplicated asset upload handling mechanism () 2022-10-25 09:51:03 -05:00
CreateAlbumDto.md Refactor mobile to use OpenApi generated SDK () 2022-07-13 07:23:48 -05:00
CreateProfileImageResponseDto.md Refactor mobile to use OpenApi generated SDK () 2022-07-13 07:23:48 -05:00
CreateTagDto.md feat(server) Tagging system () 2022-12-05 11:56:44 -06:00
CreateUserDto.md feat(server): support for read-only assets and importing existing items in the filesystem () 2023-06-21 21:33:20 -05:00
CuratedLocationsResponseDto.md Refactor mobile to use OpenApi generated SDK () 2022-07-13 07:23:48 -05:00
CuratedObjectsResponseDto.md Refactor mobile to use OpenApi generated SDK () 2022-07-13 07:23:48 -05:00
DeleteAssetDto.md Refactor mobile to use OpenApi generated SDK () 2022-07-13 07:23:48 -05:00
DeleteAssetResponseDto.md Refactor mobile to use OpenApi generated SDK () 2022-07-13 07:23:48 -05:00
DeleteAssetStatus.md Refactor mobile to use OpenApi generated SDK () 2022-07-13 07:23:48 -05:00
DownloadFilesDto.md feat(web/server) public album sharing () 2023-01-09 14:16:08 -06:00
ExifResponseDto.md feat: Add description () 2023-04-13 10:22:06 -05:00
GetAssetByTimeBucketDto.md feat(web): show assets without thumbs () 2023-05-24 21:13:02 -05:00
GetAssetCountByTimeBucketDto.md fix(web+server): showing assets without thumbnail () 2023-06-03 21:41:27 -05:00
ImportAssetDto.md feat(server): support for read-only assets and importing existing items in the filesystem () 2023-06-21 21:33:20 -05:00
JobApi.md refactor(server): send job command () 2023-06-16 14:36:07 -05:00
JobCommand.md feat(server/web) Add manual job trigger mechanism to the web () 2022-10-06 11:25:54 -05:00
JobCommandDto.md refactor(server): jobs () 2023-03-20 10:55:28 -05:00
JobCountsDto.md fix(server): add paused property to JobCountsDto () 2023-03-29 10:33:03 -05:00
JobName.md refactor(server): jobs () 2023-03-20 10:55:28 -05:00
JobSettingsDto.md feat(server): dynamic job concurrency () 2023-06-01 05:32:51 -05:00
JobStatusDto.md feat(server/web): jobs clear button + queue status () 2023-04-01 15:46:07 -05:00
LoginCredentialDto.md Refactor mobile to use OpenApi generated SDK () 2022-07-13 07:23:48 -05:00
LoginResponseDto.md Refactor mobile to use OpenApi generated SDK () 2022-07-13 07:23:48 -05:00
LogoutResponseDto.md feat(web,server): manage authorized devices () 2023-04-25 21:19:23 -05:00
MapMarkerResponseDto.md feat(web+server): map improvements () 2023-05-21 01:26:06 -05:00
MemoryLaneResponseDto.md feat(web): Memory () 2023-06-14 20:47:18 -05:00
OAuthApi.md feat(server): add api key to openapi spec () 2023-05-04 11:41:29 -05:00
OAuthCallbackDto.md feat(server,web): OIDC Implementation () 2022-11-14 20:24:25 -06:00
OAuthConfigDto.md feat(server,web): OIDC Implementation () 2022-11-14 20:24:25 -06:00
OAuthConfigResponseDto.md feat(web,server): disable password login () 2023-01-09 16:32:58 -05:00
PartnerApi.md feat (server, web): Share with partner () 2023-05-15 12:30:53 -05:00
PersonApi.md feat: facial recognition () 2023-05-17 12:07:17 -05:00
PersonResponseDto.md feat: facial recognition () 2023-05-17 12:07:17 -05:00
PersonUpdateDto.md feat: facial recognition () 2023-05-17 12:07:17 -05:00
QueueStatusDto.md feat(server/web): jobs clear button + queue status () 2023-04-01 15:46:07 -05:00
RemoveAssetsDto.md Refactor mobile to use OpenApi generated SDK () 2022-07-13 07:23:48 -05:00
SearchAlbumResponseDto.md feat(server)!: search via typesense () 2023-03-02 20:47:08 -06:00
SearchApi.md feat(server): add api key to openapi spec () 2023-05-04 11:41:29 -05:00
SearchAssetDto.md Refactor mobile to use OpenApi generated SDK () 2022-07-13 07:23:48 -05:00
SearchAssetResponseDto.md feat(server)!: search via typesense () 2023-03-02 20:47:08 -06:00
SearchConfigResponseDto.md feat(server)!: search via typesense () 2023-03-02 20:47:08 -06:00
SearchExploreItem.md feat(web,server): explore () 2023-03-05 14:44:31 -06:00
SearchExploreResponseDto.md feat(web,server): explore () 2023-03-05 14:44:31 -06:00
SearchFacetCountResponseDto.md feat(server)!: search via typesense () 2023-03-02 20:47:08 -06:00
SearchFacetResponseDto.md feat(server)!: search via typesense () 2023-03-02 20:47:08 -06:00
SearchResponseDto.md feat(server)!: search via typesense () 2023-03-02 20:47:08 -06:00
ServerInfoApi.md feat(server): add api key to openapi spec () 2023-05-04 11:41:29 -05:00
ServerInfoResponseDto.md Refactor mobile to use OpenApi generated SDK () 2022-07-13 07:23:48 -05:00
ServerPingResponse.md Refactor mobile to use OpenApi generated SDK () 2022-07-13 07:23:48 -05:00
ServerStatsResponseDto.md feat(web): improved server stats () 2023-02-26 13:57:34 -06:00
ServerVersionReponseDto.md build: version pump script () 2023-01-23 21:46:37 -06:00
SharedLinkApi.md refactor(server, web): create shared link () 2023-06-20 20:08:43 -05:00
SharedLinkCreateDto.md refactor(server, web): create shared link () 2023-06-20 20:08:43 -05:00
SharedLinkEditDto.md refactor(server, web): create shared link () 2023-06-20 20:08:43 -05:00
SharedLinkResponseDto.md refactor(server, web): create shared link () 2023-06-20 20:08:43 -05:00
SharedLinkType.md feat(web/server) public album sharing () 2023-01-09 14:16:08 -06:00
SignUpDto.md Refactor mobile to use OpenApi generated SDK () 2022-07-13 07:23:48 -05:00
SmartInfoResponseDto.md chore(server): typeorm definitions fix part 3 () 2023-02-20 01:50:27 +00:00
SystemConfigApi.md feat(server): add api key to openapi spec () 2023-05-04 11:41:29 -05:00
SystemConfigDto.md feat(server): dynamic job concurrency () 2023-06-01 05:32:51 -05:00
SystemConfigFFmpegDto.md feat(server): transcode bitrate and thread settings () 2023-05-22 13:07:43 -05:00
SystemConfigJobDto.md feat(server): dynamic job concurrency () 2023-06-01 05:32:51 -05:00
SystemConfigOAuthDto.md feat(web,server): disable password login () 2023-01-09 16:32:58 -05:00
SystemConfigPasswordLoginDto.md feat(web,server): disable password login () 2023-01-09 16:32:58 -05:00
SystemConfigStorageTemplateDto.md feat(server) user-defined storage structure () 2022-12-16 14:26:12 -06:00
SystemConfigTemplateStorageOptionDto.md feat(server) user-defined storage structure () 2022-12-16 14:26:12 -06:00
TagApi.md refactor(server): tags () 2023-05-31 20:51:28 -05:00
TagResponseDto.md refactor(server): tags () 2023-05-31 20:51:28 -05:00
TagTypeEnum.md feat(server) Tagging system () 2022-12-05 11:56:44 -06:00
ThumbnailFormat.md Add ablum feature to web () 2022-07-15 23:18:17 -05:00
TimeGroupEnum.md Add asset repository and refactor asset service () 2022-08-26 22:53:37 -07:00
UpdateAlbumDto.md [WEB] Select album thumbnail () 2022-07-27 11:16:02 -05:00
UpdateAssetDto.md feat: Add description () 2023-04-13 10:22:06 -05:00
UpdateTagDto.md refactor(server): tags () 2023-05-31 20:51:28 -05:00
UpdateUserDto.md feat(server): support for read-only assets and importing existing items in the filesystem () 2023-06-21 21:33:20 -05:00
UsageByUserDto.md feat(web): improved server stats () 2023-02-26 13:57:34 -06:00
UserApi.md feat(server): add api key to openapi spec () 2023-05-04 11:41:29 -05:00
UserCountResponseDto.md Refactor mobile to use OpenApi generated SDK () 2022-07-13 07:23:48 -05:00
UserResponseDto.md feat(server): support for read-only assets and importing existing items in the filesystem () 2023-06-21 21:33:20 -05:00
ValidateAccessTokenResponseDto.md Refactor mobile to use OpenApi generated SDK () 2022-07-13 07:23:48 -05:00