summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2021-04-25Merge pull request #25 from return42/brand-001Alexandre Flament
SearxNG brand
2021-04-25[mod] /stats : detail per engineAlexandre Flament
allow to submit a github issue including the technical details (exceptions, errors, warning, checker result)
2021-04-25[brand] searxng -- fix links to issue tracker & WEB-GUIMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-25Merge pull request #26 from return42/brand-002Alexandre Flament
[github] searxng does not use github's discussion
2021-04-25[github] searxng does not use github's discussionMarkus Heiser
Remove gihtub's discussion template and add a issue template used for questions & discussions. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-25[brand] searxng is a fork from searxMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-25Merge pull request #24 from return42/fix-docAlexandre Flament
[fix doc] manage.sh update_packages does not exists anymore
2021-04-24[fix doc] manage.sh update_packages does not exists anymoreMarkus Heiser
Reported-by: https://github.com/searx/searx/issues/2776 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-24Merge pull request #16 from return42/add-core.acAlexandre Flament
Add a search engine for core.ac.uk
2021-04-24[fix] Springer-Nature & core.ac need API key to workMarkus Heiser
It is the whole engine definition that should be comment out : without the api_key nothing works. Signed-off-by: Markus Heiser <markus@darmarit.de>
2021-04-24[mod] core.ac.uk engineMarkus Heiser
- add to list of pylint scripts - add debug log messages - move API key int `settings.yml` - improved readability - add some metadata to results Signed-off-by: Markus Heiser <markus@darmarit.de>
2021-04-24add core.ac.uk enginespongebob33
2021-04-24Rerevert c54bf42Alexandre Flament
2021-04-24Fix PEP8Alexandre Flament
2021-04-24Merge pull request #8 from return42/manage-scriptAlexandre Flament
Replace Makefile boilerplate by shell scripts
2021-04-24temporary partial revert of c54bf42cb9699501ccbd54a2df0d7fa73be8dcdbAlexandre Flament
2021-04-24Merge pull request #12 from searxng/metrics-stats-pageAlexandre Flament
[mod] update /stats
2021-04-24[mod] /stats: simple theme implementationAlexandre Flament
2021-04-24[mod] /stats : add reliability column and sort by column linksAlexandre Flament
2021-04-24[mod] metrics: add to pylint and justify indentationsMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-24[mod] update /statsAlexandre Flament
2021-04-23Merge pull request #20 from return42/fix-commit-msgAlexandre Flament
[CI] JamesIves/github-pages-deploy-action COMMIT_MESSAGE
2021-04-23[CI] JamesIves/github-pages-deploy-action COMMIT_MESSAGEMarkus Heiser
remove rocket symbol from the commit message Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> Suggested-by: https://github.com/JamesIves/github-pages-deploy-action/pull/576
2021-04-23Merge pull request #19 from return42/fix-gh-pagesAlexandre Flament
[CI] JamesIves/github-pages-deploy-action SINGLE_COMMIT
2021-04-23[CI] JamesIves/github-pages-deploy-action SINGLE_COMMITMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-23[fix] Makefile fix target 'test' & 'test.sh'Markus Heiser
Renamed 'test.sh' to 'test.shell' seems to solve this issue on my ubu204:: $ make test.sh ... TEST robot ... INSTALL gecko.driver ... Running 7 tests cat test.sh >test cat: test.sh: Datei oder Verzeichnis nicht gefunden make: *** [<eingebaut>: test] Fehler 1 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-23[fix] ./manage pyenv.install - die when pyenv build failsMarkus Heiser
ERROR: When pyenv build fails, the pyenv command runs into a recursion [1]: .... BUILDENV BUILDENV BUILDENV BUILDENV BUILDENV BUILDENV BUILDENV ERROR: Cannot install idna==3.1 and requests[socks]==2.25.1 because these package versions have conflicting dependencies. BUILDENV BUILDENV BUILDENV BUILDENV BUILDENV BUILDENV BUILDENV BUILDENV BUILDENV BUILDENV BUILDENV BUILDENV BUILDENV BUILDENV The conflict is caused by: [1] https://github.com/return42/searx-next/pull/4#issuecomment-821999497 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>