Bnyro
33c1236923
[fix] search: crash when no engines are used to search
1 month ago
Markus Heiser
b774ee04ba
[mod] enable calculator and allow plugin on public instances
...
Remove quirks that prevented the Calculator from being used on public instances.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 months ago
GenericMale
e65edb141d
[feat] results: show response times
2 months ago
GenericMale
8289436e55
[fix] search: don't show categories without active engine
2 months ago
Markus Heiser
022898e502
[fix] fix issues in the language menue introduced by PR #3645
...
In my review of [1] I tried to reformat the template code of the language
menue whereby I have made two mistakes.
- default language was added twice
- in the 'Auto-detect' item a hard coded `[auto]` was implemented where the
`search_language` variable was needed.
[1] https://github.com/searxng/searxng/issues/3645
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 months ago
Bnyro
304ddd8114
[feat] videos template: support for view count
3 months ago
Markus Heiser
3f22dbb68a
[fix] products template: don't quote html tags in result.content
...
The result.content field is *safe* HTML, tags to highlight search terms are
intended.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 months ago
Grant Lanham
e56f4b315f
[mod] UX: flush flag icon to right in language select option values
...
If the flag icon is first, it prevents easily searching the select list on the
keyboard. By moving the icon fully to the right, this will enable a user to
search the select list.
Closes: https://github.com/searxng/searxng/issues/3645
3 months ago
Bnyro
e9f8412a6e
[perf] torrents.html, files.html: don't parse and re-format filesize
4 months ago
Markus Heiser
916739d6b4
[mod] simple theme: drop img_src from default results
...
The use of img_src AND thumbnail in the default results makes no sense (only a
thumbnail is needed). In the current state this is rather confusing, because
img_src is displayed like a thumbnail (small) and thumbnail is displayed like an
image (large).
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 months ago
Daniel Kukula
cc8b537e34
[mod] package.html template: additional links (a python dict)
...
- Closes: https://github.com/searxng/searxng/issues/3456
5 months ago
Bnyro
72be98e12f
[feat] plugins: new calculator plugin
5 months ago
Yaksh Bariya
d577817646
[fix] respect user preferences to open links in new tab for short answers
...
Previously only result urls were set to open in new tab by default, this should
make the behaviour consistent.
Also adds the missing rel="noreferrer" to the anchor tag. Although this should
not be needed as long as the `referrer-policy: no-referrer` header is set, it's
always nice to play safer than to have to say sorry. For example some reverse
proxy configurations might strip off unwhitelisted headers in which case it's
nice to have this set.
6 months ago
Jinyuan Huang
ecee56533c
improve "search existing issues from github" link
6 months ago
Bnyro
3ea278aff4
[feat] preferences: button to enable/disable all engines
6 months ago
Markus Heiser
d593055888
[fix] ionic.io/ionicons - add back missing class="ionicon"
...
Seems to me svg2jinja added the class in the past .. but no longer in new builds
/ this patch adds the class back by using addAttributesToSVGElement [1].
To test this patch use:
$ ./manage themes.simple
$ cat searx/templates/simple/icons.html
and check `class="ionicon"` is in the outer `<svg ..>` tags.
[1] https://svgo.dev/docs/plugins/add-attributes-to-svg-elements/
[2] https://ionic.io/ionicons
Closes: https://github.com/searxng/searxng/issues/3383
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
6 months ago
mrpaulblack
5e4ab964b7
[feat] template: add apple-touch-icon in html header
...
* this makes it possible to add SearXNG to iOS devices homescreen with a proper icon
6 months ago
Markus Heiser
26a92c1a8d
[fix] new builds of icons.html do miss class="ionicon"
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
6 months ago
Markus Heiser
dddd628f48
[build] /static
6 months ago
Bnyro
db1f9b31c9
[feat] images: show resolution inside the image and fix image details overflow
...
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
8 months ago
Bnyro
e76ab1a4b3
[refactor] images: add resolution, image format and filesize fields
...
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
8 months ago
Bnyro
938391b050
[feat] templates: add package result template
...
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
8 months ago
Markus Heiser
a85907a98f
[fix] opensearxh.xml: firefox v123 does not except self-URI (URL with param)
...
Before this patch we had a address in the rel-self-template with params [1]:
GET::
<Url method="GET"
rel="self"
template="/opensearch.xml?method=GET&autocomplete=google"
type="application/opensearchdescription+xml"/>
POST::
<Url method="POST"
rel="self"
template="/opensearch.xml?method=POST&autocomplete=google"
type="application/opensearchdescription+xml"/>
The first one (GET) is no longer accepted by firefox since v123, the latter one
was always been wrong (since it mixes GET params with a POST request).
Since Firefox v123 a template syntax [2] in the rel-self-template is no longer
supported / Firefox will report an error::
Firefox could not download the search plugin from:
http://127.0.0.1:8888//opensearch.xml?method=GET&autocomplete=google
This patch reduce the URL to::
template="http://127.0.0.1:8888/opensearch.xml "
[1] https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md#url-rel-values
[2] https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md#opensearch-url-template-syntax
Closes: https://github.com/searxng/searxng/issues/3227
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
8 months ago
Markus Heiser
53898b8c37
[mod] footer: i18n for the link names in the footer
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
8 months ago
Bnyro
7e1b5f6cc8
[feat] footer: support for custom entries
8 months ago
allixx
6d31ca28b5
[fix] remove missing link icon macro
9 months ago
Hermógenes Oliveira
100a150a33
Remove rtl exception
...
This right-to-left exception doesn't seem to be called for.
9 months ago
Hermógenes Oliveira
f9f0c2ec03
Fix media exposure toggle
...
Make initially hidden and the toggle button consistent.
9 months ago
Hermógenes Oliveira
fa7fef7d87
Provide template for results in file category
...
This is used, for instance, by the recoll engine.
9 months ago
allixx
1e03094dee
[fix] justify engines/cached/proxied vertically
9 months ago
Bnyro
a5decfb838
[feat] preferences: button to copy input to restore preferences hash
9 months ago
Markus Heiser
6129b16165
[mod] simplify no results on pages > 1 to "There are no more results."
...
BTW: remove not needed whitespaces in the generated HTML
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
10 months ago
obfuscated-loop
2179a418c4
[mod] Change no results error message based on page number
10 months ago
Jay
b4de72a96f
[mod] Capitalize theme names/styles in theme.html view file
10 months ago
obfuscated-loop
99fb565b39
[mod] Retain page numbers even when there are no results
11 months ago
Jinyuan Huang
8adc7b0433
add a "copy" button to the "search-url" sidebar
11 months ago
sev
b05a15540e
Check `public_instance` in simple theme
...
Fix #2975
12 months ago
Bnyro
75587d03a6
[fix] categories.html: can't select social media category using search on category select
1 year ago
Jinyuan Huang
1f835a9f1f
solve #2839
1 year ago
Emilien Devos
33e722f83b
better error message when no results found
1 year ago
Markus Heiser
317db5b04f
[mod] preferences: implement drop-down menu for hotkeys (default, vim)
...
Replace the on/off checkbox of the vim-hotkeys in the preferences by a drop-down
menu.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1 year ago
Bnyro
a55e0ac553
[feat] search on category select without JS
...
Co-authored-by: Alexandre Flament <alex@al-f.net>
1 year ago
jazzzooo
223b3487c3
[fix] spelling
1 year ago
Markus Heiser
935aed7ca4
[feature] dark theme for code highlighter in the result list
...
Closes: https://github.com/searxng/searxng/issues/1354
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1 year ago
Markus Heiser
15a3dbf7a0
[fix] preferences - layout of the "special queries" tab
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1 year ago
Bnyro
e5535ec078
[feat] settings: replace boolean select preferences with checkboxes
1 year ago
Bnyro
13d801b75d
[feat] results: show source of suggested answer
1 year ago
mrpaulblack
621b09b9b9
[fix] preferences: change engine table category colspan to 8
...
* this is a small fix to increase the colspan of the category in engine preferences from 7 to 8, since there was a column added
=> fixing a small fallout from 4731290317
1 year ago
Bnyro
4731290317
[mod] settings: show weight of each instance
1 year ago
Markus Heiser
efea962504
[fix] simple template: preferences - add missing icon_smal import
...
Related: https://github.com/searxng/searxng/commit/2149e88bdd64#r119535272
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1 year ago