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
Markus Heiser 34859d0e58 [fix] make /stats more CSP compliant - oscar theme
Replace oscar theme's *styles* (see below) by CSP compliant implementation in
``searx/static/themes/__common__/less/stats.less`` ::

    ./oscar/stats.html:29:  <th scope="col" style="width:20rem;">{{ th_sort('name', _("Engine name")) }}</th>
    ./oscar/stats.html:30:  <th scope="col" style="width:7rem; text-align: right;">{{ th_sort('score', _('Scores')) }}</th>
    ./oscar/stats.html:33:  <th scope="col" style="text-align: right;">{{ th_sort('reliability', _('Reliability')) }}</th>
    ./oscar/stats.html:38:  <td style="text-align: right;">
    ./oscar/stats.html:91:  <td style="text-align: right;"> {{ engine_reliabilities.get(engine_stat.name, {}).get('reliablity') }}</td>
    ./oscar/stats.html:109: <tbody style="padding-top: 1rem;">
    ./oscar/stats.html:112: <th scope="row" style="width: 10rem">{{ _('Exception') }}</th><td>{{ error.exception_classname }}</td>
    ./oscar/stats.html:114: <th scope="row" style="width: 10rem">{{ _('Message') }}</th><td>{{ error.log_message }}</td>
    ./oscar/stats.html:116: <th scope="row" style="width: 10rem">{{ _('Percentage') }}</th><td style="width: 10rem">{{ error.percentage }}</td>
    ./oscar/stats.html:121: <span style="border-right: 1px solid gray; padding: 0 1rem 0 0; margin: 0 0 0 0.5rem;">{{ param }}</span>
    ./oscar/stats.html:138: <th scope="col" style="width: 10rem">{{ _('Failed test') }}</th>

Reported-by: https://github.com/searxng/searxng/issues/57
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
..
answerers [fix] answers: don't crash when the query is an empty string 4 years ago
data fix Qwant's fetch_languages function 4 years ago
engines [mod] multithreading only in searx.search.* packages 4 years ago
metrics [mod] searx.metrics.error_recorder: store relative file name instead of the full absolute file name. 4 years ago
network [mod] searx.network.client: the same configuration reuses the same ssl.SSLContext 4 years ago
plugins [drop] plugin HTTPS rewrite - rule base is to old (update is to big) 4 years ago
raise_for_httperror [enh] rewrite and enhance metrics 4 years ago
search [pylint] checker/__main__.py & checker/background.py 4 years ago
shared [fix] checker: don't run the checker when uwsgi is not properly configured 4 years ago
static [fix] make /stats more CSP compliant - simple theme 3 years ago
templates [fix] make /stats more CSP compliant - oscar theme 3 years ago
translations [enh] update translations from transifex 4 years ago
__init__.py [mod] searx.metrics.error_recorder: store relative file name instead of the full absolute file name. 4 years ago
autocomplete.py [httpx] replace searx.poolrequests by searx.network 4 years ago
exceptions.py [enh] add raise_for_httperror 4 years ago
external_bang.py [mod] add utils/fetch_external_bangs.py 4 years ago
external_urls.py [mod] add external_urls.json and wikidata_units.json 4 years ago
languages.py Update searx.data - update_languages.py 4 years ago
preferences.py [pylint] tag PYLINT_FILES by comment `# lint: pylint` 4 years ago
query.py [enh] autocomplete refactoring, autocomplete on external bangs 4 years ago
results.py [mod] metrics: add secondary parameter 4 years ago
settings.yml [mod] option to enable or disable "proxy" button next to each result (#54) 4 years ago
settings_loader.py [fix] settings_loader.py - use update_dict only for mapping types 4 years ago
settings_robot.yml [enh] add DOI resolver from sci-hub / replace default DOI 4 years ago
testing.py Bump pylint from 2.7.4 to 2.8.2 4 years ago
utils.py [enh] replace requests by httpx 4 years ago
version.py [enh] release v1.0.0 4 years ago
webadapter.py [enh] add ability to send engine data to subsequent requests 4 years ago
webapp.py [fix] webapp.py: pylint: disable=assigning-non-slot for request.* 3 years ago
webutils.py Updated webutils.highlight_content to ignore double-quotes when highlighting query parts 4 years ago