You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
searxng/searx
Alexandre Flament ca93a01844 [mod] dynamically set language_support variable
The language_support variable is set to True by default,
and set to False in only 5 engines.

Except the documentation and the /config URL, this variable is not used.

This commit remove the variable definition in the engines, and
set value according to supported_languages length: False when the length is 0,
True otherwise.

Close #2485
4 years ago
..
answerers Drop Python 2 (4/n): SearchQuery.query is a str instead of bytes 4 years ago
data [data] make engines.languages 4 years ago
engines [mod] dynamically set language_support variable 4 years ago
metrology [fix] checker: fix engine statistics 4 years ago
plugins [mod] pylint: numerous minor code fixes 4 years ago
search [fix] checker: minor fix about language detection 4 years ago
shared [fix] checker: don't run the checker when uwsgi is not properly configured 4 years ago
static [mod] themes: remove legacy, courgette and pix-art themes 4 years ago
templates Merge pull request #2458 from MarcAbonce/hide-links-mobile2 4 years ago
translations [enh] update translations 4 years ago
__init__.py [mod] settings.yml: move brand settings to a dedicated section 4 years ago
autocomplete.py [fix] dbpedia autocomplete (and use HTTPS) 4 years ago
exceptions.py [enh] add raise_for_httperror 4 years ago
external_bang.py [mod] Add searx.data module 4 years ago
external_urls.py [mod] add external_urls.json and wikidata_units.json 4 years ago
languages.py [data] make engines.languages 4 years ago
poolrequests.py [enh] add raise_for_httperror 4 years ago
preferences.py Patch advanced search preferences 4 years ago
query.py fix empty colon in query from selecting Chinese 4 years ago
raise_for_httperror.py [enh] add raise_for_httperror 4 years ago
results.py [mod] results: don't crash when an engine don't have a category 4 years ago
settings.yml [mod] checker: add some additional tests 4 years ago
settings_loader.py [fix] pylint: use "raise ... from ..." 4 years ago
settings_robot.yml Let admins lock user preferences 4 years ago
testing.py Drop Python 2 (1/n): remove unicode string and url_utils 4 years ago
utils.py [fix] pylint: use "raise ... from ..." 4 years ago
version.py prepare release 0.18.0 4 years ago
webadapter.py [fix] pylint: use "raise ... from ..." 4 years ago
webapp.py [enh] checker: background check 4 years ago
webutils.py Merge pull request #2237 from dalf/mod-engines-init 4 years ago