feat: flat design Sunset Glitch + download manager + settings + recommendations overhaul
CI / Test (Python 3.11) (pull_request) Has been cancelled
CI / Test (Python 3.12) (pull_request) Has been cancelled
CI / Lint (pull_request) Has been cancelled
CI / Type Check (pull_request) Has been cancelled
CI / Summary (pull_request) Has been cancelled

- Sunset Glitch color palette applied to all templates
- Font Awesome icons throughout UI
- Download manager with parallel queue and progress tracking
- Settings page with dynamic configuration
- Recommendations router enhanced with scoring
- Local vendor libs (Alpine.js, HTMX) for offline support
- Auto test suite with screenshots
- Series releases list component
- New download model
This commit is contained in:
root
2026-04-11 19:30:32 +00:00
parent 9e53579b36
commit 87f245d3fc
36 changed files with 1549 additions and 215 deletions
+11 -1
View File
@@ -216,8 +216,12 @@ class WatchlistManager:
update_check_time = update_last_checked
def get_due_items(self) -> List[WatchlistItem]:
"""Get all items that are due for a check based on current settings"""
return self.get_due_for_check(self.settings.check_interval_hours if self.settings else 6)
def get_due_for_check(self, interval_hours: int) -> List[WatchlistItem]:
"""Get all items that are due for a check based on settings"""
interval = timedelta(hours=self.settings.check_interval_hours)
interval = timedelta(hours=interval_hours)
now = datetime.now()
with Session(engine) as session:
@@ -234,6 +238,12 @@ class WatchlistManager:
return due_items
def get_settings(self) -> WatchlistSettings:
"""Get global watchlist settings"""
if self.settings is None:
self._load_settings()
return self.settings
def update_settings(self, settings: WatchlistSettings) -> WatchlistSettings:
"""Update global watchlist settings"""
self.settings = settings