summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-12[fix] move locale code from webapp.py to locales.py and fix #1303Markus Heiser
To improve modularization this patch: - moves *locale* related implementation from the webapp.py application to the locale.py module. - The initialization of the locales is now done in the application (webapp) and is no longer done while importing searx.locales. In the searx.locales module a new dictionary named `LOCALE_BEST_MATCH` has been added. In this dictionary we can map languages without a translation to languages we have a translation for. To fix #1303 zh-HK has been mapped to zh-Hant-TW (we do not need additional translations of traditional Chinese) Closes: https://github.com/searxng/searxng/issues/1303 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-06-11Merge pull request #1311 from dalf/wikidata-optmizationAlexandre Flament
Wikidata optmizations
2022-06-11notify the user that use_mobile_ui parameter existEmilien Devos
2022-06-11[enh] Initial no paging support for Yep.comAllen
Upstream example query: https://yep.com/web?q=test https://yep.com/about
2022-06-11Wikidata engine: ignore dummy entitiesAlexandre Flament
Close #641
2022-06-11Wikidata engine: minor change of the SPARQL requestAlexandre Flament
The engine can be slow especially when the query won't return any answer. See https://www.mediawiki.org/wiki/Wikidata_Query_Service/User_Manual/MWAPI#Find_articles_in_Wikipedia_speaking_about_cheese_and_see_which_Wikibase_items_they_correspond_to Related to #1290
2022-06-10Merge pull request #1302 from searxng/translations_updateMarkus Heiser
Update translations
2022-06-10Merge pull request #1301 from searxng/dependabot/pip/master/myst-parser-0.18.0Markus Heiser
Bump myst-parser from 0.17.2 to 0.18.0
2022-06-10Merge pull request #1300 from searxng/dependabot/pip/master/pylint-2.14.1Markus Heiser
Bump pylint from 2.14.0 to 2.14.1
2022-06-10[translations] update from Weblatesearxng-bot
25debdad - 2022-06-07 - Markus Heiser <markus.heiser@darmarit.de> 4ea83323 - 2022-06-08 - Markus Heiser <markus.heiser@darmarit.de> 034a61d2 - 2022-06-07 - Markus Heiser <markus.heiser@darmarit.de> 12598dee - 2022-06-08 - Markus Heiser <markus.heiser@darmarit.de> 9ebd1a60 - 2022-06-06 - Markus Heiser <markus.heiser@darmarit.de>
2022-06-10Bump myst-parser from 0.17.2 to 0.18.0dependabot[bot]
Bumps [myst-parser](https://github.com/executablebooks/MyST-Parser) from 0.17.2 to 0.18.0. - [Release notes](https://github.com/executablebooks/MyST-Parser/releases) - [Changelog](https://github.com/executablebooks/MyST-Parser/blob/master/CHANGELOG.md) - [Commits](https://github.com/executablebooks/MyST-Parser/compare/v0.17.2...v0.18.0) --- updated-dependencies: - dependency-name: myst-parser dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-06-10Bump pylint from 2.14.0 to 2.14.1dependabot[bot]
Bumps [pylint](https://github.com/PyCQA/pylint) from 2.14.0 to 2.14.1. - [Release notes](https://github.com/PyCQA/pylint/releases) - [Commits](https://github.com/PyCQA/pylint/compare/v2.14.0...v2.14.1) --- updated-dependencies: - dependency-name: pylint dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-06-09Merge pull request #1298 from mbledkowski/patch-1Markus Heiser
Fixed typo in settings.yml
2022-06-09Fixed typo in settings.ymlMaciej Błędkowski
2022-06-06Merge pull request #1047 from return42/redis-libAlexandre Flament
Add a redis library to generalize DB functions we need in SearXNG.
2022-06-05Merge pull request #1286 from searxng/revert-1281-style-centerPaul Braeuning
Revert "Theme: add a preference to center the results"
2022-06-05[build] /staticAlexandre Flament
2022-06-05Revert "Theme: add a preference to center the results (Oscar)"Alexandre Flament
This reverts commit 4237f5fd50c2dc0e91513056d885f25038ef6787.
2022-06-05Merge pull request #1271 from searxng/data-update-28thAlexandre Flament
data-update.yml: updated on the 28th of the month
2022-06-05Merge pull request #1281 from dalf/style-centerAlexandre Flament
Theme: add a preference to center the results
2022-06-05[build] /staticAlexandre Flament
2022-06-05Theme: add a preference to center the results (Oscar)Alexandre Flament
related to #1169
2022-06-04Merge pull request #1282 from return42/fix-git-versionMarkus Heiser
[fix] version.py: git format '%cs' is not downward compatible
2022-06-04[fix] version.py: git format '%cs' is not downward compatibleMarkus Heiser
Committer date, short format YYYY-MM-DD ('%cs') [1] is not supported by older git versions. Instead use '%cd' committer date (format respects --date= option) [2]. [1] https://www.git-scm.com/docs/git-show#Documentation/git-show.txt-emcsem [2] https://www.git-scm.com/docs/git-show#Documentation/git-show.txt-emcdem Suggested-by: @ravermeister https://github.com/searxng/searxng/issues/1251#issuecomment-1146282429 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-06-03Merge pull request #1278 from searxng/dependabot/pip/master/selenium-4.2.0Markus Heiser
Bump selenium from 4.1.5 to 4.2.0
2022-06-03Merge pull request #1280 from searxng/dependabot/pip/master/pylint-2.14.0Markus Heiser
Bump pylint from 2.13.9 to 2.14.0
2022-06-03[fix] prepare for pylint 2.14.0Markus Heiser
Remove issue reported by Pylint 2.14.0: - no-self-use: has been moved to optional extension [1] - The refactoring checker now also raises 'consider-using-generator' messages for max(), min() and sum(). [2] .pylintrc: - <option name>-hint has been removed since long, Pylint 2.14.0 raises an error on invalid options - bad-continuation and bad-whitespace have been removed [3] [1] https://pylint.pycqa.org/en/latest/whatsnew/2/2.14/summary.html#removed-checkers [2] https://pylint.pycqa.org/en/latest/whatsnew/2/2.14/full.html#what-s-new-in-pylint-2-14-0 [2] https://pylint.pycqa.org/en/latest/whatsnew/2/2.6/summary.html#summary-release-highlights Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-06-03Bump pylint from 2.13.9 to 2.14.0dependabot[bot]
Bumps [pylint](https://github.com/PyCQA/pylint) from 2.13.9 to 2.14.0. - [Release notes](https://github.com/PyCQA/pylint/releases) - [Commits](https://github.com/PyCQA/pylint/compare/v2.13.9...v2.14.0) --- updated-dependencies: - dependency-name: pylint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-06-03Bump selenium from 4.1.5 to 4.2.0dependabot[bot]
Bumps [selenium](https://github.com/SeleniumHQ/Selenium) from 4.1.5 to 4.2.0. - [Release notes](https://github.com/SeleniumHQ/Selenium/releases) - [Commits](https://github.com/SeleniumHQ/Selenium/commits/selenium-4.2.0) --- updated-dependencies: - dependency-name: selenium dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-06-03Merge pull request #1279 from searxng/dependabot/pip/master/twine-4.0.1Markus Heiser
Bump twine from 4.0.0 to 4.0.1
2022-06-03Merge pull request #1276 from searxng/dependabot/pip/master/lxml-4.9.0Markus Heiser
Bump lxml from 4.8.0 to 4.9.0
2022-06-03Merge pull request #1275 from searxng/dependabot/pip/master/redis-4.3.3Markus Heiser
Bump redis from 4.3.1 to 4.3.3
2022-06-03Bump twine from 4.0.0 to 4.0.1dependabot[bot]
Bumps [twine](https://github.com/pypa/twine) from 4.0.0 to 4.0.1. - [Release notes](https://github.com/pypa/twine/releases) - [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst) - [Commits](https://github.com/pypa/twine/compare/4.0.0...4.0.1) --- updated-dependencies: - dependency-name: twine dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-06-03Bump lxml from 4.8.0 to 4.9.0dependabot[bot]
Bumps [lxml](https://github.com/lxml/lxml) from 4.8.0 to 4.9.0. - [Release notes](https://github.com/lxml/lxml/releases) - [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt) - [Commits](https://github.com/lxml/lxml/compare/lxml-4.8.0...lxml-4.9.0) --- updated-dependencies: - dependency-name: lxml dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-06-03Bump redis from 4.3.1 to 4.3.3dependabot[bot]
Bumps [redis](https://github.com/redis/redis-py) from 4.3.1 to 4.3.3. - [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.3.1...v4.3.3) --- updated-dependencies: - dependency-name: redis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-06-03Merge pull request #1274 from searxng/translations_updateMarkus Heiser
Update translations
2022-06-03[translations] update from Weblatesearxng-bot
1f71567c - 2022-06-01 - karlis69420 <korlass.karlis2@gmail.com> 67ff4da0 - 2022-05-27 - Tony <papetouses@gmail.com> 57bf9bd7 - 2022-05-29 - Markus Heiser <markus.heiser@darmarit.de> 5f63090b - 2022-05-29 - Markus Heiser <markus.heiser@darmarit.de> 4b675666 - 2022-05-30 - Markus Heiser <markus.heiser@darmarit.de> 9fcfccff - 2022-06-02 - Markus Heiser <markus.heiser@darmarit.de> b28ac961 - 2022-06-01 - Markus Heiser <markus.heiser@darmarit.de> ec7b3c14 - 2022-05-29 - Markus Heiser <markus.heiser@darmarit.de> 622896c1 - 2022-05-31 - Markus Heiser <markus.heiser@darmarit.de> 53d0f115 - 2022-05-31 - Joan Montané <joan@montane.cat> e16d889a - 2022-06-02 - Markus Heiser <markus.heiser@darmarit.de> 2c5337a5 - 2022-06-01 - karlis69420 <korlass.karlis2@gmail.com>
2022-06-02Merge pull request #1272 from dalf/issue-1270Paul Braeuning
Theme: enable autofocus of #q only on the index page and when the width > 50em
2022-06-02[build] /staticAlexandre FLAMENT
2022-06-02Theme: enable autofocus of #q only on the index page and when the width > 50emAlexandre FLAMENT
Related to #1270
2022-06-02data-update.yml: updated on the 28th of the monthAlexandre Flament
Administrators of public instances are incentivised to update their instances on the 1st of the month. With this commit, the data are up to date by the 1st of the next month.
2022-06-02Merge pull request #1259 from allendema/petal-imagesMarkus Heiser
[enh] Add Petalsearch Images engine
2022-06-02[mod] image proxy: allow binary/octet-stream mime typeLéon Tiekötter
The Petal Search Images engine sends the thumbnails with the binary/octet-stream mime type.
2022-06-02[enh] Initial Petalsearch Images supportAllen
Upstream example query: https://petalsearch.com/search?query=test&channel=image&ps=50&pn=1&region=de-de&ss_mode=off&ss_type=normal Depending on locale it will internally use some/all results from other engines. See: https://seirdy.one/posts/2021/03/10/search-engines-with-own-indexes/#general-indexing-search-engines
2022-06-01Merge pull request #1266 from searxng/update_data_update_firefox_version.pyMarkus Heiser
Update searx.data - update_firefox_version.py
2022-06-01Merge pull request #1265 from searxng/update_data_update_ahmia_blacklist.pyMarkus Heiser
Update searx.data - update_ahmia_blacklist.py
2022-06-01Merge pull request #1267 from searxng/update_data_update_currencies.pyMarkus Heiser
Update searx.data - update_currencies.py
2022-06-01Merge pull request #1268 from searxng/update_data_update_engine_descriptions.pyMarkus Heiser
Update searx.data - update_engine_descriptions.py
2022-06-01Merge pull request #1264 from searxng/update_data_update_languages.pyMarkus Heiser
Update searx.data - update_languages.py
2022-06-01Merge pull request #1263 from searxng/update_data_update_wikidata_units.pyMarkus Heiser
Update searx.data - update_wikidata_units.py