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
@@ -205,7 +205,7 @@
"refreshing_all_libraries": "正在重新整理所有圖庫",
"registration": "管理者註冊",
"registration_description": "由於您是本系統的首位使用者,因此將您指派爲負責管理本系統的管理者,其他使用者須由您協助建立帳號。",
"removing_offline_files": "移除離線檔案中",
"removing_deleted_files": "移除離線檔案中",
"repair_all": "全部糾正",
"repair_matched_items": "有 {count, plural, other {# 個項目相符}}",
"repaired_items": "已糾正 {count, plural, other {# 個項目}}",
@@ -683,8 +683,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": "",
@@ -1056,10 +1056,10 @@
"remove_assets_shared_link_confirmation": "確定要從此分享鏈結中移除{count, plural, 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": "從封存中移除",