summaryrefslogtreecommitdiff
path: root/searx
AgeCommit message (Collapse)Author
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[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-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
2024-08-29[data] update searx.data - update_currencies.pyreturn42
2024-08-28[fix] search: don't show categories without active engineGenericMale
2024-08-23[l10n] update translations from Weblatesearxng-bot
1b63de5ca - 2024-08-21 - ghose <ghose@users.noreply.translate.codeberg.org> 7c738125f - 2024-08-20 - crnobog <crnobog@users.noreply.translate.codeberg.org>
2024-08-21[docs] improve Hostname plugin documentationDennis ten Hoove
2024-08-21[feat] engine: implementation of yandex (web, images)Austin-Olacsi
It's set to inactive in settings.yml because of CAPTCHA. You need to remove that from the settings.yml to get in use. Closes: https://github.com/searxng/searxng/issues/961
2024-08-21Fix tineye engine url, datetime parsing, and minor refactorGrant Lanham
Changes made to tineye engine: 1. Importing logging if TYPE_CHECKING is enabled 2. Remove unecessary try-catch around json parsing the response, as this masked the original error and had no immediate benefit 3. Improve error handling explicitely for status code 422 and 400 upfront, deferring json_parsing only for these status codes and successful status codes 4. Unit test all new applicable changes to ensure compatability
2024-08-20[mod] add French translation for infopageMarkus Heiser
The French translation was provided by @jcarnat in #3738. [3738] https://github.com/searxng/searxng/issues/3738 Co-authored-by: Joel Carnat @jcarnat https://github.com/jcarnat Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-08-16[l10n] update translations from Weblatesearxng-bot
fff02429f - 2024-08-15 - return42 <return42@users.noreply.translate.codeberg.org> b13279293 - 2024-08-15 - return42 <return42@users.noreply.translate.codeberg.org> fc7c2faa4 - 2024-08-14 - 0ko <0ko@users.noreply.translate.codeberg.org> 6697dad47 - 2024-08-14 - return42 <return42@users.noreply.translate.codeberg.org> e9ccc396d - 2024-08-13 - Aeris1One <Aeris1One@users.noreply.translate.codeberg.org> f48553819 - 2024-08-12 - tentsbet <tentsbet@users.noreply.translate.codeberg.org> d431b6c04 - 2024-08-11 - hugoalh <hugoalh@users.noreply.translate.codeberg.org> b942a29c7 - 2024-08-11 - rafablog77 <rafablog77@users.noreply.translate.codeberg.org> 2f4d23a5a - 2024-08-09 - xyb <xyb@users.noreply.translate.codeberg.org> a4f47be87 - 2024-08-10 - return42 <return42@users.noreply.translate.codeberg.org>
2024-08-15[build] /staticMarkus Heiser
2024-08-15[fix] search box: clear button don't appear on mouse-copyMarkus Heiser
You have to copy and paste the query without using the keyboard to replicate the issue. As soon as you press the keyboard the cross appears. [1] - [1] https://github.com/searxng/searxng/issues/3725#issuecomment-2282655272 Reported-by: @Immortality-IMT in [1] Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-08-09[l10n] update translations from Weblatesearxng-bot
2024-08-08[breaking change] drop deprecated hostname_replace pluginMarkus Heiser
The successor is “hostname plugin” from PR: - https://github.com/searxng/searxng/pull/3463 --- Revert "[refactor] hostnames plugin: add fallback for old hostname_replace plugin" This reverts commit f5eb56b63f250c7804e5e1cf4426e550bc933906. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-08-08[fix] engine google: use extract_text everywhere0xhtml
2024-08-08[fix] engine google: strip bubble text from answers0xhtml
Google underlines words inside of answers that can be clicked to show additional definitions. These definitions inside the answer were not correctly handled and ended up in the middle of the answer text. With this fix, the extra definitions are stripped from the answer shown by the frontend.
2024-08-02[data] update searx.data - update_external_bangs.pyreturn42
2024-08-02[l10n] update translations from Weblatesearxng-bot
458a2234c - 2024-08-01 - Wexterity <Wexterity@users.noreply.translate.codeberg.org> 615d49db6 - 2024-08-01 - return42 <return42@users.noreply.translate.codeberg.org> 16bfd767e - 2024-08-01 - Thecode764 <Thecode764@users.noreply.translate.codeberg.org> ccd38ad43 - 2024-07-31 - return42 <return42@users.noreply.translate.codeberg.org> 3820b926b - 2024-07-31 - Shpubly <Shpubly@users.noreply.translate.codeberg.org> 11c302c50 - 2024-07-29 - return42 <return42@users.noreply.translate.codeberg.org> a588e2e33 - 2024-07-29 - return42 <return42@users.noreply.translate.codeberg.org> 15ba3d4eb - 2024-07-29 - ghose <ghose@users.noreply.translate.codeberg.org> a160c69b3 - 2024-07-30 - wags07 <wags07@users.noreply.translate.codeberg.org> fc9d877d4 - 2024-07-29 - nebras <nebras@users.noreply.translate.codeberg.org> 61eaf7001 - 2024-07-28 - SomeTr <SomeTr@users.noreply.translate.codeberg.org> 3c7e9cdfd - 2024-07-27 - return42 <return42@users.noreply.translate.codeberg.org> babce47c7 - 2024-07-27 - EifionLlwyd <EifionLlwyd@users.noreply.translate.codeberg.org> 0b467dd7d - 2024-07-27 - Fjuro <fjuro@alius.cz>
2024-07-29[data] update searx.data - update_engine_traits.pyMarkus Heiser
$ make data.traits Last GH action has been failed [1], the bugfixes from aa05685cc were necessary to update the data. [1] https://github.com/searxng/searxng/actions/runs/10135834050/job/28023757191 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-07-29[fix] brave fetch_traits: Brave added Chinese (zh-hant) to UIMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-07-29[data] update searx.data - update_currencies.pyreturn42
2024-07-29[data] update searx.data - update_engine_descriptions.pyreturn42
2024-07-29[data] update searx.data - update_wikidata_units.pyreturn42
2024-07-29[data] update searx.data - update_ahmia_blacklist.pyreturn42
2024-07-29[data] update searx.data - update_firefox_version.pyreturn42
2024-07-28[fix] engine geizhals: if there are no offers, there is no best priceMarkus Heiser
Fault pattern: if there are no offers, then an exception has been thrown: IndexError: list index out of range This patch makes the addition of “best price” dependent on whether one exists. Closes: #3685 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-07-28[fix] fix issues in the language menue introduced by PR #3645Markus Heiser
In my review of [1] I tried to reformat the template code of the language menue whereby I have made two mistakes. - default language was added twice - in the 'Auto-detect' item a hard coded `[auto]` was implemented where the `search_language` variable was needed. [1] https://github.com/searxng/searxng/issues/3645 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-07-28[feat] engine: implementation of encyclosearchAustin-Olacsi