Commit Graph

150 Commits

Author SHA1 Message Date
XYZJR eaf0513605
Core: rewrite of configuration items. Resolves #2114 (#11104) 2021-03-17 12:29:26 +13:00
NinjaLikesCheez 31a929796f
RunTimeSettings: Create the Data Folder if it doesn't exist (OSx, Linux) (#11173) resolves #10755 2021-03-04 21:31:57 +13:00
XYZJR 87b5500c84
RuTracker: Add config option to move tags to end of release title. Resolves #11109 (#11125) 2021-02-23 18:24:02 +13: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 ebe05267b2
core: FlareSolverr integration. Bypass Cloudflare protection (#9028) 2020-12-13 21:42:10 +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 eeb51c7e63
torrentseeds: fix search with only one result. resolves #5973 (#10317) 2020-11-28 19:36:35 +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 c5dd37b836
core: rename banner field to poster #10092 (#10134) 2020-11-08 12:43:33 +13:00
Diego Heras 2cf78fe4fd
core: add missing torznab attributes. resolves #10118 (#10122)
* add coverurl
* rename tvdb and tmdb
2020-11-06 22:03:25 +01:00
Diego Heras ed9d0a8328
core: remove recaptcha legacy code. resolves #8268 (#10111) 2020-11-05 15:19:09 +13:00
Diego Heras 0e56ef75cb
core: exclude some classes from code coverage (#10108) 2020-11-04 22:23:34 +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 e340813291
core: fix custom categories sorting. (#10078)
Fix #10031
2020-11-02 11:31:30 +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 767700d6bb
core: categories cleanup (#10006)
* core: categories cleanup
* swap categories 2050 Movies/BluRay / 2060 Movies/3D
* swap categories 6050 XXX/Pack / 6070 XXX/Other
* swap categories 7010 Books/Mags / 7020 Books/EBook / 7030 Books/Comics
* category validation is case sensitive
* renamed some categories to follow Newznab specs
2020-10-29 08:00:48 +13:00
Diego Heras 861655395b
core: move categories code into a new class (#10005) 2020-10-27 22:17:03 +01:00
garfield69 aec14b88e9
Core: correct Other as 8000 and Books as 7000 (#9986)
as documented in https://newznab.readthedocs.io/en/latest/misc/api/#predefined-categories
and update any indexers affected
2020-10-28 08:02:32 +13:00
Diego Heras da0761406f
core: refactor book-search (#9897) 2020-10-19 21:26:43 +02: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
Dmitry Chepurovskiy edc09fd213
Anilibria: add Public Russian Anime site resolves #5762 (#9836) 2020-10-17 11:14:10 +13:00
seeyabye 5be9224bb5
redacted: fixed ip ban issue. resolves #9751 resolves #9753 resolves #3345 (#9770) 2020-10-08 21:16:22 +02:00
Skyler Mäntysaari 0cec4f9b56
NordicBits: Removed tracker as it's gone. (#9777) 2020-10-08 17:29:16 +13: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 f7f3c11bb6
bakabt: fix outstanding issues. resolves #8827 resolves #8828 resolves #8993 (#9714) 2020-10-02 16:39:39 +02:00
ngosang 64788e23f6 core: code cleanup 2020-10-01 20:35:00 +02:00
seeyabye 218c4dfe3f
PassThePopcorn: fix downloading torrents (#9532) resolves #8927 2020-10-01 13:34:40 +13: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 5f46f23eb7
nebulance: add 2fa and freeleech. resolves #8651 (#9671) 2020-09-27 16:10:55 +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 a1108bc5a2
core: fix invalid characters in xml/rss. resolves #9118 (#9636) 2020-09-25 02:40:13 +02:00
seeyabye b437e0dd85
animebytes: new option for more fine-grain synonymn selections (#9484) 2020-09-13 19:00:09 +02:00
Diego Heras 652dac4163
core: change seeds/leechers type to long. resolves #6558 (#9505)
There are several sites with wrong seeds/leechers like 4,294,967,295
We can fix that by increasing the variable to long (to avoid casting error)
and then set a valid value (0 seeds/leechers)
2020-09-12 16:32:38 +02:00
Diego Heras e940ac4c51
myanonamouse: option to exclude vip torrents. resolves #4579 (#9362) 2020-08-17 19:49:30 +02:00
Qstick f8ad109b78
cardigann: Add TVDbId, TMDbId Query Support (#9102) 2020-08-17 10:07:04 +12:00
ta264 df91bd4573
Add support for book-search (#9306) 2020-08-17 09:44:12 +12:00
Tawagot0 0de5606c2e
xthor: replace vostfr with english (#8797) 2020-05-28 19:39:09 +02:00
Diego Heras 8301ceba96
avistaz, privatehd, cinemaz: use json api. resolves #8727 (#8747) 2020-05-23 14:46:22 +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 97e4c53218
rarbg: remove .torrent download and code cleanup (#8462) 2020-05-05 19:20:21 +12:00
Cory f3d7b9fe26
Revert "Core: remove ItemType enum in favor of pattern matching (#8277)" (#8295)
This reverts commit e83ed96194.
2020-04-21 01:45:21 -05:00
Garfield69 6afd992b9f filelist: update the info about passkey. 2caccea 2020-04-21 16:37:54 +12:00
Cory e83ed96194
Core: remove ItemType enum in favor of pattern matching (#8277) 2020-04-20 17:52:42 -05:00