Commit Graph

30 Commits

Author SHA1 Message Date
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