summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-05[enh] change categories_as_tabs from a list to a dictMartin Fischer
The tab icon names are currently hard coded in the templates. This commit lets us introduce an icon property in the future, e.g: categories_as_tabs: general: icon: search-outline
2022-01-05[fix] stop setting superfluous cookies for "non tab categories"Martin Fischer
2022-01-05[refactor] make group_engines_in_tab more readableMartin Fischer
2022-01-05[mod] introduce searx.engines.Engine for type hintingMartin Fischer
2022-01-05[enh] enable English dictionaries by defaultMartin Fischer
These dictionaries are no longer part of the general category, so they're no longer queried by default -> we can enable them by default without degrading general query performance.
2022-01-05[enh] display help text for "Other" engines tab in preferencesMartin Fischer
2022-01-05[mod] improve variable nameMartin Fischer
2022-01-05[mod] move group_engines_in_tab to searx.webutilsMartin Fischer
2022-01-05[enh] move dictionaries, Erowid & IMDb out of general categoryMartin Fischer
The general category is the category that is searched by default. From a privacy standpoint it doesn't make sense to send all general queries to specialized search engines that cannot deal with those queries anyway.
2022-01-05[enh] show categories not in any tab category in "Other" preferences tabMartin Fischer
Previously we didn't have a good place to put search engines that don't fit into any of the tab categories. This commit automatically puts search engines that don't belong to any tab category in an "other" category, that is only displayed in the user preferences (and not above search results).
2022-01-05[build] /staticMartin Fischer
2022-01-05[simple] improve styling of subcategory table headers in preferencesMartin Fischer
2022-01-05[enh] display language of engines in preferencesMartin Fischer
2022-01-05[enh] group engines in preference tabsMartin Fischer
2022-01-05[enh] add more categoriesMartin Fischer
2022-01-03[enh] introduce categories_as_tabsMartin Fischer
Previously all categories were displayed as search engine tabs. This commit changes that so that only the categories listed under categories_as_tabs in settings.yml are displayed. This lets us introduce more categories without cluttering up the UI. Categories not displayed as tabs can still be searched with !bangs.
2022-01-03[doc] engine tables: show engines in all categoriesMartin Fischer
Previously the documentation grouped the engines by their first category so e.g. YouTube and Invidious were only shown in the in the videos section but not in the music section. This commit fixes this by iterating over searx.engines.categories, which also has the added benefit that the sections are now in the same order as the tabs in the user interface.
2022-01-03[doc] engine-table: stop sorting by DisabledMartin Fischer
It's only the default value for disabled it's not that important, since users can easily toggle it anytime in the engine preferences.
2022-01-03[enh] settings.yml: allow granular overwrites for aboutMartin Fischer
2022-01-03[fix] bang syntax for categories with spacesMartin Fischer
2022-01-02Merge pull request #610 from return42/img-load-errorAlexandre Flament
[fix] simple theme: hide the image if img load fails
2022-01-02Merge pull request #613 from return42/pylint-bing-imagesAlexandre Flament
[pylint] Bing (Images) engine
2022-01-01Merge pull request #672 from searxng/update_data_update_languages.pyMarkus Heiser
Update searx.data - update_languages.py
2022-01-01Update searx.data - update_languages.pyMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-01[fix] update_languages.py: generate code that passes CIMarkus Heiser
File searx/languages.py, created by update_languages.py has to pass quality check from CI:: make format.python Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-01Merge pull request #676 from return42/fix-bing-langMarkus Heiser
Fix issues on running update_languages.py
2022-01-01[fix] update_languages.py: no excption on unknown locale & languageMarkus Heiser
Fix exception handling of unknown locales and languages:: ERROR: ca_ES_valencia --> [Errno 2] No such file or directory: 'local/py3/lib/python3.8/site-packages/babel/locale-data/ca_ES_valencia.dat' ERROR: languages['fil-PH'] --> {'name': None, 'english_name': None} ERROR: languages['nb-NO'] --> {'name': None, 'english_name': None} Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-01[fix] bing engines: fetch_supported_languagesMarkus Heiser
The Request to and the Response from https://www.bing.com/account/general has been changed. [1] https://github.com/searxng/searxng/pull/672#discussion_r777104919 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-01Merge pull request #670 from searxng/update_data_update_firefox_version.pyAlexandre Flament
Update searx.data - update_firefox_version.py
2022-01-01Merge pull request #671 from searxng/update_data_update_ahmia_blacklist.pyMarkus Heiser
Update searx.data - update_ahmia_blacklist.py
2022-01-01Merge pull request #673 from searxng/update_data_update_currencies.pyMarkus Heiser
Update searx.data - update_currencies.py
2022-01-01Merge pull request #674 from searxng/update_data_update_wikidata_units.pyMarkus Heiser
Update searx.data - update_wikidata_units.py
2022-01-01Update searx.data - update_wikidata_units.pydalf
2022-01-01Update searx.data - update_currencies.pydalf
2022-01-01Update searx.data - update_ahmia_blacklist.pydalf
2022-01-01Update searx.data - update_firefox_version.pydalf
2021-12-31Merge pull request #667 from searxng/dependabot/pip/master/pygments-2.11.0Markus Heiser
Bump pygments from 2.10.0 to 2.11.0
2021-12-31[build] /staticMarkus Heiser
2021-12-31make pygments.lessMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-31Merge pull request #668 from searxng/translations_updateMarkus Heiser
Update translations
2021-12-31[translations] update from Weblatesearxng-bot
055a6080 - 2021-12-28 - Markus Heiser <markus.heiser@darmarit.de> d028dfd7 - 2021-12-26 - Gert-dev <gert+github@disroot.org> d2f3b998 - 2021-12-24 - Markus Heiser <markus.heiser@darmarit.de> 1b882f56 - 2021-12-29 - VaiTon <eyadlorenzo@gmail.com> f8e524a3 - 2021-12-27 - Markus Heiser <markus.heiser@darmarit.de> 70eafa9c - 2021-12-26 - Frederik From <frederikfrom@pm.me> 7eb20cec - 2021-12-28 - Markus Heiser <markus.heiser@darmarit.de> 3cb754a4 - 2021-12-25 - Markus Heiser <markus.heiser@darmarit.de>
2021-12-31Bump pygments from 2.10.0 to 2.11.0dependabot[bot]
Bumps [pygments](https://github.com/pygments/pygments) from 2.10.0 to 2.11.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.10.0...2.11.0) --- updated-dependencies: - dependency-name: pygments dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2021-12-29[build] /staticMarkus Heiser
2021-12-29[fix] simple theme: hide the image if img load failsMarkus Heiser
Add event listener to query selector:: '#urls img.image' From the user point of view, I think it is better to hide the image: img_load_error.svg is helplful in the image category because it still allows to select the image. IMO, in the news category, the fact there is a missing image won't help to choose the links. From a developer point of view, the place holder is signal that may be the engine needs to be updated (at least give a look). The browser console should show the same information too, but it requires some additional steps. [1] [1] https://github.com/searxng/searxng/pull/610#issuecomment-997640132 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-29Merge pull request #663 from dalf/mod_secret_keyMarkus Heiser
changes about the secret_key
2021-12-29Merge pull request #614 from return42/pylint-bing-videoMarkus Heiser
[pylint] Bing (Videos) engine
2021-12-28[mod] implement is_hmac_of() in webutils / close to new_hmac()Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>, Alexandre Flament
2021-12-28[pylint] Bing (Images) engineMarkus Heiser
Fix remarks from pylint and remove obsolete try/except block Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-28[pylint] Bing (Videos) engineMarkus Heiser
Fix remarks from pylint and remove obsolete try/except block Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-28[mod] webutils.py: remove dead codeAlexandre Flament
secret_key can't be bytes (see settings_default.py)