summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-07-14[mod] UX: flush flag icon to right in language select option valuesGrant Lanham
If the flag icon is first, it prevents easily searching the select list on the keyboard. By moving the icon fully to the right, this will enable a user to search the select list. Closes: https://github.com/searxng/searxng/issues/3645
2024-07-14Dockerfile: use Alpine 3.20 & Python 3.12Alexandre Flament
2024-07-13[mod] remove py 3.6 leftoversAllen
2024-07-13[build] /staticMarkus Heiser
2024-07-13[fix] simple theme: in URLs don't truncate descenders (typograhy, FFox)Markus Heiser
HINT: this is a workaround to fix a rendering bug in FFox-Desktop [3] Descenders [1] in the URL are truncated, caused by the `overflow: hidden;` because part of link overflow the flex box [2]. [1] https://en.wikipedia.org/wiki/Descender [2] https://github.com/searxng/searxng/issues/3550 [3] https://github.com/searxng/searxng/pull/3592#issuecomment-2186313121 Closes: https://github.com/searxng/searxng/issues/3550 Suggested-by: @coxde Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-07-13[l10n] update translations from Weblatesearxng-bot
cecd9182a - 2024-07-11 - ds451 <ds451@users.noreply.translate.codeberg.org> 8e9bf64ae - 2024-07-10 - wazhanudin <wazhanudin@users.noreply.translate.codeberg.org> 82e209f2d - 2024-07-08 - notlmutsaers <notlmutsaers@users.noreply.translate.codeberg.org> 428204a2f - 2024-07-08 - alexgabi <alexgabi@users.noreply.translate.codeberg.org> 4dd16510d - 2024-07-08 - notlmutsaers <notlmutsaers@users.noreply.translate.codeberg.org> fb5015db9 - 2024-07-08 - notlmutsaers <notlmutsaers@users.noreply.translate.codeberg.org> 686800ded - 2024-07-08 - louispires <louispires@users.noreply.translate.codeberg.org> 7fc33af6d - 2024-07-05 - wags07 <wags07@users.noreply.translate.codeberg.org> cbab31eae - 2024-07-06 - jonkke9 <jonkke9@users.noreply.translate.codeberg.org>
2024-07-13[fix] tear down TEST_ENGINES after TestBang is proceededMarkus Heiser
Engines are loaded into global name `searx.engines.engines` other applications such as statistics or the histogram use this global variable to search for values in their own memories, which can lead to key errors as described in - https://github.com/searxng/searxng/issues/2988 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> Closes: https://github.com/searxng/searxng/issues/2988
2024-07-07Implement google/brave switch in Mullvad LetaGrant Lanham
cleanup Import annontations
2024-07-05[upd] pypi: Bump certifi from 2024.6.2 to 2024.7.4dependabot[bot]
Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.6.2 to 2024.7.4. - [Commits](https://github.com/certifi/python-certifi/compare/2024.06.02...2024.07.04) --- updated-dependencies: - dependency-name: certifi dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2024-07-05[upd] pypi: Bump pylint from 3.2.3 to 3.2.5dependabot[bot]
Bumps [pylint](https://github.com/pylint-dev/pylint) from 3.2.3 to 3.2.5. - [Release notes](https://github.com/pylint-dev/pylint/releases) - [Commits](https://github.com/pylint-dev/pylint/compare/v3.2.3...v3.2.5) --- updated-dependencies: - dependency-name: pylint dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2024-07-05[l10n] update translations from Weblatesearxng-bot
1f7de30a2 - 2024-07-04 - Jeex <Jeex@users.noreply.translate.codeberg.org> 5d34f39a9 - 2024-07-04 - return42 <return42@users.noreply.translate.codeberg.org> 930a817f1 - 2024-07-04 - return42 <return42@users.noreply.translate.codeberg.org> 53936f24d - 2024-07-03 - return42 <return42@users.noreply.translate.codeberg.org> 3fcf83c92 - 2024-07-02 - rodgui <rodgui@users.noreply.translate.codeberg.org> 19b2f9ac4 - 2024-07-03 - seonghobae <seonghobae@users.noreply.translate.codeberg.org> 07ef05dbe - 2024-06-30 - return42 <return42@users.noreply.translate.codeberg.org> 23f2ef2cf - 2024-06-29 - geekom13 <geekom13@users.noreply.translate.codeberg.org>
2024-07-03[fix] gentoo: use mediawiki engineBnyro
2024-07-02[fix] html.unescape stract autocomplete suggestionsAllen
2024-06-30[mod] libretranslate: add direct link to translation (engine)Thomas Renard
2024-06-29[data] update searx.data - update_wikidata_units.pyreturn42
2024-06-29[data] update searx.data - update_ahmia_blacklist.pyreturn42
2024-06-29[data] update searx.data - update_firefox_version.pyreturn42
2024-06-29[data] update searx.data - update_engine_traits.pyreturn42
2024-06-29[data] update searx.data - update_engine_descriptions.pyreturn42
2024-06-28[l10n] update translations from Weblatesearxng-bot
4fc3ba360 - 2024-06-27 - Kita Ikuyo <searinminecraft@courvix.com> 15a6fae2f - 2024-06-26 - artnay <artnay@users.noreply.translate.codeberg.org> 2cb08843e - 2024-06-27 - MonsoonRain <MonsoonRain@users.noreply.translate.codeberg.org> 794c9db02 - 2024-06-25 - return42 <return42@users.noreply.translate.codeberg.org> 8edf87498 - 2024-06-25 - Linerly <Linerly@users.noreply.translate.codeberg.org> bc97997b5 - 2024-06-26 - LIGMATV <LIGMATV@users.noreply.translate.codeberg.org> d8620edb1 - 2024-06-24 - ahmetax <ahmetax@users.noreply.translate.codeberg.org> 7d8d6580e - 2024-06-25 - gvlx <gvlx@users.noreply.translate.codeberg.org> 57f8e9bde - 2024-06-25 - return42 <return42@users.noreply.translate.codeberg.org> 7364acbe4 - 2024-06-25 - eddywidjaja <eddywidjaja@users.noreply.translate.codeberg.org> 9f6ddc2b5 - 2024-06-24 - return42 <return42@users.noreply.translate.codeberg.org> a64f2e708 - 2024-06-21 - PeterDaveHello <PeterDaveHello@users.noreply.translate.codeberg.org> cc195d7ad - 2024-06-21 - nish_j <nish_j@users.noreply.translate.codeberg.org> 87d2e16d5 - 2024-06-22 - tentsbet <tentsbet@users.noreply.translate.codeberg.org> 2c73400eb - 2024-06-22 - return42 <return42@users.noreply.translate.codeberg.org> a467cf8af - 2024-06-21 - Fjuro <fjuro@alius.cz>
2024-06-28[upd] pypi: Bump redis from 5.0.6 to 5.0.7dependabot[bot]
Bumps [redis](https://github.com/redis/redis-py) from 5.0.6 to 5.0.7. - [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/v5.0.6...v5.0.7) --- updated-dependencies: - dependency-name: redis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2024-06-28[fix] unit test_xpath.py: name 'logger' is not definedMarkus Heiser
Depending on the order in which the unit tests are executed, the python modules of the engines are initialized (monkey patched) or not. As the order of the tests is not static, random errors may occur. To avaoid random `NameError: name 'logger' is not defined` in the unit tests of the xpath engine, a logger is monkey patched into the xpath py-module. ``` make test.unit TEST tests/unit ......EE................... ====================================================================== ERROR: test_response (tests.unit.engines.test_xpath.TestXpathEngine.test_response) ---------------------------------------------------------------------- Traceback (most recent call last): File "./tests/unit/engines/test_xpath.py", line 60, in test_response self.assertEqual(xpath.response(response), []) ^^^^^^^^^^^^^^^^^^^^^^^^ File "./searx/engines/xpath.py", line 309, in response logger.debug("found %s results", len(results)) ^^^^^^ NameError: name 'logger' is not defined ====================================================================== ERROR: test_response_results_xpath (tests.unit.engines.test_xpath.TestXpathEngine.test_response_results_xpath) ---------------------------------------------------------------------- Traceback (most recent call last): File "./tests/unit/engines/test_xpath.py", line 102, in test_response_results_xpath self.assertEqual(xpath.response(response), []) ^^^^^^^^^^^^^^^^^^^^^^^^ File "./searx/engines/xpath.py", line 309, in response logger.debug("found %s results", len(results)) ^^^^^^ NameError: name 'logger' is not defined ``` Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-28[fix] disable Reddit engine by defaultMarkus Heiser
Reddit is enabled by default .. many bot request will go through Reddit .. we should disable Reddit by default to cool down the IP [1]. [1] https://github.com/searxng/searxng/issues/3444#issuecomment-2180415057 Closes: https://github.com/searxng/searxng/issues/3444 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-25GitHub Actions: Upgrade data-update.yml infrastructureChristian Clauss
2024-06-25[data] update searx.data - update_engine_traits.pyMarkus Heiser
$ make data.traits Last GH action has been failed [1], the bugfixes from - https://github.com/searxng/searxng/pull/3611 - https://github.com/searxng/searxng/pull/3612 were necessary to update the data. [1] https://github.com/searxng/searxng/actions/runs/9278028691/job/25528337485 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-25[fix] brave fetch_traits: layout of the settings page has changedMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-25[fix] engine zlibrary: handle seized domainMarkus Heiser
The domains of zlibrary instances are known to be seized from time to time. This leads to problems when, for example, the automated tasks try to update the engine traits (aka fetch_traits). The search function should also generate a suitable error message (currently either SSL errors or empty result lists are returned). [1] [1] https://github.com/searxng/searxng/issues/3610 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-25[fix] bing news results return invalid imagesMarkus Heiser
Closes: https://github.com/searxng/searxng/issues/3502 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-23[fix] implement tests and remove usage of gen_useragent in enginesGrant Lanham
2024-06-23[fix] engine unit tests.Richard Lyons
Enables unit tests in the engines directory by adding __init__.py, and fixups for the enabled tests.
2024-06-21[upd] pypi: Bump selenium from 4.21.0 to 4.22.0dependabot[bot]
Bumps [selenium](https://github.com/SeleniumHQ/Selenium) from 4.21.0 to 4.22.0. - [Release notes](https://github.com/SeleniumHQ/Selenium/releases) - [Commits](https://github.com/SeleniumHQ/Selenium/compare/selenium-4.21.0...selenium-4.22.0) --- updated-dependencies: - dependency-name: selenium dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2024-06-21[l10n] update translations from Weblatesearxng-bot
3e3c194e8 - 2024-06-20 - Vulcain <Vulcain@users.noreply.translate.codeberg.org> 0ffab2bcb - 2024-06-19 - LunarCat93 <LunarCat93@users.noreply.translate.codeberg.org> 36809a19a - 2024-06-19 - return42 <return42@users.noreply.translate.codeberg.org> a97aff39a - 2024-06-19 - MonsoonRain <MonsoonRain@users.noreply.translate.codeberg.org> 5d7cbca43 - 2024-06-17 - SomeTr <SomeTr@users.noreply.translate.codeberg.org> ada44ff85 - 2024-06-17 - Xvnov <Xvnov@users.noreply.translate.codeberg.org> 2f398eb58 - 2024-06-18 - tiziodcaio <tiziodcaio@users.noreply.translate.codeberg.org> 11fde5415 - 2024-06-18 - ghose <ghose@users.noreply.translate.codeberg.org> 7de1d0c22 - 2024-06-18 - return42 <return42@users.noreply.translate.codeberg.org> eeb9500b8 - 2024-06-18 - return42 <return42@users.noreply.translate.codeberg.org>
2024-06-20Fix search_url building.Richard Lyons
2024-06-18[doc] hostname plugin: improve online documentationMarkus Heiser
The data types (list & map) should be made clearer, as these sometimes lead to misunderstandings. [1] https://github.com/searxng/searxng/issues/3558#issuecomment-2175058128 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-17[fix] setup.py - packaging for 'answerers' to build a valid packageSandro Jäckel
Fix installing answerers when installing SearXNG through a wheel [1]. These files have been missed in commit d72fa99b. Here is what have been tested: $ make clean py.build ... $ python -m venv test123 $ . ./test123/bin/activate (test123) $ pip install dist/searxng-2024*-py3-none-any.whl (test123) $ SEARXNG_DEBUG=1 searxng-run [1] https://github.com/searxng/searxng/pull/3045#issuecomment-1961767861
2024-06-17[feat] plugin Self Information: improve keyword matchingJeff Alyanak
This change does the following things: - the `ip` keyword is now case-insensitive - if the query includes `my ip` it will now also match In order to avoid too many false matches, the `ip` keyword alone matches only if it's the _only_ word, but the inclusion of `my` loosens that to be inclusive of users type a phrase (eg, "what is my ip", "tell me my ip", "my IP address", etc). Better answer context Previously this plugin simply dumped your IP or user-agent string as an answer. This tiny change just adds some text to contextualize those answers (eg, "Your IP is: 1.2.3.4" instead of just "1.2.3.4").
2024-06-16[fix] \!goi irrelevant results AND display more resultsAllen
2024-06-15[perf] torrents.html, files.html: don't parse and re-format filesizeBnyro
2024-06-15[upd] pypi: Bump redis from 5.0.5 to 5.0.6dependabot[bot]
Bumps [redis](https://github.com/redis/redis-py) from 5.0.5 to 5.0.6. - [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/v5.0.5...v5.0.6) --- updated-dependencies: - dependency-name: redis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2024-06-15[feat] mozhi: fix crash, support synonyms and definitionBnyro
2024-06-15[refactor] duckduckgo: use extr helper function in get_vqdBnyro
2024-06-14[feat] docker: add env vars for common public instance settingsholysoles
2024-06-14[l10n] update translations from Weblatesearxng-bot
351fcdf8d - 2024-06-14 - return42 <return42@users.noreply.translate.codeberg.org> 4ab6400d8 - 2024-06-13 - Xvnov <Xvnov@users.noreply.translate.codeberg.org> 8f1bb9a0c - 2024-06-14 - return42 <return42@users.noreply.translate.codeberg.org> fa147559d - 2024-06-12 - MVDW-Java <MVDW-Java@users.noreply.translate.codeberg.org> 3beab11c3 - 2024-06-11 - return42 <return42@users.noreply.translate.codeberg.org> 52f450636 - 2024-06-11 - mukmckenzie <mukmckenzie@users.noreply.translate.codeberg.org> c61f2cb8b - 2024-06-11 - tentsbet <tentsbet@users.noreply.translate.codeberg.org> 7c74be3d3 - 2024-06-10 - nebras <nebras@users.noreply.translate.codeberg.org> b5aace1de - 2024-06-07 - SomeTr <SomeTr@users.noreply.translate.codeberg.org> fc187ae6e - 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org> cf3a8d3f5 - 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org> bfc316b9d - 2024-06-07 - diodio <diodio@users.noreply.translate.codeberg.org> a27e1586d - 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org> 6bd0bf14d - 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org> 9b2b3aa36 - 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org> 41716759a - 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org> 08c9fef67 - 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org> dd2555fe2 - 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org> e69dc5dc6 - 2024-06-07 - ganoci <ganoci@users.noreply.translate.codeberg.org> a3503130d - 2024-06-08 - ghose <ghose@users.noreply.translate.codeberg.org> a2a2f0725 - 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org> 35b9d1be7 - 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org> d53560df2 - 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org> 58c3c041f - 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org> d7847aa9d - 2024-06-07 - EifionLlwyd <EifionLlwyd@users.noreply.translate.codeberg.org> 3a114bf44 - 2024-06-07 - Fjuro <fjuro@alius.cz> 1f2fc0ff2 - 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org> 17a78625f - 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org> 6e8bdfd99 - 2024-06-07 - diodio <diodio@users.noreply.translate.codeberg.org>
2024-06-13Change 'his/her' to 'them'Ember
2024-06-07[refactor] hostnames plugin: add fallback for old hostname_replace pluginBnyro
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-07[doc] add 'hostnames' plugin to the online documentationMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-07[feat] hostname replace plugin: support for external list fileBnyro
2024-06-07[feat] hostname replace plugin: possibility to prioritize certain websitesBnyro
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-07[upd] pypi: Bump nose2[coverage_plugin] from 0.14.2 to 0.15.1dependabot[bot]
Bumps [nose2[coverage_plugin]](https://github.com/nose-devs/nose2) from 0.14.2 to 0.15.1. - [Changelog](https://github.com/nose-devs/nose2/blob/main/docs/changelog.rst) - [Commits](https://github.com/nose-devs/nose2/compare/0.14.2...0.15.1) --- updated-dependencies: - dependency-name: nose2[coverage_plugin] dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2024-06-07[feat] mojeek: implement dedicated moduleBnyro