Markus Heiser
ef163e3b01
[fix] issues reported by `make test.yamllint`
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-01 11:32:48 +01:00
Markus Heiser
e55e936e43
[mod] lint github YAML config files
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-01 11:23:38 +01:00
Markus Heiser
56e3d72a76
[fix] CI: remove target test.coverage from python's test matrix
...
The test.coverage cause a lot of failed CI jobs for reasons that cannot be
explained. As we do not monitor the coverage anyway, it is superfluous to run
this job, especially as it only has a disruptive effect on the CI.
BTW and the CI action upload-artifact@v3 is deprecated [1]
[1] https://github.com/actions/upload-artifact?tab=readme-ov-file#actionsupload-artifact
Related: https://github.com/searxng/searxng/issues/3983
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-01 10:14:57 +01:00
searxng-bot
cc148a76b0
[l10n] update translations from Weblate
...
a4cdaaa26
- 2024-10-30 - Juno Takano <jutty@users.noreply.translate.codeberg.org>
46bad3a79
- 2024-10-29 - saltsnorter <saltsnorter@users.noreply.translate.codeberg.org>
6a4096da9
- 2024-10-27 - Eryk Michalak <gnu.ewm@protonmail.com>
64815d956
- 2024-10-28 - ljansen <ljansen@users.noreply.translate.codeberg.org>
851ae554d
- 2024-10-26 - return42 <return42@users.noreply.translate.codeberg.org>
24f16d5e3
- 2024-10-26 - return42 <return42@users.noreply.translate.codeberg.org>
8278d1cb9
- 2024-10-26 - Atul_Eterno <Atul_Eterno@users.noreply.translate.codeberg.org>
2024-11-01 08:30:38 +01:00
uply23333
fa108c140f
[fix] google: display every result when keyword is contained in content field
2024-10-31 13:21:32 +01:00
Markus Heiser
fa4dfd4efe
[fix] favicons: msgspec.ValidationError: Expected `Path`, got `str` - at `$.favicons.cache.db_url`
...
Closes: https://github.com/searxng/searxng/issues/3975
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-29 18:22:22 +01:00
Markus Heiser
b183e620d8
[refactor] engine: duckduckgo - https://html.duckduckgo.com/html
...
The entire source code of the duckduckgo engine has been reengineered and
purified.
1. DDG used the URL https://html.duckduckgo.com/html for no-JS requests whose
response is also easier to parse than the previous
https://lite.duckduckgo.com/lite/ URL
2. the bot detection of DDG has so far caused problems and often led to a
CAPTCHA, this can be circumvented using `'Sec-Fetch-Mode'] = “navigate”`
Closes: https://github.com/searxng/searxng/issues/3927
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-29 14:56:27 +01:00
Markus Heiser
f63f97c56c
Revert "Fix for broken docker builds"
...
This reverts commit 4ef1c706f8
.
2024-10-29 13:50:38 +01:00
Markus Heiser
163031c394
Revert "[fix] typo in Dockerfile"
...
This reverts commit 038a2ff6bd
.
2024-10-29 13:50:38 +01:00
Markus Heiser
3e5621e1af
[refactor] replace pydantic by msgspec
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-29 13:50:38 +01:00
return42
e392892578
[data] update searx.data - update_firefox_version.py
2024-10-29 09:30:40 +01:00
return42
68ed8245da
[data] update searx.data - update_ahmia_blacklist.py
2024-10-29 09:29:58 +01:00
return42
2d748d1d74
[data] update searx.data - update_currencies.py
2024-10-29 09:29:18 +01:00
return42
2985ece0ca
[data] update searx.data - update_wikidata_units.py
2024-10-29 09:28:58 +01:00
return42
adc38c5800
[data] update searx.data - update_engine_traits.py
2024-10-29 09:28:28 +01:00
return42
a084436ff4
[data] update searx.data - update_engine_descriptions.py
2024-10-29 09:17:30 +01:00
Markus Heiser
b176323e89
[fix] calculator: use locale from UI (not from selected language)
...
Closes: https://github.com/searxng/searxng/issues/3956
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-28 15:53:57 +01:00
Markus Heiser
da28f5280b
[fix] limiter: don't hard code settings folder to /etc/searxng
...
The location of the local settings depends on environment ``SEARXNG_SETTINGS_PATH``
and can be different from ``/etc/searxng``. Issue was reported on Matrix [1].
To get the location function ``searx.settings_loader.get_user_cfg_folder()``
should be used.
[1] https://matrix.to/#/!vxScbLNEAmRvOraXBn:matrix.org/$_eLS0JpE9oVEWsiGJkqJnWcFWEeZClIMGDK6cWv_Q4g?via=matrix.org&via=tchncs.de&via=envs.net
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-28 12:51:05 +01:00
dependabot[bot]
543ab92fde
[upd] pypi: Bump pallets-sphinx-themes from 2.2.0 to 2.3.0
...
Bumps [pallets-sphinx-themes](https://github.com/pallets/pallets-sphinx-themes ) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/pallets/pallets-sphinx-themes/releases )
- [Changelog](https://github.com/pallets/pallets-sphinx-themes/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/pallets-sphinx-themes/compare/2.2.0...2.3.0 )
---
updated-dependencies:
- dependency-name: pallets-sphinx-themes
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-27 10:48:26 +01:00
Markus Heiser
e08ff05fff
[fix] add missing tomli to the requirements.txt
...
Package ``tomli`` is needed for py < 3.11, BTW remove the no longer needed
pytomlpp package.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-26 15:59:42 +02:00
Markus Heiser
a3921b5ed7
[mod] add test to check compat.py module
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-26 15:59:42 +02:00
Markus Heiser
ae496e9dd0
[build] /static
2024-10-26 08:34:21 +02:00
JJ
9b01e3c9d6
[mod] shrink new favicons in search results
2024-10-26 08:34:21 +02:00
searxng-bot
446ee2dd25
[l10n] update translations from Weblate
...
21c063bf1
- 2024-10-20 - Priit Jõerüüt <jrtcdbrg@users.noreply.translate.codeberg.org>
2024-10-26 07:29:54 +02:00
Markus Heiser
b14d885f23
[fix] favicons: don't hard code settings folder to /etc/searxng
...
The location of the local settings depends on environment ``SEARXNG_SETTINGS_PATH``
and can be different from ``/etc/searxng``. Issue was reported on Matrix [1].
To get the location function ``searx.settings_loader.get_user_cfg_folder()``
should be used.
[1] https://matrix.to/#/!vxScbLNEAmRvOraXBn:matrix.org/$5xNMYvONGB-mPt2B3ttoL27QncRFhkjGkO-TISdmP08?via=matrix.org&via=tchncs.de&via=envs.net
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-23 05:29:15 +02:00
Markus Heiser
050451347b
[fix] engine: duckduckgo - CAPTCHA detection
...
The previous implementation could not distinguish a CAPTCHA response from an
ordinary result list. In the previous implementation a CAPTCHA was taken as a
result list where no items are in.
DDG does not block IPs. Instead, a CAPTCHA wall is placed in front of request
on a dubious request.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-19 14:55:44 +02:00
dependabot[bot]
88caa1d7db
[upd] pypi: Bump sphinx-issues from 4.1.0 to 5.0.0
...
Bumps [sphinx-issues](https://github.com/sloria/sphinx-issues ) from 4.1.0 to 5.0.0.
- [Commits](https://github.com/sloria/sphinx-issues/compare/4.1.0...5.0.0 )
---
updated-dependencies:
- dependency-name: sphinx-issues
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-19 11:18:42 +02:00
dependabot[bot]
a0c704c860
[upd] pypi: Bump uvloop from 0.20.0 to 0.21.0
...
Bumps [uvloop](https://github.com/MagicStack/uvloop ) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/MagicStack/uvloop/releases )
- [Commits](https://github.com/MagicStack/uvloop/compare/v0.20.0...v0.21.0 )
---
updated-dependencies:
- dependency-name: uvloop
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-19 11:06:25 +02:00
dependabot[bot]
219040c766
[upd] pypi: Bump pallets-sphinx-themes from 2.1.3 to 2.2.0
...
Bumps [pallets-sphinx-themes](https://github.com/pallets/pallets-sphinx-themes ) from 2.1.3 to 2.2.0.
- [Release notes](https://github.com/pallets/pallets-sphinx-themes/releases )
- [Changelog](https://github.com/pallets/pallets-sphinx-themes/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/pallets-sphinx-themes/compare/2.1.3...2.2.0 )
---
updated-dependencies:
- dependency-name: pallets-sphinx-themes
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-19 11:05:55 +02:00
searxng-bot
eeae3664c2
[l10n] update translations from Weblate
...
17f8bce27
- 2024-10-17 - hemie143 <hemie143@users.noreply.translate.codeberg.org>
fbeb82816
- 2024-10-15 - return42 <return42@users.noreply.translate.codeberg.org>
eacea331b
- 2024-10-15 - return42 <return42@users.noreply.translate.codeberg.org>
36156687e
- 2024-10-15 - return42 <return42@users.noreply.translate.codeberg.org>
61cb3375d
- 2024-10-15 - return42 <return42@users.noreply.translate.codeberg.org>
2b3c92d37
- 2024-10-13 - Pedro_Tresp <Pedro_Tresp@users.noreply.translate.codeberg.org>
d4febbf8a
- 2024-10-12 - stoychevww <stoychevww@users.noreply.translate.codeberg.org>
2024-10-19 11:01:32 +02:00
Markus Heiser
038a2ff6bd
[fix] typo in Dockerfile
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-17 19:57:33 +02:00
rhee876527
4ef1c706f8
Fix for broken docker builds
...
Add temporary fix to broken docker builds in anticipation of yet to be released pydantic version v2.24.1
2024-10-17 19:14:33 +02:00
mrpaulblack
cf7627557a
[build] /static
2024-10-16 19:46:36 +02:00
mrpaulblack
2cacc560d6
[fix] simple theme: unset width for images on mobile layout
...
* fix fallout from 2fbedc4316
-> similar to 14fb187548
* change: set image height to 10rem
-> this is in my opinion more sensible size for mobile
2024-10-16 19:46:36 +02:00
Markus Heiser
058a072404
[build] /static
2024-10-15 15:54:58 +02:00
Markus Heiser
14fb187548
[fix] stretching pics in "pic search"
...
Issue is described in:
- https://github.com/searxng/searxng/issues/3915
The issue was caused bei merge of PR:
- https://github.com/searxng/searxng/pull/3895
Solution:
- Unset `width` for objects of class `.result-images`.
Tested by `make run` and query a list of results, containing `.result` and
`.result-images` objects:
!images !go bäder :de
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Closes: https://github.com/searxng/searxng/issues/3915
2024-10-15 15:54:58 +02:00
Markus Heiser
c96ba25f5b
[fix] online_currency.py: if more alternatives, use the last in the list
...
If there are more than one ISO 4217 numeric codes [1] for a currency use the
last one in the list of alternatives [2].
[1] https://en.wikipedia.org/wiki/ISO_4217#Active_codes_(list_one)
[2] https://en.wikipedia.org/wiki/ISO_4217#Historical_codes
Closes: https://github.com/searxng/searxng/issues/3713
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-15 15:20:39 +02:00
dependabot[bot]
2986681b31
[upd] pypi: Bump pylint from 3.2.7 to 3.3.1
...
Bumps [pylint](https://github.com/pylint-dev/pylint ) from 3.2.7 to 3.3.1.
- [Release notes](https://github.com/pylint-dev/pylint/releases )
- [Commits](https://github.com/pylint-dev/pylint/compare/v3.2.7...v3.3.1 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-15 14:29:10 +02:00
Bnyro
9f48d5f84f
[feat] engine: support for openlibrary
2024-10-15 13:06:00 +02:00
Grant Lanham
3e87354f0e
[fix] float operations in calculator plugin
...
This patch adds an additional *isinstance* check within the ast parser to check
for float along with int, fixing the underlying issue.
Co-Authored: Markus Heiser <markus.heiser@darmarit.de>
2024-10-15 08:10:52 +02:00
Grant Lanham
d448def1a6
[refactor] unit tests (continued) - plugins
...
This commit includes some refactoring in unit tests. As we test more plugins,
it seems unweildy to include every test class in the test_plugins.py file. This
patch split apart all of the test plugins to their own respective files,
including the new test_plugin_calculator.py file.
2024-10-15 08:10:52 +02:00
dependabot[bot]
8ba203c72b
[upd] pypi: Bump sphinx-tabs from 3.4.5 to 3.4.7
...
Bumps [sphinx-tabs](https://github.com/executablebooks/sphinx-tabs ) from 3.4.5 to 3.4.7.
- [Release notes](https://github.com/executablebooks/sphinx-tabs/releases )
- [Changelog](https://github.com/executablebooks/sphinx-tabs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/executablebooks/sphinx-tabs/compare/v3.4.5...v3.4.7 )
---
updated-dependencies:
- dependency-name: sphinx-tabs
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-15 07:55:07 +02:00
Markus Heiser
e275f8e18e
[data] update searx.data - update_engine_traits.py
...
Patches generated by::
make data.traits
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-15 06:37:01 +02:00
0xhtml
8b6a3f3e11
[enh] engine: mojeek - add language support
...
Improve region and language detection / all locale
Testing has shown the following behaviour for the different
default and empty values of Mojeeks parameters:
| param | idx | value | behaviour |
| -------- | --- | ------ | ------------------------- |
| region | 0 | '' | detect region based on IP |
| region | 1 | 'none' | all regions |
| language | 0 | '' | all languages |
2024-10-15 06:37:01 +02:00
Snoweuph
5b6f40414a
[mod] engine gitea: compatible with modern gitea or forgejo
...
Without this patch the Gitea Search Engine is only partially compatible with
modern gitea or forgejo:
- Fixing some JSON Fields
- Using Repository Avatar when Available
To Verify My results you can look at the Modern API doc and results, its
available on all Gitea and Forgejo instance by Default. Heres an Search API
result of Mine:
- https://git.euph.dev/api/v1/repos/search?q=ccna
2024-10-14 14:39:11 +02:00
Markus Heiser
7e8b330b3e
[build] /static
2024-10-12 11:08:44 +02:00
Markus Heiser
2fbedc4316
[fix] simple theme: fix deformed result item
...
Setting ``box-sizing: border-box;`` [1] and ``width`` to fix deformed results
reported in [2].
[1] https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing
[2] https://github.com/searxng/searxng/issues/3892
Closes : #3892
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-12 11:08:44 +02:00
Émilien (perso)
bafb92e646
reword join the searxng community
2024-10-12 11:08:00 +02:00
dependabot[bot]
1b8db63b33
[upd] pypi: Bump pydantic from 2.8.2 to 2.9.2
...
Bumps [pydantic](https://github.com/pydantic/pydantic ) from 2.8.2 to 2.9.2.
- [Release notes](https://github.com/pydantic/pydantic/releases )
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md )
- [Commits](https://github.com/pydantic/pydantic/compare/v2.8.2...v2.9.2 )
---
updated-dependencies:
- dependency-name: pydantic
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-11 18:39:35 +02:00
searxng-bot
5a32ee410b
[l10n] update translations from Weblate
...
83a8d6627
- 2024-10-10 - Outbreak2096 <Outbreak2096@users.noreply.translate.codeberg.org>
c4474a60b
- 2024-10-10 - return42 <return42@users.noreply.translate.codeberg.org>
a632dff03
- 2024-10-09 - bobolau <bobolau@users.noreply.translate.codeberg.org>
e8944e486
- 2024-10-08 - elek <elek@users.noreply.translate.codeberg.org>
2bd9c1229
- 2024-10-07 - AndersNordh <AndersNordh@users.noreply.translate.codeberg.org>
5cb441b60
- 2024-10-07 - return42 <return42@users.noreply.translate.codeberg.org>
aba724c87
- 2024-10-07 - return42 <return42@users.noreply.translate.codeberg.org>
92bea9f03
- 2024-10-08 - Linerly <Linerly@users.noreply.translate.codeberg.org>
f574a3a3f
- 2024-10-08 - ghose <ghose@users.noreply.translate.codeberg.org>
4845ea7e2
- 2024-10-08 - Ricky-Tigg <Ricky-Tigg@users.noreply.translate.codeberg.org>
7d0b4d0d9
- 2024-10-07 - AndersNordh <AndersNordh@users.noreply.translate.codeberg.org>
6431436b2
- 2024-10-07 - AndersNordh <AndersNordh@users.noreply.translate.codeberg.org>
30e671f30
- 2024-10-07 - Fabio_Perri <Fabio_Perri@users.noreply.translate.codeberg.org>
6629d15cb
- 2024-10-07 - AndersNordh <AndersNordh@users.noreply.translate.codeberg.org>
a3b4d53cc
- 2024-10-05 - 0ko <0ko@users.noreply.translate.codeberg.org>
1763b224e
- 2024-10-05 - Atul_Eterno <Atul_Eterno@users.noreply.translate.codeberg.org>
0ea2b49a8
- 2024-10-06 - return42 <return42@users.noreply.translate.codeberg.org>
837324445
- 2024-10-05 - Fjuro <fjuro@alius.cz>
eec53d3b1
- 2024-10-05 - SomeTr <SomeTr@users.noreply.translate.codeberg.org>
4cd76e531
- 2024-10-05 - Priit Jõerüüt <jrtcdbrg@users.noreply.translate.codeberg.org>
2024-10-11 18:33:17 +02:00
Allen
81aaca8f44
[mod] use quad9 dns for connectivity checks when lxc
...
https://www.quad9.net/about/
https://bgp.tools/as/42#whois
2024-10-10 07:05:46 +02:00
Markus Heiser
f1f0dfd231
Revert "[fix] docker: alpine - install apk py3-pydantic-core"
...
This reverts commit 5332d3a0b8
.
2024-10-07 13:18:54 +02:00
Markus Heiser
5332d3a0b8
[fix] docker: alpine - install apk py3-pydantic-core
...
Alpine Linux uses musl libc (instead of glibc). However, there is no pre-build
of the pydantic-core python package for musl lib on armv7. Alternatively this
patch installs py3-pydantic-core from Alpine packages [1]
[1] https://pkgs.alpinelinux.org/package/edge/community/armv7/py3-pydantic-core
- closes: https://github.com/searxng/searxng/issues/3887
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-06 11:59:57 +02:00
Markus Heiser
f00fa76eda
[build] /static
2024-10-05 08:18:28 +02:00
Markus Heiser
a631f77401
[mod] favicons: simplify RTL in template & CSS
...
Comes from a sughgestion in:
- https://github.com/searxng/searxng/pull/3727#issuecomment-2388998803
Suggested-by: Bnyro <bnyro@tutanota.com>
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-05 08:18:28 +02:00
Markus Heiser
a7d02d4101
[doc] documentation of the favicons infrastructure
...
Run ``make docs.live`` and visit http://0.0.0.0:8000/admin/searx.favicons.html
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-05 08:18:28 +02:00
Markus Heiser
5ded9ada82
[mod] UI: add favicon's border- and background color to the definitons
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-05 08:18:28 +02:00
Markus Heiser
7ab577a1fb
[mod] Revision of the favicon solution
...
All favicons implementations have been documented and moved to the Python
package:
searx.favicons
There is a configuration (based on Pydantic) for the favicons and all its
components:
searx.favicons.config
A solution for caching favicons has been implemented:
searx.favicon.cache
If the favicon is already in the cache, the returned URL is a data URL [1]
(something like `data:image/png;base64,...`). By generating a data url from
the FaviconCache, additional HTTP roundtripps via the favicon_proxy are saved:
favicons.proxy.favicon_url
The favicon proxy service now sets a HTTP header "Cache-Control: max-age=...":
favicons.proxy.favicon_proxy
The resolvers now also provide the mime type (data, mime):
searx.favicon.resolvers
[1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-05 08:18:28 +02:00
Markus Heiser
c49a2707c1
[mod] sqlitedb: access to SQLite databases a little more convenient.
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-05 08:18:28 +02:00
Brock Vojkovic
e17d7632d0
[feat] add favicons to result urls
2024-10-05 08:18:28 +02:00
searxng-bot
3e747d0491
[l10n] update translations from Weblate
...
b59b0d937
- 2024-10-04 - ghose <ghose@users.noreply.translate.codeberg.org>
770781548
- 2024-10-04 - return42 <return42@users.noreply.translate.codeberg.org>
0d5f72f8c
- 2024-10-04 - return42 <return42@users.noreply.translate.codeberg.org>
b14fd01b1
- 2024-10-04 - return42 <return42@users.noreply.translate.codeberg.org>
e457a6b1c
- 2024-10-03 - SomeTr <SomeTr@users.noreply.translate.codeberg.org>
328b93af4
- 2024-10-03 - Fjuro <fjuro@alius.cz>
2024-10-04 09:18:26 +02:00
Grant Lanham
44a06190bb
[refactor] unit tests to utilize paramaterized and break down monolithic tests
...
- for tests which perform the same arrange/act/assert pattern but with different
data, the data portion has been moved to the ``paramaterized.expand`` fields
- for monolithic tests which performed multiple arrange/act/asserts,
they have been broken up into different unit tests.
- when possible, change generic assert statements to more concise
asserts (i.e. ``assertIsNone``)
This work ultimately is focused on creating smaller and more concise tests.
While paramaterized may make adding new configurations for existing tests
easier, that is just a beneficial side effect. The main benefit is that smaller
tests are easier to reason about, meaning they are easier to debug when they
start failing. This improves the developer experience in debugging what went
wrong when refactoring the project.
Total number of tests went from 192 -> 259; or, broke apart larger tests into 69
more concise ones.
2024-10-03 13:20:32 +02:00
dependabot[bot]
042c7190e6
[upd] pypi: Bump sphinx-autobuild from 2021.3.14 to 2024.10.3
...
Bumps [sphinx-autobuild](https://github.com/sphinx-doc/sphinx-autobuild ) from 2021.3.14 to 2024.10.3.
- [Release notes](https://github.com/sphinx-doc/sphinx-autobuild/releases )
- [Changelog](https://github.com/sphinx-doc/sphinx-autobuild/blob/main/NEWS.rst )
- [Commits](https://github.com/sphinx-doc/sphinx-autobuild/compare/2021.03.14...2024.10.03 )
---
updated-dependencies:
- dependency-name: sphinx-autobuild
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-03 13:18:03 +02:00
Markus Heiser
2fd6730d4f
[mod] py3.8 EOL / upgrade to actions/setup-python@v5
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-03 13:05:43 +02:00
Markus Heiser
e7a4d7d7c3
[doc] slightly improve documentation of SQL engines
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-03 13:04:06 +02:00
Grant Lanham
2a29e16d25
[feat] implement mariadb engine
2024-10-03 13:04:06 +02:00
Markus Heiser
d48f04e809
[build] /static
2024-10-03 11:05:46 +02:00
Bnyro
421c131707
[refactor] simple theme: *.less - replace hardcoded colors
...
Closes: https://github.com/searxng/searxng/issues/3842
2024-10-03 11:05:46 +02:00
Bnyro
b42ce34ca8
[build] /static
2024-10-03 10:53:17 +02:00
Bnyro
e4b2823abd
[feat] simple theme: pure black theme style
2024-10-03 10:53:17 +02:00
Austin-Olacsi
cbf1e90979
add get_embeded_stream_url to searx.utils
2024-10-03 07:10:53 +02:00
Markus Heiser
f07ab6deb0
[data] update searx.data - update_engine_traits.py
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-09-29 14:29:22 +02:00
0xhtml
0a0fb450b5
[enh] engine: stract - add language/region support
2024-09-29 14:29:22 +02:00
return42
b5009b8610
[data] update searx.data - update_engine_descriptions.py
2024-09-29 13:17:43 +02:00
return42
d6b04d3ba1
[data] update searx.data - update_engine_traits.py
2024-09-29 13:17:06 +02:00
return42
bc6ee05422
[data] update searx.data - update_currencies.py
2024-09-29 13:16:45 +02:00
return42
a4558dda47
[data] update searx.data - update_firefox_version.py
2024-09-29 13:16:25 +02:00
return42
eb31eaaba0
[data] update searx.data - update_ahmia_blacklist.py
2024-09-29 13:15:57 +02:00
return42
609ead9ffe
[data] update searx.data - update_wikidata_units.py
2024-09-29 13:14:53 +02:00
dependabot[bot]
f95a5effcc
[upd] pypi: Bump selenium from 4.24.0 to 4.25.0
...
Bumps [selenium](https://github.com/SeleniumHQ/Selenium ) from 4.24.0 to 4.25.0.
- [Release notes](https://github.com/SeleniumHQ/Selenium/releases )
- [Commits](https://github.com/SeleniumHQ/Selenium/compare/selenium-4.24.0...selenium-4.25.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-09-28 08:50:35 +02:00
searxng-bot
9bae26a106
[l10n] update translations from Weblate
...
7f8a5a94e
- 2024-09-24 - abhabongse <abhabongse@users.noreply.translate.codeberg.org>
d69f2d929
- 2024-09-23 - kratos <kratos@users.noreply.translate.codeberg.org>
f7f0c0f94
- 2024-09-23 - kratos <kratos@users.noreply.translate.codeberg.org>
52bea48dc
- 2024-09-23 - AndersNordh <AndersNordh@users.noreply.translate.codeberg.org>
fe6659955
- 2024-09-22 - tentsbet <tentsbet@users.noreply.translate.codeberg.org>
69a05cbae
- 2024-09-22 - Linerly <Linerly@users.noreply.translate.codeberg.org>
2024-09-28 08:49:10 +02:00
dependabot[bot]
940da05f03
[upd] pypi: Bump linuxdoc from 20240509 to 20240924
...
Bumps [linuxdoc](https://github.com/return42/linuxdoc ) from 20240509 to 20240924.
- [Changelog](https://github.com/return42/linuxdoc/blob/master/CHANGELOG )
- [Commits](https://github.com/return42/linuxdoc/commits )
---
updated-dependencies:
- dependency-name: linuxdoc
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-28 08:38:22 +02:00
Grant Lanham
6a3375be37
[fix] use get accessor to pull desc from bing_images
2024-09-26 07:26:51 +02:00
Zhijie He
6be56aee11
add Cloudflare AI Gateway engine
...
add Cloudflare AI Gateway engine
add settings for Cloudflare AI Gateway engine
set utf8 encode for data, fix non english char cause 500 error
format json data
fixed indentation and config format error
fix line-length limitation in CI
reformatted code for CI
reformatted code for CI
limit system prompts to less 120 chars
cleanup unused variable & format code
2024-09-23 07:02:10 +02:00
Grant Lanham
14241e7dac
Add paramaterized with example of refactor
...
reduce test name size
fix imports
2024-09-22 08:03:02 +02:00
searxng-bot
ea16c82d78
[l10n] update translations from Weblate
...
7174f090f
- 2024-09-15 - MPBDev <MPBDev@users.noreply.translate.codeberg.org>
c7c76552e
- 2024-09-14 - return42 <return42@users.noreply.translate.codeberg.org>
9b9ec6361
- 2024-09-14 - kny5 <kny5@users.noreply.translate.codeberg.org>
af19df705
- 2024-09-14 - return42 <return42@users.noreply.translate.codeberg.org>
cc658f945
- 2024-09-15 - Fjuro <fjuro@alius.cz>
15a59fda5
- 2024-09-14 - return42 <return42@users.noreply.translate.codeberg.org>
2024-09-22 07:32:01 +02:00
dwitterer
915cf9b7af
Update own-instance.rst
...
Implemented the suggested changes.
2024-09-22 07:28:32 +02:00
dwitterer
ba4942ea51
Update own-instance.rst
...
Improved English grammar and punctuation for professionalism.
2024-09-22 07:28:32 +02:00
Markus
0b3724651e
[fix] simple template: drop useless ``aria-labelledby`` attributes
...
This patch removes the ``aria-labelledby`` attributes for which there is no tag
with the corresponding ID.
Reported-by: @glanham-jr https://github.com/searxng/searxng/issues/3793#issuecomment-2351689483
Signed-off-by: Markus <markus@venom.fritz.box>
2024-09-21 15:23:21 +02:00
Markus
5ad0214bd4
[fix] simple template: macro checkbox_onoff_reversed
...
In its previous implementation, the macro ``checkbox_onoff_reversed`` always
created an ``aria-labelledby`` attribute, even if there was no descriptive tag
with the generated ID (used as the value of the ``aria-labelledby``).
Before this patch, the Nu-HTML-Checker [1] reported 255 issues of this type::
The aria-labelledby attribute must point to an element in the same document. (255)
[1] https://validator.w3.org/nu/
Signed-off-by: Markus <markus@venom.fritz.box>
2024-09-21 15:23:21 +02:00
Markus
8b8d830fd3
[fix] simple template: add ID to elements used for aria-labelledby
...
The ``aria-labelledby`` [1] attribute identifies the element that labels the
element it is applied to. The templates ``infinite_scroll.html`` and
``search_on_category_select.html`` define a ``aria-labelledby`` at the <input>
tag but miss the id in the <div> with the description.
[1] https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-labelledby
Signed-off-by: Markus <markus@venom.fritz.box>
2024-09-21 15:23:21 +02:00
Markus
67fcf3cc67
[fix] Removes ``/>`` ending tags for void HTML elements
...
continuation of commit: 0b832f19b
Signed-off-by: Markus <markus@venom.fritz.box>
2024-09-21 15:23:21 +02:00
Markus Heiser
d026486ce3
[fix] scripts: elimination of limitations on dedicated distributions
...
The restriction of shell scripts to certain distributions is only required for
certain actions such as the installation of a SearXNG instance. The maintenance
scripts and build processes were previously also restricted to these specific
distributions. With this patch, the build processes (such as the build of
online documentation) can now also be executed on all Linux distributions.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-09-19 09:35:54 +02:00
Grant Lanham
0b832f19bf
[fix] Removes ``/>`` ending tags for void HTML elements
...
Removes ``/>`` ending tags for void elements [1] and replaces them with ``>``.
Part of the larger cleanup to cleanup invalid HTML throughout the codebase [2].
[1] https://html.spec.whatwg.org/multipage/syntax.html#void-elements
[2] https://github.com/searxng/searxng/issues/3793
2024-09-15 15:19:51 +02:00
Markus
28dc623785
[fix] drop engine alexandria.org
...
The origin alexandria.org is broken:
https://www.alexandria.org/?c=&r=&a=0&q=foo
returns "504 Gateway Time-out"
- Closes: https://github.com/searxng/searxng/issues/3786
Signed-off-by: Markus <markus@venom.fritz.box>
2024-09-15 14:45:48 +02:00
Markus
3630e464b3
[fix] drop engine gpodder
...
gpodder is ultra slow on search terms like foo
https://gpodder.net/search.json?q=foo
takes up to a minute to return an empty json response.
- Closes: https://github.com/searxng/searxng/issues/3785
Signed-off-by: Markus <markus@venom.fritz.box>
2024-09-15 14:45:38 +02:00
Markus
d3a795c7e7
[fix] engine: qwant - detect captchaUrl and raise SearxEngineCaptchaException
...
So far a CAPTCHA was not recognized in the response of the qwant engine and a
SearxEngineAPIException was raised by mistake. With this patch a CAPTCHA
redirect is recognized and the correct SearxEngineCaptchaException is raised.
Closes: https://github.com/searxng/searxng/issues/3806
Signed-off-by: Markus <markus@venom.fritz.box>
2024-09-15 14:45:23 +02:00
Markus
55e2f4a97f
[data] update searx.data - update_engine_traits.py
2024-09-15 12:48:35 +02:00
Markus
cdb4927b8b
[fix] fetch_traits: brave, google, annas_archive & radio_browser
...
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 12:48:35 +02:00
Bnyro
84e2f9d46a
[feat] gitlab: implement dedicated module
...
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-09-15 08:04:21 +02:00
searxng-bot
231e55f38d
[l10n] update translations from Weblate
...
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 15:23:49 +02:00
Bnyro
33c1236923
[fix] search: crash when no engines are used to search
2024-09-14 11:13:53 +02:00
Finn Steffens
9e2bfe14db
[feat] engine: add right dao
...
* [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 17:51:47 +02:00
Lucas Schwiderski
f05566d925
[fix] json_engine: Fix result fields being mixed up
...
Fixes #3810 .
2024-09-12 10:47:08 +02:00
0xhtml
c45870dd71
[fix] yep engine: remove links to other engines
...
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-12 00:04:04 +02:00
searxng-bot
5cca3f6ef2
[l10n] update translations from Weblate
...
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 11:04:20 +02:00
dependabot[bot]
d2f36cacb3
[upd] pypi: Bump pylint from 3.2.6 to 3.2.7
...
Bumps [pylint](https://github.com/pylint-dev/pylint ) from 3.2.6 to 3.2.7.
- [Release notes](https://github.com/pylint-dev/pylint/releases )
- [Commits](https://github.com/pylint-dev/pylint/compare/v3.2.6...v3.2.7 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-06 11:03:27 +02:00
dependabot[bot]
153a28ccd6
[upd] pypi: Bump wlc from 1.14 to 1.15
...
Bumps [wlc](https://github.com/WeblateOrg/wlc ) from 1.14 to 1.15.
- [Changelog](https://github.com/WeblateOrg/wlc/blob/main/CHANGES.rst )
- [Commits](https://github.com/WeblateOrg/wlc/compare/1.14...1.15 )
---
updated-dependencies:
- dependency-name: wlc
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-06 11:03:08 +02:00
Markus Heiser
9eda4044be
[fix] bilibili engine - ValueError in duration & HTML in title
...
- 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-06 07:13:47 +02:00
Markus
21bfb4996e
[fix] engine yahoo: HTML tags are included in result titles
...
- https://github.com/searxng/searxng/issues/3790
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-09-03 22:26:59 +02:00
Bnyro
94a1f39bde
[engine] bahnhof.de: remove engine
2024-09-03 18:52:54 +02:00
Markus Heiser
b774ee04ba
[mod] enable calculator and allow plugin on public instances
...
Remove quirks that prevented the Calculator from being used on public instances.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-09-03 18:36:28 +02:00
Markus Heiser
3a3ff8f020
[mod] hardening "calculator plugin" / limit execution time to 50 ms
...
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 18:36:28 +02:00
Bnyro
7d9d5186a0
[build] /static
...
Co-authored-by: GenericMale <genericmale00@gmail.com>
2024-09-03 17:49:33 +02:00
GenericMale
e65edb141d
[feat] results: show response times
2024-09-03 17:49:33 +02:00
Brock Vojkovic
b09aa7e360
[fix] correct typo in API_WONDOW to API_WINDOW
2024-09-01 08:37:24 +02:00
Bnyro
5e576b2238
[fix] search: titles including html brackets are not shown properly
2024-08-31 17:11:49 +02:00
dependabot[bot]
cbd86473aa
[upd] pypi: Bump certifi from 2024.7.4 to 2024.8.30
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2024.7.4 to 2024.8.30.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.07.04...2024.08.30 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-31 09:50:52 +02:00
dependabot[bot]
769b2ed030
[upd] pypi: Bump selenium from 4.23.1 to 4.24.0
...
Bumps [selenium](https://github.com/SeleniumHQ/Selenium ) from 4.23.1 to 4.24.0.
- [Release notes](https://github.com/SeleniumHQ/Selenium/releases )
- [Commits](https://github.com/SeleniumHQ/Selenium/commits/selenium-4.24.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-08-31 09:50:34 +02:00
Alexander Sulfrian
e86c96974d
[fix] self_info: request.user_agent is not a str
...
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 11:29:34 +02:00
searxng-bot
b05e285384
[l10n] update translations from Weblate
...
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 10:05:24 +02:00
Alexander Sulfrian
6a7b1a1a57
[fix] Do not show DDG user-agent from zero click
...
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:
0fb3f0e4ae
2024-08-30 09:02:37 +02:00
return42
526428a69b
[data] update searx.data - update_ahmia_blacklist.py
2024-08-29 17:49:14 +02:00
return42
d6ee8f38dd
[data] update searx.data - update_wikidata_units.py
2024-08-29 17:48:59 +02:00
return42
d72fbcfd46
[data] update searx.data - update_firefox_version.py
2024-08-29 17:48:25 +02:00
return42
f44775c05a
[data] update searx.data - update_engine_descriptions.py
2024-08-29 17:48:09 +02:00
return42
71451e5770
[data] update searx.data - update_currencies.py
2024-08-29 17:47:47 +02:00
GenericMale
8289436e55
[fix] search: don't show categories without active engine
2024-08-28 14:27:03 +02:00
searxng-bot
4f7dd05d99
[l10n] update translations from Weblate
...
1b63de5ca
- 2024-08-21 - ghose <ghose@users.noreply.translate.codeberg.org>
7c738125f
- 2024-08-20 - crnobog <crnobog@users.noreply.translate.codeberg.org>
2024-08-23 12:21:02 +02:00
Dennis ten Hoove
2033f30c8d
[docs] improve Hostname plugin documentation
2024-08-21 14:28:04 +02:00
Markus Heiser
fe6bac5a08
[fix] pip install -e: legacy editable install (setup.py develop) is deprecated
...
From [1]: There is now a standardized mechanism [2] for an installer like pip to
request an editable install of a project. pip is transitioning to using this
standard only instead of invoking the deprecated `setup.py develop` command.
For backward compatibility, we can use switches:
--use-pep517
https://pip.pypa.io/en/stable/cli/pip_install/#cmdoption-use-pep517
--no-build-isolation
https://pip.pypa.io/en/stable/cli/pip_install/#cmdoption-no-build-isolation
- [1] https://github.com/pypa/pip/issues/11457
- [2] https://peps.python.org/pep-0660/
Closes: https://github.com/searxng/searxng/issues/3701
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-08-21 12:09:14 +02:00
Austin-Olacsi
e45b771ffa
[feat] engine: implementation of yandex (web, images)
...
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-21 12:08:35 +02:00
Grant Lanham
5276219b9d
Fix tineye engine url, datetime parsing, and minor refactor
...
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-21 08:41:53 +02:00
Markus Heiser
5be55e3309
[fix] unit tests: fix load / unload engines & fix messages
...
- https://github.com/searxng/searxng/pull/3746#issuecomment-2300965005
- https://github.com/searxng/searxng/issues/2988#issuecomment-2226929084
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-08-21 08:28:13 +02:00
Markus Heiser
5c6b126d7f
[fix] debian/ubuntu python-is-python3
...
Closes: https://github.com/searxng/searxng/issues/3235
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-08-20 20:20:50 +02:00
Markus Heiser
799d72e3fd
[mod] add French translation for infopage
...
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-20 07:25:39 +02:00
searxng-bot
c0369ee488
[l10n] update translations from Weblate
...
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-16 10:39:17 +02:00
dependabot[bot]
29056b9ddd
[upd] pypi: Bump uvloop from 0.19.0 to 0.20.0
...
Bumps [uvloop](https://github.com/MagicStack/uvloop ) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/MagicStack/uvloop/releases )
- [Commits](https://github.com/MagicStack/uvloop/compare/v0.19.0...v0.20.0 )
---
updated-dependencies:
- dependency-name: uvloop
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-16 10:37:51 +02:00
dependabot[bot]
326ade8634
[upd] pypi: Bump lxml from 5.2.2 to 5.3.0
...
Bumps [lxml](https://github.com/lxml/lxml ) from 5.2.2 to 5.3.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.2.2...lxml-5.3.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-08-16 10:35:51 +02:00
Markus Heiser
8d14d46c00
[build] /static
2024-08-15 18:58:28 +02:00
Markus Heiser
45f03f1902
[fix] search box: clear button don't appear on mouse-copy
...
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-15 18:58:28 +02:00
Fmstrat
8e985aea88
update to gecko driver v35
2024-08-15 08:32:23 +02:00
searxng-bot
f1c05e7c16
[l10n] update translations from Weblate
2024-08-09 09:50:24 +02:00
dependabot[bot]
fec8ab75e1
[upd] pypi: Bump pyyaml from 6.0.1 to 6.0.2
...
Bumps [pyyaml](https://github.com/yaml/pyyaml ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/yaml/pyyaml/releases )
- [Changelog](https://github.com/yaml/pyyaml/blob/main/CHANGES )
- [Commits](https://github.com/yaml/pyyaml/compare/6.0.1...6.0.2 )
---
updated-dependencies:
- dependency-name: pyyaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-09 09:49:51 +02:00
dependabot[bot]
516ac8da82
[upd] pypi: Bump babel from 2.15.0 to 2.16.0
...
Bumps [babel](https://github.com/python-babel/babel ) from 2.15.0 to 2.16.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.15.0...v2.16.0 )
---
updated-dependencies:
- dependency-name: babel
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-09 09:49:21 +02:00
Markus Heiser
dcf95644c6
[breaking change] drop deprecated hostname_replace plugin
...
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 f5eb56b63f
.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-08-08 11:58:32 +02:00
0xhtml
0cfed94b08
[fix] engine google: use extract_text everywhere
2024-08-08 09:59:45 +02:00
0xhtml
7f9ce3b96e
[fix] engine google: strip bubble text from answers
...
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-08 09:59:45 +02:00
return42
e76a4f72ef
[data] update searx.data - update_external_bangs.py
2024-08-02 10:55:07 +02:00
dependabot[bot]
c151683a0b
[upd] pypi: Bump redis from 5.0.7 to 5.0.8
...
Bumps [redis](https://github.com/redis/redis-py ) from 5.0.7 to 5.0.8.
- [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.7...v5.0.8 )
---
updated-dependencies:
- dependency-name: redis
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-02 10:54:37 +02:00
dependabot[bot]
01a3d8d9e4
[upd] pypi: Bump sphinx-notfound-page from 1.0.2 to 1.0.4
...
Bumps [sphinx-notfound-page](https://github.com/readthedocs/sphinx-notfound-page ) from 1.0.2 to 1.0.4.
- [Changelog](https://github.com/readthedocs/sphinx-notfound-page/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/readthedocs/sphinx-notfound-page/compare/1.0.2...1.0.4 )
---
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-08-02 10:54:01 +02:00
searxng-bot
2f1f54f113
[l10n] update translations from Weblate
...
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-08-02 10:53:04 +02:00
Markus Heiser
98c73010f1
[data] update searx.data - update_engine_traits.py
...
$ 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 10:28:53 +02:00
Markus Heiser
edfd0e2fe5
[fix] brave fetch_traits: Brave added Chinese (zh-hant) to UI
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-07-29 10:28:53 +02:00
return42
3196e7e86b
[data] update searx.data - update_currencies.py
2024-07-29 07:02:52 +02:00
return42
7d47c961c3
[data] update searx.data - update_engine_descriptions.py
2024-07-29 07:01:39 +02:00
return42
ac51c77c33
[data] update searx.data - update_wikidata_units.py
2024-07-29 07:01:01 +02:00
return42
5cba412784
[data] update searx.data - update_ahmia_blacklist.py
2024-07-29 07:00:14 +02:00
return42
fff7792e32
[data] update searx.data - update_firefox_version.py
2024-07-29 07:00:00 +02:00
Markus Heiser
ee959ed9fc
[fix] engine geizhals: if there are no offers, there is no best price
...
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 19:00:51 +02:00
Markus Heiser
022898e502
[fix] fix issues in the language menue introduced by PR #3645
...
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 10:46:11 +02:00
Austin-Olacsi
9f47bdefc6
[feat] engine: implementation of encyclosearch
2024-07-28 10:45:51 +02:00
Markus Heiser
d7bb97b616
[fix] engine yacy images: increase timout from 3 to 5sec
...
Its a leftover from 657dcb97
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-07-27 17:54:41 +02:00
Bnyro
9bbcd37138
[docs] engine_overview.rst: add length and views parameter to videos template
2024-07-27 11:49:58 +02:00
Bnyro
80226ad6b7
[build] /static
2024-07-27 11:49:58 +02:00
Bnyro
304ddd8114
[feat] videos template: support for view count
2024-07-27 11:49:58 +02:00
Markus Heiser
3f22dbb68a
[fix] products template: don't quote html tags in result.content
...
The result.content field is *safe* HTML, tags to highlight search terms are
intended.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-07-27 11:46:25 +02:00
Bnyro
84abab0808
[feat] engine: implementation of geizhals.de
2024-07-27 11:46:25 +02:00
dependabot[bot]
8e359eb8ed
[upd] pypi: Bump sphinx from 7.3.7 to 7.4.7
...
Bumps [sphinx](https://github.com/sphinx-doc/sphinx ) from 7.3.7 to 7.4.7.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases )
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst )
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v7.3.7...v7.4.7 )
---
updated-dependencies:
- dependency-name: sphinx
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-27 10:13:57 +02:00
Markus Heiser
e31b06b686
[fix] remove unused code / `_STORAGE_UNIT_VALUE`
...
The `_STORAGE_UNIT_VALUE` dictionary is a left over from:
- https://github.com/searxng/searxng/pull/3570
in this PR we removed the old implementations but forgot to delete this
`_STORAGE_UNIT_VALUE`.
Closes: https://github.com/searxng/searxng/pull/3672
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-07-27 10:13:15 +02:00
Sylvain Cau
b9ddd59c5b
[enh] Add API Key support for discourse.org forums
2024-07-27 09:21:40 +02:00
dependabot[bot]
dde94751d6
[upd] pypi: Bump selenium from 4.23.0 to 4.23.1
...
Bumps [selenium](https://github.com/SeleniumHQ/Selenium ) from 4.23.0 to 4.23.1.
- [Release notes](https://github.com/SeleniumHQ/Selenium/releases )
- [Commits](https://github.com/SeleniumHQ/Selenium/commits )
---
updated-dependencies:
- dependency-name: selenium
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-27 09:15:02 +02:00
dependabot[bot]
07a0135a92
[upd] pypi: Bump pylint from 3.2.5 to 3.2.6
...
Bumps [pylint](https://github.com/pylint-dev/pylint ) from 3.2.5 to 3.2.6.
- [Release notes](https://github.com/pylint-dev/pylint/releases )
- [Commits](https://github.com/pylint-dev/pylint/compare/v3.2.5...v3.2.6 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-27 09:14:44 +02:00
Ivan Gabaldon
26b66dd3be
[fix] everything is logged with "priority 3" on journal
...
Closes: https://github.com/searxng/searxng/issues/3649
2024-07-27 09:11:49 +02:00
searxng-bot
319afe031e
[l10n] update translations from Weblate
...
2b14808d4
- 2024-07-26 - pdwalker <pdwalker@users.noreply.translate.codeberg.org>
2024-07-26 09:15:40 +02:00
Markus Heiser
657dcb973a
[fix] engine yacy: update list of base URLs
...
https://search.lomig.me
Poor results / tested `!yacy :en hello` and got zero results
https://yacy.ecosys.eu
Slow response (> 6sec for trivial search terms)
https://search.webproject.link
Dead instance / URL offline
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-07-20 09:59:43 +02:00
dependabot[bot]
b0aa6fe8a5
[upd] pypi: Bump selenium from 4.22.0 to 4.23.0
...
Bumps [selenium](https://github.com/SeleniumHQ/Selenium ) from 4.22.0 to 4.23.0.
- [Release notes](https://github.com/SeleniumHQ/Selenium/releases )
- [Commits](https://github.com/SeleniumHQ/Selenium/compare/selenium-4.22.0...selenium-4.23.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-07-20 07:54:21 +02:00
searxng-bot
ffde256364
[l10n] update translations from Weblate
...
94bacfa68
- 2024-07-19 - wazhanudin <wazhanudin@users.noreply.translate.codeberg.org>
360fa8b30
- 2024-07-19 - return42 <return42@users.noreply.translate.codeberg.org>
b378bf462
- 2024-07-12 - return42 <return42@users.noreply.translate.codeberg.org>
8110ad613
- 2024-07-12 - return42 <return42@users.noreply.translate.codeberg.org>
2024-07-19 09:16:10 +02:00
Grant Lanham
9a4fa7cc4f
Update mullvad_leta.py to account for img_elem
...
A recent update from Mullvad Leta introduced the img_elem. This update
broke the existing logic. Now, by checking the length of the dom_result
to see if it was included in the return results, we can handle the logic
accordingly.
2024-07-15 06:58:39 +02:00
Markus Heiser
2039060b64
[mod] revision of the settings_loader
...
The intention of this PR is to modernize the settings_loader implementations.
The concept is old (remember, this is partly from 2014), back then we only had
one config file, meanwhile we have had a folder with config files for a very
long time. Callers can now load a YAML configuration from this folder as
follows ::
settings_loader.get_yaml_cfg('my-config.yml')
- BTW this is a fix of #3557 .
- Further the `existing_filename_or_none` construct dates back to times when
there was not yet a `pathlib.Path` in all Python versions we supported in the
past.
- Typehints have been added wherever appropriate
At the same time, this patch should also be downward compatible and not
introduce a new environment variable. The localization of the folder with the
configurations is further based on:
SEARXNG_SETTINGS_PATH (wich defaults to /etc/searxng/settings.yml)
Which means, the default config folder is `/etc/searxng/`.
ATTENTION: intended functional changes!
If SEARXNG_SETTINGS_PATH was set and pointed to a not existing file, the
previous implementation silently loaded the default configuration. This
behavior has been changed: if the file or folder does not exist, an
EnvironmentError exception will be thrown in future.
Closes: https://github.com/searxng/searxng/issues/3557
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-07-14 18:10:06 +02:00
Bnyro
e4da22ee51
[feat] engine: implementation of alpine linux packages
...
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-07-14 17:57:58 +02:00
Grant Lanham
e56f4b315f
[mod] UX: flush flag icon to right in language select option values
...
If the flag icon is first, it prevents easily searching the select list on the
keyboard. By moving the icon fully to the right, this will enable a user to
search the select list.
Closes: https://github.com/searxng/searxng/issues/3645
2024-07-14 16:39:50 +02:00
Alexandre Flament
37d0438f25
Dockerfile: use Alpine 3.20 & Python 3.12
2024-07-14 16:38:30 +02:00
Allen
5468d97d39
[mod] remove py 3.6 leftovers
2024-07-13 17:20:50 +02:00
Markus Heiser
37ec668ae1
[build] /static
2024-07-13 17:19:59 +02:00
Markus Heiser
d0bad45d21
[fix] simple theme: in URLs don't truncate descenders (typograhy, FFox)
...
HINT: this is a workaround to fix a rendering bug in FFox-Desktop [3]
Descenders [1] in the URL are truncated, caused by the `overflow: hidden;`
because part of link overflow the flex box [2].
[1] https://en.wikipedia.org/wiki/Descender
[2] https://github.com/searxng/searxng/issues/3550
[3] https://github.com/searxng/searxng/pull/3592#issuecomment-2186313121
Closes: https://github.com/searxng/searxng/issues/3550
Suggested-by: @coxde
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-07-13 17:19:59 +02:00
searxng-bot
d5487a157d
[l10n] update translations from Weblate
...
cecd9182a
- 2024-07-11 - ds451 <ds451@users.noreply.translate.codeberg.org>
8e9bf64ae
- 2024-07-10 - wazhanudin <wazhanudin@users.noreply.translate.codeberg.org>
82e209f2d
- 2024-07-08 - notlmutsaers <notlmutsaers@users.noreply.translate.codeberg.org>
428204a2f
- 2024-07-08 - alexgabi <alexgabi@users.noreply.translate.codeberg.org>
4dd16510d
- 2024-07-08 - notlmutsaers <notlmutsaers@users.noreply.translate.codeberg.org>
fb5015db9
- 2024-07-08 - notlmutsaers <notlmutsaers@users.noreply.translate.codeberg.org>
686800ded
- 2024-07-08 - louispires <louispires@users.noreply.translate.codeberg.org>
7fc33af6d
- 2024-07-05 - wags07 <wags07@users.noreply.translate.codeberg.org>
cbab31eae
- 2024-07-06 - jonkke9 <jonkke9@users.noreply.translate.codeberg.org>
2024-07-13 17:18:16 +02:00
Markus Heiser
a3500c1efc
[fix] tear down TEST_ENGINES after TestBang is proceeded
...
Engines are loaded into global name `searx.engines.engines` other applications
such as statistics or the histogram use this global variable to search for
values in their own memories, which can lead to key errors as described in
- https://github.com/searxng/searxng/issues/2988
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Closes: https://github.com/searxng/searxng/issues/2988
2024-07-13 17:13:41 +02:00
Grant Lanham
ef103ba80a
Implement google/brave switch in Mullvad Leta
...
cleanup
Import annontations
2024-07-07 08:08:11 +02:00
dependabot[bot]
c835f920ed
[upd] pypi: Bump certifi from 2024.6.2 to 2024.7.4
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2024.6.2 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.06.02...2024.07.04 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-05 10:44:19 +02:00
dependabot[bot]
779565497c
[upd] pypi: Bump pylint from 3.2.3 to 3.2.5
...
Bumps [pylint](https://github.com/pylint-dev/pylint ) from 3.2.3 to 3.2.5.
- [Release notes](https://github.com/pylint-dev/pylint/releases )
- [Commits](https://github.com/pylint-dev/pylint/compare/v3.2.3...v3.2.5 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-05 10:24:18 +02:00
searxng-bot
67008226fc
[l10n] update translations from Weblate
...
1f7de30a2
- 2024-07-04 - Jeex <Jeex@users.noreply.translate.codeberg.org>
5d34f39a9
- 2024-07-04 - return42 <return42@users.noreply.translate.codeberg.org>
930a817f1
- 2024-07-04 - return42 <return42@users.noreply.translate.codeberg.org>
53936f24d
- 2024-07-03 - return42 <return42@users.noreply.translate.codeberg.org>
3fcf83c92
- 2024-07-02 - rodgui <rodgui@users.noreply.translate.codeberg.org>
19b2f9ac4
- 2024-07-03 - seonghobae <seonghobae@users.noreply.translate.codeberg.org>
07ef05dbe
- 2024-06-30 - return42 <return42@users.noreply.translate.codeberg.org>
23f2ef2cf
- 2024-06-29 - geekom13 <geekom13@users.noreply.translate.codeberg.org>
2024-07-05 09:30:13 +02:00
Bnyro
4eaa0dd275
[fix] gentoo: use mediawiki engine
2024-07-03 10:24:03 +02:00
Allen
54be8f09a6
[fix] html.unescape stract autocomplete suggestions
2024-07-02 18:16:46 +02:00
Thomas Renard
39aaac40d6
[mod] libretranslate: add direct link to translation (engine)
2024-06-30 16:18:33 +02:00
return42
adaec68728
[data] update searx.data - update_wikidata_units.py
2024-06-29 07:20:59 +02:00
return42
47ffa711d2
[data] update searx.data - update_ahmia_blacklist.py
2024-06-29 07:10:59 +02:00
return42
c7d1f4278d
[data] update searx.data - update_firefox_version.py
2024-06-29 07:09:16 +02:00
return42
985c8b0bce
[data] update searx.data - update_engine_traits.py
2024-06-29 07:08:55 +02:00
return42
7200640055
[data] update searx.data - update_engine_descriptions.py
2024-06-29 07:07:32 +02:00
searxng-bot
46b9273352
[l10n] update translations from Weblate
...
4fc3ba360
- 2024-06-27 - Kita Ikuyo <searinminecraft@courvix.com>
15a6fae2f
- 2024-06-26 - artnay <artnay@users.noreply.translate.codeberg.org>
2cb08843e
- 2024-06-27 - MonsoonRain <MonsoonRain@users.noreply.translate.codeberg.org>
794c9db02
- 2024-06-25 - return42 <return42@users.noreply.translate.codeberg.org>
8edf87498
- 2024-06-25 - Linerly <Linerly@users.noreply.translate.codeberg.org>
bc97997b5
- 2024-06-26 - LIGMATV <LIGMATV@users.noreply.translate.codeberg.org>
d8620edb1
- 2024-06-24 - ahmetax <ahmetax@users.noreply.translate.codeberg.org>
7d8d6580e
- 2024-06-25 - gvlx <gvlx@users.noreply.translate.codeberg.org>
57f8e9bde
- 2024-06-25 - return42 <return42@users.noreply.translate.codeberg.org>
7364acbe4
- 2024-06-25 - eddywidjaja <eddywidjaja@users.noreply.translate.codeberg.org>
9f6ddc2b5
- 2024-06-24 - return42 <return42@users.noreply.translate.codeberg.org>
a64f2e708
- 2024-06-21 - PeterDaveHello <PeterDaveHello@users.noreply.translate.codeberg.org>
cc195d7ad
- 2024-06-21 - nish_j <nish_j@users.noreply.translate.codeberg.org>
87d2e16d5
- 2024-06-22 - tentsbet <tentsbet@users.noreply.translate.codeberg.org>
2c73400eb
- 2024-06-22 - return42 <return42@users.noreply.translate.codeberg.org>
a467cf8af
- 2024-06-21 - Fjuro <fjuro@alius.cz>
2024-06-28 09:46:44 +02:00
dependabot[bot]
6801f1a6cb
[upd] pypi: Bump redis from 5.0.6 to 5.0.7
...
Bumps [redis](https://github.com/redis/redis-py ) from 5.0.6 to 5.0.7.
- [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.6...v5.0.7 )
---
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-28 09:46:20 +02:00
Markus Heiser
d80fcbc635
[fix] unit test_xpath.py: name 'logger' is not defined
...
Depending on the order in which the unit tests are executed, the python modules
of the engines are initialized (monkey patched) or not. As the order of the
tests is not static, random errors may occur.
To avaoid random `NameError: name 'logger' is not defined` in the unit tests of
the xpath engine, a logger is monkey patched into the xpath py-module.
```
make test.unit
TEST tests/unit
......EE...................
======================================================================
ERROR: test_response (tests.unit.engines.test_xpath.TestXpathEngine.test_response)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./tests/unit/engines/test_xpath.py", line 60, in test_response
self.assertEqual(xpath.response(response), [])
^^^^^^^^^^^^^^^^^^^^^^^^
File "./searx/engines/xpath.py", line 309, in response
logger.debug("found %s results", len(results))
^^^^^^
NameError: name 'logger' is not defined
======================================================================
ERROR: test_response_results_xpath (tests.unit.engines.test_xpath.TestXpathEngine.test_response_results_xpath)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./tests/unit/engines/test_xpath.py", line 102, in test_response_results_xpath
self.assertEqual(xpath.response(response), [])
^^^^^^^^^^^^^^^^^^^^^^^^
File "./searx/engines/xpath.py", line 309, in response
logger.debug("found %s results", len(results))
^^^^^^
NameError: name 'logger' is not defined
```
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-28 08:54:19 +02:00
Markus Heiser
a5f8e0899c
[fix] disable Reddit engine by default
...
Reddit is enabled by default .. many bot request will go through Reddit .. we
should disable Reddit by default to cool down the IP [1].
[1] https://github.com/searxng/searxng/issues/3444#issuecomment-2180415057
Closes: https://github.com/searxng/searxng/issues/3444
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-28 08:48:52 +02:00
Christian Clauss
837f3bcd10
GitHub Actions: Upgrade data-update.yml infrastructure
2024-06-25 15:26:05 +02:00
Markus Heiser
1449824165
[data] update searx.data - update_engine_traits.py
...
$ make data.traits
Last GH action has been failed [1], the bugfixes from
- https://github.com/searxng/searxng/pull/3611
- https://github.com/searxng/searxng/pull/3612
were necessary to update the data.
[1] https://github.com/searxng/searxng/actions/runs/9278028691/job/25528337485
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-25 15:20:51 +02:00
Markus Heiser
0f9926b89a
[fix] brave fetch_traits: layout of the settings page has changed
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-25 15:08:18 +02:00
Markus Heiser
39ffec87b7
[fix] engine zlibrary: handle seized domain
...
The domains of zlibrary instances are known to be seized from time to time.
This leads to problems when, for example, the automated tasks try to update the
engine traits (aka fetch_traits). The search function should also generate a
suitable error message (currently either SSL errors or empty result lists are
returned). [1]
[1] https://github.com/searxng/searxng/issues/3610
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-25 14:40:19 +02:00
Markus Heiser
b8fa4d6195
[fix] bing news results return invalid images
...
Closes: https://github.com/searxng/searxng/issues/3502
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-25 11:12:41 +02:00
Grant Lanham
9a9ca307fe
[fix] implement tests and remove usage of gen_useragent in engines
2024-06-23 11:51:41 +02:00
Richard Lyons
1f908a6222
[fix] engine unit tests.
...
Enables unit tests in the engines directory by adding __init__.py, and fixups
for the enabled tests.
2024-06-23 09:24:05 +02:00
dependabot[bot]
f6f622f7e5
[upd] pypi: Bump selenium from 4.21.0 to 4.22.0
...
Bumps [selenium](https://github.com/SeleniumHQ/Selenium ) from 4.21.0 to 4.22.0.
- [Release notes](https://github.com/SeleniumHQ/Selenium/releases )
- [Commits](https://github.com/SeleniumHQ/Selenium/compare/selenium-4.21.0...selenium-4.22.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-06-21 12:28:32 +02:00
searxng-bot
7f72c48b59
[l10n] update translations from Weblate
...
3e3c194e8
- 2024-06-20 - Vulcain <Vulcain@users.noreply.translate.codeberg.org>
0ffab2bcb
- 2024-06-19 - LunarCat93 <LunarCat93@users.noreply.translate.codeberg.org>
36809a19a
- 2024-06-19 - return42 <return42@users.noreply.translate.codeberg.org>
a97aff39a
- 2024-06-19 - MonsoonRain <MonsoonRain@users.noreply.translate.codeberg.org>
5d7cbca43
- 2024-06-17 - SomeTr <SomeTr@users.noreply.translate.codeberg.org>
ada44ff85
- 2024-06-17 - Xvnov <Xvnov@users.noreply.translate.codeberg.org>
2f398eb58
- 2024-06-18 - tiziodcaio <tiziodcaio@users.noreply.translate.codeberg.org>
11fde5415
- 2024-06-18 - ghose <ghose@users.noreply.translate.codeberg.org>
7de1d0c22
- 2024-06-18 - return42 <return42@users.noreply.translate.codeberg.org>
eeb9500b8
- 2024-06-18 - return42 <return42@users.noreply.translate.codeberg.org>
2024-06-21 12:16:35 +02:00
Richard Lyons
f195d98bfb
Fix search_url building.
2024-06-20 06:30:00 +02:00
Markus Heiser
acf3f109b2
[doc] hostname plugin: improve online documentation
...
The data types (list & map) should be made clearer, as these sometimes lead to
misunderstandings.
[1] https://github.com/searxng/searxng/issues/3558#issuecomment-2175058128
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-18 12:06:06 +02:00
Sandro Jäckel
accc1c1032
[fix] setup.py - packaging for 'answerers' to build a valid package
...
Fix installing answerers when installing SearXNG through a wheel [1]. These
files have been missed in commit d72fa99b
.
Here is what have been tested:
$ make clean py.build
...
$ python -m venv test123
$ . ./test123/bin/activate
(test123) $ pip install dist/searxng-2024*-py3-none-any.whl
(test123) $ SEARXNG_DEBUG=1 searxng-run
[1] https://github.com/searxng/searxng/pull/3045#issuecomment-1961767861
2024-06-17 15:07:07 +02:00
Jeff Alyanak
efd69c4ca9
[feat] plugin Self Information: improve keyword matching
...
This change does the following things:
- the `ip` keyword is now case-insensitive
- if the query includes `my ip` it will now also match
In order to avoid too many false matches, the `ip` keyword alone matches only if
it's the _only_ word, but the inclusion of `my` loosens that to be inclusive of
users type a phrase (eg, "what is my ip", "tell me my ip", "my IP address",
etc).
Better answer context
Previously this plugin simply dumped your IP or user-agent string as an answer.
This tiny change just adds some text to contextualize those answers (eg, "Your
IP is: 1.2.3.4" instead of just "1.2.3.4").
2024-06-17 14:12:37 +02:00
Allen
13eec44b65
[fix] \!goi irrelevant results AND display more results
2024-06-16 16:45:03 +02:00
Bnyro
e9f8412a6e
[perf] torrents.html, files.html: don't parse and re-format filesize
2024-06-15 15:42:29 +02:00
dependabot[bot]
16ce5612dd
[upd] pypi: Bump redis from 5.0.5 to 5.0.6
...
Bumps [redis](https://github.com/redis/redis-py ) from 5.0.5 to 5.0.6.
- [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.5...v5.0.6 )
---
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-15 11:36:57 +02:00
Bnyro
df15c21b35
[feat] mozhi: fix crash, support synonyms and definition
2024-06-15 11:33:09 +02:00
Bnyro
1fe13d0ba4
[refactor] duckduckgo: use extr helper function in get_vqd
2024-06-15 11:24:05 +02:00
holysoles
7be468d213
[feat] docker: add env vars for common public instance settings
2024-06-14 14:58:02 +02:00
searxng-bot
63b7d558b6
[l10n] update translations from Weblate
...
351fcdf8d
- 2024-06-14 - return42 <return42@users.noreply.translate.codeberg.org>
4ab6400d8
- 2024-06-13 - Xvnov <Xvnov@users.noreply.translate.codeberg.org>
8f1bb9a0c
- 2024-06-14 - return42 <return42@users.noreply.translate.codeberg.org>
fa147559d
- 2024-06-12 - MVDW-Java <MVDW-Java@users.noreply.translate.codeberg.org>
3beab11c3
- 2024-06-11 - return42 <return42@users.noreply.translate.codeberg.org>
52f450636
- 2024-06-11 - mukmckenzie <mukmckenzie@users.noreply.translate.codeberg.org>
c61f2cb8b
- 2024-06-11 - tentsbet <tentsbet@users.noreply.translate.codeberg.org>
7c74be3d3
- 2024-06-10 - nebras <nebras@users.noreply.translate.codeberg.org>
b5aace1de
- 2024-06-07 - SomeTr <SomeTr@users.noreply.translate.codeberg.org>
fc187ae6e
- 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org>
cf3a8d3f5
- 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org>
bfc316b9d
- 2024-06-07 - diodio <diodio@users.noreply.translate.codeberg.org>
a27e1586d
- 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org>
6bd0bf14d
- 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org>
9b2b3aa36
- 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org>
41716759a
- 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org>
08c9fef67
- 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org>
dd2555fe2
- 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org>
e69dc5dc6
- 2024-06-07 - ganoci <ganoci@users.noreply.translate.codeberg.org>
a3503130d
- 2024-06-08 - ghose <ghose@users.noreply.translate.codeberg.org>
a2a2f0725
- 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org>
35b9d1be7
- 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org>
d53560df2
- 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org>
58c3c041f
- 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org>
d7847aa9d
- 2024-06-07 - EifionLlwyd <EifionLlwyd@users.noreply.translate.codeberg.org>
3a114bf44
- 2024-06-07 - Fjuro <fjuro@alius.cz>
1f2fc0ff2
- 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org>
17a78625f
- 2024-06-07 - return42 <return42@users.noreply.translate.codeberg.org>
6e8bdfd99
- 2024-06-07 - diodio <diodio@users.noreply.translate.codeberg.org>
2024-06-14 09:27:29 +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
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
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
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
Markus Heiser
949a73103f
[mod] hex engine: normalize (some of) the linked terms
...
The names of the links are rather tags than real names, and they sometimes vary
greatly in their spelling:
- GitHub: github, Github
- Source code: Repository, SCM, Project Source Code
- Documentation: docs, Documentation
It was standardized to terms such as 'Source code' and 'Documentation', as
translations already exist for these terms.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-15 12:50:35 +02:00
Daniel Kukula
cc8b537e34
[mod] package.html template: additional links (a python dict)
...
- Closes: https://github.com/searxng/searxng/issues/3456
2024-05-15 12:50:35 +02:00
Bnyro
645a840d82
[refactor] codeberg: use gitea engine
2024-05-15 07:23:57 +02:00
Bnyro
82b6c0d05f
[feat] engine: implementation of gitea
2024-05-15 07:23:57 +02:00
Bnyro
60a373ad89
[fix] chefkoch: use German words in content field
2024-05-12 18:36:49 +02:00
Markus Heiser
ffb1001f80
[fix] engine wikidata - WIKIDATA_UNITS has been changed in #3378
...
This patch is a leftover from [1] in which the WIKIDATA_UNITS values has become
a dictionary.
[1] https://github.com/searxng/searxng/pull/3378
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-10 16:04:27 +02:00
Markus Heiser
901819359c
[update] make pygments.less
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-10 10:00:31 +02:00
dependabot[bot]
4c63846c8d
[upd] pypi: Bump pygments from 2.17.2 to 2.18.0
...
Bumps [pygments](https://github.com/pygments/pygments ) from 2.17.2 to 2.18.0.
- [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.17.2...2.18.0 )
---
updated-dependencies:
- dependency-name: pygments
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-10 10:00:31 +02:00
dependabot[bot]
a615df8acc
[upd] pypi: Bump nose2[coverage_plugin] from 0.14.1 to 0.14.2
...
Bumps [nose2[coverage_plugin]](https://github.com/nose-devs/nose2 ) from 0.14.1 to 0.14.2.
- [Changelog](https://github.com/nose-devs/nose2/blob/main/docs/changelog.rst )
- [Commits](https://github.com/nose-devs/nose2/compare/0.14.1...0.14.2 )
---
updated-dependencies:
- dependency-name: nose2[coverage_plugin]
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-10 09:59:44 +02:00
dependabot[bot]
a8d5126c56
[upd] pypi: Bump babel from 2.14.0 to 2.15.0
...
Bumps [babel](https://github.com/python-babel/babel ) from 2.14.0 to 2.15.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.14.0...v2.15.0 )
---
updated-dependencies:
- dependency-name: babel
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-10 09:58:12 +02:00
searxng-bot
4b6eebd312
[l10n] update translations from Weblate
...
9487de41b
- 2024-05-10 - return42 <return42@users.noreply.translate.codeberg.org>
20d3b1158
- 2024-05-10 - nouoneq <nouoneq@users.noreply.translate.codeberg.org>
60cf6e36d
- 2024-05-10 - return42 <return42@users.noreply.translate.codeberg.org>
0a8e99dff
- 2024-05-10 - return42 <return42@users.noreply.translate.codeberg.org>
4055cd1c3
- 2024-05-10 - return42 <return42@users.noreply.translate.codeberg.org>
77f2c8d9a
- 2024-05-09 - Eryk Michalak <gnu.ewm@protonmail.com>
beb16006a
- 2024-05-09 - tentsbet <tentsbet@users.noreply.translate.codeberg.org>
54b5123e2
- 2024-05-10 - ghose <ghose@users.noreply.translate.codeberg.org>
4f372ab44
- 2024-05-09 - German <German@users.noreply.translate.codeberg.org>
fa9b9aae8
- 2024-05-09 - Fjuro <fjuro@alius.cz>
2024-05-10 09:29:22 +02:00
Bnyro
383d873597
[fix] unit converter plugin: can't be disabled in settings
2024-05-09 17:40:37 +02:00
Markus Heiser
fb32425d78
[mod] yacy engine: pick base_url randomly from a list of instances
...
Inspired by post [1] in the disscussion we had, while yacy.searchlab.eu was
broken.
[1] https://github.com/searxng/searxng/issues/3428#issuecomment-2101080101
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-09 17:29:15 +02:00
Bnyro
72be98e12f
[feat] plugins: new calculator plugin
2024-05-09 17:23:38 +02:00
Markus Heiser
742303d030
[mod] improve unit converter plugin
...
- l10n support: parse and format decimal numbers by babel
- ability to add additional units
- improved unit detection (symbols are not unique)
- support for alias units (0,010C to F --> 32,018 °F)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-09 17:16:31 +02:00
Markus Heiser
63cf80aae5
[fix] docutils dependencies (docutils>=0.21.2)
...
Another trip into the hell of dependencies: docutils tends to put major changes
in minor patches: the executables have been renamed / e.g.
rst2html.py --> rts2html
so we have to use docutils at least from version 0.21.2, but this version of
docutils is only supported by myst-parser from version 3.0.1 on.
Additionally, docutils decided to drop python 3.8 in version 0.21 [1]
Further, linuxdoc needed an update to cope with docutils 0.21 [2]
[1] https://docutils.sourceforge.io/RELEASE-NOTES.html#release-0-21-2024-04-09
[2] https://github.com/return42/linuxdoc/pull/36
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-09 17:15:21 +02:00
dependabot[bot]
58320222e2
Bump jinja2 from 3.1.3 to 3.1.4
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.3 to 3.1.4.
- [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.3...3.1.4 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 07:21:25 +02:00
Alexandre Flament
ac430a9eaf
Drop pytomlpp dependency for Python >= 3.11
...
Rely on tomllib for Python >= 3.11
2024-05-05 17:35:29 +02:00
Markus Heiser
dbed8da284
[fix] startpage engine: XPath expressions adapted for new HTML layout
...
Startpage has changed its HTML layout, classes like ``w-gl__result__main`` do no
longer exists and the result items have been slightly changed in their
structure.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-04 19:45:52 +02:00
Yaksh Bariya
d577817646
[fix] respect user preferences to open links in new tab for short answers
...
Previously only result urls were set to open in new tab by default, this should
make the behaviour consistent.
Also adds the missing rel="noreferrer" to the anchor tag. Although this should
not be needed as long as the `referrer-policy: no-referrer` header is set, it's
always nice to play safer than to have to say sorry. For example some reverse
proxy configurations might strip off unwhitelisted headers in which case it's
nice to have this set.
2024-05-04 06:55:37 +02:00
Bnyro
78077126f2
[feat] wikimedia commons: support for videos, audio and other files
2024-05-04 06:23:04 +02:00
Daniel Kukula
46d7a8289b
[feat] engine: implementation of https://hex.pm
...
The package manager for the Erlang ecosystem Find packages.
Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>
2024-05-03 21:37:37 +02:00
dependabot[bot]
04271e555b
[upd] pypi: Bump pallets-sphinx-themes from 2.1.2 to 2.1.3
...
Bumps [pallets-sphinx-themes](https://github.com/pallets/pallets-sphinx-themes ) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/pallets/pallets-sphinx-themes/releases )
- [Changelog](https://github.com/pallets/pallets-sphinx-themes/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/pallets-sphinx-themes/compare/2.1.2...2.1.3 )
---
updated-dependencies:
- dependency-name: pallets-sphinx-themes
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-03 18:22:13 +02:00
searxng-bot
8225f88404
[l10n] update translations from Weblate
...
377c34a74
- 2024-05-02 - lspepinho <lspepinho@users.noreply.translate.codeberg.org>
079ba625b
- 2024-05-01 - alexgabi <alexgabi@users.noreply.translate.codeberg.org>
fe48c8a08
- 2024-04-30 - return42 <return42@users.noreply.translate.codeberg.org>
e04560acc
- 2024-04-30 - return42 <return42@users.noreply.translate.codeberg.org>
2fb6a2cfa
- 2024-04-29 - Heyian <Heyian@users.noreply.translate.codeberg.org>
b374205cc
- 2024-04-30 - return42 <return42@users.noreply.translate.codeberg.org>
d284cdd1d
- 2024-04-29 - Fjuro <fjuro@alius.cz>
87edf2cb3
- 2024-04-27 - return42 <return42@users.noreply.translate.codeberg.org>
f6971a077
- 2024-04-27 - SomeTr <SomeTr@users.noreply.translate.codeberg.org>
f88e23f2c
- 2024-04-27 - return42 <return42@users.noreply.translate.codeberg.org>
c7e8506c1
- 2024-04-28 - ghose <ghose@users.noreply.translate.codeberg.org>
795e14ddd
- 2024-04-27 - return42 <return42@users.noreply.translate.codeberg.org>
143bc6cf0
- 2024-04-27 - Implosion <Implosion@users.noreply.translate.codeberg.org>
5d96b3d53
- 2024-04-27 - return42 <return42@users.noreply.translate.codeberg.org>
b2cc8a6cd
- 2024-04-27 - return42 <return42@users.noreply.translate.codeberg.org>
2024-05-03 09:15:13 +02:00
Markus Heiser
11fe88bb40
[fix] update wikidata units - remove URL prefix from Q-name
...
Sometimes the URL prefix switches from a http to a https, this patch harden the
code that removes the URL prefix from wikidata Q-name, issue has been reported
in [1].
[1] https://github.com/searxng/searxng/pull/3437#issuecomment-2082121730
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-01 18:58:28 +02:00
Austin-Olacsi
c8d0b6529b
[feat] engine: implementation of searchmysite
2024-04-30 05:47:18 +02:00
Markus Heiser
f8bdf61976
[fix] yep engine: invcrease timeout from defaul 3sec to 5sec
...
In the "Engines" tab on searx.space [1] nearly all engines report a
TimeoutException: yep engine
As documented in issue #2444 [2], this problem can be fixed by increasing the
timeout. Note: on a local instance (`make run`) the timeout of 3sec was
sufficient / at least in my local test, but the balance of searx.space leads me
to believe that this tight timeout is usually not sufficient.
[1] https://searx.space/
[2] https://github.com/searxng/searxng/issues/2444
Closes https://github.com/searxng/searxng/issues/3421
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-04-30 05:46:15 +02:00
return42
e45a7cc063
[data] update searx.data - update_engine_traits.py
2024-04-29 10:02:48 +02:00
return42
c0b6c26eea
[data] update searx.data - update_firefox_version.py
2024-04-29 10:02:16 +02:00
return42
0ec406cb7e
[data] update searx.data - update_ahmia_blacklist.py
2024-04-29 10:01:52 +02:00
return42
ea585d4e77
[data] update searx.data - update_currencies.py
2024-04-29 09:48:56 +02:00
return42
d4e98c03a0
[data] update searx.data - update_engine_descriptions.py
2024-04-29 09:46:26 +02:00
Markus Heiser
e6c345f890
[fix] ccc_media engine: filter video formats and ignore audio & SubRip
...
CCC media serves several recording formats, to name a few:
- application/x-subrip
- video/mp4
- video/webm
- audio/mpeg
- audio/opus
- audio/mpeg
not all of them are suitable for a video frame. If available we should prefer
video/mp4 due to its minimal data rates.
Closes: https://github.com/searxng/searxng/issues/3431
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-04-28 08:42:18 +02:00
Jinyuan Huang
ecee56533c
improve "search existing issues from github" link
2024-04-27 20:01:27 +02:00
Markus Heiser
11fdc2f56a
[fix] drop broken azlyrics XPath engine
...
Unfortunately, azlyrics has a bot blocker that makes it impossible to implement
an XPath engine for it [1][2].
[1] https://github.com/searxng/searxng/pull/3302#issuecomment-2013529271
[2] https://github.com/searxng/searxng/issues/3280
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-04-27 18:43:14 +02:00
Markus Heiser
648f43be1d
[build] /static
2024-04-27 18:26:23 +02:00
Bnyro
3ea278aff4
[feat] preferences: button to enable/disable all engines
2024-04-27 18:26:23 +02:00
Bnyro
46efb2f36d
[feat] plugins: new unit converter plugin
2024-04-27 18:11:33 +02:00
Bnyro
b3b1258e4e
[data] wikidata: update wikidata_units.json
2024-04-27 18:11:33 +02:00
dependabot[bot]
1e1fb59bea
[upd] pypi: Bump sphinx from 7.2.6 to 7.3.7
...
Bumps [sphinx](https://github.com/sphinx-doc/sphinx ) from 7.2.6 to 7.3.7.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases )
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst )
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v7.2.6...v7.3.7 )
---
updated-dependencies:
- dependency-name: sphinx
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-27 10:05:51 +02:00
Markus Heiser
d593055888
[fix] ionic.io/ionicons - add back missing class="ionicon"
...
Seems to me svg2jinja added the class in the past .. but no longer in new builds
/ this patch adds the class back by using addAttributesToSVGElement [1].
To test this patch use:
$ ./manage themes.simple
$ cat searx/templates/simple/icons.html
and check `class="ionicon"` is in the outer `<svg ..>` tags.
[1] https://svgo.dev/docs/plugins/add-attributes-to-svg-elements/
[2] https://ionic.io/ionicons
Closes: https://github.com/searxng/searxng/issues/3383
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-04-27 09:33:20 +02:00
Bnyro
42b58eb448
[feat] media.ccc.de: implement module with pagination and iframe
2024-04-27 08:55:26 +02:00
dependabot[bot]
a56b4a1648
[upd] pypi: Bump pallets-sphinx-themes from 2.1.1 to 2.1.2
...
Bumps [pallets-sphinx-themes](https://github.com/pallets/pallets-sphinx-themes ) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/pallets/pallets-sphinx-themes/releases )
- [Changelog](https://github.com/pallets/pallets-sphinx-themes/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/pallets-sphinx-themes/compare/2.1.1...2.1.2 )
---
updated-dependencies:
- dependency-name: pallets-sphinx-themes
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-27 08:30:17 +02:00
dependabot[bot]
4719c004ea
[upd] pypi: Bump redis from 5.0.3 to 5.0.4
...
Bumps [redis](https://github.com/redis/redis-py ) from 5.0.3 to 5.0.4.
- [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.3...v5.0.4 )
---
updated-dependencies:
- dependency-name: redis
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-27 08:24:23 +02:00
Ivan G
0e09014df5
Add uWSGI `die-on-term` flag ( #3429 )
2024-04-26 23:42:29 +02:00
searxng-bot
41f415aabf
[l10n] update translations from Weblate
...
f4861e2c3
- 2024-04-26 - SomeTr <SomeTr@users.noreply.translate.codeberg.org>
2024-04-26 09:14:03 +02:00
dependabot[bot]
0081870305
[upd] pypi: Bump selenium from 4.19.0 to 4.20.0
...
Bumps [selenium](https://github.com/SeleniumHQ/Selenium ) from 4.19.0 to 4.20.0.
- [Release notes](https://github.com/SeleniumHQ/Selenium/releases )
- [Commits](https://github.com/SeleniumHQ/Selenium/compare/selenium-4.19.0...selenium-4.20.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-04-26 09:10:46 +02:00
Markus Heiser
ddaa6ed759
[fix] add missing localizable (gettext) messages to searxng.msg
...
To test this patch I used .. and checked the diff of the `messages.pot` file::
$ ./manage pyenv.cmd pybabel extract -F babel.cfg \
-o ./searx/translations/messages.pot searx/
$ git diff ./searx/translations/messages.pot
----
hint from @dalf: f-string are not supported [1] but there is no error [2].
[1] python-babel/babel#594
[2] python-babel/babel#715
Closes: https://github.com/searxng/searxng/issues/3412
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-04-26 07:34:32 +02:00
Bnyro
0a4280a137
[refactor] translation engines: add translate category
...
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-04-26 07:33:28 +02:00
Bnyro
91522f3801
[feat] engine: implementation of LibreTranslate
...
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-04-26 07:33:28 +02:00
Grant Lanham Jr
e0214412f8
Update .gitignore to ignore .python-version
2024-04-24 16:01:50 +02:00
searxng-bot
af3be2b12b
[l10n] update translations from Weblate
...
b58f11366
- 2024-04-17 - Right202209 <Right202209@users.noreply.translate.codeberg.org>
43b601950
- 2024-04-17 - return42 <return42@users.noreply.translate.codeberg.org>
5cac16eaf
- 2024-04-17 - return42 <return42@users.noreply.translate.codeberg.org>
88b5396d5
- 2024-04-17 - return42 <return42@users.noreply.translate.codeberg.org>
515161ddc
- 2024-04-17 - return42 <return42@users.noreply.translate.codeberg.org>
7f8e70b10
- 2024-04-17 - return42 <return42@users.noreply.translate.codeberg.org>
247777e50
- 2024-04-10 - Right202209 <Right202209@users.noreply.translate.codeberg.org>
1b0c91d0f
- 2024-04-07 - shadow3x3x3 <shadow3x3x3@users.noreply.translate.codeberg.org>
f7f160fd0
- 2024-04-06 - vducong <vducong@users.noreply.translate.codeberg.org>
62cc9ce67
- 2024-04-06 - mrintegrity <mrintegrity@users.noreply.translate.codeberg.org>
131bec469
- 2024-04-06 - omfj <omfj@users.noreply.translate.codeberg.org>
bceb0dbec
- 2024-04-06 - Uzakmo <Uzakmo@users.noreply.translate.codeberg.org>
51330ae18
- 2024-04-05 - tegcope <tegcope@users.noreply.translate.codeberg.org>
79a2eb668
- 2024-04-05 - sserra <sserra@users.noreply.translate.codeberg.org>
b3c2827e5
- 2024-04-05 - sserra <sserra@users.noreply.translate.codeberg.org>
ba46f8672
- 2024-04-03 - meskobalazs <meskobalazs@users.noreply.translate.codeberg.org>
b58a3eff1
- 2024-04-04 - return42 <return42@users.noreply.translate.codeberg.org>
3a9c022ea
- 2024-04-03 - meskobalazs <meskobalazs@users.noreply.translate.codeberg.org>
424ea8188
- 2024-04-03 - Kita Ikuyo <searinminecraft@courvix.com>
2024-04-21 11:16:40 +02:00
Bnyro
644ae51417
[fix] yahoo: result titles are getting mixed together
2024-04-20 17:00:17 +02:00
dependabot[bot]
0f70e4d305
[upd] pypi: Bump sphinx-issues from 4.0.0 to 4.1.0
...
Bumps [sphinx-issues](https://github.com/sloria/sphinx-issues ) from 4.0.0 to 4.1.0.
- [Commits](https://github.com/sloria/sphinx-issues/compare/4.0.0...4.1.0 )
---
updated-dependencies:
- dependency-name: sphinx-issues
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-19 10:43:53 +02:00
mrpaulblack
5e4ab964b7
[feat] template: add apple-touch-icon in html header
...
* this makes it possible to add SearXNG to iOS devices homescreen with a proper icon
2024-04-18 12:34:17 +02:00
singletail
1746eecf2b
[fix] engine: youtube_api - ignore channels / prevent exceptions
...
`youtube_api.py` throws an exception if the search results contain a channel, as
channels have no videoId. This PR adds a keycheck for parsing the json response.
2024-04-13 08:41:00 +02:00
Austin-Olacsi
c92846dca8
[fix] dead URL in settings.yml
2024-04-13 07:03:45 +02:00
dependabot[bot]
c8dca20548
[upd] npm: Bump eslint in /searx/static/themes/simple
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.57.0 to 9.0.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.57.0...v9.0.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-12 18:11:42 +02:00
dependabot[bot]
9631e213fe
[upd] pypi: Bump flask from 3.0.2 to 3.0.3
...
Bumps [flask](https://github.com/pallets/flask ) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/pallets/flask/releases )
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/flask/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: flask
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-12 17:32:40 +02:00
dependabot[bot]
bbd2a4350a
[upd] pypi: Bump lxml from 5.1.0 to 5.2.1
...
Bumps [lxml](https://github.com/lxml/lxml ) from 5.1.0 to 5.2.1.
- [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.1.0...lxml-5.2.1 )
---
updated-dependencies:
- dependency-name: lxml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-12 17:31:38 +02:00
Diagonalo
6458490271
[mod] engine 'mwmbl: Update API URL
2024-04-10 06:51:28 +02:00
Markus Heiser
f1a148f53e
[fix] ddg engine: if no vqd value can be determined, don't save None
...
Closes: https://github.com/searxng/searxng/issues/3370
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-04-08 10:56:11 +02:00
Markus Heiser
bd6ff29f8f
[fix] remove usage of no longer existing names from lxml
...
In lxml 5.1.1 the private name `_ElementStringResult` in module `lxml.etree`
does no longer exists.
This code was written nearly a decade ago, its no longer clear what the
intention `_ElementStringResult` and `_ElementUnicodeResult` had been. It can be
assumed that these classes will no longer occur.
Closes: https://github.com/searxng/searxng/issues/3368
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-04-08 10:55:23 +02:00
Markus Heiser
26a92c1a8d
[fix] new builds of icons.html do miss class="ionicon"
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-04-08 09:38:18 +02:00
Markus Heiser
dddd628f48
[build] /static
2024-04-08 09:07:45 +02:00
Yaksh Bariya
9f5268b4a7
[enh] add keybindings for copying URLs
...
'y': for in Vim-mode (yank)
'c': for SearXNG-mode (copy)
This should help keyboard heavy users
2024-04-08 09:07:45 +02:00
Yaksh Bariya
8bf2da9ce5
[enh] add editorconfig rules for javascript files
...
SearXNG has a bunch of javascript files which have an indentation of
two, but the '*' rule tells my editor to use 4 spaces.
2024-04-08 09:07:45 +02:00
Markus Heiser
4acb52f68f
[fix] even if limiter not activated, botdetection must be activated
...
Closes : #2975
Closes : #2995
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-04-08 07:53:04 +02:00
Austin-Olacsi
b6fe2cad71
[mod] Ask engine: remove tracking paramaters and set max page to 5
2024-04-08 07:50:14 +02:00
Bnyro
bf3845b093
[feat] engine: implementation of Open Meteo
2024-04-07 19:02:53 +02:00
Markus Heiser
f5bb64cca8
[fix] .dir-locals.el -> .dir-locals-template.el
...
The settungs in the .dir-locals.el do not work well for every emacs setup:
Add .dir-locals.el to the git-ignore list and move content to a template file.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-29 08:57:02 +01:00
return42
ad9537065a
[data] update searx.data - update_firefox_version.py
2024-03-29 08:44:18 +01:00
return42
531942ed16
[data] update searx.data - update_ahmia_blacklist.py
2024-03-29 08:43:50 +01:00
dependabot[bot]
e8ee27e43c
[upd] pypi: Bump selenium from 4.18.1 to 4.19.0
...
Bumps [selenium](https://github.com/SeleniumHQ/Selenium ) from 4.18.1 to 4.19.0.
- [Release notes](https://github.com/SeleniumHQ/Selenium/releases )
- [Commits](https://github.com/SeleniumHQ/Selenium/compare/selenium-4.18.1...selenium-4.19.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-03-29 08:43:24 +01:00
return42
433cfd868a
[data] update searx.data - update_currencies.py
2024-03-29 08:42:16 +01:00
return42
22d68aa2a7
[data] update searx.data - update_engine_traits.py
2024-03-29 08:41:44 +01:00
return42
cc124b8f14
[data] update searx.data - update_engine_descriptions.py
2024-03-29 08:41:00 +01:00
searxng-bot
550ca55778
[l10n] update translations from Weblate
...
cd974f62f
- 2024-03-27 - matheuspolachini <matheuspolachini@users.noreply.translate.codeberg.org>
98335c289
- 2024-03-27 - pixrobot <pixrobot@users.noreply.translate.codeberg.org>
986969118
- 2024-03-25 - pixrobot <pixrobot@users.noreply.translate.codeberg.org>
285674006
- 2024-03-24 - Yahya-Lando <Yahya-Lando@users.noreply.translate.codeberg.org>
2024-03-29 08:23:44 +01:00
Mikkel Denker
b21aaa8907
Add user-agent to stract requests
2024-03-22 13:40:46 +01:00
searxng-bot
32bd55e268
[l10n] update translations from Weblate
...
522463f6a
- 2024-03-21 - return42 <return42@users.noreply.translate.codeberg.org>
8ec374759
- 2024-03-21 - return42 <return42@users.noreply.translate.codeberg.org>
ac6b5dff0
- 2024-03-21 - return42 <return42@users.noreply.translate.codeberg.org>
66b28f3e4
- 2024-03-21 - return42 <return42@users.noreply.translate.codeberg.org>
a8e6cb73b
- 2024-03-21 - return42 <return42@users.noreply.translate.codeberg.org>
cd153923a
- 2024-03-21 - return42 <return42@users.noreply.translate.codeberg.org>
06110caf7
- 2024-03-21 - return42 <return42@users.noreply.translate.codeberg.org>
6bc307e8a
- 2024-03-21 - return42 <return42@users.noreply.translate.codeberg.org>
eef184a70
- 2024-03-21 - return42 <return42@users.noreply.translate.codeberg.org>
e5d537357
- 2024-03-21 - return42 <return42@users.noreply.translate.codeberg.org>
d592adfb0
- 2024-03-21 - return42 <return42@users.noreply.translate.codeberg.org>
0645b3404
- 2024-03-21 - return42 <return42@users.noreply.translate.codeberg.org>
da95a5907
- 2024-03-18 - jianhanquwan <jianhanquwan@users.noreply.translate.codeberg.org>
122a67a1f
- 2024-03-17 - Oğuz Ersen <ersen@users.noreply.translate.codeberg.org>
39a7e1553
- 2024-03-15 - MonsoonRain <MonsoonRain@users.noreply.translate.codeberg.org>
2024-03-22 08:15:19 +01:00
dependabot[bot]
bec34cf690
Bump black from 24.2.0 to 24.3.0
...
Bumps [black](https://github.com/psf/black ) from 24.2.0 to 24.3.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/24.2.0...24.3.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-21 07:37:23 +01:00
dependabot[bot]
e2af3e4970
[upd] pypi: Bump redis from 5.0.2 to 5.0.3
...
Bumps [redis](https://github.com/redis/redis-py ) from 5.0.2 to 5.0.3.
- [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.2...v5.0.3 )
---
updated-dependencies:
- dependency-name: redis
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-15 09:59:21 +01:00
searxng-bot
f78cf94507
[l10n] update translations from Weblate
...
5ab8a4123
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
8fdac20fd
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
f904a2b41
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
da78b59cb
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
c3ee00845
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
a1a4001e9
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
b8ddc37d9
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
257c6e52b
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
de6899977
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
06f9a81ee
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
0b916dcc0
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
2f78ef012
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
098a44813
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
1bcbfb4b9
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
1c561b9ca
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
44ab09c8b
- 2024-03-12 - GeoffreyGx <GeoffreyGx@users.noreply.translate.codeberg.org>
5b767a16c
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
8dec572be
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
28e8c648d
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
77ce67845
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
1d044f989
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
a10834f13
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
eaa1cdd6e
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
b49e3879a
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
f55b61fb7
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
4954e6e49
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
33b08dc66
- 2024-03-12 - return42 <return42@users.noreply.translate.codeberg.org>
58df517d4
- 2024-03-11 - GeoffreyGx <GeoffreyGx@users.noreply.translate.codeberg.org>
cee7ec3f0
- 2024-03-10 - alexgabi <alexgabi@disroot.org>
2024-03-15 09:49:09 +01:00
Markus Heiser
74f6dfb576
[fix] .pylintrc mode signature to conf-unix
...
In pylint and python's config parser [1] the default symbol for comments is '#'.
The dialect is based on unix, while the classic dialect comes from windows and
uses a semicolon for comments.
[1] https://docs.python.org/3/library/configparser.html#module-configparser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-14 14:18:26 +01:00
Markus Heiser
542f7d0d7b
[mod] pylint all files with one profile / drop PYLINT_SEARXNG_DISABLE_OPTION
...
In the past, some files were tested with the standard profile, others with a
profile in which most of the messages were switched off ... some files were not
checked at all.
- ``PYLINT_SEARXNG_DISABLE_OPTION`` has been abolished
- the distinction ``# lint: pylint`` is no longer necessary
- the pylint tasks have been reduced from three to two
1. ./searx/engines -> lint engines with additional builtins
2. ./searx ./searxng_extra ./tests -> lint all other python files
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-11 14:55:38 +01:00
Markus Heiser
8205f170ff
[mod] pylint all engines without PYLINT_SEARXNG_DISABLE_OPTION
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-11 14:55:38 +01:00
Markus Heiser
707d6270c8
[doc] engine: mullvad leta
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-10 18:20:07 +01:00
Grant Lanham
9d6896a771
[feat] engine: implementation of mullvad leta
2024-03-10 18:20:07 +01:00
Markus Heiser
3edaa26dae
[data] make data.all
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-10 15:56:50 +01:00
Markus Heiser
ce4aaf6cad
[mod] comprehensive revision of the searxng_extra/update/ scripts
...
- pylint all scripts
- fix some errors reported by pyright
- from searx.data import data_dir (Path.open)
- fix import from pygments.formatters.html
NOTE: none functional changes!
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-10 15:56:50 +01:00
Markus Heiser
0ffec440b2
[doc] annas_archive: ctegs journal_article & book_any has been removed
...
In commit 8af181533
in PR:
- https://github.com/searxng/searxng/pull/3321
the category `journal_article` has been removed, `book_any` has been removed
longer time ago.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-10 12:46:00 +01:00
return42
33b4ffee29
[data] update searx.data - update_engine_traits.py
2024-03-10 12:46:00 +01:00
return42
a5d36211a3
[data] update searx.data - update_ahmia_blacklist.py
2024-03-10 12:45:15 +01:00
return42
2cb389e9ce
[data] update searx.data - update_currencies.py
2024-03-10 12:44:44 +01:00
return42
4a8867e646
[data] update searx.data - update_engine_descriptions.py
2024-03-10 12:01:33 +01:00
return42
7bbcf1be9a
[data] update searx.data - update_external_bangs.py
2024-03-10 12:01:00 +01:00
Markus Heiser
cff0097289
[fix] update_external_bangs: BANGS_URL ' https://duckduckgo.com/bang.js '
...
JSON file which contains the bangs / there is no longer a versioning of this
file.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-10 11:58:20 +01:00
Markus Heiser
e97e1f9110
[fix] duckduckgo.fetch_traist - URL of region definitions has changed
...
- https://duckduckgo.com/dist/util/u.7669f071a13a7daa57cb.js
updated from u661.js to u.7669f071a13a7daa57cb / should be updated
automatically? The last change was on March 23rd in dba8977b09
[1]
- [1] https://github.com/searxng/searxng/pull/2269
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-10 10:32:54 +01:00
Markus Heiser
33c099022b
[drop] engine framalibre - sarch URL is no longer supported
...
Closes: https://github.com/searxng/searxng/issues/3286
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-09 18:00:45 +01:00