Markus Heiser
f62f6194e3
[build] /static
2025-03-27 12:27:37 +01:00
Markus Heiser
68d871dea0
[fix] image deatils view: vertical overflow in results.image-detail-open
...
overflow-y: scroll
If the information on the image exceeds the visible area in the detail view,
there must be a way to access this information via scroll.
max-height: -17rem versus 7rem
There are new fields in the lower area, so the height of the image (top) must
be reduced
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-27 12:27:37 +01:00
Markus Heiser
150b2e21fd
[fix] make docs -> ERROR: Unknown target name: "google: max 50 pages".
...
Fix the issues reported by sphinx build::
docstring of searx.engines.google.max_page:1: ERROR: Unknown target name: "google: max 50 pages".
docstring of searx.engines.google_images.max_page:1: ERROR: Unknown target name: "google: max 50 pages".
docstring of searx.engines.google_scholar.max_page:1: ERROR: Unknown target name: "google: max 50 pages".
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-27 06:57:28 +01:00
Aadniz
02f5002a5f
[fix] baidu engine: properly decoding HTML escape codes
2025-03-27 06:11:39 +01:00
Bnyro
4dfc47584d
[refactor] duration strings: move parsing logic to utils.py
2025-03-25 16:48:44 +01:00
Bnyro
c28d35c7fc
[fix] duckduckgo news: unescaped html sequences in description
2025-03-25 16:14:36 +01:00
dependabot[bot]
2ad987c711
Bump vite from 6.2.2 to 6.2.3 in /client/simple
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 6.2.2 to 6.2.3.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.3/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.2.3/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-25 16:04:41 +01:00
Markus Heiser
5986629c6b
[fix] make data.traits - partial revert of commit 30a8204
...
The entries in the catalog of search languages are build up from the "Engine
Traits" [1] and which entries are included in the catalog is controlled qby two
threshold values [2].
If possible, the values should ensure that no languages or regions disappear
from the catalog of search languages [3].
The threshold values should have been adjusted in commit 30a8204:
- ``min_eng_per_region = 18``
- ``min_eng_per_lang = 22``
Because the threshold values were not adjusted, many entries were missing in the
search language catalog. This bug has been fixed with this patch: the threshold
values have been adjusted and the catalog of search languages has been completed
again.
[1] https://docs.searxng.org/dev/engines/enginelib.html#module-searx.enginelib.traits
[2] 96a6e3dcb2/searxng_extra/update/update_engine_traits.py (L104-L105)
[3] https://github.com/searxng/searxng/blob/master/searx/sxng_locales.py
Closes: https://github.com/searxng/searxng/issues/4519
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-22 07:52:36 +01:00
dependabot[bot]
7e680d8e8e
[upd] web-client (simple): Bump stylelint in /client/simple
...
Bumps [stylelint](https://github.com/stylelint/stylelint ) from 16.15.0 to 16.16.0.
- [Release notes](https://github.com/stylelint/stylelint/releases )
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint/stylelint/compare/16.15.0...16.16.0 )
---
updated-dependencies:
- dependency-name: stylelint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-21 11:43:46 +01:00
Ikko Eltociear Ashimine
2482646323
[fix] typo in doc-str: offical -> official
2025-03-21 11:05:54 +01:00
Markus Heiser
96a6e3dcb2
[fix] Results.url: don't normalize www.example.com to example.com
...
Hostname "www" in URL results can't be normalized to an empty string:
- https://www.tu-darmstadt.de/
- https://tu-darmstadt.de/
Reported-By: @Bnyro <bnyro@tutanota.com>
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-21 10:28:34 +01:00
searxng-bot
ef99cc472d
[l10n] update translations from Weblate
...
efbb54229 - 2025-03-16 - gkkulik <gkkulik@noreply.codeberg.org>
f76dddd02 - 2025-03-15 - cc5efd7b0 <cc5efd7b0@noreply.codeberg.org>
2025-03-21 08:40:14 +01:00
dependabot[bot]
64b52d485b
[upd] pypi: Bump yamllint from 1.36.0 to 1.36.2
...
Bumps [yamllint](https://github.com/adrienverge/yamllint ) from 1.36.0 to 1.36.2.
- [Release notes](https://github.com/adrienverge/yamllint/releases )
- [Changelog](https://github.com/adrienverge/yamllint/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/adrienverge/yamllint/compare/v1.36.0...v1.36.2 )
---
updated-dependencies:
- dependency-name: yamllint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-21 08:39:32 +01:00
dependabot[bot]
de6b027ec7
[upd] pypi: Bump tomli from 2.0.2 to 2.2.1
...
Bumps [tomli](https://github.com/hukkin/tomli ) from 2.0.2 to 2.2.1.
- [Changelog](https://github.com/hukkin/tomli/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hukkin/tomli/compare/2.0.2...2.2.1 )
---
updated-dependencies:
- dependency-name: tomli
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-21 08:38:48 +01:00
dependabot[bot]
f687306a95
[upd] pypi: Bump pylint from 3.3.4 to 3.3.6
...
Bumps [pylint](https://github.com/pylint-dev/pylint ) from 3.3.4 to 3.3.6.
- [Release notes](https://github.com/pylint-dev/pylint/releases )
- [Commits](https://github.com/pylint-dev/pylint/compare/v3.3.4...v3.3.6 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-21 08:38:16 +01:00
Bnyro
b75e56afe6
[fix] duckduckgo: answer sometimes contains faulty (duplicated) url
2025-03-21 07:48:30 +01:00
Bnyro
3668c7012e
[fix] presearch videos: item description and duration are located in metadata field
2025-03-20 20:55:09 +01:00
Aadniz
556db857aa
[fix] presearch engine: News and Videos formatted incorrectly
2025-03-20 20:44:43 +01:00
Tan Yong Sheng
40feede51e
[fix] engine: core.ac.uk implement API v3 / v2 is no longer supported
2025-03-19 17:51:00 +01:00
Alexandre Flament
82b9e533b2
[fix] static.build: upgrade min. node version to 18.17
...
For sharp [1] dependency / this commit was cherry picked from PR #3157
[1] https://www.npmjs.com/package/sharp
2025-03-18 06:19:44 +01:00
Bnyro
babbe9e1ae
[fix] duckduckgo: show proper source url of answers
2025-03-18 05:31:28 +01:00
Bnyro
885d02c8c3
[feat] engine: add selfh.st/icons for logos of common self-hosted programs
2025-03-17 20:23:54 +01:00
Bnyro
bbb2894b04
[engine] elasticsearch: add pagination support
2025-03-16 22:10:05 +01:00
Brock Vojkovic
84636ef49a
[feat] add docker healthcheck back ( #4504 )
2025-03-16 11:34:26 +01:00
Markus Heiser
a1d5add718
fixup! [fix] fix invalid escape error in Baidu Images & default config typo
2025-03-15 17:14:54 +01:00
Zhijie He
38caa49540
[fix] fix invalid escape error in Baidu Images & default config typo
2025-03-15 17:14:54 +01:00
Zhijie He
4ce7f1accc
[feat]: engines add images & kaifa from baidu.com
2025-03-15 17:14:54 +01:00
Ivan Gabaldon
11b5ae186b
container: add default support for IPv6 ( #4448 )
...
* Initial update
* update docs and test files
2025-03-15 11:20:37 +01:00
Markus Heiser
583007fd04
[build] /static
2025-03-15 10:36:33 +01:00
Markus Heiser
da7b069d6e
[fix] plugins: bugfix of tor_check and unit_converter
...
Closes: https://github.com/searxng/searxng/issues/4461
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-15 10:36:33 +01:00
Markus Heiser
f49b2c94a9
[mod] migrate all key-value.html templates to KeyValue type
...
The engines now all use KeyValue results and return the results in a
EngineResults object.
The sqlite engine can return MainResult results in addition to KeyValue
results (based on engine's config in settings.yml),
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-15 10:36:33 +01:00
Markus Heiser
af5dbdf768
[mod] typification of SearXNG: add new result type KeyValue
...
This patch adds a new result type: KeyValue
- Python class: searx/result_types/keyvalue.py
- Jinja template: searx/templates/simple/result_templates/keyvalue.html
- CSS (less) client/simple/src/less/result_types/keyvalue.less
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-15 10:36:33 +01:00
Markus Heiser
8769b7c6d6
[refactor] typification of SearXNG (MainResult) / result items (part 2)
...
The class ReslutContainer has been revised, it can now handle the typed Result
items of classes:
- MainResult
- LegacyResult (a dict wrapper for backward compatibility)
Due to the now complete typing of theses three clases, instead of the *getitem*
accesses, the fields can now be accessed directly via attributes (which is also
supported by the IDE).
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-15 10:36:33 +01:00
Markus Heiser
d6ce29f7f0
[build] /static
2025-03-15 09:03:49 +01:00
Markus Heiser
eb1bdea865
[fix] make static.build.commit: add client/simple/package-lock.json
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-15 09:03:49 +01:00
bearz314
85bdff6b0a
[web-client] simple theme: dynamic vertical height
...
On mobile devices with browser chrome (UI) that recedes on scroll,
'vh' includes the height covered by chrome, which 'dvh' does not.
By using 'dvh' the footer is immediately visible on the homepage
without scrollbar on mobile devices.
2025-03-15 09:03:49 +01:00
dependabot[bot]
f7ef4396b1
[upd] pypi: Bump aiounittest from 1.4.3 to 1.5.0
...
Bumps [aiounittest](https://github.com/kwarunek/aiounittest ) from 1.4.3 to 1.5.0.
- [Release notes](https://github.com/kwarunek/aiounittest/releases )
- [Commits](https://github.com/kwarunek/aiounittest/compare/1.4.3...1.5.0 )
---
updated-dependencies:
- dependency-name: aiounittest
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-15 08:04:23 +01:00
dependabot[bot]
83f6545903
[upd] pypi: Bump yamllint from 1.35.1 to 1.36.0
...
Bumps [yamllint](https://github.com/adrienverge/yamllint ) from 1.35.1 to 1.36.0.
- [Changelog](https://github.com/adrienverge/yamllint/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/adrienverge/yamllint/compare/v1.35.1...v1.36.0 )
---
updated-dependencies:
- dependency-name: yamllint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-15 07:52:10 +01:00
searxng-bot
6afe0e29a7
[l10n] update translations from Weblate
...
efa1f5656 - 2025-03-13 - return42 <return42@noreply.codeberg.org>
5e0a76d3c - 2025-03-13 - return42 <return42@noreply.codeberg.org>
2025-03-15 07:50:21 +01:00
dependabot[bot]
523871ae7b
[upd] web-client (simple): Bump @eslint/js in /client/simple
...
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js ) from 9.21.0 to 9.22.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/commits/v9.22.0/packages/js )
---
updated-dependencies:
- dependency-name: "@eslint/js"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-15 07:49:52 +01:00
dependabot[bot]
505f7732d8
[upd] web-client (simple): Bump vite in /client/simple
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.2.2/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-15 07:49:44 +01:00
dependabot[bot]
896cb3ab46
[upd] web-client (simple): Bump eslint in /client/simple
...
Bumps [eslint](https://github.com/eslint/eslint ) from 9.21.0 to 9.22.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/v9.21.0...v9.22.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-15 07:49:34 +01:00
XLion
3fe602a468
[fix] "[fix] uwsgi: don't set static-expires": Clean comment that forgot to cleen
...
I noticed this when I tracking the difference between my current `settings.yml` and the `settings.yml`.
2025-03-11 11:04:34 +01:00
Brock Vojkovic
8b1d73c5b9
[feat] add docker into devcontainer ( #4475 )
2025-03-09 09:40:49 +01:00
Aadniz
a88b4d7036
[fix] presearch engine: domain sometimes included in beginning of titles
2025-03-08 12:39:16 +01:00
Austin-Olacsi
73d50f5748
[feat] add bilibili support to get get_embeded_stream_url
2025-03-08 10:47:30 +01:00
Markus Heiser
523d2a7683
[fix] uwsgi: don't set static-expires
...
As long we don't have a working solution for cache busting [3][4] we should not
set an expire time in thw uWSGI config.
The default procedure in every web browser is the "304 Not Modified" [2] and
this default procedure should also be sufficient for us as long as we have not
implemented a complete alternative (cache busting) / form [1]
> By default uWSGI will add a Last-Modified [2] header to all static responses,
> and will honor the If-Modified-Since [2] request header.
[1] https://uwsgi-docs.readthedocs.io/en/latest/StaticFiles.html#setting-the-expires-headers
[2] https://developer.mozilla.org/de/docs/Web/HTTP/Status/304
[3] https://github.com/searxng/searxng/pull/4433
[4] https://github.com/searxng/searxng/issues/964
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-08 09:08:03 +01:00
Aadniz
4884747508
[fix] presearch engine: Title showing <em> html code
2025-03-07 21:24:35 +01:00
Markus Heiser
eb3633629a
[fix] set language for engines from chinese market (no i18n index nor UI)
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-03-07 19:59:13 +01:00
Loris
02b76c8389
[fix] engine qwant: add tgp and llm arguments to avoid CAPTCHA
2025-03-07 18:58:45 +01:00