Ponysearch/searx
Alexandre Flament 6c39917c4d [mod] webapp.py: update engines initialization condition
Always call initialize engines except on the first run of werkzeug with the reload feature.

the reload feature is activated when:
* searx_debug is True (SEARX_DEBUG environment variable or settings.yml)
* FLASK_APP=searx/webapp.py FLASK_ENV=development flask run (see https://flask.palletsprojects.com/en/1.1.x/cli/ )

Fix SEARX_DEBUG=0 make docs
docs/admin/engines.rst : engines are initialized
See https://github.com/searx/searx/issues/2204#issuecomment-701373438
2020-10-05 11:13:32 +02:00
..
answerers Drop Python 2 (4/n): SearchQuery.query is a str instead of bytes 2020-09-10 10:49:42 +02:00
data fetch google's search langs rather than ui langs 2020-09-22 11:37:44 +02:00
engines [fix] google engine - div classes has been renamed in HTML reult 2020-10-01 09:44:29 +02:00
plugins Drop Python 2 (4/n): SearchQuery.query is a str instead of bytes 2020-09-10 10:49:42 +02:00
static [fix] simple theme: fix autocomplete 2020-09-19 10:13:05 +02:00
templates Merge pull request #2226 from dalf/fix-searx-migration 2020-09-29 12:35:11 +02:00
translations [enh] update translations 2020-07-09 15:15:52 +02:00
__init__.py [mod] upgrade requests to version 2.24.0. use ssl instead of pyopenssl. 2020-09-26 19:30:27 +02:00
autocomplete.py [mod] searx.query.RawTextQuery: getSearchQuery and changeSearchQuery rename to getQuery and changeQuery 2020-09-22 12:36:26 +02:00
brand.py [fix] migration from github.com/asciimoo/searx to github.com/searx/searx : fix URLs 2020-09-28 16:44:14 +02:00
exceptions.py Drop Python 2 (3/n): objects 2020-09-10 10:39:04 +02:00
external_bang.py Drop Python 2 (4/n): SearchQuery.query is a str instead of bytes 2020-09-10 10:49:42 +02:00
languages.py fetch google's search langs rather than ui langs 2020-09-22 11:37:44 +02:00
poolrequests.py [mod] upgrade requests to version 2.24.0. use ssl instead of pyopenssl. 2020-09-26 19:30:27 +02:00
preferences.py Drop Python 2 (3/n): objects 2020-09-10 10:39:04 +02:00
query.py [mod] add searx.search.EngineRef 2020-09-22 18:59:51 +02:00
results.py Drop Python 2 (3/n): objects 2020-09-10 10:39:04 +02:00
search.py [mod] add typing and __slots__ 2020-09-22 19:05:05 +02:00
settings.yml [fix] migration from github.com/asciimoo/searx to github.com/searx/searx : fix URLs 2020-09-28 16:44:14 +02:00
settings_robot.yml DOI improvements: enable HTTPS, update URL of doai.io (#1718) 2020-07-29 22:31:48 +02:00
testing.py Drop Python 2 (1/n): remove unicode string and url_utils 2020-09-10 10:39:04 +02:00
utils.py [mod] add searx/webutils.py 2020-09-22 11:57:06 +02:00
version.py [enh] release v0.17.0 2020-07-09 17:31:28 +02:00
webadapter.py [mod] more typing 2020-09-24 16:26:00 +02:00
webapp.py [mod] webapp.py: update engines initialization condition 2020-10-05 11:13:32 +02:00
webutils.py [mod] webapp.py: update engines initialization condition 2020-10-05 11:13:32 +02:00