summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-01Merge pull request #50 from searxng/update_data_update_currencies.pyAlexandre Flament
Update searx.data - update_currencies.py
2021-05-01Merge pull request #48 from searxng/update_data_update_wikidata_units.pyAlexandre Flament
Update searx.data - update_wikidata_units.py
2021-05-01Merge pull request #47 from searxng/update_data_update_firefox_version.pyAlexandre Flament
Update searx.data - update_firefox_version.py
2021-05-01Update searx.data - update_currencies.pydalf
2021-05-01Update searx.data - update_wikidata_units.pydalf
2021-05-01Update searx.data - update_firefox_version.pydalf
2021-05-01Update data-update.ymlAlexandre Flament
Call to peter-evans/create-pull-request@v3 : Use the default GITHUB_TOKEN
2021-05-01Update data-update.ymlAlexandre Flament
Disable fail fast: so even if a script fails, the other scripts create PR.
2021-05-01Update data-update.ymlAlexandre Flament
- searxng brand - fix call to ./manage
2021-04-30Merge pull request #22 from searxng/docker-buildxAlexandre Flament
[docker] multiarch build
2021-04-29Merge pull request #40 from searxng/link-to-statsAlexandre Flament
[mod] engine errors: link to the stats to create an github issue
2021-04-29Merge pull request #42 from return42/fix-solidtorrentMarkus Heiser
[fix] URL to solidtorrent result page
2021-04-29[mod] UI: engine pref-page, about toolbox: add link to statsMarkus Heiser
In the preference page, in the 'about' toolbox of an engine, add a link to the stats page of the engine, if the engine had one or more errors. Condition is:: reliabilities[<engine.name>].errors Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-29[mod] engine errors: link to the stats to create an github issueAlexandre Flament
2021-04-29[fix] URL to solidtorrent result pageMichael Ilsaas
Reported-by: https://github.com/searx/searx/pull/2786
2021-04-29Merge pull request #38 from return42/filtron-rulesAlexandre Flament
[filtron.sh] make filtron rule file configurable
2021-04-29Merge pull request #41 from return42/fix-themesAlexandre Flament
fix varius theme issues
2021-04-28[fix] typo: 'interactiv' --> 'interactive'Markus Heiser
Reported-by: https://github.com/searxng/searxng/pull/38#pullrequestreview-646940531 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-28[static] make themes.all - from commit 9e8171e38Markus Heiser
Based on commit 9e8171e38 this patch is generated by:: make themes.all Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-28[fix] new_issue.html: drop inline style attributes (CSP conformance)Markus Heiser
Inline styles are blocked by default with Content Security Policy (CSP). Move the inline styles from 'new_issue.html' to:: searx/static/themes/__common__/less/new_issue.less Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-28[fix] simple theme - remove no longer used stats.less fileMarkus Heiser
File searx/static/themes/simple/less/stats.less is not used (imported) in any other less file. I can't say when it's usage was dropped or if it has ever been used. ATM this file is without any usage. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-28[fix] grunt/less/development: oscar light & dark logicodev mixes CSSMarkus Heiser
closes: https://github.com/searxng/searxng/issues/39 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-28[docker] multiarch support: linux/amd64,linux/arm64,linux/arm/v7Alexandre Flament
make docker.buildx : build and push multiarch build. (it can't be only build) use buildx with the --cache-from and --cache-to options to cache the layers (only the last built is cached)
2021-04-28[filtron.sh] make filtron rule file configurableMarkus Heiser
To select a different file with filtron rules, set environment FILTRON_RULES_TEMPLATE the default is utils/templates/etc/filtron/rules.json The installation is done by the new function install_rules() which offers a multiple choice in case of collisions (known from searx.sh install setup). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-27Merge pull request #37 from return42/drop-req-idnaAlexandre Flament
[fix] drop 'idna' from requirements.txt
2021-04-27Merge pull request #32 from searxng/fix-networkAlexandre Flament
[fix] searx.network: fix rare cases where LOOP is None
2021-04-27[fix] searx.network: fix rare cases where LOOP is NoneAlexandre Flament
* searx.network.client.LOOP is initialized in a thread * searx.network.__init__ imports LOOP which may happen before the thread has initialized LOOP This commit adds a new function "searx.network.client.get_loop()" to fix this issue
2021-04-27Merge pull request #33 from searxng/remove-deprecated-filesMarkus Heiser
[clean] drop deprecated files .codecov.yml, .landscape.yaml & tox.ini
2021-04-27[clean] drop deprecated files .codecov.yml, .landscape.yaml & tox.iniAlexandre Flament
.codecov.yml : code coverage reports are attached on each build. See for example: https://github.com/searxng/searxng/actions/runs/788360104 (Artifacts section) .landscape.yaml : landscape.io is offline tox.ini : not in use
2021-04-27Merge pull request #28 from searxng/mod-processors-error-messageAlexandre Flament
[mod] processors: show identical error messages on /search and /stats
2021-04-27Merge pull request #34 from searxng/error_recorder_relative_filenameMarkus Heiser
[mod] searx.metrics.error_recorder: store relative file name instead of the full absolute file name.
2021-04-27[lint] pylint searx/search/processors files / BTW add some doc-stringsMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-27Merge pull request #35 from return42/fix-manageAlexandre Flament
[fix] manage - fix miss usage of 'set -e'
2021-04-27[mod] processors: show identical error messages on /search and /statsAlexandre Flament
2021-04-27[fix] drop 'idna' from requirements.txtMarkus Heiser
Requirement idna was added in 181c12ae04ba but I don't know why. This package is not directly used by searxng but its a sub-requirement of some other packages using package `requests` (with different range of supported versions, see below). In summary one can say: the version of idna should be depend on package `requests`:: ... Pallets-Sphinx-Themes==1.2.3 ... - Sphinx [required: Any, installed: 3.5.4] ... - requests [required: >=2.5.0, installed: 2.25.1] ... - idna [required: >=2.5,<3, installed: 2.10] ... ... transifex-client==0.14.2 - requests [required: >=2.19.1,<3.0.0, installed: 2.25.1] ... - idna [required: >=2.5,<3, installed: 2.10] twine==3.4.1 ... - requests [required: >=2.20, installed: 2.25.1] ... - idna [required: >=2.5,<3, installed: 2.10] Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-27[fix] manage - fix miss usage of 'set -e'Markus Heiser
The philosophy of set -e is typically that it only exits upon uncaught errors. Here, the presence of || outside the subshell seems to tell the shell that the error inside the subshell is 'caught' and therefore set -e does not cause an exit after false [1]. The shell does not exit if the command that fails is ... part of any command executed in a && or || list except the command following the final && or ||, any command in a pipeline but the last, or if the command’s return status is being inverted with ! [2] [1] https://unix.stackexchange.com/questions/296526/set-e-in-a-subshell [2] https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html#The-Set-Builtin BTW: fix error reported by 'make test.shell' Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-27[mod] searx.metrics.error_recorder: store relative file name instead of the ↵Alexandre Flament
full absolute file name.
2021-04-26Merge pull request #31 from return42/mod-pylintAlexandre Flament
[pylint] get PYLINT_FILES from tag '# lint: pylint'
2021-04-26[pylint] get PYLINT_FILES from tag '# lint: pylint'Markus Heiser
These py files are linted by test.pylint(), all other files are linted by test.pep8() close: https://github.com/searxng/searxng/issues/21 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-26[pylint] tag PYLINT_FILES by comment `# lint: pylint`Markus Heiser
These py files are linted by `test.pylint`, all other files are linted by `test.pep8`. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-26Merge pull request #2 from searxng/dependabot/pip/master/pygments-2.8.1Markus Heiser
Bump pygments from 2.8.0 to 2.8.1 and run ./manage pyenv.cmd searx_extra/update/update_pygments.py
2021-04-26[upd] ./manage pyenv.cmd searx_extra/update/update_pygments.pyMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-26[mod] update_pygments -- prompt filenames of updated filesMarkus Heiser
BTW: remove trailing whitespace Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-26Bump pygments from 2.8.0 to 2.8.1dependabot[bot]
Bumps [pygments](https://github.com/pygments/pygments) from 2.8.0 to 2.8.1. - [Release notes](https://github.com/pygments/pygments/releases) - [Changelog](https://github.com/pygments/pygments/blob/2.8.1/CHANGES) - [Commits](https://github.com/pygments/pygments/compare/2.8.0...2.8.1) Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26Bump sphinx from 3.5.3 to 3.5.4dependabot[bot]
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 3.5.3 to 3.5.4. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/4.x/CHANGES) - [Commits](https://github.com/sphinx-doc/sphinx/commits/v3.5.4) Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26Merge pull request #30 from return42/brand-readmeAlexandre Flament
[brand] README.rst fix img.shields.io and searxng.github.io URLs
2021-04-26[brand] README.rst fix img.shields.io and searxng.github.io URLsMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-26Merge pull request #27 from return42/fix-debug-logAlexandre Flament
[fix] debug log: UnicodeEncodeError: 'ascii' codec can't encode
2021-04-26[fix] debug log: UnicodeEncodeError: 'ascii' codec can't encodeMarkus Heiser
The issue exists only in the debug log:: --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) UnicodeEncodeError: 'ascii' codec can't encode characters in position 79-89: ordinal not in range(128) Call stack: File "/usr/local/searx/searx-pyenv/lib/python3.9/site-packages/flask/app.py", line 2464, in __call__ return self.wsgi_app(environ, start_response) File "/usr/local/searx/searx-src/searx/webapp.py", line 1316, in __call__ return self.app(environ, start_response) File "/usr/local/searx/searx-pyenv/lib/python3.9/site-packages/werkzeug/middleware/proxy_fix.py", line 169, in __call__ return self.app(environ, start_response) File "/usr/local/searx/searx-pyenv/lib/python3.9/site-packages/flask/app.py", line 2447, in wsgi_app response = self.full_dispatch_request() File "/usr/local/searx/searx-pyenv/lib/python3.9/site-packages/flask/app.py", line 1950, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/searx/searx-pyenv/lib/python3.9/site-packages/flask/app.py", line 1936, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/usr/local/searx/searx-src/searx/webapp.py", line 766, in search number_of_results=format_decimal(number_of_results), File "/usr/local/searx/searx-pyenv/lib/python3.9/site-packages/flask_babel/__init__.py", line 458, in format_decimal locale = get_locale() File "/usr/local/searx/searx-pyenv/lib/python3.9/site-packages/flask_babel/__init__.py", line 226, in get_locale rv = babel.locale_selector_func() File "/usr/local/searx/searx-src/searx/webapp.py", line 249, in get_locale logger.debug("%s uses locale `%s` from %s", request.url, locale, locale_source) Unable to print the message and arguments - possible formatting error. Use the traceback above to help find the error. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-25Merge pull request #23 from searxng/metrics-stats-enginesAlexandre Flament
Metrics stats engines