Commit Graph

579 Commits

Author SHA1 Message Date
Sucukdeluxe
0042ce0adb Release v1.7.15 2026-03-07 17:15:15 +01:00
Sucukdeluxe
ccf4dc2e08 Fix hosterNotAvailable skipping provider cooldown in inner catch
The inner unrestrict error handler still called recordProviderFailure()
for hosterNotAvailable errors, causing provider-level cooldown escalation
(up to 180s) even though the issue is hoster-side, not provider-side.
This made auto-retry stall while manual reset worked instantly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 17:14:38 +01:00
Sucukdeluxe
b02f37cda5 Release v1.7.14 2026-03-07 17:10:07 +01:00
Sucukdeluxe
35975d7333 Fix hosterNotAvailable retry stalling due to provider cooldown
hosterNotAvailable was added to isTemporaryUnrestrictError which
triggered aggressive provider-level cooldowns (up to 180s) that
blocked ALL items for the affected provider. Since items kept
failing, the cooldown never expired (15-min reset threshold never
reached), causing retries to effectively stall.

Fix: remove hosterNotAvailable from isTemporaryUnrestrictError.
It still gets normal unrestrict retry with item-level backoff
(5s -> 120s) via isUnrestrictFailure, but without provider-wide
cooldown blocking other items.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 17:09:29 +01:00
Sucukdeluxe
8a64289924 Release v1.7.13 2026-03-07 17:02:32 +01:00
Sucukdeluxe
67fc3a8e1c Treat hosterNotAvailable as temporary error with retry
Move hosterNotAvailable from isPermanentLinkError to
isTemporaryUnrestrictError — hoster being unavailable is usually
transient (overload, maintenance) and should be retried with backoff
instead of immediately failing as "Link ungültig".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 17:01:58 +01:00
Sucukdeluxe
4bdc95a055 Release v1.7.12 2026-03-07 16:45:00 +01:00
Sucukdeluxe
8e4b29a155 Encrypted backup system + hide extracted items in package list
Backup redesign (JDownloader 2 style):
- AES-256-GCM encrypted .mdd format with fixed app key
- All credentials exported (no more ***-masking), works on any PC
- Includes settings, session AND history in backup
- Backward-compatible: auto-detects legacy JSON backups
- Normalize history entries on import
- Added debridLinkApiKeys, linkSnappy credentials to sensitive keys

Hide extracted items:
- New setting: hide completed/extracted items from package item list
- Items still count in progress stats (done/total), only hidden in UI
- Default: enabled
- Toggle in settings: "Entpackte Items in Paketliste ausblenden"

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 16:44:21 +01:00
Sucukdeluxe
0edd8f6be5 Redesign backup system: AES-256-GCM encrypted .mdd format
- Replace plaintext JSON export with encrypted binary format (JDownloader 2 style)
- Fixed app-internal key, works on any machine without password
- Export now includes ALL credentials (no more ***-masking), session AND history
- Add debridLinkApiKeys, linkSnappy credentials to sensitive keys list
- Backward-compatible import: auto-detects legacy JSON backups
- File extension changed from .json to .mdd
- MDD1 magic bytes + random IV + GCM auth tag for integrity

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 16:39:19 +01:00
Sucukdeluxe
ca534196b8 Release v1.7.11 2026-03-07 15:12:08 +01:00
Sucukdeluxe
5fbcdc1722 Cache flat-mode flag per package to skip redundant password cycles
Archives with absolute internal paths (e.g. scene groups storing full
Windows paths) fail all password attempts in normal mode at ~98%, then
succeed only after the flat-mode fallback kicks in. Previously every
archive in such a package wasted all password cycles before discovering
flat mode was needed again.

