Commit Graph

19 Commits

Author SHA1 Message Date
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
Diego Heras 5d1b84f215
assorted c#: enable music and book search in several trackers (#9910) 2020-10-20 13:38:27 +13:00
Diego Heras 1e42016546
core: refactor music-search (#9895) 2020-10-18 23:20:08 +02: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
seeyabye b4aa772239
redacted: reverted from api to user based login (#9803) 2020-10-10 21:07:20 +13:00
seeyabye 5be9224bb5
redacted: fixed ip ban issue. resolves #9751 resolves #9753 resolves #3345 (#9770) 2020-10-08 21:16:22 +02:00
ngosang d6139714af Revert "redacted: add API Key support to GazelleTracker. resolves #8898 (#9666)"
This reverts commit 3e22ff0d6d.
2020-10-06 20:54:00 +02:00
seeyabye 3e22ff0d6d
redacted: add API Key support to GazelleTracker. resolves #8898 (#9666)
Co-authored-by: Diego Heras <ngosang@hotmail.es>
2020-09-30 21:02:27 +02:00
Diego Heras ee660bb997
redacted: rename old id passtheheadphones #8355 (#8669) 2020-05-16 00:00:44 +02: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 a5d4056e50
redacted: andmatch. resolves #8413 (#8568) 2020-05-09 14:13:47 +02:00
Diego Heras 162ad104ef
ci/cd: exclude indexers from code coverage (#8448) 2020-05-03 18:35:52 -05:00
Diego Heras ada079dba7
core: remove virtual member calls (part 2) (#8023) 2020-04-04 19:56:51 +13:00
Anthony Snavely cf06cd3541
redacted, orpheus: Add session cookie workaround for 2FA users (#7187) resolves #5912 2020-02-12 08:40:41 +13:00
Cory c12da520a4
Run dotnet format on solution (#7145) 2020-02-09 15:35:16 +13: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 29f111aec4 GazelleTracker: add support for freeleech token usage 2017-12-05 16:44:47 +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
Renamed from src/Jackett/Indexers/Redacted.cs (Browse further)