refactor(server): library syncing (#12220)

* refactor: library scanning

fix tests

remove offline files step

cleanup library service

improve tests

cleanup tests

add db migration

fix e2e

cleanup openapi

fix tests

fix tests

update docs

update docs

update mobile code

fix formatting

don't remove assets from library with invalid import path

use trash for offline files

add migration

simplify scan endpoint

cleanup library panel

fix library tests

e2e lint

fix e2e

trash e2e

fix lint

add asset trash tests

add more tests

ensure thumbs are generated

cleanup svelte

cleanup queue names

fix tests

fix lint

add warning due to trash

fix trash tests

fix lint

fix tests

Admin message for offline asset

fix comments

Update web/src/lib/components/asset-viewer/asset-viewer-nav-bar.svelte

Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>

add permission to library scan endpoint

revert asset interface sort

add trash reason to shared link stub

improve path view in offline

update docs

improve trash performance

fix comments

remove stray comment

* refactor: add back isOffline and remove trashReason from asset, change sync job flow

* chore(server): drop coverage to 80% for functions

* chore: rebase and generated files

---------

Co-authored-by: Zack Pollard <zackpollard@ymail.com>
This commit is contained in:
Jonathan Jogenfors
2024-09-25 19:26:19 +02:00
committed by GitHub
parent 1ef2834603
commit b2f2be3485
85 changed files with 941 additions and 1926 deletions
+3 -3
View File
@@ -202,7 +202,7 @@
"refreshing_all_libraries": "모든 라이브러리 다시 스캔 중...",
"registration": "관리자 가입",
"registration_description": "첫 번째 사용자이기 때문에 관리자로 지정되었습니다. 관리 작업 및 사용자 생성이 가능합니다.",
"removing_offline_files": "누락된 파일을 제거하는 중...",
"removing_deleted_files": "누락된 파일을 제거하는 중...",
"repair_all": "모두 수리",
"repair_matched_items": "동일한 항목 {count, plural, one {#개} other {#개}}를 확인했습니다.",
"repaired_items": "항목 {count, plural, one {#개} other {#개}}를 수리했습니다.",
@@ -676,8 +676,8 @@
"unable_to_remove_api_key": "API 키를 삭제할 수 없습니다.",
"unable_to_remove_assets_from_shared_link": "공유 링크에서 항목을 제거할 수 없습니다.",
"unable_to_remove_comment": "",
"unable_to_remove_deleted_assets": "누락된 파일을 제거할 수 없습니다.",
"unable_to_remove_library": "라이브러리를 제거할 수 없습니다.",
"unable_to_remove_offline_files": "누락된 파일을 제거할 수 없습니다.",
"unable_to_remove_partner": "파트너를 제거할 수 없습니다.",
"unable_to_remove_reaction": "반응을 제거할 수 없습니다.",
"unable_to_remove_user": "",
@@ -1062,10 +1062,10 @@
"remove_assets_shared_link_confirmation": "공유 링크에서 항목 {count, plural, one {#개} other {#개}}를 제거하시겠습니까?",
"remove_assets_title": "항목을 제거하시겠습니까?",
"remove_custom_date_range": "맞춤 기간 제거",
"remove_deleted_assets": "누락된 파일 제거",
"remove_from_album": "앨범에서 제거",
"remove_from_favorites": "즐겨찾기에서 제거",
"remove_from_shared_link": "공유 링크에서 제거",
"remove_offline_files": "누락된 파일 제거",
"remove_user": "사용자 삭제",
"removed_api_key": "API 키 삭제: {name}",
"removed_from_archive": "보관함에서 제거되었습니다.",