Commit Graph

59 Commits

Author SHA1 Message Date
Diego Heras 03c9e3036c
core: Update .Net 6.0 (#12562) 2021-11-17 18:06:27 +13:00
Diego Heras 13baa27656
core: fix .net core 5.0 warnings. resolves #10433 (#10485) 2020-12-12 21:38:33 +01:00
airhawk777 65ca4d7478
Update to .NET 5 (#10346)
* Update to .NET 5

.NET 5 brings many performance (especially regex) improvements
https://devblogs.microsoft.com/dotnet/announcing-net-5-0/

Can look at bringing the packages upto date and using a single file executable in a future PR if the maintainers are interested

* Dotnet restore before building

* Restore on Windows only

* Out of ideas

* Update framework for windows specific apps

* Don't upgrade Microsoft.Extensions.Configuration

* drop mono from the dotnet linux build instructions

* Fix logic to get app runtime

* readme: add windows .net prereq link

* Update README.md

* azure-pipeline: bump minorversion to 17

Co-authored-by: garfield69 <garfieldsixtynine@gmail.com>
Co-authored-by: Diego Heras <ngosang@hotmail.es>
Co-authored-by: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com>
2020-12-08 21:10:34 +13:00
Diego Heras 38f09900ca
core: fix version number to match github release tag. resolves #10249 (#10413) 2020-12-07 00:14:23 +01:00
Diego Heras 3050f7bc95
core: improve windows tray launcher code. resolves #10094 (#10125) 2020-11-07 15:08:35 +13:00
Garfield69 b229fac9b1 JackettTray: bump delay from 30 to 120 resolves #10086 2020-11-03 09:52:44 +13:00
Diego Heras 24160106d9
core: fix windows tray crash. resolves #8398 (#9632) 2020-09-24 23:25:22 +02:00
Diego Heras 2c4ca6be1f
core: update jackett dependencies (#8977) 2020-06-14 13:25:51 +02:00
Cory 3f9d182083
core: Remove warning suppression (#7513) 2020-03-06 14:57:59 +13:00
Diego Heras e55e92f9ac
Core: Fix line endings to match style guide(#7476) 2020-03-03 10:28:26 -06:00
Diego Heras b944993733
Remove CsQuery and use AngleSharp instead. Closes #7292 (#7404) 2020-03-02 07:58:14 +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
junglebus 3a35e4e40a
Windows service and Tray: NET Core only (#7258)
We no longer need to support NET461 for Tray and Windows service since these are for Windows users only
2020-02-21 08:55:45 +13:00
junglebus 8a9e29a2ac
Use ComImport to create shortcut (#7218)
* Use ComImport to create shortcut

Using the url shortcut wasn't reliable
2020-02-15 12:04:33 +11: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
junglebus 2d56ce11b7 GetExecutingAssembly points to the DLL on .NET Core not the exe (#7140) 2020-02-08 20:38:07 +11:00
Marcelo Castagna cd239498c0 tray: cleanup code (#7011) 2020-01-25 13:39:08 +13:00
junglebus 67491cb4f6 Make Tray compatible with .NET Core (#6983)
By default .NET Core sets UseShellExecute to false due to being cross platform
2020-01-21 06:23:47 +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
junglebus 17db2b5df3 Upgrade Tray and Service to use the newer csproj format (#6879)
https://natemcmaster.com/blog/2017/03/09/vs2015-to-vs2017-upgrade/

This change brings the remaining two projects (Tray and Service) onto the new csproj format. Along with making them simpler and cleaner, its a needed step to get Windows users onto .NET Core

Again, been a careful as possible, so hopefully nothing breaks. Would recommend merging this after .NET Core 3.1 commit gets released and a beta release for this as well
2020-01-12 07:04:04 +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
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
flightlevel e051c13f3a Package update 2019-05-06 19:41:16 +10:00
flightlevel ab9d8f6403 Package update 2019-01-10 20:12:57 +11:00
flightlevel e850a5315a Package update 2018-08-18 18:08:14 +10:00
flightlevel b19d690305 Jackett.Tray: Hide form 2018-07-26 22:07:04 +10:00
flightlevel f335dbf7bc Jackett Tray: Hide from ALT + TAB
https://github.com/Jackett/Jackett/issues/1959
2018-07-22 22:03:04 +10:00
flightlevel 1792ed276e Remove Windows Owin from build 2018-07-12 21:16:38 +10:00
flightlevel 47a84775c5 Launch tray icon when Windows service updates 2018-06-27 22:02:51 +10:00
flightlevel 060972475f Windows Tray/Serice update improvements 2018-06-26 19:44:12 +10:00
flightlevel 8bc5d813b7 Tray Icon fix log message 2018-06-22 22:49:17 +10:00
flightlevel 45826df4fe Make Jackett Tray compatible with both legacy & .NET Core projects 2018-06-22 22:29:45 +10: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 35191c913d update icon
Thank you @Giligilitelj
fix #1598
2017-12-01 10:46:01 +01:00
kaso17 4f93f1efc6 JackettTray: fix running detection 2017-12-01 10:39:50 +01:00
kaso17 0f5937b387 JackettTray: check if it's already running
fixes #2181
2017-12-01 10:28:19 +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
Nathan Holland 52c0179e8e Feature/autofac tidyup (#2096)
* Move service config service back into shared .NET Framework Library

* Move Content files into shared folder. Make autoface load different assembilies depending on what framework is using it.

* Change my mind on what the shared module should be called. Common Module is too bland.

* DotNet4.SocksProxy is not yet publically .NET Standard. Revert to previous SocksWebProxy package.

* Check in unstaged change to test dependency injection setup.
2017-11-08 15:45:21 +01:00
flightlevel 7ce1c4acfb
Appveyor: Patch Version (#2073)
-Patch csproj version in Appveyor build
-Rename Jacket.Common to Jackett.Common
-Remove build.bat (no longer used or maintained)
2017-11-05 21:53:43 +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
Nathan Holland 7829643104 Feature/package reference restore (#2025)
* Move to use package reference for restoring nuget packages.

* Return a task result for this async method.

* Update to a supported version of the .NET Framework. This also has the side effect of allowing us to automatically generate our binding redirects on build.

* Set the solution to target VS2017

* Update test solution csproj file to support being built through MSBuild 15

* Move to use package reference for restoring nuget packages.

* Return a task result for this async method.

* Update to a supported version of the .NET Framework. This also has the side effect of allowing us to automatically generate our binding redirects on build.

* Set the solution to target VS2017

* Update test solution csproj file to support being built through MSBuild 15
2017-10-29 19:42:25 +11:00
kaso17 88c865e8c9 dependency updates 2017-01-25 17:58:12 +01:00
flightlevel 791471a716 Update Packages (#459)
* Revert "Update packages (#453)"

This reverts commit 593c2f083e.

* Package Update

Package Update
2016-08-22 20:37:49 +10:00
flightlevel 593c2f083e Update packages (#453)
Update packages
2016-08-20 19:29:26 +10:00
Azerelat aadf25e3b6 Fix update cross platform issues 2015-12-27 21:11:04 +00:00
WhatFox 44aa33a7e0 Close tray app when updating 2015-11-18 19:39:40 +00:00
flightlevel 95abf9bb6a Update Assembly Versions
Update Assembly Versions: Now using AppVeyor for versioning, so not
required
2015-11-09 19:37:09 +11:00
flightlevel 4341136ddb Update NUGET Packages
Update NUGET Packages
2015-11-07 15:30:57 +11:00
KZ 3c0cae7166 Implement web site 2015-08-12 21:33:39 +01:00