Commit graph

44 commits

Author SHA1 Message Date
Roger Far
7f60f9de5a Cleanup, fixed failing build. 2026-04-27 21:04:26 -06:00
omgbeez
5c71ecc211 Mem and CPU perf fixes 2026-04-21 22:19:06 -04:00
omgbeez
67afe189b5 Refactor TorBoxDebridClientTest to include IRateLimitCoordinator and improve test consistency across methods. Updated logging and error handling for rate-limiting scenarios. 2026-03-07 17:57:42 -05:00
Roger Far
41f816ab80 Cleanup. 2026-02-23 20:04:53 -07:00
Roger Far
81dd3dd9f8
Merge pull request #923 from omgbeez/upstream/resilience
Add resilience handler, predictive rate limit handling
2026-02-23 08:36:35 -07:00
omgbeez
2db2af4cea Fix broken download status in the UI 2026-02-20 15:59:47 -05:00
omgbeez
a023d33d90 Add resilience handler, predictive rate limit handling
- Applied to TorBox, can be extended easily to other providers
- Reads response headers commonplace for pre-emptive rate limit throttling and retry-after
- When a rate limit is reached, displays a warning in the UI
- Fix socket leak from direct allocation of HttpClient, replaced with factory which handles pooling and re-use of sockets.

While HttpClient is Disposable, it doesn't gaurantee (and does not) directly release underlying sockets for queries at the time the client is disposed. These sockets will go into a TCP WAIT state often for a very long time. The expected pattern in C# is to always use the HttClientFactory which will correctly handle re-use of the OS sockets in suqsequent queries reducing resource and memory leaks.
2026-02-20 09:47:13 -05:00
omgbeez
33d8c2d825 Align Sabnzbd status reporting with updated TorrentStatus values. 2026-02-13 17:08:51 -05:00
omgbeez
e93e4f6f22 Usenet support 2026-02-13 13:15:57 -05:00
Roger Far
580c7132c6 Cleanup. 2026-02-11 20:22:28 -07:00
Roger Far
01a26c614b
Merge branch 'main' into upstream/websocket-perf 2026-02-11 20:04:57 -07:00
Roger Far
a9648248f4 Global formatting. 2026-02-11 19:44:49 -07:00
Roger Far
24321a55c9 Upgrade Angular to 21 and .NET to 10. 2026-02-11 19:40:23 -07:00
omgbeez
9454ea1bd1 Refactored torrent and download models with DTOs to simplify serialization and API responses. 2026-01-17 12:23:16 -05:00
destrodxbad
27398ba993 Add automatic disk space monitoring for Bezzad downloader 2025-11-09 03:05:56 +01:00
Cucumberrbob
74e6d2cf95
don't add torrents straight to debrid provider, add to queue first, dequeue in TorrentRunner 2025-03-21 13:09:59 +00:00
Roger Far
a356632d50 Upgrade to MonoTorrent 3.
Catch infringed files from Real-Debrid and return a Failed. on qBittorrent.
2024-07-28 21:21:09 -06:00
Roger Far
bec2dcd20b Add internal downloader logger. 2024-04-06 16:28:03 -06:00
Roger Far
3b72463663 Added bit of logging to debug downloader issues, upgraded packages, cleaned up C# code. 2024-04-06 13:54:58 -06:00
Roger Far
b0823f596d Add regex option to include or exclude files. 2024-02-12 21:39:02 -07:00
Roger Far
6ad6da5679 Add extra request logging. 2023-09-20 20:28:06 -06:00
Roger Far
b6c79d32a7 Add anonymous authentication. 2023-03-08 20:28:09 -07:00
Roger Far
007e154d8d Added missing migration, fixed watch folders. 2022-05-14 08:09:15 -06:00
Roger Far
e3b38d2834 Add nullable to the projects. 2022-05-13 18:51:04 -06:00
Roger Far
cd6002b5d6 Upgrade packages
Moved C# code to file scoped namespaces
Merged Startup.cs and Program.cs
2022-04-30 11:22:15 -06:00
Roger Far
8774243d2f Add AllDebrid support. 2021-10-30 18:48:32 -06:00
Roger Far
b3dd856410 Add retry count as a setting per torrent and global.
Add error status on the torrent itself too.
Improved torrent retrying.
2021-10-30 10:25:53 -06:00
Roger Far
d16e7f0c88 Changed the Aria2 updates to be done in the main TorrentRunner loop instead of each downloader making their own connections.
Added checks if Aria2 links actually got added.
Improved debug messages and set Microsoft message to Warning.
Abstracted the RealDebrid client into a ITorrentClient.
Add retry mechanism for server errors from RealDebrid.
2021-10-27 14:55:46 -06:00
Roger Far
6ac0265d2d Add priority mechanishm and support for sonarr priority.
Changed to have /torrents/files return only files that are selected.
Add pause/unpause from Sonarr/Radar. Works only for Aria2.
2021-10-24 10:40:59 -06:00
Roger Far
3ee687f615 Created a separate page for torrent into, added download retrying per file. 2021-07-18 22:46:17 -06:00
Roger Far
fa11dc9bc7 Big update on the add download and setting screens which are now proper pages instead of modals.
Fixed issue where it would slow down on waiting for RealDebrid generating links for downloads.
2021-07-18 17:29:45 -06:00
Roger Far
e4d522b00e Upgrade packages, clean up some small things. 2021-07-18 14:17:13 -06:00
Roger Far
3e1b30ad1a Add a retry button in the interface.
Fixed issue with some downloads not processed.
Fixed issue with deletion and files in use.
2021-03-13 08:04:03 -07:00
Roger Far
5265a8b442 Changed the unrestrict process to only unrestrict when the download is starting. 2021-03-10 17:56:54 -07:00
Roger Far
3598b1f218 Fixed category setting when adding a torrent from Sonarr or Radarr. 2021-01-13 19:15:00 -07:00
Roger Far
67532645aa Fixed status columns, separate downloads and files in the detail list.
Add UnpackLimit setting.
2021-01-12 20:42:06 -07:00
Roger Far
8f35952f90 Improved statuses, add more actions. 2021-01-10 15:59:44 -07:00
Roger Far
a27bd37991 Refactored download processor. 2021-01-09 19:51:36 -07:00
Roger Far
731daddc99 Improved logging and fixed queued failure handling. 2020-04-18 08:07:06 -06:00
Roger Far
f4ae266d19 Add unraring progress and default auto download / auto remove options. 2020-04-11 12:56:44 -06:00
Roger Far
bfba5c99fb Switched out RDNET Dll with Nuget package, update Angular. Rewrote Download handler and removed references to Hangfire. 2020-04-10 16:48:33 -06:00
Roger Far
443843b146 Add the QBittorrent proxy 2020-04-07 10:22:18 -06:00
Roger Far
61535b41a3 Add authentication 2020-04-05 14:40:01 -06:00
Roger Far
f77c1860de Added most functionality on the client and serverside 2020-04-04 15:12:04 -06:00