Commit Graph

7564 Commits

Author SHA1 Message Date
jazzzooo adaf30a5ff [fix] engine - kickass update url, fix parsing, use multiple mirrors 2023-10-19 18:04:52 +02:00
Markus Heiser ba0d5f78b9 Update searx.data - update_engine_traits.py
Update searx.data - update_engine_traits.py

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-19 18:04:52 +02:00
Markus Heiser c61c7f3416 [fix] engine brave - fetch traits (modified settings menu)
Brave has changed it settings menu fundamental.  Region codes are no longer in
the HTML page, we have to read the regional codes from a JS:

  https://cdn.search.brave.com/serp/v2/_app/immutable/chunks/parameters.734c106a.js

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-19 18:04:52 +02:00
Markus Heiser ddc1735d0f [fix] engine annas archive - fetch traits (modified xpath selectors)
Anna’s Archive has cleaned up their languages, available file extensions and
changed the HTML form.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-19 18:04:52 +02:00
Jinyuan Huang fb225803f2 solve #2839 2023-10-19 18:04:52 +02:00
Markus Heiser a72138b0f3 [fix] harmonize default settings for caching of /static files
Caching files on the client side for more than a day can confuse the end user
when updating static files[1].

Depending on the way of providing a SearXNG instance via HTTP, there are several
ways to optimize the access to the /static files.  However, since we don't know
what optimization an admin has provided for his static files, we should have
moderate settings in the defaults that run robustly in a wide variety of
installations.

In this sense, all caches on the client side should be cleared after one day at
the latest.  So far the files were cached for one year on client side; as soon
as changes are made to the static files (with the option `static_use_hash:
true`) the old static files are kept for one year on the CLient side / which can
also be evaluated as unnecessary caching.

