mirror of
https://github.com/immich-app/immich.git
synced 2024-12-15 12:09:44 +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.dart | ||
add_assets_response_dto.dart | ||
add_users_dto.dart | ||
admin_signup_response_dto.dart | ||
album_count_response_dto.dart | ||
album_response_dto.dart | ||
all_job_status_response_dto.dart | ||
api_key_create_dto.dart | ||
api_key_create_response_dto.dart | ||
api_key_response_dto.dart | ||
api_key_update_dto.dart | ||
asset_bulk_upload_check_dto.dart | ||
asset_bulk_upload_check_item.dart | ||
asset_bulk_upload_check_response_dto.dart | ||
asset_bulk_upload_check_result.dart | ||
asset_count_by_time_bucket_response_dto.dart | ||
asset_count_by_time_bucket.dart | ||
asset_count_by_user_id_response_dto.dart | ||
asset_file_upload_response_dto.dart | ||
asset_ids_dto.dart | ||
asset_ids_response_dto.dart | ||
asset_response_dto.dart | ||
asset_type_enum.dart | ||
auth_device_response_dto.dart | ||
change_password_dto.dart | ||
check_duplicate_asset_dto.dart | ||
check_duplicate_asset_response_dto.dart | ||
check_existing_assets_dto.dart | ||
check_existing_assets_response_dto.dart | ||
create_album_dto.dart | ||
create_profile_image_response_dto.dart | ||
create_tag_dto.dart | ||
create_user_dto.dart | ||
curated_locations_response_dto.dart | ||
curated_objects_response_dto.dart | ||
delete_asset_dto.dart | ||
delete_asset_response_dto.dart | ||
delete_asset_status.dart | ||
download_files_dto.dart | ||
exif_response_dto.dart | ||
get_asset_by_time_bucket_dto.dart | ||
get_asset_count_by_time_bucket_dto.dart | ||
import_asset_dto.dart | ||
job_command_dto.dart | ||
job_command.dart | ||
job_counts_dto.dart | ||
job_name.dart | ||
job_settings_dto.dart | ||
job_status_dto.dart | ||
login_credential_dto.dart | ||
login_response_dto.dart | ||
logout_response_dto.dart | ||
map_marker_response_dto.dart | ||
memory_lane_response_dto.dart | ||
o_auth_callback_dto.dart | ||
o_auth_config_dto.dart | ||
o_auth_config_response_dto.dart | ||
person_response_dto.dart | ||
person_update_dto.dart | ||
queue_status_dto.dart | ||
remove_assets_dto.dart | ||
search_album_response_dto.dart | ||
search_asset_dto.dart | ||
search_asset_response_dto.dart | ||
search_config_response_dto.dart | ||
search_explore_item.dart | ||
search_explore_response_dto.dart | ||
search_facet_count_response_dto.dart | ||
search_facet_response_dto.dart | ||
search_response_dto.dart | ||
server_info_response_dto.dart | ||
server_ping_response.dart | ||
server_stats_response_dto.dart | ||
server_version_reponse_dto.dart | ||
shared_link_create_dto.dart | ||
shared_link_edit_dto.dart | ||
shared_link_response_dto.dart | ||
shared_link_type.dart | ||
sign_up_dto.dart | ||
smart_info_response_dto.dart | ||
system_config_dto.dart | ||
system_config_f_fmpeg_dto.dart | ||
system_config_job_dto.dart | ||
system_config_o_auth_dto.dart | ||
system_config_password_login_dto.dart | ||
system_config_storage_template_dto.dart | ||
system_config_template_storage_option_dto.dart | ||
tag_response_dto.dart | ||
tag_type_enum.dart | ||
thumbnail_format.dart | ||
time_group_enum.dart | ||
update_album_dto.dart | ||
update_asset_dto.dart | ||
update_tag_dto.dart | ||
update_user_dto.dart | ||
usage_by_user_dto.dart | ||
user_count_response_dto.dart | ||
user_response_dto.dart | ||
validate_access_token_response_dto.dart |