Commit graph

49 commits

Author SHA1 Message Date
LimeDrive
cdc3d0834b refactor(debrid): switch to DLToken/EDToken/OCCredentials/PPCredentials 2026-04-04 12:14:45 +02:00
HyPnoTiiK
868379cf80 UI improvements 2026-04-01 23:05:45 -04:00
LimeDrive
d65366cce2 feat: Ajouter la gestion du cache local Postgres avec des paramètres de résultats minimum et de durée de validité 2026-04-01 15:37:54 +02:00
LimeDrive
fb019a85bf feat(search): add configurable indexer search phases and RealDebrid optimization
Introduce a 4-phase search system where private indexers are grouped by priority:
- Phase 1 (priority_private): always queried first
- Phase 2 (intermediary_private): queried only if private results < minCachedResults
- Phase 3 (fallback_private): queried only if still insufficient
- Phase 4 (public): Yggflix relay position controlled by yggflixPriority toggle

Add rdMinCachedBeforeCheck setting to skip RealDebrid if prior services already found enough cached results, since RD API is slow (~3s) and rate-limited. Default to 3.

Non-blocking magnet cleanup in AllDebrid availability checks via background task. G3MINI now computes info_hash from .torrent files when API omits it. Public indexer results are excluded from final matches unless already cached by a debrid service.
2026-03-30 17:49:18 +02:00
LimeDrive
0d0c238383 feat(trackers): add support for ABN, G3MINI, and TheOldSchool UNIT3D indexers
Remove deprecated Sharewood tracker integration and add three new private trackers:
- ABN (Abnormal): keyword-based search with name filtering
- G3MINI (Gemini Tracker): TMDB/IMDB ID-based filtering
- TheOldSchool: TMDB/IMDB ID-based filtering

Includes new API clients, result parsers, and service layers. Updates frontend UI, settings configuration, and credential handling to support the new indexers with proper passkey management.
2026-03-30 14:23:20 +02:00
LimeDrive
7755a78842 feat(security): add Fernet encryption for config tokens and CSRF protection
- Implement Fernet encryption for configuration URLs to protect sensitive user settings
- Add CONFIG_SECRET_KEY environment variable for key derivation
- Add server-side /api/config/encode endpoint for secure config token generation
- Add CSRF token generation and validation for all admin POST routes
- Auto-inject CSRF tokens into admin forms and AJAX requests via JavaScript
- Update frontend to use async server encoding instead of client-side Base64
- Add localStorage fallback for config restoration on /configure pages
- Maintain backward compatibility with existing Base64-encoded URLs
- Log warning at startup if CONFIG_SECRET_KEY is not configured
- Convert debug logs to trace level in TorrentSmartContainer for reduced noise
2026-03-30 01:18:08 +02:00
LimeDrive
bdc09d69f7 fix: apply compatibility fixes for new admin architecture 2026-03-29 17:54:55 +02:00
LimeDrive
ce2e88a24d refactor: Supprimer le cache public et les références associées 2026-03-25 03:36:36 +01:00
LimeDrive
7074387c3a feat: Implement StremThruDebrid integration with new SDK
- Added StremThruDebrid class for handling debrid operations using StremThru as backend.
- Introduced StremThruSDK for API interactions, including health checks and request handling.
- Created error handling with StremThruError for better error management.
- Updated torrent_smart_container to use the new StremThruDebrid class.
- Added necessary utility functions and data structures for managing magnet and torrent data.
- Implemented caching and session management for improved performance and reliability.
2026-03-25 02:23:56 +01:00
LimeDrive
93ec64eb4a fix: update StremThru handling and improve torrent file processing in cache pre-fetch 2026-03-24 17:16:30 +01:00
laster13
3066565735 Ajout Generation Free 2026-03-19 16:42:48 +00:00
laster13
eecceadc9f La-Cale et YggLeak 2026-03-16 15:12:27 +00:00
Telkaoss
4fc4a5cacc update 2026-03-02 11:32:28 +01:00
Telkaoss
30f28b8da5
Update config.js 2025-05-27 15:55:37 +02:00
Telkaoss
972107876f
Update config.js 2025-05-11 03:31:49 +02:00
Telkaoss
c76df27bca Stremthru 2025-05-05 05:45:09 +02:00
Telkaoss
1530d0557c Stremthru, async ++
Async Streaming: Converted key methods (fill_buffer, stream_content, close, get_stream_link, head_playback) to async for non-blocking streaming and improved scalability.

🔄 Unified Stremthru: Full refactor with dynamic STORE_CODE_TO_NAME / STORE_NAME_TO_TOKEN_KEY mappings and propagation of store_name in all requests (add_magnet, unrestrict_link, etc.). Updated RealDebrid to delegate via Stremthru.

