Commit Graph

123 Commits

Author SHA1 Message Date
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 7ef1ca8a00 Fixed: Tweaked ratelimit logic for rarbg api. 2016-09-29 21:42:08 +02:00
Taloth Saldono 816cf608fc Fixed: Added fallback and log errors when Tls1.2 clashes with https certificate with obsolete md5 hash. 2016-09-13 22:57:07 +02:00
Taloth Saldono 73fb216e6f New: Added CAPTCHA support to Rarbg. 2016-08-13 22:10:42 +02:00
Taloth Saldono 54c17de849 New: Http/Socks proxy support.
fixes #732
2016-05-22 15:57:38 +02:00
Taloth Saldono 229986033c Added logging of Sonarr API calls. 2016-05-11 21:13:31 +02:00
Mark McDowall e2d6d374ab Update HttpAccept.Rss to include application/xml 2016-05-10 15:18:27 -07:00
Taloth Saldono 0f1afd416b Fixed: Adjusted BTN Recent Feed (RssSync) to better use their api db indexes. 2016-05-10 21:43:34 +02:00
Lloyd Sparkes 2b11ad4585 Proxy BypassList tests
Lightly refactored and updated documentation to make it easier for users
2016-05-02 11:24:51 +01:00
Lloyd Sparkes 5fae8e7762 Updating SocksWebProxy to fix issues with POST Requests 2016-05-01 11:51:30 +01:00
Taloth Saldono b479064abd Moved Proxy types around and refactored/renamed a few things. 2016-04-25 21:53:26 +02:00
Taloth Saldono 9e7927acec Create HttpProxySettingsProvider and fixed related issues. 2016-04-25 20:22:52 +02:00
Lloyd Sparkes f807e44a39 Force to IPv4 2016-04-24 17:01:01 +01:00
Lloyd Sparkes d68abc746c Bug Fixes 2016-04-24 16:56:31 +01:00
Lloyd Sparkes 6fdbb2b659 Fix merging issues & API changes - that conflict resolution did not detect 2016-04-23 11:06:10 +01:00
Lloyd Sparkes bfe134ee54 Proxy Support for Sonarr #732
Switch to use Port #0 which just uses the next free port
Non Functional - Code Cleanup
Tabs -> Spaces,
Opps Deleted too much
Refactoring & Code Cleanup & Move Config to DB
remove unneeded line
Clean Up Spaces
Code Review Points on the UI
FIx extra space
Clean Up unrequired changes
Add a HealthCheck.
Extra Check in ProxyCheck. Correctly deal with Socks Authentication
Remove SubModule
Add in Nuget + Tweak ProxyCheck
Code Review Points
Missed Review Point
Add Subnet Filtering, Add ProxyBypass for local addresses. UI updated for property changes.
Fix typo, and copy&paste error
Tweak URL to hit
2016-04-23 10:58:02 +01:00
Taloth Saldono cc0406653a Readded logging Download Client responses. 2016-04-06 22:53:14 +02:00
Taloth Saldono 71ecc96c70 Refactored IntegrationTests to work with Nunit3 VS adapter. 2016-04-06 22:06:40 +02:00
Taloth Saldono 96b7bd3b2b Merge branch 'http-uri-combine-path' into develop 2016-04-06 21:34:20 +02:00
Taloth Saldono e1ea17cabf Fixed: uTorrent api proxy would fail on specific Win10 configurations. (The Phoenix Rises)
Moved token queryparam to start since uTorrent requires it.
Fixed handling response missing an expected Set-Cookie header.
Force Cache-Control: no-cache for uTorrent.
Added Connection: KeepAlive to fix inexplicable uTorrent api failure.
2016-04-05 23:49:28 +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 2d96914bfa Send Http auth without waiting for challenge. 2016-03-17 20:15:53 +01:00
Taloth Saldono 70494c3674 Adding magnet to qbit should use FormData not QueryParam. 2016-03-17 19:49:05 +01:00
Taloth Saldono eb70a6419c Fixed: Not uploading nzbs to Nzbget on linux since previous develop. 2016-03-17 07:53:23 +01:00
Taloth Saldono 25d481d5d9 Migrated all Download client proxies from RestSharp to HttpClient. 2016-03-11 20:36:03 +01:00
Taloth Saldono 23871503a2 Replaced Uri with HttpUri. 2016-03-11 20:36:01 +01:00
Taloth Saldono 7c54fa70d7 Added support for FormData (AddFormParameter and AddFormUpload), which automatically gets converted to multipart/form-data or application/x-www-form-urlencoded. 2016-03-11 20:35:59 +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 7818f0c59b Fixed: Don't purge xem scene mapping cache when new series gets added. 2016-03-11 17:31:06 +01:00
Taloth Saldono 6a90035a4c Updated NLog to v4.2.3. 2016-02-11 22:15:12 +01:00
Taloth Saldono e01b2ef25c Fixed some compile warnings. 2016-02-11 22:11:53 +01:00
Taloth Saldono 4e84d1a17c Fixed: Throw more specific error when there's an issue with the curl root certificate bundle. 2016-02-02 22:11:39 +01:00
Taloth Saldono b59175a87c Fixed: Indexer sites returning date as Retry-After header.
fixes #994
2015-12-28 20:24:23 +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 25aa3b60b0 Don't be so strict about dupe attr values. 2015-10-11 00:26:00 +02: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 30bcc662bc Fixed composition. 2015-09-21 23:22:34 +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 f2a70677e4 New: Will now temporarily stop using an indexer if the indexer reported an error. 2015-07-20 21:09:16 +02:00
Taloth Saldono 51155ba909 Applied workaround for CurlSharp GC handling. 2015-07-12 23:17:23 +02:00
Taloth Saldono 786e0b825a Fixed curl multithreaded access. 2015-07-12 21:45:22 +02:00
Taloth Saldono 103de770c3 Fixed thread concurrency issue on http cookie handling. 2015-07-08 20:05:03 +02:00
Taloth Saldono 527122452c New: Fallback to libcurl/libssl on mono for https connections. 2015-06-27 01:44:23 +02:00
Taloth Saldono 78ade3250c Added RateLimit service to globally manager short duration ratelimits. 2015-05-29 01:10:49 +02:00
Taloth Saldono 6744e0d506 New: Added support for Rarbg as replacement for Eztv. 2015-05-25 14:28:32 +02:00
Taloth Saldono ee87537848 Response cookies not stored by default. 2015-04-13 23:44:24 +02:00
Taloth Saldono ccfd66260d Fixed: BitMeTv cookie will now also be used for the fetching the torrent file. 2015-04-02 21:06:05 +02:00
Taloth Saldono 593c4b8182 Update test for redirect diagnostic. 2015-03-15 02:00:44 +01:00
Taloth Saldono a3873634b0 Fixed TorrentBlackhole failing fatally on magnet link instead of falling back to torrent url. 2015-03-15 01:49:11 +01:00
Taloth Saldono 96469be7f0 Fixed: Can now specify a cookie for BitMeTv. 2015-03-14 22:39:19 +01:00
Mark McDowall daafb67fa7 New: MediaBrowser notifications 2015-01-08 22:47:59 -08:00
Keivan Beigi 46bf80dcd1 fixed: increased tvdb search limit to 10 2014-12-30 20:24:35 -08:00
Keivan Beigi f4c202441c Cleaned up environment detection 2014-12-07 12:56:47 -08:00
Keivan Beigi 0be8f55a2f Cleaned up using directive 2014-12-06 21:55:17 -08:00
Mark McDowall 6467167046 Moved Extension methods in common to subfolder 2014-12-01 22:26:25 -08:00
Mark McDowall 70f07845fd Changed UserAgent to Sonarr 2014-11-25 07:28:49 -08:00
Taloth Saldono 2345984bda Processed comments. 2014-11-19 22:06:18 +01:00
MythJuha 67cd5703a1 New: Implemented Torrent Download Clients: uTorrent, Transmission and Deluge. And several public and private Torrent Indexers. 2014-11-19 21:47:10 +01:00
Keivan Beigi a44be4d902 log newsnab 429 errors as warn instead of exceptions 2014-10-03 10:50:43 -07:00
Keivan Beigi fde38938b8 fixed: HttpClient would fail with an unrelated exception 2014-09-30 10:06:48 -07:00
Taloth Saldono 5e62c2335f Fixed: Refactored the Indexer architecture to support non-rss indexers. 2014-09-27 21:57:35 +02:00
Taloth Saldono b3f086fe93 Fixed: Now sends appropriate http Accept header to indexer. 2014-09-14 11:47:46 +02:00
Taloth Saldono 80ed203258 Updated HttpResponse to support binary content. 2014-09-13 00:46:03 +02:00
Keivan Beigi 2c1d3339d0 HttpClient 2014-09-11 16:49:41 -07:00
Frank Riley be0d779448 When running under mono, WebClient will sometimes return less data
than it should. This causes the FetchFeedService to log errors
because the XML received cannot be parsed. Setting the
AutomaticDecompression property on the WebRequest fixes this issue.
2014-08-06 19:48:44 -07:00
Mark McDowall d489dff152 Trying to fix XBMC timeout errors 2014-06-08 23:49:56 -07:00
Taloth Saldono 2035fe8578 New: Drone now uses the Download Client API to determine if a download is ready for import. (User configuration is required to replace the drone factory with this feature) 2014-05-30 19:40:29 +02:00
Mark McDowall b3fb807f41 HttpProvider.PostCommand will no longer keep the connection alive 2014-05-10 21:37:07 -07:00