Commit Graph

407 Commits (master)

Author SHA1 Message Date
Markus Heiser bb7c5bd44c [data] update searx.data - update_engine_traits.py
$ make data.traits

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 days ago
return42 8713aa6c4b [data] update searx.data - update_wikidata_units.py 3 days ago
return42 c16a143239 [data] update searx.data - update_currencies.py 3 days ago
return42 8a78d7b64d [data] update searx.data - update_firefox_version.py 3 days ago
return42 f2763e5efc [data] update searx.data - update_ahmia_blacklist.py 3 days ago
return42 8250773ace [data] update searx.data - update_engine_descriptions.py 3 days ago
Markus Heiser 11fe88bb40 [fix] update wikidata units - remove URL prefix from Q-name
Sometimes the URL prefix switches from a http to a https, this patch harden the
code that removes the URL prefix from wikidata Q-name, issue has been reported
in [1].

[1] https://github.com/searxng/searxng/pull/3437#issuecomment-2082121730

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1 month ago
return42 e45a7cc063 [data] update searx.data - update_engine_traits.py 1 month ago
return42 c0b6c26eea [data] update searx.data - update_firefox_version.py 1 month ago
return42 0ec406cb7e [data] update searx.data - update_ahmia_blacklist.py 1 month ago
return42 ea585d4e77 [data] update searx.data - update_currencies.py 1 month ago
return42 d4e98c03a0 [data] update searx.data - update_engine_descriptions.py 1 month ago
Bnyro b3b1258e4e [data] wikidata: update wikidata_units.json 1 month ago
return42 ad9537065a [data] update searx.data - update_firefox_version.py 2 months ago
return42 531942ed16 [data] update searx.data - update_ahmia_blacklist.py 2 months ago
return42 433cfd868a [data] update searx.data - update_currencies.py 2 months ago
return42 22d68aa2a7 [data] update searx.data - update_engine_traits.py 2 months ago
return42 cc124b8f14 [data] update searx.data - update_engine_descriptions.py 2 months ago
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>
3 months ago
Markus Heiser 3edaa26dae [data] make data.all
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 months ago
return42 33b4ffee29 [data] update searx.data - update_engine_traits.py 3 months ago
return42 a5d36211a3 [data] update searx.data - update_ahmia_blacklist.py 3 months ago
return42 2cb389e9ce [data] update searx.data - update_currencies.py 3 months ago
return42 4a8867e646 [data] update searx.data - update_engine_descriptions.py 3 months ago
return42 7bbcf1be9a [data] update searx.data - update_external_bangs.py 3 months ago
dalf 35873b5a1c Update searx.data - update_ahmia_blacklist.py 3 months ago
dalf df74b5b59b Update searx.data - update_firefox_version.py 3 months ago
dalf 473b2dd42f Update searx.data - update_wikidata_units.py 3 months ago
dalf 9a474715e8 Update searx.data - update_engine_descriptions.py 3 months ago
Markus Heiser 894f164869 [fix] sort RTL_LOCALES before written into locales.json
To avoid unnecessary changes to the file, the list should be sorted before it is
written to the file.

You can test it by calling multiple times::

    make data.locales

and searx/data/locales.json should be unchanged.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 months ago
Alexandre Flament ed66ed758d [mod] reduce memory footprint by not calling babel.Locale.parse at runtime
babel.Locale.parse loads more than 60MB in RAM.  The only purpose is to get:

    LOCALE_NAMES   - searx.data.LOCALES["LOCALE_NAMES"]
    RTL_LOCALES    - searx.data.LOCALES["RTL_LOCALES"]

This commit calls babel.Locale.parse when the translations are update from
weblate and stored in::

    searx/data/locales.json

This file can be build by::

    ./manage data.locales

By store these variables in searx.data when the translations are updated we save
round about 65MB (usually 4 worker = 260MB of RAM saved.

Suggested-by: https://github.com/searxng/searxng/discussions/2633#discussioncomment-8490494
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
3 months ago
dalf bffc4905ce Update searx.data - update_currencies.py 4 months ago
dalf 62fa85287a Update searx.data - update_wikidata_units.py 4 months ago
dalf 0ed7548d83 Update searx.data - update_firefox_version.py 4 months ago
dalf d763934a7a Update searx.data - update_ahmia_blacklist.py 4 months ago
dalf 14f73ef3d9 Update searx.data - update_engine_traits.py 4 months ago
dalf a393341403 Update searx.data - update_engine_descriptions.py 4 months ago
dalf 4647981419 Update searx.data - update_wikidata_units.py 5 months ago
dalf a8cc101c35 Update searx.data - update_ahmia_blacklist.py 5 months ago
dalf 59a67f30c8 Update searx.data - update_firefox_version.py 5 months ago
dalf 81e8638de0 Update searx.data - update_currencies.py 5 months ago
Markus Heiser 2863b0f6da Update searx.data - update_engine_traits.py
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 months ago
Markus Heiser 3665b32aff Revert "[fix] update user agent"
This reverts commit 3c6549a17f.

Related:

- https://github.com/searxng/searxng/pull/2826
5 months ago
dalf 5a72977efa Update searx.data - update_currencies.py 6 months ago
dalf b18bef17a7 Update searx.data - update_engine_descriptions.py 6 months ago
dalf a136b0b44d Update searx.data - update_ahmia_blacklist.py 6 months ago
dalf 3ca84cb8d7 Update searx.data - update_wikidata_units.py 6 months ago
dalf b63841f0a1 Update searx.data - update_engine_traits.py 7 months ago
dalf a9d778ee0f Update searx.data - update_wikidata_units.py 7 months ago
dalf 92efb941d8 Update searx.data - update_firefox_version.py 7 months ago