Commit Graph

49 Commits

Author SHA1 Message Date
Cory 348dddfbee
core: Apply declarations styles (#7166) 2020-02-11 11:16:19 +13:00
Cory 98541ac6f8
core: Sort and remove usings (#7159) 2020-02-10 07:08:34 +13:00
Cory c12da520a4
Run dotnet format on solution (#7145) 2020-02-09 15:35:16 +13:00
Diego Heras f770596354
core: fix form encoding. resolves #4346 resolves #3061 (#6994) 2020-02-08 19:03:03 +13:00
junglebus b9dbba280b
core: Add artifact name for Windows .NET Core (#7028) 2020-02-06 15:22:54 +13:00
Diego Heras 9565469559 core: fix fuzzytime parser regression #6845. resolves #6861 (#6871) 2020-01-09 15:19:37 +13:00
Diego Heras 603001a75c core: improve fuzzytime date parser to handle week days. resolves #6832 (#6845)
Previous version works well with dates like "Yesterday 15:30" or "Today 15:30"
Now it can handle "Monday 15:30" as well (means last Monday at 15:30 h)
2020-01-07 06:34:57 +13:00
Garfield69 2a7ca0803a Revert "parseutil: fix #6101 for 8 digit imdbid support"
This reverts commit 0a03ca1977.
2019-10-08 10:51:18 +13:00
Garfield69 0a03ca1977 parseutil: fix #6101 for 8 digit imdbid support 2019-10-07 10:58:29 +13:00
David Pooley b7daad903f Support 8 digit IMDB ID's (#6101)
Currently receive `Incorrect parameter: invalid imdbid format` when searching for content which uses an 8 digit IMDB id.
2019-10-07 08:32:22 +13:00
Hazem Ahmed Amr 90c224fdea Fix #4982: replaced CloudFlareUtilities with CloudflareSolverRe (#5897) 2019-08-23 07:35:49 +12:00
flightlevel ec985a2318 Use custom certificate validation handler for httpclient2netcore
https://github.com/Jackett/Jackett/issues/5172
2019-05-04 16:18:25 +10:00
flightlevel fad453cf0e Add httpclient2netcore 2019-04-27 20:27:11 +10:00
flightlevel d002382883 Updater: remove jackett executable
#5022
2019-04-08 20:32:08 +10:00
kaso17 a4ba0d21d9 HTTPClients: avoid Exception User-Unhandled notices 2019-04-02 15:39:14 +02:00
flightlevel a5f0e2b5db Code tidy up 2019-03-06 20:20:32 +11:00
flightlevel cf7ca97f9c Make jackett and JackettUpdater executable 2019-03-05 21:25:37 +11:00
kaso17 75d53b4026 improve certificate validation error handling 2019-02-22 17:42:42 +01:00
flightlevel a90ed2601a Add variants to the updater 2019-01-21 21:18:59 +11:00
aurelien 6c1dcd1a7d manage Microsoft logs by NLog (#4080)
* now Microsoft log (Microsoft.*) are correctly supported by Nlog

* Microsoft log are now not logged under level info if tracing is not enabled.

* remove unused prefix NLog.

* Revert "Microsoft log are now not logged under level info if tracing is not enabled."

This reverts commit 00e94204e0.

* microsoft logs in console are preserved.
Only service log is clean of microsoft logs when tracing is not enabled.

* change loglevel min to debug

* Microsoft logs can be reactivate when Enhanced logging is set to true.

* adjust min & max level of serviceMicrosoftRule

* clean Microsoft logs in all NLog targets
2018-11-14 17:52:56 +01:00
flightlevel 93d5acd355 Store the date a build is created 2018-10-28 18:27:10 +11:00
flightlevel 829347cba2 Update User-Agent 2018-10-20 20:47:18 +11:00
flightlevel f9b4b5a76c Attempt to handle not found System.Runtime.InteropServices.RuntimeInformation
https://github.com/Jackett/Jackett/issues/3816
2018-09-24 19:24:17 +10:00
kaso17 7a2c0bf260 HTTPWebClient: improve mono relative redirect bug workaround 2018-09-17 16:43:09 +02:00
flightlevel 9e78f46010 Move HttpWebClientNetCore to Jackett.Common 2018-08-31 20:04:36 +10:00
flightlevel 524a0c7885 Remove IsRunningLegacyOwin check
Dead code since upgrade to Jackett.Server
2018-08-18 17:09:19 +10:00
flightlevel e180b4bfc2 Remove references to CurlSharp
Dead code since upgrade to Jackett.Server
2018-08-18 16:44:58 +10:00
flightlevel 1e67996df0 Tidy up logging renderer 2018-07-02 21:03:03 +10:00
flightlevel 8ae09d453d Remove Microsoft.Extensions.PlatformAbstractions dependency
Was only needed for .NET Core 1
2018-06-24 11:38:57 +10:00
flightlevel 0645bab613 .NET Core preparation: Access Windows service 2018-06-22 22:21:10 +10:00
kaso17 676d03eb88 mono: redirect workaround 2018-06-14 17:28:57 +02:00
la55u 635e8240d2 RevTT: added files count (#3213) 2018-06-11 17:36:29 +02:00
flightlevel 8c953bbf01 Avoid Engine for AspNetCore 2018-06-11 17:17:56 +10:00
kaso17 c1fb41204c CloudFlare: increase retries 2018-05-15 12:50:14 +02:00
kaso17 402dd9d917 Cloudflare: adjust parameters 2018-04-06 12:20:36 +02:00
kaso17 b55d55c640 adjust cloudflare ClearanceDelay 2018-03-22 19:58:49 +01:00
flightlevel 3e5e48c3a0
Change namespace to Jackett.Common (#2691)
Really hope I don't break anything with this
Went to have a go at .NET core and it just became too confusing for me with 'Jackett' namespace referring to both Jackett.Common and Jackett
2018-03-10 19:05:56 +11:00
kaso17 8e9b144cff BrowserUtil: update ChromeUserAgent 2018-01-22 16:55:54 +01:00
kaso17 6ecc500dde libcurl: add support for new cloudflare server type 2018-01-15 20:20:23 +01:00
kaso17 f31e0d1c13 WebClient delay: store time after the request
fix #2256
2017-12-13 09:37:09 +01:00
kaso17 4d2adf4325 HttpWebClient2: implement AddTrustedCertificate() 2017-12-01 13:01:34 +01:00
kaso17 59388a8f80 allow proxy changes without restart 2017-11-17 16:46:58 +01:00
kaso17 968a7729c3 Fix SocksWebProxy race condition 2017-11-16 18:00:49 +01:00
kaso17 afe64a1b8f fix SocksWebProxy race condition 2017-11-16 16:51:34 +01:00
kaso17 dd09daf28f WebClient: improve logging 2017-11-15 19:00:27 +01:00
Nathan Holland 1c62504b22 Remove Static Configuration Class and .NET Core Prep (#2122)
* Remove static configuration class that required prior knowledge of when it was initialised to dependency injected method that ensures all configuration has already occured.

* Specify a different log name for the updater, require a path when running the Jackett updater

* Update to all .NET Standard packages

* Explicitly specify the restore project style

* Move automapper out of the  DI framework and put crude detection to prevent it from initializing more than once.
2017-11-13 19:38:38 +11:00
kaso17 8c053797ce WebClient: set Accept-Language if missing 2017-11-07 16:10:12 +01:00
Andy Simons 2b32fb358c Socks proxy support (#2058)
* socks proxy implementaion through SocksWebProxy package

* after merge fixes
2017-11-06 21:51:26 +11:00
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