mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 13:06:56 +08:00
DEV: Remove fields from fixtures that are no longer valid.
This commit is contained in:
@ -16,8 +16,6 @@ export default {
|
|||||||
read_restricted: false,
|
read_restricted: false,
|
||||||
permission: null,
|
permission: null,
|
||||||
notification_level: null,
|
notification_level: null,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
|
||||||
available_groups: [
|
available_groups: [
|
||||||
"admins",
|
"admins",
|
||||||
"discourse",
|
"discourse",
|
||||||
|
@ -5921,8 +5921,6 @@ export default {
|
|||||||
"Topics that don't need a category, or don't fit into any other existing category.",
|
"Topics that don't need a category, or don't fit into any other existing category.",
|
||||||
description_text: "",
|
description_text: "",
|
||||||
topic_url: null,
|
topic_url: null,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
|
||||||
read_restricted: false,
|
read_restricted: false,
|
||||||
permission: null,
|
permission: null,
|
||||||
notification_level: null,
|
notification_level: null,
|
||||||
@ -5951,7 +5949,6 @@ export default {
|
|||||||
description_text:
|
description_text:
|
||||||
"Discussion about this site, its organization, how it works, and how we can improve it.",
|
"Discussion about this site, its organization, how it works, and how we can improve it.",
|
||||||
topic_url: "/t/about-the-site-feedback-category/2",
|
topic_url: "/t/about-the-site-feedback-category/2",
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
background_url: null,
|
||||||
read_restricted: false,
|
read_restricted: false,
|
||||||
permission: null,
|
permission: null,
|
||||||
|
@ -271,8 +271,6 @@ export default {
|
|||||||
email_in_allow_strangers: false,
|
email_in_allow_strangers: false,
|
||||||
topics_day: 0,
|
topics_day: 0,
|
||||||
posts_day: 28,
|
posts_day: 28,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
|
||||||
allow_badges: true,
|
allow_badges: true,
|
||||||
name_lower: "ux",
|
name_lower: "ux",
|
||||||
auto_close_based_on_last_post: false
|
auto_close_based_on_last_post: false
|
||||||
@ -324,8 +322,6 @@ export default {
|
|||||||
email_in_allow_strangers: false,
|
email_in_allow_strangers: false,
|
||||||
topics_day: 0,
|
topics_day: 0,
|
||||||
posts_day: 28,
|
posts_day: 28,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
|
||||||
allow_badges: true,
|
allow_badges: true,
|
||||||
name_lower: "ux",
|
name_lower: "ux",
|
||||||
auto_close_based_on_last_post: false
|
auto_close_based_on_last_post: false
|
||||||
@ -377,8 +373,6 @@ export default {
|
|||||||
email_in_allow_strangers: false,
|
email_in_allow_strangers: false,
|
||||||
topics_day: 0,
|
topics_day: 0,
|
||||||
posts_day: 28,
|
posts_day: 28,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
|
||||||
allow_badges: true,
|
allow_badges: true,
|
||||||
name_lower: "ux",
|
name_lower: "ux",
|
||||||
auto_close_based_on_last_post: false
|
auto_close_based_on_last_post: false
|
||||||
@ -430,7 +424,6 @@ export default {
|
|||||||
email_in_allow_strangers: false,
|
email_in_allow_strangers: false,
|
||||||
topics_day: 2,
|
topics_day: 2,
|
||||||
posts_day: 8,
|
posts_day: 8,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
background_url: null,
|
||||||
allow_badges: true,
|
allow_badges: true,
|
||||||
name_lower: "feature",
|
name_lower: "feature",
|
||||||
@ -483,7 +476,6 @@ export default {
|
|||||||
email_in_allow_strangers: false,
|
email_in_allow_strangers: false,
|
||||||
topics_day: 2,
|
topics_day: 2,
|
||||||
posts_day: 8,
|
posts_day: 8,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
background_url: null,
|
||||||
allow_badges: true,
|
allow_badges: true,
|
||||||
name_lower: "feature",
|
name_lower: "feature",
|
||||||
@ -536,7 +528,6 @@ export default {
|
|||||||
email_in_allow_strangers: false,
|
email_in_allow_strangers: false,
|
||||||
topics_day: 1,
|
topics_day: 1,
|
||||||
posts_day: 5,
|
posts_day: 5,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
background_url: null,
|
||||||
allow_badges: true,
|
allow_badges: true,
|
||||||
name_lower: "translations",
|
name_lower: "translations",
|
||||||
@ -591,7 +582,6 @@ export default {
|
|||||||
email_in_allow_strangers: false,
|
email_in_allow_strangers: false,
|
||||||
topics_day: 0,
|
topics_day: 0,
|
||||||
posts_day: 3,
|
posts_day: 3,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
background_url: null,
|
||||||
allow_badges: true,
|
allow_badges: true,
|
||||||
name_lower: "dev",
|
name_lower: "dev",
|
||||||
@ -644,7 +634,6 @@ export default {
|
|||||||
email_in_allow_strangers: false,
|
email_in_allow_strangers: false,
|
||||||
topics_day: 0,
|
topics_day: 0,
|
||||||
posts_day: 28,
|
posts_day: 28,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
background_url: null,
|
||||||
allow_badges: true,
|
allow_badges: true,
|
||||||
name_lower: "ux",
|
name_lower: "ux",
|
||||||
@ -697,7 +686,6 @@ export default {
|
|||||||
email_in_allow_strangers: false,
|
email_in_allow_strangers: false,
|
||||||
topics_day: 2,
|
topics_day: 2,
|
||||||
posts_day: 8,
|
posts_day: 8,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
background_url: null,
|
||||||
allow_badges: true,
|
allow_badges: true,
|
||||||
name_lower: "feature",
|
name_lower: "feature",
|
||||||
@ -750,7 +738,6 @@ export default {
|
|||||||
email_in_allow_strangers: false,
|
email_in_allow_strangers: false,
|
||||||
topics_day: 5,
|
topics_day: 5,
|
||||||
posts_day: 70,
|
posts_day: 70,
|
||||||
logo_url: "",
|
|
||||||
background_url: "",
|
background_url: "",
|
||||||
allow_badges: true,
|
allow_badges: true,
|
||||||
name_lower: "support",
|
name_lower: "support",
|
||||||
@ -803,7 +790,6 @@ export default {
|
|||||||
email_in_allow_strangers: false,
|
email_in_allow_strangers: false,
|
||||||
topics_day: 1,
|
topics_day: 1,
|
||||||
posts_day: 6,
|
posts_day: 6,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
background_url: null,
|
||||||
allow_badges: true,
|
allow_badges: true,
|
||||||
name_lower: "bug",
|
name_lower: "bug",
|
||||||
@ -856,7 +842,6 @@ export default {
|
|||||||
email_in_allow_strangers: false,
|
email_in_allow_strangers: false,
|
||||||
topics_day: 0,
|
topics_day: 0,
|
||||||
posts_day: 28,
|
posts_day: 28,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
background_url: null,
|
||||||
allow_badges: true,
|
allow_badges: true,
|
||||||
name_lower: "ux",
|
name_lower: "ux",
|
||||||
@ -909,7 +894,6 @@ export default {
|
|||||||
email_in_allow_strangers: false,
|
email_in_allow_strangers: false,
|
||||||
topics_day: 0,
|
topics_day: 0,
|
||||||
posts_day: 0,
|
posts_day: 0,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
background_url: null,
|
||||||
allow_badges: true,
|
allow_badges: true,
|
||||||
name_lower: "meta",
|
name_lower: "meta",
|
||||||
@ -962,7 +946,6 @@ export default {
|
|||||||
email_in_allow_strangers: false,
|
email_in_allow_strangers: false,
|
||||||
topics_day: 5,
|
topics_day: 5,
|
||||||
posts_day: 70,
|
posts_day: 70,
|
||||||
logo_url: "",
|
|
||||||
background_url: "",
|
background_url: "",
|
||||||
allow_badges: true,
|
allow_badges: true,
|
||||||
name_lower: "support",
|
name_lower: "support",
|
||||||
@ -1015,7 +998,6 @@ export default {
|
|||||||
email_in_allow_strangers: false,
|
email_in_allow_strangers: false,
|
||||||
topics_day: 1,
|
topics_day: 1,
|
||||||
posts_day: 6,
|
posts_day: 6,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
background_url: null,
|
||||||
allow_badges: true,
|
allow_badges: true,
|
||||||
name_lower: "bug",
|
name_lower: "bug",
|
||||||
@ -1068,7 +1050,6 @@ export default {
|
|||||||
email_in_allow_strangers: false,
|
email_in_allow_strangers: false,
|
||||||
topics_day: 5,
|
topics_day: 5,
|
||||||
posts_day: 70,
|
posts_day: 70,
|
||||||
logo_url: "",
|
|
||||||
background_url: "",
|
background_url: "",
|
||||||
allow_badges: true,
|
allow_badges: true,
|
||||||
name_lower: "support",
|
name_lower: "support",
|
||||||
@ -1123,7 +1104,6 @@ export default {
|
|||||||
email_in_allow_strangers: false,
|
email_in_allow_strangers: false,
|
||||||
topics_day: 0,
|
topics_day: 0,
|
||||||
posts_day: 3,
|
posts_day: 3,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
background_url: null,
|
||||||
allow_badges: true,
|
allow_badges: true,
|
||||||
name_lower: "dev",
|
name_lower: "dev",
|
||||||
@ -1176,7 +1156,6 @@ export default {
|
|||||||
email_in_allow_strangers: false,
|
email_in_allow_strangers: false,
|
||||||
topics_day: 2,
|
topics_day: 2,
|
||||||
posts_day: 8,
|
posts_day: 8,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
background_url: null,
|
||||||
allow_badges: true,
|
allow_badges: true,
|
||||||
name_lower: "extensibility",
|
name_lower: "extensibility",
|
||||||
@ -1229,7 +1208,6 @@ export default {
|
|||||||
email_in_allow_strangers: false,
|
email_in_allow_strangers: false,
|
||||||
topics_day: 5,
|
topics_day: 5,
|
||||||
posts_day: 70,
|
posts_day: 70,
|
||||||
logo_url: "",
|
|
||||||
background_url: "",
|
background_url: "",
|
||||||
allow_badges: true,
|
allow_badges: true,
|
||||||
name_lower: "support",
|
name_lower: "support",
|
||||||
@ -1282,7 +1260,6 @@ export default {
|
|||||||
email_in_allow_strangers: false,
|
email_in_allow_strangers: false,
|
||||||
topics_day: 2,
|
topics_day: 2,
|
||||||
posts_day: 8,
|
posts_day: 8,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
background_url: null,
|
||||||
allow_badges: true,
|
allow_badges: true,
|
||||||
name_lower: "feature",
|
name_lower: "feature",
|
||||||
|
@ -1485,9 +1485,7 @@ export default {
|
|||||||
topic_url: "/t/category-definition-for-dev/1026",
|
topic_url: "/t/category-definition-for-dev/1026",
|
||||||
read_restricted: false,
|
read_restricted: false,
|
||||||
permission: null,
|
permission: null,
|
||||||
notification_level: null,
|
notification_level: null
|
||||||
logo_url: null,
|
|
||||||
background_url: null
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
grouped_search_result: {
|
grouped_search_result: {
|
||||||
|
@ -88,7 +88,6 @@ export default {
|
|||||||
read_restricted: false,
|
read_restricted: false,
|
||||||
permission: 1,
|
permission: 1,
|
||||||
notification_level: null,
|
notification_level: null,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
background_url: null,
|
||||||
show_subcategory_list: false,
|
show_subcategory_list: false,
|
||||||
default_view: "latest"
|
default_view: "latest"
|
||||||
@ -107,7 +106,6 @@ export default {
|
|||||||
read_restricted: false,
|
read_restricted: false,
|
||||||
permission: 1,
|
permission: 1,
|
||||||
notification_level: null,
|
notification_level: null,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
background_url: null,
|
||||||
show_subcategory_list: false,
|
show_subcategory_list: false,
|
||||||
default_view: "latest"
|
default_view: "latest"
|
||||||
@ -127,7 +125,6 @@ export default {
|
|||||||
permission: 1,
|
permission: 1,
|
||||||
parent_category_id: 2,
|
parent_category_id: 2,
|
||||||
notification_level: null,
|
notification_level: null,
|
||||||
logo_url: null,
|
|
||||||
background_url: null
|
background_url: null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -144,7 +141,6 @@ export default {
|
|||||||
read_restricted: false,
|
read_restricted: false,
|
||||||
permission: 1,
|
permission: 1,
|
||||||
notification_level: null,
|
notification_level: null,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
background_url: null,
|
||||||
show_subcategory_list: true,
|
show_subcategory_list: true,
|
||||||
default_view: "latest",
|
default_view: "latest",
|
||||||
@ -164,7 +160,6 @@ export default {
|
|||||||
read_restricted: false,
|
read_restricted: false,
|
||||||
permission: 1,
|
permission: 1,
|
||||||
notification_level: null,
|
notification_level: null,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
background_url: null,
|
||||||
show_subcategory_list: false,
|
show_subcategory_list: false,
|
||||||
default_view: "latest"
|
default_view: "latest"
|
||||||
@ -182,7 +177,6 @@ export default {
|
|||||||
read_restricted: true,
|
read_restricted: true,
|
||||||
permission: 1,
|
permission: 1,
|
||||||
notification_level: null,
|
notification_level: null,
|
||||||
logo_url: null,
|
|
||||||
background_url: null
|
background_url: null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -200,7 +194,6 @@ export default {
|
|||||||
permission: 1,
|
permission: 1,
|
||||||
parent_category_id: 7,
|
parent_category_id: 7,
|
||||||
notification_level: null,
|
notification_level: null,
|
||||||
logo_url: null,
|
|
||||||
background_url: null
|
background_url: null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -218,7 +211,6 @@ export default {
|
|||||||
permission: 1,
|
permission: 1,
|
||||||
parent_category_id: 7,
|
parent_category_id: 7,
|
||||||
notification_level: null,
|
notification_level: null,
|
||||||
logo_url: null,
|
|
||||||
background_url: null
|
background_url: null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -235,7 +227,6 @@ export default {
|
|||||||
read_restricted: false,
|
read_restricted: false,
|
||||||
permission: 1,
|
permission: 1,
|
||||||
notification_level: null,
|
notification_level: null,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
background_url: null,
|
||||||
show_subcategory_list: false,
|
show_subcategory_list: false,
|
||||||
default_view: "latest"
|
default_view: "latest"
|
||||||
@ -254,7 +245,6 @@ export default {
|
|||||||
read_restricted: false,
|
read_restricted: false,
|
||||||
permission: 1,
|
permission: 1,
|
||||||
notification_level: null,
|
notification_level: null,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
background_url: null,
|
||||||
show_subcategory_list: false,
|
show_subcategory_list: false,
|
||||||
default_view: "latest"
|
default_view: "latest"
|
||||||
@ -273,8 +263,6 @@ export default {
|
|||||||
read_restricted: false,
|
read_restricted: false,
|
||||||
permission: 1,
|
permission: 1,
|
||||||
notification_level: null,
|
notification_level: null,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
|
||||||
show_subcategory_list: false,
|
show_subcategory_list: false,
|
||||||
default_view: "latest"
|
default_view: "latest"
|
||||||
},
|
},
|
||||||
@ -292,8 +280,6 @@ export default {
|
|||||||
read_restricted: false,
|
read_restricted: false,
|
||||||
permission: 1,
|
permission: 1,
|
||||||
notification_level: null,
|
notification_level: null,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
|
||||||
show_subcategory_list: false,
|
show_subcategory_list: false,
|
||||||
default_view: "latest"
|
default_view: "latest"
|
||||||
},
|
},
|
||||||
@ -311,8 +297,6 @@ export default {
|
|||||||
read_restricted: false,
|
read_restricted: false,
|
||||||
permission: 1,
|
permission: 1,
|
||||||
notification_level: null,
|
notification_level: null,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
|
||||||
show_subcategory_list: false,
|
show_subcategory_list: false,
|
||||||
default_view: "latest"
|
default_view: "latest"
|
||||||
},
|
},
|
||||||
@ -330,8 +314,6 @@ export default {
|
|||||||
read_restricted: false,
|
read_restricted: false,
|
||||||
permission: 1,
|
permission: 1,
|
||||||
notification_level: null,
|
notification_level: null,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
|
||||||
show_subcategory_list: false,
|
show_subcategory_list: false,
|
||||||
default_view: "latest"
|
default_view: "latest"
|
||||||
},
|
},
|
||||||
@ -349,9 +331,7 @@ export default {
|
|||||||
read_restricted: false,
|
read_restricted: false,
|
||||||
permission: 1,
|
permission: 1,
|
||||||
parent_category_id: 5,
|
parent_category_id: 5,
|
||||||
notification_level: null,
|
notification_level: null
|
||||||
logo_url: null,
|
|
||||||
background_url: null
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 1,
|
id: 1,
|
||||||
@ -367,8 +347,6 @@ export default {
|
|||||||
read_restricted: false,
|
read_restricted: false,
|
||||||
permission: 1,
|
permission: 1,
|
||||||
notification_level: null,
|
notification_level: null,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
|
||||||
can_edit: true,
|
can_edit: true,
|
||||||
show_subcategory_list: false,
|
show_subcategory_list: false,
|
||||||
default_view: "latest"
|
default_view: "latest"
|
||||||
@ -387,8 +365,6 @@ export default {
|
|||||||
read_restricted: false,
|
read_restricted: false,
|
||||||
permission: 1,
|
permission: 1,
|
||||||
notification_level: null,
|
notification_level: null,
|
||||||
logo_url: "",
|
|
||||||
background_url: "",
|
|
||||||
show_subcategory_list: false,
|
show_subcategory_list: false,
|
||||||
default_view: "latest"
|
default_view: "latest"
|
||||||
},
|
},
|
||||||
@ -406,9 +382,7 @@ export default {
|
|||||||
read_restricted: false,
|
read_restricted: false,
|
||||||
permission: 1,
|
permission: 1,
|
||||||
parent_category_id: 6,
|
parent_category_id: 6,
|
||||||
notification_level: null,
|
notification_level: null
|
||||||
logo_url: null,
|
|
||||||
background_url: null
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 8,
|
id: 8,
|
||||||
@ -424,8 +398,6 @@ export default {
|
|||||||
read_restricted: false,
|
read_restricted: false,
|
||||||
permission: 1,
|
permission: 1,
|
||||||
notification_level: null,
|
notification_level: null,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
|
||||||
show_subcategory_list: false,
|
show_subcategory_list: false,
|
||||||
default_view: "latest"
|
default_view: "latest"
|
||||||
},
|
},
|
||||||
@ -443,8 +415,6 @@ export default {
|
|||||||
read_restricted: false,
|
read_restricted: false,
|
||||||
permission: 1,
|
permission: 1,
|
||||||
notification_level: null,
|
notification_level: null,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
|
||||||
show_subcategory_list: false,
|
show_subcategory_list: false,
|
||||||
default_view: "latest"
|
default_view: "latest"
|
||||||
},
|
},
|
||||||
@ -462,8 +432,6 @@ export default {
|
|||||||
read_restricted: false,
|
read_restricted: false,
|
||||||
permission: 1,
|
permission: 1,
|
||||||
notification_level: null,
|
notification_level: null,
|
||||||
logo_url: null,
|
|
||||||
background_url: null,
|
|
||||||
show_subcategory_list: true,
|
show_subcategory_list: true,
|
||||||
default_view: "latest",
|
default_view: "latest",
|
||||||
subcategory_list_style: "boxes"
|
subcategory_list_style: "boxes"
|
||||||
|
Reference in New Issue
Block a user