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, one {#个项目} other {#个项目}}",
"repaired_items": "已修复{count, plural, one {#个项目} other {#个项目}}",
@@ -684,8 +684,8 @@
"unable_to_remove_api_key": "无法移除API Key",
"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": "无法移除用户",
@@ -1088,10 +1088,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 Key{name}",
"removed_from_archive": "从归档中移除",