Commit Graph

64 Commits

Author SHA1 Message Date
Bogdan e2fd830059 Improved http timeout handling
Co-authored-by: Qstick <qstick@gmail.com>
2023-08-27 22:42:40 -05:00
Bogdan fd9bd5f691 New: Async HttpClient 2023-08-17 20:13:56 +03:00
Bogdan cc27107668 Use 'var' instead of explicit type
(cherry picked from commit 12374f7f0038e5b25548f5ab3f71122410832393)

Closes #3749
2023-05-28 17:23:59 +03:00
ta264 87e702cbef Fixed: Don't buffer update package to memory when downloading
(cherry picked from commit 63654b99f22b87b42acd699ac5b453f2de20211f)

Closes #3639
Closes #3641
2023-05-09 14:04:31 +03:00
Qstick 1bc0b5f950 Enable all analyzers and enforce code style on build
Fixes #3406
Fixes #3407
Fixes #3408
Fixes #3409
Fixes #3410
Fixes #3411
Fixes #3412
Fixes #3413
Fixes #3414
Fixes #3415
Fixes #3416
Fixes #3417
Fixes #3418
Fixes #3419
Fixes #3420
Fixes #3421
Fixes #3422
Fixes #3423
2023-04-11 21:31:27 -05:00
Mark McDowall fd463ad283 New: IPv6 support for connections/indexers/download clients
Closes #3168

(cherry picked from commit 1b90fbcf7df2c1086da4791c6491771924b1b7aa)
2022-12-11 19:00:18 -06:00
luz paz 7d8a4abc8e Fix various typos
Found via `codespell -q3 -S ./yarn.lock,./src/NzbDrone.Core.Test,./src/NzbDrone.Core/Localization -L bitap,tempdate,uptodate`
2022-11-03 10:44:26 -05:00
Qstick 62ae8ff1dc Ignore brotli test on osx
(cherry picked from commit 2afe6af5a6dac26fe9d2c20e806a93b621e18bbf)
2022-10-30 19:03:37 -05:00
Qstick 35651df049 Use modern HttpClient
Co-Authored-By: ta264 <ta264@users.noreply.github.com>
(cherry picked from commit 4c0fe62dda7ba87eec08d628f79e4fae8fdb1a0f)
2022-09-26 17:18:11 -05:00
Qstick 947ad15af0 New: Build on Net6 2021-12-24 14:17:17 -06:00
Qstick 57bd659f4c New: Even More Mono Cleaning 2021-06-30 23:52:24 -04:00
Qstick d198c9987e Fixed: Don't fail entire import if Validation error on list item
Fixes #2021
Fixes #2133
2021-04-01 22:47:15 -04:00
Taloth Saldono baa1fe4602 Fixed: Qbittorrent api errors when only one of two seed criteria was configured
closes #2099

