2019-06-06 08:18:25 +08:00
import { NOTIFICATION _TYPES } from "fixtures/concerns/notification-types" ;
2019-01-16 10:40:16 +08:00
2014-09-27 02:48:34 +08:00
export default {
2015-07-15 02:23:56 +08:00
"site.json" : {
site : {
default _archetype : "regular" ,
2017-08-24 07:34:31 +08:00
disabled _plugins : [ ] ,
2018-03-14 03:59:12 +08:00
shared _drafts _category _id : 24 ,
2019-06-06 08:18:25 +08:00
notification _types : NOTIFICATION _TYPES ,
2015-07-15 02:23:56 +08:00
post _types : {
regular : 1 ,
2015-07-29 05:23:24 +08:00
moderator _action : 2 ,
2016-01-05 04:18:09 +08:00
small _action : 3 ,
whisper : 4
2015-07-15 02:23:56 +08:00
} ,
2019-10-16 05:37:15 +08:00
groups : [
{ id : 1 , name : "admins" } ,
{ id : 2 , name : "moderators" } ,
{ id : 3 , name : "staff" } ,
{ id : 4 , name : "custom_group" } ,
{ id : 10 , name : "trust_level_0" } ,
{ id : 11 , name : "trust_level_1" } ,
{ id : 12 , name : "trust_level_2" } ,
{ id : 13 , name : "trust_level_3" } ,
{ id : 14 , name : "trust_level_4" }
2015-07-15 02:23:56 +08:00
] ,
filters : [
"latest" ,
"unread" ,
"new" ,
"starred" ,
"read" ,
2015-07-15 23:16:49 +08:00
"posted" ,
"search"
2015-07-15 02:23:56 +08:00
] ,
2018-10-05 19:04:48 +08:00
periods : [ "all" , "yearly" , "quarterly" , "monthly" , "weekly" , "daily" ] ,
2015-07-15 02:23:56 +08:00
top _menu _items : [
"latest" ,
"unread" ,
"new" ,
"starred" ,
"read" ,
"posted" ,
"categories" ,
"top"
] ,
anonymous _top _menu _items : [
"latest" ,
"top" ,
"categories" ,
"categories" ,
"top"
] ,
uncategorized _category _id : 17 ,
is _readonly : false ,
categories : [
{
id : 3 ,
name : "meta" ,
color : "aaa" ,
text _color : "FFFFFF" ,
slug : "meta" ,
topic _count : 122 ,
post _count : 1023 ,
description :
"Discussion about meta.discourse.org itself, the organization of this forum about Discourse, how it works, and how we can improve this site." ,
topic _url : "/t/category-definition-for-meta/24" ,
read _restricted : false ,
permission : 1 ,
notification _level : null ,
2017-03-09 00:31:30 +08:00
background _url : null ,
show _subcategory _list : false ,
default _view : "latest"
2015-07-15 02:23:56 +08:00
} ,
{
id : 10 ,
name : "howto" ,
color : "76923C" ,
text _color : "FFFFFF" ,
slug : "howto" ,
topic _count : 72 ,
post _count : 1022 ,
description :
"Tutorial topics that describe how to set up, configure, or install Discourse using a specific platform or environment. Topics in this category may only be created by trust level 2 and up. " ,
topic _url : "/t/category-definition-for-howto/2629" ,
read _restricted : false ,
permission : 1 ,
notification _level : null ,
2017-03-09 00:31:30 +08:00
background _url : null ,
show _subcategory _list : false ,
default _view : "latest"
2015-07-15 02:23:56 +08:00
} ,
{
id : 26 ,
name : "spec" ,
color : "33B0B0" ,
text _color : "FFFFFF" ,
slug : "spec" ,
topic _count : 20 ,
post _count : 278 ,
description :
"My idea here is to have mini specs for features we would like built but have no bandwidth to build" ,
topic _url : "/t/about-the-spec-category/13965" ,
read _restricted : false ,
permission : 1 ,
parent _category _id : 2 ,
notification _level : null ,
background _url : null
} ,
{
id : 7 ,
name : "dev" ,
color : "000" ,
text _color : "FFFFFF" ,
slug : "dev" ,
topic _count : 481 ,
post _count : 3575 ,
description :
"This category is for topics related to hacking on Discourse: submitting pull requests, configuring development environments, coding conventions, and so forth." ,
topic _url : "/t/category-definition-for-dev/1026" ,
read _restricted : false ,
permission : 1 ,
notification _level : null ,
2017-03-09 00:31:30 +08:00
background _url : null ,
2017-03-16 05:34:38 +08:00
show _subcategory _list : true ,
default _view : "latest" ,
subcategory _list _style : "boxes_with_featured_topics"
2015-07-15 02:23:56 +08:00
} ,
{
id : 6 ,
name : "support" ,
color : "b99" ,
text _color : "FFFFFF" ,
slug : "support" ,
topic _count : 1603 ,
post _count : 11075 ,
description :
"Support on configuring, using, and installing Discourse. Not for software development related topics, but for admins and end users configuring and using Discourse." ,
topic _url : "/t/category-definition-for-support/389" ,
read _restricted : false ,
permission : 1 ,
notification _level : null ,
2017-03-09 00:31:30 +08:00
background _url : null ,
show _subcategory _list : false ,
default _view : "latest"
2015-07-15 02:23:56 +08:00
} ,
{
id : 24 ,
2018-03-14 03:59:12 +08:00
name : "Shared Drafts" ,
2015-07-15 02:23:56 +08:00
color : "92278F" ,
text _color : "FFFFFF" ,
2018-03-14 03:59:12 +08:00
slug : "shared-drafts" ,
2015-07-15 02:23:56 +08:00
topic _count : 13 ,
post _count : 53 ,
2018-03-14 03:59:12 +08:00
description : "An area for staff members to post shared drafts" ,
topic _url : "/t/about-the-shared-drafts-category/13110" ,
read _restricted : true ,
2015-07-15 02:23:56 +08:00
permission : 1 ,
notification _level : null ,
background _url : null
} ,
{
id : 28 ,
name : "hack night" ,
color : "B3B5B4" ,
text _color : "FFFFFF" ,
slug : "hack-night" ,
topic _count : 8 ,
post _count : 33 ,
description :
'This is a special, temporary category to organize work on the <a href="http://www.meetup.com/torontoruby/events/192168702/">Discourse Hack Night</a> in Toronto. ' ,
topic _url : "/t/about-the-hack-night-category/17878" ,
read _restricted : false ,
permission : 1 ,
parent _category _id : 7 ,
notification _level : null ,
background _url : null
} ,
{
id : 27 ,
name : "translations" ,
2018-08-25 02:18:14 +08:00
color : "27AA5B" ,
2015-07-15 02:23:56 +08:00
text _color : "FFFFFF" ,
slug : "translations" ,
topic _count : 95 ,
post _count : 827 ,
description :
"This category is for discussion about localizing Discourse." ,
topic _url : "/t/about-the-translations-category/14549" ,
read _restricted : false ,
permission : 1 ,
parent _category _id : 7 ,
notification _level : null ,
background _url : null
} ,
{
id : 4 ,
name : "faq" ,
color : "33b" ,
text _color : "FFFFFF" ,
slug : "faq" ,
topic _count : 48 ,
post _count : 501 ,
description :
"Topics that come up very often when discussing Discourse will eventually be classified into this Frequently Asked Questions category. Should only be added to popular topics." ,
topic _url : "/t/category-definition-for-faq/25" ,
read _restricted : false ,
permission : 1 ,
notification _level : null ,
2017-03-09 00:31:30 +08:00
background _url : null ,
show _subcategory _list : false ,
default _view : "latest"
2015-07-15 02:23:56 +08:00
} ,
{
id : 14 ,
name : "marketplace" ,
color : "8C6238" ,
text _color : "FFFFFF" ,
slug : "marketplace" ,
topic _count : 66 ,
post _count : 361 ,
description :
"About commercial Discourse related stuff: jobs or paid gigs, plugins, themes, hosting, etc." ,
topic _url : "/t/category-definition-for-marketplace/5425" ,
read _restricted : false ,
permission : 1 ,
notification _level : null ,
2017-03-09 00:31:30 +08:00
background _url : null ,
show _subcategory _list : false ,
default _view : "latest"
2015-07-15 02:23:56 +08:00
} ,
{
id : 12 ,
name : "discourse hub" ,
color : "b2c79f" ,
text _color : "FFFFFF" ,
slug : "discourse-hub" ,
topic _count : 10 ,
post _count : 164 ,
description :
"Topics about current or future Discourse Hub functionality at discourse.org including nickname registration, global user pages, and the site directory." ,
topic _url : "/t/category-definition-for-discourse-hub/3038" ,
read _restricted : false ,
permission : 1 ,
notification _level : null ,
2017-03-09 00:31:30 +08:00
show _subcategory _list : false ,
default _view : "latest"
2015-07-15 02:23:56 +08:00
} ,
{
id : 13 ,
name : "blog" ,
color : "ED207B" ,
text _color : "FFFFFF" ,
slug : "blog" ,
topic _count : 22 ,
post _count : 390 ,
description :
"Discussion topics generated from the official Discourse Blog. These topics are linked from the bottom of each blog entry where the blog comments would normally be." ,
topic _url : "/t/category-definition-for-blog/5250" ,
read _restricted : false ,
permission : 1 ,
notification _level : null ,
2017-03-09 00:31:30 +08:00
show _subcategory _list : false ,
default _view : "latest"
2015-07-15 02:23:56 +08:00
} ,
{
id : 5 ,
name : "extensibility" ,
color : "FE8432" ,
text _color : "FFFFFF" ,
slug : "extensibility" ,
topic _count : 226 ,
post _count : 1874 ,
description :
"Topics about extending the functionality of Discourse with plugins, themes, add-ons, or other mechanisms for extensibility. " ,
topic _url : "/t/about-the-extensibility-category/28" ,
read _restricted : false ,
permission : 1 ,
notification _level : null ,
2017-03-09 00:31:30 +08:00
show _subcategory _list : false ,
default _view : "latest"
2015-07-15 02:23:56 +08:00
} ,
{
id : 11 ,
name : "login" ,
color : "edb400" ,
text _color : "FFFFFF" ,
slug : "login" ,
topic _count : 48 ,
post _count : 357 ,
description :
"Topics about logging in to Discourse, using any standard third party provider (Twitter, Facebook, Google), traditional username and password, or with a custom plugin." ,
topic _url : "/t/category-definition-for-login/2828" ,
read _restricted : false ,
permission : 1 ,
notification _level : null ,
2017-03-09 00:31:30 +08:00
show _subcategory _list : false ,
default _view : "latest"
2015-07-15 02:23:56 +08:00
} ,
{
id : 22 ,
name : "plugin" ,
color : "d47711" ,
text _color : "FFFFFF" ,
slug : "plugin" ,
topic _count : 40 ,
post _count : 466 ,
description :
"One post per plugin! Only plugin owners should post here. " ,
topic _url : "/t/about-the-plugin-category/12648" ,
read _restricted : false ,
permission : 1 ,
parent _category _id : 5 ,
2018-11-09 13:52:40 +08:00
notification _level : null
2015-07-15 02:23:56 +08:00
} ,
{
id : 1 ,
name : "bug" ,
color : "e9dd00" ,
text _color : "000000" ,
slug : "bug" ,
topic _count : 1469 ,
post _count : 9295 ,
description :
"A bug report means something is broken, preventing normal/typical use of Discourse. Do be sure to search prior to submitting bugs. Include repro steps, and only describe one bug per topic please." ,
topic _url : "/t/category-definition-for-bug/2" ,
read _restricted : false ,
permission : 1 ,
notification _level : null ,
2017-03-09 00:31:30 +08:00
can _edit : true ,
show _subcategory _list : false ,
default _view : "latest"
2015-07-15 02:23:56 +08:00
} ,
{
id : 17 ,
name : "uncategorized" ,
2018-08-25 02:18:14 +08:00
color : "0088CC" ,
2015-07-15 02:23:56 +08:00
text _color : "FFFFFF" ,
slug : "uncategorized" ,
topic _count : 342 ,
post _count : 3090 ,
description :
"Topics that don't need a category, or don't fit into any other existing category." ,
topic _url : null ,
read _restricted : false ,
permission : 1 ,
notification _level : null ,
2017-03-09 00:31:30 +08:00
show _subcategory _list : false ,
default _view : "latest"
2015-07-15 02:23:56 +08:00
} ,
{
id : 21 ,
name : "wordpress" ,
color : "1E8CBE" ,
text _color : "FFFFFF" ,
slug : "wordpress" ,
topic _count : 26 ,
post _count : 135 ,
description :
'Support for the official Discourse WordPress plugin at <a href="https://github.com/discourse/wp-discourse">https://github.com/discourse/wp-discourse</a>' ,
topic _url : "/t/category-definition-for-wordpress/12282" ,
read _restricted : false ,
permission : 1 ,
parent _category _id : 6 ,
2018-11-09 13:52:40 +08:00
notification _level : null
2015-07-15 02:23:56 +08:00
} ,
{
id : 8 ,
name : "hosting" ,
color : "74CCED" ,
text _color : "FFFFFF" ,
slug : "hosting" ,
topic _count : 100 ,
post _count : 917 ,
description :
"Topics about hosting Discourse, either on your own servers, in the cloud, or with specific hosting services." ,
topic _url : "/t/category-definition-for-hosting/2626" ,
read _restricted : false ,
permission : 1 ,
notification _level : null ,
2017-03-09 00:31:30 +08:00
show _subcategory _list : false ,
default _view : "latest"
2015-07-15 02:23:56 +08:00
} ,
{
id : 9 ,
name : "ux" ,
color : "5F497A" ,
text _color : "FFFFFF" ,
slug : "ux" ,
topic _count : 452 ,
post _count : 4472 ,
description :
"Discussion about the user interface of Discourse, how features are presented to the user in the client, including language and UI elements." ,
topic _url : "/t/category-definition-for-ux/2628" ,
read _restricted : false ,
permission : 1 ,
notification _level : null ,
2017-03-09 00:31:30 +08:00
show _subcategory _list : false ,
default _view : "latest"
2015-07-15 02:23:56 +08:00
} ,
{
id : 2 ,
name : "feature" ,
color : "0E76BD" ,
text _color : "FFFFFF" ,
slug : "feature" ,
topic _count : 1367 ,
post _count : 11942 ,
description :
"Discussion about features or potential features of Discourse: how they work, why they work, etc." ,
topic _url : "/t/category-definition-for-feature/11" ,
read _restricted : false ,
permission : 1 ,
notification _level : null ,
2017-03-09 00:31:30 +08:00
show _subcategory _list : true ,
default _view : "latest" ,
subcategory _list _style : "boxes"
2015-07-15 02:23:56 +08:00
}
] ,
post _action _types : [
{
name _key : "bookmark" ,
name : "Bookmark" ,
description : "Bookmark this post" ,
2017-05-20 03:35:02 +08:00
short _description : "Bookmark this post" ,
2015-07-15 02:23:56 +08:00
long _form : "bookmarked this post" ,
is _flag : false ,
icon : null ,
id : 1 ,
is _custom _flag : false
} ,
{
name _key : "like" ,
name : "Like" ,
description : "Like this post" ,
2017-05-20 03:35:02 +08:00
short _description : "Like this post" ,
2015-07-15 02:23:56 +08:00
long _form : "liked this" ,
is _flag : false ,
icon : "heart" ,
id : 2 ,
is _custom _flag : false
} ,
{
name _key : "off_topic" ,
name : "Off-Topic" ,
description :
"This post is radically off-topic in the current topic, and should probably be moved. If this is a topic, perhaps it does not belong here." ,
2017-05-20 03:35:02 +08:00
short _description : "Not relevant to the discussion" ,
2015-07-15 02:23:56 +08:00
long _form : "flagged this as off-topic" ,
is _flag : true ,
icon : null ,
id : 3 ,
is _custom _flag : false
} ,
{
name _key : "inappropriate" ,
name : "Inappropriate" ,
description :
'This post contains content that a reasonable person would consider offensive, abusive, or a violation of <a href="/guidelines">our community guidelines</a>.' ,
2017-05-20 03:35:02 +08:00
short _description :
'A violation of <a href="/guidelines">our community guidelines</a>' ,
2015-07-15 02:23:56 +08:00
long _form : "flagged this as inappropriate" ,
is _flag : true ,
icon : null ,
id : 4 ,
is _custom _flag : false
} ,
{
name _key : "vote" ,
name : "Vote" ,
description : "Vote for this post" ,
2017-05-20 03:35:02 +08:00
short _description : "Vote for this post" ,
2015-07-15 02:23:56 +08:00
long _form : "voted for this post" ,
is _flag : false ,
icon : null ,
id : 5 ,
is _custom _flag : false
} ,
{
name _key : "spam" ,
name : "Spam" ,
description :
"This post is an advertisement. It is not useful or relevant to the current topic, but promotional in nature." ,
2017-05-20 03:35:02 +08:00
short _description : "This is an advertisement" ,
2015-07-15 02:23:56 +08:00
long _form : "flagged this as spam" ,
is _flag : true ,
icon : null ,
id : 8 ,
is _custom _flag : false
} ,
{
name _key : "notify_user" ,
2020-06-03 00:41:23 +08:00
name : "Notify %{username}" ,
2015-07-15 02:23:56 +08:00
description :
"This post contains something I want to talk to this person directly and privately about. Does not cast a flag." ,
2017-05-20 03:35:02 +08:00
short _description :
"I want to talk to this person directly and privately about their post." ,
2015-07-15 02:23:56 +08:00
long _form : "notified user" ,
is _flag : true ,
icon : null ,
id : 6 ,
is _custom _flag : true
} ,
{
name _key : "notify_moderators" ,
name : "Notify moderators" ,
description :
'This post requires general moderator attention based on the <a href="/guidelines">guidelines</a>, <a href="/tos">TOS</a>, or for another reason not listed above.' ,
2017-05-20 03:35:02 +08:00
short _description : "Requires staff attention for another reason" ,
2015-07-15 02:23:56 +08:00
long _form : "notified moderators" ,
is _flag : true ,
icon : null ,
id : 7 ,
is _custom _flag : true
}
] ,
topic _flag _types : [
{
name _key : "inappropriate" ,
name : "Inappropriate" ,
description :
'This topic contains content that a reasonable person would consider offensive, abusive, or a violation of <a href="/guidelines">our community guidelines</a>.' ,
long _form : "flagged this as inappropriate" ,
is _flag : true ,
icon : null ,
id : 4 ,
is _custom _flag : false
} ,
{
name _key : "spam" ,
name : "Spam" ,
description :
"This topic is an advertisement. It is not useful or relevant to this site, but promotional in nature." ,
long _form : "flagged this as spam" ,
is _flag : true ,
icon : null ,
id : 8 ,
is _custom _flag : false
} ,
{
name _key : "notify_moderators" ,
name : "Notify moderators" ,
description :
'This topic requires general moderator attention based on the <a href="/guidelines">guidelines</a>, <a href="/tos">TOS</a>, or for another reason not listed above.' ,
long _form : "notified moderators" ,
is _flag : true ,
icon : null ,
id : 7 ,
is _custom _flag : true
}
] ,
trust _levels : [
{
id : 0 ,
name : "new user"
} ,
{
id : 1 ,
name : "basic user"
} ,
{
id : 2 ,
name : "member"
} ,
{
id : 3 ,
name : "regular"
} ,
{
id : 4 ,
name : "leader"
}
] ,
archetypes : [
{
id : "regular" ,
name : "Regular Topic" ,
options : [ ]
} ,
{
id : "banner" ,
name : "translation missing: en.archetypes.banner.title" ,
options : [ ]
}
2018-07-31 23:18:50 +08:00
] ,
auth _providers : [
{
name : "facebook" ,
custom _url : null ,
pretty _name _override : null ,
title _override : null ,
message _override : null ,
frame _width : 580 ,
frame _height : 400 ,
can _connect : true ,
can _revoke : true
}
2015-07-15 02:23:56 +08:00
]
}
}
2014-09-27 02:48:34 +08:00
} ;