summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-09-17[mod] searx.network: remove redundant codeAlexandre Flament
searx.client.new_client: the proxies parameter is a dictonnary, and the protocol (key of the dictionnary) is already normalized (see usage of searx.network.network.PROXY_PATTERN_MAPPING)
2021-09-17[upd] upgrade httpx 0.19.0Alexandre Flament
adjust searx.network module to the new internal API see https://github.com/encode/httpx/pull/1522
2021-09-14Merge pull request #297 from dalf/engine-logger-enhAlexandre Flament
debug mode: more readable logging
2021-09-13Merge pull request #318 from return42/fix-doc-brandMarkus Heiser
[brand] docs - normalize project name to SearXNG
2021-09-13[brand] docs - normalize project name to SearXNGMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-13[fix] settings - displayed name is SearXNGMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-13Merge pull request #317 from return42/fix-manage-usageAlexandre Flament
[fix] manage help(): commands babel.* has been renamed to weblate.*
2021-09-13Merge pull request #305 from dalf/fix-engine-loggerMarkus Heiser
[fix] logger per engine: make .logger is always initialized
2021-09-13[fix] logger per engine: make .logger is always initializedAlexandre Flament
the openstreetmap engine imports code from the wikidata engine. before this commit, specific code make sure to copy the logger variable to the wikidata engine. with this commit searx.engines.load_engine makes sure the .logger is initialized. The implementation scans sys.modules for module name starting with searx.engines.
2021-09-12[fix] manage help(): commands babel.* has been renamed to weblate.*Markus Heiser
In commit 97355672c the functions named babel.* has been renamed to weblate.* but it was forgotten to change it also in the help(). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-12Merge pull request #314 from MrPaulBlack/engine-stats-linkMarkus Heiser
Engine stats link
2021-09-12[theme] make engine stats clickableMrPaulBlack
2021-09-12[theme] link to engine stats in footerMrPaulBlack
2021-09-12Merge pull request #308 from dalf/plugin_hostname_replaceMarkus Heiser
[enh] add hostname_replace plugin
2021-09-11[enh] add hostname_replace pluginAlexandre Flament
* backport of https://github.com/searx/searx/pull/2724 * allow to remove result if the replacement is the boolean value false
2021-09-11Merge pull request #313 from dalf/fix-pr-257Alexandre Flament
[fix] PR #257: use the image_proxy network instead of the default network
2021-09-11[fix] PR #257: use the image_proxy network instead of the default networkAlexandre Flament
2021-09-11[mod] production mode: make sure to set the log level to WARNINGAlexandre Flament
set: * the root logger level to WARNING * the werkzeug logger level to WARNING (useful when there is no uwsgi)
2021-09-11[mod] xpath engine: remove logging of the requested URLAlexandre Flament
2021-09-11[mod] debug mode: log HTTP requests with network nameAlexandre Flament
For example wikipedia requests use the logger name "searx.network.wikipedia" Log is disable when searx_debug is False
2021-09-10[mod] debug mode: use coloredlogs packageAlexandre Flament
in debug mode, add some padding to make the output more readable in procution mode, add the timestamp
2021-09-10[mod] searx.metrics & searx.search: use the engine loggersAlexandre Flament
metrics & processors use the engine logger
2021-09-10Merge pull request #311 from dalf/fix-pr-302Markus Heiser
[fix] searx/results.py: strip result['content'] only if it exists
2021-09-10[fix] searx/results.py: strip result['content'] only if it existsAlexandre Flament
fix PR #302
2021-09-10Merge pull request #306 from dalf/docs-brandMarkus Heiser
[doc] searxng brand
2021-09-10Merge pull request #309 from searxng/ci-python-3.10.0-rc.2Alexandre Flament
[ci] add Python 3.10.0-rc.2
2021-09-10[ci] add Python 3.10.0-rc.2Alexandre Flament
2021-09-10[doc] update copyright notice and HTML titleAlexandre Flament
2021-09-10Merge pull request #302 from dalf/mod_plugin_on_resultMarkus Heiser
[mod] plugin: call on_result for each result of each engines.
2021-09-10[doc] update docs/dev/plugins.rstAlexandre Flament
2021-09-10Merge pull request #307 from dalf/remove-transifex-refMarkus Heiser
[fix] remove references to transifex
2021-09-09[fix] remove references to transifexAlexandre Flament
2021-09-09[mod] ahmia_filter: use on_result instead of post_searchAlexandre Flament
see commit 6c9ae7911e9639bc46cd53af215734b4bdb61ba9
2021-09-09[mod] plugin: call on_result after each engine from the ResultContainerAlexandre Flament
Currently, searx.search.Search calls on_result once the engine results have been merged (ResultContainer.order_results). on_result plugins can rewrite the results: once the URL(s) are modified, even they can be merged, it won't be the case since ResultContainer.order_results has already be called. This commit call on_result inside for each result of each engines. In addition the on_result function can return False to remove the result. Note: the on_result function now run on the engine thread instead of the Flask thread.
2021-09-08Merge pull request #303 from return42/fix-READMEAlexandre Flament
[fix] README - fix minor typo
2021-09-08[fix] README - fix minor typoMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-07[mod] oa_doi_rewrite plugin: get_doi_resolver: remove args parameterAlexandre Flament
doi_resolvers.get_value('preferences') already contains the value from request.args.get('doi_resolver')
2021-09-07Merge pull request #295 from return42/fix-csp-2Alexandre Flament
[fix] make HTML templates more CSP compliant
2021-09-07[build] /staticMarkus Heiser
2021-09-07[fix] oscar template - merge the two class attributes into oneMarkus Heiser
Suggested-by: @dalf https://github.com/searxng/searxng/pull/295#discussion_r703337237 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-07[fix] simple theme - preferences: fix tooltip overflowMarkus Heiser
Suggested-by: @dalf https://github.com/searxng/searxng/pull/295#discussion_r703370358 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-07Merge pull request #301 from return42/fix-lintrcAlexandre Flament
[pylint] .pylintrc - disable missing-function-docstring
2021-09-07[pylint] searx: drop no longer needed 'missing-function-docstring'Markus Heiser
Suggested-by: @dalf https://github.com/searxng/searxng/issues/102#issuecomment-914168470 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-07[pylint] engines: drop no longer needed 'missing-function-docstring'Markus Heiser
Suggested-by: @dalf https://github.com/searxng/searxng/issues/102#issuecomment-914168470 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-07[pylint] .pylintrc - disable missing-function-docstringMarkus Heiser
Suggested-by: @dalf https://github.com/searxng/searxng/issues/102#issuecomment-914168470 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-07[fix] oscar theme - preferences: rename col-checkbox/col-statMarkus Heiser
[1] https://github.com/searxng/searxng/pull/295#discussion_r703318053 [2] https://github.com/searxng/searxng/pull/295#discussion_r703337237 Suggested-by: @dalf [1] [2] Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-07Merge pull request #300 from return42/fix-engine-pylintAlexandre Flament
[fix] drop useless pylint: disable=undefined-variable
2021-09-07[fix] add 'categories' to PYLINT_ADDITIONAL_BUILTINS_FOR_ENGINESMarkus Heiser
androp no longer needed (see line 591 in 7b235a1):: # pylint: disable=undefined-variable Suggested-by: @dalf https://github.com/searxng/searxng/issues/102#issuecomment-914068609 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-07[fix] drop useless pylint: disable=undefined-variableMarkus Heiser
Since 7b235a1 (see line 591) it is no longer needed to disable 'undefined-variable' for names defined in:: PYLINT_ADDITIONAL_BUILTINS_FOR_ENGINES Suggested-by: @dalf https://github.com/searxng/searxng/issues/102#issuecomment-914068609 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-07[fix] make oscar theme more CSP compliant - col-checkboxMarkus Heiser
Add col-checkbox in:: searx/static/themes/oscar/src/less/preferences.less Replaced style in file:: searx/templates/oscar/preferences.html Reported-by: https://github.com/searxng/searxng/issues/57 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>