summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-05[pylint] checker/__main__.py & checker/background.pyMarkus Heiser
Lint files that has been touched by [PR #58] [PR #58] https://github.com/searxng/searxng/pull/58 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-05-05[mod] multithreading only in searx.search.* packagesAlexandre Flament
it prepares the new architecture change, everything about multithreading in moved in the searx.search.* packages previously the call to the "init" function of the engines was done in searx.engines: * the network was not set (request not sent using the defined proxy) * it requires to monkey patch the code to avoid HTTP requests during the tests
2021-05-04Merge pull request #55 from searxng/upd-relialibility-columnMarkus Heiser
[themes] /preferences, reliablity: warning icons & error logs link
2021-05-04[mod] option to enable or disable "proxy" button next to each result (#54)Markus Heiser
* [mod] option to enable or disable "proxy" button next to each result Closes: https://github.com/searxng/searxng/issues/51 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> Co-authored-by: Alexandre Flament <alex@al-f.net>
2021-05-04[themes] /preferences, reliablity: warning icons & error logs linkAlexandre Flament
When there is at least one errors or one failed checker test: * the warning icon is displayed in the reliability column * the link "View error logs and submit a bug report" is displayed on engine name tooltip. Before: * the warning icon was displayed only when one or more checker test(s) failed. * the link "View error logs and submit a bug report" was not shown when a checker test failed but there were no error.
2021-05-03Merge pull request #43 from searxng/dependabot/pip/master/babel-2.9.1Markus Heiser
Bump babel from 2.9.0 to 2.9.1
2021-05-03Merge pull request #44 from searxng/dependabot/pip/master/pylint-2.8.2Markus Heiser
Bump pylint from 2.7.4 to 2.8.2
2021-05-03Bump pylint from 2.7.4 to 2.8.2dependabot[bot]
Bumps [pylint](https://github.com/PyCQA/pylint) from 2.7.4 to 2.8.2. - [Release notes](https://github.com/PyCQA/pylint/releases) - [Changelog](https://github.com/PyCQA/pylint/blob/master/ChangeLog) - [Commits](https://github.com/PyCQA/pylint/compare/pylint-2.7.4...v2.8.2) Signed-off-by: dependabot[bot] <support@github.com>
2021-05-03Merge pull request #52 from MarcAbonce/fix_qwant_locales2Markus Heiser
Fix Qwant's fetch_languages function
2021-05-02fix Qwant's fetch_languages functionMarc Abonce Seguin
2021-05-01Merge pull request #49 from searxng/update_data_update_ahmia_blacklist.pyAlexandre Flament
Update searx.data - update_ahmia_blacklist.py
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_ahmia_blacklist.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-30Bump babel from 2.9.0 to 2.9.1dependabot[bot]
Bumps [babel](https://github.com/python-babel/babel) from 2.9.0 to 2.9.1. - [Release notes](https://github.com/python-babel/babel/releases) - [Changelog](https://github.com/python-babel/babel/blob/master/CHANGES) - [Commits](https://github.com/python-babel/babel/compare/v2.9.0...v2.9.1) Signed-off-by: dependabot[bot] <support@github.com>
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.