feat(history): add /api/history/recent endpoint with Sonarr/Radarr history fetching, tag filtering, and 5-min cache

This commit is contained in:
2026-05-17 12:05:30 +01:00
parent ffd9e84a00
commit ddcfbda0c2
5 changed files with 384 additions and 0 deletions

View File

@@ -52,6 +52,10 @@ COOKIE_SECRET=your-cookie-secret-here
# Defaults to ./data relative to the project root.
# DATA_DIR=/app/data
# Number of days of completed download history to show in the Recently Completed section.
# Override per-request with ?days=N (capped at 90).
# RECENT_COMPLETED_DAYS=7
# Background polling interval in milliseconds (default: 5000)
# sofarr polls all services in the background and caches results so
# dashboard requests are near-instant.