25953fa32e
[upd] github-actions: Bump actions/setup-python from 5.6.0 to 6.0.0 ( #5181 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5.6.0 to 6.0.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/a26af69be951a213d495a4c3e4e4022e16d87065...e797f83bcb11b83ae66e0230d6156d7c80228e7c )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-version: 6.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-05 11:42:40 +02:00
a966e10bf5
[upd] web-client (simple): Bump the minor group in /client/simple with 2 updates ( #5179 )
...
* [upd] web-client (simple): Bump the minor group
Bumps the minor group in /client/simple with 2 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) and [vite-bundle-analyzer](https://github.com/nonzzz/vite-bundle-analyzer ).
Updates `@types/node` from 24.3.0 to 24.3.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Updates `vite-bundle-analyzer` from 1.2.2 to 1.2.3
- [Release notes](https://github.com/nonzzz/vite-bundle-analyzer/releases )
- [Changelog](https://github.com/nonzzz/vite-bundle-analyzer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nonzzz/vite-bundle-analyzer/compare/v1.2.2...v1.2.3 )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-version: 24.3.1
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: minor
- dependency-name: vite-bundle-analyzer
dependency-version: 1.2.3
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* update rolldown-vite
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ivan Gabaldon <igabaldon@inetol.net >
2025-09-05 11:38:54 +02:00
d4173f129f
[upd] github-actions: Bump actions/setup-node from 4.4.0 to 5.0.0 ( #5180 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 4.4.0 to 5.0.0.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/49933ea5288caeca8642d1e84afbd3f7d6820020...a0853c24544627f65ddf259abe73b1d18a591444 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-version: 5.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-05 11:13:40 +02:00
02473b68df
[upd] github-actions: Bump github/codeql-action from 3.29.11 to 3.30.0 ( #5182 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.29.11 to 3.30.0.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/3c3833e0f8c1c83d449a7478aa59c036a9165498...2d92b76c45b91eb80fc44c74ce3fce0ee94e8f9d )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.30.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-05 11:11:04 +02:00
github-actions[bot] and GitHub
5a0caf2663
[l10n] update translations from Weblate ( #5183 )
...
8b8b8007b - 2025-09-03 - choonarine <choonarine@noreply.codeberg.org >
2853b3d20 - 2025-09-03 - pywc <pywc@noreply.codeberg.org >
d5a641cda - 2025-09-02 - choonarine <choonarine@noreply.codeberg.org >
270a2efa1 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
356889a32 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
8623e089f - 2025-09-01 - Outbreak2096 <outbreak2096@noreply.codeberg.org >
ea0f92a74 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
864f485f8 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
b3a8ada39 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
2f322377d - 2025-09-01 - return42 <return42@noreply.codeberg.org >
5a4e08e13 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
2099c05fb - 2025-09-01 - return42 <return42@noreply.codeberg.org >
0d4dbe2e8 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
a85407137 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
8631fa640 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
bb9d32a1a - 2025-09-01 - return42 <return42@noreply.codeberg.org >
cd7998051 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
b1cc25fdc - 2025-09-01 - return42 <return42@noreply.codeberg.org >
a822989a3 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
6820b338b - 2025-09-01 - return42 <return42@noreply.codeberg.org >
f06ff0b86 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
17c0a4870 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
e74406e3d - 2025-09-01 - return42 <return42@noreply.codeberg.org >
fb8f1077b - 2025-09-01 - return42 <return42@noreply.codeberg.org >
d14309568 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
a24a3b03a - 2025-09-01 - return42 <return42@noreply.codeberg.org >
080a57782 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
1623f6626 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
fb5177b4d - 2025-09-01 - return42 <return42@noreply.codeberg.org >
f3df8b069 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
9f317f05b - 2025-09-01 - return42 <return42@noreply.codeberg.org >
55161e8ac - 2025-09-01 - return42 <return42@noreply.codeberg.org >
0ac1c3f8f - 2025-09-01 - return42 <return42@noreply.codeberg.org >
c905ec37d - 2025-09-01 - return42 <return42@noreply.codeberg.org >
176dc7ea3 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
b2760ff5f - 2025-09-01 - return42 <return42@noreply.codeberg.org >
9759e2dc2 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
0e5d0c729 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
3ac66987f - 2025-09-01 - return42 <return42@noreply.codeberg.org >
e3d7caf59 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
48b2f1261 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
17d1a44bd - 2025-09-01 - return42 <return42@noreply.codeberg.org >
ed29ae1a3 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
a385f79e8 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
e1bb2681a - 2025-09-01 - return42 <return42@noreply.codeberg.org >
be70384be - 2025-09-01 - return42 <return42@noreply.codeberg.org >
87770e507 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
9d31b74f7 - 2025-09-01 - return42 <return42@noreply.codeberg.org >
2025-09-05 11:09:02 +02:00
Markus Heiser and GitHub
f91c998aa0
[docs] fix some typos in the description of result class Code ( #5174 )
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2025-09-03 14:53:01 +02:00
Markus Heiser
f24d85bc4b
[mod] drop: from __future__ import annotations
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2025-09-03 13:37:36 +02:00
Markus Heiser
57b9673efb
[mod] addition of various type hints / tbc
...
- pyright configuration [1]_
- stub files: types-lxml [2]_
- addition of various type hints
- enable use of new type system features on older Python versions [3]_
- ``.tool-versions`` - set python to lowest version we support (3.10.18) [4]_:
Older versions typically lack some typing features found in newer Python
versions. Therefore, for local type checking (before commit), it is necessary
to use the older Python interpreter.
.. [1] https://docs.basedpyright.com/v1.20.0/configuration/config-files/
.. [2] https://pypi.org/project/types-lxml/
.. [3] https://typing-extensions.readthedocs.io/en/latest/#
.. [4] https://mise.jdx.dev/configuration.html#tool-versions
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
Format: reST
2025-09-03 13:37:36 +02:00
Butui Hu and GitHub
09500459fe
[fix} engine chinaso - parse_images ImageInfo key error ( #5175 )
...
Signed-off-by: Butui Hu <hot123tea123@gmail.com >
2025-09-03 05:59:18 +02:00
b93cc2f9f8
[feat] engines: add repology.org engine for linux packages ( #5103 )
...
Repology_ monitors a huge number of package repositories and other sources
comparing packages versions across them and gathering other information.
Repology_ shows you in which repositories a given project is packaged, which
version is the latest and which needs updating, who maintains the package, and
other related information.
.. _Repology: https://repology.org/docs/about
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de >
Format: reST
2025-09-01 16:33:31 +02:00
Markus Heiser and GitHub
501327ddf1
[fix] engine: searchcode.com is offline (inactive) ( #5170 )
...
Searchcode.com is offline, and its future is still uncertain [1], so the engine
will be deactivated for the time being. If Searchcode.com doesn't come back
online soon, we can remove the engine entirely.
[1] https://boyter.org/posts/searchcode-is-being-rebooted/
[2] https://github.com/searxng/searxng/pull/5131#issuecomment-3239156555
Reported-by: Bnyro <bnyro@tutanota.com > [2]
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2025-09-01 15:35:55 +02:00
Butui Hu and GitHub
932fb22c80
[fix] chinaoso: add random uid to cookie ( #5173 )
...
Signed-off-by: Butui Hu <hot123tea123@gmail.com >
2025-09-01 15:34:17 +02:00
Markus Heiser
e5d2685d8d
[build] /static
2025-09-01 14:51:15 +02:00
Markus Heiser
fb5fd8c819
[mod] simple client: pygments.less - switched dark theme to monokai
...
Compared to ``lightbulb`` theme we used in the past for the dark theme, the
``monokai`` has a better contrast [1].
BTW, the result list of SearXNG should not act as a code-checker: The border &
color of class ``.err`` (used for syntax errors) has been removed / code
snippets are often not well formed nor valid code and the rendering of such code
fragments as errors obscures the view on the code snippet.
[1] https://pygments.org/styles/
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2025-09-01 14:51:15 +02:00
Markus Heiser
9ac9c8c4f5
[mod] typification of SearXNG: add new result type Code
...
This patch adds a new result type: Code
- Python class: searx/result_types/code.py
- Jinja template: searx/templates/simple/result_templates/code.html
- CSS (less) client/simple/src/less/result_types/code.less
Signed-of-by: Markus Heiser <markus.heiser@darmarIT.de >
2025-09-01 14:51:15 +02:00
b8085d27ac
[upd] web-client (simple): Bump the minor group in /client/simple with 3 updates ( #5165 )
...
* [upd] web-client (simple): Bump the minor group
Bumps the minor group in /client/simple with 3 updates: [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome ), [browserslist](https://github.com/browserslist/browserslist ) and [vite-bundle-analyzer](https://github.com/nonzzz/vite-bundle-analyzer ).
Updates `@biomejs/biome` from 2.2.0 to 2.2.2
- [Release notes](https://github.com/biomejs/biome/releases )
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md )
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.2.2/packages/@biomejs/biome )
Updates `browserslist` from 4.25.3 to 4.25.4
- [Release notes](https://github.com/browserslist/browserslist/releases )
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md )
- [Commits](https://github.com/browserslist/browserslist/compare/4.25.3...4.25.4 )
Updates `vite-bundle-analyzer` from 1.2.1 to 1.2.2
- [Release notes](https://github.com/nonzzz/vite-bundle-analyzer/releases )
- [Changelog](https://github.com/nonzzz/vite-bundle-analyzer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nonzzz/vite-bundle-analyzer/compare/v1.2.1...v1.2.2 )
---
updated-dependencies:
- dependency-name: "@biomejs/biome"
dependency-version: 2.2.2
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: minor
- dependency-name: browserslist
dependency-version: 4.25.4
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: minor
- dependency-name: vite-bundle-analyzer
dependency-version: 1.2.2
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [upd] simple client: lift biomejs schemas up to version 2.2.2
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
---------
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de >
2025-08-29 10:22:25 +02:00
dependabot[bot] and GitHub
31322a49b6
[upd] pypi: Bump the minor group with 3 updates ( #5166 )
...
Bumps the minor group with 3 updates: [lxml](https://github.com/lxml/lxml ), [granian[reload]](https://github.com/emmett-framework/granian ) and [granian](https://github.com/emmett-framework/granian ).
Updates `lxml` from 6.0.0 to 6.0.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-6.0.0...lxml-6.0.1 )
Updates `granian[reload]` from 2.5.0 to 2.5.1
- [Release notes](https://github.com/emmett-framework/granian/releases )
- [Commits](https://github.com/emmett-framework/granian/compare/v2.5.0...v2.5.1 )
Updates `granian` from 2.5.0 to 2.5.1
- [Release notes](https://github.com/emmett-framework/granian/releases )
- [Commits](https://github.com/emmett-framework/granian/compare/v2.5.0...v2.5.1 )
2025-08-29 09:13:44 +02:00
github-actions[bot] and GitHub
7e353f74f7
[l10n] update translations from Weblate ( #5168 )
...
87a404001 - 2025-08-28 - hhadi34 <hhadi34@noreply.codeberg.org >
86cd8cd7a - 2025-08-29 - lucasmz.dev <lucasmz.dev@noreply.codeberg.org >
7488333e6 - 2025-08-29 - ghose <ghose@noreply.codeberg.org >
d03da377c - 2025-08-29 - return42 <return42@noreply.codeberg.org >
c63fa5248 - 2025-08-28 - kratos <makesocialfoss32@keemail.me >
db35c0bfe - 2025-08-28 - Artiman <artiman@noreply.codeberg.org >
13028fa72 - 2025-08-28 - return42 <return42@noreply.codeberg.org >
d984f1cef - 2025-08-28 - return42 <return42@noreply.codeberg.org >
4ec477015 - 2025-08-28 - SomeTr <sometr@noreply.codeberg.org >
a74603ff8 - 2025-08-28 - sprinklerillicitly <sprinklerillicitly@noreply.codeberg.org >
2025-08-29 09:12:35 +02:00
github-actions[bot] and GitHub
fde4fac3ca
[data] update searx.data - update_external_bangs.py ( #5158 )
2025-08-29 07:07:46 +02:00
github-actions[bot] and GitHub
a9263fd063
[data] update searx.data - update_wikidata_units.py ( #5159 )
2025-08-29 07:07:00 +02:00
github-actions[bot] and GitHub
146cefe7fa
[data] update searx.data - update_firefox_version.py ( #5160 )
2025-08-29 07:05:08 +02:00
github-actions[bot] and GitHub
2a7d26b714
[data] update searx.data - update_ahmia_blacklist.py ( #5161 )
2025-08-29 07:04:41 +02:00
github-actions[bot] and GitHub
480914d736
[data] update searx.data - update_currencies.py ( #5162 )
2025-08-29 07:04:12 +02:00
github-actions[bot] and GitHub
edc50768cc
[data] update searx.data - update_engine_traits.py ( #5163 )
2025-08-29 07:03:29 +02:00
github-actions[bot] and GitHub
a519a13bfa
[data] update searx.data - update_engine_descriptions.py ( #5164 )
2025-08-29 07:02:31 +02:00
Bnyro and Markus Heiser
f971774773
[fix] annas archive: engine broken due to site HTML changes
...
Apparently the layout of https://annas-archive.org has changed, making changes necessary.
The issue has been reported in #5146 , see there for more details.
- closes #5146
2025-08-28 19:24:37 +02:00
Bnyro and Markus Heiser
5ca08c1813
[feat] plugins: add new time/timezone search plugin
...
The plugin uses the ``GeoLocation`` class, which is already implemented in the
context of weather forecasts, to determine the time zone. The ``DateTime`` class
is used for the localized display of date and time.
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de >
2025-08-28 10:49:50 +02:00
Markus Heiser
90e602b349
[fix] typo in the docs about HTML method POST versus GET
2025-08-27 10:17:24 +02:00
Markus Heiser
71f90755c4
[doc] fix missing link in `default_http_headers` description
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
Format: reST
2025-08-26 08:20:56 +02:00
Markus Heiser
92463ce6a7
[doc] adds the missing documentation of the server.method settings.
...
TL;DR; For all the issues that comes with HTTP POST I recommend instance
maintainers to switch to GET and lock the property in the preferences:
```yaml
server:
method: GET
preferences:
lock:
- method
```
We don't want this in the defaults of the SearXNG distributions for the pros vs
cons listed in this discussion:
- https://github.com/searxng/searxng/pull/3619
2025-08-26 08:20:56 +02:00
Markus Heiser and GitHub
a369fe8f29
[mod] py3.9 EOL ( #5148 )
...
[1] https://devguide.python.org/versions/
[2] https://peps.python.org/pep-0596/
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2025-08-26 07:46:20 +02:00
muthukumaran R and GitHub
a0ff173799
[feat] engines: add OpenAlex Works engine ( #5102 )
...
- Adds a new engine `searx/engines/openalex.py` that integrates the OpenAlex
Works API to return scientific paper results using the `paper.html` template.
- Uses the official API (no auth required); supports OpenAlex polite pool via `mailto`.
- Adds developer docs at `docs/dev/engines/online/openalex.rst`.
OpenAlex API reference: https://docs.openalex.org/how-to-use-the-api/api-overview
2025-08-24 14:17:30 +02:00
11ea1a8134
[upd] web-client (simple): Bump the minor group ( #5144 )
...
Bumps the minor group in /client/simple with 2 updates: [browserslist](https://github.com/browserslist/browserslist ) and [less](https://github.com/less/less.js ).
Updates `browserslist` from 4.25.2 to 4.25.3
- [Release notes](https://github.com/browserslist/browserslist/releases )
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md )
- [Commits](https://github.com/browserslist/browserslist/compare/4.25.2...4.25.3 )
Updates `less` from 4.4.0 to 4.4.1
- [Release notes](https://github.com/less/less.js/releases )
- [Changelog](https://github.com/less/less.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/less/less.js/commits )
---
updated-dependencies:
- dependency-name: browserslist
dependency-version: 4.25.3
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: minor
- dependency-name: less
dependency-version: 4.4.1
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-22 10:04:37 +02:00
e22ebd8817
[upd] github-actions: Bump github/codeql-action from 3.29.9 to 3.29.11 ( #5143 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.29.9 to 3.29.11.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/df559355d593797519d70b90fc8edd5db049e7a2...3c3833e0f8c1c83d449a7478aa59c036a9165498 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.29.11
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-22 10:01:53 +02:00
dependabot[bot] and GitHub
d8048dc75b
[upd] pypi: Bump the minor group with 4 updates ( #5142 )
...
Bumps the minor group with 4 updates: [flask](https://github.com/pallets/flask ), [typer-slim](https://github.com/fastapi/typer ), [pylint](https://github.com/pylint-dev/pylint ) and [basedpyright](https://github.com/detachhead/basedpyright ).
Updates `flask` from 3.1.1 to 3.1.2
- [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.1.1...3.1.2 )
Updates `typer-slim` from 0.16.0 to 0.16.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.16.0...0.16.1 )
Updates `pylint` from 3.3.7 to 3.3.8
- [Release notes](https://github.com/pylint-dev/pylint/releases )
- [Commits](https://github.com/pylint-dev/pylint/compare/v3.3.7...v3.3.8 )
Updates `basedpyright` from 1.31.0 to 1.31.3
- [Release notes](https://github.com/detachhead/basedpyright/releases )
- [Commits](https://github.com/detachhead/basedpyright/compare/v1.31.0...v1.31.3 )
2025-08-22 09:53:26 +02:00
github-actions[bot] and GitHub
b1e461eb4b
[l10n] update translations from Weblate ( #5141 )
...
a4922b114 - 2025-08-21 - KOUSTAV <koustav@noreply.codeberg.org >
3f61bddd1 - 2025-08-18 - reis2724 <reis2724@noreply.codeberg.org >
7313a683d - 2025-08-19 - Kemystra <kemystra@noreply.codeberg.org >
92e1bce48 - 2025-08-19 - Artiman <artiman@noreply.codeberg.org >
0f27c1bc2 - 2025-08-18 - youtherthyf <youtherthyf@noreply.codeberg.org >
60496bc76 - 2025-08-16 - alexgabi <alexgabi@noreply.codeberg.org >
742982d00 - 2025-08-15 - lucasmz.dev <lucasmz.dev@noreply.codeberg.org >
2025-08-22 09:51:03 +02:00
Markus Heiser
cfb6649b90
[build] /static
2025-08-21 14:04:13 +02:00
Amit Katyal and Markus Heiser
5ca70ca17e
[feat] client/simple: move cursor to end of search input on mobile
...
On mobile devices, when the search input is focused, move the cursor
to the end of the existing text. This improves the user experience by
making it easier to edit or append to the current query without
manually moving the cursor first.
Closes: https://github.com/searxng/searxng/issues/5112
2025-08-21 14:04:13 +02:00
Markus Heiser
22c2c93274
[build] /static
2025-08-21 09:07:08 +02:00
Markus Heiser
d2b3c92e81
[fix] move initial "JS is enabled?" (no-js) to client side
...
To avoid an `unsafe-inline` in the CSP header, the JS code must be moved to the
client side [1].
The `<script>` tag at the end of the HTML originates from the old implementation
of the JS client. Since PR-5073 [2] was merged, the `type` is now `module`, and
the tag must be moved to the beginning of the HTML.
> We need to inline this "JS is enabled?" thing to prevent layout shifts and
> temporary "no JS enabled" visuals as ESM scripts loads and evals everything
> deferred from initial DOM render [3]
That's true in theory, but in practice, this effect is unnoticeable because it's
masked by another effect (which we can't avoid): If we load the page with a
severely throttled connection, the HTML (result list) takes a long time to
load. Then the CSS is loaded, which also takes longer. Until the CSS has loaded,
there's no layout. A layout shift is therefore largely determined by the loading
of the HTML and CSS itself.
The running times of the ESM script can be neglected compared to the loading
times of HTML & CSS.
[1] https://github.com/searxng/searxng-docker/pull/424#issuecomment-3199494256
[2] https://github.com/searxng/searxng/pull/5073
[3] https://github.com/searxng/searxng-docker/pull/424#issuecomment-3199622504
2025-08-21 09:07:08 +02:00
Ivan Gabaldon and GitHub
41a4a3e224
[fix] template: safesearch uses the wrong type ( #5136 )
...
This fixes a regression from
60bd8b9#diff-1b714182564ef1fa942ff81b28f9ba3365ab76f75346f4255398bf9d6064b4cc
Closes https://github.com/searxng/searxng/issues/5135
2025-08-20 18:04:13 +02:00
Bnyro and GitHub
3649917ce6
[fix] webapp: safesearch uses wrong default value ( #5134 )
...
- this fixes a regression from https://github.com/searxng/searxng/commit/60bd8b90f04d5d825fc8ac279cb7fdfde9fe78ea#diff-1b714182564ef1fa942ff81b28f9ba3365ab76f75346f4255398bf9d6064b4cc
- closes https://github.com/searxng/searxng/issues/5130
2025-08-20 14:39:05 +02:00
Bnyro
0369682690
[fix] selfhst icons: icon list url invalid, set to active
...
- the previous CDN icon list url no longer works
- a list of all icons is mirrored to the JSDelivr CDN however
- there's no reason to set the engine to inactive now that we use public CDNs
2025-08-20 14:27:17 +02:00
6b57705e50
[feat] engines: add GitHub Code Search engine ( #5074 )
...
This patch adds GitHub Code Search [1] engine to allow querying the codebases.
Template code.html is changed to allow passthrough of strip and highlighting
options.
Engine Searchcode is adjusted to pass filename and not rely on hardcoded
extensions.
GitHub search code API does not return the exact code line indices, this
implementation assigns the code arbitrary numbers starting from 1
(effectively relabeling the code).
The API allows for unauth calls, and the default engine settings default to
that, although the calls are heavily rate limited.
The 'text' lexer is the default pygments lexer when parsing fails.
[1] https://docs.github.com/en/rest/search/search?apiVersion=2022-11-28#search-code
Co-authored-by: Markus Heiser <markus.heiser@darmarIT.de >
2025-08-20 07:35:31 +02:00
Markus Heiser
25647c20d1
[mod] switching from pyright to basedpyright (plus first rules)
...
pyrightconfig.json :
for the paths searx, searxng_extra and tests, individual rules were
defined (for example, in test fewer / different rules are needed than in the
searx package
searx/engines/__builtins__.pyi :
The builtin types that are added to the global namespace of a module by the
intended monkey patching of the engine modules / replaces the previous
filtering of the stdout using grep.
test.pyright_modified (utils/lib_sxng_test.sh) :
static type check of local modified files not yet commited
make test :
prerequisite 'test.pyright' has been replaced by 'test.pyright_modified'
searx/engines/__init__.py, searx/enginelib/__init__.py :
First, minimal typifications that were considered necessary.
2025-08-19 12:04:35 +02:00
9bb04e288d
[upd] web-client (simple): Bump the minor group across 1 directory with 6 updates ( #5128 )
...
* [upd] web-client (simple): Bump the minor group across 1 directory with 6 updates
Bumps the minor group with 6 updates in the /client/simple directory:
| Package | From | To |
| --- | --- | --- |
| [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome ) | `2.1.3` | `2.2.0` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) | `24.2.0` | `24.3.0` |
| [browserslist](https://github.com/browserslist/browserslist ) | `4.25.1` | `4.25.2` |
| [edge.js](https://github.com/edge-js/edge ) | `6.2.1` | `6.3.0` |
| [stylelint](https://github.com/stylelint/stylelint ) | `16.23.0` | `16.23.1` |
| [vite-bundle-analyzer](https://github.com/nonzzz/vite-bundle-analyzer ) | `1.1.0` | `1.2.1` |
Updates `@biomejs/biome` from 2.1.3 to 2.2.0
- [Release notes](https://github.com/biomejs/biome/releases )
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md )
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.2.0/packages/@biomejs/biome )
Updates `@types/node` from 24.2.0 to 24.3.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Updates `browserslist` from 4.25.1 to 4.25.2
- [Release notes](https://github.com/browserslist/browserslist/releases )
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md )
- [Commits](https://github.com/browserslist/browserslist/compare/4.25.1...4.25.2 )
Updates `edge.js` from 6.2.1 to 6.3.0
- [Release notes](https://github.com/edge-js/edge/releases )
- [Changelog](https://github.com/edge-js/edge/blob/6.x/CHANGELOG.md )
- [Commits](https://github.com/edge-js/edge/compare/v6.2.1...v6.3.0 )
Updates `stylelint` from 16.23.0 to 16.23.1
- [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.23.0...16.23.1 )
Updates `vite-bundle-analyzer` from 1.1.0 to 1.2.1
- [Release notes](https://github.com/nonzzz/vite-bundle-analyzer/releases )
- [Changelog](https://github.com/nonzzz/vite-bundle-analyzer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nonzzz/vite-bundle-analyzer/compare/v1.1.0...v1.2.1 )
---
updated-dependencies:
- dependency-name: "@biomejs/biome"
dependency-version: 2.2.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: minor
- dependency-name: "@types/node"
dependency-version: 24.3.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: minor
- dependency-name: browserslist
dependency-version: 4.25.2
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: minor
- dependency-name: edge.js
dependency-version: 6.3.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: minor
- dependency-name: stylelint
dependency-version: 16.23.1
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: minor
- dependency-name: vite-bundle-analyzer
dependency-version: 1.2.1
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [fix] themes/simple: recreate lock
* [fix] themes/simple: promote from nursery
- noAwaitInLoop
- noBitwiseOperators
- noConstantBinaryExpression
- noGlobalDirnameFilename
- noImplicitCoercion
- noUnassignedVariables
- noUselessBackrefInRegex
- noUselessEscapeInString
- useAdjacentGetterSetter
- useConsistentObjectDefinition
- useConsistentResponse
- useIndexOf
- useIterableCallbackReturn
- useJsonImportAttribute
- useNumericSeparators
- useObjectSpread
- useParseIntRadix
- useReadonlyClassProperties
- useSingleJsDocAsterisk
- useUnifiedTypeSignature
* [fix] themes/simple: build static
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ivan Gabaldon <igabaldon@inetol.net >
2025-08-18 23:17:50 +02:00
Ivan Gabaldon and GitHub
5f364ad999
[fix] container: change mirror ( #5127 )
...
`mirrors.edge.kernel.org` has weird issues, use the official mirror and avoid
future issues.
2025-08-18 21:33:27 +02:00
547d9dcee7
[upd] pypi: Bump the minor group across 1 directory with 2 updates ( #5126 )
...
Bumps the minor group with 2 updates in the / directory: [valkey](https://github.com/valkey-io/valkey-py ) and [selenium](https://github.com/SeleniumHQ/Selenium ).
Updates `valkey` from 6.1.0 to 6.1.1
- [Release notes](https://github.com/valkey-io/valkey-py/releases )
- [Commits](https://github.com/valkey-io/valkey-py/compare/v6.1.0...v6.1.1 )
Updates `selenium` from 4.34.2 to 4.35.0
- [Release notes](https://github.com/SeleniumHQ/Selenium/releases )
- [Commits](https://github.com/SeleniumHQ/Selenium/commits/selenium-4.35.0 )
---
updated-dependencies:
- dependency-name: valkey
dependency-version: 6.1.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: minor
- dependency-name: selenium
dependency-version: 4.35.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-18 20:00:37 +02:00
4304150d7f
[l10n] update translations from Weblate ( #5117 )
...
b0a695592 - 2025-08-14 - zymurge <zymurge@noreply.codeberg.org >
17c30fdae - 2025-08-14 - c2qd <c2qd@noreply.codeberg.org >
a1dc25ec1 - 2025-08-12 - Kemystra <kemystra@noreply.codeberg.org >
a6c4a30e3 - 2025-08-12 - ijxp <ijxp@noreply.codeberg.org >
Co-authored-by: searxng-bot <searxng-bot@users.noreply.github.com >
2025-08-18 19:42:38 +02:00
Markus Heiser
9b4ea64429
[build] /static
2025-08-18 16:38:32 +02:00