Markus Heiser
e560d7e373
[mod] presearch: add language & region support
...
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 19:23:26 +01:00
Markus Heiser
a2c269bbac
[mod] presearch: hardening engine's response against KeyErrors
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-01-15 19:23:26 +01:00
Bnyro
0a78f59aba
[fix] presearch: safesearch, time ranges, crash when no result found
2024-01-15 19:23:26 +01:00
Markus Heiser
87f18b98ec
[fix] SyntaxWarning: invalid escape sequence '\>'
...
This patch fixes issue reported by ``make test.unit``::
searx/search/checker/impl.py:39: SyntaxWarning: invalid escape sequence '\>'
rep = ['<' + tag + '[^\>]*>' for tag in HTML_TAGS]
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-01-15 18:27:21 +01:00
searxng-bot
b0b2efdc8d
[translations] update from Weblate
...
3dafa37f3
- 2024-01-10 - return42 <markus.heiser@darmarit.de>
a641db83f
- 2024-01-10 - Rick1029 <yoshibear1029@gmail.com>
a3d2b083f
- 2024-01-08 - johnmartzbuntia <johnmartibuntia@jmtb.xyz>
b6dec1f75
- 2024-01-08 - return42 <markus.heiser@darmarit.de>
eb76d8b8d
- 2024-01-09 - Rick1029 <yoshibear1029@gmail.com>
2024-01-13 09:33:41 +01:00
dependabot[bot]
a19028bd90
Bump lxml from 5.0.0 to 5.1.0
...
Bumps [lxml](https://github.com/lxml/lxml ) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/lxml/lxml/releases )
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt )
- [Commits](https://github.com/lxml/lxml/compare/lxml-5.0.0...lxml-5.1.0 )
---
updated-dependencies:
- dependency-name: lxml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-12 10:28:26 +01:00
dependabot[bot]
065e95cd05
Bump jinja2 from 3.1.2 to 3.1.3
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-12 09:29:59 +01:00
Markus Heiser
54a6626582
[fix] issues reported by shellcheck v0.9.0
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-01-09 16:31:19 +01:00
Markus Heiser
f9c5727ddc
[mod] get rid of ./utils/brand.env and its workflow
...
All the environments defined in ./utils/brand.env are generated on the fly, so
there is no longer a need to define the brand environment in this file and all
the workflows to handle this file.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-01-09 16:31:19 +01:00
Alexandre Flament
60bc5baea3
[mod] ./utils/get_setting.py tiny YAML parser for settings.yml
...
This allow to read settings on the fly even without virtualenv. The ultimate
goal of the commit is to remove utils/brand.env from the git repository.
The code includes a tiny yaml parser that **should** be good enough. The code
read searx/settings.yml directly (and ignore the environment variables).
yq [1] is a more reliable alternative but this require to download a binary from
github which is not great.
[1] https://github.com/mikefarah/yq/#install
2024-01-09 16:31:19 +01:00
Bnyro
3dea7e609b
[feat] autocompleter: implementation of stract (beta)
2024-01-07 11:18:16 +01:00
Bnyro
621e1313af
[feat] engine: implementation of stract (beta)
2024-01-07 11:18:16 +01:00
dependabot[bot]
2f7c800f6f
Bump lxml from 4.9.4 to 5.0.0
...
Bumps [lxml](https://github.com/lxml/lxml ) from 4.9.4 to 5.0.0.
- [Release notes](https://github.com/lxml/lxml/releases )
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt )
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.9.4...lxml-5.0.0 )
---
updated-dependencies:
- dependency-name: lxml
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-06 16:26:05 +01:00
Myzel394
55568051d4
fix(docs): Fix development quickstart url
2024-01-06 16:20:38 +01:00
searxng-bot
c90dc201fc
[translations] update from Weblate
...
a04e3b59c
- 2024-01-02 - return42 <markus.heiser@darmarit.de>
a4d387847
- 2024-01-02 - return42 <markus.heiser@darmarit.de>
80521c1b3
- 2024-01-02 - return42 <markus.heiser@darmarit.de>
e90952815
- 2024-01-02 - return42 <markus.heiser@darmarit.de>
2debd5992
- 2023-12-29 - alextecplayz <alextec70@outlook.com>
c4d54c3e5
- 2023-12-29 - alexgabi <alexgabi@disroot.org>
1a0c9c025
- 2023-12-29 - SecularSteve <fairfull.playing@gmail.com>
dc99d1390
- 2023-12-29 - ETRB <codeberg-cm58mk@r.acmrb.uk>
477e01149
- 2023-12-29 - SecularSteve <fairfull.playing@gmail.com>
65dacdd30
- 2023-12-29 - staram <gritty.year0043@fastmail.com>
6a20c8853
- 2023-12-29 - SecularSteve <fairfull.playing@gmail.com>
2024-01-06 16:20:13 +01:00
Émilien (perso)
3535377c9a
Searx to SearXNG change error message
2023-12-31 16:19:14 +01:00
searxng-bot
27e26b3d65
[translations] update from Weblate
...
966bbd849
- 2023-12-29 - staram <gritty.year0043@fastmail.com>
d4680cb39
- 2023-12-29 - 1024mb <aberetta@protonmail.com>
b2cf5fbaf
- 2023-12-27 - Linuks <linuks@skiff.com>
fa8654087
- 2023-12-27 - tentsbet <remendne@pentrens.jp>
fc759fe0b
- 2023-12-27 - Linerly <linerly@protonmail.com>
cf9b03bfd
- 2023-12-27 - return42 <markus.heiser@darmarit.de>
03bd73400
- 2023-12-27 - Linerly <linerly@protonmail.com>
88ffa01ec
- 2023-12-27 - return42 <markus.heiser@darmarit.de>
736c44d3f
- 2023-12-25 - err_connection_closed <err_connection_closed@users.noreply.translate.codeberg.org>
dd3a15279
- 2023-12-26 - ghose <correo@xmgz.eu>
fd68404ee
- 2023-12-26 - return42 <markus.heiser@darmarit.de>
941e60232
- 2023-12-23 - SomeTr <SomeTr@users.noreply.translate.codeberg.org>
41dfd42d7
- 2023-12-23 - mittwerk <w0o0y8jt@duck.com>
1ca048b0b
- 2023-12-23 - Fjuro <ifjuro@proton.me>
2023-12-29 08:48:24 +01:00
dalf
4647981419
Update searx.data - update_wikidata_units.py
2023-12-29 06:09:04 +01:00
dalf
a8cc101c35
Update searx.data - update_ahmia_blacklist.py
2023-12-29 06:08:35 +01:00
dalf
59a67f30c8
Update searx.data - update_firefox_version.py
2023-12-29 06:07:46 +01:00
dalf
81e8638de0
Update searx.data - update_currencies.py
2023-12-29 06:06:51 +01:00
Markus Heiser
d676ae8ab3
[build] /static
2023-12-28 19:15:04 +01:00
Jinyuan Huang
f6d797ef43
[fix] fix a display problem in the image detail preview.
2023-12-28 19:15:04 +01:00
Markus Heiser
0d47322ac8
[build] /static
2023-12-28 18:59:14 +01:00
ahmad-alkadri
07e846e91a
Prevent default browser behavior on click event
2023-12-28 18:59:14 +01:00
Markus Heiser
8dfc1dbc5c
[fix] engine - offical URL moved to https://lingva.thedaviddelta.com/
...
The ML top-level domain has been removed from Freenom ... moved the official
instance to https://lingva.thedaviddelta.com [1]
To test use translation syntax:
!lv en-de Alternative front-end for Google Translate
[1] https://fosstodon.org/@thedaviddelta/111376540936289966
Closes: https://github.com/searxng/searxng/issues/2718
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-12-25 09:57:35 +01:00
Markus Heiser
2863b0f6da
Update searx.data - update_engine_traits.py
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-12-24 08:28:32 +01:00
Markus Heiser
6df922b9da
[fix] fetch_traits of google and zlibrary
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-12-24 08:28:32 +01:00
Bnyro
d6ac2b5a55
[feat] engine: implementation of bahnhof.de
2023-12-23 17:38:38 +01:00
Markus Heiser
6129b16165
[mod] simplify no results on pages > 1 to "There are no more results."
...
BTW: remove not needed whitespaces in the generated HTML
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-12-23 09:50:39 +01:00
obfuscated-loop
2179a418c4
[mod] Change no results error message based on page number
2023-12-23 09:50:39 +01:00
Jay
b4de72a96f
[mod] Capitalize theme names/styles in theme.html view file
2023-12-23 09:07:08 +01:00
Markus Heiser
91737f719a
[mod] nodejs v16 reaached EOL / upgrade to v20.10
...
[1] https://nodejs.org/en/about/previous-releases
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-12-23 07:49:03 +01:00
dependabot[bot]
26737fda1b
Bump sharp from 0.32.6 to 0.33.0 in /searx/static/themes/simple
...
Bumps [sharp](https://github.com/lovell/sharp ) from 0.32.6 to 0.33.0.
- [Release notes](https://github.com/lovell/sharp/releases )
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md )
- [Commits](https://github.com/lovell/sharp/compare/v0.32.6...v0.33.0 )
---
updated-dependencies:
- dependency-name: sharp
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-23 07:49:03 +01:00
Markus Heiser
3665b32aff
Revert "[fix] update user agent"
...
This reverts commit 3c6549a17f
.
Related:
- https://github.com/searxng/searxng/pull/2826
2023-12-23 07:48:38 +01:00
searxng-bot
518dd97c89
[translations] update from Weblate
...
fc2dfc108
- 2023-12-21 - return42 <markus.heiser@darmarit.de>
3938cfbac
- 2023-12-21 - return42 <markus.heiser@darmarit.de>
7b7286fba
- 2023-12-21 - return42 <markus.heiser@darmarit.de>
1d066d218
- 2023-12-20 - sriramsekar <srirams_24@yahoo.com>
2023-12-23 07:40:02 +01:00
dependabot[bot]
2e52d06d18
Bump babel from 2.13.1 to 2.14.0
...
Bumps [babel](https://github.com/python-babel/babel ) from 2.13.1 to 2.14.0.
- [Release notes](https://github.com/python-babel/babel/releases )
- [Changelog](https://github.com/python-babel/babel/blob/master/CHANGES.rst )
- [Commits](https://github.com/python-babel/babel/compare/v2.13.1...v2.14.0 )
---
updated-dependencies:
- dependency-name: babel
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-23 07:39:26 +01:00
dependabot[bot]
ed085a38bd
Bump pylint from 3.0.2 to 3.0.3
...
Bumps [pylint](https://github.com/pylint-dev/pylint ) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/pylint-dev/pylint/releases )
- [Commits](https://github.com/pylint-dev/pylint/compare/v3.0.2...v3.0.3 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-23 07:31:57 +01:00
dependabot[bot]
2136c978ff
Bump lxml from 4.9.3 to 4.9.4
...
Bumps [lxml](https://github.com/lxml/lxml ) from 4.9.3 to 4.9.4.
- [Release notes](https://github.com/lxml/lxml/releases )
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt )
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.9.3...lxml-4.9.4 )
---
updated-dependencies:
- dependency-name: lxml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-23 07:30:50 +01:00
Bnyro
8a4104b992
[feat] engine: implementation of rotten tomatoes
2023-12-11 18:59:36 +01:00
Bnyro
dda74fc9c9
[feat] engine: implementation of mdn
2023-12-11 18:57:40 +01:00
Bnyro
b5b81c9806
[feat] engine: implementation of fyyd
2023-12-11 18:56:32 +01:00
Bnyro
527e13ab46
[feat] engine: implementation of podcastindex.org
2023-12-11 18:55:16 +01:00
Bnyro
3bc85c511c
[mod] tootfinder: implement python module
2023-12-11 18:54:24 +01:00
Brock Vojkovic
0bcff32dd7
[fix] update check.searx.space IP addresses
2023-12-11 15:21:02 +01:00
dependabot[bot]
8effefa8db
Bump selenium from 4.15.2 to 4.16.0
...
Bumps [selenium](https://github.com/SeleniumHQ/Selenium ) from 4.15.2 to 4.16.0.
- [Release notes](https://github.com/SeleniumHQ/Selenium/releases )
- [Commits](https://github.com/SeleniumHQ/Selenium/commits/selenium-4.16.0 )
---
updated-dependencies:
- dependency-name: selenium
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-10 19:26:02 +01:00
searxng-bot
574ed29d3e
[translations] update from Weblate
...
fa2970d07
- 2023-12-08 - return42 <markus.heiser@darmarit.de>
f19144327
- 2023-12-07 - artnay <jiri.gronroos@iki.fi>
110f1b4db
- 2023-12-05 - Ivan Gabaldon <admin@inetol.net>
c791e0c81
- 2023-12-07 - APoniatowski <adam@poniatowski.dev>
1f45cc83a
- 2023-12-04 - akwceles <abadcopovisamuel@gmail.com>
5f93c2a39
- 2023-12-04 - return42 <markus.heiser@darmarit.de>
0d735b7aa
- 2023-12-04 - return42 <markus.heiser@darmarit.de>
9cad06b09
- 2023-12-04 - akwceles <abadcopovisamuel@gmail.com>
97554eaa2
- 2023-12-03 - kirisameSoup <kirisoup@skiff.com>
2f4e19946
- 2023-12-03 - kirisameSoup <kirisoup@skiff.com>
d1dac8b5b
- 2023-12-01 - Luna <github@luwuna.gay>
5c57f6eb5
- 2023-12-01 - return42 <markus.heiser@darmarit.de>
4e3908a20
- 2023-12-01 - return42 <markus.heiser@darmarit.de>
4d2b58e40
- 2023-12-01 - return42 <markus.heiser@darmarit.de>
43a40da4d
- 2023-12-01 - return42 <markus.heiser@darmarit.de>
89f08502e
- 2023-12-01 - return42 <markus.heiser@darmarit.de>
2023-12-08 08:42:24 +01:00
Markus Heiser
3829c253ff
[mod] add option max_page to bing, brave, qwant, startpage & mojeek
...
[1] https://github.com/searxng/searxng/issues/2982#issuecomment-1808975780
Reported-by: @Damaj301damaj-lol [1]
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-12-03 13:47:17 +01:00
Markus Heiser
2274d55d5a
[mod] add option max_page
...
Related: https://github.com/searxng/searxng/issues/2982
Closes: https://github.com/searxng/searxng/issues/2972
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-12-03 13:47:17 +01:00
dependabot[bot]
1e0813fd3a
Bump redis from 4.6.0 to 5.0.1
...
Bumps [redis](https://github.com/redis/redis-py ) from 4.6.0 to 5.0.1.
- [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/v4.6.0...v5.0.1 )
---
updated-dependencies:
- dependency-name: redis
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-03 13:31:02 +01:00