mirror of
https://github.com/discourse/discourse.git
synced 2025-03-30 05:10:09 +08:00
FIX: set existing lists to compact when appropriate (#6234)
This commit is contained in:
parent
84d822959a
commit
47bed23a5f
@ -596,6 +596,7 @@ posting:
|
|||||||
client: true
|
client: true
|
||||||
type: list
|
type: list
|
||||||
default: 'com|net|org|io|co|tv|ru|cn|us|uk|me|de|fr|fi|gov'
|
default: 'com|net|org|io|co|tv|ru|cn|us|uk|me|de|fr|fi|gov'
|
||||||
|
list_type: compact
|
||||||
enable_rich_text_paste:
|
enable_rich_text_paste:
|
||||||
client: true
|
client: true
|
||||||
default: true
|
default: true
|
||||||
@ -662,6 +663,7 @@ posting:
|
|||||||
choices: 'HighlightJs.languages'
|
choices: 'HighlightJs.languages'
|
||||||
type: list
|
type: list
|
||||||
client: true
|
client: true
|
||||||
|
list_type: compact
|
||||||
delete_old_hidden_posts: true
|
delete_old_hidden_posts: true
|
||||||
enable_emoji:
|
enable_emoji:
|
||||||
default: true
|
default: true
|
||||||
@ -713,6 +715,7 @@ posting:
|
|||||||
client: true
|
client: true
|
||||||
default: ''
|
default: ''
|
||||||
type: list
|
type: list
|
||||||
|
list_type: compact
|
||||||
max_allowed_message_recipients:
|
max_allowed_message_recipients:
|
||||||
default: 30
|
default: 30
|
||||||
min: 1
|
min: 1
|
||||||
@ -851,9 +854,11 @@ email:
|
|||||||
attachment_content_type_blacklist:
|
attachment_content_type_blacklist:
|
||||||
type: list
|
type: list
|
||||||
default: "pkcs7|x-vcard"
|
default: "pkcs7|x-vcard"
|
||||||
|
list_type: compact
|
||||||
attachment_filename_blacklist:
|
attachment_filename_blacklist:
|
||||||
type: list
|
type: list
|
||||||
default: "smime.p7s|signature.asc|winmail.dat"
|
default: "smime.p7s|signature.asc|winmail.dat"
|
||||||
|
list_type: compact
|
||||||
enable_forwarded_emails: false
|
enable_forwarded_emails: false
|
||||||
always_show_trimmed_content: false
|
always_show_trimmed_content: false
|
||||||
private_email: false
|
private_email: false
|
||||||
@ -878,20 +883,24 @@ files:
|
|||||||
theme_authorized_extensions:
|
theme_authorized_extensions:
|
||||||
default: 'jpg|jpeg|png|woff|woff2|svg|eot|ttf|otf|gif'
|
default: 'jpg|jpeg|png|woff|woff2|svg|eot|ttf|otf|gif'
|
||||||
type: list
|
type: list
|
||||||
|
list_type: compact
|
||||||
authorized_extensions:
|
authorized_extensions:
|
||||||
client: true
|
client: true
|
||||||
default: 'jpg|jpeg|png|gif'
|
default: 'jpg|jpeg|png|gif'
|
||||||
refresh: true
|
refresh: true
|
||||||
type: list
|
type: list
|
||||||
|
list_type: compact
|
||||||
authorized_extensions_for_staff:
|
authorized_extensions_for_staff:
|
||||||
client: true
|
client: true
|
||||||
default: ''
|
default: ''
|
||||||
refresh: true
|
refresh: true
|
||||||
type: list
|
type: list
|
||||||
|
list_type: compact
|
||||||
export_authorized_extensions:
|
export_authorized_extensions:
|
||||||
hidden: true
|
hidden: true
|
||||||
default: 'gz'
|
default: 'gz'
|
||||||
type: list
|
type: list
|
||||||
|
list_type: compact
|
||||||
crawl_images:
|
crawl_images:
|
||||||
default: true
|
default: true
|
||||||
max_image_width:
|
max_image_width:
|
||||||
@ -958,6 +967,7 @@ files:
|
|||||||
avatar_sizes:
|
avatar_sizes:
|
||||||
default: '20|25|32|45|60|120'
|
default: '20|25|32|45|60|120'
|
||||||
type: list
|
type: list
|
||||||
|
list_type: compact
|
||||||
external_system_avatars_enabled:
|
external_system_avatars_enabled:
|
||||||
default: true
|
default: true
|
||||||
client: true
|
client: true
|
||||||
@ -1093,10 +1103,12 @@ security:
|
|||||||
hidden: true
|
hidden: true
|
||||||
default: 'trident|webkit|gecko|chrome|safari|msie|opera|goanna'
|
default: 'trident|webkit|gecko|chrome|safari|msie|opera|goanna'
|
||||||
type: list
|
type: list
|
||||||
|
list_type: compact
|
||||||
crawler_user_agents:
|
crawler_user_agents:
|
||||||
hidden: true
|
hidden: true
|
||||||
default: 'rss|bot|spider|crawler|facebook|archive|wayback|ping|monitor'
|
default: 'rss|bot|spider|crawler|facebook|archive|wayback|ping|monitor'
|
||||||
type: list
|
type: list
|
||||||
|
list_type: compact
|
||||||
crawler_check_bypass_agents:
|
crawler_check_bypass_agents:
|
||||||
hidden: true
|
hidden: true
|
||||||
default: 'cubot'
|
default: 'cubot'
|
||||||
@ -1109,6 +1121,7 @@ security:
|
|||||||
blacklist_ip_blocks:
|
blacklist_ip_blocks:
|
||||||
default: ''
|
default: ''
|
||||||
type: list
|
type: list
|
||||||
|
list_type: compact
|
||||||
shadowed_by_global: true
|
shadowed_by_global: true
|
||||||
whitelist_internal_hosts:
|
whitelist_internal_hosts:
|
||||||
default: ''
|
default: ''
|
||||||
@ -1120,12 +1133,15 @@ security:
|
|||||||
whitelisted_crawler_user_agents:
|
whitelisted_crawler_user_agents:
|
||||||
type: list
|
type: list
|
||||||
default: ''
|
default: ''
|
||||||
|
list_type: compact
|
||||||
blacklisted_crawler_user_agents:
|
blacklisted_crawler_user_agents:
|
||||||
type: list
|
type: list
|
||||||
default: 'mauibot'
|
default: 'mauibot'
|
||||||
|
list_type: compact
|
||||||
slow_down_crawler_user_agents:
|
slow_down_crawler_user_agents:
|
||||||
type: list
|
type: list
|
||||||
default: 'bingbot'
|
default: 'bingbot'
|
||||||
|
list_type: compact
|
||||||
slow_down_crawler_rate: 60
|
slow_down_crawler_rate: 60
|
||||||
|
|
||||||
onebox:
|
onebox:
|
||||||
@ -1138,12 +1154,14 @@ onebox:
|
|||||||
onebox_domains_blacklist:
|
onebox_domains_blacklist:
|
||||||
default: ''
|
default: ''
|
||||||
type: list
|
type: list
|
||||||
|
list_type: compact
|
||||||
max_oneboxes_per_post:
|
max_oneboxes_per_post:
|
||||||
default: 50
|
default: 50
|
||||||
client: true
|
client: true
|
||||||
inline_onebox_domains_whitelist:
|
inline_onebox_domains_whitelist:
|
||||||
default: ''
|
default: ''
|
||||||
type: list
|
type: list
|
||||||
|
list_type: compact
|
||||||
enable_inline_onebox_on_all_domains:
|
enable_inline_onebox_on_all_domains:
|
||||||
default: false
|
default: false
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user