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": "Osvežavanje svih biblioteka",
"registration": "Registracija administratora",
"registration_description": "Pošto ste prvi korisnik na sistemu, bićete dodeljeni kao Admin i odgovorni ste za administrativne zadatke, a dodatne korisnike ćete kreirati vi.",
"removing_offline_files": "Uklanjanje vanmrežnih datoteka",
"removing_deleted_files": "Uklanjanje vanmrežnih datoteka",
"repair_all": "Popravi sve",
"repair_matched_items": "Poklapa se sa {count, plural, one {1 stavkom} few {# stavke} other {# stavki}}",
"repaired_items": "{count, plural, one {Popravljena 1 stavka} few {Popravljene # stavke} other {Popravljene # stavki}}",
@@ -684,8 +684,8 @@
"unable_to_remove_api_key": "Nije moguće ukloniti API ključ (key)",
"unable_to_remove_assets_from_shared_link": "Nije moguće ukloniti elemente sa deljenog linka",
"unable_to_remove_comment": "",
"unable_to_remove_deleted_assets": "Nije moguće ukloniti vanmrežne datoteke",
"unable_to_remove_library": "Nije moguće ukloniti biblioteku",
"unable_to_remove_offline_files": "Nije moguće ukloniti vanmrežne datoteke",
"unable_to_remove_partner": "Nije moguće ukloniti partnera",
"unable_to_remove_reaction": "Nije moguće ukloniti reakciju",
"unable_to_remove_user": "",
@@ -1088,10 +1088,10 @@
"remove_assets_shared_link_confirmation": "Da li ste sigurni da želite da uklonite {count, plural, one {# datoteku} other {# datoteke}} sa ove deljene veze?",
"remove_assets_title": "Ukloniti datoteke?",
"remove_custom_date_range": "Uklonite prilagođeni period",
"remove_deleted_assets": "Uklonite vanmrežne (offline) datoteke",
"remove_from_album": "Obriši iz albuma",
"remove_from_favorites": "Ukloni iz favorita",
"remove_from_shared_link": "Uklonite sa deljene veze",
"remove_offline_files": "Uklonite vanmrežne (offline) datoteke",
"remove_user": "Ukloni korisnika",
"removed_api_key": "Uklonjen API ključ (key): {name}",
"removed_from_archive": "Uklonjeno iz arhive",