Commit Graph

30 Commits

Author SHA1 Message Date
flightlevel
51aa6fdf13 Deprecate libcurl 2018-07-14 14:44:23 +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
2934bfb3e7 Add PIDFile CLI option 2017-12-04 12:20:22 +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
29e61feede Bugfixes (#2112)
* The module will need to be registered first thing in order to support commands such as --Help.

* Ignore mac directory attribute files

* Fix command line parameters not being correctly passed to the console
2017-11-11 16:21:26 +11:00
kaso17
b5d846442d Fix tracing/logging options 2017-11-09 11:22:48 +01:00
kaso17
06c47ec10a fix null pointer exception during startup 2017-11-08 16:03:38 +01: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
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
flightlevel
f2def1f615 Normalise Line endings (#1284)
* Add .gitattributes

* Normalise line endings
2017-04-15 18:45:10 +10:00
kaso17
16ef8061a3 Add --NoRestart command line flag and pass pids to the updater (--KillPids) 2017-01-20 13:50:23 +01:00
kaso17
e7918bddbc Add Windows support for the IgnoreSslErrors option (#594) 2016-11-09 18:26:32 +01:00
flightlevel
0fc3d224ab Allow Custom Data Folder (#355)
Allow Custom Data Folder
2016-05-28 19:40:55 +10:00
garreth.jeremiah@gmail.com
af0c15be2c added notice in log when proxying is used
bitsoup multi category searches look for all cats instead of making multiple queries
2015-12-28 08:42:11 -05:00
garreth.jeremiah@gmail.com
f4129dc4a0 Added simple (non-auth) proxy support including processing the second set of headers (server) vs first (proxy). New command line option (-j 127.0.0.1:8888) to set the proxy and port. unfortunatly both -p and -x were already taken
extended refresh header handling to libcurl and safecurl
also some minor tweaks needed to have Curl 'behave' with certain servers by adding accept-language header to Curl
Added ability/template to allow the user to select their own SiteURL (see BitSoup implementation) with a minor update to ConfigurationData class to prevent the "display text" from disappearing on errors.
XSpeeds indexer - updated to handle a case where the returned XML occasionally is null terminated resulting in XML parsing exceptions
BitSoup indexer - added user customizable url selection, including some url validation
BaseIndexer - cleaned up some of my earlier implementation for accumulating cookies.
2015-12-24 22:26:39 -05:00
flightlevel
18a2db5af2 Linux: Ignore SSL certificate errors option added
Linux: Ignore SSL certificate errors option added
2015-12-02 21:19:51 +11:00
KZ
b72248ab3d Invalid command line options now show errors 2015-08-05 19:13:58 +01:00
KZ
796bb70421 Fix: Redhat/NSS based libcurl not being able to access certain indexers 2015-07-31 20:27:59 +01:00
KZ
922583ea5d Fix compilation under mono #117. Allow explicit web client selection. Init curl at application start. 2015-07-30 18:50:46 +01:00
KZ
499b53e9ed Post refactor fixes 2015-07-28 20:22:23 +01:00
KZ
f31f89037c Various bugfixes. 2015-07-24 22:38:31 +01:00
KZ
960720b3e4 Added UI for allowing external access, stop server listening on the old port when changing ports. Config migration bug fixes. 2015-07-24 20:15:08 +01:00
KZ
84c2b0c8b9 Command line args. Superceade pull #102 from sdesbure:master 2015-07-24 00:07:36 +01:00
KZ
1622f40942 Passwords inputs are now the correct type. Fix configure_indexer not returning errors. Fix build warning. Change AB, HDT, MTTV, PHD, ST to use generic web client. 2015-07-23 21:36:23 +01:00
KZ
c4d653bc2e 0.5 Rc1 - Reimplement port change+tray, fix IPT+SSC. Installer fixes. 2015-07-22 23:00:52 +01:00
KZ
f6ed903ef5 Add logging 2015-07-19 22:31:36 +01:00
KZ
b10813e420 Add missing files 2015-07-19 21:15:23 +01:00
unknown
705890d5ec Added change port argument to console app 2015-07-19 10:57:33 -06:00
KZ
1359ad16f0 Refactor done 2015-07-19 14:22:50 +01:00
KZ
33a97b148f Refactor 2015-07-19 01:27:41 +01:00