Commit Graph

173 Commits

Author SHA1 Message Date
Diego Heras 64a78c4965
Fix Docker detection (#12565) 2021-11-16 17:42:38 +01:00
Diego Heras b492c24647
Fix typo in SecurityService (#12563) 2021-11-16 14:06:07 +01:00
Diego Heras aca4a16bae
ci/cd: fix whitespaces (#11749) 2021-05-16 20:13:54 +02:00
Alessio Gogna 66bec102db
[Feature] Filter Meta Indexer by tag and by language (#11662). resolves #8884 resolves #7170 resolves #4787 resolves #2185
* bump to 0.18.*

Also partially addresses https://github.com/Jackett/Jackett/issues/661 (if user adds `enabled` and `disabled` tags).

Co-authored-by: garfield69 <garfieldsixtynine@gmail.com>
Co-authored-by: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com>
2021-05-08 21:24:18 +01:00
Casper Verswijvelt e964a983c5
Use 'Tracker[]' parameter only as secondary filter for CurrentIndexer (#10266) 2021-03-15 19:07:47 +13:00
Michaël Fortin 6fba522075
Fix BlackholeController exception when torrent name is very long (#10889) 2021-01-25 19:50:31 +01:00
Diego Heras 456338399b
core: remove rss feed image (legacy code) #324 (#10837) 2021-01-17 13:42:52 +01:00
Diego Heras edce56f363
core: remove unused cli argument -j (ProxyConnection). resolves #9467 (#10608) 2020-12-22 18:37:16 +01:00
Diego Heras 5a6fe668d6
core: validate flaresolverr url. resolves #10527 (#10571) 2020-12-19 20:13:23 +01:00
Diego Heras ebe05267b2
core: FlareSolverr integration. Bypass Cloudflare protection (#9028) 2020-12-13 21:42:10 +01:00
Diego Heras 13baa27656
core: fix .net core 5.0 warnings. resolves #10433 (#10485) 2020-12-12 21:38:33 +01:00
Diego Heras f8d3781f7a
core: search cache optimizations #10382 (#10484)
* Empty cache when user changes proxy configuration
* Reduce the CPU needed to clean up results that exceed the limit per indexer
2020-12-12 18:44:08 +01:00
Diego Heras 443057f156
core: remove .net core 5.0 compilation warnings #10433 (#10478) 2020-12-12 01:19:51 +01:00
Diego Heras 0e12f35082
core: remove legacy cryptographic code. #10433 (#10477)
Legacy code was deprecated on May 30, 2018
e73ae99e38
2020-12-12 01:09:52 +01:00
Diego Heras 69125add3e
core: redo search cache from scratch. resolves #10382 (#10447)
In simple words, when you make a request in Jackett, the results are saved in memory (cache). The next request will return results form the cache improving response time and making fewer requests to the sites.
* We assume all indexers/sites are stateless, the same request return the same response. If you change the search term, categories or something in the query Jackett has to make a live request to the indexer.
* There are some situations when we don't want to use the cache:
** When we are testing the indexers => if query.IsTest results are not cached
** When the user updates the configuration of one indexer => We call CleanIndexerCache to remove cached results before testing the configuration
** When there is some error/exception in the indexer => The results are not cached so we can retry in the next request
* We want to limit the memory usage, so we try to remove elements from cache ASAP:
** Each indexer can have a maximum number of results in memory. If the limit is exceeded we remove old results
** Cached results expire after some time
* Users can configure the cache or even disable it
2020-12-11 23:14:21 +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 2030d9cf13
core: follow torznab specs about categories. resolves #10120 (#10147) 2020-11-08 23:27:54 +01:00
Diego Heras 2ea22af9ef
core: rename comments field to details #10092 (#10135) 2020-11-08 15:11:27 +13:00
Diego Heras 56a260f0d7
core: disable tv-search by default (#9893)
* Disable tv-search in music trackers
* Add TVRage search in Cardigann
2020-10-18 22:47:36 +02:00
Diego Heras 9cdad3de64
core: separate categories from movie-search (#9862)
* Categories and Torznab movie-search are separated
* Movie-search parameters are validated
* Fixed some bugs in Cardigann indexers
2020-10-18 19:26:22 +02:00
Diego Heras fa317b1329
core: disable debug log level when the server restarts. resolves #8315 (#9665) 2020-09-27 01:19:46 +02:00
Diego Heras 41afd9f61b
core: add an option to disable proxy. resolves #8138 (#9660) 2020-09-26 22:28:29 +02:00
Diego Heras 7279edf354
core: fix ignoresslerrors cli option (#9657) 2020-09-26 19:50:58 +02:00
Diego Heras b212169dc2
core: code cleanup, exception messages (#9631) 2020-09-24 22:02:45 +02:00
ngosang 5ad1c9c87c core: refactor http webclient part 15 #8529
Fix Mono 5.x and Automapper bugs
2020-09-21 18:21:48 +02:00
ngosang 27fa37e220 core: refactor http webclient part 14 #8529
Remove old http webclients references
2020-09-21 18:13:34 +02:00
Cory 41dd2dcad5 core: refactor http webclient part 8 #8529 (#7725)
Replay Remove automapper commit after rebase
2020-09-21 18:13:12 +02:00
Cory 4dd6da4f6e core: refactor http webclient part 4 #8529 (#7653)
Change byte result name to ContentBytes in preparation for merge
2020-09-21 18:12:00 +02:00
Cory d760350dc0 core: refactor http webclient part 1 #8529 (#7652)
Rename WebClientStringResult.Content to WebClientStringResult.ContentString
2020-09-21 18:11:48 +02:00
ngosang 1271ecaa4c Revert "core: refactor http webclient part 1 #8529 (#7652)"
This reverts commit 0bdcfd1e7b.
2020-09-21 08:04:26 +02:00
ngosang ede3f77e6a Revert "core: refactor http webclient part 4 #8529 (#7653)"
This reverts commit c605c9a7ae.
2020-09-21 08:04:11 +02:00
ngosang 08c41c6daa Revert "core: refactor http webclient part 8 #8529 (#7725)"
This reverts commit 1184a9285a.
2020-09-21 08:03:23 +02:00
ngosang 9d5636cc19 Revert "core: refactor http webclient part 14 #8529"
This reverts commit 4b983162fc.
2020-09-21 08:02:41 +02:00
ngosang 4b983162fc core: refactor http webclient part 14 #8529
Remove old http webclients references
2020-09-19 19:16:13 +02:00
Cory 1184a9285a core: refactor http webclient part 8 #8529 (#7725)
Replay Remove automapper commit after rebase
2020-09-19 18:38:21 +02:00
Cory c605c9a7ae core: refactor http webclient part 4 #8529 (#7653)
Change byte result name to ContentBytes in preparation for merge
2020-09-19 18:36:33 +02:00
Cory 0bdcfd1e7b core: refactor http webclient part 1 #8529 (#7652)
Rename WebClientStringResult.Content to WebClientStringResult.ContentString
2020-09-19 18:33:39 +02:00
Diego Heras aa6d8962de
core: update dependencies (#9527) 2020-09-14 00:56:07 +02:00
Diego Heras 9c08612c04
core: hide deprecation warning (#9526) 2020-09-14 00:35:48 +02:00
Diego Heras b4c097fd97
core: show docker image version in the startup traces (#9521)
https://github.com/linuxserver/docker-jackett/pull/105
2020-09-13 22:46:16 +02:00
Qstick f8ad109b78
cardigann: Add TVDbId, TMDbId Query Support (#9102) 2020-08-17 10:07:04 +12:00
Diego Heras 878aa1aab9
core: fix magnet link encoding. resolves #8889 (#9020) 2020-06-21 09:13:22 +02:00
Diego Heras 2c4ca6be1f
core: update jackett dependencies (#8977) 2020-06-14 13:25:51 +02:00
Diego Heras af9224ccbe
core: improve updater to detect errors. resolves #8631 (#8661) 2020-05-16 11:43:42 +12:00
Diego Heras 6156ad0cd5
core: allow renaming & merging of trackers with config (part 1 #8355) (#8608)
core: allow renaming & merging of trackers with config (part 1 #8355) (#8608)

* rename site field to id in yaml indexers
* add id field in c# indexers
* use id field instead of class name in c#
2020-05-11 21:59:28 +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
Diego Heras 5d47cf060a
core: fix links in rss, torznab and potato feeds (#8141) 2020-04-12 18:06:39 +02:00
Cory 6dc00de864
Re-run dotnet format and enable style enforcement. (#8053) 2020-04-07 11:17:17 -05:00
Diego Heras 484cc35577
core: remove unused imports (#8022) 2020-04-04 19:56:18 +13:00