(cherry picked from commit 652d44722b96a7a830ec45fe83260ddcecc525a7)
2021-04-01 22:03:16 -04:00
Mark McDowall b63dde0298 Fixed: Parsing of URLs with double slashes in the path 2020-12-17 08:08:26 -05:00
Qstick 3f96208c41 Fixed: Use Proxy for MediaCovers and Metadata 2020-10-13 23:19:30 -04:00
Qstick 3af96f1863 Fix HttpClientTests, Use Servarr HttpBin Mirror 2020-10-13 23:19:20 -04:00
Qstick a4b78b44ce StyleCop (#1058)
* Stylecop Rules and Fixes
2020-10-13 23:18:09 -04:00
ta264 8fe924fdcd New: Multi target net framework 4.6.2 and net core 3.0 2020-10-13 23:18:02 -04:00
Qstick 041e28fbb9 New: FluentAssertions to 5.9.0 2020-10-13 23:14:59 -04:00
Qstick 38448333b2 Fixed: Bump 0.7.2, Allow update to 0.8+ netcore builds 2020-10-10 21:51:02 -04:00
Taloth Saldono 26c8768931 New: Removed libcurl http fallback since mono 5.16+ doesn't need it. Also bumped minimum mono version check to 5.16 (5.20 is the best choice atm) 2019-08-31 17:18:18 +01:00
Qstick acfe2ceef4 Fixed: Change HttpClientFixture links to HTTPS 2019-03-08 22:15:18 -05:00
Qstick 1e48ea58b0
New: Add qBittorrent API V2 support, Indexer seed limit Support (#653)
* Fixed: qBittorrent api v2 support (qbit v4.1+)

Co-Authored-By: taloth <taloth@users.noreply.github.com>
Co-Authored-By: Mark Bebbington <mark@thebebs.uk>

* Fixed: Magnet Link progress visualisation and adding magnet links if dht is disabled in qBittorrent

* New: Indexer Seed Limit settings applied to new downloads for qBit

Co-Authored-By: taloth <taloth@users.noreply.github.com>

* Handle Deluge v2 beta breaking change in their api.

closes #2412

* Fixed: Codacy Format Issues
2019-03-03 21:53:46 -05:00
Qstick 307c989409
Revise cookie handling (#315)
* Fixed: Revised handling of cookies in case of redirects.

* Revised deletion of cookies.
2018-04-22 19:49:08 -04:00
Qstick 1451a63c06 Rename Sonarr References in Backend 2017-10-30 22:25:19 -04:00
Taloth Saldono 2fc58115a0 Fixed: Changes in http redirect logic causing failed grabs and >25% cpu usage. 2017-10-29 00:42:50 -04:00
Taloth Saldono cc0a6dc8da Disable test on mono managed http. 2017-10-29 00:30:17 -04:00
Taloth Saldono 96d97f873a Fixed: http->https redirects do not use the tls1.2 curl fallback.
fixes #2082
2017-10-29 00:29:22 -04:00
Qstick 311df71acf Fixed HttpUri parsing of domain names with underscores 2017-10-28 23:38:21 -04:00
TCBWZA b7a46a9e51 Update internal URL's to point to lidarr.audio 2017-04-28 16:55:18 +02:00
Matthew Despain 20c8dec50a First round of refactoring. 2017-03-29 21:49:38 -06:00
Mark McDowall ebcce05588 Fixed: Parsing headers that have a trailing semi-colon
Fixes #1749
2017-03-09 15:40:13 -08:00
Keivan Beigi 54bc642476 Fixed: OS Version detection shouldn't break user agents. Fixes #1611 2017-01-05 10:25:05 -08:00
Keivan Beigi ad7d571b24 New: Better platform detection specifically for Non-Windows Systems 2017-01-03 18:37:23 -08:00
Keivan Beigi 0214c8e0f0 Removed unused using statements 2016-12-23 13:45:24 -08:00
margaale 8d776abb48 Fixed: Handle download clients sending invalid content-type header.
DownloadStation incorrectly surrounds charset with double-quotes. whereas the http standard specifies they must be without quotes.

fixes #1586
2016-12-20 20:54:44 +01:00
Taloth Saldono c4a3bc3d2f Fixed cookie tests with expired dates. 2016-07-22 00:34:18 +02:00
Taloth Saldono 9ea753011b Added round-robin over httpbin.org hosts for httpclient tests. 2016-05-21 23:02:02 +02:00
Taloth Saldono b479064abd Moved Proxy types around and refactored/renamed a few things. 2016-04-25 21:53:26 +02:00
Taloth Saldono 3a162be265 CombinePath now simple, uri resolve done via operator and CombineRelativePath. 2016-04-05 23:42:10 +02:00
Mark McDowall 502298aab9 Cleanup HttpUri.PathCombine 2016-04-03 18:47:43 -07:00
Taloth Saldono 23871503a2 Replaced Uri with HttpUri. 2016-03-11 20:36:01 +01:00
Taloth Saldono 2ffbbb0e71 Refactored HttpRequest and HttpRequestBuilder, moving most of the logic to the HttpRequestBuilder.
Added ContentSummary to be able to describe the ContentData in a human readable form. (Useful for JsonRpc and FormData).
2016-03-11 20:35:58 +01:00
Taloth Saldono 7e1c444c02 Fixed: Curl Fallback should ignore invalid cookies. 2015-12-24 19:30:16 +01:00
Taloth Saldono aac4938598 Fixed handling cookies in different system languages.
fixes #896... hopefully
2015-10-25 22:57:37 +01:00
Taloth Saldono fe76d0f98f Refactored the HttpDispatchers. 2015-10-10 22:20:17 +02:00
ta264 4be0fe1b76 Add tests for CurlHttpClient and fix the failures 2015-10-04 11:11:58 +01:00
Taloth Saldono ccfa13e383 Replaced built-in valuetypes with language keywords. 2015-10-03 21:14:06 +02:00
Taloth Saldono 57afa668e1 Fixed: Removing torcache url query params to avoid redirect.
fixes #799
Removing query param was cleaner coz it avoids spoofing the referrer.
2015-09-21 22:01:42 +02:00
Taloth Saldono 9bcb6ff19a New: Sonarr can now update series to use another tvdbid in case when tvdb removes a duplicate and Skyhook detects it. 2015-08-12 22:07:47 +02:00