Commit Graph

25 Commits

Author SHA1 Message Date
Garfield69 d89fa2e80a anidex: Add multi language support. Resolves #11155 2021-04-12 22:25:31 +12: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
6cUbi57z 8c0fcecb95
Remove invalid Anidex capabilities (#11319) Resolves #10488 2021-03-15 10:23:58 +13:00
ilike2burnthing 4945f98573
anidex: fix search by language. resolves #10930 (#10932)
also updated group_id
2021-01-25 23:59:11 +00: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 2ea22af9ef
core: rename comments field to details #10092 (#10135) 2020-11-08 15:11:27 +13: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
seeyabye e077baa5b9
anidex: fix categories. resolves #9727 (#9735) 2020-10-04 20:21:01 +02:00
Garfield69 eb7a104f17 drop MR and MST from public c# indexers 2020-09-27 11:09:42 +13: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 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 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 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 8c7564f406
anidex: fix search params. resolves #9193 (#9209) 2020-07-22 01:25:56 +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 162ad104ef
ci/cd: exclude indexers from code coverage (#8448) 2020-05-03 18:35:52 -05:00
Diego Heras 8d8622479d
anidex: fix ddos protection bypass. resolves #8095 (#8106) 2020-04-11 14:46:15 +12:00
Cory 348dddfbee
core: Apply declarations styles (#7166) 2020-02-11 11:16:19 +13:00
Diego Heras e2310ea70b
anidex: rewrite in C# to bypass DDOS. resolves #7036 resolves #6834 (#7142)
* Replace Cardigann Anidex indexer for C# impelementation

Add bypass for DDOS Guard

* Improve error messages from type conversions

* Add missing cookie check

* Fix index out of range exception

* Change error handling to only warn about DDoS bypass exceptions

This is so that searches will still be attempted if there are issues with the DDoS protection (e.g. if it is removed).

* Improve error handling and clean up code

* pending changes
2020-02-09 15:43:32 +13:00