searxng/searx
Markus Heiser 0c4003ab2d [fix] categories can't be removed from UI (categories_as_tabs)
When using ``use_default_settings: true``, removing default categories from
settings.yml will not remove them from the UI.

The value ``categories_as_tabs`` is a dictionary type (a4c2cfb) and dictionary
types are merged additive by ``settings_loader.update_settings()``.

This patch replaces the default ``categories_as_tabs`` by the one from the
``user_settings``.

Related: https://github.com/searxng/searxng/issues/1019#issuecomment-1193145654
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-04-03 19:08:27 +02:00
..
answerers [fix] issue reported by pylint 22.1.0 2022-02-04 09:45:35 +01:00
data Merge pull request #2288 from searxng/update_data_update_firefox_version.py 2023-03-29 13:48:32 +02:00
enginelib [mod] remove obsolete EngineTraits.supported_languages 2023-03-24 10:37:42 +01:00
engines [fix] engine ddg: quote !bangs in a request send to ddg 2023-04-03 09:52:16 +02:00
infopage weblate: migration to https://translate.codeberg.org/ 2023-01-21 15:45:12 +00:00
metrics [fix] prepare for pylint 2.14.0 2022-06-03 15:41:52 +02:00
network [mod] Shuffle httpx's default ciphers of a SSL context randomly. 2023-03-19 13:40:31 +01:00
plugins [mod] limiter: minor improvements 2023-04-01 19:42:49 +02:00
search [mod] remove obsolete EngineTraits.supported_languages 2023-03-24 10:37:42 +01:00
static Bump sharp from 0.31.3 to 0.32.0 in /searx/static/themes/simple 2023-03-31 11:39:17 +00:00
templates/simple [mod] replace searx.languages by searx.sxng_locales 2023-03-24 10:37:42 +01:00
translations [translations] update from Weblate 2023-03-31 07:07:59 +00:00
__init__.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
autocomplete.py [mod] remove obsolete EngineTraits.supported_languages 2023-03-24 10:37:42 +01:00
babel_extract.py [mod] move category and names of constants to searx/searxng.msg 2022-03-16 09:55:53 +01:00
compat.py [fix] pyright repported errors 2022-07-30 18:04:44 +02:00
exceptions.py [doc] Add doc-strings to searx.exceptions 2023-01-29 19:06:19 +01:00
external_bang.py External bang: bug fix: URL encode the query so "!!g 1+1" works as intended 2022-08-27 07:10:26 +00:00
external_urls.py [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00
flaskfix.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
locales.py [mod] replace utils.match_language by locales.match_locale 2023-03-24 10:37:42 +01:00
preferences.py [mod] replace engines_languages.json by engines_traits.json 2023-03-24 10:37:42 +01:00
query.py [mod] replace searx.languages by searx.sxng_locales 2023-03-24 10:37:42 +01:00
redisdb.py move searx.shared.redisdb to searx.redisdb 2022-12-10 09:26:38 +01:00
redislib.py [mod] redislib - optimize LUA script registration. 2022-05-30 11:21:09 +02:00
results.py [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00
searxng.msg Science category: update the engines 2022-09-23 20:45:58 +02:00
settings.yml [fix] engine gigablast: add &userid=<User ID>&code=<Feed Code> 2023-03-29 16:18:02 +02:00
settings_defaults.py [mod] replace searx.languages by searx.sxng_locales 2023-03-24 10:37:42 +01:00
settings_loader.py [fix] categories can't be removed from UI (categories_as_tabs) 2023-04-03 19:08:27 +02:00
sxng_locales.py Update searx.data - update_engine_traits.py 2023-03-24 11:30:18 +01:00
unixthreadname.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
utils.py [mod] replace utils.match_language by locales.match_locale 2023-03-24 10:37:42 +01:00
version.py SearXNG version: YYYY.MM.DD without leading zero 2023-01-22 10:45:00 +00:00
webadapter.py Add "Auto-detected" as a language. 2023-02-17 15:17:36 +00:00
webapp.py [mod] replace utils.match_language by locales.match_locale 2023-03-24 10:37:42 +01:00
webutils.py [mod] replace engines_languages.json by engines_traits.json 2023-03-24 10:37:42 +01:00