Markus Heiser
a05aa81d79
[fix] broken link in the doc-strings of the json engine
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-30 14:29:23 +01:00
Markus Heiser
f4250b6d40
[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-01-30 14:24:38 +01:00
return42
738906358b
[data] update searx.data - update_currencies.py
2025-01-29 06:23:04 +01:00
return42
fc8938c968
[data] update searx.data - update_ahmia_blacklist.py
2025-01-29 06:07:28 +01:00
return42
3b9e06fbd2
[data] update searx.data - update_wikidata_units.py
2025-01-29 06:06:50 +01:00
return42
4934922156
[data] update searx.data - update_engine_traits.py
2025-01-29 06:05:58 +01:00
return42
bee39e4ec0
[data] update searx.data - update_engine_descriptions.py
2025-01-29 06:04:54 +01:00
Markus Heiser
3f4e0b0859
[fix] gettext can't work with f-strings (i10n)
...
``str.format`` is the pythonic way of handling strings returned by
gettext.gettext that retain interpolation tokens.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-29 06:04:09 +01:00
Markus Heiser
a235c54f8c
[mod] rudimentary implementation of a MainResult type
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-29 05:04:41 +01:00
Markus Heiser
df3344e5d5
[fix] JSON & CSV format return error 500
...
For CSV and JSON output, the LegacyResult and the Result objects needs to be
converted to a python dictionary.
Closes: https://github.com/searxng/searxng/issues/4244
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-29 05:04:41 +01:00
Markus Heiser
906b9e7d4c
[fix] hostnames plugin: AttributeError: 'NoneType' object has no attribute 'netloc'
...
Closes: https://github.com/searxng/searxng/issues/4245
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-28 16:28:12 +01:00
Markus Heiser
36a1ef1239
[refactor] typification of SearXNG / EngineResults
...
In [1] and [2] we discussed the need of a Result.results property and how we can
avoid unclear code. This patch implements a class for the reslut-lists of
engines::
searx.result_types.EngineResults
A simple example for the usage in engine development::
from searx.result_types import EngineResults
...
def response(resp) -> EngineResults:
res = EngineResults()
...
res.add( res.types.Answer(answer="lorem ipsum ..", url="https://example.org ") )
...
return res
[1] https://github.com/searxng/searxng/pull/4183#pullrequestreview-257400034
[2] https://github.com/searxng/searxng/pull/4183#issuecomment-2614301580
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-28 07:07:08 +01:00
Markus Heiser
edfbf1e118
[refactor] typification of SearXNG (initial) / result items (part 1)
...
Typification of SearXNG
=======================
This patch introduces the typing of the results. The why and how is described
in the documentation, please generate the documentation ..
$ make docs.clean docs.live
and read the following articles in the "Developer documentation":
- result types --> http://0.0.0.0:8000/dev/result_types/index.html
The result types are available from the `searx.result_types` module. The
following have been implemented so far:
- base result type: `searx.result_type.Result`
--> http://0.0.0.0:8000/dev/result_types/base_result.html
- answer results
--> http://0.0.0.0:8000/dev/result_types/answer.html
including the type for translations (inspired by #3925 ). For all other
types (which still need to be set up in subsequent PRs), template documentation
has been created for the transition period.
Doc of the fields used in Templates
===================================
The template documentation is the basis for the typing and is the first complete
documentation of the results (needed for engine development). It is the
"working paper" (the plan) with which further typifications can be implemented
in subsequent PRs.
- https://github.com/searxng/searxng/issues/357
Answer Templates
================
With the new (sub) types for `Answer`, the templates for the answers have also
been revised, `Translation` are now displayed with collapsible entries (inspired
by #3925 ).
!en-de dog
Plugins & Answerer
==================
The implementation for `Plugin` and `Answer` has been revised, see
documentation:
- Plugin: http://0.0.0.0:8000/dev/plugins/index.html
- Answerer: http://0.0.0.0:8000/dev/answerers/index.html
With `AnswerStorage` and `AnswerStorage` to manage those items (in follow up
PRs, `ArticleStorage`, `InfoStorage` and .. will be implemented)
Autocomplete
============
The autocompletion had a bug where the results from `Answer` had not been shown
in the past. To test activate autocompletion and try search terms for which we
have answerers
- statistics: type `min 1 2 3` .. in the completion list you should find an
entry like `[de] min(1, 2, 3) = 1`
- random: type `random uuid` .. in the completion list, the first item is a
random UUID
Extended Types
==============
SearXNG extends e.g. the request and response types of flask and httpx, a module
has been set up for type extensions:
- Extended Types
--> http://0.0.0.0:8000/dev/extended_types.html
Unit-Tests
==========
The unit tests have been completely revised. In the previous implementation,
the runtime (the global variables such as `searx.settings`) was not initialized
before each test, so the runtime environment with which a test ran was always
determined by the tests that ran before it. This was also the reason why we
sometimes had to observe non-deterministic errors in the tests in the past:
- https://github.com/searxng/searxng/issues/2988 is one example for the Runtime
issues, with non-deterministic behavior ..
- https://github.com/searxng/searxng/pull/3650
- https://github.com/searxng/searxng/pull/3654
- https://github.com/searxng/searxng/pull/3642#issuecomment-2226884469
- https://github.com/searxng/searxng/pull/3746#issuecomment-2300965005
Why msgspec.Struct
==================
We have already discussed typing based on e.g. `TypeDict` or `dataclass` in the past:
- https://github.com/searxng/searxng/pull/1562/files
- https://gist.github.com/dalf/972eb05e7a9bee161487132a7de244d2
- https://github.com/searxng/searxng/pull/1412/files
- https://github.com/searxng/searxng/pull/1356
In my opinion, TypeDict is unsuitable because the objects are still dictionaries
and not instances of classes / the `dataclass` are classes but ...
The `msgspec.Struct` combine the advantages of typing, runtime behaviour and
also offer the option of (fast) serializing (incl. type check) the objects.
Currently not possible but conceivable with `msgspec`: Outsourcing the engines
into separate processes, what possibilities this opens up in the future is left
to the imagination!
Internally, we have already defined that it is desirable to decouple the
development of the engines from the development of the SearXNG core / The
serialization of the `Result` objects is a prerequisite for this.
HINT: The threads listed above were the template for this PR, even though the
implementation here is based on msgspec. They should also be an inspiration for
the following PRs of typification, as the models and implementations can provide
a good direction.
Why just one commit?
====================
I tried to create several (thematically separated) commits, but gave up at some
point ... there are too many things to tackle at once / The comprehensibility of
the commits would not be improved by a thematic separation. On the contrary, we
would have to make multiple changes at the same places and the goal of a change
would be vaguely recognizable in the fog of the commits.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-28 07:07:08 +01:00
Bnyro
9079d0cac0
[refactor] translation engines: common interface
2025-01-28 07:07:08 +01:00
Denperidge
70f1b65008
[feat] engines: add NixOS Wiki
...
Co-authored-by: Bnyro <bnyro@tutanota.com>
2025-01-26 20:12:19 +01:00
Markus Heiser
06f6ee4e36
[build] /static
2025-01-26 13:34:52 +01:00
Markus Heiser
9beff8212b
[refactor] results.js: wait one second before loading full high-res image
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-26 13:34:52 +01:00
Bnyro
cf4e183790
[refactor] results.js: cancel image loading after next one selected
2025-01-26 13:34:52 +01:00
Bnyro
c1fcee9d9f
[docs] settings_search.rst: add missing autocompletion providers
2025-01-26 08:38:29 +01:00
Bnyro
176079977d
[chore] autocomplete.py: order autocompletion engines alphabetically
2025-01-25 12:12:46 +01:00
Zhijie He
f3f13519ff
[feat] autocompletion: add baidu search autocompleter ( #4227 )
2025-01-25 11:59:10 +01:00
dependabot[bot]
04a6ab12fb
[upd] npm: Bump less from 4.2.1 to 4.2.2 in /searx/static/themes/simple
...
Bumps [less](https://github.com/less/less.js ) from 4.2.1 to 4.2.2.
- [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: less
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-24 20:24:52 +01:00
searxng-bot
edf6d96625
[l10n] update translations from Weblate
...
8a0e2e2d6
- 2025-01-21 - return42 <return42@users.noreply.translate.codeberg.org>
b70a88fec
- 2025-01-19 - rajeeban <rajeeban@users.noreply.translate.codeberg.org>
2025-01-24 09:52:04 +01:00
dependabot[bot]
fa50324dae
[upd] pypi: Bump selenium from 4.27.1 to 4.28.1
...
Bumps [selenium](https://github.com/SeleniumHQ/Selenium ) from 4.27.1 to 4.28.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>
2025-01-24 09:48:34 +01:00
Markus Heiser
bee2677929
[build] /static
2025-01-21 22:55:45 +01:00
Markus Heiser
e7081bb2c1
[update] make pygments.less
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-21 16:12:27 +01:00
dependabot[bot]
1fde000499
[upd] pypi: Bump pygments from 2.18.0 to 2.19.1
...
Bumps [pygments](https://github.com/pygments/pygments ) from 2.18.0 to 2.19.1.
- [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.18.0...2.19.1 )
---
updated-dependencies:
- dependency-name: pygments
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-21 16:12:27 +01:00
Bnyro
8731e37796
[build] /static
2025-01-20 18:46:31 +01:00
Bnyro
e92d1bc6af
[fix] results.js: back button not working after closing image result manually
2025-01-20 18:46:31 +01:00
Bnyro
f766faca3f
[feat] engines: add ipernity (images)
2025-01-20 17:22:32 +01:00
dependabot[bot]
c020a964e4
[upd] npm: Bump eslint in /searx/static/themes/simple
...
Bumps [eslint](https://github.com/eslint/eslint ) from 9.17.0 to 9.18.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.17.0...v9.18.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-01-20 16:53:12 +01:00
dependabot[bot]
46b16e6ff1
[upd] npm: Bump stylelint-config-standard in /searx/static/themes/simple
...
Bumps [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard ) from 36.0.1 to 37.0.0.
- [Release notes](https://github.com/stylelint/stylelint-config-standard/releases )
- [Changelog](https://github.com/stylelint/stylelint-config-standard/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint/stylelint-config-standard/compare/36.0.1...37.0.0 )
---
updated-dependencies:
- dependency-name: stylelint-config-standard
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 16:52:21 +01:00
Markus Heiser
98c66c0ae6
[build] /static
2025-01-20 16:41:00 +01:00
Markus Heiser
c06ec65b2a
[fix] LESS sourcemaps broken in less-plugin-clean-css v1.6.0
...
The ``less-plugin-clean-css`` lacks some maintenance: the sourcemaps are broken
since v1.6.0 (08/2024) [1]
- [1] https://github.com/less/less-plugin-clean-css/issues/42
Closes: https://github.com/searxng/searxng/issues/4143
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-20 16:41:00 +01:00
Markus Heiser
e581921c92
[fix] engine brave: remove date from the content string
...
Related: https://github.com/searxng/searxng/issues/4211#issuecomment-2601941440
Closes: https://github.com/searxng/searxng/issues/4006
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-20 16:40:36 +01:00
Markus Heiser
073d9549a0
[build] /static
2025-01-20 13:52:43 +01:00
Markus Heiser
601ffcb8a3
[mod] add swipe events to the image gallery (gesture control)
...
Adds [1] to the searxng.min.js and horizontal swipe events to the image gallery.
[1] https://www.npmjs.com/package/swiped-events
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-20 13:52:43 +01:00
Markus Heiser
d9115b8d48
[build] /static
2025-01-20 13:29:26 +01:00
Bnyro
c760ad0808
[feat] image results: dismiss image viewer on back button press on mobile devices
2025-01-20 13:29:26 +01:00
Bnyro
2f087a3a22
[feat] public domain image archive: automatically obtain algolia api key
2025-01-20 12:56:15 +01:00
Denperidge
3333d9f385
[feat] engines: public domain image archive
2025-01-20 12:56:15 +01:00
Popolon
1a885b70ce
[feat] wikidata: add mastodon, peertube and Lemmy accounts to infobox
...
Co-authored-by: Popolon <popolon@popolon.org>
Co-authored-by: Bnyro <bnyro@tutanota.com>
2025-01-20 11:19:56 +01:00
searxng-bot
a576f69c12
[l10n] update translations from Weblate
...
09c56a561
- 2025-01-16 - tentsbet <tentsbet@users.noreply.translate.codeberg.org>
219fff972
- 2025-01-14 - hirushaadi <hirushaadi@users.noreply.translate.codeberg.org>
2b4b64e60
- 2025-01-14 - return42 <return42@users.noreply.translate.codeberg.org>
6a359da17
- 2025-01-14 - return42 <return42@users.noreply.translate.codeberg.org>
2025-01-17 08:13:57 +01:00
DanielMowitz
272e39893d
[feat]: engines: add astrophysical data system
2025-01-16 20:27:55 +01:00
Markus Heiser
41159fed32
[build] /static
2025-01-16 10:51:33 +01:00
Markus Heiser
b1507f188e
[fix] gallery view overlaps category bar
...
Closes: https://github.com/searxng/searxng/issues/4190
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-16 10:51:33 +01:00
Markus Heiser
1668ff5e64
[fix] theme simple: image viewer hides autocomplete suggestions
...
Closes: https://github.com/searxng/searxng/issues/3509
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-16 10:51:33 +01:00
Markus Heiser
f03ab00155
[fix] broken mobile view (from #4154 )
...
Related:
- https://github.com/searxng/searxng/pull/4154#issuecomment-2591881963
Closes: https://github.com/searxng/searxng/issues/4187
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-16 10:51:33 +01:00
Markus Heiser
15d0e274b3
[fix] build workflows of the themes
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-16 10:51:33 +01:00
Markus Heiser
e4f8f0483f
[mod] slightly improve make node.clean themes.all
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-14 15:22:23 +01:00
Bnyro
5a1a43ef74
[build] /static
2025-01-14 15:22:23 +01:00
Bnyro
94b6adf03d
[chore] stylelint: fix reported errors
2025-01-14 15:22:23 +01:00
Bnyro
337a6db064
[upd] stylelint: use less-compatible configuration and update rules
2025-01-14 15:22:23 +01:00
Markus Heiser
9d834c0722
[fix] issues reported by sytlelint
...
"Unexpected vendor-prefixed":
-webkit-transform & -ms-transform [3]
-webkit-animation [2]
@-webkit-keyframes [1]
[1] https://developer.mozilla.org/en-US/docs/Web/CSS/@keyframes
[2] https://developer.mozilla.org/en-US/docs/Web/CSS/animation
[3] https://developer.mozilla.org/en-US/docs/Web/CSS/transform
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-14 15:22:23 +01:00
Markus Heiser
0abad23daa
[upd] migrate .eslintrc.json to eslint.config.mjs
...
The migration was done by the following steps, firts prepare the node enviroment
an open a bash in this environment::
$ make clean nvm.nodejs
...
$ ./manage nvm.bash
$ which npx
searxng/.nvm/versions/node/v23.5.0/bin/npx
In this environment the migration command from [1] is started::
$ npx @eslint/migrate-config .eslintrc.json
Need to install the following packages:
@eslint/migrate-config@1.3.5
Migrating .eslintrc.json
Wrote new config to ./eslint.config.mjs
You will need to install the following packages to use the new config:
- globals
- @eslint/js
- @eslint/eslintrc
You can install them using the following command:
npm install globals @eslint/js @eslint/eslintrc -D
The following messages were generated during migration:
- The 'node' environment is used, so switching sourceType to 'commonjs'.
[1] https://eslint.org/docs/latest/use/configure/migration-guide#migrate-your-config-file
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-14 15:22:23 +01:00
Markus Heiser
943c8fb85b
[upd] update npm dependencies (package.json) and .tool-versions
...
To avoid issue like [1], versions from now on are pinned in::
searx/static/themes/simple/package-lock.json
To test nodejs v23 or newer is needed (will be installed by nvm). To drop a
possibly existing installation::
$ make clean
Install nodejs in nvm::
$ make nvm.nodejs
INFO: install (update) NVM at searxng/.nvm
...
Now using node v23.5.0 (npm v10.9.2)
Creating default alias: default -> v23.5 (-> v23.5.0)
INFO: Node.js is installed at searxng/.nvm/versions/node/v23.5.0/bin/node
INFO: Node.js is version v23.5.0
INFO: npm is installed at searxng/.nvm/versions/node/v23.5.0/bin/npm
INFO: npm is version 10.9.2
INFO: NVM is installed at searxng/.nvm
To test npm checks and builds:
$ make static.build.commit
Related:
[1] https://github.com/searxng/searxng/issues/4143
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-14 15:22:23 +01:00
Lucki
35c80268bf
[json_engine] Fix R0912 (too-many-branches)
2025-01-14 14:07:35 +01:00
Lucki
3942b311ac
[json_engine] Add unit test
2025-01-14 14:07:35 +01:00
Lucki
64d954b350
[json_engine] mirror xpath functionality
2025-01-14 14:07:35 +01:00
Lucki
591d9c2505
[json_engine] document existing options
2025-01-14 14:07:35 +01:00
Markus Heiser
09cce18518
[data] update searx.data - make data.all
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-13 08:02:01 +01:00
searxng-bot
94a0b415ef
[l10n] update translations from Weblate
...
8f8f92dc0
- 2025-01-10 - hirushaadi <hirushaadi@users.noreply.translate.codeberg.org>
d4ae2e4ba
- 2025-01-08 - Harshith-10 <harshith-10@users.noreply.translate.codeberg.org>
05848d0bb
- 2025-01-08 - return42 <return42@users.noreply.translate.codeberg.org>
151cde7fc
- 2025-01-08 - return42 <return42@users.noreply.translate.codeberg.org>
43ba79c99
- 2025-01-06 - return42 <return42@users.noreply.translate.codeberg.org>
2025-01-10 08:13:22 +01:00
Markus Heiser
6dab7fe78b
Revert "[l10n ga] trigger weblate.push.translations (another try)"
...
This reverts commit e352926187
.
2025-01-06 17:12:16 +01:00
Markus Heiser
e352926187
[l10n ga] trigger weblate.push.translations (another try)
...
Related:
- https://github.com/searxng/searxng/issues/4117
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-06 16:59:20 +01:00
Markus Heiser
b0391fe718
reomve DUMMY from searxng.msg catalog
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-06 16:24:44 +01:00
Markus Heiser
91d3d38690
[l10n ga] trigger weblate.push.translations
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-06 16:16:04 +01:00
Markus Heiser
c5991865c8
[fix] l10n ga (Irish) messages.po is marked as fuzzy
...
$ ./manage pyenv.cmd pybabel compile --statistics -d searx/translations/
reports:
catalog searx/translations/ga/LC_MESSAGES/messages.po is marked as fuzzy, skipping
This commit removes the ``fuzzy`` tag and BTW reverts commit 655e41f27
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-06 15:49:21 +01:00
Markus Heiser
655e41f274
[l10n ga] trigger weblate.push.translations
...
Related:
- https://github.com/searxng/searxng/issues/4117
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-06 14:54:41 +01:00
Aindriú Mac Giolla Eoin
d9343b6388
[l10n] adding new language Irish (ga)
2025-01-06 14:54:41 +01:00
Bnyro
0642c5434a
[fix] dockerhub: switch to new api path
...
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-06 13:46:13 +01:00
Lucki
18c3e08837
Fix usage of api_key
engine setting
...
The value of `params['api_key']` isn't read anywhere.
Writing directly into the header object solves this quite easily though.
> [Users can authenticate by including their API key either in a request URL by appending `?apikey=<API KEY>`, or by including the `X-API-Key: <API KEY>` header with the request.](https://wallhaven.cc/help/api )
2025-01-06 12:25:33 +01:00
Alexandre Flament
96c32549be
[fix] requirements-dev.txt: remove autodoc_pydantic
...
Related to #3727
2025-01-05 09:31:03 +01:00
searxng-bot
a060c09854
[l10n] update translations from Weblate
...
3db237112
- 2024-12-31 - kratos <kratos@users.noreply.translate.codeberg.org>
2025-01-03 08:49:25 +01:00
Markus Heiser
c1bb0bebd4
[data] update searx.data - update_engine_traits.py
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-12-29 10:12:45 +01:00
Markus Heiser
af3f272b0b
[fix] update_engine_traits.py: annas archive, bing-* and zlibrary engines
...
Github action Update data - update_engine_traits [1] had issues in annas
archive, bing-* and zlibrary engines:
./manage pyenv.cmd python ./searxng_extra/update/update_engine_traits.py
[1] https://github.com/searxng/searxng/actions/runs/12530827768/job/34953392587
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-12-29 10:12:45 +01:00
return42
05c82d3201
[data] update searx.data - update_engine_descriptions.py
2024-12-29 10:12:24 +01:00
return42
f0e9c3be8c
[data] update searx.data - update_currencies.py
2024-12-29 10:11:38 +01:00
return42
428eaea2b7
[data] update searx.data - update_wikidata_units.py
2024-12-29 10:11:09 +01:00
return42
3d55008f23
[data] update searx.data - update_ahmia_blacklist.py
2024-12-29 10:10:38 +01:00
Markus Heiser
9e32cd2047
[fix] replaca inoffical msgspec-python313-pre by offical msgspec 0.19
...
inoffical msgspec-python313-pre was an inetrim solution from e710ebdf6
related:
- https://github.com/searxng/searxng/pull/4129
- https://github.com/jcrist/msgspec/issues/764#issuecomment-2561330165
closes:
- https://github.com/searxng/searxng/issues/4015
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-12-28 10:42:20 +01:00
dependabot[bot]
120a519c5c
[upd] pypi: Bump pylint from 3.3.2 to 3.3.3
...
Bumps [pylint](https://github.com/pylint-dev/pylint ) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/pylint-dev/pylint/releases )
- [Commits](https://github.com/pylint-dev/pylint/compare/v3.3.2...v3.3.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-12-28 09:05:21 +01:00
searxng-bot
402a09963e
[l10n] update translations from Weblate
...
31b458aa4
- 2024-12-25 - return42 <return42@users.noreply.translate.codeberg.org>
fe7cc8706
- 2024-12-25 - return42 <return42@users.noreply.translate.codeberg.org>
7a585b545
- 2024-12-22 - alexgabi <alexgabi@users.noreply.translate.codeberg.org>
2e2fdbd16
- 2024-12-21 - xawos <xawos@users.noreply.translate.codeberg.org>
e2774bb44
- 2024-12-21 - ghose <ghose@users.noreply.translate.codeberg.org>
970bd5d86
- 2024-12-21 - xawos <xawos@users.noreply.translate.codeberg.org>
4c775384c
- 2024-12-21 - xawos <xawos@users.noreply.translate.codeberg.org>
176f7df6e
- 2024-12-21 - xawos <xawos@users.noreply.translate.codeberg.org>
a6a842d01
- 2024-12-20 - Amirkhandrend-Nicest-XII <Amirkhandrend-Nicest-XII@users.noreply.translate.codeberg.org>
2024-12-28 09:04:50 +01:00
Austin-Olacsi
73e395c8ce
[feat] engines: re-add alexandria.org
2024-12-25 13:13:18 +01:00
dependabot[bot]
19ecdd8aae
Bump jinja2 from 3.1.4 to 3.1.5
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.4 to 3.1.5.
- [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.4...3.1.5 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-25 08:03:43 +01:00
Markus Heiser
3749154660
[mod] add support for Python 3.13
...
Python 3.13 has been released [1]
- fasttext-predict supports py3.13 from version 0.9.2.3 [2]
[1] https://www.python.org/downloads/release/python-3130/
[2] https://github.com/searxng/fasttext-predict/commit/f2da9cd173
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-12-24 19:46:04 +01:00
Markus Heiser
e710ebdf67
[fix] temporary msgspec-python313-pre
...
Waitng for new release of msgspec for Python 3.13:
- https://github.com/jcrist/msgspec/issues/764#issuecomment-2466150924
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-12-24 19:35:54 +01:00
Markus Heiser
26097f444b
[fix] engine google_video: google changed the layout of the HTML response
...
Closes: https://github.com/searxng/searxng/issues/4127
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-12-22 11:45:46 +01:00
dependabot[bot]
19ee529b78
[upd] pypi: Bump certifi from 2024.8.30 to 2024.12.14
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2024.8.30 to 2024.12.14.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.08.30...2024.12.14 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-20 10:07:08 +01:00
searxng-bot
ce53d97327
[l10n] update translations from Weblate
...
979094524
- 2024-12-17 - Amirkhandrend-Nicest-XII <Amirkhandrend-Nicest-XII@users.noreply.translate.codeberg.org>
2024-12-20 08:16:12 +01:00
Markus Heiser
65c970bdf4
[build] /static
2024-12-16 11:39:38 +01:00
Bnyro
d4e3a5f2f2
[refactor] webapp.py: reuse get_client_settings() method to unify preference handling before render
2024-12-16 11:39:38 +01:00
Markus Heiser
1604a00b89
Revert "[weblate] add dummy string to trigger weblate.push.translations in CI"
...
This reverts commit 899edee5ec
.
2024-12-16 09:27:19 +01:00
Markus Heiser
899edee5ec
[weblate] add dummy string to trigger weblate.push.translations in CI
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-12-16 08:41:57 +01:00
Bnyro
523df1d7f4
[build] /static
2024-12-16 08:36:48 +01:00
Bnyro
c8e932647b
[fix] settings: javascript crash when entering due to missing search form
2024-12-16 08:36:48 +01:00
Zhijie He
8d2c01e4ce
[chore] cleanup
2024-12-16 08:32:35 +01:00
Zhijie He
12c27f416f
[enh] add engine-
prefix, replace blank space to -
2024-12-16 08:32:35 +01:00
Zhijie He
e90fa48018
[fix]: fix engine name may break some css style, contains "right", "left", "center"
2024-12-16 08:32:35 +01:00
dependabot[bot]
3742d558ac
[upd] pypi: Bump pylint from 3.3.1 to 3.3.2
...
Bumps [pylint](https://github.com/pylint-dev/pylint ) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/pylint-dev/pylint/releases )
- [Commits](https://github.com/pylint-dev/pylint/compare/v3.3.1...v3.3.2 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-14 08:33:35 +01:00
dependabot[bot]
db67efae6f
[upd] pypi: Bump typer-slim from 0.14.0 to 0.15.1
...
Bumps [typer-slim](https://github.com/fastapi/typer ) from 0.14.0 to 0.15.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.14.0...0.15.1 )
---
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-12-14 08:33:14 +01:00
dependabot[bot]
b8d2d2df8a
[upd] pypi: Bump sphinxcontrib-programoutput from 0.17 to 0.18
...
Bumps [sphinxcontrib-programoutput](https://github.com/NextThought/sphinxcontrib-programoutput ) from 0.17 to 0.18.
- [Changelog](https://github.com/OpenNTI/sphinxcontrib-programoutput/blob/master/CHANGES.rst )
- [Commits](https://github.com/NextThought/sphinxcontrib-programoutput/compare/0.17...0.18 )
---
updated-dependencies:
- dependency-name: sphinxcontrib-programoutput
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-14 08:31:39 +01:00
Markus Heiser
c60fe999cf
Update data - locales
...
./searxng_extra/update/update_locales.py
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-12-13 18:45:14 +01:00
Markus Heiser
f952668fde
[l10n] adding new language Tatar (tt)
...
$ ./manage pyenv.cmd bash
$ pybabel init -i searx/translations/messages.pot -d searx/translations -l tt
creating catalog searx/translations/tt/LC_MESSAGES/messages.po based on searx/translations/messages.pot
Closes: https://github.com/searxng/searxng/issues/4098
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-12-13 18:45:14 +01:00
searxng-bot
8791345869
[l10n] update translations from Weblate
...
941da8a11
- 2024-12-13 - Kita Ikuyo <searinminecraft@courvix.com>
7c9e8973a
- 2024-12-12 - return42 <return42@users.noreply.translate.codeberg.org>
1ef3f3b6e
- 2024-12-12 - OpenCode <OpenCode@users.noreply.translate.codeberg.org>
8edb4af3d
- 2024-12-11 - KhietVo <KhietVo@users.noreply.translate.codeberg.org>
77469663d
- 2024-12-11 - dansmachina <dansmachina@users.noreply.translate.codeberg.org>
be726d2c7
- 2024-12-09 - kkrawczyk <kkrawczyk@users.noreply.translate.codeberg.org>
dfb9dd20f
- 2024-12-10 - artnay <artnay@users.noreply.translate.codeberg.org>
a1977736f
- 2024-12-09 - return42 <return42@users.noreply.translate.codeberg.org>
e17d999d7
- 2024-12-07 - Eryk Michalak <gnu.ewm@protonmail.com>
2024-12-13 08:15:55 +01:00
Markus Heiser
0245e82bd2
[build] /static
2024-12-01 15:04:05 +01:00
Markus Heiser
8c3f0c3d52
[fix] if image load fails on client side, show default image
...
BTW: change icon color from red to gray
Closes:
- https://github.com/searxng/searxng/issues/4066
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-12-01 15:04:05 +01:00
Bnyro
4a8d333d5b
[build] /static
2024-12-01 13:08:50 +01:00
Bnyro
a7537a6935
[feat] search: add url formatting preference
2024-12-01 13:08:50 +01:00
Bnyro
cae07b9bf8
[build] /static
2024-11-29 20:24:06 +01:00
Bnyro
365c4d0643
[chore] search.js: remove leftovers from shift to multiselect categories PR
2024-11-29 20:24:06 +01:00
Markus Heiser
bb04699b17
[fix] unit tests: call searx.search.initialize in test's setUp
...
Depending on the order the unit tests are executed, the searx.search module is
initalized or not, issue reported in [1]::
Traceback (most recent call last):
File "searxng/tests/unit/test_results.py", line 72, in test_result_merge_by_title
self.container.extend('stract', [fake_result(engine='stract', title='short title')])
File "searxng/searx/results.py", line 243, in extend
histogram_observe(standard_result_count, 'engine', engine_name, 'result', 'count')
File "searxng/searx/metrics/__init__.py", line 49, in histogram_observe
histogram_storage.get(*args).observe(duration)
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
To ensure that the searx.search module is initialized, the
- searx.engines.load_engines is replace by
- searx.search.initialize
[1] https://github.com/searxng/searxng/pull/3932#discussion_r1822406569
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-29 15:26:03 +01:00
Allen
6948689d2a
[enh] use longest title and test get_ordered_results()
2024-11-29 15:26:03 +01:00
Bnyro
94aafc83a6
[build] /static
2024-11-29 15:05:00 +01:00
Bnyro
6a9b97cad2
[feat] search: shift/ctrl click a category to select multiple categories
2024-11-29 15:05:00 +01:00
return42
6ca89e1319
[data] update searx.data - update_engine_traits.py
2024-11-29 14:57:06 +01:00
Markus Heiser
605f38b352
[fix] update_currencies.py: github CI has longer timeouts
...
Github action Update data - update_currencies [1]:
./manage pyenv.cmd python ./searxng_extra/update/update_currencies.py
fails with ``httpcore.ReadTimeout`` / the default timeout is 3sec.
[1] https://github.com/searxng/searxng/actions/runs/12076864366/job/33703464399
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-29 14:50:17 +01:00
searxng-bot
2717ffd094
[l10n] update translations from Weblate
...
ba1cebf8b
- 2024-11-25 - saledai <saledai@users.noreply.translate.codeberg.org>
25da337e5
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
8379976e0
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
fa080d132
- 2024-11-26 - ghose <ghose@users.noreply.translate.codeberg.org>
42ac0f2d2
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
bb9c1d4b3
- 2024-11-25 - Outbreak2096 <Outbreak2096@users.noreply.translate.codeberg.org>
768be588f
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
13a63779a
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
649d5494b
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
7ce063699
- 2024-11-25 - saledai <saledai@users.noreply.translate.codeberg.org>
6f4ed2d9d
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
02a34ef99
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
de3ab1d94
- 2024-11-25 - AndersNordh <AndersNordh@users.noreply.translate.codeberg.org>
d18f56fa1
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
dff38e041
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
2e5c6694e
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
c9e9e0864
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
c625e848c
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
84a87ab05
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
28ebc3a97
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
b340f5ea8
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
e5fdd25ad
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
cf6b35d0a
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
da0ec01bc
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
7ca3c3051
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
adffd7987
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
d5c101710
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
f862cf05a
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
e7f4c00a8
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
2a25e9a1b
- 2024-11-25 - Linerly <Linerly@users.noreply.translate.codeberg.org>
8cd81e701
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
80726a79a
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
ab7a56a81
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
ed44ff721
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
3b2b40d69
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
51926fb18
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
e823c2915
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
57b884908
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
525fcc395
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
fe2bf7267
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
d21ac5278
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
d18e3376b
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
a638f5ad5
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
c94c9b313
- 2024-11-25 - AndersNordh <AndersNordh@users.noreply.translate.codeberg.org>
aaa801da2
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
3b4961df8
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
6698f2069
- 2024-11-24 - return42 <return42@users.noreply.translate.codeberg.org>
73a117384
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
054d5cba4
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
1d3f21946
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
92ded48b1
- 2024-11-25 - return42 <return42@users.noreply.translate.codeberg.org>
d84b77ff9
- 2024-11-24 - SomeTr <SomeTr@users.noreply.translate.codeberg.org>
2ece96ac9
- 2024-11-24 - Priit Jõerüüt <jrtcdbrg@users.noreply.translate.codeberg.org>
2024-11-29 14:23:56 +01:00
dependabot[bot]
2fc131bfd6
[upd] pypi: Bump typer-slim from 0.13.1 to 0.14.0
...
Bumps [typer-slim](https://github.com/fastapi/typer ) from 0.13.1 to 0.14.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.13.1...0.14.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-29 14:23:05 +01:00
Markus Heiser
540323a4b0
[mod] hardening xpath engine: ignore empty results
...
A SearXNG maintainer on Matrix reported a traceback::
File "searxng-src/searx/engines/xpath.py", line 272, in response
dom = html.fromstring(resp.text)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "searx-pyenv/lib/python3.11/site-packages/lxml/html/__init__.py", line 850, in fromstring
doc = document_fromstring(html, parser=parser, base_url=base_url, **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "searx-pyenv/lib/python3.11/site-packages/lxml/html/__init__.py", line 738, in document_fromstring
raise etree.ParserError(
lxml.etree.ParserError: Document is empty
I don't have an example to reproduce the issue, but the issue and this patch are
clearly recognizable even without an example.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-29 14:20:31 +01:00
dependabot[bot]
cf034488d5
[upd] pypi: Bump fasttext-predict from 0.9.2.2 to 0.9.2.4
...
Bumps [fasttext-predict](https://github.com/searxng/fasttext-predict ) from 0.9.2.2 to 0.9.2.4.
- [Release notes](https://github.com/searxng/fasttext-predict/releases )
- [Commits](https://github.com/searxng/fasttext-predict/compare/v0.9.2.2...v0.9.2.4 )
---
updated-dependencies:
- dependency-name: fasttext-predict
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-29 10:21:13 +01:00
dependabot[bot]
011cb672f1
[upd] pypi: Bump selenium from 4.26.1 to 4.27.1
...
Bumps [selenium](https://github.com/SeleniumHQ/Selenium ) from 4.26.1 to 4.27.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-29 10:20:53 +01:00
return42
32260a2738
[data] update searx.data - update_wikidata_units.py
2024-11-29 08:01:13 +01:00
return42
db60c91a94
[data] update searx.data - update_ahmia_blacklist.py
2024-11-29 08:00:56 +01:00
return42
2b9cc53082
[data] update searx.data - update_engine_descriptions.py
2024-11-29 07:59:55 +01:00
return42
a3d49d8d4f
[data] update searx.data - update_firefox_version.py
2024-11-29 07:58:23 +01:00
Bnyro
0ca2520115
[feat] json/xpath engine: config option for method and body
2024-11-28 09:53:21 +01:00
Bnyro
5a9c1c6b5b
[fix] crowdview engine: html tags in title and content
2024-11-28 06:19:55 +01:00
Markus Heiser
7b6b772e34
[fix] wikicommons engine: remove HTML tags from result items
...
BTW: humanize filesize (Bytes) to KB, MB, GB ..
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-28 06:05:45 +01:00
Markus Heiser
342d321196
[fix] google engine: remove <script> tags from result items
...
In some results, Google returns a <script> tag that must be removed before
extracting the content.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-27 13:49:45 +01:00
Austin-Olacsi
55481a6377
[fix] findthatmeme engine URLs have changed
2024-11-27 11:08:23 +01:00
Markus Heiser
78f5300830
[chore] drop sjp engine: WEB side has changed a long time ago
...
The WEB page (PL only) has changed and there is now also a kind of CAPTCHA.
There is currently no possibility to restore the function of this engine.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-26 15:45:02 +01:00
Markus Heiser
ac0c6cc2d1
[chore] remove invalid base_url from settings.yml engines
...
The engines do not have / do not need a property `base_url`, lets remove it from
the settings.yml
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-26 10:06:07 +01:00
Markus Heiser
36a6f9c95f
[fix] engine: Library of Congress - image & thumb links
...
The properties `item.service_medium` and `item.thumb_gallery` are not given for
every result item. It is more reliable to use the first (thumb) and
last (image) URL in the list of of URLs in `image_url`.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-26 09:36:59 +01:00
Bnyro
66f6495a22
[fix] duckduckgo extra: crashes and returns no results
2024-11-25 17:00:52 +01:00
Bnyro
5bf3fbc93b
[fix] openmetrics: value is None if there's no data
2024-11-25 16:57:03 +01:00
Bnyro
bad070b4bc
[build] /static
2024-11-25 09:34:02 +01:00
Markus Heiser
cf8c36f351
[mod] add CSS (LESS) to xsl style to view rss in browser
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-25 09:34:02 +01:00
Markus Heiser
5fbea0b62d
[refactor] <type> element isn't a part of the RSS 2.0 spec [1]
...
[1] https://cyber.harvard.edu/rss/rss.html
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-25 09:34:02 +01:00
Bnyro
eb59b4604a
[feat] rss: add xsl style to view rss in browser
2024-11-25 09:34:02 +01:00
Bnyro
98f9a380ed
[chore] rss: rename from searx to SearXNG
2024-11-25 09:34:02 +01:00
Grant Lanham
68b4961b81
[test] add additional tests for preferences
2024-11-24 19:55:21 +01:00
Grant Lanham
c02268d56e
[fix] remove unknown_params from preferences
2024-11-24 19:55:21 +01:00
Bnyro
8744dd3c71
[feat] metrics: support for open metrics
2024-11-24 14:25:49 +01:00
Markus Heiser
7927baf545
[upd] github CI: actions/cache@v3 to actions/cache@v4
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-24 14:07:07 +01:00
Bnyro
e4961142e3
[build] /static
2024-11-24 12:41:57 +01:00
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
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