summaryrefslogtreecommitdiff
path: root/searx
AgeCommit message (Collapse)Author
2023-05-06Merge pull request #2406 from ↵Markus Heiser
searxng/dependabot/npm_and_yarn/searx/static/themes/simple/master/grunt-contrib-cssmin-5.0.0 Bump grunt-contrib-cssmin from 4.0.0 to 5.0.0 in /searx/static/themes/simple
2023-05-05Bump grunt-contrib-cssmin in /searx/static/themes/simpledependabot[bot]
Bumps [grunt-contrib-cssmin](https://github.com/gruntjs/grunt-contrib-cssmin) from 4.0.0 to 5.0.0. - [Release notes](https://github.com/gruntjs/grunt-contrib-cssmin/releases) - [Changelog](https://github.com/gruntjs/grunt-contrib-cssmin/blob/main/CHANGELOG) - [Commits](https://github.com/gruntjs/grunt-contrib-cssmin/compare/v4.0.0...v5.0.0) --- updated-dependencies: - dependency-name: grunt-contrib-cssmin dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2023-05-05[translations] update from Weblatesearxng-bot
70336613 - 2023-05-03 - return42 <markus.heiser@darmarit.de> 55d82b96 - 2023-05-03 - artnay <jiri.gronroos@iki.fi> 3911fe35 - 2023-05-03 - return42 <markus.heiser@darmarit.de> 81b6ebd1 - 2023-05-03 - return42 <markus.heiser@darmarit.de> 6655ac63 - 2023-05-01 - return42 <markus.heiser@darmarit.de> 3b9cccb8 - 2023-04-30 - return42 <markus.heiser@darmarit.de> 51601c0b - 2023-04-30 - return42 <markus.heiser@darmarit.de>
2023-04-30[mod] limiter: block requests from PetalBotMarkus Heiser
Block requests from PetalBlock. Normally robots.txt is enough to stop PetalBlock from making requests [1]. However, if SearXNG is offered below a path (example.org/search), then the robots.txt is not available in the root paths of the domain / subdomain. [1] https://webmaster.petalsearch.com/site/petalbot Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-30Merge pull request #2382 from searxng/translations_updateMarkus Heiser
Update translations
2023-04-30Merge pull request #2390 from searxng/update_data_update_wikidata_units.pyMarkus Heiser
Update searx.data - update_wikidata_units.py
2023-04-30Merge pull request #2391 from searxng/update_data_update_firefox_version.pyMarkus Heiser
Update searx.data - update_firefox_version.py
2023-04-30Merge pull request #2392 from searxng/update_data_update_currencies.pyMarkus Heiser
Update searx.data - update_currencies.py
2023-04-30Merge pull request #2393 from searxng/update_data_update_ahmia_blacklist.pyMarkus Heiser
Update searx.data - update_ahmia_blacklist.py
2023-04-30Merge pull request #2394 from searxng/update_data_update_engine_traits.pyMarkus Heiser
Update searx.data - update_engine_traits.py
2023-04-29Update searx.data - update_engine_descriptions.pydalf
2023-04-29Update searx.data - update_engine_traits.pydalf
2023-04-29Update searx.data - update_ahmia_blacklist.pydalf
2023-04-29Update searx.data - update_currencies.pydalf
2023-04-29Update searx.data - update_firefox_version.pydalf
2023-04-29Update searx.data - update_wikidata_units.pydalf
2023-04-28[translations] update from Weblatesearxng-bot
b6658877 - 2023-04-27 - return42 <markus.heiser@darmarit.de> d7a3917b - 2023-04-25 - return42 <markus.heiser@darmarit.de> 879248ad - 2023-04-25 - return42 <markus.heiser@darmarit.de> 6ccafe4e - 2023-04-25 - return42 <markus.heiser@darmarit.de> d202aed8 - 2023-04-23 - Parsa Ranjbar <parsa@disr.it>
2023-04-25Merge pull request #2347 from return42/mod-lang-detectionMarkus Heiser
If language recognition fails use the Accept-Language
2023-04-25[mod] external bang: go to main instead of search page when query is emptyJakub Łukasiewicz
Closes: #2368
2023-04-21[build] /staticMarkus Heiser
2023-04-21[translations] update from Weblatesearxng-bot
72d42638 - 2023-04-15 - tentsbet <remendne@pentrens.jp> 560e1885 - 2023-04-16 - return42 <markus.heiser@darmarit.de> 7370b026 - 2023-04-16 - return42 <markus.heiser@darmarit.de> 20946697 - 2023-04-16 - return42 <markus.heiser@darmarit.de>
2023-04-17[fix] doc of locales.get_engine_locale() / zh-classical is missleadingMarkus Heiser
Wikipedia's zh-classical is not zh_Hant (see doc-string of engines.wikipedia). Fixed the example in the doc-string of locales.get_engine_locale() to 'zh_TW'. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-16[fix] engine: google play moviesMarkus Heiser
Closes: https://github.com/searxng/searxng/pull/1746 Closes: https://github.com/searxng/searxng/issues/1599 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-16Update searx.data - update_engine_traits.pyMarc Abonce Seguin
2023-04-15[mod] settings.yml: enable language detection by default_lang (auto)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-15[mod] move language recognition to get_search_query_from_webappMarkus Heiser
To set the language from language recognition and hold the value selected by the client, the previous implementation creates a copy of the SearchQuery object and manipulates the SearchQuery object by calling function replace_auto_language(). This patch tries to implement a similar functionality in a more central place, in function get_search_query_from_webapp() when the SearchQuery object is build up. Additional this patch uses the language preferred by the client, if language recognition does not have a match / the existing implementation does not care about client preferences and uses 'all' in case of no match. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-15[mod] add a Preferences.client property to store client prefsMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-15[build] /staticMarkus Heiser
2023-04-15[mod] Ignore autocomplete_min on queries that include '!' (!bang)Markus Heiser
Closes: https://github.com/searxng/searxng/issues/1566 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-15Update searx.data - update_engine_descriptions.pyMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-15[upd] make data.traits --> searx/data/engine_traits.jsonMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-15[fix] searxng_extra/update/update_engine_descriptions.py (part 1)Markus Heiser
Follow up of #2269 The script to update the descriptions of the engines does no longer work since PR #2269 has been merged. searx/engines/wikipedia.py ========================== 1. There was a misusage of zh-classical.wikipedia.org: - `zh-classical` is dedicate to classical Chinese [1] which is not traditional Chinese [2]. - zh.wikipedia.org has LanguageConverter enabled [3] and is going to dynamically show simplified or traditional Chinese according to the HTTP Accept-Language header. 2. The update_engine_descriptions.py needs a list of all wikipedias. The implementation from #2269 included only a reduced list: - https://meta.wikimedia.org/wiki/Wikipedia_article_depth - https://meta.wikimedia.org/wiki/List_of_Wikipedias searxng_extra/update/update_engine_descriptions.py ================================================== Before PR #2269 there was a match_language() function that did an approximation using various methods. With PR #2269 there are only the types in the data model of the languages, which can be recognized by babel. The approximation methods, which are needed (only here) in the determination of the descriptions, must be replaced by other methods. [1] https://en.wikipedia.org/wiki/Classical_Chinese [2] https://en.wikipedia.org/wiki/Traditional_Chinese_characters [3] https://www.mediawiki.org/wiki/Writing_systems#LanguageConverter Closes: https://github.com/searxng/searxng/issues/2330 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
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-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-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-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-08Merge pull request #2329 from return42/fix-bing-no-descrMarkus Heiser
[fix] Bing-WEB: use <span class='algoSlug_icon'> for the description
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-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-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>