feat: add batch metadata jobs, series filters, and translate backoffice to French

- Add metadata_batch job type with background processing via tokio::spawn
- Auto-apply metadata only when single result at 100% confidence
- Support primary + fallback provider per library, "none" to opt out
- Add batch report/results API endpoints and job detail UI
- Add series_status and has_missing filters to both series listing pages
- Add GET /series/statuses endpoint for dynamic filter options
- Normalize series_metadata status values (migration 0036)
- Hide ComicVine provider tab when no API key configured
- Translate entire backoffice UI from English to French

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-18 18:26:44 +01:00
parent 9a8c1577af
commit b955c2697c
46 changed files with 2161 additions and 379 deletions

View File

@@ -0,0 +1,8 @@
-- Normalize series_metadata.status values from provider-specific strings to standard enum values
UPDATE series_metadata SET status = 'ongoing' WHERE LOWER(status) LIKE '%en cours%';
UPDATE series_metadata SET status = 'ended' WHERE LOWER(status) LIKE '%finie%' OR LOWER(status) LIKE '%terminée%';
UPDATE series_metadata SET status = 'hiatus' WHERE LOWER(status) LIKE '%hiatus%' OR LOWER(status) LIKE '%suspendue%';
UPDATE series_metadata SET status = 'cancelled' WHERE LOWER(status) LIKE '%annulée%' OR LOWER(status) LIKE '%arrêtée%';
UPDATE series_metadata SET status = 'upcoming' WHERE LOWER(status) LIKE '%not_yet_released%';
UPDATE series_metadata SET status = 'ongoing' WHERE LOWER(status) = 'releasing';
UPDATE series_metadata SET status = 'ended' WHERE LOWER(status) = 'finished';