searxng/searx
Alexandre FLAMENT 73b5a58d9e [FIX] Redis initialization
redis.Redis.from_url(url) doesn't check if the url is valid

Before this commit: actual error are detected later when the client is actually used.
With this commit, client() makes sure to return a valid Redis client or None.

Also, the code makes sure not to log the password of the Redis URL
2022-11-07 22:08:32 +00:00
..
answerers [fix] issue reported by pylint 22.1.0 2022-02-04 09:45:35 +01:00
data Merge pull request #1905 from searxng/update_data_update_ahmia_blacklist.py 2022-10-29 08:22:43 +02:00
engines Merge pull request #1882 from fehho/metacpan 2022-11-07 21:54:11 +01:00
infopage Donation link: default value to searxng.org, can be hidden or custom 2022-07-02 11:29:21 +02:00
metrics [fix] prepare for pylint 2.14.0 2022-06-03 15:41:52 +02:00
network Update network.py 2022-11-06 20:35:30 +01:00
plugins The checker requires Redis 2022-11-05 12:04:50 +01:00
search Initialize Redis in searx/webapp.py 2022-11-05 17:45:52 +01:00
shared [FIX] Redis initialization 2022-11-07 22:08:32 +00:00
static [build] /static 2022-10-28 10:17:56 +02:00
templates/simple [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00
translations [translations] update from Weblate 2022-11-04 07:18:35 +00:00
__init__.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
autocomplete.py remove the print statement 2022-09-17 11:25:14 +03:00
babel_extract.py [mod] move category and names of constants to searx/searxng.msg 2022-03-16 09:55:53 +01:00
compat.py [fix] pyright repported errors 2022-07-30 18:04:44 +02:00
exceptions.py [pyright:strict] searx.search.checker.background 2022-01-27 22:07:12 +01:00
external_bang.py External bang: bug fix: URL encode the query so "!!g 1+1" works as intended 2022-08-27 07:10:26 +00:00
external_urls.py [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00
flaskfix.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
languages.py [fix] add back missing languages & regions (followup of PR #1071) 2022-04-22 12:09:42 +02:00
locales.py searx.locale: add Dhivehi language 2022-11-05 21:26:15 +00:00
preferences.py [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00
query.py [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00
redislib.py [mod] redislib - optimize LUA script registration. 2022-05-30 11:21:09 +02:00
results.py [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00
searxng.msg Science category: update the engines 2022-09-23 20:45:58 +02:00
settings.yml Merge pull request #1882 from fehho/metacpan 2022-11-07 21:54:11 +01:00
settings_defaults.py Initialize Redis in searx/webapp.py 2022-11-05 17:45:52 +01:00
settings_loader.py [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00
unixthreadname.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
utils.py [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00
version.py [fix] pyright repported errors 2022-07-30 18:04:44 +02:00
webadapter.py [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00
webapp.py The checker requires Redis 2022-11-05 12:04:50 +01:00
webutils.py [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00