2014-06-18 22:49:21 +08:00
|
|
|
|
# Available options:
|
2014-06-13 06:03:03 +08:00
|
|
|
|
#
|
2019-01-02 15:29:17 +08:00
|
|
|
|
# default - The default value of the setting. For upload site settings, use the id of the upload seeded in db/fixtures/010_uploads.rb.
|
2016-06-29 15:23:29 +08:00
|
|
|
|
# client - Set to true if the javascript should have access to this setting's value.
|
|
|
|
|
# refresh - Set to true if clients should refresh when the setting is changed.
|
|
|
|
|
# min - For a string setting, the minimum length. For an integer setting, the minimum value.
|
|
|
|
|
# max - For a string setting, the maximum length. For an integer setting, the maximum value.
|
|
|
|
|
# regex - A regex that the value must match.
|
|
|
|
|
# validator - The name of the class that will be use to validate the value of the setting.
|
2018-04-26 15:00:56 +08:00
|
|
|
|
# allow_any - For choice settings allow items not specified in the choice list (default true)
|
2018-06-02 21:57:52 +08:00
|
|
|
|
# secret - Set to true if input type should be password and value needs to be scrubbed from logs (default false).
|
2016-06-29 15:23:29 +08:00
|
|
|
|
# enum - The setting has a fixed set of allowed values, and only one can be chosen.
|
|
|
|
|
# Set to the class name that defines the set.
|
2017-08-07 09:43:09 +08:00
|
|
|
|
# locale_default - A hash which overrides according to `SiteSetting.default_locale`.
|
|
|
|
|
# The key should be as the same as possible value of default_locale.
|
|
|
|
|
#
|
2016-06-29 15:23:29 +08:00
|
|
|
|
#
|
2014-06-18 22:49:21 +08:00
|
|
|
|
# type: email - Must be a valid email address.
|
|
|
|
|
# type: username - Must match the username of an existing user.
|
2014-06-19 00:07:18 +08:00
|
|
|
|
# type: list - A list of values, chosen from a set of valid values defined in the choices option.
|
2015-08-07 09:41:48 +08:00
|
|
|
|
# type: enum - A single value, chosen from a set of valid values in the choices option.
|
2014-08-10 23:46:04 +08:00
|
|
|
|
#
|
|
|
|
|
# A type:list setting with the word 'colors' in its name will make color values have a bold line of the corresponding color
|
|
|
|
|
#
|
2013-11-15 01:37:41 +08:00
|
|
|
|
required:
|
2013-11-07 04:47:26 +08:00
|
|
|
|
title:
|
|
|
|
|
client: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "Discourse"
|
2014-06-18 22:49:21 +08:00
|
|
|
|
site_description:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-12-12 18:46:14 +08:00
|
|
|
|
short_site_description:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2019-05-07 19:21:54 +08:00
|
|
|
|
client: true
|
2014-06-10 03:17:36 +08:00
|
|
|
|
contact_email:
|
2015-01-07 06:28:42 +08:00
|
|
|
|
client: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2014-06-13 06:03:03 +08:00
|
|
|
|
type: email
|
2015-02-24 01:39:13 +08:00
|
|
|
|
contact_url:
|
|
|
|
|
client: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2014-06-10 03:17:36 +08:00
|
|
|
|
notification_email:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "noreply@unconfigured.discourse.org"
|
2014-06-13 06:03:03 +08:00
|
|
|
|
type: email
|
2014-06-12 02:42:41 +08:00
|
|
|
|
site_contact_username:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2014-06-13 06:03:03 +08:00
|
|
|
|
type: username
|
2019-03-13 18:34:47 +08:00
|
|
|
|
site_contact_group_name:
|
|
|
|
|
default: ""
|
|
|
|
|
type: group
|
2019-05-01 21:44:45 +08:00
|
|
|
|
exclude_rel_nofollow_domains:
|
|
|
|
|
default: ""
|
|
|
|
|
type: list
|
|
|
|
|
company_name:
|
|
|
|
|
default: ""
|
|
|
|
|
governing_law:
|
|
|
|
|
default: ""
|
|
|
|
|
city_for_disputes:
|
|
|
|
|
default: ""
|
|
|
|
|
|
|
|
|
|
branding:
|
2018-11-14 15:03:02 +08:00
|
|
|
|
logo:
|
2019-05-01 21:44:45 +08:00
|
|
|
|
default: -5
|
2013-11-07 04:47:26 +08:00
|
|
|
|
client: true
|
2018-11-14 15:03:02 +08:00
|
|
|
|
type: upload
|
|
|
|
|
logo_url:
|
|
|
|
|
hidden: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "/images/d-logo-sketch.png"
|
2018-11-14 15:03:02 +08:00
|
|
|
|
logo_small:
|
2019-05-01 21:44:45 +08:00
|
|
|
|
default: -6
|
2013-11-07 04:47:26 +08:00
|
|
|
|
client: true
|
2018-11-14 15:03:02 +08:00
|
|
|
|
type: upload
|
|
|
|
|
logo_small_url:
|
|
|
|
|
hidden: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "/images/d-logo-sketch-small.png"
|
2018-11-14 15:03:02 +08:00
|
|
|
|
digest_logo:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-11-14 15:03:02 +08:00
|
|
|
|
client: true
|
|
|
|
|
type: upload
|
2014-03-19 03:56:17 +08:00
|
|
|
|
digest_logo_url:
|
2018-11-14 15:03:02 +08:00
|
|
|
|
hidden: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-11-14 15:03:02 +08:00
|
|
|
|
mobile_logo:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2014-06-19 03:44:00 +08:00
|
|
|
|
client: true
|
2018-11-14 15:03:02 +08:00
|
|
|
|
type: upload
|
|
|
|
|
mobile_logo_url:
|
|
|
|
|
hidden: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-11-14 15:03:02 +08:00
|
|
|
|
large_icon:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-11-14 15:03:02 +08:00
|
|
|
|
client: true
|
|
|
|
|
type: upload
|
2019-05-01 21:44:45 +08:00
|
|
|
|
manifest_icon:
|
|
|
|
|
default: ""
|
|
|
|
|
type: upload
|
2017-11-03 13:19:31 +08:00
|
|
|
|
large_icon_url:
|
2018-11-14 15:03:02 +08:00
|
|
|
|
hidden: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-11-14 15:03:02 +08:00
|
|
|
|
favicon:
|
2019-05-01 21:44:45 +08:00
|
|
|
|
default: ""
|
2013-11-14 03:02:47 +08:00
|
|
|
|
client: true
|
2018-11-14 15:03:02 +08:00
|
|
|
|
type: upload
|
|
|
|
|
favicon_url:
|
|
|
|
|
hidden: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "/images/default-favicon.ico"
|
2018-11-14 15:03:02 +08:00
|
|
|
|
apple_touch_icon:
|
2019-05-01 21:44:45 +08:00
|
|
|
|
default: ""
|
2018-11-14 15:03:02 +08:00
|
|
|
|
client: true
|
|
|
|
|
type: upload
|
|
|
|
|
apple_touch_icon_url:
|
|
|
|
|
hidden: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "/images/default-apple-touch-icon.png"
|
2018-11-14 15:03:02 +08:00
|
|
|
|
opengraph_image:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-11-14 15:03:02 +08:00
|
|
|
|
type: upload
|
|
|
|
|
default_opengraph_image_url:
|
|
|
|
|
hidden: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-11-14 15:03:02 +08:00
|
|
|
|
twitter_summary_large_image:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-11-14 15:03:02 +08:00
|
|
|
|
type: upload
|
|
|
|
|
twitter_summary_large_image_url:
|
|
|
|
|
hidden: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2013-11-14 03:02:47 +08:00
|
|
|
|
|
2013-11-15 04:05:48 +08:00
|
|
|
|
basic:
|
2014-02-09 09:35:46 +08:00
|
|
|
|
allow_user_locale:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2016-03-15 07:18:19 +08:00
|
|
|
|
set_locale_from_accept_language_header:
|
|
|
|
|
default: false
|
|
|
|
|
validator: "AllowUserLocaleEnabledValidator"
|
2018-01-29 10:33:55 +08:00
|
|
|
|
support_mixed_text_direction:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2016-08-18 05:23:16 +08:00
|
|
|
|
categories_topics:
|
|
|
|
|
default: 20
|
|
|
|
|
min: 5
|
2017-04-20 15:49:50 +08:00
|
|
|
|
max: 2000
|
2014-03-22 09:14:35 +08:00
|
|
|
|
suggested_topics:
|
|
|
|
|
client: true
|
|
|
|
|
default: 5
|
2017-04-20 15:49:50 +08:00
|
|
|
|
max: 2000
|
2014-06-04 05:48:18 +08:00
|
|
|
|
limit_suggested_to_category:
|
|
|
|
|
default: false
|
2019-04-16 15:51:57 +08:00
|
|
|
|
suggested_topics_unread_max_days_old:
|
|
|
|
|
default: 90
|
|
|
|
|
min: 0
|
|
|
|
|
max: 10000
|
2016-07-03 16:15:01 +08:00
|
|
|
|
suggested_topics_max_days_old:
|
|
|
|
|
default: 365
|
|
|
|
|
min: 7
|
|
|
|
|
max: 10000
|
2014-01-26 08:42:25 +08:00
|
|
|
|
ga_universal_tracking_code:
|
|
|
|
|
client: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2014-06-21 01:02:04 +08:00
|
|
|
|
regex: "^UA-\\d+-\\d+$"
|
2014-01-26 08:42:25 +08:00
|
|
|
|
ga_universal_domain_name:
|
|
|
|
|
client: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "auto"
|
2017-07-14 03:21:44 +08:00
|
|
|
|
ga_universal_auto_link_domains:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2017-07-14 03:21:44 +08:00
|
|
|
|
type: list
|
2016-07-15 01:52:37 +08:00
|
|
|
|
gtm_container_id:
|
|
|
|
|
client: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2016-07-15 01:52:37 +08:00
|
|
|
|
regex: "^GTM-"
|
2013-11-15 04:05:48 +08:00
|
|
|
|
top_menu:
|
|
|
|
|
client: true
|
2014-03-08 02:07:53 +08:00
|
|
|
|
refresh: true
|
2014-06-18 23:15:29 +08:00
|
|
|
|
type: list
|
2018-08-04 04:41:37 +08:00
|
|
|
|
list_type: compact
|
2015-02-27 08:45:56 +08:00
|
|
|
|
default: "latest|new|unread|top|categories"
|
2015-02-27 06:01:29 +08:00
|
|
|
|
regex: "latest"
|
2015-02-27 08:45:56 +08:00
|
|
|
|
regex_error: "site_settings.errors.must_include_latest"
|
2018-01-17 04:07:18 +08:00
|
|
|
|
validator: RegexPresenceValidator
|
2018-04-26 15:00:56 +08:00
|
|
|
|
allow_any: false
|
2014-06-05 00:51:21 +08:00
|
|
|
|
choices:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
- latest
|
|
|
|
|
- new
|
|
|
|
|
- unread
|
|
|
|
|
- top
|
|
|
|
|
- categories
|
|
|
|
|
- read
|
|
|
|
|
- posted
|
|
|
|
|
- bookmarks
|
2013-11-15 04:05:48 +08:00
|
|
|
|
post_menu:
|
|
|
|
|
client: true
|
2014-06-18 23:15:29 +08:00
|
|
|
|
type: list
|
2019-08-27 20:09:00 +08:00
|
|
|
|
default: "read|like|share|flag|edit|bookmark|delete|admin|reply"
|
2018-04-26 15:00:56 +08:00
|
|
|
|
allow_any: false
|
2014-06-01 22:37:51 +08:00
|
|
|
|
choices:
|
2019-08-27 20:09:00 +08:00
|
|
|
|
- read
|
2019-01-18 02:05:39 +08:00
|
|
|
|
- like
|
|
|
|
|
- edit
|
|
|
|
|
- flag
|
|
|
|
|
- delete
|
|
|
|
|
- share
|
|
|
|
|
- bookmark
|
|
|
|
|
- admin
|
|
|
|
|
- reply
|
2014-06-11 03:27:43 +08:00
|
|
|
|
post_menu_hidden_items:
|
2014-05-31 23:18:53 +08:00
|
|
|
|
client: true
|
2014-06-18 23:15:29 +08:00
|
|
|
|
type: list
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "flag|bookmark|edit|delete|admin"
|
2018-04-26 15:00:56 +08:00
|
|
|
|
allow_any: false
|
2014-06-11 03:27:43 +08:00
|
|
|
|
choices:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
- like
|
|
|
|
|
- edit
|
|
|
|
|
- flag
|
|
|
|
|
- delete
|
|
|
|
|
- share
|
|
|
|
|
- bookmark
|
|
|
|
|
- admin
|
|
|
|
|
- reply
|
2013-11-15 04:05:48 +08:00
|
|
|
|
share_links:
|
|
|
|
|
client: true
|
2014-06-18 23:15:29 +08:00
|
|
|
|
type: list
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "twitter|facebook|email"
|
2018-04-26 15:00:56 +08:00
|
|
|
|
allow_any: false
|
2014-06-01 22:37:51 +08:00
|
|
|
|
choices:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
- twitter
|
|
|
|
|
- facebook
|
|
|
|
|
- email
|
2016-08-23 05:43:42 +08:00
|
|
|
|
desktop_category_page_style:
|
2016-08-23 05:01:43 +08:00
|
|
|
|
client: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "CategoryPageStyle"
|
|
|
|
|
default: "categories_and_latest_topics"
|
2013-11-15 04:05:48 +08:00
|
|
|
|
category_colors:
|
|
|
|
|
client: true
|
2014-06-18 23:15:29 +08:00
|
|
|
|
type: list
|
2018-08-04 04:41:37 +08:00
|
|
|
|
list_type: compact
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "BF1E2E|F1592A|F7941D|9EB83B|3AB54A|12A89D|25AAE2|0E76BD|652D90|92278F|ED207B|8C6238|231F20|808281|B3B5B4|E45735"
|
2015-01-29 11:53:02 +08:00
|
|
|
|
category_style:
|
|
|
|
|
client: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "bullet"
|
2015-08-07 09:41:48 +08:00
|
|
|
|
type: enum
|
|
|
|
|
choices:
|
|
|
|
|
- bar
|
|
|
|
|
- box
|
|
|
|
|
- bullet
|
2017-08-05 02:12:21 +08:00
|
|
|
|
- none
|
2014-03-22 09:14:35 +08:00
|
|
|
|
enable_mobile_theme:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2018-09-29 10:33:17 +08:00
|
|
|
|
hidden: true
|
2018-07-12 12:18:21 +08:00
|
|
|
|
default_theme_id:
|
|
|
|
|
default: -1
|
2017-04-12 22:52:52 +08:00
|
|
|
|
hidden: true
|
2013-11-15 04:05:48 +08:00
|
|
|
|
relative_date_duration:
|
|
|
|
|
client: true
|
|
|
|
|
default: 30
|
2014-06-13 06:03:03 +08:00
|
|
|
|
topics_per_period_in_top_summary:
|
|
|
|
|
default: 20
|
|
|
|
|
min: 1
|
|
|
|
|
topics_per_period_in_top_page:
|
|
|
|
|
default: 50
|
|
|
|
|
min: 1
|
2015-10-07 00:04:31 +08:00
|
|
|
|
top_page_default_timeframe:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "yearly"
|
2015-10-07 00:04:31 +08:00
|
|
|
|
type: enum
|
|
|
|
|
choices:
|
|
|
|
|
- all
|
|
|
|
|
- yearly
|
|
|
|
|
- quarterly
|
|
|
|
|
- monthly
|
|
|
|
|
- weekly
|
|
|
|
|
- daily
|
2014-05-16 23:33:44 +08:00
|
|
|
|
fixed_category_positions:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2015-06-16 07:31:41 +08:00
|
|
|
|
fixed_category_positions_on_create:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2014-03-05 20:52:20 +08:00
|
|
|
|
enable_badges:
|
|
|
|
|
client: true
|
2014-07-02 10:32:16 +08:00
|
|
|
|
default: true
|
2016-07-28 07:03:00 +08:00
|
|
|
|
enable_badge_sql:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
2015-09-11 04:01:23 +08:00
|
|
|
|
enable_whispers:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2018-05-05 06:31:48 +08:00
|
|
|
|
push_notifications_prompt:
|
2018-10-04 06:58:24 +08:00
|
|
|
|
default: true
|
2018-05-05 06:31:48 +08:00
|
|
|
|
client: true
|
2018-11-14 15:03:02 +08:00
|
|
|
|
push_notifications_icon:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-11-14 15:03:02 +08:00
|
|
|
|
type: upload
|
2018-05-05 06:31:48 +08:00
|
|
|
|
push_notifications_icon_url:
|
2018-11-14 15:03:02 +08:00
|
|
|
|
hidden: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-11-28 21:55:52 +08:00
|
|
|
|
short_title:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2019-01-09 08:46:11 +08:00
|
|
|
|
max: 12
|
2018-05-05 06:31:48 +08:00
|
|
|
|
vapid_public_key_bytes:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-05-05 06:31:48 +08:00
|
|
|
|
client: true
|
|
|
|
|
hidden: true
|
|
|
|
|
vapid_public_key:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-05-05 06:31:48 +08:00
|
|
|
|
hidden: true
|
|
|
|
|
vapid_private_key:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-05-05 06:31:48 +08:00
|
|
|
|
hidden: true
|
2019-07-30 16:08:11 +08:00
|
|
|
|
vapid_base_url:
|
|
|
|
|
default: ""
|
|
|
|
|
hidden: true
|
2013-11-15 04:05:48 +08:00
|
|
|
|
|
2014-07-13 17:23:31 +08:00
|
|
|
|
login:
|
2013-11-14 03:02:47 +08:00
|
|
|
|
invite_only:
|
2016-08-23 02:07:09 +08:00
|
|
|
|
refresh: true
|
2013-11-07 04:47:26 +08:00
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2019-04-02 22:26:27 +08:00
|
|
|
|
validator: "EnableInviteOnlyValidator"
|
2013-11-14 03:02:47 +08:00
|
|
|
|
login_required:
|
2016-08-23 02:07:09 +08:00
|
|
|
|
refresh: true
|
2013-11-07 04:47:26 +08:00
|
|
|
|
client: true
|
|
|
|
|
default: false
|
|
|
|
|
must_approve_users:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2014-03-22 09:14:35 +08:00
|
|
|
|
enable_local_logins:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2017-04-20 23:17:24 +08:00
|
|
|
|
enable_local_logins_via_email:
|
|
|
|
|
client: true
|
2018-10-03 08:16:52 +08:00
|
|
|
|
default: true
|
2017-04-20 23:17:24 +08:00
|
|
|
|
validator: "EnableLocalLoginsViaEmailValidator"
|
2014-07-15 03:42:14 +08:00
|
|
|
|
allow_new_registrations:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2015-09-02 07:16:19 +08:00
|
|
|
|
enable_signup_cta:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2014-05-22 06:19:40 +08:00
|
|
|
|
enable_google_oauth2_logins:
|
2014-06-04 23:35:18 +08:00
|
|
|
|
default: false
|
2019-01-18 02:05:39 +08:00
|
|
|
|
google_oauth2_client_id: ""
|
2018-06-02 21:57:52 +08:00
|
|
|
|
google_oauth2_client_secret:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-06-02 21:57:52 +08:00
|
|
|
|
secret: true
|
2018-02-23 07:19:36 +08:00
|
|
|
|
google_oauth2_prompt:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-02-23 07:19:36 +08:00
|
|
|
|
type: list
|
|
|
|
|
choices:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
- ""
|
|
|
|
|
- "none"
|
|
|
|
|
- "consent"
|
|
|
|
|
- "select_account"
|
2018-02-23 07:19:36 +08:00
|
|
|
|
google_oauth2_hd:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2013-11-14 03:02:47 +08:00
|
|
|
|
enable_twitter_logins:
|
2014-06-04 23:35:18 +08:00
|
|
|
|
default: false
|
2014-06-21 01:02:04 +08:00
|
|
|
|
twitter_consumer_key:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2016-05-13 21:09:37 +08:00
|
|
|
|
regex: "^[\\w+-]+$"
|
2014-06-21 01:02:04 +08:00
|
|
|
|
twitter_consumer_secret:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2016-05-13 21:09:37 +08:00
|
|
|
|
regex: "^[\\w+-]+$"
|
2018-06-02 21:57:52 +08:00
|
|
|
|
secret: true
|
2016-02-25 09:21:59 +08:00
|
|
|
|
enable_instagram_logins:
|
|
|
|
|
default: false
|
|
|
|
|
instagram_consumer_key:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2016-02-25 09:21:59 +08:00
|
|
|
|
regex: "^[a-z0-9]+$"
|
|
|
|
|
instagram_consumer_secret:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2016-02-25 09:21:59 +08:00
|
|
|
|
regex: "^[a-z0-9]+$"
|
2018-06-02 21:57:52 +08:00
|
|
|
|
secret: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
enable_facebook_logins:
|
2014-06-04 23:35:18 +08:00
|
|
|
|
default: false
|
2014-06-21 01:02:04 +08:00
|
|
|
|
facebook_app_id:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2014-06-21 01:02:04 +08:00
|
|
|
|
regex: "^\\d+$"
|
|
|
|
|
facebook_app_secret:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2014-12-31 15:38:48 +08:00
|
|
|
|
regex: "^[a-f0-9]+$"
|
2018-06-02 21:57:52 +08:00
|
|
|
|
secret: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
enable_github_logins:
|
|
|
|
|
default: false
|
2014-06-21 01:02:04 +08:00
|
|
|
|
github_client_id:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2014-12-31 15:38:48 +08:00
|
|
|
|
regex: "^[a-f0-9]+$"
|
2014-06-21 01:02:04 +08:00
|
|
|
|
github_client_secret:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2014-12-31 15:38:48 +08:00
|
|
|
|
regex: "^[a-f0-9]+$"
|
2018-06-02 21:57:52 +08:00
|
|
|
|
secret: true
|
2019-08-30 17:54:19 +08:00
|
|
|
|
enable_discord_logins:
|
|
|
|
|
default: false
|
|
|
|
|
discord_client_id:
|
|
|
|
|
default: ''
|
|
|
|
|
discord_secret:
|
|
|
|
|
default: ''
|
|
|
|
|
secret: true
|
|
|
|
|
discord_trusted_guilds:
|
|
|
|
|
default: ''
|
|
|
|
|
type: list
|
2014-03-22 09:14:35 +08:00
|
|
|
|
enable_sso:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2017-12-23 16:00:49 +08:00
|
|
|
|
validator: "EnableSsoValidator"
|
2016-12-16 10:37:44 +08:00
|
|
|
|
sso_allows_all_return_paths: false
|
2014-11-26 14:25:54 +08:00
|
|
|
|
enable_sso_provider: false
|
2016-04-12 05:49:44 +08:00
|
|
|
|
verbose_sso_logging: false
|
2017-02-14 03:01:01 +08:00
|
|
|
|
verbose_auth_token_logging:
|
|
|
|
|
hidden: true
|
2018-10-25 17:45:31 +08:00
|
|
|
|
default: true
|
2018-11-14 20:26:47 +08:00
|
|
|
|
max_suspicious_distance_km:
|
|
|
|
|
hidden: true
|
|
|
|
|
default: 500
|
2016-04-06 13:42:47 +08:00
|
|
|
|
sso_url:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2016-04-06 13:42:47 +08:00
|
|
|
|
regex: '^https?:\/\/.+[^\/]$'
|
2018-06-02 21:57:52 +08:00
|
|
|
|
sso_secret:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-06-02 21:57:52 +08:00
|
|
|
|
secret: true
|
2018-10-15 13:03:53 +08:00
|
|
|
|
sso_provider_secrets:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-10-15 13:03:53 +08:00
|
|
|
|
type: list
|
|
|
|
|
list_type: secret
|
2018-10-15 18:57:45 +08:00
|
|
|
|
secret: true
|
2018-10-15 13:03:53 +08:00
|
|
|
|
placeholder:
|
|
|
|
|
key: "sso_provider.key_placeholder"
|
|
|
|
|
value: "sso_provider.value_placeholder"
|
2018-04-10 11:17:23 +08:00
|
|
|
|
sso_overrides_groups: false
|
2016-08-01 13:29:28 +08:00
|
|
|
|
sso_overrides_bio: false
|
2017-07-10 09:08:55 +08:00
|
|
|
|
sso_overrides_email:
|
|
|
|
|
default: false
|
|
|
|
|
validator: "SsoOverridesEmailValidator"
|
2019-03-18 19:21:55 +08:00
|
|
|
|
client: true
|
2014-03-22 09:14:35 +08:00
|
|
|
|
sso_overrides_username: false
|
|
|
|
|
sso_overrides_name: false
|
2014-08-19 15:49:14 +08:00
|
|
|
|
sso_overrides_avatar:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2018-05-07 16:03:26 +08:00
|
|
|
|
sso_overrides_profile_background: false
|
|
|
|
|
sso_overrides_card_background: false
|
2019-01-18 02:05:39 +08:00
|
|
|
|
sso_not_approved_url: ""
|
2014-08-24 17:06:43 +08:00
|
|
|
|
email_domains_blacklist:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "mailinator.com"
|
2014-08-24 17:06:43 +08:00
|
|
|
|
type: list
|
|
|
|
|
email_domains_whitelist:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2014-08-24 17:06:43 +08:00
|
|
|
|
type: list
|
2017-10-04 03:28:15 +08:00
|
|
|
|
hide_email_address_taken: false
|
2015-01-28 09:56:25 +08:00
|
|
|
|
log_out_strict: true
|
2015-11-21 05:05:57 +08:00
|
|
|
|
pending_users_reminder_delay:
|
|
|
|
|
min: -1
|
|
|
|
|
default: 8
|
2016-07-23 05:27:30 +08:00
|
|
|
|
maximum_session_age:
|
2016-07-25 10:07:31 +08:00
|
|
|
|
default: 1440
|
2016-07-23 05:27:30 +08:00
|
|
|
|
min: 1
|
|
|
|
|
max: 175200
|
2014-07-13 17:23:31 +08:00
|
|
|
|
users:
|
|
|
|
|
min_username_length:
|
|
|
|
|
client: true
|
|
|
|
|
default: 3
|
|
|
|
|
min: 1
|
2017-04-20 15:49:50 +08:00
|
|
|
|
max: 60
|
2018-08-23 03:49:52 +08:00
|
|
|
|
validator: "MinUsernameLengthValidator"
|
2014-07-13 17:23:31 +08:00
|
|
|
|
max_username_length:
|
|
|
|
|
client: true
|
|
|
|
|
default: 20
|
|
|
|
|
min: 8
|
|
|
|
|
max: 60
|
2018-08-23 03:49:52 +08:00
|
|
|
|
validator: "MaxUsernameLengthValidator"
|
2019-04-23 18:22:47 +08:00
|
|
|
|
unicode_usernames:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
|
|
|
|
validator: "UnicodeUsernameValidator"
|
|
|
|
|
unicode_username_character_whitelist:
|
|
|
|
|
validator: "UnicodeUsernameWhitelistValidator"
|
|
|
|
|
default: ""
|
|
|
|
|
locale_default:
|
2019-06-07 20:37:13 +08:00
|
|
|
|
cs: "[ěščřžýáíéóůúďťňĚŠČŘŽÝÁÍÉÓŮÚĎŤŇ]"
|
2019-04-23 18:22:47 +08:00
|
|
|
|
de: "[äöüßÄÖÜẞ]"
|
2019-06-07 20:37:13 +08:00
|
|
|
|
fi: "[åäöÅÄÖ]"
|
|
|
|
|
ja: '[\p{Han}\p{Katakana}\p{Hiragana}]'
|
|
|
|
|
ko: '\p{Hangul}'
|
|
|
|
|
zh_CN: '\p{Han}'
|
|
|
|
|
zh_TW: '\p{Han}'
|
2015-07-02 04:44:53 +08:00
|
|
|
|
reserved_usernames:
|
|
|
|
|
type: list
|
2018-08-29 18:12:35 +08:00
|
|
|
|
list_type: compact
|
2019-09-14 02:11:27 +08:00
|
|
|
|
default: "admin|moderator|administrator|mod|sys|system|community|info|you|name|username|user|nickname|discourse|discourseorg|discourseforum|support|hp"
|
2014-07-13 17:23:31 +08:00
|
|
|
|
min_password_length:
|
|
|
|
|
client: true
|
2016-03-02 16:31:38 +08:00
|
|
|
|
default: 10
|
2017-03-05 17:08:37 +08:00
|
|
|
|
min: 8
|
2017-04-28 07:38:50 +08:00
|
|
|
|
max: 500
|
2016-03-02 16:31:38 +08:00
|
|
|
|
min_admin_password_length:
|
|
|
|
|
client: true
|
|
|
|
|
default: 15
|
2017-03-05 17:08:37 +08:00
|
|
|
|
min: 8
|
2017-04-28 07:38:50 +08:00
|
|
|
|
max: 500
|
2017-02-10 04:00:22 +08:00
|
|
|
|
password_unique_characters:
|
2017-02-17 09:06:19 +08:00
|
|
|
|
default: 6
|
2017-02-10 04:00:22 +08:00
|
|
|
|
min: 1
|
2017-04-28 07:39:27 +08:00
|
|
|
|
max: 10
|
2014-07-13 17:23:31 +08:00
|
|
|
|
block_common_passwords: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
username_change_period: 3
|
|
|
|
|
email_editable: true
|
2014-08-15 10:57:29 +08:00
|
|
|
|
logout_redirect:
|
|
|
|
|
client: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2015-04-03 05:07:56 +08:00
|
|
|
|
full_name_required:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2013-11-14 03:02:47 +08:00
|
|
|
|
enable_names:
|
2013-11-07 04:47:26 +08:00
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2017-01-27 20:01:09 +08:00
|
|
|
|
invite_expiry_days:
|
|
|
|
|
default: 30
|
2014-08-01 19:06:31 +08:00
|
|
|
|
invites_per_page:
|
2013-11-07 04:47:26 +08:00
|
|
|
|
client: true
|
2014-08-01 19:06:31 +08:00
|
|
|
|
default: 40
|
2017-05-24 14:00:43 +08:00
|
|
|
|
hidden: true
|
2014-02-21 01:29:40 +08:00
|
|
|
|
delete_user_max_post_age:
|
2013-11-07 04:47:26 +08:00
|
|
|
|
client: true
|
2014-01-09 06:50:08 +08:00
|
|
|
|
default: 60
|
2014-04-15 03:10:32 +08:00
|
|
|
|
delete_all_posts_max:
|
|
|
|
|
client: true
|
|
|
|
|
default: 15
|
2017-04-20 15:49:50 +08:00
|
|
|
|
min: 1
|
2014-04-01 03:53:38 +08:00
|
|
|
|
redirect_users_to_top_page: true
|
2016-06-08 12:29:24 +08:00
|
|
|
|
prioritize_username_in_ux:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2016-01-14 15:21:34 +08:00
|
|
|
|
email_token_valid_hours:
|
2016-07-18 17:00:18 +08:00
|
|
|
|
default: 48
|
2016-01-14 15:21:34 +08:00
|
|
|
|
min: 1
|
2017-01-27 16:52:13 +08:00
|
|
|
|
purge_unactivated_users_grace_period_days:
|
|
|
|
|
default: 14
|
2014-12-03 13:25:43 +08:00
|
|
|
|
public_user_custom_fields:
|
|
|
|
|
type: list
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2015-03-03 14:51:01 +08:00
|
|
|
|
staff_user_custom_fields:
|
|
|
|
|
type: list
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2015-03-26 23:26:19 +08:00
|
|
|
|
enable_user_directory:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2015-04-07 16:02:10 +08:00
|
|
|
|
allow_anonymous_posting:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
|
|
|
|
anonymous_posting_min_trust_level:
|
|
|
|
|
default: 1
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "TrustLevelSetting"
|
2015-04-07 16:02:10 +08:00
|
|
|
|
client: true
|
2015-04-08 10:29:43 +08:00
|
|
|
|
anonymous_account_duration_minutes:
|
|
|
|
|
default: 10080
|
2017-04-20 15:49:50 +08:00
|
|
|
|
max: 99000
|
2015-10-29 02:56:08 +08:00
|
|
|
|
hide_user_profiles_from_public:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2017-12-07 14:23:27 +08:00
|
|
|
|
show_inactive_accounts:
|
|
|
|
|
default: false
|
2016-12-26 23:24:54 +08:00
|
|
|
|
user_website_domains_whitelist:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2016-12-26 23:24:54 +08:00
|
|
|
|
type: list
|
2017-09-13 04:06:01 +08:00
|
|
|
|
hide_suspension_reasons:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2018-01-27 20:51:22 +08:00
|
|
|
|
log_personal_messages_views: false
|
2019-03-15 06:51:43 +08:00
|
|
|
|
ignored_users_count_message_threshold:
|
|
|
|
|
default: 5
|
|
|
|
|
client: true
|
|
|
|
|
min: 1
|
|
|
|
|
ignored_users_message_gap_days:
|
|
|
|
|
default: 365
|
|
|
|
|
client: true
|
|
|
|
|
min: 1
|
2019-03-18 23:25:15 +08:00
|
|
|
|
clean_up_inactive_users_after_days:
|
|
|
|
|
default: 730
|
2019-04-29 12:51:02 +08:00
|
|
|
|
min: 0
|
|
|
|
|
max: 3650
|
2019-10-29 01:46:27 +08:00
|
|
|
|
user_selected_primary_groups:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2014-07-02 07:08:25 +08:00
|
|
|
|
|
2016-12-22 14:14:03 +08:00
|
|
|
|
groups:
|
|
|
|
|
enable_group_directory:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2018-02-19 17:20:17 +08:00
|
|
|
|
group_in_subject:
|
|
|
|
|
default: false
|
2019-04-18 05:12:32 +08:00
|
|
|
|
enable_category_group_review:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2016-12-22 14:14:03 +08:00
|
|
|
|
|
2013-11-14 03:02:47 +08:00
|
|
|
|
posting:
|
2013-11-07 04:47:26 +08:00
|
|
|
|
min_post_length:
|
|
|
|
|
client: true
|
2014-08-30 04:20:23 +08:00
|
|
|
|
min: 1
|
2017-08-07 09:43:09 +08:00
|
|
|
|
default: 20
|
|
|
|
|
locale_default:
|
2018-09-11 17:58:22 +08:00
|
|
|
|
ja: 8
|
2017-08-07 09:43:09 +08:00
|
|
|
|
zh_CN: 8
|
|
|
|
|
zh_TW: 8
|
2015-03-19 22:17:55 +08:00
|
|
|
|
min_first_post_length:
|
|
|
|
|
client: true
|
|
|
|
|
min: 1
|
2017-08-07 09:43:09 +08:00
|
|
|
|
default: 20
|
|
|
|
|
locale_default:
|
2018-09-11 17:58:22 +08:00
|
|
|
|
ja: 8
|
2017-08-07 09:43:09 +08:00
|
|
|
|
zh_CN: 8
|
|
|
|
|
zh_TW: 8
|
2018-01-31 13:56:00 +08:00
|
|
|
|
min_personal_message_post_length:
|
2013-11-07 04:47:26 +08:00
|
|
|
|
client: true
|
2014-08-30 04:20:23 +08:00
|
|
|
|
min: 1
|
2017-08-07 09:43:09 +08:00
|
|
|
|
default: 10
|
|
|
|
|
locale_default:
|
2018-09-11 17:58:22 +08:00
|
|
|
|
ja: 3
|
2017-08-07 09:43:09 +08:00
|
|
|
|
zh_CN: 3
|
|
|
|
|
zh_TW: 3
|
2013-11-07 04:47:26 +08:00
|
|
|
|
max_post_length:
|
|
|
|
|
client: true
|
2014-07-25 02:27:34 +08:00
|
|
|
|
default: 32000
|
2017-04-20 15:49:50 +08:00
|
|
|
|
max: 99000
|
2016-12-05 20:31:43 +08:00
|
|
|
|
topic_featured_link_enabled:
|
|
|
|
|
client: true
|
2016-12-10 05:08:17 +08:00
|
|
|
|
default: true
|
2017-08-07 09:43:09 +08:00
|
|
|
|
body_min_entropy:
|
|
|
|
|
default: 7
|
|
|
|
|
locale_default:
|
2018-06-28 23:21:50 +08:00
|
|
|
|
ja: 3
|
2017-08-07 09:43:09 +08:00
|
|
|
|
zh_CN: 3
|
|
|
|
|
zh_TW: 3
|
2013-11-07 04:47:26 +08:00
|
|
|
|
min_topic_title_length:
|
|
|
|
|
client: true
|
|
|
|
|
default: 15
|
2017-10-28 02:08:21 +08:00
|
|
|
|
min: 1
|
2017-08-07 09:43:09 +08:00
|
|
|
|
locale_default:
|
2018-09-11 17:58:22 +08:00
|
|
|
|
ja: 6
|
2017-08-07 09:43:09 +08:00
|
|
|
|
zh_CN: 6
|
|
|
|
|
zh_TW: 6
|
2013-11-07 04:47:26 +08:00
|
|
|
|
max_topic_title_length:
|
|
|
|
|
client: true
|
|
|
|
|
default: 255
|
2017-10-28 02:08:21 +08:00
|
|
|
|
min: 5
|
2015-11-12 14:29:55 +08:00
|
|
|
|
max: 255
|
2017-08-07 09:43:09 +08:00
|
|
|
|
title_min_entropy:
|
|
|
|
|
default: 10
|
|
|
|
|
locale_default:
|
2018-06-28 23:21:50 +08:00
|
|
|
|
ja: 3
|
2017-08-07 09:43:09 +08:00
|
|
|
|
zh_CN: 3
|
|
|
|
|
zh_TW: 3
|
2018-06-28 23:21:50 +08:00
|
|
|
|
allow_uppercase_posts:
|
|
|
|
|
default: false
|
|
|
|
|
locale_default:
|
2018-09-11 17:58:22 +08:00
|
|
|
|
ja: true
|
2018-11-14 22:48:16 +08:00
|
|
|
|
max_consecutive_replies:
|
2018-11-15 05:58:05 +08:00
|
|
|
|
default: 3
|
2017-08-07 09:43:09 +08:00
|
|
|
|
title_prettify:
|
|
|
|
|
default: true
|
|
|
|
|
locale_default:
|
2018-06-28 23:21:50 +08:00
|
|
|
|
ja: false
|
2017-08-07 09:43:09 +08:00
|
|
|
|
zh_CN: false
|
|
|
|
|
zh_TW: false
|
2019-05-16 05:43:00 +08:00
|
|
|
|
title_remove_extraneous_space:
|
|
|
|
|
default: false
|
|
|
|
|
locale_default:
|
|
|
|
|
en: true
|
|
|
|
|
en_US: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
title_fancy_entities: true
|
2018-01-31 13:56:00 +08:00
|
|
|
|
min_personal_message_title_length:
|
2013-11-07 04:47:26 +08:00
|
|
|
|
client: true
|
|
|
|
|
default: 2
|
2016-05-19 18:50:28 +08:00
|
|
|
|
min: 1
|
2018-02-17 13:10:30 +08:00
|
|
|
|
max_emojis_in_title: 1
|
2013-11-07 04:47:26 +08:00
|
|
|
|
allow_uncategorized_topics:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2014-02-21 13:52:11 +08:00
|
|
|
|
refresh: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
allow_duplicate_topic_titles: false
|
|
|
|
|
min_title_similar_length:
|
2013-11-07 04:47:26 +08:00
|
|
|
|
client: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
default: 10
|
2017-08-07 09:43:09 +08:00
|
|
|
|
locale_default:
|
2018-09-11 17:58:22 +08:00
|
|
|
|
ja: 4
|
2017-08-07 09:43:09 +08:00
|
|
|
|
zh_CN: 4
|
|
|
|
|
zh_TW: 4
|
2018-01-31 14:03:12 +08:00
|
|
|
|
enable_personal_messages:
|
2015-09-09 04:32:20 +08:00
|
|
|
|
default: true
|
|
|
|
|
client: true
|
2018-01-24 02:11:39 +08:00
|
|
|
|
enable_system_message_replies:
|
|
|
|
|
default: true
|
2018-01-31 14:04:50 +08:00
|
|
|
|
enable_personal_email_messages:
|
2018-08-27 09:38:11 +08:00
|
|
|
|
hidden: true
|
2017-08-29 00:07:30 +08:00
|
|
|
|
default: false
|
|
|
|
|
client: true
|
|
|
|
|
validator: "EnablePrivateEmailMessagesValidator"
|
2015-11-25 03:28:42 +08:00
|
|
|
|
editing_grace_period: 300
|
2018-03-07 17:45:48 +08:00
|
|
|
|
editing_grace_period_max_diff: 100
|
2018-03-09 08:58:50 +08:00
|
|
|
|
editing_grace_period_max_diff_high_trust: 400
|
2018-01-27 02:45:52 +08:00
|
|
|
|
staff_edit_locks_post: false
|
2018-03-14 03:59:12 +08:00
|
|
|
|
shared_drafts_category:
|
|
|
|
|
type: category
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2017-05-11 06:16:57 +08:00
|
|
|
|
post_edit_time_limit:
|
2019-09-06 19:44:12 +08:00
|
|
|
|
default: 1440
|
|
|
|
|
max: 10080
|
|
|
|
|
tl2_post_edit_time_limit:
|
2019-08-30 12:27:18 +08:00
|
|
|
|
default: 43200
|
2017-05-03 22:06:55 +08:00
|
|
|
|
max: 525600
|
2013-11-14 03:02:47 +08:00
|
|
|
|
edit_history_visible_to_public:
|
2013-11-07 04:47:26 +08:00
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
delete_removed_posts_after:
|
2013-11-07 04:47:26 +08:00
|
|
|
|
client: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
default: 24
|
|
|
|
|
traditional_markdown_linebreaks:
|
2013-11-07 04:47:26 +08:00
|
|
|
|
client: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
default: false
|
2017-06-28 04:50:13 +08:00
|
|
|
|
enable_markdown_typographer:
|
|
|
|
|
client: true
|
2017-07-14 20:27:28 +08:00
|
|
|
|
default: true
|
2018-02-01 10:22:38 +08:00
|
|
|
|
enable_markdown_linkify:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
|
|
|
|
markdown_linkify_tlds:
|
|
|
|
|
client: true
|
|
|
|
|
type: list
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "com|net|org|io|co|tv|ru|cn|us|uk|me|de|fr|fi|gov"
|
2018-08-04 06:27:57 +08:00
|
|
|
|
list_type: compact
|
2019-07-12 05:15:35 +08:00
|
|
|
|
markdown_typographer_quotation_marks:
|
|
|
|
|
client: true
|
|
|
|
|
type: list
|
|
|
|
|
list_type: compact
|
|
|
|
|
validator: "MarkdownTypographerQuotationMarksValidator"
|
|
|
|
|
default: "“|”|‘|’"
|
|
|
|
|
locale_default:
|
|
|
|
|
de: "„|“|‚|‘"
|
|
|
|
|
fr: "«\xA0|\xA0»|‹\xA0|\xA0›"
|
2017-12-08 16:39:39 +08:00
|
|
|
|
enable_rich_text_paste:
|
|
|
|
|
client: true
|
2018-08-01 19:06:16 +08:00
|
|
|
|
default: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
suppress_reply_directly_below:
|
2013-11-07 04:47:26 +08:00
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
suppress_reply_directly_above:
|
2013-11-07 04:47:26 +08:00
|
|
|
|
client: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
default: true
|
2014-07-30 08:55:49 +08:00
|
|
|
|
suppress_reply_when_quoting:
|
|
|
|
|
default: true
|
2018-12-12 22:42:53 +08:00
|
|
|
|
remove_full_quote:
|
|
|
|
|
default: true
|
2014-10-27 06:44:42 +08:00
|
|
|
|
max_reply_history:
|
|
|
|
|
default: 1
|
|
|
|
|
client: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
post_undo_action_window_mins: 10
|
2017-12-08 00:30:47 +08:00
|
|
|
|
enable_mentions:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
max_mentions_per_post: 10
|
2015-11-30 14:03:47 +08:00
|
|
|
|
max_users_notified_per_group_mention: 100
|
2013-12-20 02:45:55 +08:00
|
|
|
|
newuser_max_replies_per_topic: 3
|
2013-11-14 03:02:47 +08:00
|
|
|
|
newuser_max_mentions_per_post: 2
|
2019-03-13 14:22:46 +08:00
|
|
|
|
title_max_word_length:
|
|
|
|
|
default: 30
|
|
|
|
|
locale_default:
|
|
|
|
|
ja: 50
|
|
|
|
|
ko: 50
|
|
|
|
|
zh_CN: 50
|
|
|
|
|
zh_TW: 50
|
2018-06-14 02:57:32 +08:00
|
|
|
|
whitelisted_link_domains:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-06-14 02:57:32 +08:00
|
|
|
|
type: list
|
2013-11-14 03:02:47 +08:00
|
|
|
|
newuser_max_links: 2
|
|
|
|
|
newuser_max_images:
|
2013-11-07 04:47:26 +08:00
|
|
|
|
client: true
|
2015-09-06 18:11:02 +08:00
|
|
|
|
default: 1
|
2013-11-14 03:02:47 +08:00
|
|
|
|
newuser_max_attachments:
|
2013-11-07 04:47:26 +08:00
|
|
|
|
client: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
default: 0
|
2017-08-07 09:43:09 +08:00
|
|
|
|
post_excerpt_maxlength:
|
|
|
|
|
default: 300
|
|
|
|
|
locale_default:
|
2018-09-11 17:58:22 +08:00
|
|
|
|
ja: 120
|
2017-08-07 09:43:09 +08:00
|
|
|
|
zh_CN: 120
|
|
|
|
|
zh_TW: 120
|
2016-07-12 11:51:44 +08:00
|
|
|
|
show_pinned_excerpt_mobile:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
|
|
|
|
show_pinned_excerpt_desktop:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
display_name_on_posts:
|
2013-11-07 04:47:26 +08:00
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2015-06-19 05:06:25 +08:00
|
|
|
|
show_time_gap_days:
|
2015-06-30 03:53:44 +08:00
|
|
|
|
default: 7
|
2015-06-19 05:06:25 +08:00
|
|
|
|
client: true
|
2013-12-06 06:03:31 +08:00
|
|
|
|
short_progress_text_threshold:
|
|
|
|
|
client: true
|
2014-07-04 17:44:39 +08:00
|
|
|
|
default: 10000
|
2017-04-20 15:49:50 +08:00
|
|
|
|
max: 99000
|
2013-12-17 09:08:29 +08:00
|
|
|
|
default_code_lang:
|
|
|
|
|
client: true
|
2014-10-06 02:55:57 +08:00
|
|
|
|
default: "auto"
|
2014-03-12 22:44:08 +08:00
|
|
|
|
warn_reviving_old_topic_age: 180
|
2014-03-31 15:44:35 +08:00
|
|
|
|
autohighlight_all_code:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2015-03-13 13:15:13 +08:00
|
|
|
|
highlighted_languages:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "apache|bash|cs|cpp|css|coffeescript|diff|xml|http|ini|json|java|javascript|makefile|markdown|nginx|objectivec|ruby|perl|php|python|sql|handlebars"
|
|
|
|
|
choices: "HighlightJs.languages"
|
2015-03-13 13:15:13 +08:00
|
|
|
|
type: list
|
|
|
|
|
client: true
|
2018-08-04 06:27:57 +08:00
|
|
|
|
list_type: compact
|
2014-09-26 01:51:00 +08:00
|
|
|
|
delete_old_hidden_posts: true
|
2014-12-23 08:12:26 +08:00
|
|
|
|
enable_emoji:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
2018-01-24 09:21:44 +08:00
|
|
|
|
enable_emoji_shortcuts:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
2014-12-23 08:12:26 +08:00
|
|
|
|
emoji_set:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "twitter"
|
2014-12-23 08:12:26 +08:00
|
|
|
|
client: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "EmojiSetSiteSetting"
|
2018-07-25 14:39:06 +08:00
|
|
|
|
emoji_autocomplete_min_chars:
|
|
|
|
|
client: true
|
|
|
|
|
default: 0
|
|
|
|
|
locale_default:
|
|
|
|
|
fr: 1
|
2018-11-26 22:26:59 +08:00
|
|
|
|
enable_inline_emoji_translation:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
|
|
|
|
locale_default:
|
|
|
|
|
zh_CN: true
|
|
|
|
|
zh_TW: true
|
|
|
|
|
ja: true
|
|
|
|
|
ko: true
|
2015-04-16 00:12:20 +08:00
|
|
|
|
approve_post_count:
|
|
|
|
|
default: 0
|
|
|
|
|
approve_unless_trust_level:
|
|
|
|
|
default: 0
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "TrustLevelSetting"
|
2016-09-20 02:07:15 +08:00
|
|
|
|
approve_new_topics_unless_trust_level:
|
|
|
|
|
default: 0
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "TrustLevelSetting"
|
2018-04-06 17:41:25 +08:00
|
|
|
|
approve_unless_staged:
|
|
|
|
|
default: false
|
2015-06-19 03:46:50 +08:00
|
|
|
|
notify_about_queued_posts_after:
|
|
|
|
|
default: 24
|
2018-04-17 14:23:10 +08:00
|
|
|
|
auto_close_messages_post_count:
|
|
|
|
|
default: 500
|
|
|
|
|
auto_close_topics_post_count:
|
|
|
|
|
default: 10000
|
2016-06-27 02:30:45 +08:00
|
|
|
|
code_formatting_style:
|
|
|
|
|
client: true
|
|
|
|
|
type: enum
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "4-spaces-indent"
|
2016-06-27 02:30:45 +08:00
|
|
|
|
choices:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
- 4-spaces-indent
|
|
|
|
|
- code-fences
|
2019-09-11 00:27:07 +08:00
|
|
|
|
embed_any_origin: false
|
2019-08-16 01:41:06 +08:00
|
|
|
|
embed_topics_list: false
|
2016-08-23 03:51:57 +08:00
|
|
|
|
embed_truncate:
|
|
|
|
|
default: true
|
2018-03-11 10:26:47 +08:00
|
|
|
|
embed_support_markdown:
|
|
|
|
|
default: false
|
2019-03-13 01:08:56 +08:00
|
|
|
|
embed_whitelist_selector:
|
|
|
|
|
default: ""
|
2016-10-21 23:39:48 +08:00
|
|
|
|
allowed_href_schemes:
|
|
|
|
|
client: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2016-10-21 23:39:48 +08:00
|
|
|
|
type: list
|
2018-08-04 06:27:57 +08:00
|
|
|
|
list_type: compact
|
2017-07-06 01:09:45 +08:00
|
|
|
|
max_allowed_message_recipients:
|
|
|
|
|
default: 30
|
|
|
|
|
min: 1
|
2017-09-28 03:48:57 +08:00
|
|
|
|
watched_words_regular_expressions:
|
2018-01-11 03:11:14 +08:00
|
|
|
|
client: true
|
2017-09-28 03:48:57 +08:00
|
|
|
|
default: false
|
2017-12-05 19:30:13 +08:00
|
|
|
|
enable_advanced_editor_preview_sync:
|
|
|
|
|
hidden: true
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2019-03-19 00:20:49 +08:00
|
|
|
|
old_post_notice_days:
|
|
|
|
|
default: 14
|
|
|
|
|
client: true
|
2019-04-19 22:53:58 +08:00
|
|
|
|
new_user_notice_tl:
|
|
|
|
|
default: 2
|
|
|
|
|
enum: "TrustLevelSetting"
|
|
|
|
|
returning_user_notice_tl:
|
|
|
|
|
default: 2
|
|
|
|
|
enum: "TrustLevelSetting"
|
2019-03-08 16:48:35 +08:00
|
|
|
|
returning_users_days:
|
2019-03-16 20:20:31 +08:00
|
|
|
|
default: 120
|
2013-11-14 03:02:47 +08:00
|
|
|
|
|
|
|
|
|
email:
|
2014-12-03 01:15:32 +08:00
|
|
|
|
email_time_window_mins:
|
|
|
|
|
default: 10
|
|
|
|
|
client: true
|
2018-01-31 14:07:10 +08:00
|
|
|
|
personal_email_time_window_seconds: 20
|
2013-11-14 03:02:47 +08:00
|
|
|
|
email_posts_context: 5
|
2017-08-07 09:43:09 +08:00
|
|
|
|
digest_min_excerpt_length:
|
|
|
|
|
default: 100
|
|
|
|
|
locale_default:
|
2018-09-11 17:58:22 +08:00
|
|
|
|
ja: 50
|
2017-08-07 09:43:09 +08:00
|
|
|
|
zh_CN: 50
|
|
|
|
|
zh_TW: 50
|
2016-11-11 07:16:24 +08:00
|
|
|
|
digest_topics:
|
|
|
|
|
default: 5
|
|
|
|
|
min: 1
|
2018-05-25 02:39:28 +08:00
|
|
|
|
max: 20
|
|
|
|
|
digest_posts:
|
|
|
|
|
default: 5
|
|
|
|
|
min: 0
|
|
|
|
|
max: 20
|
|
|
|
|
digest_other_topics:
|
|
|
|
|
default: 5
|
|
|
|
|
min: 0
|
|
|
|
|
max: 20
|
2017-02-09 01:11:34 +08:00
|
|
|
|
suppress_digest_email_after_days:
|
2017-01-27 20:01:09 +08:00
|
|
|
|
default: 365
|
2016-03-26 03:12:00 +08:00
|
|
|
|
digest_suppress_categories:
|
|
|
|
|
type: category_list
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2015-01-27 12:46:21 +08:00
|
|
|
|
disable_digest_emails:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2019-07-31 03:05:08 +08:00
|
|
|
|
apply_custom_styles_to_digest: true
|
2016-12-20 00:19:10 +08:00
|
|
|
|
email_accent_bg_color: "#2F70AC"
|
|
|
|
|
email_accent_fg_color: "#FFFFFF"
|
|
|
|
|
email_link_color: "#006699"
|
2016-12-10 02:49:47 +08:00
|
|
|
|
show_topic_featured_link_in_digest: false
|
2019-01-18 02:05:39 +08:00
|
|
|
|
email_custom_headers: "Auto-Submitted: auto-generated"
|
|
|
|
|
email_subject: "[%{site_name}] %{optional_pm}%{optional_cat}%{topic_title}"
|
2016-02-10 06:35:40 +08:00
|
|
|
|
reply_by_email_enabled:
|
|
|
|
|
default: false
|
|
|
|
|
validator: "ReplyByEmailEnabledValidator"
|
2014-12-31 16:04:20 +08:00
|
|
|
|
reply_by_email_address:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-03-03 00:53:18 +08:00
|
|
|
|
validator: "ReplyByEmailAddressValidator"
|
2016-06-10 22:14:42 +08:00
|
|
|
|
alternative_reply_by_email_addresses:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2016-06-28 04:48:27 +08:00
|
|
|
|
validator: "AlternativeReplyByEmailAddressesValidator"
|
2017-06-19 19:12:55 +08:00
|
|
|
|
find_related_post_with_key:
|
2017-08-01 06:03:04 +08:00
|
|
|
|
default: true
|
2016-03-17 05:28:01 +08:00
|
|
|
|
manual_polling_enabled:
|
|
|
|
|
default: false
|
2015-12-11 05:23:54 +08:00
|
|
|
|
pop3_polling_enabled:
|
|
|
|
|
default: false
|
|
|
|
|
validator: "POP3PollingEnabledSettingValidator"
|
2014-08-27 08:00:27 +08:00
|
|
|
|
pop3_polling_ssl: true
|
2016-11-12 04:59:15 +08:00
|
|
|
|
pop3_polling_openssl_verify: true
|
2014-08-27 07:52:35 +08:00
|
|
|
|
pop3_polling_period_mins: 5
|
2019-01-18 02:05:39 +08:00
|
|
|
|
pop3_polling_host: ""
|
2014-08-27 07:52:35 +08:00
|
|
|
|
pop3_polling_port: 995
|
2019-01-18 02:05:39 +08:00
|
|
|
|
pop3_polling_username: ""
|
2018-09-11 09:09:09 +08:00
|
|
|
|
pop3_polling_password:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-09-11 09:09:09 +08:00
|
|
|
|
secret: true
|
2017-12-14 23:03:27 +08:00
|
|
|
|
pop3_polling_delete_from_server: true
|
2015-07-31 13:10:18 +08:00
|
|
|
|
log_mail_processing_failures: false
|
2018-02-21 18:14:36 +08:00
|
|
|
|
incoming_email_prefer_html: true
|
2019-04-15 14:26:00 +08:00
|
|
|
|
strip_incoming_email_lines: false
|
2014-02-27 20:44:21 +08:00
|
|
|
|
email_in:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2014-02-25 00:36:53 +08:00
|
|
|
|
email_in_min_trust:
|
2014-07-12 03:35:17 +08:00
|
|
|
|
default: 2
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "TrustLevelSetting"
|
2018-07-05 17:07:46 +08:00
|
|
|
|
email_in_spam_header:
|
|
|
|
|
type: enum
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "none"
|
2018-07-05 17:07:46 +08:00
|
|
|
|
choices:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
- none
|
|
|
|
|
- X-Spam-Flag
|
|
|
|
|
- X-Spam-Status
|
2019-10-29 00:46:53 +08:00
|
|
|
|
- X-SES-Spam-Verdict
|
2019-01-18 02:05:39 +08:00
|
|
|
|
email_prefix: ""
|
|
|
|
|
email_site_title: ""
|
2015-01-16 02:32:19 +08:00
|
|
|
|
disable_emails:
|
|
|
|
|
client: true
|
2018-06-07 12:14:35 +08:00
|
|
|
|
type: enum
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "no"
|
2018-06-07 12:14:35 +08:00
|
|
|
|
choices:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
- "no"
|
|
|
|
|
- "yes"
|
|
|
|
|
- "non-staff"
|
2014-09-13 13:26:31 +08:00
|
|
|
|
strip_images_from_short_emails: true
|
|
|
|
|
short_email_length: 2800
|
2015-12-15 03:53:58 +08:00
|
|
|
|
display_name_on_email_from:
|
|
|
|
|
default: true
|
2016-01-20 17:25:25 +08:00
|
|
|
|
unsubscribe_via_email:
|
|
|
|
|
default: true
|
|
|
|
|
unsubscribe_via_email_footer:
|
|
|
|
|
default: false
|
2018-08-21 16:17:08 +08:00
|
|
|
|
disallow_reply_by_email_after_days:
|
|
|
|
|
default: 90
|
2016-02-09 05:18:52 +08:00
|
|
|
|
delete_email_logs_after_days:
|
2018-05-10 15:11:53 +08:00
|
|
|
|
default: 90
|
2016-03-23 12:08:34 +08:00
|
|
|
|
max_emails_per_day_per_user: 100
|
2016-03-24 01:56:03 +08:00
|
|
|
|
enable_staged_users: true
|
2016-05-17 03:45:34 +08:00
|
|
|
|
maximum_staged_users_per_email: 10
|
2016-04-12 04:47:34 +08:00
|
|
|
|
auto_generated_whitelist:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2016-04-12 04:47:34 +08:00
|
|
|
|
type: list
|
2016-04-21 03:29:27 +08:00
|
|
|
|
block_auto_generated_emails: true
|
2016-05-19 05:07:01 +08:00
|
|
|
|
ignore_by_title:
|
|
|
|
|
type: list
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2016-05-30 23:11:17 +08:00
|
|
|
|
mailgun_api_key:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2019-09-12 22:32:44 +08:00
|
|
|
|
regex: '^((key-)?\h{32}|\h{32}-\h{8}-\h{8})$'
|
2018-09-11 09:09:09 +08:00
|
|
|
|
secret: true
|
2016-07-26 00:57:06 +08:00
|
|
|
|
bounce_score_threshold:
|
|
|
|
|
client: true
|
|
|
|
|
default: 4
|
|
|
|
|
min: 1
|
|
|
|
|
bounce_score_threshold_deactivate: 30
|
2018-08-28 15:01:44 +08:00
|
|
|
|
bounce_score_erode_on_send:
|
|
|
|
|
default: 0.1
|
|
|
|
|
hidden: true
|
2016-07-26 00:57:06 +08:00
|
|
|
|
soft_bounce_score:
|
|
|
|
|
default: 1
|
|
|
|
|
min: 1
|
|
|
|
|
hard_bounce_score:
|
|
|
|
|
default: 2
|
|
|
|
|
min: 2
|
2017-01-27 20:01:09 +08:00
|
|
|
|
reset_bounce_score_after_days:
|
|
|
|
|
default: 30
|
2016-08-03 23:55:54 +08:00
|
|
|
|
attachment_content_type_blacklist:
|
|
|
|
|
type: list
|
2016-11-30 18:45:02 +08:00
|
|
|
|
default: "pkcs7|x-vcard"
|
2018-08-04 06:27:57 +08:00
|
|
|
|
list_type: compact
|
2016-08-03 23:55:54 +08:00
|
|
|
|
attachment_filename_blacklist:
|
|
|
|
|
type: list
|
2017-12-14 03:48:04 +08:00
|
|
|
|
default: "smime.p7s|signature.asc|winmail.dat"
|
2018-08-04 06:27:57 +08:00
|
|
|
|
list_type: compact
|
2019-08-07 18:32:19 +08:00
|
|
|
|
forwarded_emails_behaviour:
|
|
|
|
|
type: enum
|
|
|
|
|
default: hide
|
|
|
|
|
choices:
|
|
|
|
|
- hide
|
|
|
|
|
- quote
|
|
|
|
|
- create_replies
|
2016-11-17 05:06:07 +08:00
|
|
|
|
always_show_trimmed_content: false
|
2017-04-25 03:26:06 +08:00
|
|
|
|
private_email: false
|
2019-07-31 03:05:08 +08:00
|
|
|
|
email_custom_template:
|
|
|
|
|
default: ""
|
|
|
|
|
hidden: true
|
|
|
|
|
email_custom_css:
|
|
|
|
|
default: ""
|
|
|
|
|
hidden: true
|
2019-10-24 03:41:58 +08:00
|
|
|
|
email_custom_css_compiled:
|
|
|
|
|
default: ""
|
|
|
|
|
hidden: true
|
2019-07-25 20:04:00 +08:00
|
|
|
|
email_total_attachment_size_limit_kb:
|
|
|
|
|
default: 0
|
|
|
|
|
max: 51200
|
2019-08-07 00:45:28 +08:00
|
|
|
|
post_excerpts_in_emails: false
|
2019-10-30 13:54:35 +08:00
|
|
|
|
raw_email_max_length: 220000
|
|
|
|
|
raw_rejected_email_max_length: 4000
|
|
|
|
|
delete_rejected_email_after_days: 90
|
2013-11-14 03:02:47 +08:00
|
|
|
|
|
|
|
|
|
files:
|
2016-04-07 04:51:28 +08:00
|
|
|
|
max_image_size_kb:
|
|
|
|
|
client: true
|
2018-08-02 13:06:30 +08:00
|
|
|
|
default: 4096
|
2017-04-25 17:52:35 +08:00
|
|
|
|
max: 102400
|
2016-04-07 04:51:28 +08:00
|
|
|
|
max_attachment_size_kb:
|
|
|
|
|
client: true
|
2018-08-02 13:06:30 +08:00
|
|
|
|
default: 4096
|
2017-04-25 17:41:36 +08:00
|
|
|
|
max: 1024000
|
2017-01-12 06:37:12 +08:00
|
|
|
|
max_image_megapixels:
|
|
|
|
|
default: 40
|
|
|
|
|
min: 5
|
2017-04-11 13:44:10 +08:00
|
|
|
|
max: 150
|
2018-07-31 13:45:31 +08:00
|
|
|
|
max_export_file_size_kb:
|
|
|
|
|
hidden: true
|
|
|
|
|
default: 50000
|
|
|
|
|
max: 1024000
|
2017-05-10 05:20:28 +08:00
|
|
|
|
theme_authorized_extensions:
|
2019-08-26 07:16:00 +08:00
|
|
|
|
default: "jpg|jpeg|png|woff|woff2|svg|eot|ttf|otf|gif|js"
|
2017-05-10 05:20:28 +08:00
|
|
|
|
type: list
|
2018-08-04 06:27:57 +08:00
|
|
|
|
list_type: compact
|
2013-11-07 04:47:26 +08:00
|
|
|
|
authorized_extensions:
|
|
|
|
|
client: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "jpg|jpeg|png|gif"
|
2014-02-21 13:52:11 +08:00
|
|
|
|
refresh: true
|
2014-06-18 23:15:29 +08:00
|
|
|
|
type: list
|
2018-08-04 06:27:57 +08:00
|
|
|
|
list_type: compact
|
2018-02-19 17:44:24 +08:00
|
|
|
|
authorized_extensions_for_staff:
|
|
|
|
|
client: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-02-19 17:44:24 +08:00
|
|
|
|
refresh: true
|
|
|
|
|
type: list
|
2018-08-04 06:27:57 +08:00
|
|
|
|
list_type: compact
|
2018-04-19 19:30:31 +08:00
|
|
|
|
export_authorized_extensions:
|
|
|
|
|
hidden: true
|
2019-07-18 20:34:48 +08:00
|
|
|
|
default: "zip"
|
2018-04-19 19:30:31 +08:00
|
|
|
|
type: list
|
2018-08-04 06:27:57 +08:00
|
|
|
|
list_type: compact
|
2018-10-03 11:44:53 +08:00
|
|
|
|
responsive_post_image_sizes:
|
|
|
|
|
default: "1|1.5|2"
|
2018-10-03 13:06:27 +08:00
|
|
|
|
type: list
|
|
|
|
|
list_type: compact
|
2013-11-07 04:47:26 +08:00
|
|
|
|
crawl_images:
|
2017-08-07 09:43:09 +08:00
|
|
|
|
default: true
|
2013-11-07 04:47:26 +08:00
|
|
|
|
max_image_width:
|
|
|
|
|
client: true
|
|
|
|
|
default: 690
|
|
|
|
|
max_image_height:
|
|
|
|
|
client: true
|
|
|
|
|
default: 500
|
2014-03-22 09:14:35 +08:00
|
|
|
|
download_remote_images_to_local:
|
2017-08-07 09:43:09 +08:00
|
|
|
|
default: true
|
2015-04-24 18:06:33 +08:00
|
|
|
|
download_remote_images_threshold: 10
|
2016-07-06 21:51:48 +08:00
|
|
|
|
download_remote_images_max_days_old:
|
|
|
|
|
default: 30
|
|
|
|
|
min: 1
|
|
|
|
|
max: 10000
|
2014-04-22 04:59:53 +08:00
|
|
|
|
disabled_image_download_domains:
|
2014-06-18 23:15:29 +08:00
|
|
|
|
type: list
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2013-11-07 04:47:26 +08:00
|
|
|
|
create_thumbnails: true
|
2015-05-23 02:29:56 +08:00
|
|
|
|
clean_up_uploads: true
|
2016-08-02 00:36:39 +08:00
|
|
|
|
clean_orphan_uploads_grace_period_hours: 48
|
2017-01-27 20:01:09 +08:00
|
|
|
|
purge_deleted_uploads_grace_period_days:
|
|
|
|
|
default: 30
|
2014-09-10 00:40:11 +08:00
|
|
|
|
prevent_anons_from_downloading_files:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2015-03-30 17:26:45 +08:00
|
|
|
|
enable_s3_uploads:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2019-08-29 18:49:18 +08:00
|
|
|
|
s3_use_iam_profile:
|
|
|
|
|
default: false
|
2018-09-11 09:09:09 +08:00
|
|
|
|
s3_access_key_id:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-08-30 03:33:05 +08:00
|
|
|
|
secret: true
|
2018-06-02 21:57:52 +08:00
|
|
|
|
s3_secret_access_key:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-06-02 21:57:52 +08:00
|
|
|
|
secret: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
s3_region:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "us-east-1"
|
|
|
|
|
enum: "S3RegionSiteSetting"
|
2014-06-21 01:02:04 +08:00
|
|
|
|
s3_upload_bucket:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2019-05-13 18:18:24 +08:00
|
|
|
|
regex: '^[a-z0-9\-\/_]+$' # can't use '.' when using HTTPS
|
2018-07-16 12:44:55 +08:00
|
|
|
|
s3_endpoint:
|
2019-02-06 00:50:27 +08:00
|
|
|
|
default: ""
|
2018-07-16 12:44:55 +08:00
|
|
|
|
regex: '^https?:\/\/.+[^\/]$'
|
2015-05-26 09:13:12 +08:00
|
|
|
|
s3_cdn_url:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2015-05-26 09:13:12 +08:00
|
|
|
|
regex: '^https?:\/\/.+[^\/]$'
|
2018-09-17 08:57:50 +08:00
|
|
|
|
s3_configure_tombstone_policy:
|
|
|
|
|
default: true
|
2019-02-01 12:40:48 +08:00
|
|
|
|
enable_s3_inventory:
|
|
|
|
|
default: false
|
2014-03-01 04:12:51 +08:00
|
|
|
|
allow_profile_backgrounds:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2014-05-22 15:37:02 +08:00
|
|
|
|
automatically_download_gravatars: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
allow_uploaded_avatars:
|
2013-11-07 04:47:26 +08:00
|
|
|
|
client: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
default: true
|
|
|
|
|
allow_animated_avatars:
|
2013-11-07 04:47:26 +08:00
|
|
|
|
client: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
default: false
|
2015-04-03 17:40:54 +08:00
|
|
|
|
allow_animated_thumbnails: true
|
2015-03-03 01:12:19 +08:00
|
|
|
|
default_avatars:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2015-03-03 01:12:19 +08:00
|
|
|
|
type: url_list
|
2015-03-04 05:16:04 +08:00
|
|
|
|
client: true
|
2015-05-25 23:59:00 +08:00
|
|
|
|
avatar_sizes:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "20|25|32|45|60|120"
|
2015-05-25 23:59:00 +08:00
|
|
|
|
type: list
|
2018-08-04 06:27:57 +08:00
|
|
|
|
list_type: compact
|
2015-09-11 16:14:34 +08:00
|
|
|
|
external_system_avatars_enabled:
|
2015-09-15 07:54:18 +08:00
|
|
|
|
default: true
|
2015-09-11 08:12:40 +08:00
|
|
|
|
client: true
|
2019-04-23 18:22:47 +08:00
|
|
|
|
validator: "ExternalSystemAvatarsValidator"
|
2015-09-11 16:14:34 +08:00
|
|
|
|
external_system_avatars_url:
|
2019-04-23 18:22:47 +08:00
|
|
|
|
default: "/letter_avatar_proxy/v4/letter/{first_letter}/{color}/{size}.png"
|
2015-09-11 08:12:40 +08:00
|
|
|
|
client: true
|
2015-09-28 19:41:57 +08:00
|
|
|
|
regex: '^((https?:)?\/)?\/.+[^\/]'
|
2019-03-18 23:24:21 +08:00
|
|
|
|
restrict_letter_avatar_colors:
|
2019-04-02 01:18:53 +08:00
|
|
|
|
default: ""
|
2019-03-18 23:24:21 +08:00
|
|
|
|
type: list
|
|
|
|
|
list_type: compact
|
|
|
|
|
validator: "ColorListValidator"
|
2018-07-18 18:57:43 +08:00
|
|
|
|
selectable_avatars_enabled:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
|
|
|
|
selectable_avatars:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-07-18 18:57:43 +08:00
|
|
|
|
type: uploaded_image_list
|
2016-03-01 05:39:24 +08:00
|
|
|
|
allow_all_attachments_for_group_messages: false
|
2017-05-11 06:16:57 +08:00
|
|
|
|
png_to_jpg_quality:
|
2016-07-28 01:59:44 +08:00
|
|
|
|
default: 95
|
|
|
|
|
min: 1
|
|
|
|
|
max: 100
|
2017-06-13 04:41:29 +08:00
|
|
|
|
allow_staff_to_upload_any_file_in_pm:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
2017-07-25 17:48:39 +08:00
|
|
|
|
strip_image_metadata: true
|
2018-06-05 23:13:00 +08:00
|
|
|
|
min_ratio_to_crop:
|
|
|
|
|
type: float
|
|
|
|
|
default: 0.45 # 90% of 18:9
|
|
|
|
|
min: 0
|
|
|
|
|
max: 1
|
2018-10-31 17:58:09 +08:00
|
|
|
|
simultaneous_uploads:
|
|
|
|
|
client: true
|
|
|
|
|
default: 5
|
|
|
|
|
min: 0
|
|
|
|
|
max: 20
|
2019-10-12 01:38:10 +08:00
|
|
|
|
decompressed_theme_max_file_size_mb:
|
2019-10-03 21:19:35 +08:00
|
|
|
|
default: 1000
|
|
|
|
|
hidden: true
|
2019-10-12 01:38:10 +08:00
|
|
|
|
decompressed_backup_max_file_size_mb:
|
|
|
|
|
default: 100000
|
|
|
|
|
hidden: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
|
|
|
|
|
trust:
|
2014-07-12 03:35:17 +08:00
|
|
|
|
default_trust_level:
|
|
|
|
|
default: 0
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "TrustLevelSetting"
|
2014-07-12 03:35:17 +08:00
|
|
|
|
default_invitee_trust_level:
|
|
|
|
|
default: 1
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "TrustLevelSetting"
|
2014-03-22 09:14:35 +08:00
|
|
|
|
min_trust_to_create_topic:
|
|
|
|
|
default: 0
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "TrustLevelSetting"
|
2014-05-13 20:53:11 +08:00
|
|
|
|
min_trust_to_edit_wiki_post:
|
2014-06-04 13:24:09 +08:00
|
|
|
|
default: 1
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "TrustLevelSetting"
|
2016-10-01 00:12:27 +08:00
|
|
|
|
min_trust_to_edit_post:
|
|
|
|
|
default: 0
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "TrustLevelSetting"
|
2016-01-11 23:26:00 +08:00
|
|
|
|
min_trust_to_allow_self_wiki:
|
|
|
|
|
default: 3
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "TrustLevelSetting"
|
2015-10-12 08:15:38 +08:00
|
|
|
|
min_trust_to_send_messages:
|
|
|
|
|
default: 1
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "TrustLevelSetting"
|
2017-08-29 00:07:30 +08:00
|
|
|
|
min_trust_to_send_email_messages:
|
2018-08-27 09:38:11 +08:00
|
|
|
|
hidden: true
|
2017-08-29 00:07:30 +08:00
|
|
|
|
default: 4
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "TrustLevelSetting"
|
2018-02-07 06:12:27 +08:00
|
|
|
|
min_trust_to_flag_posts:
|
|
|
|
|
default: 1
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "TrustLevelSetting"
|
2018-02-07 07:07:24 +08:00
|
|
|
|
min_trust_to_post_links:
|
|
|
|
|
default: 0
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "TrustLevelSetting"
|
2018-02-21 09:00:06 +08:00
|
|
|
|
min_trust_to_post_images:
|
|
|
|
|
default: 0
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "TrustLevelSetting"
|
2018-02-13 04:27:05 +08:00
|
|
|
|
allow_flagging_staff: true
|
2018-06-23 00:51:07 +08:00
|
|
|
|
send_tl1_welcome_message: true
|
2014-09-05 04:16:46 +08:00
|
|
|
|
tl1_requires_topics_entered: 5
|
|
|
|
|
tl1_requires_read_posts:
|
2014-07-26 03:58:16 +08:00
|
|
|
|
default: 30
|
|
|
|
|
client: true
|
2014-09-05 04:16:46 +08:00
|
|
|
|
tl1_requires_time_spent_mins: 10
|
|
|
|
|
tl2_requires_topics_entered: 20
|
|
|
|
|
tl2_requires_read_posts: 100
|
|
|
|
|
tl2_requires_time_spent_mins: 60
|
2017-01-27 20:01:09 +08:00
|
|
|
|
tl2_requires_days_visited:
|
|
|
|
|
default: 15
|
2014-09-05 04:16:46 +08:00
|
|
|
|
tl2_requires_likes_received: 1
|
|
|
|
|
tl2_requires_likes_given: 1
|
|
|
|
|
tl2_requires_topic_reply_count: 3
|
2015-12-23 00:13:39 +08:00
|
|
|
|
tl3_time_period:
|
|
|
|
|
default: 100
|
|
|
|
|
min: 1
|
2016-05-26 18:30:35 +08:00
|
|
|
|
max: 1000000
|
2014-09-05 04:16:46 +08:00
|
|
|
|
tl3_requires_days_visited:
|
2014-06-28 00:26:03 +08:00
|
|
|
|
default: 50
|
2014-09-05 04:16:46 +08:00
|
|
|
|
tl3_requires_topics_replied_to:
|
2014-06-28 00:26:03 +08:00
|
|
|
|
default: 10
|
2014-09-05 04:16:46 +08:00
|
|
|
|
tl3_requires_topics_viewed:
|
2014-06-28 00:26:03 +08:00
|
|
|
|
default: 25
|
|
|
|
|
max: 100
|
2016-05-26 02:55:37 +08:00
|
|
|
|
tl3_requires_topics_viewed_cap:
|
|
|
|
|
default: 500
|
2014-09-05 04:16:46 +08:00
|
|
|
|
tl3_requires_posts_read:
|
2014-06-28 00:26:03 +08:00
|
|
|
|
default: 25
|
|
|
|
|
max: 100
|
2016-05-26 02:55:37 +08:00
|
|
|
|
tl3_requires_posts_read_cap:
|
|
|
|
|
default: 20000
|
2017-04-20 15:49:50 +08:00
|
|
|
|
max: 99000
|
2014-09-05 04:16:46 +08:00
|
|
|
|
tl3_requires_topics_viewed_all_time:
|
2014-07-02 01:34:48 +08:00
|
|
|
|
default: 200
|
2014-09-05 04:16:46 +08:00
|
|
|
|
tl3_requires_posts_read_all_time:
|
2014-07-02 01:34:48 +08:00
|
|
|
|
default: 500
|
2014-09-05 04:16:46 +08:00
|
|
|
|
tl3_requires_max_flagged:
|
2014-06-28 00:26:03 +08:00
|
|
|
|
default: 5
|
2014-09-05 04:16:46 +08:00
|
|
|
|
tl3_promotion_min_duration:
|
2014-07-09 05:39:36 +08:00
|
|
|
|
default: 14
|
2018-10-12 03:11:40 +08:00
|
|
|
|
max: 10000
|
2014-09-05 04:16:46 +08:00
|
|
|
|
tl3_requires_likes_given:
|
2014-08-23 05:33:05 +08:00
|
|
|
|
default: 30
|
2014-09-05 04:16:46 +08:00
|
|
|
|
tl3_requires_likes_received:
|
2014-08-23 05:33:05 +08:00
|
|
|
|
default: 20
|
2015-05-11 14:36:28 +08:00
|
|
|
|
tl3_links_no_follow:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2018-02-23 09:39:24 +08:00
|
|
|
|
trusted_users_can_edit_others:
|
|
|
|
|
default: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
|
2013-11-15 04:05:48 +08:00
|
|
|
|
security:
|
2019-10-08 19:15:08 +08:00
|
|
|
|
detailed_404: false
|
2019-03-15 19:09:37 +08:00
|
|
|
|
enforce_second_factor:
|
|
|
|
|
client: true
|
|
|
|
|
type: enum
|
2019-04-02 01:18:53 +08:00
|
|
|
|
default: "no"
|
2019-03-15 19:09:37 +08:00
|
|
|
|
choices:
|
2019-04-02 01:18:53 +08:00
|
|
|
|
- "no"
|
|
|
|
|
- "staff"
|
|
|
|
|
- "all"
|
2016-06-29 15:23:50 +08:00
|
|
|
|
force_https:
|
|
|
|
|
default: false
|
2017-02-24 01:01:28 +08:00
|
|
|
|
same_site_cookies:
|
|
|
|
|
default: Lax
|
|
|
|
|
type: enum
|
|
|
|
|
choices:
|
|
|
|
|
- Lax
|
|
|
|
|
- Strict
|
|
|
|
|
- Disabled
|
2019-01-18 02:05:39 +08:00
|
|
|
|
regex: "^(Lax|Strict|Disabled)$"
|
2014-03-08 07:47:23 +08:00
|
|
|
|
enable_escaped_fragments: true
|
2013-11-15 04:05:48 +08:00
|
|
|
|
allow_index_in_robots_txt: true
|
2019-03-14 05:30:25 +08:00
|
|
|
|
moderators_create_categories: false
|
|
|
|
|
moderators_view_emails:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2018-01-16 12:41:13 +08:00
|
|
|
|
non_crawler_user_agents:
|
|
|
|
|
hidden: true
|
2019-05-08 21:45:25 +08:00
|
|
|
|
default: "trident|webkit|gecko|chrome|safari|msie|opera|goanna|discourse"
|
2018-01-16 12:41:13 +08:00
|
|
|
|
type: list
|
2018-08-04 06:27:57 +08:00
|
|
|
|
list_type: compact
|
2017-09-29 10:31:50 +08:00
|
|
|
|
crawler_user_agents:
|
2017-12-11 13:25:35 +08:00
|
|
|
|
hidden: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "rss|bot|spider|crawler|facebook|archive|wayback|ping|monitor"
|
2017-09-29 10:31:50 +08:00
|
|
|
|
type: list
|
2018-08-04 06:27:57 +08:00
|
|
|
|
list_type: compact
|
2018-06-21 08:56:46 +08:00
|
|
|
|
crawler_check_bypass_agents:
|
|
|
|
|
hidden: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "cubot"
|
2011-10-16 02:00:00 +08:00
|
|
|
|
cors_origins:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2011-10-16 02:00:00 +08:00
|
|
|
|
type: list
|
2015-09-22 04:56:25 +08:00
|
|
|
|
use_admin_ip_whitelist:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2017-05-23 23:51:23 +08:00
|
|
|
|
blacklist_ip_blocks:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2017-05-23 23:51:23 +08:00
|
|
|
|
type: list
|
2018-08-04 06:27:57 +08:00
|
|
|
|
list_type: compact
|
2017-06-14 00:59:54 +08:00
|
|
|
|
whitelist_internal_hosts:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2017-06-14 00:59:54 +08:00
|
|
|
|
type: list
|
2017-09-01 22:15:34 +08:00
|
|
|
|
allowed_iframes:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "https://www.google.com/maps/embed?|https://www.openstreetmap.org/export/embed.html?|https://calendar.google.com/calendar/embed?|https://codepen.io/"
|
2017-09-01 22:15:34 +08:00
|
|
|
|
type: list
|
|
|
|
|
client: true
|
2018-03-16 05:10:45 +08:00
|
|
|
|
whitelisted_crawler_user_agents:
|
|
|
|
|
type: list
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-08-04 06:27:57 +08:00
|
|
|
|
list_type: compact
|
2018-03-16 05:10:45 +08:00
|
|
|
|
blacklisted_crawler_user_agents:
|
2018-04-06 08:15:23 +08:00
|
|
|
|
type: list
|
2019-03-06 09:38:12 +08:00
|
|
|
|
default: "mauibot|semrushbot|ahrefsbot|blexbot"
|
2018-08-04 06:27:57 +08:00
|
|
|
|
list_type: compact
|
2018-04-06 08:15:23 +08:00
|
|
|
|
slow_down_crawler_user_agents:
|
2018-03-16 05:10:45 +08:00
|
|
|
|
type: list
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "bingbot"
|
2018-08-04 06:27:57 +08:00
|
|
|
|
list_type: compact
|
2018-04-13 12:24:22 +08:00
|
|
|
|
slow_down_crawler_rate: 60
|
2018-10-23 01:22:23 +08:00
|
|
|
|
content_security_policy:
|
|
|
|
|
default: false
|
|
|
|
|
content_security_policy_report_only:
|
|
|
|
|
default: false
|
|
|
|
|
content_security_policy_collect_reports:
|
2019-01-15 21:58:46 +08:00
|
|
|
|
default: false
|
2018-10-23 01:22:23 +08:00
|
|
|
|
content_security_policy_script_src:
|
|
|
|
|
type: list
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-12-13 04:32:14 +08:00
|
|
|
|
invalidate_inactive_admin_email_after_days:
|
|
|
|
|
default: 365
|
|
|
|
|
min: 0
|
|
|
|
|
max: 2000
|
2013-11-15 04:05:48 +08:00
|
|
|
|
|
2014-04-10 04:57:45 +08:00
|
|
|
|
onebox:
|
|
|
|
|
enable_flash_video_onebox: false
|
2017-08-07 09:43:09 +08:00
|
|
|
|
post_onebox_maxlength:
|
|
|
|
|
default: 500
|
|
|
|
|
locale_default:
|
2018-09-11 17:58:22 +08:00
|
|
|
|
ja: 200
|
2017-08-07 09:43:09 +08:00
|
|
|
|
zh_CN: 200
|
|
|
|
|
zh_TW: 200
|
2016-10-24 18:46:22 +08:00
|
|
|
|
onebox_domains_blacklist:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2014-06-18 23:15:29 +08:00
|
|
|
|
type: list
|
2018-08-04 06:27:57 +08:00
|
|
|
|
list_type: compact
|
2016-10-24 18:46:22 +08:00
|
|
|
|
max_oneboxes_per_post:
|
|
|
|
|
default: 50
|
|
|
|
|
client: true
|
2017-07-22 03:29:04 +08:00
|
|
|
|
inline_onebox_domains_whitelist:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2017-07-22 03:29:04 +08:00
|
|
|
|
type: list
|
2018-08-04 06:27:57 +08:00
|
|
|
|
list_type: compact
|
2017-08-03 02:27:21 +08:00
|
|
|
|
enable_inline_onebox_on_all_domains:
|
|
|
|
|
default: false
|
2014-04-10 04:57:45 +08:00
|
|
|
|
|
2013-11-14 03:02:47 +08:00
|
|
|
|
spam:
|
2014-03-22 09:14:35 +08:00
|
|
|
|
add_rel_nofollow_to_user_content: true
|
2019-05-25 02:13:03 +08:00
|
|
|
|
hide_post_sensitivity:
|
|
|
|
|
type: enum
|
|
|
|
|
enum: "ReviewableSensitivitySetting"
|
|
|
|
|
default: 6
|
2013-11-14 03:02:47 +08:00
|
|
|
|
cooldown_minutes_after_hiding_posts: 10
|
2019-05-25 02:13:03 +08:00
|
|
|
|
silence_new_user_sensitivity:
|
|
|
|
|
type: enum
|
|
|
|
|
enum: "ReviewableSensitivitySetting"
|
2019-05-25 03:49:29 +08:00
|
|
|
|
default: 3
|
2017-11-11 01:18:08 +08:00
|
|
|
|
num_users_to_silence_new_user: 3
|
|
|
|
|
notify_mods_when_user_silenced: false
|
2016-05-06 05:02:36 +08:00
|
|
|
|
flag_sockpuppets: false
|
2013-11-14 03:02:47 +08:00
|
|
|
|
newuser_spam_host_threshold: 3
|
2014-03-30 13:32:33 +08:00
|
|
|
|
white_listed_spam_host_domains:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2014-06-18 23:15:29 +08:00
|
|
|
|
type: list
|
2014-07-12 08:19:45 +08:00
|
|
|
|
levenshtein_distance_spammer_emails:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: 2
|
|
|
|
|
max: 3
|
2014-11-17 19:04:29 +08:00
|
|
|
|
max_new_accounts_per_registration_ip: 3
|
2014-11-25 00:25:48 +08:00
|
|
|
|
min_ban_entries_for_roll_up: 5
|
2014-11-26 00:12:49 +08:00
|
|
|
|
max_age_unmatched_emails: 365
|
|
|
|
|
max_age_unmatched_ips: 365
|
2014-12-06 02:37:43 +08:00
|
|
|
|
num_flaggers_to_close_topic: 5
|
2019-05-25 02:13:03 +08:00
|
|
|
|
auto_close_topic_sensitivity:
|
|
|
|
|
type: enum
|
|
|
|
|
enum: "ReviewableSensitivitySetting"
|
2019-05-25 03:49:29 +08:00
|
|
|
|
default: 9
|
2017-03-31 14:35:05 +08:00
|
|
|
|
num_hours_to_close_topic:
|
|
|
|
|
default: 4
|
|
|
|
|
min: 1
|
2015-03-12 02:29:09 +08:00
|
|
|
|
auto_respond_to_flag_actions: true
|
2015-08-04 08:55:59 +08:00
|
|
|
|
min_first_post_typing_time: 3000
|
2017-11-11 01:18:08 +08:00
|
|
|
|
auto_silence_fast_typers_on_first_post: true
|
|
|
|
|
auto_silence_fast_typers_max_trust_level: 0
|
|
|
|
|
auto_silence_first_post_regex: ""
|
2019-05-08 22:20:51 +08:00
|
|
|
|
|
|
|
|
|
reviewable_claiming:
|
|
|
|
|
client: true
|
|
|
|
|
type: enum
|
|
|
|
|
default: disabled
|
|
|
|
|
choices:
|
|
|
|
|
- disabled
|
|
|
|
|
- optional
|
|
|
|
|
- required
|
|
|
|
|
|
2019-05-08 22:05:45 +08:00
|
|
|
|
reviewable_default_topics:
|
2017-10-21 00:37:20 +08:00
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2019-05-08 01:25:11 +08:00
|
|
|
|
reviewable_default_visibility:
|
2019-01-04 01:03:01 +08:00
|
|
|
|
client: true
|
2019-05-08 01:25:11 +08:00
|
|
|
|
type: enum
|
|
|
|
|
default: low
|
2019-05-24 02:43:31 +08:00
|
|
|
|
enum: "ReviewablePrioritySetting"
|
2013-11-14 03:02:47 +08:00
|
|
|
|
|
|
|
|
|
rate_limits:
|
2017-08-07 09:43:09 +08:00
|
|
|
|
unique_posts_mins: 5
|
2014-07-14 15:03:00 +08:00
|
|
|
|
rate_limit_create_topic: 15
|
2013-11-07 04:47:26 +08:00
|
|
|
|
rate_limit_create_post: 5
|
2015-08-03 06:26:12 +08:00
|
|
|
|
rate_limit_new_user_create_topic: 120
|
2014-07-15 04:58:10 +08:00
|
|
|
|
rate_limit_new_user_create_post: 30
|
2013-11-07 04:47:26 +08:00
|
|
|
|
max_topics_per_day: 20
|
2018-01-31 14:16:25 +08:00
|
|
|
|
max_personal_messages_per_day: 20
|
2013-11-07 04:47:26 +08:00
|
|
|
|
max_likes_per_day: 50
|
|
|
|
|
max_bookmarks_per_day: 20
|
|
|
|
|
max_flags_per_day: 20
|
|
|
|
|
max_edits_per_day: 30
|
2015-01-20 02:50:01 +08:00
|
|
|
|
max_invites_per_day: 10
|
2015-05-13 15:04:05 +08:00
|
|
|
|
max_topic_invitations_per_day: 30
|
2015-08-03 06:26:12 +08:00
|
|
|
|
max_topics_in_first_day: 3
|
2014-03-22 09:14:35 +08:00
|
|
|
|
max_replies_in_first_day: 10
|
2015-04-16 07:44:30 +08:00
|
|
|
|
tl2_additional_likes_per_day_multiplier: 1.5
|
|
|
|
|
tl3_additional_likes_per_day_multiplier: 2
|
|
|
|
|
tl4_additional_likes_per_day_multiplier: 3
|
2016-02-17 16:44:53 +08:00
|
|
|
|
alert_admins_if_errors_per_minute:
|
|
|
|
|
client: true
|
|
|
|
|
default: 0
|
|
|
|
|
alert_admins_if_errors_per_hour:
|
|
|
|
|
client: true
|
|
|
|
|
default: 0
|
2016-08-05 13:12:35 +08:00
|
|
|
|
max_prints_per_hour_per_user:
|
2016-08-09 11:53:08 +08:00
|
|
|
|
default: 5
|
2016-08-05 13:12:35 +08:00
|
|
|
|
client: true
|
2017-02-22 01:23:35 +08:00
|
|
|
|
max_logins_per_ip_per_hour:
|
|
|
|
|
min: 1
|
|
|
|
|
default: 30
|
|
|
|
|
max_logins_per_ip_per_minute:
|
|
|
|
|
min: 1
|
|
|
|
|
default: 6
|
2018-06-28 19:33:37 +08:00
|
|
|
|
max_post_deletions_per_minute:
|
|
|
|
|
min: 1
|
2018-09-01 04:27:25 +08:00
|
|
|
|
default: 2
|
2018-06-28 19:33:37 +08:00
|
|
|
|
max_post_deletions_per_day:
|
|
|
|
|
min: 1
|
2018-09-01 04:27:25 +08:00
|
|
|
|
default: 10
|
2013-11-14 03:02:47 +08:00
|
|
|
|
|
2013-11-15 03:46:17 +08:00
|
|
|
|
developer:
|
2014-10-03 13:53:01 +08:00
|
|
|
|
force_hostname:
|
2017-08-07 09:43:09 +08:00
|
|
|
|
hidden: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2013-11-15 03:46:17 +08:00
|
|
|
|
port:
|
2017-08-07 09:43:09 +08:00
|
|
|
|
hidden: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2014-03-22 09:14:35 +08:00
|
|
|
|
enable_long_polling:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2017-08-07 09:43:09 +08:00
|
|
|
|
long_polling_interval:
|
|
|
|
|
default: 25000
|
|
|
|
|
max: 25000
|
2014-10-24 10:38:00 +08:00
|
|
|
|
long_polling_base_url:
|
|
|
|
|
client: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "/"
|
2014-10-22 09:49:10 +08:00
|
|
|
|
background_polling_interval:
|
|
|
|
|
client: true
|
|
|
|
|
default: 60000
|
2017-04-20 15:49:50 +08:00
|
|
|
|
max: 99000
|
2014-03-22 09:14:35 +08:00
|
|
|
|
polling_interval:
|
|
|
|
|
client: true
|
|
|
|
|
default: 3000
|
2017-04-20 15:49:50 +08:00
|
|
|
|
max: 99000
|
2014-03-22 09:14:35 +08:00
|
|
|
|
anon_polling_interval:
|
|
|
|
|
client: true
|
2019-06-01 08:05:22 +08:00
|
|
|
|
default: 30000
|
2017-04-20 15:49:50 +08:00
|
|
|
|
max: 99000
|
2014-03-22 09:14:35 +08:00
|
|
|
|
flush_timings_secs:
|
|
|
|
|
client: true
|
2019-04-18 15:30:39 +08:00
|
|
|
|
default: 60
|
2014-03-22 09:14:35 +08:00
|
|
|
|
active_user_rate_limit_secs: 60
|
2014-08-27 12:12:11 +08:00
|
|
|
|
verbose_localization:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2016-01-21 00:36:18 +08:00
|
|
|
|
top_topics_formula_log_views_multiplier:
|
|
|
|
|
default: 2
|
|
|
|
|
top_topics_formula_first_post_likes_multiplier:
|
|
|
|
|
default: 0.5
|
|
|
|
|
top_topics_formula_least_likes_per_post_multiplier:
|
|
|
|
|
default: 3
|
2016-08-15 18:54:30 +08:00
|
|
|
|
rebake_old_posts_count:
|
2019-01-04 06:24:46 +08:00
|
|
|
|
default: 80
|
2016-08-15 18:54:30 +08:00
|
|
|
|
min: 1
|
2015-06-12 18:02:36 +08:00
|
|
|
|
migrate_to_new_scheme:
|
|
|
|
|
hidden: true
|
|
|
|
|
default: false
|
2015-10-01 15:17:15 +08:00
|
|
|
|
max_new_topics:
|
2015-08-25 16:32:37 +08:00
|
|
|
|
default: 500
|
2015-08-25 13:40:50 +08:00
|
|
|
|
client: true
|
2015-08-26 09:02:21 +08:00
|
|
|
|
hidden: true
|
2016-09-15 04:36:08 +08:00
|
|
|
|
wizard_enabled:
|
2016-09-15 05:08:34 +08:00
|
|
|
|
default: true
|
2016-09-15 04:36:08 +08:00
|
|
|
|
hidden: true
|
2017-05-12 22:18:43 +08:00
|
|
|
|
bypass_wizard_check:
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
2017-10-27 17:54:45 +08:00
|
|
|
|
logging_provider:
|
|
|
|
|
hidden: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "default"
|
|
|
|
|
type: "list"
|
2017-10-27 17:54:45 +08:00
|
|
|
|
choices:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
- "default"
|
|
|
|
|
- "lograge"
|
2017-11-22 05:13:09 +08:00
|
|
|
|
bootstrap_error_pages:
|
|
|
|
|
hidden: true
|
|
|
|
|
default: false
|
2018-04-24 02:50:52 +08:00
|
|
|
|
enable_safe_mode:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
|
2014-01-01 03:37:43 +08:00
|
|
|
|
embedding:
|
2015-08-21 01:43:12 +08:00
|
|
|
|
feed_polling_enabled:
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
|
|
|
|
feed_polling_url:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2015-08-21 01:43:12 +08:00
|
|
|
|
hidden: true
|
2017-05-11 02:28:16 +08:00
|
|
|
|
feed_polling_frequency_mins:
|
|
|
|
|
min: 5
|
|
|
|
|
max: 180
|
|
|
|
|
default: 60
|
|
|
|
|
hidden: true
|
2014-06-12 02:42:41 +08:00
|
|
|
|
embed_by_username:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2014-06-13 06:03:03 +08:00
|
|
|
|
type: username
|
2015-08-21 01:43:12 +08:00
|
|
|
|
hidden: true
|
|
|
|
|
embed_username_key_from_feed:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2015-08-21 01:43:12 +08:00
|
|
|
|
hidden: true
|
|
|
|
|
embed_post_limit:
|
|
|
|
|
default: 100
|
|
|
|
|
hidden: true
|
2016-08-23 00:43:02 +08:00
|
|
|
|
embed_title_scrubber:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2016-08-23 00:43:02 +08:00
|
|
|
|
hidden: true
|
2015-08-21 01:43:12 +08:00
|
|
|
|
embed_blacklist_selector:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2015-08-21 01:43:12 +08:00
|
|
|
|
hidden: true
|
2015-09-25 06:20:59 +08:00
|
|
|
|
embed_classname_whitelist:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "emoji"
|
2015-09-25 06:20:59 +08:00
|
|
|
|
hidden: true
|
2014-01-01 03:37:43 +08:00
|
|
|
|
|
2014-02-08 05:04:00 +08:00
|
|
|
|
legal:
|
2013-11-14 03:02:47 +08:00
|
|
|
|
tos_url:
|
|
|
|
|
client: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2014-02-08 05:04:00 +08:00
|
|
|
|
privacy_policy_url:
|
2013-11-14 03:02:47 +08:00
|
|
|
|
client: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2014-03-22 09:14:35 +08:00
|
|
|
|
faq_url:
|
|
|
|
|
client: true
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2018-03-06 03:38:18 +08:00
|
|
|
|
log_anonymizer_details:
|
|
|
|
|
default: true
|
2014-02-08 05:04:00 +08:00
|
|
|
|
|
2014-03-12 05:28:12 +08:00
|
|
|
|
backups:
|
2017-12-22 04:21:28 +08:00
|
|
|
|
enable_backups:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
2016-07-19 17:44:04 +08:00
|
|
|
|
readonly_mode_during_backup:
|
2017-07-12 19:52:14 +08:00
|
|
|
|
default: false
|
2014-03-12 05:28:12 +08:00
|
|
|
|
allow_restore:
|
|
|
|
|
default: false
|
2018-10-15 09:43:31 +08:00
|
|
|
|
backup_location:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "local"
|
2018-10-15 09:43:31 +08:00
|
|
|
|
type: enum
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "BackupLocationSiteSetting"
|
2018-10-15 09:43:31 +08:00
|
|
|
|
client: true
|
2014-03-12 05:28:12 +08:00
|
|
|
|
maximum_backups:
|
|
|
|
|
client: true
|
2016-02-14 08:13:49 +08:00
|
|
|
|
default: 5
|
2016-01-05 17:31:46 +08:00
|
|
|
|
automatic_backups_enabled:
|
2015-08-14 14:25:29 +08:00
|
|
|
|
default: true
|
2015-08-07 23:34:58 +08:00
|
|
|
|
backup_frequency:
|
2015-08-14 14:25:29 +08:00
|
|
|
|
min: 1
|
2015-08-14 13:20:22 +08:00
|
|
|
|
max: 30
|
|
|
|
|
default: 7
|
2014-03-13 04:23:47 +08:00
|
|
|
|
s3_backup_bucket:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2016-08-15 16:06:29 +08:00
|
|
|
|
regex: '^[a-z0-9\-\/]+$' # can't use '.' when using HTTPS
|
2016-03-02 03:01:51 +08:00
|
|
|
|
s3_disable_cleanup:
|
|
|
|
|
default: false
|
2015-11-12 23:14:49 +08:00
|
|
|
|
backup_time_of_day:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "3:30"
|
2015-11-12 23:14:49 +08:00
|
|
|
|
regex: "^((0?(0|1|2|3|4|5|6|7|8|9)|(10|11|12|13|14|15|16|17|18|19|20|21|22|23))):\\d\\d$"
|
2015-11-12 23:23:59 +08:00
|
|
|
|
backup_with_uploads: true
|
2019-02-12 22:50:31 +08:00
|
|
|
|
backup_gzip_compression_level_for_uploads:
|
|
|
|
|
default: 1
|
|
|
|
|
min: 1
|
|
|
|
|
max: 9
|
2019-02-13 18:10:33 +08:00
|
|
|
|
include_thumbnails_in_backups:
|
2019-02-14 09:20:43 +08:00
|
|
|
|
default: false
|
2019-07-02 02:38:36 +08:00
|
|
|
|
include_s3_uploads_in_backups:
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
2014-03-12 05:28:12 +08:00
|
|
|
|
|
2016-08-12 01:48:49 +08:00
|
|
|
|
search:
|
|
|
|
|
min_search_term_length:
|
|
|
|
|
client: true
|
|
|
|
|
default: 3
|
2017-08-07 09:43:09 +08:00
|
|
|
|
locale_default:
|
|
|
|
|
zh_CN: 2
|
|
|
|
|
zh_TW: 2
|
2018-05-28 07:37:57 +08:00
|
|
|
|
ko: 2
|
|
|
|
|
ja: 2
|
2016-08-12 01:48:49 +08:00
|
|
|
|
search_tokenize_chinese_japanese_korean: false
|
|
|
|
|
search_prefer_recent_posts: false
|
2017-08-07 09:43:09 +08:00
|
|
|
|
search_recent_posts_size:
|
|
|
|
|
default: 100000
|
|
|
|
|
max: 100000
|
2018-05-14 20:23:51 +08:00
|
|
|
|
log_search_queries:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2017-08-07 09:43:09 +08:00
|
|
|
|
search_query_log_max_size:
|
|
|
|
|
default: 1000000
|
|
|
|
|
max: 1000000
|
2018-05-22 02:56:51 +08:00
|
|
|
|
search_query_log_max_retention_days:
|
2018-06-20 08:46:07 +08:00
|
|
|
|
default: 365 # 1 year
|
2018-05-22 02:56:51 +08:00
|
|
|
|
max: 1825 # 5 years
|
2018-09-17 16:31:15 +08:00
|
|
|
|
search_ignore_accents:
|
|
|
|
|
default: false
|
|
|
|
|
locale_default:
|
|
|
|
|
ar: true
|
|
|
|
|
ca: true
|
|
|
|
|
cs: true
|
|
|
|
|
el: true
|
|
|
|
|
es: true
|
|
|
|
|
fa_IR: true
|
|
|
|
|
fr: true
|
|
|
|
|
hu: true
|
|
|
|
|
pt: true
|
|
|
|
|
pt_BR: true
|
|
|
|
|
ro: true
|
|
|
|
|
sk: true
|
|
|
|
|
tr_TR: true
|
2019-03-25 10:59:55 +08:00
|
|
|
|
category_search_priority_very_low_weight:
|
|
|
|
|
default: 0.6
|
|
|
|
|
hidden: true
|
|
|
|
|
validator: "CategorySearchPriorityWeightsValidator"
|
|
|
|
|
category_search_priority_low_weight:
|
|
|
|
|
default: 0.8
|
|
|
|
|
hidden: true
|
|
|
|
|
validator: "CategorySearchPriorityWeightsValidator"
|
|
|
|
|
category_search_priority_high_weight:
|
|
|
|
|
default: 1.2
|
|
|
|
|
hidden: true
|
|
|
|
|
validator: "CategorySearchPriorityWeightsValidator"
|
|
|
|
|
category_search_priority_very_high_weight:
|
|
|
|
|
default: 1.4
|
|
|
|
|
hidden: true
|
|
|
|
|
validator: "CategorySearchPriorityWeightsValidator"
|
2016-08-12 01:48:49 +08:00
|
|
|
|
|
2014-02-08 05:04:00 +08:00
|
|
|
|
uncategorized:
|
2014-03-22 09:14:35 +08:00
|
|
|
|
version_checks:
|
2013-11-07 04:47:26 +08:00
|
|
|
|
client: true
|
2014-03-22 09:14:35 +08:00
|
|
|
|
default: true
|
|
|
|
|
new_version_emails: true
|
|
|
|
|
send_welcome_message: true
|
2013-11-15 04:05:48 +08:00
|
|
|
|
|
2014-03-22 09:14:35 +08:00
|
|
|
|
suppress_uncategorized_badge:
|
2013-11-07 04:47:26 +08:00
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2014-03-22 09:14:35 +08:00
|
|
|
|
|
2018-07-31 11:42:30 +08:00
|
|
|
|
header_dropdown_category_count:
|
2018-07-30 16:43:00 +08:00
|
|
|
|
client: true
|
|
|
|
|
default: 8
|
|
|
|
|
|
2015-04-13 22:50:41 +08:00
|
|
|
|
slug_generation_method:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "ascii"
|
|
|
|
|
enum: "SlugSetting"
|
2019-10-17 04:08:43 +08:00
|
|
|
|
client: true
|
2017-08-07 09:43:09 +08:00
|
|
|
|
locale_default:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
ja: "none"
|
|
|
|
|
zh_CN: "none"
|
|
|
|
|
zh_TW: "none"
|
2015-04-13 22:50:41 +08:00
|
|
|
|
|
2015-07-15 13:32:35 +08:00
|
|
|
|
permalink_normalizations:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2015-07-15 13:32:35 +08:00
|
|
|
|
type: list
|
|
|
|
|
|
2015-06-30 03:53:44 +08:00
|
|
|
|
max_similar_results: 5
|
2014-03-22 09:14:35 +08:00
|
|
|
|
minimum_topics_similar: 50
|
|
|
|
|
|
2013-11-14 03:02:47 +08:00
|
|
|
|
previous_visit_timeout_hours: 1
|
|
|
|
|
staff_like_weight: 3
|
2015-03-05 12:25:05 +08:00
|
|
|
|
topic_view_duration_hours: 8
|
2015-09-14 15:51:17 +08:00
|
|
|
|
user_profile_view_duration_hours: 8
|
2014-03-22 09:14:35 +08:00
|
|
|
|
|
|
|
|
|
# Summary mode
|
2013-11-19 01:48:26 +08:00
|
|
|
|
summary_score_threshold: 15
|
|
|
|
|
summary_posts_required: 50
|
|
|
|
|
summary_likes_required: 1
|
|
|
|
|
summary_percent_filter: 20
|
2014-10-29 04:03:43 +08:00
|
|
|
|
summary_max_results: 100
|
2014-03-22 09:14:35 +08:00
|
|
|
|
|
2019-06-04 22:34:07 +08:00
|
|
|
|
automatic_topic_heat_values: true
|
|
|
|
|
|
2014-03-22 09:14:35 +08:00
|
|
|
|
# View heat thresholds
|
2013-11-07 04:47:26 +08:00
|
|
|
|
topic_views_heat_low:
|
|
|
|
|
client: true
|
|
|
|
|
default: 1000
|
|
|
|
|
topic_views_heat_medium:
|
|
|
|
|
client: true
|
|
|
|
|
default: 2000
|
|
|
|
|
topic_views_heat_high:
|
|
|
|
|
client: true
|
2019-06-04 22:34:07 +08:00
|
|
|
|
default: 3500
|
2014-03-22 09:14:35 +08:00
|
|
|
|
|
2014-08-16 00:02:29 +08:00
|
|
|
|
# Post/Like heat thresholds
|
|
|
|
|
topic_post_like_heat_low:
|
|
|
|
|
client: true
|
|
|
|
|
default: 0.5
|
|
|
|
|
topic_post_like_heat_medium:
|
|
|
|
|
client: true
|
|
|
|
|
default: 1.0
|
|
|
|
|
topic_post_like_heat_high:
|
|
|
|
|
client: true
|
|
|
|
|
default: 2.0
|
|
|
|
|
|
2014-08-16 00:22:06 +08:00
|
|
|
|
# History edit heat thresholds
|
|
|
|
|
history_hours_low:
|
|
|
|
|
client: true
|
|
|
|
|
default: 12
|
|
|
|
|
history_hours_medium:
|
|
|
|
|
client: true
|
|
|
|
|
default: 24
|
|
|
|
|
history_hours_high:
|
|
|
|
|
client: true
|
|
|
|
|
default: 48
|
|
|
|
|
|
2014-08-16 00:09:31 +08:00
|
|
|
|
# Cold map thresholds
|
|
|
|
|
cold_age_days_low:
|
|
|
|
|
default: 14
|
|
|
|
|
client: true
|
2017-01-27 20:01:09 +08:00
|
|
|
|
cold_age_days_medium:
|
2015-05-27 16:04:50 +08:00
|
|
|
|
default: 90
|
2014-08-16 00:09:31 +08:00
|
|
|
|
client: true
|
2017-01-27 20:01:09 +08:00
|
|
|
|
cold_age_days_high:
|
2015-05-27 16:04:50 +08:00
|
|
|
|
default: 180
|
2017-01-27 20:01:09 +08:00
|
|
|
|
client: true
|
2014-08-16 00:09:31 +08:00
|
|
|
|
|
2014-03-22 09:14:35 +08:00
|
|
|
|
# Warnings
|
|
|
|
|
educate_until_posts: 2
|
2013-11-07 04:47:26 +08:00
|
|
|
|
sequential_replies_threshold: 2
|
2017-02-05 04:04:15 +08:00
|
|
|
|
get_a_room_threshold: 3
|
2013-11-07 04:47:26 +08:00
|
|
|
|
dominating_topic_minimum_percent: 20
|
2015-12-15 01:02:40 +08:00
|
|
|
|
disable_avatar_education_message: false
|
2014-03-22 09:14:35 +08:00
|
|
|
|
|
2014-03-24 13:51:48 +08:00
|
|
|
|
global_notice:
|
|
|
|
|
default: ""
|
|
|
|
|
client: true
|
2014-03-24 15:03:39 +08:00
|
|
|
|
has_login_hint:
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
2014-03-24 13:51:48 +08:00
|
|
|
|
|
2015-09-07 09:57:50 +08:00
|
|
|
|
# Nothing past this threshold is ever considered new
|
|
|
|
|
# this is calculated dynamically every 15 minutes
|
|
|
|
|
min_new_topics_time:
|
|
|
|
|
default: 0
|
|
|
|
|
hidden: true
|
|
|
|
|
|
2014-03-22 09:14:35 +08:00
|
|
|
|
# Category IDs
|
2014-01-21 04:49:43 +08:00
|
|
|
|
lounge_category_id:
|
|
|
|
|
default: -1
|
|
|
|
|
hidden: true
|
2014-01-22 13:05:46 +08:00
|
|
|
|
meta_category_id:
|
|
|
|
|
default: -1
|
|
|
|
|
hidden: true
|
2014-02-28 06:38:01 +08:00
|
|
|
|
staff_category_id:
|
|
|
|
|
default: -1
|
|
|
|
|
hidden: true
|
2015-09-11 05:04:21 +08:00
|
|
|
|
uncategorized_category_id:
|
|
|
|
|
default: -1
|
|
|
|
|
hidden: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
|
2014-04-04 02:34:21 +08:00
|
|
|
|
notify_about_flags_after: 48
|
2014-05-15 02:38:04 +08:00
|
|
|
|
|
2014-05-26 23:13:04 +08:00
|
|
|
|
show_create_topics_notice:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
|
|
|
|
|
2014-05-22 15:37:02 +08:00
|
|
|
|
enable_system_avatars:
|
|
|
|
|
hidden: true
|
|
|
|
|
default: true
|
2014-06-11 23:14:00 +08:00
|
|
|
|
|
2019-07-31 22:50:41 +08:00
|
|
|
|
disable_system_edit_notifications: true
|
2014-07-25 02:27:34 +08:00
|
|
|
|
|
2019-01-16 10:40:16 +08:00
|
|
|
|
likes_notification_consolidation_threshold:
|
2019-01-16 17:55:17 +08:00
|
|
|
|
default: 3
|
2019-01-16 16:17:04 +08:00
|
|
|
|
min: 0
|
2019-01-16 10:40:16 +08:00
|
|
|
|
|
|
|
|
|
likes_notification_consolidation_window_mins:
|
|
|
|
|
default: 120
|
|
|
|
|
min: 1
|
|
|
|
|
|
2017-01-27 20:01:09 +08:00
|
|
|
|
delete_drafts_older_than_n_days:
|
|
|
|
|
default: 180
|
2015-06-02 19:26:01 +08:00
|
|
|
|
|
2019-10-17 13:56:40 +08:00
|
|
|
|
backup_drafts_to_pm_length:
|
|
|
|
|
default: 0
|
|
|
|
|
hidden: true
|
|
|
|
|
|
2014-07-25 02:27:34 +08:00
|
|
|
|
tos_topic_id:
|
|
|
|
|
default: -1
|
|
|
|
|
hidden: true
|
|
|
|
|
guidelines_topic_id:
|
|
|
|
|
default: -1
|
|
|
|
|
hidden: true
|
|
|
|
|
privacy_topic_id:
|
|
|
|
|
default: -1
|
|
|
|
|
hidden: true
|
2019-03-19 04:09:13 +08:00
|
|
|
|
welcome_topic_id:
|
|
|
|
|
default: -1
|
|
|
|
|
hidden: true
|
|
|
|
|
lounge_welcome_topic_id:
|
|
|
|
|
default: -1
|
|
|
|
|
hidden: true
|
|
|
|
|
admin_quick_start_topic_id:
|
|
|
|
|
default: -1
|
|
|
|
|
hidden: true
|
2015-08-22 02:39:21 +08:00
|
|
|
|
|
2016-04-27 01:08:19 +08:00
|
|
|
|
bootstrap_mode_min_users:
|
|
|
|
|
default: 50
|
|
|
|
|
client: true
|
|
|
|
|
max: 5000
|
|
|
|
|
|
|
|
|
|
bootstrap_mode_enabled:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
|
|
|
|
hidden: true
|
|
|
|
|
|
2015-11-07 00:12:12 +08:00
|
|
|
|
automatically_unpin_topics:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
|
|
|
|
|
2015-12-30 14:45:17 +08:00
|
|
|
|
read_time_word_count:
|
|
|
|
|
default: 500
|
|
|
|
|
client: true
|
2017-08-07 09:43:09 +08:00
|
|
|
|
locale_default:
|
2018-09-11 17:58:22 +08:00
|
|
|
|
ja: 350
|
2017-08-07 09:43:09 +08:00
|
|
|
|
zh_CN: 350
|
|
|
|
|
zh_TW: 350
|
2015-12-30 14:45:17 +08:00
|
|
|
|
|
2017-12-30 11:36:02 +08:00
|
|
|
|
topic_page_title_includes_category:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
2016-04-12 04:44:10 +08:00
|
|
|
|
|
2019-04-18 00:25:13 +08:00
|
|
|
|
native_app_install_banner_ios: false
|
|
|
|
|
|
|
|
|
|
native_app_install_banner_android: false
|
|
|
|
|
|
|
|
|
|
ios_app_id:
|
|
|
|
|
default: "1173672076"
|
|
|
|
|
hidden: true
|
|
|
|
|
|
|
|
|
|
android_app_id:
|
|
|
|
|
default: "com.discourse"
|
|
|
|
|
hidden: true
|
2017-01-04 01:50:45 +08:00
|
|
|
|
|
2018-10-27 00:47:22 +08:00
|
|
|
|
pwa_display_browser_regex:
|
|
|
|
|
default: "iPad|iPhone"
|
|
|
|
|
hidden: true
|
|
|
|
|
|
2019-08-28 02:05:37 +08:00
|
|
|
|
app_association_android:
|
|
|
|
|
default: ""
|
|
|
|
|
textarea: true
|
|
|
|
|
|
|
|
|
|
app_association_ios:
|
|
|
|
|
default: ""
|
|
|
|
|
textarea: true
|
|
|
|
|
|
2017-03-10 21:16:00 +08:00
|
|
|
|
share_anonymized_statistics: true
|
|
|
|
|
|
2017-09-15 00:00:37 +08:00
|
|
|
|
auto_handle_queued_age:
|
|
|
|
|
default: 60
|
|
|
|
|
min: 0
|
|
|
|
|
|
2018-11-27 05:49:57 +08:00
|
|
|
|
svg_icon_subset:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
|
|
|
|
type: "list"
|
|
|
|
|
list_type: "compact"
|
2018-11-27 05:49:57 +08:00
|
|
|
|
client: true
|
|
|
|
|
|
2019-02-08 00:50:10 +08:00
|
|
|
|
always_include_topic_excerpts:
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
|
|
|
|
|
2019-06-12 17:05:21 +08:00
|
|
|
|
max_bulk_invites:
|
|
|
|
|
default: 50000
|
|
|
|
|
hidden: true
|
|
|
|
|
|
2019-07-16 01:47:44 +08:00
|
|
|
|
overridden_robots_txt:
|
|
|
|
|
default: ""
|
|
|
|
|
hidden: true
|
|
|
|
|
|
2015-08-22 02:39:21 +08:00
|
|
|
|
user_preferences:
|
|
|
|
|
default_email_digest_frequency:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "DigestEmailSiteSetting"
|
2016-03-03 04:26:27 +08:00
|
|
|
|
default: 10080
|
2016-03-18 05:35:23 +08:00
|
|
|
|
default_include_tl0_in_digests: false
|
2019-03-15 22:55:11 +08:00
|
|
|
|
default_email_level:
|
|
|
|
|
enum: "EmailLevelSiteSetting"
|
|
|
|
|
default: 1
|
|
|
|
|
default_email_messages_level:
|
|
|
|
|
enum: "EmailLevelSiteSetting"
|
|
|
|
|
default: 0
|
2015-08-22 02:39:21 +08:00
|
|
|
|
default_email_mailing_list_mode: false
|
2016-05-21 21:17:54 +08:00
|
|
|
|
default_email_mailing_list_mode_frequency:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "MailingListModeSiteSetting"
|
2017-08-07 09:43:09 +08:00
|
|
|
|
default: 1
|
2016-03-05 05:53:28 +08:00
|
|
|
|
disable_mailing_list_mode:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2016-02-19 10:56:52 +08:00
|
|
|
|
default_email_previous_replies:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "PreviousRepliesSiteSetting"
|
2016-02-25 21:05:40 +08:00
|
|
|
|
default: 2
|
|
|
|
|
default_email_in_reply_to:
|
|
|
|
|
default: true
|
2015-08-22 02:39:21 +08:00
|
|
|
|
|
|
|
|
|
default_other_new_topic_duration_minutes:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "NewTopicDurationSiteSetting"
|
2015-08-22 02:39:21 +08:00
|
|
|
|
default: 2880
|
|
|
|
|
default_other_auto_track_topics_after_msecs:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "AutoTrackDurationSiteSetting"
|
2015-08-22 02:39:21 +08:00
|
|
|
|
default: 240000
|
2016-10-01 00:36:43 +08:00
|
|
|
|
default_other_notification_level_when_replying:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "NotificationLevelWhenReplyingSiteSetting"
|
2016-10-01 00:36:43 +08:00
|
|
|
|
default: 2
|
2015-08-22 02:39:21 +08:00
|
|
|
|
default_other_external_links_in_new_tab: false
|
|
|
|
|
default_other_enable_quoting: true
|
2019-05-31 13:43:17 +08:00
|
|
|
|
default_other_enable_defer: false
|
2015-08-22 02:39:21 +08:00
|
|
|
|
default_other_dynamic_favicon: false
|
2016-03-02 20:16:52 +08:00
|
|
|
|
default_other_like_notification_frequency:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "LikeNotificationFrequencySiteSetting"
|
2016-03-02 20:16:52 +08:00
|
|
|
|
default: 1
|
2015-08-22 02:39:21 +08:00
|
|
|
|
|
2015-11-18 01:21:40 +08:00
|
|
|
|
default_topics_automatic_unpin:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
|
|
|
|
|
2015-08-22 02:39:21 +08:00
|
|
|
|
default_categories_watching:
|
|
|
|
|
type: category_list
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2015-08-22 02:39:21 +08:00
|
|
|
|
default_categories_tracking:
|
|
|
|
|
type: category_list
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2015-08-22 02:39:21 +08:00
|
|
|
|
default_categories_muted:
|
|
|
|
|
type: category_list
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2016-11-10 02:37:54 +08:00
|
|
|
|
default_categories_watching_first_post:
|
|
|
|
|
type: category_list
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2019-01-16 16:17:04 +08:00
|
|
|
|
|
2019-01-14 21:21:46 +08:00
|
|
|
|
default_text_size:
|
|
|
|
|
type: enum
|
|
|
|
|
default: normal
|
|
|
|
|
choices:
|
2019-01-17 23:30:34 +08:00
|
|
|
|
- smaller
|
2019-01-14 21:21:46 +08:00
|
|
|
|
- normal
|
|
|
|
|
- larger
|
|
|
|
|
- largest
|
2019-04-18 00:25:13 +08:00
|
|
|
|
|
2019-04-12 07:02:18 +08:00
|
|
|
|
default_title_count_mode:
|
|
|
|
|
type: enum
|
|
|
|
|
default: notifications
|
|
|
|
|
choices:
|
|
|
|
|
- notifications
|
|
|
|
|
- contextual
|
2017-11-08 14:08:30 +08:00
|
|
|
|
api:
|
|
|
|
|
retain_web_hook_events_period_days:
|
|
|
|
|
default: 30
|
2018-05-30 19:27:40 +08:00
|
|
|
|
retry_web_hook_events:
|
|
|
|
|
default: false
|
2017-11-08 14:08:30 +08:00
|
|
|
|
|
2016-08-15 15:58:33 +08:00
|
|
|
|
user_api:
|
2016-10-14 13:05:27 +08:00
|
|
|
|
allow_user_api_keys:
|
2016-08-15 15:58:33 +08:00
|
|
|
|
default: true
|
2016-10-14 13:05:27 +08:00
|
|
|
|
allow_user_api_key_scopes:
|
2019-04-02 01:18:53 +08:00
|
|
|
|
default: "read|write|message_bus|push|notifications|session_info|one_time_password"
|
2016-10-14 13:05:27 +08:00
|
|
|
|
type: list
|
2016-08-15 15:58:33 +08:00
|
|
|
|
max_api_keys_per_user:
|
|
|
|
|
default: 10
|
2016-08-26 10:47:10 +08:00
|
|
|
|
push_api_secret_key:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2016-08-26 10:47:10 +08:00
|
|
|
|
hidden: true
|
2016-08-15 15:58:33 +08:00
|
|
|
|
min_trust_level_for_user_api_key:
|
2017-10-02 07:59:55 +08:00
|
|
|
|
default: 0
|
2019-01-18 02:05:39 +08:00
|
|
|
|
enum: "TrustLevelSetting"
|
2016-08-15 15:58:33 +08:00
|
|
|
|
allowed_user_api_push_urls:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: ""
|
2016-08-15 15:58:33 +08:00
|
|
|
|
type: list
|
|
|
|
|
allowed_user_api_auth_redirects:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "https://api.discourse.org/api/auth_redirect|discourse://auth_redirect"
|
2016-08-15 15:58:33 +08:00
|
|
|
|
type: list
|
2018-08-20 23:36:14 +08:00
|
|
|
|
expire_user_api_keys_days:
|
|
|
|
|
default: 180
|
2016-08-15 15:58:33 +08:00
|
|
|
|
|
2016-04-26 03:55:15 +08:00
|
|
|
|
tags:
|
|
|
|
|
tagging_enabled:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
|
|
|
|
refresh: true
|
|
|
|
|
tag_style:
|
|
|
|
|
client: true
|
|
|
|
|
type: enum
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "simple"
|
2016-04-26 03:55:15 +08:00
|
|
|
|
choices:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
- simple
|
|
|
|
|
- bullet
|
|
|
|
|
- box
|
2016-04-26 03:55:15 +08:00
|
|
|
|
preview: '<div class="discourse-tags"><span class="discourse-tag {{value}}">tag1</span><span class="discourse-tag {{value}}">tag2</span></div>'
|
|
|
|
|
max_tags_per_topic:
|
|
|
|
|
default: 5
|
|
|
|
|
client: true
|
|
|
|
|
max_tag_length:
|
|
|
|
|
default: 20
|
|
|
|
|
client: true
|
|
|
|
|
min_trust_to_create_tag:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "3"
|
|
|
|
|
enum: "TrustLevelAndStaffSetting"
|
2016-04-26 03:55:15 +08:00
|
|
|
|
min_trust_level_to_tag_topics:
|
2019-01-18 02:05:39 +08:00
|
|
|
|
default: "0"
|
|
|
|
|
enum: "TrustLevelAndStaffSetting"
|
2016-04-26 03:55:15 +08:00
|
|
|
|
client: true
|
|
|
|
|
max_tag_search_results:
|
|
|
|
|
client: true
|
|
|
|
|
default: 5
|
|
|
|
|
min: 1
|
|
|
|
|
show_filter_by_tag:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
|
|
|
|
refresh: true
|
|
|
|
|
max_tags_in_filter_list:
|
2019-10-18 05:22:27 +08:00
|
|
|
|
client: true
|
2016-04-26 03:55:15 +08:00
|
|
|
|
default: 30
|
|
|
|
|
min: 1
|
|
|
|
|
refresh: true
|
|
|
|
|
tags_sort_alphabetically:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
|
|
|
|
refresh: true
|
2018-01-03 23:40:32 +08:00
|
|
|
|
tags_listed_by_group:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2018-02-22 09:18:34 +08:00
|
|
|
|
allow_staff_to_tag_pms:
|
2018-02-14 04:46:25 +08:00
|
|
|
|
default: false
|
2016-04-26 03:55:15 +08:00
|
|
|
|
suppress_overlapping_tags_in_list:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
|
|
|
|
remove_muted_tags_from_latest:
|
2019-06-03 10:23:23 +08:00
|
|
|
|
client: true
|
|
|
|
|
type: enum
|
|
|
|
|
default: always
|
|
|
|
|
enum: RemoveMutedTagsFromLatestSiteSetting
|
2018-10-05 17:23:52 +08:00
|
|
|
|
force_lowercase_tags:
|
2018-10-19 22:43:31 +08:00
|
|
|
|
default: true
|
|
|
|
|
client: true
|
2018-12-26 17:29:07 +08:00
|
|
|
|
|
|
|
|
|
dashboard:
|
|
|
|
|
dashboard_general_tab_activity_metrics:
|
|
|
|
|
client: true
|
|
|
|
|
type: list
|
|
|
|
|
list_type: compact
|
|
|
|
|
default: "page_view_total_reqs|visits|time_to_first_response|likes|flags|user_to_user_private_messages_with_replies"
|
|
|
|
|
allow_any: false
|
|
|
|
|
choices:
|
|
|
|
|
- page_view_total_reqs
|
|
|
|
|
- visits
|
|
|
|
|
- time_to_first_response
|
|
|
|
|
- likes
|
|
|
|
|
- flags
|
|
|
|
|
- user_to_user_private_messages_with_replies
|
|
|
|
|
- signups
|