Cucumberrbob
95ef1f42b8
Add tests for DownloadStationDownloader
...
Tests:
- Downloads successfully when everything goes right first time
- Downloads successfully when the 5th api call is successful after 4 failures
- Fails to download when 5 api calls fail in a row
- Fails to download if the file has already been added to `Download Station` (when `GetInfoAsync` does not error)
- FAils to download if `remotePath` cannot be parsed by `Path.GetDirectoryName()`
2025-02-17 22:01:16 +00:00
Cucumberrbob
f4ca137e83
Add tests for Torrents#RunTorrentComplete
...
Tests:
- doesn't run command when not present
- does run command when present
- listens to events on process for stdout/stderr
2025-02-17 22:00:57 +00:00
Cucumberrbob
3dee900be6
Add test project RdtClient.Service.Test
2025-02-17 22:00:33 +00:00
Cucumberrbob
2bbbf0fd10
Use ISynologyClient (mockable) and inject IDelayProvider so SynologyTorrentClient is testable
2025-02-17 22:00:19 +00:00
Cucumberrbob
c546bd0173
Use IProcessFactory, IFileSystem in Service.Torrents#RunTorrentComplete
...
Also adds dependency injection to `Torrents#RunTorrentComplete` for `DbSettings` (`Settings.Get`)
2025-02-17 21:59:56 +00:00
Cucumberrbob
fd073b4762
Add interfaces for TorrentData, Downloads, Process, ProcessFactory
...
Making them interfaces lets us dependency inject them, allowing a given class to be tested.
2025-02-17 21:57:29 +00:00
Cucumberrbob
daf8a9c6da
DownloadHelper: use IFileSystem for testable filesystem access
2025-02-17 21:57:02 +00:00
Cucumberrbob
95307f2933
Use AllDebridNetClientFactory so AD client can be dependency-injected
2025-02-17 21:56:32 +00:00
Roger Far
fe241db5db
Upgrade AllDebrid and Downloader.NET to the latest versions.
Docker Image CI / build (push) Has been cancelled
2025-02-16 09:44:21 -07:00
Roger Far
7c3c1fb24c
Merge pull request #692 from Cucumberrbob/fix/include-exclude-pm-tb
...
[PM] [TB] Fix: Implement `IncludeRegex`, `ExcludeRegex`, and `DownloadMinSize`
2025-02-16 09:30:19 -07:00
Cucumberrbob
9299314b14
Log when rejecting files in TB GetDownloadLinks
2025-02-13 11:50:40 +00:00
Cucumberrbob
e5e64e6946
Include torrent in logs when rejecting files in PM GetDownloadLinks
2025-02-13 11:41:41 +00:00
Roger Far
1ac325e8c9
Merge pull request #689 from Cucumberrbob/docs/downloadstation-initial
...
Update `readme` to include Synology Download Station.
2025-02-12 20:35:34 -07:00
Roger Far
3b8f14cc1a
Merge pull request #688 from Cucumberrbob/docs/torbox-initial
...
Update readme to include `TorBox` in debrid services
2025-02-12 20:35:17 -07:00
Roger Far
311156f0aa
Merge branch 'master' into docs/torbox-initial
2025-02-12 20:35:06 -07:00
Roger Far
f8505edf7f
no message
2025-02-12 20:34:24 -07:00
Roger Far
09d929db17
Merge branch 'master' into docs/torbox-initial
2025-02-12 20:32:32 -07:00
Roger Far
f57ee1e53d
Merge pull request #694 from asylumexp/patch-2
...
[TB] Update TorBox.NET to v1.4.0
2025-02-12 20:27:43 -07:00
Roger Far
56c25770c3
Cleanup.
2025-02-12 20:27:29 -07:00
Roger Far
7b4facd46f
Merge pull request #680 from Wald764/pr-main-repo
...
🎉 add support of DebridLinkFr
2025-02-12 20:25:02 -07:00
Roger Far
c005bda484
Merge branch 'master' into pr-main-repo
2025-02-12 20:24:54 -07:00
Roger Far
f58b7d3e72
Refactored TorrentClientKind to Provider. Upgrade Downloader.NET
2025-02-12 20:24:22 -07:00
Roger Far
780d0e5118
Add fixes for AllDebrid and their new API.
2025-02-12 19:48:48 -07:00
Sam Heinz
82b44cccde
[TB] Update TorBox.NET to v1.4.0
2025-02-08 16:40:57 +10:00
Cucumberrbob
26f1f26cd1
Ensure MinDownloadSize, IncludeRegex and ExcludeRegex are honoured by TorBoxTorrentClient
2025-02-07 14:43:59 +00:00
Cucumberrbob
9e223de32e
Ensure MinDownloadSize, IncludeRegex and ExcludeRegex are honoured by PremiumizeTorrentClient
2025-02-07 14:40:13 +00:00
Wald764
f1bdc7d8b4
♻️ fix a reference to RD instead of DL in DebridLinkTorrentClient
2025-02-03 00:49:36 +01:00
Cucumberrbob
48766e3d44
🐛 Fix build errors by not using Torrent = in DebridLinkTorrentClient
...
use `Data.Models.Data.Torrent`instead of `Torrent` and `Download = RdtClient.Data.Models.Torrent`
2025-02-03 00:25:02 +01:00
Cucumberrbob
56a61ad012
✨ Use exact path for symlink source when using SymlinkDownloader
2025-02-02 22:11:26 +01:00
Wald764
303244127b
♻️ fix typo in Torrents.cs
2025-02-02 17:50:51 +01:00
Wald764
f2207be000
📝 update readme to include DebridLink in debrid services
2025-02-02 17:35:04 +01:00
Wald764
20fbf8833a
♻️ rename occurrences of debridlinkfr to debridlink
2025-02-02 17:19:41 +01:00
Wald764
d6d1813340
🐛 implement PR suggestions
2025-02-02 17:10:41 +01:00
Wald764
7902f56d66
🐛 endpoint /seedbox/cached removed by DebridLink
2025-02-02 16:46:35 +01:00
Wald764
4198b6ab55
🐛 fixes about the providers order and addition of GetFileName to DebridLinkFrTorrentClient
2025-02-02 16:26:46 +01:00
Cucumberrbob
a9cd30364e
Update readme to include Synology Download Station. Descriptions for configuration options taken from 047326a by YvesPa
2025-02-02 15:06:27 +00:00
Cucumberrbob
ce14a1d62e
Update readme to include TorBox in debrid services
2025-02-02 14:52:29 +00:00
Wald764
59c47bfe1a
🎉 add support of DebridLinkFr
2025-01-31 10:07:29 +01:00
Roger Far
dc2ec486d7
no message
Docker Image CI / build (push) Has been cancelled
2025-01-29 19:13:43 -07:00
Roger Far
a566f47988
Set the download client based on the torrent instead of hardcoded when upload a torrent from the web GUI.
2025-01-29 19:10:14 -07:00
Roger Far
24c759e4e6
Small fixes in the download client.
2025-01-29 19:03:38 -07:00
Roger Far
809903eebb
Merge pull request #679 from Cucumberrbob/fix/bad-download-path
...
[Fix] Revert changes to `DownloadHelper`, move AD-symlink specific fixes to `AllDebridTorrentClient.GetSymlinkPath`
2025-01-29 18:59:38 -07:00
Roger Far
ef8142453f
Merge branch 'master' into fix/bad-download-path
2025-01-29 18:59:31 -07:00
Roger Far
0a705e6720
Merge pull request #678 from YvesPa/AddDate
...
Proposition : Add request date on table for sorting
2025-01-29 18:55:55 -07:00
Roger Far
f379d4efb8
DownloadStation cleanup.
2025-01-29 18:55:24 -07:00
Roger Far
881c74f2b7
Merge pull request #670 from YvesPa/master
...
Add Synology Download Station Support
2025-01-29 18:51:16 -07:00
Cucumberrbob
0c9de86531
rename symlinkPath -> symlinkSourcePath
2025-01-29 12:19:52 +00:00
Cucumberrbob
82f0bb8bbe
Use static GetSymlinkPath on AllDebridTorrentClient to get the symlink (since the behaviour is unique to the debrid service)
2025-01-29 12:11:25 +00:00
Cucumberrbob
beb0299a0b
revert changes to DownloadHelper.cs
2025-01-29 11:07:20 +00:00
YvesPa
1e749a9bfe
Add request date on table for sorting
2025-01-28 15:08:32 +01:00