Commit Graph

63 Commits

Author SHA1 Message Date
Qstick 70685de5d2 Fixed: Correctly handle relative redirects with dot segments 2023-01-11 21:20:30 -06:00
Mark McDowall 2af7fac15e New: IPv6 support for connections/indexers/download clients 2022-12-08 17:44:24 -06:00
Qstick b74c46c554 Ignore brotli test on osx 2022-10-30 13:25:34 -05:00
Qstick 09ed132fe6 Rework Cloudflare Protection Detection 2022-07-04 22:17:39 -05:00
Qstick b7b5a6e7e1 Modern HTTP Client (#685) 2022-07-04 18:37:31 -05:00
Qstick e04133d34a More Mono Cleaning 2022-01-02 23:19:47 -06:00
Qstick cb7cbb74e0 New: Build on Net6 2021-11-18 00:11:37 -05:00
bakerboy448 f4cee1d5f4 Fixed: UserAgent Parsing
Fixes #448

New - add user agent parser tests
2021-08-22 15:00:59 -05:00
ta264 95d5e0d347 Don't persist cookies across requests by default 2021-03-20 16:53:01 -04:00
Qstick cd65729239 Fix Tests that reference Radarr Site 2021-02-08 22:06:40 -05:00
Qstick 5b24fdbc20 Fix Tests 2020-12-26 16:59:23 -05:00
Qstick e1020f4107 Initial Push 2020-10-18 04:18:35 -04:00
Mark McDowall f637976530 Fixed: Parsing of URLs with double slashes in the path
(cherry picked from commit 0c7743e786749b333333d282412ff76fc10aba65)
2020-10-10 17:16:21 -04:00
Qstick 4ec71538b9 Fixed: Avoid zero-length array memory allocations 2020-10-03 21:58:31 -04:00
Qstick 0198c7a3b1 Fixed: Use Length/Count property instead of Enumerable.Count method 2020-10-03 21:58:31 -04:00
Qstick 658f6922c2 Fixed: Use Proxy for MediaCovers and Metadata (#4916)
[common]

Co-authored-by: Soroush <soroush@falahati.net>
2020-08-26 23:01:34 -04:00
Qstick afada848c8 Change Missed http instances to https in HttpClientFixture 2020-06-29 22:01:32 -04:00
Qstick a946d5886c Use HTTPS for httpbin tests 2020-06-21 15:13:38 -04:00
Qstick 28e6e4ed7b Update HttpClientFixture.cs 2020-06-20 16:59:05 -04:00
Taloth Saldono 42b4a03eb4 Fixed redirect test 2020-02-25 22:34:05 -05:00
ta264 f02fa629cc Reformat and apply Stylecop rules 2019-12-27 20:40:13 -05:00
ta264 c6ae0bb509 Add missing new lines at end of files 2019-12-27 20:40:13 -05:00
ta264 057829c3b0 New: Multi target net framework 4.6.2 and net core 3.0 2019-10-15 20:22:50 -04:00
Qstick 7f221c7834 Fixed: Automation/Integration/Unit Tests 2019-09-03 23:21:15 -04:00
Qstick b89c7b8675 New: Convert to New CSProj Format
Co-Authored-By: taloth <taloth@users.noreply.github.com>
2019-09-03 23:21:15 -04:00
Qstick 612d948eba Fixed: Some Tests and Added New Ones 2019-07-09 22:05:32 -04:00
Qstick d178dce0d3 Fixed: Backend/Frontend Cleanup 2019-06-30 00:58:54 -04:00
Qstick aef89160e2 Added: Platform Detection Improvements 2019-06-11 22:06:19 -04:00
Leonardo Galli 6eb678cd92 Added: Radarr now stores cookies for PTP beyond restarts. Should limit active sessions correctly. (#2643)
Fixes #2626
2018-04-01 20:21:24 +02:00
Leonardo Galli a48793edd2 Fixed: Changes in http redirect logic causing failed grabs and >25% cpu usage. 2018-03-04 16:01:40 +01:00
Leonardo Galli 799a448544 Fixed: http->https redirects do not use the tls1.2 curl fallback.
fixes #1862
2018-03-04 15:57:02 +01:00
Mitchell Cash 3b3fe197ca Fixed: Parsing headers that have a trailing semi-colon (#1117) 2017-03-10 22:27:26 -05:00
Leonardo Galli 7cfa0531dc Fixed all tests and even added some new ones :) (#835)
* First fixing of tests.

* Updated more tests.

* Fix some tests

* Fix all prioritization tests.

And add new for preferred words.

* Updated CompletedDownloadservice tests

* Fixed a lot of tests

* Fixed all indexer requests. We should add more for the indexers we added.

To lazy for that though ¯\_(ツ)_/¯

* Fixed organizer tests.

Should probably be also updated to incorporate our newly added tags.

* Fix notification tests.

* Fixed update test for osx

* Fixed a few more tests.

* Fixed some more tests.

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update activity.less

* Update appveyor.yml

* Update appveyor.yml

* Update CommonVersionInfo.cs

* Update build-appveyor.cake

Let's hope this works.

* Update CommonVersionInfo.cs

Just to kickstart appveyor

* Fixed a few tests

* Just ignore those tests.

* Fixed more tests.

* First steps in fixing Core.Test.Download.DownloadApprovedFixture

* Fix most DownloadApprovedFixture tests

* Fixed something.

* Fixed a few more tests.

* Fixed pending release tests.

* All Core tests are now fixed.

* Fixed the last tests :)

* Fixed Download Station Tests.

* Fixed Vuze and Transmission default settings which caused the tests to fail.

* Fix most tests.

* Fix RootFolder tests.

* Fixed last tests
2017-03-06 22:23:25 +01: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
Taloth Saldono a1bfecedcd Removed duplicate test. 2015-07-20 21:29:51 +02:00