Commit Graph

92 Commits

Author SHA1 Message Date
Diego Heras
f2e258a6de core: immutable query. resolves #8531 (#8570) 2022-04-24 23:11:44 +02:00
Diego Heras
47e9641325 core: remove legacy DPAPI code (#13198) 2022-04-24 22:09:08 +02:00
Diego Heras
cb7a4861a0 core: use proxy for cover/poster images url. resolves #12761 (#12843) 2022-01-16 23:38:58 +00:00
Diego Heras
2b1f138d6f Update AutoMapper dependency (#12568) 2021-11-16 19:17:10 +01:00
Garfield69
3ca7f6bbbe core: baseIndexer. change the GUID generation order. resolves #12463
try the link first, then the magnet, then the details.

By defaulting to details first, cardigann indexers can in some cases create the same GUID for different torrents under the one title group.
2021-10-26 22:06:33 +13:00
mikeoscar2006
88959ac824 core: Add torznab cache option for individual indexers (#12235) 2021-08-30 15:09:48 +12:00
Alessio Gogna
b9c3f593da [feature] Indexer status (#11706)
Co-authored-by: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com>
2021-06-24 03:37:27 +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
6cUbi57z
4ec6110671 core: Fix exception when no result is returned from web request (#11371) for #11358 2021-03-27 17:36:57 +13:00
XYZJR
eaf0513605 Core: rewrite of configuration items. Resolves #2114 (#11104) 2021-03-17 12:29:26 +13:00
6cUbi57z
72ef99deac Add retry logic to Anidex (#11318) 2021-03-15 19:27:18 +13:00
Ryan McDonald
b24ca38860 MoreThanTV: Rewrite & Header Support for Login (#11237) resolves #6783 2021-03-15 10:19:48 +13:00
Diego Heras
6e527823b5 core: clean up cardigann parser guid #10092 (#10609) 2020-12-22 18:49:59 +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
a1567a94f4 assorted c#: fix configuration of several indexers (#10476)
The link could not be changed
2020-12-12 00:12:40 +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
Diego Heras
2030d9cf13 core: follow torznab specs about categories. resolves #10120 (#10147) 2020-11-08 23:27:54 +01:00
Diego Heras
ed9d0a8328 core: remove recaptcha legacy code. resolves #8268 (#10111) 2020-11-05 15:19:09 +13:00
Diego Heras
14fdea164c core: generate magnet link from infohash and vice versa. resolves #8590 (#10087)
* global list of public trackers
* infohash => magnet link (only in public trackers)
* magnet link => infohash
2020-11-02 17:43:13 +01:00
Diego Heras
6413ad8fd4 core: refactor results post processing: filter and fixing results (#10082) 2020-11-02 14:20:13 +01:00
Diego Heras
1d7ea48505 core: add custom cats in indexers with string categories. resolves #9746 (#10060)
* When category ids in the indexer are "strings" we create a unique hash to make it compatible with Torznab
* This PR also fix several issues related to custom cats
2020-11-02 13:42:00 +13:00
Diego Heras
7a2e52659a core: rewrite category code from scratch. resolves #8049 (#10031)
* Core: Categories are stored in a real tree
* Sorting: First Torznab categories sorted by Id and then custom cats sorted by Name
* Filtering: Results with child category are not removed when searching by parent category. Details in #8049
* Jacket UI: Add parent category when at least one child category exists
* Torznab (caps): Remove non existent children categories. Remove duplicated categories. Details in #10006
2020-11-01 12:07:24 +01:00
Diego Heras
15ea7ed9f9 core: rearrange test classes (#10023) 2020-10-31 01:12:35 +01:00
Diego Heras
861655395b core: move categories code into a new class (#10005) 2020-10-27 22:17:03 +01:00
Diego Heras
8bc765eaae core: code cleanup. part 2 (#9909) 2020-10-19 23:19:10 +02:00
Diego Heras
1d6980c0e8 core: code cleanup (#9908) 2020-10-19 22:50:19 +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
Diego Heras
dcf339a6eb core: remove default categories in c# trackers (#9831) 2020-10-13 22:17:26 +02:00
Diego Heras
c991d27b85 core / firebit: fix download referer. resolves #9758 (#9789) 2020-10-08 22:21:40 +02: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
ngosang
621a47338d core: refactor http webclient part 16 #8529
Rename RequestWithCookiesAsync method
2020-09-21 19:06:32 +02:00
Cory
ac0ba0f9b1 core: refactor http webclient part 13 #8529 (#8941)
Merge string/byte request code
2020-09-21 18:13:30 +02:00
Cory
67c7b4ca70 core: refactor http webclient part 12 #8529 (#8939)
Merge web results classes into single class and update usages
2020-09-21 18:13:27 +02:00
Cory
125298425a core: refactor http webclient part 10 #8529 (#7729)
Move WebResult String and Byte properties to base class
2020-09-21 18:13:19 +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
4531a876eb core: refactor http webclient part 2 #8529 (#7654)
Use base class when not looking at content variable
2020-09-21 18:11:53 +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
9c492c5dcb Revert "core: refactor http webclient part 2 #8529 (#7654)"
This reverts commit 7c071b32ee.
2020-09-21 08:04:21 +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
2d0b378545 Revert "core: refactor http webclient part 10 #8529 (#7729)"
This reverts commit 3a0ece162f.
2020-09-21 08:03:14 +02:00
ngosang
a8d055f0d5 Revert "core: refactor http webclient part 12 #8529 (#8939)"
This reverts commit 22bced9ca3.
2020-09-21 08:02:58 +02:00
ngosang
ca61f965e9 Revert "core: refactor http webclient part 13 #8529 (#8941)"
This reverts commit 4d63fa81d5.
2020-09-21 08:02:53 +02:00
Cory
4d63fa81d5 core: refactor http webclient part 13 #8529 (#8941)
Merge string/byte request code
2020-09-19 18:43:06 +02:00
Cory
22bced9ca3 core: refactor http webclient part 12 #8529 (#8939)
Merge web results classes into single class and update usages
2020-09-19 18:40:08 +02:00
Cory
3a0ece162f core: refactor http webclient part 10 #8529 (#7729)
Move WebResult String and Byte properties to base class
2020-09-19 18:39:12 +02:00