summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-08-27[mod] random answerer: add random hex color generatorBnyro
2023-08-27[doc] add documentation of Mwmbl engine & autocompleterMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-27[mod] autocomplete.py: add support for mwmbl completionsBnyro
2023-08-27[mod] engine mwmbl: add link to official api docsBnyro
2023-08-27[dev-env] upgrade Sphinx-doc 7.2.3 and unpin at v7.1.2 on py3.8Markus Heiser
- Sphinx-doc 7.2.0 drops py3.8 support [1][2] - last version with py3.8 support is 7.1.2 Many LTS distributions still have py3.8 which EOL is in 2024-10 [3]. To continue to support a development environment on py3.8 the rigid dependency in the development environment is unpinned in py3.8 / environment markers [4]. To get 7.2.3. work, a fix in sphinx-notfound-page is needed [5][6]. [1] https://github.com/searxng/searxng/pull/2658#issuecomment-1684867270 [2] https://github.com/sphinx-doc/sphinx/issues/11621 [3] https://devguide.python.org/versions/#supported-versions [4] https://peps.python.org/pep-0508/#environment-markers [5] https://github.com/readthedocs/sphinx-notfound-page/issues/219 [6] https://github.com/readthedocs/sphinx-notfound-page/issues/219#issuecomment-1694691135 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-27[mod] searx.network: memory optimizationAlexandre Flament
Avoid to create a SSLContext in AsyncHTTPTransportNoHttp See: * https://github.com/encode/httpx/blob/0f61aa58d66680c239ce43c8cdd453e7dc532bfc/httpx/_transports/default.py#L271 * https://github.com/encode/httpx/issues/2298
2023-08-27[fix] openstreetmap engineAlexandre Flament
It seems there is an API change: extratags can be either a dictionnary or None. This commit avoid crash when extratags is None Test query "!osm gare du nord"
2023-08-26[fix] google engine: don't overspecify the search query to GoogleMarkus Heiser
The method EngineTraits.get_region(..) returns engine's region string that **best fits** to SearXNG's locale. This means it returns a region (country) if only a language is set in the locale. By example the method returns for a locale tag `es` a region `ES`. Google's search parameter `cr` restricts search results to documents originating in a particular country / in case of a locale tag (language) as described above, this argument should be unset in the query send to Google. Closes: https://github.com/searxng/searxng/issues/2672 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-25[translations] update from Weblatesearxng-bot
a6c2d1988 - 2023-08-22 - shoko <nickskorohod@outlook.com> 38bc33a71 - 2023-08-20 - return42 <markus.heiser@darmarit.de> 0ff21aa3c - 2023-08-19 - MonsoonFire <re1qnb5mq@mozmail.com>
2023-08-24Merge pull request #2644 from dalf/update_httpxPaul Braeuning
Bump httpx 0.21.2 from to 0.24.1
2023-08-22[fix] engine google_video: google has changed the layout of the rsponseMarkus Heiser
Closes: https://github.com/searxng/searxng/issues/2664 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-21Bump httpx 0.21.2 from to 0.24.1Alexandre Flament
2023-08-21[mod] decrease the weighting of wikivoyage, wikibooks, wikisource and ↵Markus Heiser
wikiversity The search engines deliver hits for many search terms [1], but these are usually not the focus of the user. In order to arrange these hits further down in the list, their weighting is reduced. [1] https://github.com/searxng/searxng/pull/2589#issuecomment-1670915089 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-19[feat] engine: XPath configuration for pkg.go.devPlayDay
2023-08-19[feat] engine: implementation of mwmblBnyro
2023-08-18[translations] update from Weblatesearxng-bot
d8e4100b6 - 2023-08-16 - return42 <markus.heiser@darmarit.de> b8e03f3bc - 2023-08-17 - ghose <correo@xmgz.eu>
2023-08-18[mod] currency_convert: support for showing the answer source urlMarkus Heiser
Show URL of the ddg-search page, not the URL of a (generic) Javascript. The latter one is not usefull for the user. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-18[mod] google: support for showing the answer source urlMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-18[mod] engine duckduckgo definitions: support for answer sourceBnyro
2023-08-18[mod] brave: support for showing the answer source urlBnyro
2023-08-18[build] /staticMarkus Heiser
2023-08-18[feat] results: show source of suggested answerBnyro
2023-08-15[mod] improve seekr engines and add documentationMarkus Heiser
Tis patch adds some more fields to the result items and changed paging to the ``nextResultSet`` given in seekr's JSON response. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-15[feat] engine: implementation of seekr for news, images and videosBnyro
2023-08-14[drop] engine archive.is / blocked by CAPTCHA [1]Markus Heiser
Sadly archive.is is blocked by a CAPTCHA that can't be avoid (at least in a XPath engine). [1] https://github.com/searxng/searxng/issues/2643 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-14[fix] preferences: change engine table category colspan to 8mrpaulblack
* this is a small fix to increase the colspan of the category in engine preferences from 7 to 8, since there was a column added => fixing a small fallout from 473129031710973e3c02e7178085b751b5e821ed
2023-08-13[fix] typos in documentation & messagesToxyFlog1627
2023-08-13uwsgi.ini: remove unused cache2Alexandre Flament
cache2 was used before PR #1856
2023-08-11[doc] add tagesschau API to the debveloper documentationMarkus Heiser
supplement to the commit e25d1c728 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-11[fix] typo in docs/admin/settings/settings_general.rst (doc)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-11[update] make pygments.lessMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-11Bump pygments from 2.15.1 to 2.16.1dependabot[bot]
Bumps [pygments](https://github.com/pygments/pygments) from 2.15.1 to 2.16.1. - [Release notes](https://github.com/pygments/pygments/releases) - [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES) - [Commits](https://github.com/pygments/pygments/compare/2.15.1...2.16.1) --- updated-dependencies: - dependency-name: pygments dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-08-11[translations] update from Weblatesearxng-bot
12c527bcd - 2023-08-10 - maxch <maxletters@tutanota.com> ea46b66fc - 2023-08-10 - return42 <markus.heiser@darmarit.de> ae3d8dcdf - 2023-08-10 - return42 <markus.heiser@darmarit.de> ab6a59e35 - 2023-08-10 - return42 <markus.heiser@darmarit.de> 1db1affcc - 2023-08-10 - gallegonovato <fran-carro@hotmail.es> 94b682aa0 - 2023-08-10 - Fjuro <ifjuro@proton.me> 07c49bb6c - 2023-08-10 - return42 <markus.heiser@darmarit.de>
2023-08-10[feat] engine: implementation of anacondaBnyro
2023-08-10[feat] engine: implementation of German news, TagesschauBnyro
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-10[mod] settings.yml: move wolframalpha to categ general & disable by defaultGeckoLinux
As suggested in comment [1] as a good compromise between [2] and [3]. This will help users that want Wolfram Alpha instant answers by default with every query and don't mind the slowness. It will be disabled by default so it's fast for all users, and those that need it can enable it as a user-configurable option without requiring setting up their own instance to change the Wolfram Alpha categorization. [1] https://github.com/searxng/searxng/pull/813#issuecomment-1574851572 [2] https://github.com/searxng/searxng/pull/813#issuecomment-1020581765 [3] https://github.com/searxng/searxng/issues/966#issue-1171107451
2023-08-10[mod] engine lemmy: increase thumbnail quality to align with themeBnyro
2023-08-10[mod] settings: remove lemmy from categ 'general' & enable by defaultMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-10[mod] engine lemmy: add more info fields to the result itemsMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-10[feat] engine: support for lemmy communities, posts, comments and usersBnyro
2023-08-10[mod] engine google_play: raise error on unsupported categoryBnyro
2023-08-10[mod] engine brave: raise error on unsupported categoryBnyro
2023-08-10[mod] settings: show weight of each instanceBnyro
2023-08-09[fix] make flask_babel.gettext() work in engine modules (L10n & threads)Markus Heiser
incident: flask_babel.gettext() does not work in the engine modules. cause: the request() and response() functions of the engine modules run in the processor, whose search() method runs in a thread and in the threads the context of the Flask app does not exist. The context of the Flask app is needed by the gettext() function for the L10n. Solution: copy context of the Flask app into the threads. [1] special case: We cannot equip the search() method of the processors with the decorator [1], because the decorator requires a context (Flask app) that does not yet exist at the time of the initialization of the processors (the initialization of the processors is part of the initialization of the Flask app). [1] https://flask.palletsprojects.com/en/2.3.x/api/#flask.copy_current_request_context Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-09[mod] remove discontinued petalsearch enginesallendema_searxng_pi
2023-08-08[mod] brave engines: add fetch_traits() / improve language supportMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-08[mod] implement brave (WEB) engine to replace XPath configurationMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-08[feat] engine: brave - support for newsBnyro
2023-08-08[feat] engine: brave - support for videosBnyro
2023-08-08[feat] engine: brave - support for imagesBnyro