Commit graph

5 commits

Author SHA1 Message Date
10ho
bfa4c973d8 fix(database): harden backup imports against lock contention 2026-08-10 00:16:41 +02:00
10ho
65cbe06bbc fix(admin): persist sessions across restarts
Store hashed admin session tokens in the database, validate them asynchronously across all protected routes, remove them on logout, and clean expired sessions during maintenance.
2026-08-09 23:24:37 +02:00
10ho
c077af5b35 fix(urls): canonicalize mirror domains by exact hostname match
canonicalize_url used a plain substring replacement, rewriting any URL whose path or query happened to contain a mirror domain. Parse the URL and compare the hostname instead, preserving userinfo, port and IPv6 hosts.

Register the trbbt.net, turb.cc, turb.pw and rg.to mirrors, and drive the startup migration from DOMAIN_ALIASES instead of hardcoding two domains.
2026-08-03 18:27:06 +02:00
10ho
1cab0df19f v3.7.0: admin dashboard editing, DB & config backup, resilient playback
FIX:
- WASource: series <-> movie conversion now works both ways (was movie -> series only)
- Turbobit: canonicalize mirror domains (trbt.cc / turbobit.cc -> turbobit.net)

ADD:
- WASource: editable IMDB ID from the dashboard
- Admin: export / import of the database data (backup)
- Admin: all settings editable from the dashboard (values set in the .env stay read-only)
- Admin: content cache browser (Cache tab) to view cached content / links
- Config: resilient playback (fallback + racing), configurable in the user config
- Config: export / import of the user config on the /configure page (credentials excluded)
- Pastebin: multi-host support via known-domain detection (now also supports 1fichier links, etc.)
- Pastebin: recursive automatic link discovery (index -> content)
2026-07-17 21:44:29 +02:00
10ho
8f55e69d2f Initial commit 2026-04-05 15:23:21 +02:00