Diego Heras
c02a782b95
core: fix cloudflare iuam. resolves #8539 ( #8617 )
2020-05-13 00:04:47 +02:00
Diego Heras
9cbc78b1c2
core: fix cookie parsing (part 2) ( #8150 )
...
* core: fix cookie parsing (part 2)
After fixing cookie storage in #8133 I noticed that I still have a lot of '.json.bak' files in the Jackett configuration folder. After deleting them they were created again in each request. The cause was we were parsing bad the cookies with '=' character in the value. Most Cloudflare cookies include if so we were sending bad cookies and solving the callenge in each request.
This PR should increase performance in several ways: we are not solving the challenge again (it takes time), we are not making extra requests and we are not updating the Jackett configuration in each request (both files '.json' and '.json.bak').
Tested with the client HttpWebClient2NetCore only. Please do some tests with the site 1337x.
2020-04-13 06:22:50 +02:00
Cory
937aa6b370
Add multi value processing to GetQueryString ( #7915 )
2020-04-09 23:18:10 -05:00
Diego Heras
4741902ade
core: remove unused classes ( #8012 )
2020-04-04 01:03:26 +02:00
Cory
fc74b9ebcf
core: Remove non-null extention classes. ( #7979 )
2020-04-03 13:31:39 +13:00
Cory
06315470c4
core: remove enumerable related extensions ( #7842 )
2020-03-26 22:13:38 -05:00
Cory
b5a6aab894
core: prefer object initializers ( #7342 )
2020-03-26 17:15:28 -05:00
Cory
8fbcbf25c3
core: Remove reflection in Nullable TryParse extension ( #7844 )
2020-03-26 06:56:22 +13:00
Cory
707298b0d7
core: Add enumerable extension FirstIfSingleOrDefault ( #7837 )
2020-03-26 06:54:51 +13:00
Cory
d7dddf6009
core: remove string extensions in favor of explicit conversion ( #7839 )
2020-03-24 21:39:38 -05:00
Diego Heras
3f01a61510
core: update user-agent. resolves #7743 resolves #6099 ( #7771 )
2020-03-22 09:11:05 +13:00
Cory
a89246c9a7
core: improve date parsing for today/yesterday/tomorrow. resolves #7701 ( #7704 )
2020-03-18 21:11:48 +13:00
Cory
5b6c9fee49
Fix proxy in all cases ( #7631 ) resolves #7411
...
Co-authored-by: Diego Heras <ngosang@hotmail.es>
2020-03-14 17:53:16 -05:00
Diego Heras
fe3fcda356
style: improve date utils code style ( #7632 )
2020-03-15 05:05:10 +13:00
Cory
b9b10e4e91
core: Fix IsEmptyOrNull to return true when IsNull ( #7338 ) resolves #7333
2020-02-27 07:24:36 +13:00
Diego Heras
c339d54aed
core: fix compilation warning ( #7329 )
2020-02-26 08:48:27 +13:00
Cory
889a8da4e5
Convert functions and properties to expression bodies when able ( #7312 )
...
Convert functions and properties to expression bodies when able
2020-02-25 10:08:03 -06:00
Diego Heras
62769325b4
core: increase log size to 2 MB ( #7303 )
2020-02-24 09:33:51 +13:00
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