Commit Graph

34 Commits

Author SHA1 Message Date
Nathan Holland 571c52a0f2 Feature/netcore preparation (#2072)
* Use platform detection that works on mono 4.6+

* Move to use package reference for restoring nuget packages.

* DateTimeRoutines does not have Nuget packages that support .NET Standard (and therefore .NET Core). We will have to include them for now until we can get rid of this dependency.

* Start spliting some interfaces into their own files - this will help by allowing us to split them out in the future into a seperate project so the actual implementations can stay within their respective architectures when required

* Move out common libraries

* Few more tidy up tasks to get things working with .NET Standard

* Restructure the solution layout

* Encoding work to reduce rework later on platforms without Windows codepages (or require compliance with RFC1345)

* Move folder structure around to have more natural layout of the solutions

* DI server configuration to get rid of "temporary" hack and dependency circle for serverservice

* Make all encoding consistent to match the expected encoding casing for earlier versions of mono.
2017-11-05 20:42:03 +11:00
Andy Simons 570ea5bb51 UI proxy settings (#2043) 2017-10-31 20:45:30 +11:00
Nathan Holland 8a6b9d4de7 Feature/netcore preparation (#2035)
* Move to use package reference for restoring nuget packages.

* Return a task result for this async method.

* Update to a supported version of the .NET Framework. This also has the side effect of allowing us to automatically generate our binding redirects on build.

* Set the solution to target VS2017

* Update test solution csproj file to support being built through MSBuild 15

* Move to use package reference for restoring nuget packages.

* Return a task result for this async method.

* Update to a supported version of the .NET Framework. This also has the side effect of allowing us to automatically generate our binding redirects on build.

* Set the solution to target VS2017

* Update test solution csproj file to support being built through MSBuild 15

* DateTimeRoutines does not have Nuget packages that support .NET Standard (and therefore .NET Core). We will have to include them for now until we can get rid of this dependency.

* Move the interfaces into their own files. This will be useful when we share them between the .NET Core and .NET Framework WebAPI

* Stage services that need to point to the new interface namespace.

* Update CurlSharp to fix memory leak issue and support better runtime compatibility with OSX and Linux

* Start spliting some interfaces into their own files - this will help by allowing us to split them out in the future into a seperate project so the actual implementations can stay within their respective architectures when required
2017-10-29 21:19:09 +11:00
kaso17 a8f80ca60e Revert "HttpWebClient: Add certificate whitelist warnning"
This reverts commit b9d3592f3a.
2017-10-17 19:11:32 +02:00
kaso17 b9d3592f3a HttpWebClient: Add certificate whitelist warnning 2017-10-17 18:38:35 +02:00
kaso17 7423e3f5bc add workaround for mono relative redirect bug 2017-08-28 11:01:45 +02:00
kaso17 d03cbefa57 IWebClient: add EmulateBrowser flag 2017-08-11 16:52:58 +02:00
flightlevel f2def1f615 Normalise Line endings (#1284)
* Add .gitattributes

* Normalise line endings
2017-04-15 18:45:10 +10:00
kaso17 95a6c5bba4 set DefaultConnectionLimit 2017-03-20 20:11:26 +01:00
kaso17 9d96821c20 Fix empty PostData handling 2017-03-06 12:17:38 +01:00
kaso17 cdd9411d5d Add support for self signed certificates 2017-02-28 20:05:57 +01:00
kaso17 4fbfc4e795 Fix cookie handling in mono 4.8 environments 2017-02-26 08:53:27 +01:00
kaso17 3b3420086f fix cookie handling 2017-02-24 17:35:21 +01:00
kaso17 cf71f719fc improve cookie handling 2017-02-21 15:30:03 +01:00
kaso17 7a9fa6684e HttpWebClient: Attempt to fix "Too many open files" in unix environments 2017-02-20 19:39:16 +01:00
kaso17 c8c308e5ec HttpWebClient: use TryAddWithoutValidation for headers 2017-02-15 20:47:58 +01:00
Ashleigh Hopkins d9afee215d Add support for gzip'd content (affects an IPTorrents alt URL) (#1) (#920) 2017-01-09 13:12:31 +01:00
kaso17 e476233f07 HttpWebClient: add support for Referrer 2017-01-03 15:04:49 +01:00
kaso17 d499c291b9 WebRequest: make encoding configurable (#816) 2016-12-06 14:56:47 +01:00
kaso17 3f629ba7d2 automatically decode CloudFlare protected emails 2016-12-06 09:40:38 +01:00
kaso17 e7918bddbc Add Windows support for the IgnoreSslErrors option (#594) 2016-11-09 18:26:32 +01:00
Jason Light 3dbe5774d7 Re-added AnimeTorrents (#600)
* Fixed cookies not ending in ";" being ignored.
* Re-add AnimeTorrents tracker

* Forgot Project File ~_~

* Updated README.md
2016-10-30 16:24:49 +01:00
flightlevel 1fdd165d2e CloudFlare support for Windows (#489)
CloudFlare support for Windows
2016-09-06 21:55:18 +10:00
flightlevel 2644fd813e Bluetigers fix SSL issue (#346) 2016-05-18 20:33:37 +10:00
flightlevel 0746616b43 Revert "SSL Fix by default, Now use TLS (1.2, 1.1, 1) by default" (#339) 2016-05-14 22:42:16 +10:00
JigSaw 28199ab4be SSL Fix by default, Added support of TLS 1.1 & 1.2 (#337)
* SSL Fix by default, Now use TLS (1.2, 1.1, 1) by default
* Workaround to use TLS 1.2 & 1.1 on Mono < 4.3
2016-05-14 00:46:56 +02:00
garreth.jeremiah@gmail.com f4129dc4a0 Added simple (non-auth) proxy support including processing the second set of headers (server) vs first (proxy). New command line option (-j 127.0.0.1:8888) to set the proxy and port. unfortunatly both -p and -x were already taken
extended refresh header handling to libcurl and safecurl
also some minor tweaks needed to have Curl 'behave' with certain servers by adding accept-language header to Curl
Added ability/template to allow the user to select their own SiteURL (see BitSoup implementation) with a minor update to ConfigurationData class to prevent the "display text" from disappearing on errors.
XSpeeds indexer - updated to handle a case where the returned XML occasionally is null terminated resulting in XML parsing exceptions
BitSoup indexer - added user customizable url selection, including some url validation
BaseIndexer - cleaned up some of my earlier implementation for accumulating cookies.
2015-12-24 22:26:39 -05:00
garreth.jeremiah@gmail.com ce351dd3aa Corrected typo in response.statusCode to response.StatusCode 2015-12-18 12:08:36 -05:00
garreth.jeremiah@gmail.com 44d6ac2f04 Run - added parsing of the http response headers to examine the Refresh header if the response is a 503 (service unavailable). Extract the redirect and redirect delay from the header and follow it. This is to avoid the alternative of trying to calculate the cloudflare challenge/response. 2015-12-18 12:03:38 -05:00
KZ 982300ec6e Complete BTNv1 and Fix Cloudfare cookies 2015-09-30 21:21:43 +01:00
KZ c7656971a2 Implement animetorrents #150 2015-08-25 21:30:32 +01:00
unknown 0a8d9d3447 Abstracted & unified indexer config logic (logins are now saved), implemented indexer config migrations, fixed nCore implementation 2015-08-03 15:38:45 -06:00
KZ 796bb70421 Fix: Redhat/NSS based libcurl not being able to access certain indexers 2015-07-31 20:27:59 +01:00
KZ 922583ea5d Fix compilation under mono #117. Allow explicit web client selection. Init curl at application start. 2015-07-30 18:50:46 +01:00
Renamed from src/Jackett/Utils/Clients/WindowsWebClient.cs (Browse further)