summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-04-15Merge pull request #2338 from return42/block-old-farsideMarkus Heiser
[mod] limiter: block unmaintained Farside instances
2023-04-15Merge pull request #2342 from searxng/dependabot/pip/master/pygments-2.15.0Markus Heiser
Bump pygments from 2.14.0 to 2.15.0
2023-04-15[build] /staticMarkus Heiser
2023-04-15Merge pull request #2341 from searxng/dependabot/pip/master/flask-babel-3.1.0Markus Heiser
Bump flask-babel from 3.0.1 to 3.1.0
2023-04-15Merge pull request #2340 from searxng/translations_updateMarkus Heiser
Update translations
2023-04-14Bump pygments from 2.14.0 to 2.15.0dependabot[bot]
Bumps [pygments](https://github.com/pygments/pygments) from 2.14.0 to 2.15.0. - [Release notes](https://github.com/pygments/pygments/releases) - [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES) - [Commits](https://github.com/pygments/pygments/compare/2.14.0...2.15.0) --- updated-dependencies: - dependency-name: pygments dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14Bump flask-babel from 3.0.1 to 3.1.0dependabot[bot]
Bumps [flask-babel](https://github.com/python-babel/flask-babel) from 3.0.1 to 3.1.0. - [Release notes](https://github.com/python-babel/flask-babel/releases) - [Changelog](https://github.com/python-babel/flask-babel/blob/master/CHANGELOG) - [Commits](https://github.com/python-babel/flask-babel/compare/v3.0.1...v3.1.0) --- updated-dependencies: - dependency-name: flask-babel dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14[translations] update from Weblatesearxng-bot
8d1975e8 - 2023-04-12 - return42 <markus.heiser@darmarit.de> 76ff8083 - 2023-04-13 - return42 <markus.heiser@darmarit.de> a53721ef - 2023-04-13 - return42 <markus.heiser@darmarit.de> 9d8b4810 - 2023-04-08 - Eryk Michalak <gnu.ewm@protonmail.com> 1587a991 - 2023-04-10 - tentsbet <remendne@pentrens.jp> 16c84cef - 2023-04-10 - return42 <markus.heiser@darmarit.de> 29845d20 - 2023-04-09 - ghose <correo@xmgz.eu> ccdee956 - 2023-04-08 - gallegonovato <fran-carro@hotmail.es> 402b3d27 - 2023-04-08 - return42 <markus.heiser@darmarit.de> 44b1ea99 - 2023-04-10 - return42 <markus.heiser@darmarit.de>
2023-04-13[mod] limiter: block unmaintained Farside instancesMarkus Heiser
Since [bb3a01f8] has been merged to the Farside project, Farside instances do no longer need to send requests to SearXNG instances [1]. There are some old unmaintained Farside instances on the web that continue to query SearXNG instances --> we can safely block their requests. [1] https://github.com/benbusby/farside/issues/95 [bb3a01f8] https://github.com/benbusby/farside/commit/bb3a01f8 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-12Update AUTHORS.rstAlexandre Flament
2023-04-10Merge pull request #2331 from rinagorsha/update-input-with-keyboardMarkus Heiser
[mod] Update input when selecting autocomplete prediction with keyboard
2023-04-10[build] /staticMarkus Heiser
2023-04-10[mod] Update input when selecting by TABMarkus Heiser
When the user press [TAB] the input form should be filled with the highlighted item from the autocomplete list, but not release a search / with other words: what we now have by pressing once on [ENTER] should be mapped to the [TAB] key and pressing [ENTER] once should release a search query. [1] [1] https://github.com/searxng/searxng/issues/778#issuecomment-1016593816 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-10[mod] Update input when selecting autocomplete prediction with keyboardrinagorsha
- Update input when selecting autocomplete prediction with keyboard - Search immediately by pressing enter key - Search immediately by clicking on an autocomplete suggestion Related: - https://github.com/searxng/searxng/issues/778
2023-04-10Merge pull request #2311 from return42/fix-1020-part-1Markus Heiser
[fix] don't show a category if there is no active engine in
2023-04-10[fix] don't show a category if there is no active engine inMarkus Heiser
When deactivate all the engines of a category, this category should disappeare. This feature has been lost in commit 8e9ad1cc. For better readability, webapp.get_enabled_categories() has been rewritten with identical functionality. Related: - https://github.com/searxng/searxng/issues/1020 - https://github.com/searxng/searxng/issues/1604 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-10Merge pull request #2332 from xrrxr/patch-1Markus Heiser
[doc] misspelling: weight
2023-04-09[doc] misspelling: weightxrrxr
2023-04-08Merge pull request #2329 from return42/fix-bing-no-descrMarkus Heiser
[fix] Bing-WEB: use <span class='algoSlug_icon'> for the description
2023-04-08Merge pull request #2327 from return42/ui-pref-add-bangAlexandre Flament
[mod] in the preference page, show !bang of subgrouping categories
2023-04-08[build] /staticMarkus Heiser
2023-04-08[mod] in the preference page, show !bang of subgrouping categoriesMarkus Heiser
The names of the subgrouping categories in the preference page are translated, to use this categories the user needs to know by which !bang the category can be selected. Related to "Make 'non tab category' bangs discoverable" in [#690]. Related: - [#690] https://github.com/searxng/searxng/issues/690 - 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-08[fix] minor typo in de/search-syntax pageMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-08[fix] Bing-WEB: use <span class='algoSlug_icon'> for the descriptionMarkus Heiser
On some result items from Bing-WEB the `<span class='algoSlug_icon'>` tag is the only tag that contains a description. The issue can be reproduced by [1]:: !bi vmware [1] https://github.com/searxng/searxng/issues/1764#issuecomment-1417990531 Reported-by: @AlyoshaVasilieva Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-07Merge pull request #2326 from return42/ungroupedMarkus Heiser
[mod] clarify the difference of the default category and subgrouping
2023-04-07Merge pull request #2325 from searxng/dependabot/pip/master/pylint-2.17.2Markus Heiser
Bump pylint from 2.17.1 to 2.17.2
2023-04-07[doc] additional descriptions about categories & categories_as_tabsMarkus Heiser
Add missing documentation of PR [#634]. Related to checkbox "Document how to categorize engines" in [#690]. Related: - [#634] https://github.com/searxng/searxng/pull/634#issuecomment-1004757502 - [#690] https://github.com/searxng/searxng/issues/690 - 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-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-07Bump pylint from 2.17.1 to 2.17.2dependabot[bot]
Bumps [pylint](https://github.com/PyCQA/pylint) from 2.17.1 to 2.17.2. - [Release notes](https://github.com/PyCQA/pylint/releases) - [Commits](https://github.com/PyCQA/pylint/compare/v2.17.1...v2.17.2) --- updated-dependencies: - dependency-name: pylint dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07Merge pull request #2324 from searxng/translations_updateMarkus Heiser
Update translations
2023-04-07[translations] update from Weblatesearxng-bot
d2fb466c - 2023-04-02 - return42 <markus.heiser@darmarit.de> 5576f597 - 2023-04-02 - return42 <markus.heiser@darmarit.de> 4b28cab9 - 2023-03-31 - Vistaus <vistausss@fastmail.com>
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