Markus Heiser
74f6dfb576
[fix] .pylintrc mode signature to conf-unix
...
In pylint and python's config parser [1] the default symbol for comments is '#'.
The dialect is based on unix, while the classic dialect comes from windows and
uses a semicolon for comments.
[1] https://docs.python.org/3/library/configparser.html#module-configparser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-14 14:18:26 +01:00
Markus Heiser
542f7d0d7b
[mod] pylint all files with one profile / drop PYLINT_SEARXNG_DISABLE_OPTION
...
In the past, some files were tested with the standard profile, others with a
profile in which most of the messages were switched off ... some files were not
checked at all.
- ``PYLINT_SEARXNG_DISABLE_OPTION`` has been abolished
- the distinction ``# lint: pylint`` is no longer necessary
- the pylint tasks have been reduced from three to two
1. ./searx/engines -> lint engines with additional builtins
2. ./searx ./searxng_extra ./tests -> lint all other python files
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-11 14:55:38 +01:00
Markus Heiser
8205f170ff
[mod] pylint all engines without PYLINT_SEARXNG_DISABLE_OPTION
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-11 14:55:38 +01:00
Markus Heiser
707d6270c8
[doc] engine: mullvad leta
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-10 18:20:07 +01:00
Grant Lanham
9d6896a771
[feat] engine: implementation of mullvad leta
2024-03-10 18:20:07 +01:00
Markus Heiser
3edaa26dae
[data] make data.all
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-10 15:56:50 +01:00
Markus Heiser
ce4aaf6cad
[mod] comprehensive revision of the searxng_extra/update/ scripts
...
- pylint all scripts
- fix some errors reported by pyright
- from searx.data import data_dir (Path.open)
- fix import from pygments.formatters.html
NOTE: none functional changes!
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-10 15:56:50 +01:00
Markus Heiser
0ffec440b2
[doc] annas_archive: ctegs journal_article & book_any has been removed
...
In commit 8af181533
in PR:
- https://github.com/searxng/searxng/pull/3321
the category `journal_article` has been removed, `book_any` has been removed
longer time ago.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-10 12:46:00 +01:00
return42
33b4ffee29
[data] update searx.data - update_engine_traits.py
2024-03-10 12:46:00 +01:00
return42
a5d36211a3
[data] update searx.data - update_ahmia_blacklist.py
2024-03-10 12:45:15 +01:00
return42
2cb389e9ce
[data] update searx.data - update_currencies.py
2024-03-10 12:44:44 +01:00
return42
4a8867e646
[data] update searx.data - update_engine_descriptions.py
2024-03-10 12:01:33 +01:00
return42
7bbcf1be9a
[data] update searx.data - update_external_bangs.py
2024-03-10 12:01:00 +01:00
Markus Heiser
cff0097289
[fix] update_external_bangs: BANGS_URL ' https://duckduckgo.com/bang.js '
...
JSON file which contains the bangs / there is no longer a versioning of this
file.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-10 11:58:20 +01:00
Markus Heiser
e97e1f9110
[fix] duckduckgo.fetch_traist - URL of region definitions has changed
...
- https://duckduckgo.com/dist/util/u.7669f071a13a7daa57cb.js
updated from u661.js to u.7669f071a13a7daa57cb / should be updated
automatically? The last change was on March 23rd in dba8977b09
[1]
- [1] https://github.com/searxng/searxng/pull/2269
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-10 10:32:54 +01:00
Markus Heiser
33c099022b
[drop] engine framalibre - sarch URL is no longer supported
...
Closes: https://github.com/searxng/searxng/issues/3286
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-09 18:00:45 +01:00
Markus Heiser
691390b443
[fix] CI YAML config files
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-09 14:56:12 +01:00
Markus Heiser
a48da9b28a
[fix] CI YAML config files
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-09 14:08:00 +01:00
Markus Heiser
18028f3c13
[mod] CI: tag commits with leading scope/type of the modification
...
Add a leading tag (in square brackets) about the scope/type to commit messages
from automated tasks (commits from CI).
dependantbot::
[upd] pypi: Bump .. from .. to ..
[upd] npm: Bump .. from .. to .. in /searx/static/themes/simple
Weblate translation updates::
[l10n] update translations from Weblate
updates of ./data::
[data] update searx.data ...
build commit of gh-pages::
[doc] build from commit ...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-09 12:17:23 +01:00
Alexandre FLAMENT
f49d1a9b90
Checker: change image check
...
In the master branch, the checker starts to stream the response
and cut the connection. However it creates a lot of read error,
which are false negative. I don't know how to fix the issue.
This commit change the checker to download the whole image.
The error reporting is also changed to report only one line,
instead of the whole stacktrace.
Also, if a timeout occurs, the checker waits for one second
before retry.
Do note that I have not test the checker running in background.
This feature seems forgotten and lack of interrest despite the
initial move few years ago.
2024-03-09 09:57:19 +00:00
Alexandre Flament
42515d98f7
engine npm use the packages.html template
2024-03-09 10:24:49 +01:00
Bnyro
6dd07b88a4
[feat] lib.rs: use packages.html template
2024-03-09 10:17:16 +01:00
Markus Heiser
50d5a9ff60
[fix] issues reported by pylint 3.1.0
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-09 09:28:13 +01:00
dependabot[bot]
3bea2e7e3a
Bump pylint from 3.0.3 to 3.1.0
...
Bumps [pylint](https://github.com/pylint-dev/pylint ) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/pylint-dev/pylint/releases )
- [Commits](https://github.com/pylint-dev/pylint/compare/v3.0.3...v3.1.0 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-09 09:28:13 +01:00
Markus Heiser
a7b51f023e
[black] upgrade black 22.12.0 --> 24.2.0
...
The issue discussed in [1] has been solved since [2] has been merged into black
/ now we can upgrade without touching 69 files as it was needed with black
23.1.0 [3].
[1] https://github.com/searxng/searxng/pull/2159#issuecomment-1425723977
[2] https://github.com/psf/black/pull/4060
[3] https://github.com/searxng/searxng/pull/2159/files
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-09 08:15:50 +01:00
dependabot[bot]
48d04871a4
Bump python-dateutil from 2.8.2 to 2.9.0.post0
...
Bumps [python-dateutil](https://github.com/dateutil/dateutil ) from 2.8.2 to 2.9.0.post0.
- [Release notes](https://github.com/dateutil/dateutil/releases )
- [Changelog](https://github.com/dateutil/dateutil/blob/master/NEWS )
- [Commits](https://github.com/dateutil/dateutil/compare/2.8.2...2.9.0.post0 )
---
updated-dependencies:
- dependency-name: python-dateutil
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-08 18:46:18 +01:00
Bnyro
44decaa524
[feat] pkg.go.dev: use packages.html template
2024-03-08 17:18:54 +01:00
centralscrutinizer21
fbea0dd3ce
[l10n] Italian translation of infopages
2024-03-08 17:18:29 +01:00
searxng-bot
9c08a0cddd
[translations] update from Weblate
...
184c000d8
- 2024-03-07 - 0ko <0ko@users.noreply.translate.codeberg.org>
7a107e46c
- 2024-03-04 - Bubowny <outcheesed@proton.me>
f02911c4b
- 2024-03-04 - tentsbet <remendne@pentrens.jp>
e4e8977cc
- 2024-03-02 - marcelStangenberger <codeberg@xo.nl>
4a9923cee
- 2024-03-02 - Integral <integral@member.fsf.org>
05e7bb2f8
- 2024-03-01 - return42 <markus.heiser@darmarit.de>
4b466efdc
- 2024-03-01 - syobon <syobon@syobon.net>
2024-03-08 08:21:21 +01:00
Markus Heiser
fba8371396
[fix] XPath engine hoogle - hoogle.haskell.org has no paging support
...
Search on hoogle.haskell.org does no longer have pages.
Closes: https://github.com/searxng/searxng/issues/3278
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-07 17:31:25 +01:00
Markus Heiser
a5b81e2555
[fix] nyaa engine - paging support & filesize (GiB)
...
BTW: pylint engine
Closes: https://github.com/searxng/searxng/issues/3290
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-07 07:38:31 +01:00
Markus Heiser
3179993847
[fix] XPath engine lobste.rs - argument utf8 is no longer needed
...
Closes: https://github.com/searxng/searxng/issues/3279
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-06 13:24:50 +01:00
Markus Heiser
3529f0af50
[fix] engine searchcode.com - paging is broken in searchcode.com's API
...
paging is broken in searchcode.com's API .. not sure it will ever been fixed /
this commit disables paging in the engine and BTW pylint `searchcode_code.py`.
Closes: https://github.com/searxng/searxng/issues/3287
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-06 12:33:29 +01:00
Markus Heiser
76b18545e4
[fix] XPath engine naver - content selector needed an update
...
Closes: https://github.com/searxng/searxng/issues/3282
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-06 11:11:31 +01:00
Markus Heiser
5602f0bf96
[fix] engine pinterest - ignore result type 'story'
...
Close: https://github.com/searxng/searxng/issues/3289
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-06 07:33:43 +01:00
Markus Heiser
d97b84bea2
[fix] ddg engines (get_vqd) - the vqd value is no longer in the form
...
Closes: https://github.com/searxng/searxng/issues/3276
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-05 16:27:04 +01:00
Alexandre Flament
b7be53bb90
Docker: use Alpine 3.19
2024-03-04 19:40:57 +01:00
Alexandre Flament
0e2566db68
internetarchivescholar engine: set timeout to 15 seconds
2024-03-03 20:16:32 +01:00
Alexandre Flament
7c5c11949b
Checker: tests for wikispecies
2024-03-03 20:00:46 +01:00
Alexandre Flament
8fed5798ab
Checker: tests for bahnhof
2024-03-03 20:00:46 +01:00
Yaksh Bariya
b1431e1670
[feat] engine: implementation of cppreference
2024-03-03 17:07:29 +01:00
Alexandre Flament
1a66bfa66c
checker: display results at the end
2024-03-03 11:18:43 +01:00
Alexandre Flament
08e7c37a35
GitHub workflows: run checker on Friday
2024-03-03 11:18:43 +01:00
Alexandre Flament
b56449d3fa
Fix make search.checker
2024-03-03 11:18:43 +01:00
Alexandre Flament
38fdd2288a
Drop typing-extensions dependency ( #3265 )
...
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-02 13:10:31 +01:00
searxng-bot
1892a87fd2
[translations] update from Weblate
...
663d8815b
- 2024-03-01 - return42 <markus.heiser@darmarit.de>
f97823239
- 2024-02-28 - return42 <markus.heiser@darmarit.de>
480a0ec8d
- 2024-02-28 - eownerdead <wlpx0yii@anonaddy.me>
905211981
- 2024-02-26 - gallegonovato <fran-carro@hotmail.es>
10e90be9a
- 2024-02-25 - SomeTr <SomeTr@users.noreply.translate.codeberg.org>
3b803ba23
- 2024-02-26 - feather1 <verdimario2015@gmail.com>
8bbaaa43e
- 2024-02-25 - return42 <markus.heiser@darmarit.de>
6950cdb97
- 2024-02-26 - Linerly <linerly@protonmail.com>
807c9891d
- 2024-02-26 - ghose <correo@xmgz.eu>
e16ca50cd
- 2024-02-25 - return42 <markus.heiser@darmarit.de>
85241d9ce
- 2024-02-25 - Fjuro <ifjuro@proton.me>
2024-03-02 09:37:52 +01:00
dependabot[bot]
858b2071df
Bump redis from 5.0.1 to 5.0.2
...
Bumps [redis](https://github.com/redis/redis-py ) from 5.0.1 to 5.0.2.
- [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.1...v5.0.2 )
---
updated-dependencies:
- dependency-name: redis
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 08:13:44 +01:00
dependabot[bot]
dd2379b96f
Bump wlc from 1.13 to 1.14
...
Bumps [wlc](https://github.com/WeblateOrg/wlc ) from 1.13 to 1.14.
- [Changelog](https://github.com/WeblateOrg/wlc/blob/main/CHANGES.rst )
- [Commits](https://github.com/WeblateOrg/wlc/compare/1.13...1.14 )
---
updated-dependencies:
- dependency-name: wlc
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 08:11:51 +01:00
Bnyro
f3b4bf86a7
[feat] engine: implementation of void linux packages
...
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-29 13:12:40 +01:00
Alexandre Flament
d58760ef75
[mod] pypi engine: use packages.html
2024-02-29 07:48:44 +01:00