💾 Cache Persistence: Store valid Stremthru links in Redis (stremthru:working:{store_code}:{info_hash}, TTL 7 days) and leverage this cache to mark links as "working" even on cached results.
2025-05-04 05:34:36 +02:00
Telkaoss
33ba79f68e
Update config.js 2025-04-22 21:20:50 +02:00
Telkaoss
40283dce5a
Update config.js 2024-12-19 18:01:22 +01:00
Telkaoss
21ef3d00bb
Update config.js 2024-12-19 11:29:29 +01:00
LimeDrive
abe500dfe2 Refactor config.js: Remove unnecessary whitespace 2024-10-03 15:10:51 +00:00
LimeDrive
b1a3472c66 Refactor configuration views and add TorBox unique account setting 2024-10-03 14:38:37 +00:00
LimeDrive
df10a7786a Update rank-torrent-name version to ^1.2.0 in pyproject.toml 2024-09-30 19:57:49 +00:00
LimeDrive
5dd37a0aa3 Refactoriser la configuration des comptes uniques et l'ordre des débrideurs 2024-09-30 17:30:17 +00:00
LimeDrive
b93c803953 Refactorisation de la configuration des comptes uniques et de l'ordre des débrideurs 2024-09-30 17:20:47 +00:00
LimeDrive
b3f0334b55 remove missing consol logs 2024-09-30 15:39:30 +00:00
LimeDrive
c5373b9fd5 Update version to 2.1.0: add débrid order and dll debrid config - [Feature] Add priority and download selection on debrid services #50 2024-09-30 15:38:23 +00:00
LimeDrive
949d29813e Refactor: Update configuration loading logic in config.js 2024-09-28 17:10:19 +00:00
LimeDrive
91426fc42b Refactor: Update configuration loading logic in config.js 2024-09-28 16:55:46 +00:00
LimeDrive
b7ca521fb5 Refactor theme switch and update default theme to dark mode 2024-09-23 17:14:47 +00:00
LimeDrive
9c515444c9 update 8 files 2024-09-23 16:38:16 +00:00
LimeDrive
d2f00f5ac4 Refactor .gitignore and settings.py files 2024-09-23 13:56:06 +00:00
LimeDrive
e098aa1d82 Refactor give ability to use multiple debrid service in the mean time, following where the torrent are cached 2024-09-22 17:34:07 +00:00
LimeDrive
dec37c5555 Refactor configuration settings and providers, and validate input fields 2024-09-21 19:00:24 +00:00
LimeDrive
365dacbc0c Refactor configuration settings and providers
- Remove redundant versioning in image labels
- Add unique account configuration for Real-Debrid, YggTorrent, and Sharewood
- Update display of provider fields in the configuration page
- Update Real-Debrid API headers to handle unique account configuration
- Update Sharewood and Yggflix services to use unique account configuration
2024-09-21 17:42:02 +00:00
LimeDrive
00f4d2c660 update 10 files and delete 7 files -Remove unused files and code - drop flaresolverr 2024-09-18 01:39:40 +02:00
LimeDrive
e21942eb1a v1.4.0 - add hevc in exclude possility 2024-09-16 21:09:15 +02:00
LimeDrive
d2d98e1cf3 v1.3.0 - add option in config for catalogs 2024-09-16 14:15:08 +02:00
LimeDrive
f9cd5c5493 update config.js 2024-08-18 15:31:31 +02:00
LimeDrive
1cd0870465 update 8 files 2024-08-18 14:20:22 +02:00
LimeDrive
e19c3089eb update config.js 2024-08-01 15:38:04 +02:00
LimeDrive
1898f967dc update token_manager.py, config.js and parse_config.py 2024-07-31 22:49:12 +02:00
LimeDrive
9ca674a255 create 1 file and update 5 files 2024-07-31 18:38:01 +02:00
LimeDrive
2368efd184 update config.js, stream_fusion/static/index.html, detection.py and yggflix_service.py 2024-07-23 22:24:52 +02:00
LimeDrive
c4bac16faa update 6 files 2024-07-22 21:26:57 +02:00
LimeDrive
b178beb1aa update config.js, stream_fusion/static/index.html and torrent_service.py 2024-07-22 14:26:28 +02:00
LimeDrive
a72a671b13 update config.js 2024-07-15 00:08:33 +02:00
LimeDrive
b8f87aeb5c update 11 files 2024-07-14 16:56:34 +02:00
LimeDrive
71e0545ccd update config html 2024-07-09 17:17:22 +02:00