czaky
c331cf64cf
Merge 6e9f7c276e
into cb945276b6
2024-06-13 10:46:50 +02:00
Ember
cb945276b6
Change 'his/her' to 'them'
2024-06-13 10:23:01 +02:00
Bnyro
f5eb56b63f
[refactor] hostnames plugin: add fallback for old hostname_replace plugin
...
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-07 14:42:52 +02:00
Markus Heiser
845a0b678d
[doc] add 'hostnames' plugin to the online documentation
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-07 14:42:52 +02:00
Bnyro
aa59bfbf60
[feat] hostname replace plugin: support for external list file
2024-06-07 14:42:52 +02:00
Bnyro
3bec04079c
[feat] hostname replace plugin: possibility to prioritize certain websites
...
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-07 14:42:52 +02:00
dependabot[bot]
d4c3d30995
[upd] pypi: Bump nose2[coverage_plugin] from 0.14.2 to 0.15.1
...
Bumps [nose2[coverage_plugin]](https://github.com/nose-devs/nose2 ) from 0.14.2 to 0.15.1.
- [Changelog](https://github.com/nose-devs/nose2/blob/main/docs/changelog.rst )
- [Commits](https://github.com/nose-devs/nose2/compare/0.14.2...0.15.1 )
---
updated-dependencies:
- dependency-name: nose2[coverage_plugin]
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-07 11:32:36 +02:00
Bnyro
46c5309888
[feat] mojeek: implement dedicated module
2024-06-07 11:31:05 +02:00
Markus Heiser
32a2175f38
[feat] add engines for discourse forums (python, caddy, pi-hole)
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-07 10:16:09 +02:00
allendema_searxng_pi
ee146dbc07
[enh] Add engine for discourse forums
2024-06-07 10:16:09 +02:00
searxng-bot
91882aedf1
[l10n] update translations from Weblate
...
00cfc653d
- 2024-06-06 - ghose <ghose@users.noreply.translate.codeberg.org>
a89cbc458
- 2024-06-06 - artnay <artnay@users.noreply.translate.codeberg.org>
b58008c90
- 2024-06-06 - EifionLlwyd <EifionLlwyd@users.noreply.translate.codeberg.org>
2c92cadcb
- 2024-06-05 - ghose <ghose@users.noreply.translate.codeberg.org>
2d159a175
- 2024-06-02 - sygmamess <sygmamess@users.noreply.translate.codeberg.org>
a9ab96e6e
- 2024-06-01 - chjtxwd <chjtxwd@users.noreply.translate.codeberg.org>
2488cff09
- 2024-06-01 - return42 <return42@users.noreply.translate.codeberg.org>
22626a0f2
- 2024-06-01 - return42 <return42@users.noreply.translate.codeberg.org>
2024-06-07 10:14:03 +02:00
dependabot[bot]
cbd8ecdaad
[upd] pypi: Bump redis from 5.0.4 to 5.0.5
...
Bumps [redis](https://github.com/redis/redis-py ) from 5.0.4 to 5.0.5.
- [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/v5.0.4...v5.0.5 )
---
updated-dependencies:
- dependency-name: redis
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-07 10:13:38 +02:00
dependabot[bot]
312c922ce1
[upd] pypi: Bump certifi from 2024.2.2 to 2024.6.2
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2024.2.2 to 2024.6.2.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.02.02...2024.06.02 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-07 10:12:40 +02:00
dependabot[bot]
4f119936cb
[upd] pypi: Bump pylint from 3.2.2 to 3.2.3
...
Bumps [pylint](https://github.com/pylint-dev/pylint ) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/pylint-dev/pylint/releases )
- [Commits](https://github.com/pylint-dev/pylint/compare/v3.2.2...v3.2.3 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-07 10:11:51 +02:00
searxng-bot
18fb701be2
[l10n] update translations from Weblate
...
61aa303a4
- 2024-05-28 - return42 <return42@users.noreply.translate.codeberg.org>
170248b24
- 2024-05-28 - morenewsavailable <morenewsavailable@users.noreply.translate.codeberg.org>
7c2fee870
- 2024-05-28 - return42 <return42@users.noreply.translate.codeberg.org>
5b4a84c9c
- 2024-05-28 - return42 <return42@users.noreply.translate.codeberg.org>
dd076ef55
- 2024-05-28 - return42 <return42@users.noreply.translate.codeberg.org>
3d1c529d7
- 2024-05-28 - ghose <ghose@users.noreply.translate.codeberg.org>
c48bd4b50
- 2024-05-26 - wintryexit <weatherdowner@proton.me>
f8cd9e63d
- 2024-05-25 - unoyoa <unoyoa@users.noreply.translate.codeberg.org>
211935324
- 2024-05-25 - Linerly <Linerly@users.noreply.translate.codeberg.org>
e3cdb5196
- 2024-05-24 - return42 <return42@users.noreply.translate.codeberg.org>
bba8b66d1
- 2024-05-25 - return42 <return42@users.noreply.translate.codeberg.org>
538af5393
- 2024-05-24 - yannickmaes <yannickmaes@users.noreply.translate.codeberg.org>
e9c4b55ae
- 2024-05-25 - return42 <return42@users.noreply.translate.codeberg.org>
ea54474ea
- 2024-05-24 - lloydsmart <lloydsmart@users.noreply.translate.codeberg.org>
f870f76af
- 2024-05-25 - MusfiquerRhman <MusfiquerRhman@users.noreply.translate.codeberg.org>
b4a320991
- 2024-05-24 - krlsk <krlsk@users.noreply.translate.codeberg.org>
2024-05-31 11:16:35 +02:00
Markus Heiser
5fc93b6c34
[fix] comment in settings.yml 'Calculator plugin' --> 'Basic Calculator'
...
Reported by @GitTimeraider in [1]
[1] https://github.com/searxng/searxng/discussions/3529#discussioncomment-9605018
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-30 14:34:25 +02:00
Allen
0fa81fc782
[enh] add re-usable func to filter text
2024-05-29 17:56:17 +02:00
Jeff Alyanak
0fb3f0e4ae
[fix] do not show DDG IP from zero click
...
The zero click result from DuckDuckGo for IP should not be displayed. It will
return the IP of the searxng server, not the user's IP, and looks a bit strange
when the `self_info` plugin is enabled as two different IPs get returned.
2024-05-29 11:23:26 +02:00
Markus Heiser
bb7c5bd44c
[data] update searx.data - update_engine_traits.py
...
$ make data.traits
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-29 07:52:18 +02:00
Markus Heiser
a20dfbbcbd
[fix] engine startpage: fetch_traits() / if lang name unknown by babel
...
Workflow "Update data - update_engine_traits.py" fails last night [1].
This issue has already been reported by @allendema [2].
[1] https://github.com/searxng/searxng/actions/runs/9278028691/job/25528337485#step:6:168
[2] https://github.com/searxng/searxng/pull/3504/files#r1613559565
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-29 07:52:18 +02:00
return42
8713aa6c4b
[data] update searx.data - update_wikidata_units.py
2024-05-29 06:54:24 +02:00
return42
c16a143239
[data] update searx.data - update_currencies.py
2024-05-29 06:53:45 +02:00
return42
8a78d7b64d
[data] update searx.data - update_firefox_version.py
2024-05-29 06:53:14 +02:00
return42
f2763e5efc
[data] update searx.data - update_ahmia_blacklist.py
2024-05-29 06:52:39 +02:00
return42
8250773ace
[data] update searx.data - update_engine_descriptions.py
2024-05-29 06:52:17 +02:00
Austin-Olacsi
9bb75a6644
[feat] engine: implementation of findthatmeme
2024-05-28 18:18:13 +02:00
dependabot[bot]
e992e888a0
[upd] pypi: Bump pylint from 3.1.0 to 3.2.2
...
Bumps [pylint](https://github.com/pylint-dev/pylint ) from 3.1.0 to 3.2.2.
- [Release notes](https://github.com/pylint-dev/pylint/releases )
- [Commits](https://github.com/pylint-dev/pylint/compare/v3.1.0...v3.2.2 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-28 18:10:04 +02:00
Markus Heiser
c19bffde4d
[fix] issues reported by pylint-3.2.2
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-28 18:10:04 +02:00
dependabot[bot]
e03c7e4dcd
[upd] pypi: Bump sphinx-notfound-page from 1.0.0 to 1.0.2
...
Bumps [sphinx-notfound-page](https://github.com/readthedocs/sphinx-notfound-page ) from 1.0.0 to 1.0.2.
- [Changelog](https://github.com/readthedocs/sphinx-notfound-page/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/readthedocs/sphinx-notfound-page/compare/1.0.0...1.0.2 )
---
updated-dependencies:
- dependency-name: sphinx-notfound-page
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-28 18:01:21 +02:00
Markus Heiser
056968cc39
[fix] unit converter operating backwards (from_si <-> to_si)
...
The factors for from_si and to_si were reversed.
Closes: https://github.com/searxng/searxng/issues/3497
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-28 11:58:13 +02:00
dependabot[bot]
99d6f51626
[upd] pypi: Bump lxml from 5.2.1 to 5.2.2
...
Bumps [lxml](https://github.com/lxml/lxml ) from 5.2.1 to 5.2.2.
- [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.2.1...lxml-5.2.2 )
---
updated-dependencies:
- dependency-name: lxml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-28 11:57:45 +02:00
Daniel Kukula
87165ac532
[mod] engine hex: add sort_criteria & page_size to configuration
2024-05-28 11:55:59 +02:00
Alexandre Flament
75e4b65127
[fix] ResultContainer: use self._lock and self._closed for all properties
...
Close #3474
2024-05-24 15:38:03 +02:00
allendema_searxng_pi
68365c8c1d
[enh] add instant answers from ddg
2024-05-24 10:44:17 +02:00
searxng-bot
6c74bc8908
[l10n] update translations from Weblate
...
775bb0f22
- 2024-05-23 - lolmeOzzi <lolmeOzzi@users.noreply.translate.codeberg.org>
ccf70529b
- 2024-05-23 - cynedex <cynedex@users.noreply.translate.codeberg.org>
4a3b70d10
- 2024-05-23 - Obligate <Obligate@users.noreply.translate.codeberg.org>
4e3be8012
- 2024-05-22 - ecevinoth <ecevinoth@users.noreply.translate.codeberg.org>
5fcd0b233
- 2024-05-21 - SilentWord <SilentWord@users.noreply.translate.codeberg.org>
3b73c20da
- 2024-05-21 - SilentWord <SilentWord@users.noreply.translate.codeberg.org>
a579173a1
- 2024-05-21 - bukutulis <bukutulis@users.noreply.translate.codeberg.org>
0b91ff3ad
- 2024-05-20 - Kran21 <Kran21@users.noreply.translate.codeberg.org>
bc3096ae1
- 2024-05-17 - lcaopcn <lcaopcn@users.noreply.translate.codeberg.org>
2024-05-24 10:28:48 +02:00
czaky
6e9f7c276e
Merge branch 'redundant_proxy_requests' of https://github.com/czaky/searxng into redundant_proxy_requests
2024-05-18 00:29:25 +00:00
czaky
9441c97a26
cleanup
2024-05-18 00:27:37 +00:00
czaky
e82516fb8d
cleanup
2024-05-17 23:51:24 +00:00
czaky
6c375c7d28
Revert "add on workflow_dispatch to integration"
...
This reverts commit c302f113b0
.
2024-05-17 23:34:39 +00:00
dependabot[bot]
ec41b53587
[upd] pypi: Bump selenium from 4.20.0 to 4.21.0
...
Bumps [selenium](https://github.com/SeleniumHQ/Selenium ) from 4.20.0 to 4.21.0.
- [Release notes](https://github.com/SeleniumHQ/Selenium/releases )
- [Commits](https://github.com/SeleniumHQ/Selenium/compare/selenium-4.20.0...selenium-4.21.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-05-17 16:52:09 +02:00
Daniel Kukula
a49232ee29
[feat] engine: implementation of cargo search (crates.io)
2024-05-17 16:37:39 +02:00
czaky
5fe7e42d1a
Add preference for non 404 responses fix test RC.
...
Fixed race condition with the 404 test.
2024-05-17 12:58:47 +00:00
czaky
c302f113b0
add on workflow_dispatch to integration
...
to verify why this fails remotely
2024-05-17 12:45:46 +00:00
czaky
5d15f6b313
Merge branch 'searxng:master' into redundant_proxy_requests
2024-05-17 08:09:05 -04:00
czaky
8fe19d54ef
Using conservative unittest asserts
2024-05-17 12:04:00 +00:00
searxng-bot
3585d71f99
[l10n] update translations from Weblate
...
0712f8fb7
- 2024-05-16 - 0ko <0ko@users.noreply.translate.codeberg.org>
9a9d04302
- 2024-05-16 - eaglclaws <eaglclaws@users.noreply.translate.codeberg.org>
4c6da9e2a
- 2024-05-16 - Utsushime <Utsushime@users.noreply.translate.codeberg.org>
e0b941276
- 2024-05-14 - dkuku <dkuku@users.noreply.translate.codeberg.org>
bee37a08a
- 2024-05-14 - sacred-serpent <sacred-serpent@users.noreply.translate.codeberg.org>
d29eca2ba
- 2024-05-14 - return42 <return42@users.noreply.translate.codeberg.org>
719ed9054
- 2024-05-14 - gallegonovato <gallegonovato@users.noreply.translate.codeberg.org>
b57b75920
- 2024-05-10 - SomeTr <SomeTr@users.noreply.translate.codeberg.org>
ecf4ce2dc
- 2024-05-10 - Pyrbor <Pyrbor@users.noreply.translate.codeberg.org>
2024-05-17 09:16:38 +02:00
czaky
122a9568de
[network]: Add redundant parallel proxy requests.
...
Anecdotally, using SearX over unreliable proxies,
like tor, seems to be quite error prone.
SearX puts quite an effort to measure the
performance and reliability of engines, most
likely owning to those aspects being of
significant concern.
The patch here proposes to mitigate related
problems, by issuing concurrent redundant requests
through the specified proxies at once, returning
the first response that is not an error.
The functionality is enabled using the:
`proxy_request_redundancy` parameter within the
outgoing network settings or the engine settings.
Example:
```yaml
outgoing:
request_timeout: 8.0
proxies:
"all://":
- socks5h://tor:9050
- socks5h://tor1:9050
- socks5h://tor2:9050
- socks5h://tor3:9050
proxy_request_redundancy: 4
```
In this example, each network request will be
send 4 times, once through every proxy. The
first (non-error) response wins.
In my testing environment using several tor proxy
end-points, this approach almost entirely
removes engine errors related to timeouts
and denied requests. The latency of the
network system is also improved.
The implementation, uses a
`AsyncParallelTransport(httpx.AsyncBaseTransport)`
wrapper to wrap multiple sub-trasports,
and `asyncio.wait` to wait on the first completed
request.
The existing implementation of the network
proxy cycling has also been moved into the
`AsyncParallelTransport` class, which should
improve network client memoization and
performance.
TESTED:
- unit tests for the new functions and classes.
- tested on desktop PC with 10+ upstream proxies
and comparable request redundancy.
2024-05-17 02:09:29 +00:00
Markus Heiser
2f2d93b292
[build] /static
2024-05-16 07:30:38 +02:00
Markus Heiser
916739d6b4
[mod] simple theme: drop img_src from default results
...
The use of img_src AND thumbnail in the default results makes no sense (only a
thumbnail is needed). In the current state this is rather confusing, because
img_src is displayed like a thumbnail (small) and thumbnail is displayed like an
image (large).
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-16 07:30:38 +02:00
Bnyro
0f2f52f0b5
[fix] google: don't display that keyword is missing in content field
2024-05-15 16:03:35 +02:00