1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-12 11:45:38 +02:00
immich/mobile/openapi/test
Alex Phillips e171fec5aa
feat(server): support for read-only assets and importing existing items in the filesystem (#2715)
* 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
..
add_assets_dto_test.dart
add_assets_response_dto_test.dart
add_users_dto_test.dart
admin_signup_response_dto_test.dart refactor(server): use date type for entities (#2602) 2023-05-30 08:15:56 -05:00
album_api_test.dart refactor(server, web): create shared link (#2879) 2023-06-20 20:08:43 -05:00
album_count_response_dto_test.dart refactor(server): album count (#2746) 2023-06-16 10:48:48 -05:00
album_response_dto_test.dart feat(web): Add album sorting to albums view (#2861) 2023-06-20 20:00:59 -05:00
all_job_status_response_dto_test.dart feat(server): dynamic job concurrency (#2622) 2023-06-01 05:32:51 -05:00
api_key_api_test.dart fix(web): empty album is not auto deleted (#2283) 2023-04-18 11:26:04 -05:00
api_key_create_dto_test.dart feat(web,server): api keys (#1244) 2023-01-02 14:22:33 -06:00
api_key_create_response_dto_test.dart feat(web,server): api keys (#1244) 2023-01-02 14:22:33 -06:00
api_key_response_dto_test.dart refactor(server): use date type for entities (#2602) 2023-05-30 08:15:56 -05:00
api_key_update_dto_test.dart feat(web,server): api keys (#1244) 2023-01-02 14:22:33 -06:00
asset_api_test.dart feat(server): support for read-only assets and importing existing items in the filesystem (#2715) 2023-06-21 21:33:20 -05:00
asset_bulk_upload_check_dto_test.dart feat(server): Add support for client-side hashing (#2072) 2023-05-24 16:08:21 -05:00
asset_bulk_upload_check_item_test.dart feat(server): return asset checksum (#2582) 2023-05-27 20:56:17 -05:00
asset_bulk_upload_check_response_dto_test.dart feat(server): Add support for client-side hashing (#2072) 2023-05-24 16:08:21 -05:00
asset_bulk_upload_check_result_test.dart feat(server): Add support for client-side hashing (#2072) 2023-05-24 16:08:21 -05:00
asset_count_by_time_bucket_response_dto_test.dart
asset_count_by_time_bucket_test.dart
asset_count_by_user_id_response_dto_test.dart
asset_file_upload_response_dto_test.dart refactor(server): asset service - upload asset (#1438) 2023-01-30 10:14:13 -06:00
asset_ids_dto_test.dart refactor(server): tags (#2589) 2023-05-31 20:51:28 -05:00
asset_ids_response_dto_test.dart refactor(server): tags (#2589) 2023-05-31 20:51:28 -05:00
asset_response_dto_test.dart feat(web,server): add thumbhash support (#2649) 2023-06-17 22:22:31 -05:00
asset_type_enum_test.dart
auth_device_response_dto_test.dart feat(web,server): manage authorized devices (#2329) 2023-04-25 21:19:23 -05:00
authentication_api_test.dart feat(web,server): logout all devices (#2415) 2023-05-09 14:34:17 -05:00
change_password_dto_test.dart feat(web): user profile (#1148) 2022-12-21 08:43:35 -06:00
check_duplicate_asset_dto_test.dart
check_duplicate_asset_response_dto_test.dart
check_existing_assets_dto_test.dart
check_existing_assets_response_dto_test.dart
create_album_dto_test.dart
create_profile_image_response_dto_test.dart
create_tag_dto_test.dart
create_user_dto_test.dart feat(server): support for read-only assets and importing existing items in the filesystem (#2715) 2023-06-21 21:33:20 -05:00
curated_locations_response_dto_test.dart
curated_objects_response_dto_test.dart
delete_asset_dto_test.dart
delete_asset_response_dto_test.dart
delete_asset_status_test.dart
download_files_dto_test.dart feat(web/server) public album sharing (#1266) 2023-01-09 14:16:08 -06:00
exif_response_dto_test.dart feat: Add description (#2237) 2023-04-13 10:22:06 -05:00
get_asset_by_time_bucket_dto_test.dart feat(web): show assets without thumbs (#2561) 2023-05-24 21:13:02 -05:00
get_asset_count_by_time_bucket_dto_test.dart fix(web+server): showing assets without thumbnail (#2652) 2023-06-03 21:41:27 -05:00
import_asset_dto_test.dart feat(server): support for read-only assets and importing existing items in the filesystem (#2715) 2023-06-21 21:33:20 -05:00
job_api_test.dart refactor(server): send job command (#2777) 2023-06-16 14:36:07 -05:00
job_command_dto_test.dart refactor(server): jobs (#2023) 2023-03-20 10:55:28 -05:00
job_command_test.dart
job_counts_dto_test.dart fix(server): add paused property to JobCountsDto (#2112) 2023-03-29 10:33:03 -05:00
job_name_test.dart refactor(server): jobs (#2023) 2023-03-20 10:55:28 -05:00
job_settings_dto_test.dart feat(server): dynamic job concurrency (#2622) 2023-06-01 05:32:51 -05:00
job_status_dto_test.dart feat(server/web): jobs clear button + queue status (#2144) 2023-04-01 15:46:07 -05:00
login_credential_dto_test.dart
login_response_dto_test.dart
logout_response_dto_test.dart
map_marker_response_dto_test.dart feat(web+server): map improvements (#2498) 2023-05-21 01:26:06 -05:00
memory_lane_response_dto_test.dart feat(web): Memory (#2759) 2023-06-14 20:47:18 -05:00
o_auth_api_test.dart fix(web): empty album is not auto deleted (#2283) 2023-04-18 11:26:04 -05:00
o_auth_callback_dto_test.dart
o_auth_config_dto_test.dart
o_auth_config_response_dto_test.dart feat(web,server): disable password login (#1223) 2023-01-09 16:32:58 -05:00
partner_api_test.dart feat (server, web): Share with partner (#2388) 2023-05-15 12:30:53 -05:00
person_api_test.dart feat: facial recognition (#2180) 2023-05-17 12:07:17 -05:00
person_response_dto_test.dart feat: facial recognition (#2180) 2023-05-17 12:07:17 -05:00
person_update_dto_test.dart feat: facial recognition (#2180) 2023-05-17 12:07:17 -05:00
queue_status_dto_test.dart feat(server/web): jobs clear button + queue status (#2144) 2023-04-01 15:46:07 -05:00
remove_assets_dto_test.dart
search_album_response_dto_test.dart feat(server)!: search via typesense (#1778) 2023-03-02 20:47:08 -06:00
search_api_test.dart fix(web): empty album is not auto deleted (#2283) 2023-04-18 11:26:04 -05:00
search_asset_dto_test.dart
search_asset_response_dto_test.dart feat(server)!: search via typesense (#1778) 2023-03-02 20:47:08 -06:00
search_config_response_dto_test.dart feat(server)!: search via typesense (#1778) 2023-03-02 20:47:08 -06:00
search_explore_item_test.dart feat(web,server): explore (#1926) 2023-03-05 14:44:31 -06:00
search_explore_response_dto_test.dart feat(web,server): explore (#1926) 2023-03-05 14:44:31 -06:00
search_facet_count_response_dto_test.dart feat(server)!: search via typesense (#1778) 2023-03-02 20:47:08 -06:00
search_facet_response_dto_test.dart feat(server)!: search via typesense (#1778) 2023-03-02 20:47:08 -06:00
search_response_dto_test.dart feat(server)!: search via typesense (#1778) 2023-03-02 20:47:08 -06:00
server_info_api_test.dart fix(web): empty album is not auto deleted (#2283) 2023-04-18 11:26:04 -05:00
server_info_response_dto_test.dart
server_ping_response_test.dart
server_stats_response_dto_test.dart feat(web): improved server stats (#1870) 2023-02-26 13:57:34 -06:00
server_version_reponse_dto_test.dart build: version pump script (#1398) 2023-01-23 21:46:37 -06:00
shared_link_api_test.dart refactor(server, web): create shared link (#2879) 2023-06-20 20:08:43 -05:00
shared_link_create_dto_test.dart refactor(server, web): create shared link (#2879) 2023-06-20 20:08:43 -05:00
shared_link_edit_dto_test.dart refactor(server, web): create shared link (#2879) 2023-06-20 20:08:43 -05:00
shared_link_response_dto_test.dart refactor(server): use date type for entities (#2602) 2023-05-30 08:15:56 -05:00
shared_link_type_test.dart feat(web/server) public album sharing (#1266) 2023-01-09 14:16:08 -06:00
sign_up_dto_test.dart
smart_info_response_dto_test.dart chore(server): typeorm definitions fix part 3 (#1796) 2023-02-20 01:50:27 +00:00
system_config_api_test.dart fix(web): empty album is not auto deleted (#2283) 2023-04-18 11:26:04 -05:00
system_config_dto_test.dart feat(server): dynamic job concurrency (#2622) 2023-06-01 05:32:51 -05:00
system_config_f_fmpeg_dto_test.dart feat(server): transcode bitrate and thread settings (#2488) 2023-05-22 13:07:43 -05:00
system_config_job_dto_test.dart feat(server): dynamic job concurrency (#2622) 2023-06-01 05:32:51 -05:00
system_config_o_auth_dto_test.dart feat(web,server): disable password login (#1223) 2023-01-09 16:32:58 -05:00
system_config_password_login_dto_test.dart feat(web,server): disable password login (#1223) 2023-01-09 16:32:58 -05:00
system_config_storage_template_dto_test.dart feat(server) user-defined storage structure (#1098) 2022-12-16 14:26:12 -06:00
system_config_template_storage_option_dto_test.dart feat(server) user-defined storage structure (#1098) 2022-12-16 14:26:12 -06:00
tag_api_test.dart refactor(server): tags (#2589) 2023-05-31 20:51:28 -05:00
tag_response_dto_test.dart refactor(server): tags (#2589) 2023-05-31 20:51:28 -05:00
tag_type_enum_test.dart
thumbnail_format_test.dart
time_group_enum_test.dart
update_album_dto_test.dart
update_asset_dto_test.dart feat: Add description (#2237) 2023-04-13 10:22:06 -05:00
update_tag_dto_test.dart refactor(server): tags (#2589) 2023-05-31 20:51:28 -05:00
update_user_dto_test.dart feat(server): support for read-only assets and importing existing items in the filesystem (#2715) 2023-06-21 21:33:20 -05:00
usage_by_user_dto_test.dart feat(web): improved server stats (#1870) 2023-02-26 13:57:34 -06:00
user_api_test.dart fix(web): empty album is not auto deleted (#2283) 2023-04-18 11:26:04 -05:00
user_count_response_dto_test.dart
user_response_dto_test.dart feat(server): support for read-only assets and importing existing items in the filesystem (#2715) 2023-06-21 21:33:20 -05:00
validate_access_token_response_dto_test.dart