8 Commits

Author SHA1 Message Date
searxng-bot
559a068228 [l10n] update translations from Weblate
c62975ec7 - 2026-07-22 - alexgabi <alexgabi@noreply.codeberg.org>
a0f3db680 - 2026-07-23 - gallegonovato <gallegonovato@noreply.codeberg.org>
c1271523f - 2026-07-17 - codebergnew2 <codebergnew2@noreply.codeberg.org>
2026-07-24 07:53:15 +00:00
Burak Emir Sezen
ef8f6470e0 [fix] container: ignore invalid SEARXNG_PORT values (#6439)
* [fix] container: ignore invalid SEARXNG_PORT values

* add note

---------

Co-authored-by: Ivan Gabaldon <igabaldon@inetol.net>
2026-07-22 22:23:30 +02:00
Kes
6da6eee265 [upd] update to gecko driver v37 (#6433) 2026-07-19 17:04:57 +02:00
github-actions[bot]
277d8469cd [l10n] update translations from Weblate (#6426)
b498ffaf1 - 2026-07-17 - return42 <return42@noreply.codeberg.org>
341dacc88 - 2026-07-17 - impar <impar@noreply.codeberg.org>
2650a73a9 - 2026-07-17 - return42 <return42@noreply.codeberg.org>
37d2751a8 - 2026-07-17 - return42 <return42@noreply.codeberg.org>
2026-07-18 11:44:39 +02:00
dependabot[bot]
81c9c23862 [upd] github-actions: Bump actions/setup-node from 6.4.0 to 7.0.0 (#6423)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 6.4.0 to 7.0.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](48b55a011b...8207627860)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-17 14:27:38 +02:00
dependabot[bot]
6913fba208 [upd] pypi: Bump the minor group with 2 updates (#6425)
Bumps the minor group with 2 updates: [typer](https://github.com/fastapi/typer) and [selenium](https://github.com/SeleniumHQ/Selenium).


Updates `typer` from 0.26.8 to 0.27.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.26.8...0.27.0)

Updates `selenium` from 4.45.0 to 4.46.0
- [Release notes](https://github.com/SeleniumHQ/Selenium/releases)
- [Commits](https://github.com/SeleniumHQ/Selenium/compare/selenium-4.45.0...selenium-4.46.0)
2026-07-17 14:24:17 +02:00
Bnyro
2daa4d4815 [fix] qwant: can't fetch engine traits because engine.about is no longer a dict 2026-07-17 12:27:46 +02:00
Bnyro
de8f73f434 [fix] cache: maintenance period comment duration 2h instead of 1h 2026-07-17 12:24:47 +02:00
14 changed files with 73 additions and 50 deletions

View File

@@ -67,7 +67,7 @@ jobs:
python-version: "${{ env.PYTHON_VERSION }}"
- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "26"
check-latest: "true"

View File

@@ -112,6 +112,15 @@ if [ "$(id -u)" -eq 0 ]; then
fi
# ENVs aliases
export GRANIAN_PORT="${SEARXNG_PORT:-$GRANIAN_PORT}"
# https://github.com/searxng/searxng/issues/5934
case "${SEARXNG_PORT:-}" in
'') ;;
*[!0-9]*)
unset SEARXNG_PORT
;;
*)
export GRANIAN_PORT="$SEARXNG_PORT"
;;
esac
exec /usr/local/searxng/.venv/bin/granian searx.webapp:app

2
manage
View File

@@ -48,7 +48,7 @@ PATH="${PY_ENV}/bin:${REPO_ROOT}/node_modules/.bin:${GOROOT}/bin:${GOPATH}/bin:$
PYOBJECTS="searx"
PY_SETUP_EXTRAS='[test]'
GECKODRIVER_VERSION="v0.36.0"
GECKODRIVER_VERSION="v0.37.0"
# SPHINXOPTS=
BLACK_OPTIONS=("--target-version" "py311" "--line-length" "120" "--skip-string-normalization")
BLACK_TARGETS=("--exclude" "(searx/static|searx/languages.py)" "--include" 'searxng.msg|\.pyi?$' "searx" "searxng_extra" "tests")

View File

@@ -4,7 +4,7 @@ cov-core==1.15.0
black==25.9.0
pylint==4.0.6
splinter==0.21.0
selenium==4.45.0
selenium==4.46.0
Sphinx==8.2.3;python_version <= "3.11"
Sphinx==9.1.0; python_version > "3.11"
sphinx-issues==6.0.0

View File

@@ -13,7 +13,7 @@ sniffio==1.3.1
valkey==6.1.1
markdown-it-py==4.2.0
msgspec==0.21.1
typer==0.26.8
typer==0.27.0
isodate==0.7.2
whitenoise==6.12.0
typing-extensions==4.16.0

View File

@@ -48,7 +48,7 @@ class ExpireCacheCfg(msgspec.Struct): # pylint: disable=too-few-public-methods
MAXHOLD_TIME: int = 60 * 60 * 24 * 7 # 7 days
"""Hold time (default in sec.), after which a value is removed from the cache."""
MAINTENANCE_PERIOD: int = 60 * 60 # 2h
MAINTENANCE_PERIOD: int = 60 * 60 # 1h
"""Maintenance period in seconds / when :py:obj:`MAINTENANCE_MODE` is set to
``auto``."""

View File

@@ -47,7 +47,7 @@ ENGINES_CACHE: ExpireCacheSQLite = ExpireCacheSQLite.build_cache(
ExpireCacheCfg(
name="ENGINES_CACHE",
MAXHOLD_TIME=60 * 60 * 24 * 7, # 7 days
MAINTENANCE_PERIOD=60 * 60, # 2h
MAINTENANCE_PERIOD=60 * 60, # 1h
MAX_VALUE_LEN=1024 * 1024 * 1024, # 1MB
)
)

View File

@@ -318,7 +318,7 @@ def fetch_traits(engine_traits: EngineTraits):
from searx.utils import extr
resp = get(
about["website"], # pyright: ignore[reportArgumentType]
base_url, # pyright: ignore[reportArgumentType]
timeout=5,
)
if not resp.ok:

View File

@@ -50,18 +50,19 @@
# gallegonovato <gallegonovato@noreply.codeberg.org>, 2025, 2026.
msgid ""
msgstr ""
"Project-Id-Version: searx\n"
"Project-Id-Version: searx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2026-07-15 15:45+0000\n"
"PO-Revision-Date: 2026-06-14 13:07+0000\n"
"PO-Revision-Date: 2026-07-23 22:07+0000\n"
"Last-Translator: gallegonovato <gallegonovato@noreply.codeberg.org>\n"
"Language-Team: Spanish <https://translate.codeberg.org/projects/searxng/"
"searxng/es/>\n"
"Language: es\n"
"Language-Team: Spanish "
"<https://translate.codeberg.org/projects/searxng/searxng/es/>\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 2026.6.1\n"
"Generated-By: Babel 2.18.0\n"
#. CONSTANT_NAMES['NO_SUBGROUPING']
@@ -77,7 +78,7 @@ msgstr "otro"
#. CATEGORY_NAMES['FILES']
#: searx/searxng.msg
msgid "files"
msgstr "files"
msgstr "archivos"
#. CATEGORY_NAMES['GENERAL']
#: searx/searxng.msg
@@ -2462,4 +2463,3 @@ msgstr "ocultar video"
#~ msgid "Engine"
#~ msgstr "Motor"

View File

@@ -18,18 +18,19 @@
# return42 <return42@noreply.codeberg.org>, 2025.
msgid ""
msgstr ""
"Project-Id-Version: searx\n"
"Project-Id-Version: searx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2026-07-15 15:45+0000\n"
"PO-Revision-Date: 2026-05-01 07:50+0000\n"
"PO-Revision-Date: 2026-07-23 22:07+0000\n"
"Last-Translator: alexgabi <alexgabi@noreply.codeberg.org>\n"
"Language-Team: Basque <https://translate.codeberg.org/projects/searxng/"
"searxng/eu/>\n"
"Language: eu\n"
"Language-Team: Basque "
"<https://translate.codeberg.org/projects/searxng/searxng/eu/>\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 2026.6.1\n"
"Generated-By: Babel 2.18.0\n"
#. CONSTANT_NAMES['NO_SUBGROUPING']
@@ -1439,7 +1440,7 @@ msgstr "Gehienezko denbora"
#: searx/templates/simple/preferences/favicon.html:2
msgid "Favicon Resolver"
msgstr "Favicon Resolver"
msgstr "Favicon erabakitzailea"
#: searx/templates/simple/preferences/favicon.html:15
msgid "Display favicons near search results"
@@ -1646,11 +1647,11 @@ msgstr "Ebazpena"
#: searx/templates/simple/result_templates/images.html:55
msgid "Image formats"
msgstr ""
msgstr "Irudi formatuak"
#: searx/templates/simple/result_templates/images.html:56
msgid "original format"
msgstr ""
msgstr "jatorrizko formatua"
#: searx/templates/simple/result_templates/images.html:64
msgid "View source"
@@ -2394,4 +2395,3 @@ msgstr "ezkutatu bideoa"
#~ msgid "Engine"
#~ msgstr "Bilatzailea"

View File

@@ -13,21 +13,23 @@
# sandijs <sandijs@noreply.codeberg.org>, 2025.
# return42 <return42@noreply.codeberg.org>, 2025, 2026.
# EmilyOrSomething <emilyorsomething@noreply.codeberg.org>, 2025.
# codebergnew2 <codebergnew2@noreply.codeberg.org>, 2026.
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2026-07-15 15:45+0000\n"
"PO-Revision-Date: 2026-05-19 12:07+0000\n"
"Last-Translator: return42 <return42@noreply.codeberg.org>\n"
"PO-Revision-Date: 2026-07-18 21:07+0000\n"
"Last-Translator: codebergnew2 <codebergnew2@noreply.codeberg.org>\n"
"Language-Team: Latvian <https://translate.codeberg.org/projects/searxng/"
"searxng/lv/>\n"
"Language: lv\n"
"Language-Team: Latvian "
"<https://translate.codeberg.org/projects/searxng/searxng/lv/>\n"
"Plural-Forms: nplurals=3; plural=(n % 10 == 0 || n % 100 >= 11 && n % 100"
" <= 19) ? 0 : ((n % 10 == 1 && n % 100 != 11) ? 1 : 2);\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n % 10 == 0 || n % 100 >= 11 && n % 100 <= "
"19) ? 0 : ((n % 10 == 1 && n % 100 != 11) ? 1 : 2);\n"
"X-Generator: Weblate 2026.6.1\n"
"Generated-By: Babel 2.18.0\n"
#. CONSTANT_NAMES['NO_SUBGROUPING']
@@ -644,7 +646,7 @@ msgstr "Izpildīt funkciju {func} ar dotajiem argumentiem"
#: searx/engines/boardreader.py:108
#, python-brace-format
msgid "Posted by {author}"
msgstr ""
msgstr "Ievietoja {author}"
#: searx/engines/openstreetmap.py:155
msgid "Show route in map .."
@@ -728,11 +730,11 @@ msgstr "Izfiltrēt \"sīpolu\" rezultātus, kas parādās Ahmia melnajā sarakst
#: searx/plugins/calculator.py:25
msgid "Calculator"
msgstr ""
msgstr "Kalkulators"
#: searx/plugins/calculator.py:26
msgid "Parses and solves mathematical expressions."
msgstr ""
msgstr "Parsē un atrisina matemātiskas izteiksmes."
#: searx/plugins/hash_plugin.py:33
msgid "Hash plugin"
@@ -937,36 +939,42 @@ msgstr "Saglabāts kešatmiņā"
#: searx/templates/simple/preferences.html:65
msgid "No HTTPS"
msgstr ""
msgstr "Bez HTTPS"
#: searx/templates/simple/elements/engines_msg.html:14
#: searx/templates/simple/preferences.html:69
#: searx/templates/simple/preferences.html:70
#, fuzzy
msgid "View error logs and submit a bug report"
msgstr ""
msgstr "Skatīt kļūdu žurnālus un ziņot par kļūdu"
#: searx/templates/simple/preferences.html:74
#, fuzzy
msgid "!bang for this engine"
msgstr ""
msgstr "Šīs meklētājprogrammas !bang"
#: searx/templates/simple/preferences.html:80
#, fuzzy
msgid "!bang for its categories"
msgstr ""
msgstr "Kategoriju !bang"
#: searx/templates/simple/preferences.html:102
#: searx/templates/simple/stats.html:63
msgid "Median"
msgstr ""
msgstr "Mediāna"
#: searx/templates/simple/preferences.html:103
#: searx/templates/simple/stats.html:69
#, fuzzy
msgid "P80"
msgstr ""
"P80\n"
"80. procentile"
#: searx/templates/simple/preferences.html:104
#: searx/templates/simple/stats.html:75
msgid "P95"
msgstr ""
msgstr "P95"
#: searx/templates/simple/preferences.html:134
msgid "Errors:"
@@ -977,14 +985,19 @@ msgid ""
"This is a preview of the settings used by the 'Search URL' you used to "
"get here."
msgstr ""
"Šis ir to iestatījumu priekšskatījums, kuri tika izmantoti “Meklēšanas URL”, "
"ar kuru jūs nokļuvāt šeit."
#: searx/templates/simple/preferences.html:158
msgid "Press save to copy these preferences to your browser."
msgstr ""
"Nospiediet “Saglabāt”, lai kopētu šos iestatījumus uz savu pārlūkprogrammu."
#: searx/templates/simple/preferences.html:159
#, fuzzy
msgid "Click here to view your browser preferences instead:"
msgstr ""
"Noklikšķiniet šeit, lai tā vietā skatītu savas pārlūkprogrammas iestatījumus:"
#: searx/templates/simple/preferences.html:169
msgid "General"
@@ -1013,11 +1026,11 @@ msgstr "Pašlaik izmantotās meklētājprogrammas"
#: searx/templates/simple/preferences.html:246
msgid "Special Queries"
msgstr ""
msgstr "Īpašie vaicājumi"
#: searx/templates/simple/preferences.html:254
msgid "Cookies"
msgstr ""
msgstr "Sīkdatnes"
#: searx/templates/simple/results.html:32
msgid "Info"
@@ -1064,12 +1077,13 @@ msgid "Engine name"
msgstr "Meklētāja nosaukums"
#: searx/templates/simple/stats.html:25
#, fuzzy
msgid "Scores"
msgstr ""
msgstr "Rezultāti"
#: searx/templates/simple/stats.html:26
msgid "Result count"
msgstr ""
msgstr "Rezultātu skaits"
#: searx/templates/simple/elements/engines_msg.html:7
#: searx/templates/simple/preferences/engines.html:30
@@ -1080,27 +1094,28 @@ msgstr "Atbildes laiks"
#: searx/templates/simple/preferences/engines.html:34
#: searx/templates/simple/stats.html:28
msgid "Reliability"
msgstr ""
msgstr "Uzticamība"
#: searx/templates/simple/stats.html:58
msgid "Total"
msgstr ""
msgstr "Kopā"
#: searx/templates/simple/stats.html:59
msgid "HTTP"
msgstr ""
msgstr "HTTP"
#: searx/templates/simple/stats.html:60
#, fuzzy
msgid "Processing"
msgstr ""
msgstr "Notiek apstrāde"
#: searx/templates/simple/stats.html:98
msgid "Warnings"
msgstr ""
msgstr "Brīdinājumi"
#: searx/templates/simple/stats.html:98
msgid "Errors and exceptions"
msgstr ""
msgstr "Kļūdas un izņēmumi"
#: searx/templates/simple/stats.html:104
msgid "Exception"
@@ -2108,4 +2123,3 @@ msgstr "slēpt video"
#~ msgid "Engine"
#~ msgstr ""