Commit graph

68 commits

Author SHA1 Message Date
Roger Far
a9648248f4 Global formatting. 2026-02-11 19:44:49 -07:00
Cucumberrbob
0461058d86
set user agent for all HttpClients from IHttpClientFactory 2025-06-14 14:02:39 +01:00
Roger Far
d436ea2482 Merge branch 'main' of https://github.com/rogerfar/rdt-client 2025-04-13 07:55:26 -06:00
Roger Far
c651d21e81 Cleanup, upgrade packages. 2025-04-13 07:55:22 -06:00
Roger Far
a9485827ce
Merge pull request #783 from Cucumberrbob/feat/tb-optional-zipping
[TB] Make zipped downloads optional
2025-04-13 07:55:05 -06:00
Cucumberrbob
75f115fd42
[TB] Make zipped downloads optional 2025-04-13 14:47:12 +01:00
Roger Far
1ce3d20541
Merge pull request #769 from Cucumberrbob/fix/rd-exclude-all
fix: return number of files selected from `SelectFiles` so we can handle all files excluded for RD
2025-04-13 07:41:55 -06:00
Roger Far
88358c8272
Merge pull request #754 from Cucumberrbob/perf/tb-dont-refetch-torrentlist-in-providerupdater
[TB] use `torrentClientTorrent` (if passed) instead of re-fetching in `UpdateData`
2025-04-13 07:40:16 -06:00
Cucumberrbob
aa3f24ff50
Return number of selected files from SelectFiles so we can handle all files being excluded 2025-03-27 12:01:53 +00:00
Cucumberrbob
99ea3f008f
fix merge (again!) 2025-03-23 13:32:37 +00:00
Cucumberrbob
5a1b96b909
Merge remote-tracking branch 'origin/main' into fork/Cucumberrbob/refactor/get-download-info
# Conflicts:
#	server/RdtClient.Service.Test/Services/TorrentClients/AllDebridTorrentClientTest.cs
#	server/RdtClient.Service/Services/TorrentClients/AllDebridTorrentClient.cs
#	server/RdtClient.Service/Services/TorrentClients/TorBoxTorrentClient.cs
2025-03-23 13:30:05 +00:00
Roger Far
0b7749376a
Merge pull request #735 from Cucumberrbob/fix/tb-include-version-in-user-agent
include version when setting torbox api client useragent
2025-03-21 14:12:30 -06:00
Cucumberrbob
ab5a013edb
[TB] use torrentClientTorrent (if it's passed) instead of fetching in UpdateData
Makes `ProviderUpdater` only cause 2 API requests each run rather than `O(n)` where `n` is the number of torrents
2025-03-17 20:24:31 +00:00
Cucumberrbob
e6f7db0763
fix merge 2025-03-16 15:49:46 +00:00
Cucumberrbob
609c67e0c6
Merge branch 'master' into refactor/get-download-info 2025-03-16 15:46:36 +00:00
Cucumberrbob
93fac23128
run dotnet format 2025-03-16 15:34:25 +00:00
Sam Heinz
afc7d1a964 [TB] fix: replace Contains with EndsWith 2025-03-17 00:50:51 +10:00
Sam Heinz
7a822bef5c [TB] fix: extract folder move logic 2025-03-17 00:28:19 +10:00
Sam Heinz
bd96795f34 [TB] fix: moving hash dir files too far up 2025-03-16 20:45:34 +10:00
Sam Heinz
9d57466472 [TB] fix: download urls still not returning filename via HEAD. 2025-03-16 20:45:34 +10:00
Sam Heinz
fd7bc529c8 [TB] fix: move MoveHashDirectoryUpTB to TorBoxTorrentClient 2025-03-16 20:45:34 +10:00
Sam Heinz
ea9c90552b [TB] fix: timeout to use settings timeout val 2025-03-12 22:50:18 +10:00
Sam Heinz
087653e5b6 [TB] fix: calling fileFilter twice in getdllinks 2025-03-12 22:27:48 +10:00
Sam Heinz
85a0e7b04f [TB] fix nit about bool -> var 2025-03-12 22:18:15 +10:00
Sam Heinz
dc9c7ff050 [TB] Add downloading via zip functionality 2025-03-12 18:19:24 +10:00
Cucumberrbob
d6efff2fb5
add rest of xmldoc for DownloadInfos 2025-03-11 12:44:48 +00:00
Cucumberrbob
c50afe9e64
[TB] GetDownloadLinks -> GetDownloadInfos 2025-03-11 12:14:15 +00:00
Cucumberrbob
f8587d1bc8
fixup! include version when setting torbox api client useragent 2025-03-07 22:40:02 +00:00
Cucumberrbob
818d9f06b2
include version when setting torbox api client useragent 2025-03-07 22:26:18 +00:00
Roger Far
5c987a9057
Merge pull request #732 from Cucumberrbob/feat/reduce-torbox-api-load
feat:  [TB] Set user-agent
2025-03-07 12:22:06 -07:00
Cucumberrbob
0fd3f2a467
Set user agent for TB 2025-03-06 13:20:59 +00:00
Cucumberrbob
816c72f418
Use DownloadableFileFilter in TorBoxTorrentClient to filter files 2025-03-03 11:55:26 +00: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
Roger Far
f58b7d3e72 Refactored TorrentClientKind to Provider. Upgrade Downloader.NET 2025-02-12 20:24:22 -07:00
Cucumberrbob
26f1f26cd1
Ensure MinDownloadSize, IncludeRegex and ExcludeRegex are honoured by TorBoxTorrentClient 2025-02-07 14:43:59 +00:00
Sculas
ee9e80f7d2
fix: Only apply AllDebrid-specific path fixes to AllDebrid 2025-01-06 12:41:41 +01:00
Roger Versluis
34aec3d45d no message 2025-01-03 15:54:43 -07:00
Sam Heinz
409e47920e Revert "[TB] Download via zip if file count is over 50"
This reverts commit 6afef14855.
2025-01-02 21:21:52 +10:00
Sam Heinz
065afe9461 [TB] Set seeding based on website seeding setting
The default seed value for website dash is used to set whether to seed or not for new uncached torrents added via rdtclient
2025-01-02 13:15:42 +10:00
Sam Heinz
6afef14855 [TB] Download via zip if file count is over 50
Due to rate limiting issues this is implemented again, it works now since TB reenabled HEAD method for zip downloads on their backend
2025-01-02 13:10:36 +10:00
Sam Heinz
e21dc7279a [TB] Fix Index was out of range error
put < when shouldve put >
2024-12-28 01:36:21 +10:00
Sam Heinz
1ad3dc51dd
[TB] Fix source parameter null log spam #618 2024-12-12 17:46:46 +10:00
Roger Far
ea364eefc5 Cleanup, bump to 91.
Some checks failed
Docker Image CI / build (push) Has been cancelled
2024-12-11 20:15:25 -07:00
Sam Heinz
ac6300a504 [TB] Replace null with empty string for filenames in TorrentClient
Not sure if its better to do this or allow null value to db, but i had this originally and it worked so i think im better off leaving it for now, but idk.

Also got fix for incorrect log
2024-12-11 00:03:43 +10:00
Sam Heinz
350185b702 [TB] Refactor GetFileName in Torrent Clients 2024-12-10 23:45:13 +10:00
Sam Heinz
3364deecbb [TB] Add download state for stalledDL 2024-12-10 15:25:45 +10:00
Sam Heinz
c34c62f879 [TB] Move handling filenames from DownloadHelper to TorrentClients 2024-12-10 15:10:55 +10:00
Roger Far
165d83361b Removed InstantAvailability endpoint from AllDebrid. 2024-12-06 18:11:24 -07:00
Sam Heinz
99c30bbc4f [TB] Fix source parameter null error 2024-11-27 08:19:40 +10:00