Commit Graph

26 Commits

Author SHA1 Message Date
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
Diego Heras 5a6fe668d6
core: validate flaresolverr url. resolves #10527 (#10571) 2020-12-19 20:13:23 +01:00
Diego Heras ebe05267b2
core: FlareSolverr integration. Bypass Cloudflare protection (#9028) 2020-12-13 21:42:10 +01:00
Diego Heras 13baa27656
core: fix .net core 5.0 warnings. resolves #10433 (#10485) 2020-12-12 21:38:33 +01:00
Diego Heras f8d3781f7a
core: search cache optimizations #10382 (#10484)
* Empty cache when user changes proxy configuration
* Reduce the CPU needed to clean up results that exceed the limit per indexer
2020-12-12 18:44:08 +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 fa317b1329
core: disable debug log level when the server restarts. resolves #8315 (#9665) 2020-09-27 01:19:46 +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 e55e92f9ac
Core: Fix line endings to match style guide(#7476) 2020-03-03 10:28:26 -06: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 98541ac6f8
core: Sort and remove usings (#7159) 2020-02-10 07:08:34 +13:00
junglebus 53a92446f8 Restart webhost if the user changes proxy settings resolves #6215 (#6216) 2019-10-20 15:41:51 +13:00
flightlevel 0d4c8ba860 Inform users that Mono is no longer needed
Note: Not enabled currently, will enable at a later date
2019-04-27 20:59:33 +10:00
flightlevel 56074155e9 Reverse proxy support for Kestrel 2018-07-13 22:15:09 +10:00
flightlevel a6d8e68ca9 Minor changes for OMDB update 2018-07-09 21:00:17 +10:00
flightlevel 012f5f05cc Update Logging 2018-06-22 22:35:58 +10:00
flightlevel 72a18e9b73 Get startup configuration without using DI 2018-06-17 12:39:03 +10:00
flightlevel 9437cd54d3 Setup logging before DI 2018-06-16 18:32:08 +10:00
flightlevel be55c5e4a6 Restart WebHost after port change in UI 2018-06-16 18:06:14 +10:00
flightlevel 23f55ef33a Continue moving configuration across 2018-06-03 21:11:18 +10:00
flightlevel ce84264490 Add Authorization 2018-05-12 12:44:47 +10:00
flightlevel 615794a4bf Minor controller updates as the web app expects no content 2018-05-05 17:10:36 +10:00
flightlevel f162902b36 Refactor controllers for ASP.NET Core (Authentication disabled for now) 2018-05-01 22:55:09 +10:00
flightlevel a752683965 Copy controllers untouced from Jackett project 2018-05-01 22:03:16 +10:00