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>
86 lines
2.2 KiB
JavaScript
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,
|
|
},
|
|
},
|
|
};
|