Now the first successful flat-mode extraction sets a package-level flag
so subsequent archives skip the normal loop entirely and go straight to
flat-mode extraction, saving ~4x password attempts per archive.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:11:37 +01:00
Sucukdeluxe
8cb3640057 Release v1.7.10 2026-03-07 14:39:54 +01:00
Sucukdeluxe
f5fe3efb73 Fix episode regex for rrp suffixes, skip 0-byte MKVs, prevent duplicate (2) copies
- SCENE_EPISODE_RE/JOINED_RE: use (?!\d) lookahead instead of requiring
  separator after episode number, so filenames like s09e06rrp now match
- MKV-Sammelordner: skip 0-byte files from failed/partial extractions
- MKV-Sammelordner: detect same-name same-size duplicates in target dir
  and skip instead of creating (2) copies; remove duplicate source file

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 14:39:17 +01:00
Sucukdeluxe
036d117d66 docs: sort supported providers 2026-03-07 14:21:10 +01:00
Sucukdeluxe
fabb2ae9ed docs: refresh README 2026-03-07 14:19:54 +01:00
Sucukdeluxe
f3e0e54da7 Release v1.7.9 2026-03-07 14:18:51 +01:00
Sucukdeluxe
8f6b87ae8c Fix parallel extraction wrong_password false positives, preserve session download counter across stop/resume
- Retry failed wrong_password archives serially after parallel extraction
  to recover from CRC mismatches caused by concurrent UnRAR I/O contention
- Stop resetting sessionDownloadedBytes on start/resume so the session
  total accurately reflects all bytes downloaded since app launch

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 14:18:09 +01:00
Sucukdeluxe
369d25a365 Release v1.7.8 2026-03-07 12:19:20 +01:00
Sucukdeluxe
918ec33987 Fix broken Unicode arrows in provider order and schedule cancel buttons
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 12:18:10 +01:00
Sucukdeluxe
696263ae4e Release v1.7.7 2026-03-07 04:16:03 +01:00
Sucukdeluxe
6327068fed Release v1.7.6 2026-03-07 04:12:09 +01:00
Sucukdeluxe
31c9f118e2 Release v1.7.5 2026-03-07 04:09:01 +01:00
Sucukdeluxe
c125a5a804 Release v1.7.4 2026-03-07 04:06:28 +01:00
Sucukdeluxe
c8d911c9b0 Release v1.7.3 2026-03-07 04:01:21 +01:00
Sucukdeluxe
d9276479e5 Release v1.7.2 2026-03-07 03:58:27 +01:00
Sucukdeluxe
3c37cdba85 Add account column reset button 2026-03-07 03:56:54 +01:00
Sucukdeluxe
7737a4b0da Release v1.7.1 2026-03-07 03:52:41 +01:00
Sucukdeluxe
576be53b83 Release v1.7.0 2026-03-07 02:36:41 +01:00
Sucukdeluxe
72936b7c6b Compact provider labels in package account column
Multiple accounts from the same provider are now merged:
"Debrid-Link (#3), Debrid-Link (#4)" becomes "Debrid-Link (#3 + #4)"

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 02:35:23 +01:00
Sucukdeluxe
541860db0a Release v1.6.99 2026-03-07 02:31:09 +01:00
Sucukdeluxe
dd4264a936 Fix remaining broken umlauts in main.ts and debrid.ts
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 02:30:26 +01:00
Sucukdeluxe
e212ccc86f Add daily traffic limits, auto-sort packages, Debrid-Link multi-key improvements
Daily traffic limits:
- Per-provider daily download limit (configurable in GB per provider)
- Per Debrid-Link API key daily limit (individual limits per key)
- Usage tracking with automatic daily reset at midnight
- Provider is skipped when daily limit reached, falls back to next provider
- Reset button per provider and per Debrid-Link key in account settings
- Hoster routing skips daily-limited providers gracefully

