Commit Graph

19 Commits

Author SHA1 Message Date
ilike2burnthing
9a69317f68 core: use programdata for windows cardigann folder. #13860 (#13875) 2023-01-07 20:37:02 +00:00
Diego Heras
42ca019942 cosmetic: dotnet format c# code (#12832) 2022-01-16 11:30:11 +01:00
ilike2burnthing
b71d856695 remove unused migratesettings flag. resolves #12491 (#12500) 2021-11-17 18:16:49 +00:00
Diego Heras
aca4a16bae ci/cd: fix whitespaces (#11749) 2021-05-16 20:13:54 +02:00
Kai Sforza
125db8090c Don't delete $(cwd)/Jackett if it has jackett (#11479) resolves #11463 2021-04-05 08:00:54 +01:00
NinjaLikesCheez
88ce1d96ab core: Don't perform migrations in cases where the home folder is the same as the jackett install path (#11465) resolves #11313
Additionally, add a guard to not remove config directories unless the migrated directory and initial directory are different paths
2021-04-04 06:24:41 +12:00
NinjaLikesCheez
f5688f289d core: Migrate configurations from bug fixed in #11173. Fixes #11313 (#11347) 2021-03-31 06:47:16 +13:00
Diego Heras
13baa27656 core: fix .net core 5.0 warnings. resolves #10433 (#10485) 2020-12-12 21:38:33 +01: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
b212169dc2 core: code cleanup, exception messages (#9631) 2020-09-24 22:02:45 +02:00
Diego Heras
47454e4c1e test: add unit test to validate all cardigann definitions (#8165)
* test: add unit test to validate all cardigann definitions

Error while parsing Cardigann definition 4thd.yml
YamlDotNet.Core.YamlException: (Line: 13, Col: 9, Idx: 240) - (Line: 13, Col: 9, Idx: 240): Exception during deserialization
 ---> System.Runtime.Serialization.SerializationException: Property 'dec' not found on type 'Jackett.Common.Models.CategorymappingBlock'.
2020-04-13 09:34:45 +02: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
Cory
348dddfbee core: Apply declarations styles (#7166) 2020-02-11 11:16:19 +13:00
Cory
c12da520a4 Run dotnet format on solution (#7145) 2020-02-09 15:35:16 +13:00
flightlevel
cf3848a54f .NET Core preparation: Access ServerConfig without using JackettModule 2018-06-17 11:48:59 +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
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
6d53e486c5 fix Content/Definition folder usage in Debug mode 2017-11-09 12:32:36 +01: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