Age | Commit message (Collapse) | Author |
|
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)
|
|
adjust searx.network module to the new internal API
see https://github.com/encode/httpx/pull/1522
|
|
debug mode: more readable logging
|
|
[brand] docs - normalize project name to SearXNG
|
|
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
[fix] manage help(): commands babel.* has been renamed to weblate.*
|
|
[fix] logger per engine: make .logger is always initialized
|
|
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.
|
|
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>
|
|
Engine stats link
|
|
|
|
|
|
[enh] add hostname_replace plugin
|
|
* backport of https://github.com/searx/searx/pull/2724
* allow to remove result if the replacement is the boolean value false
|
|
[fix] PR #257: use the image_proxy network instead of the default network
|
|
|
|
set:
* the root logger level to WARNING
* the werkzeug logger level to WARNING (useful when there is no uwsgi)
|
|
|
|
For example wikipedia requests use the logger name "searx.network.wikipedia"
Log is disable when searx_debug is False
|
|
in debug mode, add some padding to make the output more readable
in procution mode, add the timestamp
|
|
metrics & processors use the engine logger
|
|
[fix] searx/results.py: strip result['content'] only if it exists
|
|
fix PR #302
|
|
[doc] searxng brand
|
|
[ci] add Python 3.10.0-rc.2
|
|
|
|
|
|
[mod] plugin: call on_result for each result of each engines.
|
|
|
|
[fix] remove references to transifex
|
|
|
|
see commit 6c9ae7911e9639bc46cd53af215734b4bdb61ba9
|
|
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.
|
|
[fix] README - fix minor typo
|
|
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
doi_resolvers.get_value('preferences') already contains the value from
request.args.get('doi_resolver')
|
|
[fix] make HTML templates more CSP compliant
|
|
|
|
Suggested-by: @dalf https://github.com/searxng/searxng/pull/295#discussion_r703337237
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Suggested-by: @dalf https://github.com/searxng/searxng/pull/295#discussion_r703370358
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
[pylint] .pylintrc - disable missing-function-docstring
|
|
Suggested-by: @dalf https://github.com/searxng/searxng/issues/102#issuecomment-914168470
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Suggested-by: @dalf https://github.com/searxng/searxng/issues/102#issuecomment-914168470
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Suggested-by: @dalf https://github.com/searxng/searxng/issues/102#issuecomment-914168470
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
[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>
|
|
[fix] drop useless pylint: disable=undefined-variable
|
|
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>
|
|
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>
|
|
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>
|