mirror of
https://github.com/immich-app/immich.git
synced 2024-12-12 11:45:38 +02:00
e171fec5aa
* 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> |
||
---|---|---|
.. | ||
add_assets_dto_test.dart | ||
add_assets_response_dto_test.dart | ||
add_users_dto_test.dart | ||
admin_signup_response_dto_test.dart | ||
album_api_test.dart | ||
album_count_response_dto_test.dart | ||
album_response_dto_test.dart | ||
all_job_status_response_dto_test.dart | ||
api_key_api_test.dart | ||
api_key_create_dto_test.dart | ||
api_key_create_response_dto_test.dart | ||
api_key_response_dto_test.dart | ||
api_key_update_dto_test.dart | ||
asset_api_test.dart | ||
asset_bulk_upload_check_dto_test.dart | ||
asset_bulk_upload_check_item_test.dart | ||
asset_bulk_upload_check_response_dto_test.dart | ||
asset_bulk_upload_check_result_test.dart | ||
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 | ||
asset_ids_dto_test.dart | ||
asset_ids_response_dto_test.dart | ||
asset_response_dto_test.dart | ||
asset_type_enum_test.dart | ||
auth_device_response_dto_test.dart | ||
authentication_api_test.dart | ||
change_password_dto_test.dart | ||
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 | ||
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 | ||
exif_response_dto_test.dart | ||
get_asset_by_time_bucket_dto_test.dart | ||
get_asset_count_by_time_bucket_dto_test.dart | ||
import_asset_dto_test.dart | ||
job_api_test.dart | ||
job_command_dto_test.dart | ||
job_command_test.dart | ||
job_counts_dto_test.dart | ||
job_name_test.dart | ||
job_settings_dto_test.dart | ||
job_status_dto_test.dart | ||
login_credential_dto_test.dart | ||
login_response_dto_test.dart | ||
logout_response_dto_test.dart | ||
map_marker_response_dto_test.dart | ||
memory_lane_response_dto_test.dart | ||
o_auth_api_test.dart | ||
o_auth_callback_dto_test.dart | ||
o_auth_config_dto_test.dart | ||
o_auth_config_response_dto_test.dart | ||
partner_api_test.dart | ||
person_api_test.dart | ||
person_response_dto_test.dart | ||
person_update_dto_test.dart | ||
queue_status_dto_test.dart | ||
remove_assets_dto_test.dart | ||
search_album_response_dto_test.dart | ||
search_api_test.dart | ||
search_asset_dto_test.dart | ||
search_asset_response_dto_test.dart | ||
search_config_response_dto_test.dart | ||
search_explore_item_test.dart | ||
search_explore_response_dto_test.dart | ||
search_facet_count_response_dto_test.dart | ||
search_facet_response_dto_test.dart | ||
search_response_dto_test.dart | ||
server_info_api_test.dart | ||
server_info_response_dto_test.dart | ||
server_ping_response_test.dart | ||
server_stats_response_dto_test.dart | ||
server_version_reponse_dto_test.dart | ||
shared_link_api_test.dart | ||
shared_link_create_dto_test.dart | ||
shared_link_edit_dto_test.dart | ||
shared_link_response_dto_test.dart | ||
shared_link_type_test.dart | ||
sign_up_dto_test.dart | ||
smart_info_response_dto_test.dart | ||
system_config_api_test.dart | ||
system_config_dto_test.dart | ||
system_config_f_fmpeg_dto_test.dart | ||
system_config_job_dto_test.dart | ||
system_config_o_auth_dto_test.dart | ||
system_config_password_login_dto_test.dart | ||
system_config_storage_template_dto_test.dart | ||
system_config_template_storage_option_dto_test.dart | ||
tag_api_test.dart | ||
tag_response_dto_test.dart | ||
tag_type_enum_test.dart | ||
thumbnail_format_test.dart | ||
time_group_enum_test.dart | ||
update_album_dto_test.dart | ||
update_asset_dto_test.dart | ||
update_tag_dto_test.dart | ||
update_user_dto_test.dart | ||
usage_by_user_dto_test.dart | ||
user_api_test.dart | ||
user_count_response_dto_test.dart | ||
user_response_dto_test.dart | ||
validate_access_token_response_dto_test.dart |