searxng/utils
Markus Heiser 3e50e8de3e [mod] drop usage of the searx.brand namespace (python procs)
Added function searx.get_setting(name, default=_unset):
  Returns the value to which ``name`` point.  If there is no such name in the
  settings and the ``default`` is unset, a KeyError exception is raised.

In all the python processes ..

- make docs
- make buildenv
- make install (setup.py)

the usage of the 'brand.*' name space is replaced by 'searx.get_setting'
function.

- brand.SEARX_URL        --> get_setting('server.base_url')
- brand.GIT_URL          --> get_setting('brand.git_url')
- brand.GIT_BRANCH'      --> get_setting('server.base_url')
- brand.ISSUE_URL        --> get_setting('brand.issue_url')
- brand.DOCS_URL         --> get_setting('brand.docs_url')
- brand.PUBLIC_INSTANCES --> get_setting('brand.public_instances')
- brand.CONTACT_URL      --> get_setting('general.contact_url', '')
- brand.WIKI_URL         --> get_setting('brand.wiki_url')
- brand.TWITTER_URL      --> get_setting('brand.twitter_url', '')

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-07-18 15:55:42 +02:00
..
templates [mod] drop usage of the searx.brand namespace (python procs) 2021-07-18 15:55:42 +02:00
brand.env More branding 2021-04-22 21:10:22 +02:00
build_env.py [mod] drop usage of the searx.brand namespace (python procs) 2021-07-18 15:55:42 +02:00
filtron.sh [fix] typo: 'interactiv' --> 'interactive' 2021-04-28 16:29:03 +02:00
lib.sh [fix] pacman --noprogressbar in shell scripts 2021-07-03 18:24:55 +02:00
lib_static.sh [mod] move functions from utils/manage_static.sh to ./manage script 2021-06-26 13:45:25 +02:00
lxc-searx.env [mod] LXC switch to Fedora 33 / Fedora 31 reached its EOL 2021-03-05 13:17:47 +01:00
lxc.sh [fix] pacman --noprogressbar in shell scripts 2021-07-03 18:24:55 +02:00
makefile.include [mod] replace makefile boilerplate by 'manage' script 2021-04-23 11:26:22 +02:00
makefile.lxc [mod] LXC_ENV_FOLDER moved from ./lxc to ./lxc-env 2020-12-26 11:43:18 +01:00
morty.sh [fix] utils/morty.sh - PUBLIC_URL_MORTY is based on PUBLIC_URL 2021-06-13 11:55:32 +02:00
searx.sh [fix] utils/searx.sh: signature of YAML settings has been changed 2021-06-23 09:56:59 +02:00