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 72f5e7cfb8 js_variable_to_python: add tests, handle more JS syntax
The tests from chompjs are copied.
The comment out tests do not pass.
The implementation of js_variable_to_python has been updated:
* in the main looop, try to make the four different cases more clear
* handle decimal number like "-.5", "5." or "- 5"  (without double quote)
* the character ` is seen a string delimiter as intended in JS
* the identifiers follow JS specification ($, _, letters and numbers)
9 months ago
..
answerers [mod] random answerer: add random hex color generator 10 months ago
botdetection [fix] reduce error logs related to X-Forwarded-For & X-Real-IP headers 10 months ago
data [mod] make data.traits: add Odysee 9 months ago
enginelib [doc] fix some minor typos in the doc-strings of class EngineTraits 10 months ago
engines [fix] brave.videos 9 months ago
infopage Create search-syntax.md fa 10 months ago
metrics [fix] prepare for pylint 2.14.0 2 years ago
network [mod] searx.network: memory optimization 10 months ago
plugins [fix] limiter: replace real_ip by IPv4/v6 network 1 year ago
search [fix] make flask_babel.gettext() work in engine modules (L10n & threads) 10 months ago
static [build] /static 9 months ago
templates/simple [feature] dark theme for code highlighter in the result list 9 months ago
tools [mod] tools.Config.get(): add missing type annotations 1 year ago
translations [translations] update from Weblate 9 months ago
__init__.py [format.python] initial formatting of the python code 2 years ago
autocomplete.py [doc] add documentation of Mwmbl engine & autocompleter 10 months ago
babel_extract.py [mod] move category and names of constants to searx/searxng.msg 2 years ago
compat.py [fix] pyright repported errors 2 years ago
exceptions.py [doc] Add doc-strings to searx.exceptions 1 year ago
external_bang.py [mod] external bang: go to main instead of search page when query is empty 1 year ago
external_urls.py [fix] typos / reported by @kianmeng in searx PR-3366 2 years ago
flaskfix.py [format.python] initial formatting of the python code 2 years ago
locales.py use logger.warning 1 year ago
preferences.py [mod] preferences.py: add and use BooleanSetting for checkbox preferences 10 months ago
query.py [mod] replace searx.languages by searx.sxng_locales 1 year ago
redisdb.py move searx.shared.redisdb to searx.redisdb 2 years ago
redislib.py [mod] redislib - optimize LUA script registration. 2 years ago
results.py [mod] move some code from webapp module to webutils module (no functional change) 12 months ago
searxng.msg [mod] clarify the difference of the default category and subgrouping 1 year ago
settings.yml [feat] implementation of the movie database 9 months ago
settings_defaults.py [fix] engine & network issues / documentation and type annotations 12 months ago
settings_loader.py [fix] categories can't be removed from UI (categories_as_tabs) 1 year ago
sxng_locales.py [feat] engine: re-enables z-library (zlibrary-global.se) 11 months ago
unixthreadname.py [format.python] initial formatting of the python code 2 years ago
utils.py js_variable_to_python: add tests, handle more JS syntax 9 months ago
version.py [fix] typos in documentation & messages 10 months ago
webadapter.py [mod] move language recognition to get_search_query_from_webapp 1 year ago
webapp.py [feature] dark theme for code highlighter in the result list 9 months ago
webutils.py [fix] implement a JSONEncoder for the json format 12 months ago