Commit graph

19 commits

Author SHA1 Message Date
LimeDrive
e8b0976332 refactor(logging): switch info/debug logs to trace across modules
convert info/debug logs to trace across modules for deeper diagnostics
without changing behavior
2026-04-03 12:09:26 +02:00
LimeDrive
3d3372a4bd feat: add scheduled tasks admin page with auto-refresh and job management
- Implemented a new HTML page for managing scheduled tasks in the admin panel.
- Added JavaScript functionality for auto-refreshing job statuses and triggering jobs manually.
- Enhanced job result display with relative time and duration formatting.
- Introduced a toast notification system for user feedback on job actions.

fix: update Redis cache key generation to include a prefix

- Modified the Redis cache key generation to prepend "search:" to the hashed key for better organization.

refactor: improve Yggflix API search functionality

- Added an optional parameter to the search_movie method to specify the search type.
- Implemented a fallback mechanism to broaden search if initial results are insufficient.

chore: enhance Yggflix service with improved result handling

- Introduced a threshold for retrying searches with a broader query type based on result ratios.
- Increased the limit for sorted results from 50 to 100.

feat: add maintenance endpoints for managing expired API and peer keys

- Created endpoints to disable expired API keys and peer keys in the admin panel.
- Added functionality to clean orphan torrent items based on a specified age.

feat: integrate scheduler into the application lifecycle

- Initialized a database cleanup scheduler during application startup.
- Ensured proper shutdown of the scheduler during application termination.
2026-04-02 00:52:11 +02:00
LimeDrive
62fb267622 refactor(logging): optimize log levels and enhance secret redaction
Convert verbose debug messages to trace level for cleaner production logs, improve secret redaction patterns to handle JWT tokens and API key parameters while preserving parameter names, and standardize log messages to English for consistency across the codebase.
2026-03-25 16:56:32 +01:00
LimeDrive
ce2e88a24d refactor: Supprimer le cache public et les références associées 2026-03-25 03:36:36 +01:00
Telkaoss
4fc4a5cacc update 2026-03-02 11:32:28 +01:00
Telkaoss
c76df27bca Stremthru 2025-05-05 05:45:09 +02:00
Telkaoss
e3ed8b57f4 update 2025-05-04 09:31:01 +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
LimeDrive
c2bd07e11e Refactor TorrentItem class: Add privacy attribute 2024-10-16 21:10:28 +00:00
LimeDrive
66dbf4ae60 refactor: 🎨 ++ clean logs and torbox test/rf 2024-10-09 13:19:42 +00:00
LimeDrive
b73f2d9070 log refractor and put redis on configurable database. 2024-09-23 11:23:55 +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
47913db1cc Refactor Redis cache close to use async/await 2024-09-21 00:48:53 +02:00
LimeDrive
851e0d3e1f Update TODO list for tree. 2024-09-18 02:30:05 +02: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
f356f7939a Update Dockerfile and pyproject.toml 2024-09-10 14:19:36 +02:00
LimeDrive
a7b465f983 update settings.py and cache.py 2024-07-10 14:00:14 +02:00
LimeDrive
50f971971d update 20 files config refractor 2024-07-10 13:31:28 +02:00
LimeDrive
6fe4fe55f3 init 2024-07-09 04:13:29 +02:00