summaryrefslogtreecommitdiff
path: root/searx
AgeCommit message (Collapse)Author
2024-02-25[feat] templates: add package result templateBnyro
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-25[fix] opensearxh.xml: firefox v123 does not except self-URI (URL with param)Markus Heiser
Before this patch we had a address in the rel-self-template with params [1]: GET:: <Url method="GET" rel="self" template="/opensearch.xml?method=GET&amp;autocomplete=google" type="application/opensearchdescription+xml"/> POST:: <Url method="POST" rel="self" template="/opensearch.xml?method=POST&amp;autocomplete=google" type="application/opensearchdescription+xml"/> The first one (GET) is no longer accepted by firefox since v123, the latter one was always been wrong (since it mixes GET params with a POST request). Since Firefox v123 a template syntax [2] in the rel-self-template is no longer supported / Firefox will report an error:: Firefox could not download the search plugin from: http://127.0.0.1:8888//opensearch.xml?method=GET&autocomplete=google This patch reduce the URL to:: template="http://127.0.0.1:8888/opensearch.xml" [1] https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md#url-rel-values [2] https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md#opensearch-url-template-syntax Closes: https://github.com/searxng/searxng/issues/3227 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-23[translations] update from Weblatesearxng-bot
946267db3 - 2024-02-23 - return42 <markus.heiser@darmarit.de>
2024-02-23[feat] engine: implementation of mozhiBnyro
2024-02-21[feat] engine: implementation of yandex musicXinos
Access to music is limited to a few countries: - https://yandex.com/support/music/access.html
2024-02-20[feat] engine: Add LiveSpace livestreamsmicsthepick
2024-02-20[translations] update from Weblatesearxng-bot
df7653397 - 2024-02-19 - return42 <markus.heiser@darmarit.de> c62c03816 - 2024-02-19 - return42 <markus.heiser@darmarit.de> a48235060 - 2024-02-18 - tentsbet <remendne@pentrens.jp> 445545961 - 2024-02-19 - return42 <markus.heiser@darmarit.de> 275a77e51 - 2024-02-16 - hankskyjames777 <iamjuanz30312@gmail.com> 0772d9b4c - 2024-02-16 - Fjuro <ifjuro@proton.me>
2024-02-20[fix] sort RTL_LOCALES before written into locales.jsonMarkus Heiser
To avoid unnecessary changes to the file, the list should be sorted before it is written to the file. You can test it by calling multiple times:: make data.locales and searx/data/locales.json should be unchanged. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-20[mod] reduce memory footprint by not calling babel.Locale.parse at runtimeAlexandre Flament
babel.Locale.parse loads more than 60MB in RAM. The only purpose is to get: LOCALE_NAMES - searx.data.LOCALES["LOCALE_NAMES"] RTL_LOCALES - searx.data.LOCALES["RTL_LOCALES"] This commit calls babel.Locale.parse when the translations are update from weblate and stored in:: searx/data/locales.json This file can be build by:: ./manage data.locales By store these variables in searx.data when the translations are updated we save round about 65MB (usually 4 worker = 260MB of RAM saved. Suggested-by: https://github.com/searxng/searxng/discussions/2633#discussioncomment-8490494 Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-18[mod] engine ask.com - parse JS result to JSONMarkus Heiser
Parse the result list from ask.com given in the variable named window.MESON.initialState:: <script nonce=".."> window.MESON = window.MESON || {}; window.MESON.initialState = {"siteConfig": ... ...}}; window.MESON.loadedLang = "en"; </script> The result list is in field:: json_resp['search']['webResults']['results'] Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-18[feat] engine: implementation of ask.comHackurei
2024-02-16[translations] update from Weblatesearxng-bot
be989636e - 2024-02-14 - return42 <markus.heiser@darmarit.de> 0e3455cb8 - 2024-02-13 - return42 <markus.heiser@darmarit.de> edc279680 - 2024-02-14 - pietro395 <me@pietro.in> e0d3b7f9f - 2024-02-14 - kratos <makesocialfoss32@keemail.me> f68fc5440 - 2024-02-13 - gallegonovato <fran-carro@hotmail.es> 980f3846c - 2024-02-12 - tentsbet <remendne@pentrens.jp> 711618f3a - 2024-02-12 - return42 <markus.heiser@darmarit.de> 1d12e762f - 2024-02-12 - ghose <correo@xmgz.eu> ab319100b - 2024-02-12 - return42 <markus.heiser@darmarit.de> 9854a5a4a - 2024-02-12 - return42 <markus.heiser@darmarit.de> ebfb23f13 - 2024-02-10 - SomeTr <SomeTr@users.noreply.translate.codeberg.org>
2024-02-11[fix] lingva: redirect and parsing errorBnyro
2024-02-10Update searx.data - update_currencies.pydalf
2024-02-10[clean] drop obsolete py3.7 compatibilityMarkus Heiser
- https://github.com/searxng/searxng/discussions/2356 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-10[feat] engine: implementation of brave gogglesHackurei
2024-02-10[mod] footer: i18n for the link names in the footerMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-10[feat] footer: support for custom entriesBnyro
2024-02-09[translations] update from Weblatesearxng-bot
2b940307e - 2024-02-08 - return42 <markus.heiser@darmarit.de> e7cdce39e - 2024-02-08 - return42 <markus.heiser@darmarit.de> 171fae67d - 2024-02-08 - return42 <markus.heiser@darmarit.de> d6a760466 - 2024-02-08 - return42 <markus.heiser@darmarit.de> 8cc4c51a9 - 2024-02-04 - return42 <markus.heiser@darmarit.de> 2e76559ba - 2024-02-04 - return42 <markus.heiser@darmarit.de>
2024-02-06[fix] KeyError: 'title' in results using key-value.html templateMarkus Heiser
Since #2508 a title is required --> this is a bug when an engine uses the key-value.html template [1], where no title is needed. [1] https://github.com/searxng/searxng/blob/master/searx/templates/simple/result_templates/key-value.html Closes: https://github.com/searxng/searxng/issues/3130 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-02[translations] update from Weblatesearxng-bot
a00154946 - 2024-02-01 - yuttct <yuttct@yahoo.com> 9f220b2aa - 2024-02-02 - return42 <markus.heiser@darmarit.de> 71951ae12 - 2024-02-02 - return42 <markus.heiser@darmarit.de> a2f344a70 - 2024-02-02 - return42 <markus.heiser@darmarit.de> 0f2944179 - 2024-02-01 - return42 <markus.heiser@darmarit.de> f0d42961f - 2024-02-01 - return42 <markus.heiser@darmarit.de> a5cc1c6d5 - 2024-02-01 - return42 <markus.heiser@darmarit.de> c5a39252d - 2024-02-01 - return42 <markus.heiser@darmarit.de> fa01c9758 - 2024-02-01 - return42 <markus.heiser@darmarit.de> 51a86de3d - 2024-02-01 - return42 <markus.heiser@darmarit.de> 4a55d6d8d - 2024-02-01 - return42 <markus.heiser@darmarit.de> 3bb8adf1f - 2024-02-01 - return42 <markus.heiser@darmarit.de> 1b2e23dcb - 2024-02-01 - return42 <markus.heiser@darmarit.de> 7589d6bbc - 2024-02-01 - return42 <markus.heiser@darmarit.de> c04d8739c - 2024-01-31 - SomeTr <SomeTr@users.noreply.translate.codeberg.org>
2024-02-01[fix] libgen.fun is down, switch to libgen.rsMarkus Heiser
Closes: https://github.com/searxng/searxng/issues/3178 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-01[fix] remove missing link icon macroallixx
2024-01-31Remove rtl exceptionHermógenes Oliveira
This right-to-left exception doesn't seem to be called for.
2024-01-31Fix media exposure toggleHermógenes Oliveira
Make initially hidden and the toggle button consistent.
2024-01-31Provide template for results in file categoryHermógenes Oliveira
This is used, for instance, by the recoll engine.
2024-01-31[mod] remove X-XSS-Protection headersMarkus Heiser
Deprecated header not used by browsers nowadays[1]: """In modern browsers, X-XSS-Protection has been deprecated in favor of the Content-Security-Policy to disable the use of inline JavaScript. Its use can introduce XSS vulnerabilities in otherwise safe websites. This should not be used unless you need to support older web browsers that don’t yet support CSP. It is thus recommended to set the header as X-XSS-Protection: 0."""[2] [1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection [2] https://infosec.mozilla.org/guidelines/web_security#x-xss-protection Closes: https://github.com/searxng/searxng/issues/3171 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-01-31[build] /staticallixx
2024-01-31[fix] wrong engines paddingallixx
2024-01-31[fix] equalize cached/proxied links left marginallixx
2024-01-31[fix] justify engines/cached/proxied verticallyallixx
2024-01-31[fix] brave.search - update result selectors to fit to new layoutMarkus Heiser
Closes: https://github.com/searxng/searxng/issues/3167 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-01-30[feat] brave: fix empty content and parse published datesBnyro
2024-01-29[build] /staticBnyro
2024-01-29[feat] preferences: button to copy input to restore preferences hashBnyro
2024-01-29[feat] engine: implementation of goodreadsBnyro
2024-01-29[translations] update from Weblatesearxng-bot
c1a3532a2 - 2024-01-23 - return42 <markus.heiser@darmarit.de> 603c6894b - 2024-01-23 - return42 <markus.heiser@darmarit.de> 2920c7342 - 2024-01-22 - Eshan-K-I <2027eiyer@tjhsst.edu> 64cc1168a - 2024-01-20 - return42 <markus.heiser@darmarit.de> 21ec41823 - 2024-01-20 - return42 <markus.heiser@darmarit.de>
2024-01-29Update searx.data - update_wikidata_units.pydalf
2024-01-29Update searx.data - update_firefox_version.pydalf
2024-01-29Update searx.data - update_ahmia_blacklist.pydalf
2024-01-29Update searx.data - update_engine_traits.pydalf
2024-01-29Update searx.data - update_engine_descriptions.pydalf
2024-01-29[fix] do highlight replacement at onceallixx
Highlights all search queries in search result in one go. Fixes the case where search query contains word from highlight HTML code, which causes broken HTML to appear in search results. Closes #3057
2024-01-25[fix] semantic scholar: bad requestBnyro
2024-01-19[translations] update from Weblatesearxng-bot
0f8246b81 - 2024-01-17 - return42 <markus.heiser@darmarit.de> ce23e8ce9 - 2024-01-16 - return42 <markus.heiser@darmarit.de> 1112731cb - 2024-01-17 - return42 <markus.heiser@darmarit.de>
2024-01-17Block HeadlessChrome (#3116)Émilien (perso)
2024-01-16[fix] engine: safesearch parameter in Google Videos engine (#2762)Jinyuan Huang
Closes: https://github.com/searxng/searxng/issues/2762
2024-01-15[mod] presearch: set WEB timeout to 4sec & single network for all requestMarkus Heiser
timeout: 4.0 The timeout of presearch-WEB is left up from the default of 3sec to 4sec. The engine has to send two HTTP requests, they often exceed the default timeout of 3sec. Since all other presearch categories (images, videos, news) also have a timeout of 4 sec, the WEB search should also have the same timeout. network: presearch Place all HTTP requests in the same network, named ``presearch``. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-01-15[mod] presearch: add language & region supportMarkus Heiser
In Presearch there are languages for the UI and regions for narrowing down the search. With this change the SearXNG engine supports a search by region. The details can be found in the documentation of the source code. To test, you can search terms like:: !presearch bmw :zh-TW !presearch bmw :en-CA 1. You should get results corresponding to the region (Taiwan, Canada) 2. and in the language (Chinese, Englisch). 3. The context in info box content is in the same language. Exceptions: 1. Region or language is not supported by Presearch or 2. SearXNG user did not selected a region tag, example:: !presearch bmw :en Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-01-15[mod] presearch: hardening engine's response against KeyErrorsMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>