Bnyro
f31a3a2053
[chore] *: fix typos detected by typos-cli
2024-11-24 12:41:57 +01:00
Markus Heiser
0253c10b52
[feat] engine: add adobe stock video and audio engines
...
The engine has been revised; there is now the option ``adobe_content_types``
with which it is possible to configure engines for video and audio from the
adobe stock. BTW this patch adds documentation to the engine.
To test all three engines in one use a search term like::
!asi !asv !asa sound
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-24 11:56:12 +01:00
Bnyro
f20a7632f1
[feat] engine: add adobe stock photos
2024-11-24 11:56:12 +01:00
Markus Heiser
0f9694c90b
[clean] Internet Archive Scholar search API no longer exists
...
Engine was added in #2733 but the API does no longer exists. Related:
- https://github.com/searxng/searxng/issues/4038
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-23 17:59:38 +01:00
Markus Heiser
ccc4f30b20
[doc] update quantities on the intro page
...
The quantities on the intro page were partly out of date / example; we already
have 210 engines and not just 70. To avoid having to change the quantities
manually in the future, they are now calculated from the jinja context
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-23 16:33:08 +01:00
Markus Heiser
c4b874e9b0
[fix] engine Library of Congress: fix API URL loc.gov -> www.loc.gov
...
Avoid HTTP 404 and redirects. Requests to the JSON/YAML API use the base url [1]
https://www.loc.gov/{endpoint}/?fo=json
[1] https://www.loc.gov/apis/json-and-yaml/requests/
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-23 13:02:24 +01:00
Markus Heiser
7c4e4ebd40
[log] warning with URL in case of 'raise_for_httperror'
...
In order to be able to implement error handling, it is necessary to know which
URL triggered the exception / the URL has not yet been logged.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-23 11:33:19 +01:00
searxng-bot
b8f1a329d3
[l10n] update translations from Weblate
...
6581d89b3
- 2024-11-21 - return42 <return42@users.noreply.translate.codeberg.org>
a342903eb
- 2024-11-21 - return42 <return42@users.noreply.translate.codeberg.org>
61d3236b9
- 2024-11-21 - return42 <return42@users.noreply.translate.codeberg.org>
cd03e8cc5
- 2024-11-21 - return42 <return42@users.noreply.translate.codeberg.org>
a2399e23a
- 2024-11-20 - tentsbet <tentsbet@users.noreply.translate.codeberg.org>
9a5bcc06d
- 2024-11-17 - cherrad <cherrad@users.noreply.translate.codeberg.org>
4364e5ef8
- 2024-11-16 - DiamondBrain113 <DiamondBrain113@users.noreply.translate.codeberg.org>
e3a127ec8
- 2024-11-15 - KinoCineaste <KinoCineaste@users.noreply.translate.codeberg.org>
2024-11-22 10:02:42 +01:00
dependabot[bot]
67f7548573
[upd] pypi: Bump typer-slim from 0.13.0 to 0.13.1
...
Bumps [typer-slim](https://github.com/fastapi/typer ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/fastapi/typer/releases )
- [Changelog](https://github.com/fastapi/typer/blob/master/docs/release-notes.md )
- [Commits](https://github.com/fastapi/typer/compare/0.13.0...0.13.1 )
---
updated-dependencies:
- dependency-name: typer-slim
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-22 09:59:26 +01:00
dependabot[bot]
f40fc2dd4f
[upd] pypi: Bump setproctitle from 1.3.3 to 1.3.4
...
Bumps [setproctitle](https://github.com/dvarrazzo/py-setproctitle ) from 1.3.3 to 1.3.4.
- [Changelog](https://github.com/dvarrazzo/py-setproctitle/blob/master/HISTORY.rst )
- [Commits](https://github.com/dvarrazzo/py-setproctitle/compare/version-1.3.3...version-1.3.4 )
---
updated-dependencies:
- dependency-name: setproctitle
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-22 09:58:19 +01:00
Markus Heiser
10d3af84b8
[fix] engine: duckduckgo - don't quote query string
...
The query string send to DDG must not be qouted.
The query string was URL-qouted in #4011 , but the URL-qouted query string result
in unexpected *URL decoded* and other garbish results as reported in #4019
and #4020 . To test compare the results of a query like::
!ddg Häuser und Straßen :de
!ddg Häuser und Straßen :all
!ddg 房屋和街道 :all
!ddg 房屋和街道 :zh
Closed:
- [#4019 ] https://github.com/searxng/searxng/issues/4019
- [#4020 ] https://github.com/searxng/searxng/issues/4020
Related:
- [#4011 ] https://github.com/searxng/searxng/pull/4011
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-17 18:14:22 +01:00
dependabot[bot]
4b57bc3db1
[upd] pypi: Bump flask from 3.0.3 to 3.1.0
...
Bumps [flask](https://github.com/pallets/flask ) from 3.0.3 to 3.1.0.
- [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.3...3.1.0 )
---
updated-dependencies:
- dependency-name: flask
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-15 13:23:24 +01:00
searxng-bot
a345cbbe51
[l10n] update translations from Weblate
...
0216898a3
- 2024-11-14 - KhietVo <KhietVo@users.noreply.translate.codeberg.org>
3293db4c8
- 2024-11-14 - return42 <return42@users.noreply.translate.codeberg.org>
574e0d683
- 2024-11-13 - lrnz2 <lrnz2@users.noreply.translate.codeberg.org>
a32d9d158
- 2024-11-08 - Aadniz <Aadniz@users.noreply.translate.codeberg.org>
2024-11-15 13:20:52 +01:00
Nicolas Dato
abd9b271bc
[fix] engine: duckduckgo - only uses first word of the search terms
...
during the revision in PR #3955 the query string was accidentally converted into
a list of words, further the query must be quoted before POSTed in the ``data``
field, see ``urllib.parse.quote_plus`` [1]
[1] https://docs.python.org/3/library/urllib.parse.html#urllib.parse.quote_plus
Closed : #4009
Co-Authored-by: @return42
2024-11-14 09:33:54 +01:00
Leo Liu
dfaf5868e2
[fix] settings.yml - enabled_plugins: document to reflect default settings
...
Remove 'Autodetect search language', which is no longer valid, from settings,
and add 'Unit converter plugin', which is now default enabled, to settings.
2024-11-10 16:09:41 +01:00
Leo Liu
b173f3a8b9
Fix scheduler.lua
2024-11-10 15:53:58 +01:00
dependabot[bot]
2fbf15eccb
[upd] pypi: Bump typer-slim from 0.12.5 to 0.13.0
...
Bumps [typer-slim](https://github.com/fastapi/typer ) from 0.12.5 to 0.13.0.
- [Release notes](https://github.com/fastapi/typer/releases )
- [Changelog](https://github.com/fastapi/typer/blob/master/docs/release-notes.md )
- [Commits](https://github.com/fastapi/typer/compare/0.12.5...0.13.0 )
---
updated-dependencies:
- dependency-name: typer-slim
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-08 08:51:43 +01:00
searxng-bot
08c5f258d8
[l10n] update translations from Weblate
...
8d90a7e6d
- 2024-11-06 - sahussawud <sahussawud@users.noreply.translate.codeberg.org>
41ee8bb0d
- 2024-11-02 - laaknor <laaknor@users.noreply.translate.codeberg.org>
c1a30afab
- 2024-11-02 - return42 <return42@users.noreply.translate.codeberg.org>
627ab7a8e
- 2024-11-01 - zarlin <zarlin@users.noreply.translate.codeberg.org>
2024-11-08 08:45:07 +01:00
dependabot[bot]
cd384a8a60
[upd] pypi: Bump selenium from 4.25.0 to 4.26.1
...
Bumps [selenium](https://github.com/SeleniumHQ/Selenium ) from 4.25.0 to 4.26.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-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-06 10:01:13 +01:00
Markus Heiser
c4055e449f
[fix] issues reported by make test.yamllint
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-06 08:16:21 +01:00
Markus Heiser
2fdbf2622b
[mod] lint github YAML config files
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-06 08:16:21 +01:00
Bnyro
b07c0ae39f
[fix] annas archive: crash when no thumbnail, differing results, paging
2024-11-01 12:49:33 +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