This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/tests/fixtures/site-settings.js
Jarek Radosz c3fd91670e
DEV: Update linting setup and fix issues (#17345)
Re-lands #16119 and #17298

* Update eslint-config-discourse
* Update linting workflow
* Prettier-ignore stuff
* Update template-lint config
* Auto-fix template issues
* Fix various template issues
  Mostly incorrect attributes and unused templates
* Prettier js files
* Fix template auto-fix regressions
* Small css tweak

Co-authored-by: Peter Wagenet <peter.wagenet@gmail.com>
2022-07-06 10:37:54 +02:00

86 lines
2.2 KiB
JavaScript

export default {
"/admin/site_settings": {
site_settings: [
{
setting: "title",
description: "The name of this site, as used in the title tag.",
default: "Discourse",
value: "Discourse",
category: "required",
preview: null,
secret: false,
type: "string",
},
{
setting: "site_contact_username",
description:
"A valid staff username to send all automated messages from. If left blank the default System account will be used.",
default: "",
value: "",
category: "required",
preview: null,
secret: false,
type: "username",
},
{
setting: "logo",
description: "Some logo",
default: "",
value: "/images/avatar.png",
category: "required",
preview: null,
secret: false,
type: "upload",
},
{
setting: "top_menu",
description:
"Determine which items appear in the homepage navigation, and in what order. Example latest|new|unread|categories|top|read|posted|bookmarks",
default: "latest|new|unread|top|categories",
value: "latest|new|unread|top|categories",
category: "basic",
preview: null,
secret: false,
type: "list",
choices: [
"latest",
"new",
"unread",
"top",
"categories",
"read",
"posted",
"bookmarks",
],
list_type: "compact",
},
{
setting: "plugin_logo",
description: "Some plugin logo",
default: "",
value: "/images/avatar.png",
category: "required",
preview: null,
secret: false,
type: "upload",
plugin: "discourse-logo",
},
{
category: "onebox",
default: "",
description:
"A list of domains that will never be oneboxed e.g. wikipedia.org\n(Wildcard symbols * ? not supported)",
placeholder: null,
preview: null,
secret: false,
setting: "blocked_onebox_domains",
type: "host_list",
value: "",
},
],
diags: {
last_message_processed: null,
},
},
};