summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-09-27[fix] make selected tabs not change wifth anymore compared to not being selectedMrPaulBlack
2021-09-25Merge pull request #333 from dalf/enh-engine-descriptionsAlexandre Flament
RFC: /preferences: display engine descriptions
2021-09-25Merge pull request #344 from dalf/osm-lang-all-fixAlexandre Flament
[fix] openstreetmap engine: map "all" language to English
2021-09-25[fix] openstreetmap engine: optmizer SPARQL queryAlexandre Flament
add hint:Query hint:optimizer "None". to the SPARQL query to keep the response time small. It tells the optimizer to follow the path from ?item to the different property values instead of the other way around. See https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization#Property_paths
2021-09-24[build] /staticAlexandre Flament
2021-09-24[enh] themes: display the engine descriptionsAlexandre Flament
2021-09-24[mod] add /engine_descriptions.json endpointAlexandre Flament
returns engine descriptions (JSON): * key: engine name * value: description in the user locale, use English description as a fallback
2021-09-24[fix] fix searx_extra/update/update_engine_descriptions.pyAlexandre Flament
write ouput in searx/data/engine_descriptions.json instead of stdout use the wikipedia engine to fetch the wikipedia descriptions (for example use tl.wikipedia.org for the Filipino language)
2021-09-24[fix] fix the about section of some enginesAlexandre Flament
2021-09-24Merge pull request #340 from MrPaulBlack/simple-preferences-refactorAlexandre Flament
Simple theme preferences refactor
2021-09-24[fix] openstreetmap engine: map "all" language to EnglishAlexandre Flament
2021-09-24[preferences] remove checkbox class from query sectionMrPaulBlack
2021-09-24[build] /staticMrPaulBlack
2021-09-24[preferences] make elements in query selecter align leftMrPaulBlack
2021-09-24[preferences] reorder tabs in simple to match oscar themeMrPaulBlack
2021-09-24[preferences] cleanup whitespacesMrPaulBlack
2021-09-24[preferences] add special queries tab to preferencesMrPaulBlack
2021-09-22Merge pull request #337 from MrPaulBlack/fix-searxjs-null-exceptionAlexandre Flament
[fix] fix searx.js null pointer because of missing category div
2021-09-22[build] /staticMrPaulBlack
2021-09-22[fix] searx.js null pointer exception when category div is missingMrPaulBlack
2021-09-22Merge pull request #336 from MrPaulBlack/simple-search-formAlexandre Flament
[theme] remove categories, language and time range from index.html
2021-09-21[theme] add newline at the end of the fileMrPaulBlack
2021-09-21[theme] remove categories, language and time range from indexMrPaulBlack
2021-09-20Merge pull request #330 from dalf/fix-323Alexandre Flament
Oscar theme: fix search input field on Safari
2021-09-19[build] /staticAlexandre Flament
2021-09-19[fix] Oscar theme: fix input field on SafariAlexandre Flament
close #323
2021-09-19[fix] searx_extra/update scripts: set_loggers(wikidata, 'wikidata') (#331)Markus Heiser
* [fix] searx_extra/update scripts: set_loggers(wikidata, 'wikidata') To test use:: ./manage pyenv.cmd searx_extra/update/update_currencies.py ./manage pyenv.cmd searx_extra/update/update_osm_keys_tags.py ./manage pyenv.cmd searx_extra/update/update_wikidata_units.py The script `update_engine_descriptions.py` seems to have some issues not related to this patch. ./manage pyenv.cmd python -m pip install -U pycld3 ./manage pyenv.cmd searx_extra/update/update_engine_descriptions.py Closes: https://github.com/searxng/searxng/issues/328 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-17Merge pull request #329 from searxng/translations_updateAlexandre Flament
Update translations
2021-09-17[translations] updatesearxng-bot
3834942d - 2021-09-15 - ButterflyOfFire <butterflyoffire@protonmail.com>
2021-09-17Merge pull request #327 from dalf/pyenv.activateAlexandre Flament
[mod] utils/lib.sh: add pyenv.activate
2021-09-17[mod] manage - use pyenv.activate where it makes senseMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-17[mod] utils/lib.sh: add pyenv.activateAlexandre Flament
* initialize virtualenv (pyenv.install) * activate virtualenv close #310
2021-09-17Merge pull request #261 from dalf/upgrade_httpxAlexandre Flament
[upd] upgrade httpx 0.19.0
2021-09-17Merge pull request #325 from searxng/dependabot/pip/master/pylint-2.11.1Alexandre Flament
Bump pylint from 2.10.2 to 2.11.1
2021-09-17Merge pull request #326 from searxng/dependabot/pip/master/sphinx-4.2.0Markus Heiser
Bump sphinx from 4.1.2 to 4.2.0
2021-09-17[pylint] fix global-variable-not-assigned issuesMarkus Heiser
If there is no write access, there is no need for global. Remove global statement if there is no assignment. global-variable-not-assigned: Using global for names but no assignment is done Used when a variable is defined through the "global" statement but no assignment to this variable is done. In Pylint 2.11 the global-variable-not-assigned checker now catches global variables that are never reassigned in a local scope and catches (reassigned) functions [1][2] [1] https://pylint.pycqa.org/en/latest/whatsnew/2.11.html [2] https://github.com/PyCQA/pylint/issues/1375 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-17[fix] error recorder: avoid RuntimeError on some rare occasionAlexandre Flament
httpx.RequestError (subclass of httpx.HTTPError) has a property request. This property raises a RuntimeError if the attributes _request is None. To avoid a cascade of errors, this commit reads directly the _request attribute.
2021-09-17[mod] searx.network: remove redundant codeAlexandre Flament
searx.client.new_client: the proxies parameter is a dictonnary, and the protocol (key of the dictionnary) is already normalized (see usage of searx.network.network.PROXY_PATTERN_MAPPING)
2021-09-17[upd] upgrade httpx 0.19.0Alexandre Flament
adjust searx.network module to the new internal API see https://github.com/encode/httpx/pull/1522
2021-09-17[pylint] disable consider-using-f-string in .pylintrcMarkus Heiser
Pylint 2.11 added [1][2] consider-using-f-string: Emitted when .format() or '%' is being used to format a string. We're not ready to enforce f-strings everywhere, so just disable this new warning. [1] https://pylint.pycqa.org/en/latest/whatsnew/2.11.html [2] https://github.com/PyCQA/pylint/issues/3592 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-17Bump sphinx from 4.1.2 to 4.2.0dependabot[bot]
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.1.2 to 4.2.0. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/4.x/CHANGES) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v4.1.2...v4.2.0) --- updated-dependencies: - dependency-name: sphinx dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2021-09-17Bump pylint from 2.10.2 to 2.11.1dependabot[bot]
Bumps [pylint](https://github.com/PyCQA/pylint) from 2.10.2 to 2.11.1. - [Release notes](https://github.com/PyCQA/pylint/releases) - [Changelog](https://github.com/PyCQA/pylint/blob/main/ChangeLog) - [Commits](https://github.com/PyCQA/pylint/compare/v2.10.2...v2.11.1) --- updated-dependencies: - dependency-name: pylint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2021-09-14Merge pull request #297 from dalf/engine-logger-enhAlexandre Flament
debug mode: more readable logging
2021-09-13Merge pull request #318 from return42/fix-doc-brandMarkus Heiser
[brand] docs - normalize project name to SearXNG
2021-09-13[brand] docs - normalize project name to SearXNGMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-13[fix] settings - displayed name is SearXNGMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-13Merge pull request #317 from return42/fix-manage-usageAlexandre Flament
[fix] manage help(): commands babel.* has been renamed to weblate.*
2021-09-13Merge pull request #305 from dalf/fix-engine-loggerMarkus Heiser
[fix] logger per engine: make .logger is always initialized
2021-09-13[fix] logger per engine: make .logger is always initializedAlexandre Flament
the openstreetmap engine imports code from the wikidata engine. before this commit, specific code make sure to copy the logger variable to the wikidata engine. with this commit searx.engines.load_engine makes sure the .logger is initialized. The implementation scans sys.modules for module name starting with searx.engines.
2021-09-12[fix] manage help(): commands babel.* has been renamed to weblate.*Markus Heiser
In commit 97355672c the functions named babel.* has been renamed to weblate.* but it was forgotten to change it also in the help(). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>