<feed xmlns='http://www.w3.org/2005/Atom'>
<title>searxng/.git/searx/templates/oscar/stats.html, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/'/>
<entry>
<title>[theme] delete static/themes/oscar and templates/oscar</title>
<updated>2022-04-30T11:20:27+00:00</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2022-04-30T06:04:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=ad1aca682318657955369b1f2cb28a86bc25394c'/>
<id>ad1aca682318657955369b1f2cb28a86bc25394c</id>
<content type='text'>
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;

 templates/oscar#	gelöscht:       searx/static/themes/oscar/fonts/glyphicons-halflings-regular.ttf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;

 templates/oscar#	gelöscht:       searx/static/themes/oscar/fonts/glyphicons-halflings-regular.ttf
</pre>
</div>
</content>
</entry>
<entry>
<title>[theme] make engine stats clickable</title>
<updated>2021-09-12T08:52:15+00:00</updated>
<author>
<name>MrPaulBlack</name>
<email>paul.accounts@protonmail.com</email>
</author>
<published>2021-09-12T08:52:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=644ccf16becaf8b598663e9a042aa3d1c4c36c77'/>
<id>644ccf16becaf8b598663e9a042aa3d1c4c36c77</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[mod] drop usage of the searx.brand namespace (templates &amp; /config)</title>
<updated>2021-07-21T11:38:28+00:00</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2021-07-18T13:38:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=3f638ed196cdd98d933d6e70dffe374e2d2456dc'/>
<id>3f638ed196cdd98d933d6e70dffe374e2d2456dc</id>
<content type='text'>
In the templates and the /config (JSON) the usage of the 'brand.*' name
space is replaced by 'searx.get_setting' function.

- new_issue_url          --&gt; get_setting('brand.new_issue_url')
- brand.GIT_URL          --&gt; get_setting('brand.git_url')
- brand.PUBLIC_INSTANCES --&gt; get_setting('brand.public_instances')
- brand.DOCS_URL         --&gt; get_setting('brand.docs_url')
- brand.ISSUE_URL        --&gt; get_setting('brand.issue_url')
- brand.CONTACT_URL      --&gt; get_setting('general.contact_url', '')

The macro 'new_issue' from searx/templates/*/messages/no_results.html
is now imported with context::

    {% from '__common__/new_issue.html' import new_issue with context %}

To get *public instances URL* from context's 'get_setting()' function::

    get_setting('brand.public_instances','')

Macro's prototype does no longer need the 'new_issue_url' argument and has been
changed to::

    macro new_issue(engine_name, engine_reliability)

Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the templates and the /config (JSON) the usage of the 'brand.*' name
space is replaced by 'searx.get_setting' function.

- new_issue_url          --&gt; get_setting('brand.new_issue_url')
- brand.GIT_URL          --&gt; get_setting('brand.git_url')
- brand.PUBLIC_INSTANCES --&gt; get_setting('brand.public_instances')
- brand.DOCS_URL         --&gt; get_setting('brand.docs_url')
- brand.ISSUE_URL        --&gt; get_setting('brand.issue_url')
- brand.CONTACT_URL      --&gt; get_setting('general.contact_url', '')

The macro 'new_issue' from searx/templates/*/messages/no_results.html
is now imported with context::

    {% from '__common__/new_issue.html' import new_issue with context %}

To get *public instances URL* from context's 'get_setting()' function::

    get_setting('brand.public_instances','')

Macro's prototype does no longer need the 'new_issue_url' argument and has been
changed to::

    macro new_issue(engine_name, engine_reliability)

Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[fix] offline engines: fix templates /stats and /preferences</title>
<updated>2021-05-22T13:17:18+00:00</updated>
<author>
<name>Alexandre Flament</name>
<email>alex@al-f.net</email>
</author>
<published>2021-05-19T09:28:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=99aaf86b739b8b93ec0f133822753e8c5ea96e0e'/>
<id>99aaf86b739b8b93ec0f133822753e8c5ea96e0e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[fix] bar graph and rename CSS class engine-scores -&gt; engine-score</title>
<updated>2021-05-17T19:24:19+00:00</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2021-05-17T15:56:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=0507e185a55702c528ead471b17506fc5db39b58'/>
<id>0507e185a55702c528ead471b17506fc5db39b58</id>
<content type='text'>
- drop #main_stats selector in stats.less
- 'engine-score' exists before this PR.
- untabify searx/static/themes/__common__/less/stats.less

for details see comment at: https://github.com/searxng/searxng/pull/81/files/d93bec7638908cae64530727d4e1539ae10bd144..1204e4f07e932029d66b4674a3474918228459a6#r633571496

Suggested-by: @dalf in commit 1204e4f0
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- drop #main_stats selector in stats.less
- 'engine-score' exists before this PR.
- untabify searx/static/themes/__common__/less/stats.less

for details see comment at: https://github.com/searxng/searxng/pull/81/files/d93bec7638908cae64530727d4e1539ae10bd144..1204e4f07e932029d66b4674a3474918228459a6#r633571496

Suggested-by: @dalf in commit 1204e4f0
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[fix] make /stats more CSP compliant - oscar theme</title>
<updated>2021-05-17T15:41:22+00:00</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2021-05-16T15:57:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=34859d0e5872499c72fcaebb67ca57f95beb9864'/>
<id>34859d0e5872499c72fcaebb67ca57f95beb9864</id>
<content type='text'>
Replace oscar theme's *styles* (see below) by CSP compliant implementation in
``searx/static/themes/__common__/less/stats.less`` ::

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

