summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-09-29[data] update searx.data - update_firefox_version.pyreturn42
2024-09-29[data] update searx.data - update_ahmia_blacklist.pyreturn42
2024-09-29[data] update searx.data - update_wikidata_units.pyreturn42
2024-09-28[upd] pypi: Bump selenium from 4.24.0 to 4.25.0dependabot[bot]
Bumps [selenium](https://github.com/SeleniumHQ/Selenium) from 4.24.0 to 4.25.0. - [Release notes](https://github.com/SeleniumHQ/Selenium/releases) - [Commits](https://github.com/SeleniumHQ/Selenium/compare/selenium-4.24.0...selenium-4.25.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-09-28[l10n] update translations from Weblatesearxng-bot
7f8a5a94e - 2024-09-24 - abhabongse <abhabongse@users.noreply.translate.codeberg.org> d69f2d929 - 2024-09-23 - kratos <kratos@users.noreply.translate.codeberg.org> f7f0c0f94 - 2024-09-23 - kratos <kratos@users.noreply.translate.codeberg.org> 52bea48dc - 2024-09-23 - AndersNordh <AndersNordh@users.noreply.translate.codeberg.org> fe6659955 - 2024-09-22 - tentsbet <tentsbet@users.noreply.translate.codeberg.org> 69a05cbae - 2024-09-22 - Linerly <Linerly@users.noreply.translate.codeberg.org>
2024-09-28[upd] pypi: Bump linuxdoc from 20240509 to 20240924dependabot[bot]
Bumps [linuxdoc](https://github.com/return42/linuxdoc) from 20240509 to 20240924. - [Changelog](https://github.com/return42/linuxdoc/blob/master/CHANGELOG) - [Commits](https://github.com/return42/linuxdoc/commits) --- updated-dependencies: - dependency-name: linuxdoc dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2024-09-26[fix] use get accessor to pull desc from bing_imagesGrant Lanham
2024-09-23add Cloudflare AI Gateway engineZhijie He
add Cloudflare AI Gateway engine add settings for Cloudflare AI Gateway engine set utf8 encode for data, fix non english char cause 500 error format json data fixed indentation and config format error fix line-length limitation in CI reformatted code for CI reformatted code for CI limit system prompts to less 120 chars cleanup unused variable & format code
2024-09-22Add paramaterized with example of refactorGrant Lanham
reduce test name size fix imports
2024-09-22[l10n] update translations from Weblatesearxng-bot
7174f090f - 2024-09-15 - MPBDev <MPBDev@users.noreply.translate.codeberg.org> c7c76552e - 2024-09-14 - return42 <return42@users.noreply.translate.codeberg.org> 9b9ec6361 - 2024-09-14 - kny5 <kny5@users.noreply.translate.codeberg.org> af19df705 - 2024-09-14 - return42 <return42@users.noreply.translate.codeberg.org> cc658f945 - 2024-09-15 - Fjuro <fjuro@alius.cz> 15a59fda5 - 2024-09-14 - return42 <return42@users.noreply.translate.codeberg.org>
2024-09-22Update own-instance.rstdwitterer
Implemented the suggested changes.
2024-09-22Update own-instance.rstdwitterer
Improved English grammar and punctuation for professionalism.
2024-09-21[fix] simple template: drop useless ``aria-labelledby`` attributesMarkus
This patch removes the ``aria-labelledby`` attributes for which there is no tag with the corresponding ID. Reported-by: @glanham-jr https://github.com/searxng/searxng/issues/3793#issuecomment-2351689483 Signed-off-by: Markus <markus@venom.fritz.box>
2024-09-21[fix] simple template: macro checkbox_onoff_reversedMarkus
In its previous implementation, the macro ``checkbox_onoff_reversed`` always created an ``aria-labelledby`` attribute, even if there was no descriptive tag with the generated ID (used as the value of the ``aria-labelledby``). Before this patch, the Nu-HTML-Checker [1] reported 255 issues of this type:: The aria-labelledby attribute must point to an element in the same document. (255) [1] https://validator.w3.org/nu/ Signed-off-by: Markus <markus@venom.fritz.box>
2024-09-21[fix] simple template: add ID to elements used for aria-labelledbyMarkus
The ``aria-labelledby`` [1] attribute identifies the element that labels the element it is applied to. The templates ``infinite_scroll.html`` and ``search_on_category_select.html`` define a ``aria-labelledby`` at the <input> tag but miss the id in the <div> with the description. [1] https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-labelledby Signed-off-by: Markus <markus@venom.fritz.box>
2024-09-21[fix] Removes ``/>`` ending tags for void HTML elementsMarkus
continuation of commit: 0b832f19b Signed-off-by: Markus <markus@venom.fritz.box>
2024-09-19[fix] scripts: elimination of limitations on dedicated distributionsMarkus Heiser
The restriction of shell scripts to certain distributions is only required for certain actions such as the installation of a SearXNG instance. The maintenance scripts and build processes were previously also restricted to these specific distributions. With this patch, the build processes (such as the build of online documentation) can now also be executed on all Linux distributions. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-09-15[fix] Removes ``/>`` ending tags for void HTML elementsGrant Lanham
Removes ``/>`` ending tags for void elements [1] and replaces them with ``>``. Part of the larger cleanup to cleanup invalid HTML throughout the codebase [2]. [1] https://html.spec.whatwg.org/multipage/syntax.html#void-elements [2] https://github.com/searxng/searxng/issues/3793
2024-09-15[fix] drop engine alexandria.orgMarkus
The origin alexandria.org is broken: https://www.alexandria.org/?c=&r=&a=0&q=foo returns "504 Gateway Time-out" - Closes: https://github.com/searxng/searxng/issues/3786 Signed-off-by: Markus <markus@venom.fritz.box>
2024-09-15[fix] drop engine gpodderMarkus
gpodder is ultra slow on search terms like foo https://gpodder.net/search.json?q=foo takes up to a minute to return an empty json response. - Closes: https://github.com/searxng/searxng/issues/3785 Signed-off-by: Markus <markus@venom.fritz.box>
2024-09-15[fix] engine: qwant - detect captchaUrl and raise SearxEngineCaptchaExceptionMarkus
So far a CAPTCHA was not recognized in the response of the qwant engine and a SearxEngineAPIException was raised by mistake. With this patch a CAPTCHA redirect is recognized and the correct SearxEngineCaptchaException is raised. Closes: https://github.com/searxng/searxng/issues/3806 Signed-off-by: Markus <markus@venom.fritz.box>
2024-09-15[data] update searx.data - update_engine_traits.pyMarkus
2024-09-15[fix] fetch_traits: brave, google, annas_archive & radio_browserMarkus
This patch fixes a bug reported by CI "Fetch traits" [1] (brave) and improves other fetch traits functions (google, annas_archive & radio_browser). brave: File "/home/runner/work/searxng/searxng/searx/engines/brave.py", line 434, in fetch_traits sxng_tag = region_tag(babel.Locale.parse(ui_lang, sep='-')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/work/searxng/searxng/searx/locales.py", line 155, in region_tag Error: raise ValueError('%s missed a territory') google: change ERROR message about unknow UI language to INFO message radio_browser: country_list contains duplicates that differ only in upper/lower case annas_archive: for better diff; sort the persistence of the traits [1] https://github.com/searxng/searxng/actions/runs/10606312371/job/29433352518#step:6:41 Signed-off-by: Markus <markus@venom.fritz.box>
2024-09-15[feat] gitlab: implement dedicated moduleBnyro
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-09-14[l10n] update translations from Weblatesearxng-bot
6bea94d18 - 2024-09-11 - sushen23 <sushen23@users.noreply.translate.codeberg.org> 771eedb39 - 2024-09-08 - 0ko <0ko@users.noreply.translate.codeberg.org> b75ec6466 - 2024-09-08 - alexgabi <alexgabi@users.noreply.translate.codeberg.org>
2024-09-14[fix] search: crash when no engines are used to searchBnyro
2024-09-12[feat] engine: add right daoFinn Steffens
* [feat] engine: add right dao * [enh] right dao engine: allow additional classes Allow additional classes while parsing to prevent the engine from breaking in the future if additional classes are added to the elements. Co-authored-by: Bnyro <bnyro@tutanota.com> --------- Co-authored-by: Bnyro <bnyro@tutanota.com>
2024-09-12[fix] json_engine: Fix result fields being mixed upLucas Schwiderski
Fixes #3810.
2024-09-12[fix] yep engine: remove links to other engines0xhtml
Yep includes links to search for the same query on Google and other search engines as a result in the search result. This fix skips these results.
2024-09-06[l10n] update translations from Weblatesearxng-bot
cab91b92c - 2024-09-05 - xtex <xtexchooser@duck.com> bbc77a9c4 - 2024-09-05 - Priit Jõerüüt <jrtcdbrg@users.noreply.translate.codeberg.org> 16ab61e99 - 2024-09-05 - return42 <return42@users.noreply.translate.codeberg.org> 34b1487b6 - 2024-09-04 - Erico <Erico@users.noreply.translate.codeberg.org> 811132898 - 2024-09-05 - return42 <return42@users.noreply.translate.codeberg.org> 099cb381e - 2024-09-04 - return42 <return42@users.noreply.translate.codeberg.org> eebb940df - 2024-09-04 - 0ko <0ko@users.noreply.translate.codeberg.org> 50c845d17 - 2024-09-05 - return42 <return42@users.noreply.translate.codeberg.org> f12addf27 - 2024-09-05 - return42 <return42@users.noreply.translate.codeberg.org> c0879d377 - 2024-09-05 - return42 <return42@users.noreply.translate.codeberg.org> 7732d1356 - 2024-09-05 - return42 <return42@users.noreply.translate.codeberg.org> dbe33cfb1 - 2024-09-05 - return42 <return42@users.noreply.translate.codeberg.org> 759dacddd - 2024-09-05 - return42 <return42@users.noreply.translate.codeberg.org> 7607b9ac6 - 2024-09-05 - return42 <return42@users.noreply.translate.codeberg.org> aab0df3e7 - 2024-09-05 - return42 <return42@users.noreply.translate.codeberg.org> f9232fbd6 - 2024-09-04 - return42 <return42@users.noreply.translate.codeberg.org> f3a339dac - 2024-09-05 - return42 <return42@users.noreply.translate.codeberg.org> 4f3bdb5c9 - 2024-09-05 - return42 <return42@users.noreply.translate.codeberg.org> fb92cc42d - 2024-09-05 - return42 <return42@users.noreply.translate.codeberg.org> d6412e0c6 - 2024-09-05 - return42 <return42@users.noreply.translate.codeberg.org> e1f6103fd - 2024-09-04 - Fjuro <fjuro@alius.cz> 4ee95b7f2 - 2024-09-03 - SomeTr <SomeTr@users.noreply.translate.codeberg.org> 84e4641d5 - 2024-09-04 - ghose <ghose@users.noreply.translate.codeberg.org>
2024-09-06[upd] pypi: Bump pylint from 3.2.6 to 3.2.7dependabot[bot]
Bumps [pylint](https://github.com/pylint-dev/pylint) from 3.2.6 to 3.2.7. - [Release notes](https://github.com/pylint-dev/pylint/releases) - [Commits](https://github.com/pylint-dev/pylint/compare/v3.2.6...v3.2.7) --- updated-dependencies: - dependency-name: pylint dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2024-09-06[upd] pypi: Bump wlc from 1.14 to 1.15dependabot[bot]
Bumps [wlc](https://github.com/WeblateOrg/wlc) from 1.14 to 1.15. - [Changelog](https://github.com/WeblateOrg/wlc/blob/main/CHANGES.rst) - [Commits](https://github.com/WeblateOrg/wlc/compare/1.14...1.15) --- updated-dependencies: - dependency-name: wlc dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2024-09-06[fix] bilibili engine - ValueError in duration & HTML in titleMarkus Heiser
- ValueError in duration: issue reported in #3799 - HTML in title: related to #3770 [#3799] https://github.com/searxng/searxng/issues/3799 [#3770] https://github.com/searxng/searxng/pull/3770 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-09-03[fix] engine yahoo: HTML tags are included in result titlesMarkus
- https://github.com/searxng/searxng/issues/3790 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-09-03[engine] bahnhof.de: remove engineBnyro
2024-09-03[mod] enable calculator and allow plugin on public instancesMarkus Heiser
Remove quirks that prevented the Calculator from being used on public instances. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-09-03[mod] hardening "calculator plugin" / limit execution time to 50 msMarkus Heiser
The execution of the function for the calculation is outsourced to a process whose runtime is limited to 50 milliseconds. Related: - [1] https://github.com/searxng/searxng/pull/3377#issuecomment-2067977375 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-09-03[build] /staticBnyro
Co-authored-by: GenericMale <genericmale00@gmail.com>
2024-09-03[feat] results: show response timesGenericMale
2024-09-01[fix] correct typo in API_WONDOW to API_WINDOWBrock Vojkovic
2024-08-31[fix] search: titles including html brackets are not shown properlyBnyro
2024-08-31[upd] pypi: Bump certifi from 2024.7.4 to 2024.8.30dependabot[bot]
Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.7.4 to 2024.8.30. - [Commits](https://github.com/certifi/python-certifi/compare/2024.07.04...2024.08.30) --- updated-dependencies: - dependency-name: certifi dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2024-08-31[upd] pypi: Bump selenium from 4.23.1 to 4.24.0dependabot[bot]
Bumps [selenium](https://github.com/SeleniumHQ/Selenium) from 4.23.1 to 4.24.0. - [Release notes](https://github.com/SeleniumHQ/Selenium/releases) - [Commits](https://github.com/SeleniumHQ/Selenium/commits/selenium-4.24.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-08-30[fix] self_info: request.user_agent is not a strAlexander Sulfrian
The user_agent attribute of the Flask request object is an instance of the werkzeug.user_agent.UserAgent class. This will fix the following error of the self_info plugin: > ERROR:searx.plugins.self_info: Exception while calling post_search > Traceback (most recent call last): > File "searx/plugins/__init__.py", line 203, in call > ret = getattr(plugin, plugin_type)(*args, **kwargs) > File "searx/plugins/self_info.py", line 31, in post_search > search.result_container.answers['user-agent'] = {'answer': gettext('Your user-agent is: ') + ua} > TypeError: can only concatenate str (not "UserAgent") to str
2024-08-30[l10n] update translations from Weblatesearxng-bot
085dc9e17 - 2024-08-27 - demonshreder <demonshreder@users.noreply.translate.codeberg.org> b75bb12dc - 2024-08-26 - return42 <return42@users.noreply.translate.codeberg.org> 7b1392ff2 - 2024-08-26 - return42 <return42@users.noreply.translate.codeberg.org>
2024-08-30[fix] Do not show DDG user-agent from zero clickAlexander Sulfrian
We do not want to show the user-agent information from the duckduckgo zero click info. This is the user-agent used by searxng and not the user-agent used by the user. This was already done for the IP address in: 0fb3f0e4aeecf62612cb6568910cf0f97c98cab9
2024-08-29[data] update searx.data - update_ahmia_blacklist.pyreturn42
2024-08-29[data] update searx.data - update_wikidata_units.pyreturn42
2024-08-29[data] update searx.data - update_firefox_version.pyreturn42
2024-08-29[data] update searx.data - update_engine_descriptions.pyreturn42