summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-04-07[mod] clarify the difference of the default category and subgroupingMarkus Heiser
This PR does no functional change it is just an attempt to make more clear in the code, what a default category is and what a subcategory is. The previous name 'others' leads to confusion with the **category 'other'**. If a engine is not assigned to a category, the default is assigned:: DEFAULT_CATEGORY = 'other' If an engine has only one category and this category is shown as tab in the user interface, this engine has no further subgrouping:: NO_SUBGROUPING = 'without further subgrouping' Related: - https://github.com/searxng/searxng/issues/1604 - https://github.com/searxng/searxng/pull/1545 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-06Merge pull request #2322 from return42/fix-2321Markus Heiser
[fix] Gigablast.com has been erased
2023-04-06Merge pull request #2312 from return42/fix-1020-part-2Markus Heiser
[fix] categories can't be removed from UI (categories_as_tabs)
2023-04-06[fix] Gigablast.com has been erasedMarkus Heiser
[1] https://www.reddit.com/r/searchengines/comments/128wdcp/gigablastcom_has_been_erased/ Closes: https://github.com/searxng/searxng/issues/2321 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-05Merge pull request #2315 from return42/fix-2314Markus Heiser
[fix] ./manage: replace data.languages by data.traits
2023-04-05[fix] ./manage: replace data.languages by data.traitsMarkus Heiser
Follow up of https://github.com/searxng/searxng/pull/2269 Related: - https://github.com/searxng/searxng/issues/2314 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-03Merge pull request #2313 from return42/limiter-route-healthzMarkus Heiser
[fix] limiter: never block a /healthz request
2023-04-03[fix] limiter: never block a /healthz requestMarkus Heiser
Related: https://github.com/searxng/searxng/issues/2310#issuecomment-1494417531 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-03[fix] categories can't be removed from UI (categories_as_tabs)Markus Heiser
When using ``use_default_settings: true``, removing default categories from settings.yml will not remove them from the UI. The value ``categories_as_tabs`` is a dictionary type (a4c2cfb) and dictionary types are merged additive by ``settings_loader.update_settings()``. This patch replaces the default ``categories_as_tabs`` by the one from the ``user_settings``. Related: https://github.com/searxng/searxng/issues/1019#issuecomment-1193145654 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-03Merge pull request #2309 from return42/fix-392Markus Heiser
[fix] engine ddg: quote !bangs in a request send to ddg
2023-04-03[fix] engine ddg: quote !bangs in a request send to ddgMarkus Heiser
Closes: https://github.com/searxng/searxng/issues/392 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-02Merge pull request #2308 from return42/fix-1959-2Markus Heiser
[fix] engine google-News: fix decoding of URLs (part 2)
2023-04-02[fix] engine google-News: fix decoding of URLs (part 2)Markus Heiser
Follow up of 8de8070ed to fix the issue reported by AlyoshaVasilieva [1]. [1] https://github.com/searxng/searxng/issues/1959#issuecomment-1493300574 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-02Merge pull request #2306 from return42/fix-1959Markus Heiser
[fix] engine google-News: fix decoding of URLs
2023-04-01Merge pull request #2304 from return42/limiter-modPaul Braeuning
[mod] limiter: minor improvements
2023-04-01[mod] limiter: minor improvementsMarkus Heiser
- requests without HTTP header 'Connection' or missing 'User-Agent' will be blocked by the limiter - re_bot is related to 'User-Agent' and has been renamed to block_user_agent Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-01[fix] engine google-News: fix decoding of URLsMarkus Heiser
Google-News returns internal links where the origin URL is encoded in a base64 (RFC 2045 aka URL-safe) string. Closes: https://github.com/searxng/searxng/issues/1959 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-01Merge pull request #2186 from return42/limiter-debug-logMarkus Heiser
[mod] plugin limiter: improve the log messages
2023-04-01[mod] plugin limiter: improve the log messagesMarkus Heiser
In debug mode more detailed logging is needed to evaluate if an access should have been blocked by the limiter. BTW: remove duplicate code checking bot signature ``re_bot.match(user_agent)`` Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-03-31Merge pull request #2303 from Venca24/devel_seznamMarkus Heiser
[fix] engine seznam
2023-03-31[fix] engine seznam: fix issues reported by black & pylintMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-03-31[fix] engine seznamVenca24
2023-03-31Merge pull request #2300 from ↵Markus Heiser
searxng/dependabot/npm_and_yarn/searx/static/themes/simple/master/sharp-0.32.0 Bump sharp from 0.31.3 to 0.32.0 in /searx/static/themes/simple
2023-03-31Bump sharp from 0.31.3 to 0.32.0 in /searx/static/themes/simpledependabot[bot]
Bumps [sharp](https://github.com/lovell/sharp) from 0.31.3 to 0.32.0. - [Release notes](https://github.com/lovell/sharp/releases) - [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md) - [Commits](https://github.com/lovell/sharp/compare/v0.31.3...v0.32.0) --- updated-dependencies: - dependency-name: sharp dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-03-31Merge pull request #2282 from ↵Markus Heiser
searxng/dependabot/npm_and_yarn/searx/static/themes/simple/master/ionicons-7.1.0 Bump ionicons from 6.1.3 to 7.1.0 in /searx/static/themes/simple
2023-03-31Merge pull request #2298 from searxng/dependabot/pip/master/redis-4.5.4Markus Heiser
Bump redis from 4.5.1 to 4.5.4
2023-03-31Merge pull request #2299 from searxng/dependabot/pip/master/selenium-4.8.3Markus Heiser
Bump selenium from 4.8.2 to 4.8.3
2023-03-31Bump selenium from 4.8.2 to 4.8.3dependabot[bot]
Bumps [selenium](https://github.com/SeleniumHQ/Selenium) from 4.8.2 to 4.8.3. - [Release notes](https://github.com/SeleniumHQ/Selenium/releases) - [Commits](https://github.com/SeleniumHQ/Selenium/commits) --- updated-dependencies: - dependency-name: selenium dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-03-31Bump redis from 4.5.1 to 4.5.4dependabot[bot]
Bumps [redis](https://github.com/redis/redis-py) from 4.5.1 to 4.5.4. - [Release notes](https://github.com/redis/redis-py/releases) - [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES) - [Commits](https://github.com/redis/redis-py/compare/v4.5.1...v4.5.4) --- updated-dependencies: - dependency-name: redis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-03-31Merge pull request #2297 from searxng/translations_updateMarkus Heiser
Update translations
2023-03-31[translations] update from Weblatesearxng-bot
17ad1118 - 2023-03-29 - return42 <markus.heiser@darmarit.de> 61446791 - 2023-03-29 - return42 <markus.heiser@darmarit.de>
2023-03-30Merge pull request #2296 from return42/fix-1879Markus Heiser
[fix] engine flickr: adapt to the new data model from flicker's response
2023-03-30[fix] engine flickr: adapt to the new data model from flicker's responseMarkus Heiser
Closes: https://github.com/searxng/searxng/issues/1879 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-03-29Merge pull request #2293 from return42/fix-1454Markus Heiser
[fix] engine gigablast: add &userid=<User ID>&code=<Feed Code>
2023-03-29[fix] engine gigablast: add &userid=<User ID>&code=<Feed Code>Markus Heiser
Gigablast's API does block unauthorized request[1]. [1] https://gigablast.com/searchfeed.html Closes: https://github.com/searxng/searxng/issues/1454 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-03-29Merge pull request #2288 from searxng/update_data_update_firefox_version.pyMarkus Heiser
Update searx.data - update_firefox_version.py
2023-03-29Merge pull request #2289 from searxng/update_data_update_ahmia_blacklist.pyMarkus Heiser
Update searx.data - update_ahmia_blacklist.py
2023-03-29Merge pull request #2291 from searxng/update_data_update_currencies.pyMarkus Heiser
Update searx.data - update_currencies.py
2023-03-29Merge pull request #2292 from searxng/update_data_update_engine_descriptions.pyMarkus Heiser
Update searx.data - update_engine_descriptions.py
2023-03-29Merge pull request #2269 from return42/locale-revisionMarkus Heiser
Revision of the locale- and language- handling in SearXNG
2023-03-29Update searx.data - update_engine_descriptions.pydalf
2023-03-29Update searx.data - update_currencies.pydalf
2023-03-29Update searx.data - update_ahmia_blacklist.pydalf
2023-03-29Update searx.data - update_firefox_version.pydalf
2023-03-28[fix] engine: google has changed the layout of its responseMarkus Heiser
Since 28. March google has changed its response, this patch fixes the google engine to scrap out the results & images from the new designed response. closes: https://github.com/searxng/searxng/issues/2287 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-03-24Update searx.data - update_engine_traits.pydalf
2023-03-24Bump babel from 2.11.0 to 2.12.1dependabot[bot]
Bumps [babel](https://github.com/python-babel/babel) from 2.11.0 to 2.12.1. - [Release notes](https://github.com/python-babel/babel/releases) - [Changelog](https://github.com/python-babel/babel/blob/master/CHANGES.rst) - [Commits](https://github.com/python-babel/babel/compare/v2.11.0...v2.12.1) --- updated-dependencies: - dependency-name: babel dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-03-24[mod] replace utils.match_language by locales.match_localeMarkus Heiser
This patch replaces the *full of magic* ``utils.match_language`` function by a ``locales.match_locale``. The ``locales.match_locale`` function is based on the ``locales.build_engine_locales`` introduced in 9ae409a0 [1]. In the past SearXNG did only support a search by a language but not in a region. This has been changed a long time ago and regions have been added to SearXNG core but not to the engines. The ``utils.match_language`` was the function to handle the different aspects of language/regions in SearXNG core and the supported *languages* in the engine. The ``utils.match_language`` did it with some magic and works good for most use cases but fails in some edge case. To replace the concurrence of languages and regions in the SearXNG core the ``locales.build_engine_locales`` was introduced in 9ae409a0 [1]. With the last patches all engines has been migrated to a ``fetch_traits`` and a language/region concept that is based on ``locales.build_engine_locales``. To summarize: there is no longer a need for the ``locales.match_language``. [1] https://github.com/searxng/searxng/pull/1652 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-03-24[mod] remove obsolete EngineTraits.supported_languagesMarkus Heiser
All engines has been migrated from ``supported_languages`` to the ``fetch_traits`` concept. There is no longer a need for the obsolete code that implements the ``supported_languages`` concept. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-03-24[mod] Archlinux Wiki: improved request API & upgrade to data_type: traits_v1Markus Heiser
re-implementation of the Archlinux Wiki: - fetch_traits(): fetch languages, wiki URLs and title arguments - add content field to the result list - add documentation Wikis from wiki.archlinux.fr, wiki.archlinux.ro, archtr.org/wiki do no longer exists (has been merged in the main wiki). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>