Commit Graph

550 Commits (53898b8c37850bee241c74e2f617fb9cd49b3c69)

Author SHA1 Message Date
allixx dca78f920f [build] /static 8 months ago
allixx c85f706601 [fix] wrong engines padding 8 months ago
allixx 30dcaf1db6 [fix] equalize cached/proxied links left margin 8 months ago
allixx 1e03094dee [fix] justify engines/cached/proxied vertically 8 months ago
Bnyro 90072eb6ff [build] /static 8 months ago
Bnyro a5decfb838 [feat] preferences: button to copy input to restore preferences hash 8 months ago
Markus Heiser d676ae8ab3 [build] /static 9 months ago
Jinyuan Huang f6d797ef43 [fix] fix a display problem in the image detail preview. 9 months ago
Markus Heiser 0d47322ac8 [build] /static 9 months ago
ahmad-alkadri 07e846e91a Prevent default browser behavior on click event 9 months ago
dependabot[bot] 26737fda1b Bump sharp from 0.32.6 to 0.33.0 in /searx/static/themes/simple
Bumps [sharp](https://github.com/lovell/sharp) from 0.32.6 to 0.33.0.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md)
- [Commits](https://github.com/lovell/sharp/compare/v0.32.6...v0.33.0)

---
updated-dependencies:
- dependency-name: sharp
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
9 months ago
Markus Heiser ee2675c999 [update] make pygments.less
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
10 months ago
obfuscated-loop cc6058057d [build] /static 10 months ago
obfuscated-loop 355d2dc678 [fix] Remove anchor tag outline in image results 10 months ago
Jinyuan Huang 3601badd84 [build] /static 10 months ago
Jinyuan Huang 903449e0b5 [fix] Images cannot be clicked anymore #3006
URL in sidedbar only exists in HTTP POST requests.  On HTTP GET requests the
selector ``#search_url button#copy_url`` results in a ``null`` type and a
``.style.display`` raises::

   Uncaught TypeError: d.querySelector(...) is null

As a result, the initialization of the event handler is no longer carried out.

Closes: https://github.com/searxng/searxng/issues/3003
Suggested-by: Markus Heiser <markus.heiser@darmarit.de>
10 months ago
Jinyuan Huang 727de1c4ef [build] /static 11 months ago
Jinyuan Huang 8adc7b0433 add a "copy" button to the "search-url" sidebar 11 months ago
Markus Heiser b013cbb4cc [build] /static 11 months ago
Bnyro df2e41c150 [fix] search.js: crash on homepage when setting form listeners 11 months ago
Jinyuan Huang 1df4588279 [build] /static 1 year ago
Jinyuan Huang 98366bcf90 [fix] settings icon invisble on mobile devices 1 year ago
Bnyro 95885e7f9f [build] /static 1 year ago
Bnyro 8b0b6731fc [fix] search.less: start page search view on mobile devices 1 year ago
Markus Heiser 0ce10046c4 [build] /static 1 year ago
ormai a76c8e4101 Improve the layout of the search page on mobile 1 year ago
Markus Heiser 3ac7c40b6a [build] /static 1 year ago
Emilien Devos 33e722f83b better error message when no results found 1 year ago
Markus Heiser 71508abcbf [build] /static 1 year ago
Jinyuan Huang 2ec77ef813 [mod] reformatted keyBindingLayouts in JS client (default, vim) 1 year ago
Markus Heiser 09935e2897 [build] /static 1 year ago
Bnyro a55e0ac553 [feat] search on category select without JS
Co-authored-by: Alexandre Flament <alex@al-f.net>
1 year ago
Markus Heiser 89fbac5763 [build] /static 1 year ago
Jinyuan Huang 92d0c378e0 [fix] keyboard navigation / simple theme (UI)
- avoid loop select
- fix select next item in mixed result lists

Replaces: https://github.com/searxng/searxng/pull/2789
Closes: https://github.com/searxng/searxng/issues/2751
Closes: https://github.com/searxng/searxng/issues/2788
1 year ago
Markus Heiser ed6a5a01bb [build] /static 1 year ago
Jinyuan Huang 0984b00b7e [mod] UI smooth scroll added / CSS scroll-behavior
This PR improves the UX by making auto-scroll more smoother.  The css is changed
so all the auto-scroll will be smoother but User-scroll will not be influenced.

  The scroll-behavior CSS property sets the behavior for a scrolling box when
  scrolling is triggered by the navigation or CSSOM scrolling APIs.[1]

[1] https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior
1 year ago
Markus Heiser aa1453db0c [build] /static 1 year ago
Markus Heiser a987672340 [mod] improve handling of the hotkeys
- KeyboardEvent: keyCode property is depricated, replaced by key property [2]

- the check for ifDetailOpened is not necessary, because the hotkeys are not
  only applicable to image-results, by example:

   `!goi !go !scc hello`

- Key bindings like h for help are to be used in general (not only in vim-mode)

[1] https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode
[2] https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1 year ago
Jinyuan Huang e6b160da62 [feature] key bindings: left & right arrow are always on 1 year ago
Markus Heiser 1f7366060e [build] /static 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 8e45ac4271 [build] /static 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
Markus Heiser 6fc2ee514d [build] /static 1 year ago
Bnyro 13d801b75d [feat] results: show source of suggested answer 1 year ago
Markus Heiser c348427f07 [update] make pygments.less
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1 year ago
mrpaulblack b477349824 [build] /static 1 year ago
Kiru de5c1cedca fix "#backToTop" button always being clickable
`pointer-events` never gets set to "none" when the button is hidden,
allowing you to click the button. And your mouse further changes it's
cursor to the pointer style.
1 year ago
Markus Heiser b867c39ce0 [build] /static 1 year ago
Markus Heiser 2149e88bdd [mod] template preferences: split into elements (no functional change)
HINT: this patch has no functional change / it is the preparation for following
      changes and bugfixes

Over the years, the preferences template became an unmanageable beast.  To make
the source code more readable the monolith is splitted into elements.  The
splitting into elements also has the advantage that a new template can make use
of them.

The reversed checkbox is a quirk that is only used in the prefereces and must be
eliminated in the long term.  For this the macro 'checkbox_onoff_reversed' was
added to the preferences.html template.  The 'checkbox' macro is also a quirk of
the preferences.html we don't want to use in other templates (it is an
input-checkbox in a HTML form that was misused for status display).

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1 year ago