feat: add scheduled metadata refresh for libraries

Add metadata_refresh_mode (manual/hourly/daily/weekly) to libraries,
with automatic scheduling via the indexer. Includes API support,
backoffice UI controls, i18n translations, and DB migration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-20 10:51:52 +01:00
parent 5a224c48c0
commit fe5de3d5c1
8 changed files with 143 additions and 10 deletions

View File

@@ -0,0 +1,4 @@
ALTER TABLE libraries
ADD COLUMN metadata_refresh_mode TEXT NOT NULL DEFAULT 'manual',
ADD COLUMN last_metadata_refresh_at TIMESTAMPTZ,
ADD COLUMN next_metadata_refresh_at TIMESTAMPTZ;