Debrid-Link multi-key improvements:
- Keys now display with labels (#1, #2...) and masked tokens in account list
- Option to show detailed per-key view with individual usage stats
- Keys that hit their daily limit are automatically skipped
- providerAccountId/providerAccountLabel stored per download item

Auto-sort packages by progress:
- Active packages automatically sorted to top during downloads
- Sorted by completion ratio, then downloaded bytes
- Toggle in settings (autoSortPackagesByProgress)

UI polish:
- Package column headers: flatter, more transparent design
- LinkSnappy mode label: "Login" renamed to "Web"
- Account list: new toggle for detailed Debrid-Link key display
- Account usage stats section with warning styling

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 02:29:48 +01:00
Sucukdeluxe
71b3612e82 Fix LinkSnappy mode label from "Login" to "Web"
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 02:26:54 +01:00
Sucukdeluxe
8e1a117cbb Fix broken German umlauts in UI (142 occurrences)
All ? placeholders in App.tsx replaced with correct UTF-8 umlauts
(ä, ö, ü, ß). File is now properly encoded as UTF-8.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 02:23:50 +01:00
Sucukdeluxe
01b6ef7bdd Release v1.6.98 2026-03-07 00:59:59 +01:00
Sucukdeluxe
68a05f2a21 Fix account settings save normalization 2026-03-07 00:55:39 +01:00
Sucukdeluxe
fba05d2add Release v1.6.97 2026-03-07 00:39:03 +01:00
Sucukdeluxe
1cbda1350e Fix absolute archive paths, show provider account number in UI
- extractor: detect UnRAR "Cannot create...\..." error (archive with
  leading-backslash internal paths) and retry in flat mode (-e) which
  strips all paths and avoids the invalid double-separator on Windows
- types/download-manager: add providerLabel field to DownloadItem,
  store full label (e.g. "Debrid-Link #1") set at unrestrict time
- App: display providerLabel in Service column (falls back to generic
  provider name if label not yet set)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 00:38:34 +01:00
Sucukdeluxe
3e2d70485c Release v1.6.96 2026-03-07 00:21:40 +01:00
Sucukdeluxe
3287504618 Fix invalid path when package name contains forward slash
sanitizeFilename() is now applied before constructing outputDir and
extractDir, so names like "TMSF/4SF" no longer produce broken Windows paths.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 00:21:14 +01:00
Sucukdeluxe
7141579289 Release v1.6.95 2026-03-07 00:04:02 +01:00
Sucukdeluxe
dfc5d73105 Fix disk-fallback extraction triggering with incomplete archive parts
When a pending item has neither targetPath nor fileName (e.g. after a
reset before re-unrestrict), it is invisible to pendingItemStatus and
the disk-fallback could incorrectly start extraction with a partial file.
Add a guard that skips disk-fallback for any archive set if the package
contains such an untracked pending item.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 00:03:31 +01:00
Sucukdeluxe
33658503a8 Release v1.6.94 2026-03-06 23:52:38 +01:00
Sucukdeluxe
9d374b97cf Fix provider order/routing respecting on restart, schedule timer on manual start
- Clear item.provider on stop/restart so provider order/routing changes
  are respected on next download attempt
- Reset item.provider for all non-completed items when providerOrder or
  hosterRouting changes in settings
- Cancel scheduled-start timer when queue is started manually
- Track disk-fallback hybrid-extract archives per session to prevent
  infinite post-processing loop

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-06 23:52:09 +01:00
Sucukdeluxe
9dd5d4eef8 Release v1.6.93 2026-03-06 23:06:35 +01:00
Sucukdeluxe
905b55e7d8 fix: provider fallback on cooldown, hoster routing dirty flag, provider order in DM 2026-03-06 23:06:05 +01:00
Sucukdeluxe
0c9bbb0153 fix: release script idempotent recovery when tag already exists 2026-03-06 22:56:30 +01:00
Sucukdeluxe
9bbeffb2df Release v1.6.92 2026-03-06 22:53:50 +01:00
Sucukdeluxe
2e6074337a feat: re-download from history, reset-all-failed, scheduled start, fix provider order dirty flag 2026-03-06 22:53:20 +01:00
Sucukdeluxe
6d6453dc4b Release v1.6.91 2026-03-06 22:18:19 +01:00