Commit Graph

215 Commits

Author SHA1 Message Date
Diego Heras 6067a4ff73
core: add logger trace with proxy information (#7306) 2020-02-24 09:39:49 +13:00
Diego Heras 8c344b2917
core: reduce log traces in info level. add start/stop log traces (#7305) 2020-02-24 09:38:59 +13:00
Patrick Koenig d5724f2f63
Change cookie SameSite from None to Lax (#7269) 2020-02-22 08:02:28 +13:00
junglebus 0d58b2d63f
Don't check cert store on Mono 6 (#7260) resolves #7223 2020-02-21 07:55:46 +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
Jonas Dellinger 1715f0fda4
core: API - "configured" parameter (#7120)
Add support for a "configured" parameter in the API 2.0. Only return configured indexers if true.
2020-02-07 07:22:46 +13:00
Diego Heras 8744fd3fa1
core: fix blackhole download for relative uris. resolves #5935 (#7057) 2020-02-02 07:29:17 +13:00
junglebus e695f90c80 Remove COM reference for .NET Core (#6975)
* Remove COM reference for .NET Core

Removing only COM reference to get closer to having Jackett to run on .NET Core for Windows

* Handle resources

https://github.com/microsoft/msbuild/issues/4704

* Remove GenerateResourceUsePreserializedResources

* Remove System.Resources.Extensions
2020-01-20 06:50:12 +13:00
Diego Heras 7a1c8f9419 core: add rss url decode in download controller. resolves #4617 #6589 #4760 #6397 #5752 (#6936) 2020-01-13 07:14:36 +13:00
junglebus dc87b36ae0 Package update (#6916)
4 packages updated -> Jackett is now using the latest version of all packages except for AutoMapper -> Will have a go at that another day -> There is a few changes needed

-Minor code changes made to support newer version of YamlDotNet and BencodeNET
-Logic update for AssemblyName as I've been experiencing restore 'weirdness'  https://stackoverflow.com/questions/208084/how-to-use-a-different-assembly-name-for-different-configurations
2020-01-12 07:04:24 +13:00
morpheus133 a89c7dedeb ImdbTVSearchSupport added for c# based indexers (#5791) 2020-01-09 16:32:02 +13:00
junglebus d4f873e46f Update to .NET Core 3.1 (#6857)
Minor update from .NET Core 3.0. .NET Core 3.1 is the LTS version
2020-01-08 20:51:00 +13:00
Diego Heras 45b205ddc3 core: security fix, authorization first in download / blackhole links (#6825) 2020-01-05 19:41:01 +13:00
Diego Heras 7e93a86ae0 core: fix magnet link encoding. resolves #5372 #4761 (#6824) 2020-01-05 19:31:32 +13:00
Garfield69 d44bc93776 Revert "core: fix login redirect with nginx + admin password. resolves #4765 (#6561)"
This reverts commit 642bed1ef4.
2019-12-11 11:49:51 +13:00
Diego Heras 642bed1ef4 core: fix login redirect with nginx + admin password. resolves #4765 (#6561) 2019-12-10 08:30:12 +13:00
Garfield69 eb9bfe943d drop IgnoreSslErrors=true error msg. resolves #6229 2019-10-23 10:40:03 +13:00
junglebus 53a92446f8 Restart webhost if the user changes proxy settings resolves #6215 (#6216) 2019-10-20 15:41:51 +13:00
junglebus 64abc61893 Update to .NET Core 3.0 (#6151)
* Update to .NET Core 3.0

Updated Jackett so that it runs on .NET Core 3.0 now

.NET Core 3.0 brings the following benefits https://devblogs.microsoft.com/dotnet/announcing-net-core-3-0/
One of the benefits is the ability to create single file executables. I haven't enabled this yet, but its only a one line change to turn it on (would likely also require some changes to the updater).

This means that builds for LinuxAMDx64, LinuxARM32, LinuxARM64 and macOS will now run on .NET Core 3.0 instead of 2.2. Windows and Mono remain on full framework. Once .NET Core 3.1 is released (November) I'll look to moving Windows over to .NET Core as well

Tested on
-Windows 10 x64
-Debian running Jackett with Mono
-Debian running Jackett standalone (.NET Core)
2019-10-15 06:51:33 +13:00
Axel Antoine f05e1321b5 Fix magnet link in the blackhole controller. resolves #5843 (#5901) 2019-08-24 19:08:37 +12:00
flightlevel f86e8dd5b6 Limit IMDB searches to movies
#5124
2019-05-11 13:27:25 +10:00
flightlevel e051c13f3a Package update 2019-05-06 19:41:16 +10:00
flightlevel 02546877fd Inform Mono users that Mono is no longer required 2019-05-01 20:15:26 +10:00
flightlevel 4edcda8351 Make httpclient2netcore the default 2019-04-29 20:30:27 +10:00
flightlevel 0d4c8ba860 Inform users that Mono is no longer needed
Note: Not enabled currently, will enable at a later date
2019-04-27 20:59:33 +10:00
flightlevel fad453cf0e Add httpclient2netcore 2019-04-27 20:27:11 +10:00
flightlevel 709cafda62 Enable workstation garbage collection
Attempting to limit the amount of memory used by Jackett for users with high core CPUs  https://blog.markvincze.com/troubleshooting-high-memory-usage-with-asp-net-core-on-kubernetes/
2019-04-19 11:41:47 +10:00
flightlevel 08ab66a447 Package update 2019-03-25 19:27:28 +11:00
flightlevel a25f2016dc Make Mono.Posix usage conditional on .NET Core 2019-03-06 21:16:20 +11:00
flightlevel 6ac9555cb5 Make parameter type HttpRequest
Code tidy
2019-03-06 20:11:50 +11:00
flightlevel caf583a684 Package update 2019-03-03 15:23:33 +11:00
flightlevel a90ed2601a Add variants to the updater 2019-01-21 21:18:59 +11:00
flightlevel b67f59e865 Create separate tasks for each NetCore variant 2019-01-20 09:56:38 +11:00
flightlevel 70666c459b Change assembly name to jackett for Non-Windows .NET Core 2019-01-20 09:54:11 +11:00
flightlevel ab9d8f6403 Package update 2019-01-10 20:12:57 +11:00
flightlevel ef162f07e5 Ignore NU1605 2018-12-23 22:11:47 +11:00
flightlevel 7a9adc283b Update to .NET Core 2.2 2018-12-23 21:54:02 +11:00
flightlevel 7a5407d2c4 Revert "Package update"
This reverts commit eaf53e0f4c.
2018-12-23 21:25:13 +11:00
flightlevel eaf53e0f4c Package update 2018-12-23 21:16:09 +11:00
flightlevel 81b1e64c9a Add ARM32 builds 2018-12-23 21:03:45 +11:00
kaso17 de0dd2b035 include install_service_systemd.sh 2018-12-21 18:12:47 +01: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 bd177cbf26 Make Jackett.Server services single instance 2018-10-28 18:30:26 +11:00
flightlevel 93d5acd355 Store the date a build is created 2018-10-28 18:27:10 +11:00
flightlevel 642f990862 Warn user that they are using an old version of Jackett 2018-10-20 21:09:29 +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
flightlevel 4e5f091b6c Check for Mono legacy TLS 2018-09-15 15:20:31 +10:00
flightlevel c112aef644 Update ConsoleOptions
Use --version to get version info and --help for help
-v no longer attempts to load Jackett
https://github.com/Jackett/Jackett/issues/3720
2018-08-31 20:33:05 +10:00
flightlevel 6b3ffa22c9 Package update 2018-08-31 20:16:07 +10:00
flightlevel 9e78f46010 Move HttpWebClientNetCore to Jackett.Common 2018-08-31 20:04:36 +10:00
flightlevel 8f1f41a4a1 Kestrel only requires 127.0.0.1 2018-08-29 19:28:45 +10:00
flightlevel 4d8b55a92f Replace install_service_macos
https://github.com/Jackett/Jackett/issues/3638
2018-08-21 20:52:12 +10:00
flightlevel e850a5315a Package update 2018-08-18 18:08:14 +10:00
kaso17 ad143ce94f reverse proxy: use X-Forwarded-Host 2018-08-15 09:00:54 +02:00
flightlevel 7d759917e6 Package updates 2018-08-14 20:02:54 +10:00
flightlevel a752a39230 Add ability to use appsettings.json
https://github.com/Jackett/Jackett/issues/3583
2018-08-14 19:58:11 +10:00
kaso17 0adb54f4b2 kestrel: attempt to fix XForwardedProto issues 2018-08-12 12:18:14 +02:00
flightlevel 052e382d93 Assign webroot for static files
Removes the need for PhysicalFileProvider
2018-08-05 15:31:54 +10:00
flightlevel db39b6afd9 Prevent cookie expiring after 20 minutes, now sessional 2018-08-05 15:19:31 +10:00
kaso17 b94501f054 adjust content root path (#3527) 2018-08-05 15:15:23 +10:00
flightlevel f00d8e192a Set the content root to the application folder
https://github.com/Jackett/Jackett/issues/3522
2018-08-04 16:49:26 +10:00
flightlevel 748881ef70 Kestrel: accept imdbid+q
Copy of 0d6830b0aa
2018-07-31 20:14:02 +10:00
kaso17 ad3c56e83b .NETCore: fix manual search categories 2018-07-30 17:39:28 +02:00
flightlevel 1db3e93ce1 Allow cookie cross site as per legacy
https://github.com/Jackett/Jackett/issues/3440
2018-07-28 13:10:01 +10:00
flightlevel a217381668 Fix blackhole decoding issue 2018-07-14 14:42:46 +10:00
flightlevel 4bd7befb50 Update to .NET Core 2.1.2 2018-07-13 22:18:11 +10:00
flightlevel 56074155e9 Reverse proxy support for Kestrel 2018-07-13 22:15:09 +10:00
flightlevel 4d1e4b59c8 Update to .NET Core 2.1.1 2018-07-11 19:37:19 +10:00
flightlevel 6e7d983fc3 Add extra logging 2018-07-10 22:22:02 +10:00
flightlevel fd1073d0b5 Package update 2018-07-09 21:05:15 +10:00
flightlevel a6d8e68ca9 Minor changes for OMDB update 2018-07-09 21:00:17 +10:00
Tanel Puhu 667317e513 let's format the Imdb (#3354) 2018-07-09 20:40:37 +10:00
flightlevel 00e4e8109e Reserve all addresses for port 2018-07-02 21:09:42 +10:00
kaso17 bcc1dc1948
fix custom certificate validation handler (#3297)
* fix netcore custom certificate validator

* conditional HttpWebClientNetCore register

* deprecate IgnoreSslErrors option

* Use httpclient when running full framework
2018-07-02 13:05:24 +02:00
kaso17 8de0b0cbad ProtectionService: fix empty password handling 2018-06-26 17:58:46 +02:00
flightlevel 4970219ea7 Remove call to PlatformAbstractions 2018-06-24 12:00:59 +10:00
flightlevel 012f5f05cc Update Logging 2018-06-22 22:35:58 +10:00
flightlevel 5278b9fb47 Log Asp.Net.Core web requests 2018-06-18 22:01:25 +10:00
flightlevel 1ecafe3667 ResultsController - get BlackHole from ServerConfig without engine 2018-06-18 21:54:39 +10:00
flightlevel 190a415907 Remove unused runtimeSettings parameter 2018-06-18 21:50:09 +10:00
flightlevel ca609a9e62 Add Legacy routes rewrite 2018-06-18 21:48:45 +10:00
flightlevel b72ade7b27 Add ListenPublic/Private overrides 2018-06-17 14:39:49 +10:00
flightlevel e7098d01c5 CommandLineParser: Case insensitive 2018-06-17 14:12:52 +10:00
flightlevel b04ee56612 Process settings before creating WebHost 2018-06-17 14:02:13 +10:00
flightlevel 72a18e9b73 Get startup configuration without using DI 2018-06-17 12:39:03 +10:00
flightlevel 1a14e8dd4b improve BEncode error handling: Pull in changes from master
3468e7d404
2018-06-16 18:40:31 +10:00
flightlevel 9437cd54d3 Setup logging before DI 2018-06-16 18:32:08 +10:00
flightlevel be55c5e4a6 Restart WebHost after port change in UI 2018-06-16 18:06:14 +10:00
flightlevel 33e35f1bd3 Re-enable the updater 2018-06-14 19:21:31 +10:00
flightlevel e82b54994e Update build for Mono 2018-06-14 19:18:17 +10:00
flightlevel 5818b914a3 Include Mono version check 2018-06-10 22:31:55 +10:00
flightlevel 0680d39d90 Torznab: Pull in improved error handling
7f163c3945
2018-06-10 21:56:45 +10:00
flightlevel 4ca6676be0 Blackhole: Pull in fix magnet links
f3290800d8
2018-06-10 21:54:12 +10:00
flightlevel 3d85e751b7 Rewrite rule: Handle no path after base path 2018-06-10 21:52:13 +10:00
flightlevel 53162b4bd3 Add back Windows Service functionality 2018-06-10 12:33:16 +10:00
flightlevel 80d78a027b Copy ServiceConfigService over untouched 2018-06-10 12:29:07 +10:00
flightlevel 23f55ef33a Continue moving configuration across 2018-06-03 21:11:18 +10:00
flightlevel f09c5722be Update to .NET core 2.1 RTM and setup builds 2018-06-02 17:33:26 +10:00
flightlevel e73ae99e38 Implement AspNetCore.DataProtection to replace DPAPI 2018-05-30 21:43:58 +10:00
flightlevel 0a70f91bf1 Target full framework (Mono) as well for transition period 2018-05-20 21:51:52 +10:00
flightlevel 88945be5d7 Start configuration 2018-05-20 21:21:08 +10:00
flightlevel 5df131140f Upgrade to .NET Core 2.1 RC1 (ARM support) 2018-05-12 13:16:56 +10:00
flightlevel 8002483e68 Add response compression
Reduces dashboard load size from 677kb to 153kb
2018-05-12 12:51:46 +10:00
flightlevel ce84264490 Add Authorization 2018-05-12 12:44:47 +10:00
flightlevel 615794a4bf Minor controller updates as the web app expects no content 2018-05-05 17:10:36 +10:00
flightlevel 5eed9d7038 Add middleware: Exception handling and rewrite/redirect 2018-05-05 17:08:46 +10:00
flightlevel f162902b36 Refactor controllers for ASP.NET Core (Authentication disabled for now) 2018-05-01 22:55:09 +10:00
flightlevel a752683965 Copy controllers untouced from Jackett project 2018-05-01 22:03:16 +10:00
flightlevel 683bd6e2d4 Add DI and Initialisation 2018-05-01 22:00:02 +10:00
flightlevel 13426fe7ec Refactor services for ASP.NET Core 2018-05-01 21:41:34 +10:00
flightlevel d87d0f87b1 Add packages 2018-05-01 21:26:42 +10:00
flightlevel 85ec169755 Copy Services (except Windows Service) untouched from Jackett project 2018-05-01 21:17:59 +10:00
flightlevel 9cc40144a9 Add new DotNET Core API project Jackett.Server 2018-05-01 21:13:20 +10:00