Commit Graph

30 Commits

Author SHA1 Message Date
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 e55e92f9ac
Core: Fix line endings to match style guide(#7476) 2020-03-03 10:28:26 -06:00
junglebus 3c596c978c
Stop building on Appveyor (#7259)
Now that we are successfully building and releasing on Azure Pipelines, there is no need to build on Appveyor as well
2020-02-21 07:06:12 +13:00
Cory 4d05ab3fbc
Add code style guide and update documentation to reflect changes (#7045) 2020-02-06 19:39:44 +13:00
junglebus b6e8f7261e
core: Add Integration Tests (#7023)
Add some basic integration tests for Jackett
2020-02-06 15:22:11 +13:00
flightlevel 69cb493144 Reorganise solution 2018-08-18 18:15:45 +10:00
flightlevel 81b40df6ee Remove Jackett Owin web server
Dead code since upgrade to Jackett.Server
2018-08-18 17:31:28 +10:00
flightlevel 0ddaa3bef4 Remove CurlSharp
Dead code since upgrade to Jackett.Server
2018-08-18 16:46:31 +10:00
flightlevel 16c9e95ee2 Remove Jackett.Console
Dead code since upgrade to Jackett.Server
2018-08-18 16:17:58 +10:00
flightlevel fd14ad3f93 Remove Jackett.Service.Windows from solution file 2018-06-24 12:06:28 +10:00
flightlevel 53162b4bd3 Add back Windows Service functionality 2018-06-10 12:33:16 +10:00
flightlevel 9cc40144a9 Add new DotNET Core API project Jackett.Server 2018-05-01 21:13:20 +10:00
flightlevel a6ba9040d9
Use Cake to Build (#2113) 2017-11-11 17:14:14 +11: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 8a6b9d4de7 Feature/netcore preparation (#2035)
* 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

* 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.

* Move the interfaces into their own files. This will be useful when we share them between the .NET Core and .NET Framework WebAPI

* Stage services that need to point to the new interface namespace.

* Update CurlSharp to fix memory leak issue and support better runtime compatibility with OSX and Linux

* 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
2017-10-29 21:19:09 +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
chibidev 17f544be36 Bugfix/1532 1539 fix manual search circular reference (#1543)
* Line endings...

* Encoding Encoding in a reasonable way

Sadly Encoding contains a self-reference somewhere, which makes it
really hard for the json serializer to automatically encode it...
Probably there's no value in sending it over especially since no one is
using it, however just for the sake of the argument, let's just
serialize it in a reasonable way. Maybe someday there will be someone
expecting this. Or we clearly separate DTOs and models...

- Fixes Jackett/Jackett#1532
- Fixes Jackett/Jackett#1539

* Seriously... Please port this to dotnet Core so that I can use something other than @drunkvs on my MacBook

* Fix autofac registration after merge

* "Implement" new function of interface in test project
2017-07-11 22:32:56 +02:00
chibidev 9e3076dde6 I have a feeling I'm breaking the world and bringing the apocalypse
It's quite hard to encapsulate something this large. This refactor
contains multiple attacks on the current architecture and is changing
things that were probably created quite a while back then. Luckily this
was done in increments so it mustn't be that impossible to recall what
has been done. I just need to relax my memory a little bit.

So the basic idea was quite simple. Let's distingush metas and normal
indexers a little bit more. Both of them were originating from
BaseIndexer, however very little of the functionality was actually
shared between them. Actually quite a few things made it even harder to
implement a different kind of indexer, especially for a newcomer for
both Jackett and C#.

Then in order to further reduce whatever was encapsulated in
any kind of, a couple things had to be changed. Like CardigannIndexer,
which probably had quite a mindshift change. IndexerManager and the
configuration management were also encapsulated and refactored, and now
I have a feeling that although the code could be improved, at least the
responsibilities of services and what they actually do is now clearer.

Anyhow, it would be safe to assume that I will not be able to go
step-by-step and define everything that has been changed. I'm sorry.
2017-07-11 21:53:46 +02:00
Azerelat aadf25e3b6 Fix update cross platform issues 2015-12-27 21:11:04 +00:00
WhatFox a9e14cc4af Auto update #8 2015-11-09 21:59:16 +00:00
KZ 3c0cae7166 Implement web site 2015-08-12 21:33:39 +01:00
unknown e714d8ab2c Created github distribution app 2015-07-26 15:14:29 -06:00
KZ a2ce89d2da Implement BakaBT, change Console to not build as x64, Add test framework 2015-07-26 00:51:55 +01:00
unknown 91f80e054c Added build.bat & installer.iss as solution items 2015-07-19 10:57:05 -06:00
KZ 33a97b148f Refactor 2015-07-19 01:27:41 +01:00
unknown f929d714ec Implemented SceneTime 2015-07-12 15:43:00 -06:00
unknown 469712c027 Fixes for loading saved cookie problems 2015-07-11 12:54:15 -06:00
zone117x bf3759020a MoreThanTv now working on mono with libcurl 2015-04-23 00:44:21 -06:00
zone117x 2fd026b7d4 Initial commit 2015-04-13 00:25:21 -06:00