Commit Graph

45 Commits

Author SHA1 Message Date
Diego Heras aca4a16bae
ci/cd: fix whitespaces (#11749) 2021-05-16 20:13:54 +02: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 c5dd37b836
core: rename banner field to poster #10092 (#10134) 2020-11-08 12:43:33 +13:00
Garfield69 570f422de1 assorted c# indexers: cat labels refresh 2020-11-06 16:09:57 +13:00
Diego Heras 4e35866cf5
animebytes: code clean up (#10080) 2020-11-04 10:58:36 +13:00
Diego Heras b33988a9ac
animebytes: add music and book search modes #10018 (#10025) 2020-10-31 02:00:36 +01:00
Liam d982cb8398
animebytes: Add music category (#10021)
Music support seems to have disappeared from Jackett recently, this adds it back
2020-10-31 10:02:38 +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
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
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
seeyabye b437e0dd85
animebytes: new option for more fine-grain synonymn selections (#9484) 2020-09-13 19:00:09 +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
proton cfd70ca1a7
AnimeBytes: Use universal torrent link (#8534) 2020-05-05 18:55:58 +12:00
Diego Heras 162ad104ef
ci/cd: exclude indexers from code coverage (#8448) 2020-05-03 18:35:52 -05:00
Cory b5a6aab894
core: prefer object initializers (#7342) 2020-03-26 17:15:28 -05:00
Cory 889a8da4e5
Convert functions and properties to expression bodies when able (#7312)
Convert functions and properties to expression bodies when able
2020-02-25 10:08:03 -06:00
Cory 348dddfbee
core: Apply declarations styles (#7166) 2020-02-11 11:16:19 +13:00
Cory c12da520a4
Run dotnet format on solution (#7145) 2020-02-09 15:35:16 +13:00
feffe daa1149bd3
AnimeBytes: fix RAW tag setting (#7066) resolves #7027 2020-02-06 15:27:26 +13:00
feffe be7bd4ea22
AnimeBytes: Fix synonym setting AB (#7056) #7027 2020-02-02 07:31:04 +13:00
feffe 96d5f4800b AnimeBytes: Update synonyms. resolves #6186 resolves #6181 (#6190) 2019-10-17 15:43:02 +13:00
seeyabye d52260cc9f animebytes: Fixed category filter and episodes with 3 digits. resolves #5461 (#5882) 2019-08-19 15:01:07 +12:00
Yuri Moens a699245564 AnimeBytes: fix Sonarr compatibility for single digit episodes (#5759) 2019-07-31 07:36:26 +12:00
Ricardo Constantino dc9022edd1 Animebytes: add Live Action Movies categorization (#5519) 2019-06-21 07:45:22 +12:00
flightlevel da61eb8988
AnimeBytes username is case sensitive 2018-05-12 11:59:15 +10:00
proton-ab cc13d7edf6 Update AnimeBytes required passkey length (#3079)
Allow length of 48 for passkey for future changes in AnimeBytes codebase.
2018-05-08 17:25:04 +12:00
proton-ab 6ea2c18384 Update AnimeBytes passkey note message (#3078) 2018-05-08 17:24:43 +12:00
flightlevel 8d921202fa
Animebytes username requirement (#3076) 2018-05-06 10:36:53 +10:00
kaso17 2d0e82159d AnimeBytes: more fixes 2018-04-27 16:52:21 +02:00
kaso17 e4888b83d8 AnimeBytes: finish new API 2018-04-27 16:32:26 +02:00
kaso17 530ad7ecf5 AnimeBytes: migrate to new API (useless reults for now) 2018-04-26 19:30:03 +02:00
kaso17 270b8c9041 AnimeBytes: disable login 2018-04-24 23:54:21 +02:00
kaso17 63dceed010 AnimeBytes: disable indexer 2018-04-24 23:49:38 +02: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 536d6a65db AnimeBytes: attempt to fix CSRF token missing, invalid or expired. 2018-03-09 16:22:04 +01:00
kaso17 be2a041a71 AnimeBytes: add captcha support 2017-11-06 14:29:46 +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/AnimeBytes.cs (Browse further)