summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-07-17 19:34:18 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-07-21 13:38:28 +0200
commit2a2b6c4d57958dd60cc59c80e5669d41b714c701 (patch)
tree2c63f39b7ae391e1441469ee83bd773bfff1b0a5 /searx
parent3e50e8de3e669972da194b3d416f7913e75da9f4 (diff)
downloadsearxng-2a2b6c4d57958dd60cc59c80e5669d41b714c701.tar.gz
searxng-2a2b6c4d57958dd60cc59c80e5669d41b714c701.zip
[fix] add missing brand options to the settings SCHEMA
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx')
-rw-r--r--searx/settings_defaults.py8
-rw-r--r--searx/settings_robot.yml9
2 files changed, 17 insertions, 0 deletions
diff --git a/searx/settings_defaults.py b/searx/settings_defaults.py
index 8350d92ba..05df33440 100644
--- a/searx/settings_defaults.py
+++ b/searx/settings_defaults.py
@@ -130,6 +130,14 @@ SCHEMA = {
'contact_url': SettingsValue((None, False, str), None),
},
'brand': {
+ 'git_url': SettingsValue(str),
+ 'git_branch': SettingsValue(str),
+ 'issue_url': SettingsValue(str, None),
+ 'new_issue_url': SettingsValue(str, None),
+ 'docs_url': SettingsValue(str, None),
+ 'public_instances': SettingsValue(str, None),
+ 'wiki_url': SettingsValue(str, None),
+ 'twitter_url': SettingsValue(str, None),
},
'search': {
'safe_search': SettingsValue((0,1,2), 0),
diff --git a/searx/settings_robot.yml b/searx/settings_robot.yml
index 00dcb8da8..ca65449f7 100644
--- a/searx/settings_robot.yml
+++ b/searx/settings_robot.yml
@@ -2,6 +2,15 @@ general:
debug: false
instance_name: "searx_test"
+brand:
+ git_url: https://github.com/searxng/searxng
+ git_branch: master
+ issue_url: https://github.com/searxng/searxng/issues
+ new_issue_url: https://github.com/searxng/searxng/issues/new
+ docs_url: https://searxng.github.io/searxng
+ public_instances: https://searx.space
+ wiki_url: https://github.com/searxng/searxng/wiki
+
search:
language: "all"