Reported-by: https://github.com/searxng/searxng/issues/57
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace oscar theme's *styles* (see below) by CSP compliant implementation in
``searx/static/themes/__common__/less/stats.less`` ::

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

Reported-by: https://github.com/searxng/searxng/issues/57
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[fix] make /stats more CSP compliant - bar graph</title>
<updated>2021-05-17T15:41:22+00:00</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2021-05-16T11:16:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=cdfb4b7ff9829cb9048b573f7f1775dc8029f75a'/>
<id>cdfb4b7ff9829cb9048b573f7f1775dc8029f75a</id>
<content type='text'>
Replace bar graph's *styles* (see below) by CSP compliant implementation in
``searx/static/themes/__common__/less/stats.less`` ::

    ./simple/stats.html:49: &lt;span style="width: calc(max(2px, 100%*{{ (engine_stat.result_count / engine_stats.max_result_count )|round(3) }}))" class="stacked-bar-chart-serie1"&gt;&lt;/span&gt;{{- "" -}}
    ./simple/stats.html:57: &lt;span style="width: calc(max(2px, 100%*{{ (engine_stat.http / engine_stats.max_time )|round(3) }}))" class="stacked-bar-chart-serie1"&gt;&lt;/span&gt;{{- "" -}}
    ./simple/stats.html:58: &lt;span style="width: calc(100%*{{ engine_stat.processing / engine_stats.max_time |round(3) }})" class="stacked-bar-chart-serie2"&gt;&lt;/span&gt;{{- "" -}}
    ./oscar/stats.html:50:  &lt;span style="width: calc(max(2px, 100%*{{ (engine_stat.result_count / engine_stats.max_result_count )|round(3) }}))" class="stacked-bar-chart-serie1"&gt;&lt;/span&gt;{{- "" -}}
    ./oscar/stats.html:58:  &lt;span style="width: calc(max(2px, 100%*{{ (engine_stat.http / engine_stats.max_time )|round(3) }}))" class="stacked-bar-chart-serie1"&gt;&lt;/span&gt;{{- "" -}}
    ./oscar/stats.html:59:  &lt;span style="width: calc(100%*{{ engine_stat.processing / engine_stats.max_time |round(3) }})" class="stacked-bar-chart-serie2"&gt;&lt;/span&gt;{{- "" -}}

Reported-by: https://github.com/searxng/searxng/issues/57
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace bar graph's *styles* (see below) by CSP compliant implementation in
``searx/static/themes/__common__/less/stats.less`` ::

    ./simple/stats.html:49: &lt;span style="width: calc(max(2px, 100%*{{ (engine_stat.result_count / engine_stats.max_result_count )|round(3) }}))" class="stacked-bar-chart-serie1"&gt;&lt;/span&gt;{{- "" -}}
    ./simple/stats.html:57: &lt;span style="width: calc(max(2px, 100%*{{ (engine_stat.http / engine_stats.max_time )|round(3) }}))" class="stacked-bar-chart-serie1"&gt;&lt;/span&gt;{{- "" -}}
    ./simple/stats.html:58: &lt;span style="width: calc(100%*{{ engine_stat.processing / engine_stats.max_time |round(3) }})" class="stacked-bar-chart-serie2"&gt;&lt;/span&gt;{{- "" -}}
    ./oscar/stats.html:50:  &lt;span style="width: calc(max(2px, 100%*{{ (engine_stat.result_count / engine_stats.max_result_count )|round(3) }}))" class="stacked-bar-chart-serie1"&gt;&lt;/span&gt;{{- "" -}}
    ./oscar/stats.html:58:  &lt;span style="width: calc(max(2px, 100%*{{ (engine_stat.http / engine_stats.max_time )|round(3) }}))" class="stacked-bar-chart-serie1"&gt;&lt;/span&gt;{{- "" -}}
    ./oscar/stats.html:59:  &lt;span style="width: calc(100%*{{ engine_stat.processing / engine_stats.max_time |round(3) }})" class="stacked-bar-chart-serie2"&gt;&lt;/span&gt;{{- "" -}}

Reported-by: https://github.com/searxng/searxng/issues/57
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[mod] /stats : detail per engine</title>
<updated>2021-04-25T12:28:06+00:00</updated>
<author>
<name>Alexandre Flament</name>
<email>alex@al-f.net</email>
</author>
<published>2021-04-23T19:08:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=df41b7712150adf384bc08e38215a7cc9970c100'/>
<id>df41b7712150adf384bc08e38215a7cc9970c100</id>
<content type='text'>
allow to submit a github issue including the technical details
(exceptions, errors, warning, checker result)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
allow to submit a github issue including the technical details
(exceptions, errors, warning, checker result)
</pre>
</div>
</content>
</entry>
<entry>
<title>[mod] /stats: simple theme implementation</title>
<updated>2021-04-24T04:58:49+00:00</updated>
<author>
<name>Alexandre Flament</name>
<email>alex@al-f.net</email>
</author>
<published>2021-04-23T09:01:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=7032f7521c344592dc68f89027c98cdec46d7055'/>
<id>7032f7521c344592dc68f89027c98cdec46d7055</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[mod] /stats : add reliability column and sort by column links</title>
<updated>2021-04-24T04:58:49+00:00</updated>
<author>
<name>Alexandre Flament</name>
<email>alex@al-f.net</email>
</author>
<published>2021-04-22T15:47:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=09e7ecdce22733be82bb141355c646ddec538714'/>
<id>09e7ecdce22733be82bb141355c646ddec538714</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