[1] https://github.com/searxng/searxng/discussions/2821

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-19 18:04:52 +02:00
jazzzooo e2da313ab5 [fix] update user agent 2023-10-19 18:04:52 +02:00
Emilien Devos 4ae7b27389 add warning about enabling public_instance setting 2023-10-19 18:04:52 +02:00
Emilien Devos 078d4a4d9c add new parameter called server.public_instance
for enabling by default advanced limiter functions
in the future allow us to add features just for the public instances
2023-10-19 18:04:52 +02:00
Jinyuan Huang 7722a9b40e [fix] settings icon invisble on mobile devices 2023-10-19 18:04:37 +02:00
Alexandre Flament 1182e76b53 /config: expose limiter configuration 2023-10-19 18:04:37 +02:00
Émilien (perso) f9d2b9f5f1 [mod] remove twitter (#2843) 2023-10-19 18:04:37 +02:00
Emilien Devos c930fa43ac Revert "[mod] activate limiter & link_token method (aka CSS ping) by default"
This reverts commit 3af629ec090d1ab135fbd7c9b45088c8ca4e541e.
2023-10-19 18:04:37 +02:00
Markus Heiser 00a8648472 [mod] activate limiter & link_token method (aka CSS ping) by default
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-19 18:04:37 +02:00
Markus Heiser a7a1e4f866 [doc] move dosc of botdetection from developer to admin section
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-19 18:04:37 +02:00
Bnyro e845c8857b [feat] engine: implementation of imgur 2023-10-19 18:04:37 +02:00
Bnyro 624bbcf5ed [fix] internet archive scholar: crash when there's no title 2023-10-19 18:04:37 +02:00
searxng-bot 7052ea06d6 [translations] update from Weblate
f27a3bbd4 - 2023-09-21 - return42 <markus.heiser@darmarit.de>
a97336d0a - 2023-09-21 - return42 <markus.heiser@darmarit.de>
91e8946b3 - 2023-09-19 - return42 <markus.heiser@darmarit.de>
19f53731e - 2023-09-20 - ghose <correo@xmgz.eu>
daf10bd75 - 2023-09-19 - gallegonovato <fran-carro@hotmail.es>
ab004b8b8 - 2023-09-19 - return42 <markus.heiser@darmarit.de>
cdedd99c9 - 2023-09-19 - return42 <markus.heiser@darmarit.de>
2023-10-19 18:04:37 +02:00
dependabot[bot] 7dde815ca8 Bump typing-extensions from 4.7.1 to 4.8.0
Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.7.1 to 4.8.0.
- [Release notes](https://github.com/python/typing_extensions/releases)
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/python/typing_extensions/compare/4.7.1...4.8.0)

---
updated-dependencies:
- dependency-name: typing-extensions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-19 18:04:37 +02:00
Bnyro 82e6016987 [fix] search.less: start page search view on mobile devices 2023-10-19 18:04:21 +02:00
Markus Heiser deeacad697 Revert "[fix] engine - duckduckgo vqd edge-case"
This reverts commit 102502a4f09e78682cd4f030605be394bc33282c.
2023-10-19 18:04:21 +02:00
Bnyro d493ad30be [feat] engine: implementation of chefkoch.de 2023-10-19 18:04:21 +02:00
jazzzooo c6b1a0e6e7 [fix] engine - brave don't show ads 2023-10-19 18:04:21 +02:00
jazzzooo 47f2469bdc [fix] engine - google images error when no results 2023-10-19 18:04:21 +02:00
Bnyro 79924159da [mod] search-syntax.md: add tutorial about the feeling lucky feature 2023-10-19 18:04:21 +02:00
Bnyro fcec4dbc06 [feat] engine: implementation of google icons/material design icons 2023-10-19 18:04:21 +02:00
Bnyro 03123675a0 [feat] engine: implementation of wallhaven 2023-10-19 18:04:21 +02:00
jazzzooo 8bea311d5a [fix] engine - duckduckgo vqd edge-case 2023-10-19 18:04:21 +02:00
Markus Heiser df71f4d7ca [fix] Search on category select without JavaScript PR #2740
Small addendum to #2740; search_on_category_select is now no longer a plugin.

Related: https://github.com/searxng/searxng/pull/2740#issuecomment-1725437584
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-19 18:04:20 +02:00
ormai 8de723e2fd Improve the layout of the search page on mobile 2023-10-19 18:04:05 +02:00
Émilien (perso) 4e0967df92 Switch back to qwant web normal API 2023-10-19 18:03:39 +02:00
Markus Heiser 30c12a206a [fix] engine qwant (web-lite) - ignore advertising adds
Closes: https://github.com/searxng/searxng/issues/2812
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-19 18:03:39 +02:00
Emilien Devos a00e5d2d75 better error message when no results found 2023-10-19 18:03:21 +02:00
Émilien (perso) b6e3cf6ced wikipedia wikidata infobox + disable wikisource (#2806)
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-19 18:03:21 +02:00
Bnyro b21f8a6751 [feat] implement feeling lucky feature 2023-10-19 18:03:21 +02:00
Markus Heiser 31aa1c7c33 [build] /static 2023-10-19 18:03:21 +02:00
Jinyuan Huang 208e458b32 [mod] reformatted keyBindingLayouts in JS client (default, vim) 2023-10-19 18:03:08 +02:00
Markus Heiser cf985811c1 [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>
2023-10-19 18:03:08 +02:00
Markus Heiser 2757f60dac [build] /static 2023-10-19 18:03:08 +02:00
Bnyro e26c7dab4d [feat] search on category select without JS
Co-authored-by: Alexandre Flament <alex@al-f.net>
2023-10-19 18:02:46 +02:00
Bnyro 5c402923f8 [feat] engine: implementation of internet archive scholar 2023-10-19 18:02:23 +02:00
jazzzooo b6316020f7 [fix] spelling 2023-10-19 18:02:05 +02:00
Markus Heiser ad518f41f6 [fix] engine - qwant delivers only 5 pages maximum
all qwant engines (incl qwant-lite) delivers only 5 pages maximum

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-19 18:02:05 +02:00
jazzzooo 743515e68a [fix] engine - qwant wrong error type 2023-10-19 18:02:05 +02:00
Markus Heiser 346e0b1b2e [fix] qwant: subsequent fix of commit d9dbcedeb
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-19 18:02:05 +02:00
Markus Heiser 2e16b43f68 [feat] implementation of qwant lite for web search
Related: https://github.com/searxng/searxng/issues/2719
Replace: https://github.com/searxng/searxng/pull/2748
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-19 18:02:05 +02:00
Bnyro bc4dac4624 [feat] engine: implemenation of moviepilot (de) 2023-10-19 18:02:05 +02:00
jazzzooo 6c30e0b5cc [fix] tagesschau videos 2023-10-19 18:02:05 +02:00
Markus Heiser 72e8dc1e91 [build] /static 2023-10-19 18:02:05 +02:00
Jinyuan Huang 3bd3aa325e [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
2023-10-19 18:01:36 +02:00