2014-06-18 10:49:21 -04:00
|
|
|
|
# Available options:
|
2014-06-12 18:03:03 -04:00
|
|
|
|
#
|
2019-01-02 02:29:17 -05: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 03:23:29 -04: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 03:00:56 -04:00
|
|
|
|
# allow_any - For choice settings allow items not specified in the choice list (default true)
|
2018-06-02 09:57:52 -04:00
|
|
|
|
# secret - Set to true if input type should be password and value needs to be scrubbed from logs (default false).
|
2016-06-29 03:23:29 -04: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-06 21:43:09 -04: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 03:23:29 -04:00
|
|
|
|
#
|
2014-06-18 10:49:21 -04:00
|
|
|
|
# type: email - Must be a valid email address.
|
|
|
|
|
# type: username - Must match the username of an existing user.
|
2014-06-18 12:07:18 -04:00
|
|
|
|
# type: list - A list of values, chosen from a set of valid values defined in the choices option.
|
2015-08-06 21:41:48 -04:00
|
|
|
|
# type: enum - A single value, chosen from a set of valid values in the choices option.
|
2014-08-10 11:46:04 -04: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-14 12:37:41 -05:00
|
|
|
|
required:
|
2013-11-06 15:47:26 -05:00
|
|
|
|
title:
|
|
|
|
|
client: true
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "Discourse"
|
2014-06-18 10:49:21 -04:00
|
|
|
|
site_description:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2018-12-12 05:46:14 -05:00
|
|
|
|
short_site_description:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2019-05-07 07:21:54 -04:00
|
|
|
|
client: true
|
2014-06-09 15:17:36 -04:00
|
|
|
|
contact_email:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2014-06-12 18:03:03 -04:00
|
|
|
|
type: email
|
2015-02-23 12:39:13 -05:00
|
|
|
|
contact_url:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2014-06-09 15:17:36 -04:00
|
|
|
|
notification_email:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "noreply@unconfigured.discourse.org"
|
2014-06-12 18:03:03 -04:00
|
|
|
|
type: email
|
2014-06-11 14:42:41 -04:00
|
|
|
|
site_contact_username:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2014-06-12 18:03:03 -04:00
|
|
|
|
type: username
|
2019-03-13 06:34:47 -04:00
|
|
|
|
site_contact_group_name:
|
|
|
|
|
default: ""
|
|
|
|
|
type: group
|
2019-05-01 09:44:45 -04:00
|
|
|
|
exclude_rel_nofollow_domains:
|
2021-06-15 05:57:43 -04:00
|
|
|
|
client: true
|
2019-05-01 09:44:45 -04:00
|
|
|
|
default: ""
|
|
|
|
|
type: list
|
2020-09-24 08:58:45 -04:00
|
|
|
|
list_type: simple
|
2019-05-01 09:44:45 -04:00
|
|
|
|
company_name:
|
|
|
|
|
default: ""
|
|
|
|
|
governing_law:
|
|
|
|
|
default: ""
|
|
|
|
|
city_for_disputes:
|
|
|
|
|
default: ""
|
|
|
|
|
|
|
|
|
|
branding:
|
2018-11-14 02:03:02 -05:00
|
|
|
|
logo:
|
2019-05-01 09:44:45 -04:00
|
|
|
|
default: -5
|
2013-11-06 15:47:26 -05:00
|
|
|
|
client: true
|
2018-11-14 02:03:02 -05:00
|
|
|
|
type: upload
|
|
|
|
|
logo_small:
|
2019-05-01 09:44:45 -04:00
|
|
|
|
default: -6
|
2013-11-06 15:47:26 -05:00
|
|
|
|
client: true
|
2018-11-14 02:03:02 -05:00
|
|
|
|
type: upload
|
|
|
|
|
digest_logo:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2018-11-14 02:03:02 -05:00
|
|
|
|
client: true
|
|
|
|
|
type: upload
|
|
|
|
|
mobile_logo:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2014-06-18 15:44:00 -04:00
|
|
|
|
client: true
|
2018-11-14 02:03:02 -05:00
|
|
|
|
type: upload
|
2020-08-17 15:43:20 -04:00
|
|
|
|
logo_dark:
|
|
|
|
|
default: ""
|
|
|
|
|
client: true
|
|
|
|
|
type: upload
|
|
|
|
|
logo_small_dark:
|
|
|
|
|
default: ""
|
|
|
|
|
client: true
|
|
|
|
|
type: upload
|
|
|
|
|
mobile_logo_dark:
|
|
|
|
|
default: ""
|
|
|
|
|
client: true
|
|
|
|
|
type: upload
|
2018-11-14 02:03:02 -05:00
|
|
|
|
large_icon:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2018-11-14 02:03:02 -05:00
|
|
|
|
client: true
|
|
|
|
|
type: upload
|
2019-05-01 09:44:45 -04:00
|
|
|
|
manifest_icon:
|
|
|
|
|
default: ""
|
|
|
|
|
type: upload
|
2021-03-04 16:39:58 -05:00
|
|
|
|
manifest_screenshots:
|
|
|
|
|
type: list
|
|
|
|
|
list_type: simple
|
|
|
|
|
default: ""
|
2018-11-14 02:03:02 -05:00
|
|
|
|
favicon:
|
2019-05-01 09:44:45 -04:00
|
|
|
|
default: ""
|
2013-11-13 14:02:47 -05:00
|
|
|
|
client: true
|
2018-11-14 02:03:02 -05:00
|
|
|
|
type: upload
|
|
|
|
|
apple_touch_icon:
|
2019-05-01 09:44:45 -04:00
|
|
|
|
default: ""
|
2018-11-14 02:03:02 -05:00
|
|
|
|
client: true
|
|
|
|
|
type: upload
|
|
|
|
|
opengraph_image:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2018-11-14 02:03:02 -05:00
|
|
|
|
type: upload
|
|
|
|
|
twitter_summary_large_image:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2018-11-14 02:03:02 -05:00
|
|
|
|
type: upload
|
2013-11-13 14:02:47 -05:00
|
|
|
|
|
2013-11-14 15:05:48 -05:00
|
|
|
|
basic:
|
2020-04-27 20:13:59 -04:00
|
|
|
|
display_local_time_in_user_card:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2014-02-08 20:35:46 -05:00
|
|
|
|
allow_user_locale:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2016-03-14 19:18:19 -04:00
|
|
|
|
set_locale_from_accept_language_header:
|
|
|
|
|
default: false
|
2021-01-20 16:08:02 -05:00
|
|
|
|
client: true
|
2016-03-14 19:18:19 -04:00
|
|
|
|
validator: "AllowUserLocaleEnabledValidator"
|
2022-09-27 04:56:06 -04:00
|
|
|
|
set_locale_from_cookie:
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
|
|
|
|
client: true
|
|
|
|
|
validator: "AllowUserLocaleEnabledValidator"
|
2018-01-28 21:33:55 -05:00
|
|
|
|
support_mixed_text_direction:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2016-08-17 17:23:16 -04:00
|
|
|
|
categories_topics:
|
|
|
|
|
default: 20
|
2020-01-29 13:30:48 -05:00
|
|
|
|
validator: "CategoriesTopicsValidator"
|
2014-03-21 21:14:35 -04:00
|
|
|
|
suggested_topics:
|
|
|
|
|
client: true
|
|
|
|
|
default: 5
|
2017-04-20 03:49:50 -04:00
|
|
|
|
max: 2000
|
2014-06-03 17:48:18 -04:00
|
|
|
|
limit_suggested_to_category:
|
|
|
|
|
default: false
|
2019-04-16 03:51:57 -04:00
|
|
|
|
suggested_topics_unread_max_days_old:
|
|
|
|
|
default: 90
|
|
|
|
|
min: 0
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2016-07-03 04:15:01 -04:00
|
|
|
|
suggested_topics_max_days_old:
|
|
|
|
|
default: 365
|
|
|
|
|
min: 7
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2020-11-06 15:15:36 -05:00
|
|
|
|
ga_version:
|
|
|
|
|
type: enum
|
2023-04-04 08:14:20 -04:00
|
|
|
|
default: v4_gtag
|
2020-11-06 15:15:36 -05:00
|
|
|
|
choices:
|
|
|
|
|
- v3_analytics
|
|
|
|
|
- v4_gtag
|
2014-01-25 19:42:25 -05:00
|
|
|
|
ga_universal_tracking_code:
|
|
|
|
|
client: true
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2020-10-29 12:06:20 -04:00
|
|
|
|
regex: "^(UA|G)-[\\w-]+"
|
2014-01-25 19:42:25 -05:00
|
|
|
|
ga_universal_domain_name:
|
|
|
|
|
client: true
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "auto"
|
2017-07-13 15:21:44 -04:00
|
|
|
|
ga_universal_auto_link_domains:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2017-07-13 15:21:44 -04:00
|
|
|
|
type: list
|
2020-09-24 08:58:45 -04:00
|
|
|
|
list_type: simple
|
2016-07-14 13:52:37 -04:00
|
|
|
|
gtm_container_id:
|
|
|
|
|
client: true
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2016-07-14 13:52:37 -04:00
|
|
|
|
regex: "^GTM-"
|
2013-11-14 15:05:48 -05:00
|
|
|
|
top_menu:
|
|
|
|
|
client: true
|
2014-03-07 13:07:53 -05:00
|
|
|
|
refresh: true
|
2014-06-18 11:15:29 -04:00
|
|
|
|
type: list
|
2022-08-16 13:23:14 -04:00
|
|
|
|
list_type: simple
|
2015-02-26 19:45:56 -05:00
|
|
|
|
default: "latest|new|unread|top|categories"
|
2015-02-26 17:01:29 -05:00
|
|
|
|
regex: "latest"
|
2015-02-26 19:45:56 -05:00
|
|
|
|
regex_error: "site_settings.errors.must_include_latest"
|
2018-01-16 15:07:18 -05:00
|
|
|
|
validator: RegexPresenceValidator
|
2018-04-26 03:00:56 -04:00
|
|
|
|
allow_any: false
|
2014-06-04 12:51:21 -04:00
|
|
|
|
choices:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
- latest
|
|
|
|
|
- new
|
|
|
|
|
- unread
|
2021-08-10 10:30:34 -04:00
|
|
|
|
- unseen
|
2019-01-17 13:05:39 -05:00
|
|
|
|
- top
|
|
|
|
|
- categories
|
|
|
|
|
- read
|
|
|
|
|
- posted
|
|
|
|
|
- bookmarks
|
2013-11-14 15:05:48 -05:00
|
|
|
|
post_menu:
|
|
|
|
|
client: true
|
2014-06-18 11:15:29 -04:00
|
|
|
|
type: list
|
2020-04-29 20:09:22 -04:00
|
|
|
|
default: "read|like|share|flag|edit|bookmark|delete|admin|reply"
|
2018-04-26 03:00:56 -04:00
|
|
|
|
allow_any: false
|
2014-06-01 10:37:51 -04:00
|
|
|
|
choices:
|
2019-08-27 08:09:00 -04:00
|
|
|
|
- read
|
2019-01-17 13:05:39 -05:00
|
|
|
|
- like
|
|
|
|
|
- edit
|
|
|
|
|
- flag
|
|
|
|
|
- delete
|
|
|
|
|
- share
|
|
|
|
|
- bookmark
|
|
|
|
|
- admin
|
|
|
|
|
- reply
|
2014-06-10 15:27:43 -04:00
|
|
|
|
post_menu_hidden_items:
|
2014-05-31 11:18:53 -04:00
|
|
|
|
client: true
|
2014-06-18 11:15:29 -04:00
|
|
|
|
type: list
|
2020-04-29 20:09:22 -04:00
|
|
|
|
default: "flag|bookmark|edit|delete|admin"
|
2018-04-26 03:00:56 -04:00
|
|
|
|
allow_any: false
|
2014-06-10 15:27:43 -04:00
|
|
|
|
choices:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
- like
|
|
|
|
|
- edit
|
|
|
|
|
- flag
|
|
|
|
|
- delete
|
|
|
|
|
- share
|
|
|
|
|
- bookmark
|
|
|
|
|
- admin
|
|
|
|
|
- reply
|
2013-11-14 15:05:48 -05:00
|
|
|
|
share_links:
|
|
|
|
|
client: true
|
2014-06-18 11:15:29 -04:00
|
|
|
|
type: list
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "twitter|facebook|email"
|
2018-04-26 03:00:56 -04:00
|
|
|
|
allow_any: false
|
2014-06-01 10:37:51 -04:00
|
|
|
|
choices:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
- twitter
|
|
|
|
|
- facebook
|
|
|
|
|
- email
|
2022-09-22 13:42:39 -04:00
|
|
|
|
allow_username_in_share_links:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2020-07-17 14:44:31 -04:00
|
|
|
|
share_quote_visibility:
|
|
|
|
|
client: true
|
|
|
|
|
type: enum
|
|
|
|
|
default: "anonymous"
|
|
|
|
|
choices:
|
|
|
|
|
- none
|
|
|
|
|
- anonymous
|
|
|
|
|
- all
|
|
|
|
|
share_quote_buttons:
|
|
|
|
|
client: true
|
|
|
|
|
type: list
|
|
|
|
|
default: "twitter|email"
|
|
|
|
|
allow_any: false
|
|
|
|
|
choices:
|
|
|
|
|
- twitter
|
|
|
|
|
- facebook
|
|
|
|
|
- email
|
2016-08-22 17:43:42 -04:00
|
|
|
|
desktop_category_page_style:
|
2016-08-22 17:01:43 -04:00
|
|
|
|
client: true
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "CategoryPageStyle"
|
|
|
|
|
default: "categories_and_latest_topics"
|
2013-11-14 15:05:48 -05:00
|
|
|
|
category_colors:
|
|
|
|
|
client: true
|
2014-06-18 11:15:29 -04:00
|
|
|
|
type: list
|
2018-08-03 16:41:37 -04:00
|
|
|
|
list_type: compact
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "BF1E2E|F1592A|F7941D|9EB83B|3AB54A|12A89D|25AAE2|0E76BD|652D90|92278F|ED207B|8C6238|231F20|808281|B3B5B4|E45735"
|
2015-01-28 22:53:02 -05:00
|
|
|
|
category_style:
|
|
|
|
|
client: true
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "bullet"
|
2015-08-06 21:41:48 -04:00
|
|
|
|
type: enum
|
|
|
|
|
choices:
|
|
|
|
|
- bar
|
|
|
|
|
- box
|
|
|
|
|
- bullet
|
2017-08-04 14:12:21 -04:00
|
|
|
|
- none
|
2019-12-04 07:05:41 -05:00
|
|
|
|
max_category_nesting:
|
|
|
|
|
client: true
|
|
|
|
|
default: 2
|
|
|
|
|
min: 2
|
|
|
|
|
max: 3
|
|
|
|
|
hidden: true
|
2014-03-21 21:14:35 -04:00
|
|
|
|
enable_mobile_theme:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2018-09-28 22:33:17 -04:00
|
|
|
|
hidden: true
|
2021-07-27 18:42:25 -04:00
|
|
|
|
enable_direct_s3_uploads:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
|
|
|
|
enable_upload_debug_mode:
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
2021-08-25 00:48:06 -04:00
|
|
|
|
client: true
|
2018-07-12 00:18:21 -04:00
|
|
|
|
default_theme_id:
|
|
|
|
|
default: -1
|
2017-04-12 10:52:52 -04:00
|
|
|
|
hidden: true
|
2020-08-03 22:57:10 -04:00
|
|
|
|
default_dark_mode_color_scheme_id:
|
|
|
|
|
default: -1
|
2020-08-07 08:52:47 -04:00
|
|
|
|
type: enum
|
|
|
|
|
enum: "ColorSchemeSetting"
|
2020-08-06 09:45:37 -04:00
|
|
|
|
client: true
|
2013-11-14 15:05:48 -05:00
|
|
|
|
relative_date_duration:
|
|
|
|
|
client: true
|
|
|
|
|
default: 30
|
2014-06-12 18:03:03 -04:00
|
|
|
|
topics_per_period_in_top_summary:
|
|
|
|
|
default: 20
|
|
|
|
|
min: 1
|
|
|
|
|
topics_per_period_in_top_page:
|
|
|
|
|
default: 50
|
|
|
|
|
min: 1
|
2015-10-06 12:04:31 -04:00
|
|
|
|
top_page_default_timeframe:
|
2023-04-06 21:31:09 -04:00
|
|
|
|
client: true
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "yearly"
|
2015-10-06 12:04:31 -04:00
|
|
|
|
type: enum
|
|
|
|
|
choices:
|
|
|
|
|
- all
|
|
|
|
|
- yearly
|
|
|
|
|
- quarterly
|
|
|
|
|
- monthly
|
|
|
|
|
- weekly
|
|
|
|
|
- daily
|
2014-05-16 11:33:44 -04:00
|
|
|
|
fixed_category_positions:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2015-06-15 19:31:41 -04:00
|
|
|
|
fixed_category_positions_on_create:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2014-03-05 07:52:20 -05:00
|
|
|
|
enable_badges:
|
|
|
|
|
client: true
|
2014-07-01 22:32:16 -04:00
|
|
|
|
default: true
|
2016-07-27 19:03:00 -04:00
|
|
|
|
enable_badge_sql:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
2021-06-22 11:58:03 -04:00
|
|
|
|
max_favorite_badges:
|
|
|
|
|
client: true
|
|
|
|
|
default: 2
|
|
|
|
|
min: 0
|
2021-06-23 14:53:09 -04:00
|
|
|
|
max: 6
|
2022-06-29 20:18:12 -04:00
|
|
|
|
whispers_allowed_groups:
|
|
|
|
|
client: true
|
|
|
|
|
type: group_list
|
|
|
|
|
list_type: compact
|
|
|
|
|
default: ""
|
|
|
|
|
allow_any: false
|
|
|
|
|
refresh: true
|
2023-05-31 23:32:05 -04:00
|
|
|
|
hidden_post_visible_groups:
|
|
|
|
|
type: group_list
|
|
|
|
|
list_type: compact
|
|
|
|
|
default: "14"
|
|
|
|
|
allow_any: false
|
2023-06-05 12:08:04 -04:00
|
|
|
|
refresh: true
|
2019-12-10 23:04:02 -05:00
|
|
|
|
enable_bookmarks_with_reminders:
|
|
|
|
|
client: true
|
2020-04-21 23:44:19 -04:00
|
|
|
|
default: true
|
2019-12-10 23:04:02 -05:00
|
|
|
|
hidden: true
|
2018-05-04 18:31:48 -04:00
|
|
|
|
push_notifications_prompt:
|
2018-10-03 18:58:24 -04:00
|
|
|
|
default: true
|
2018-05-04 18:31:48 -04:00
|
|
|
|
client: true
|
2018-11-14 02:03:02 -05:00
|
|
|
|
push_notifications_icon:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2018-11-14 02:03:02 -05:00
|
|
|
|
type: upload
|
2022-12-15 22:35:33 -05:00
|
|
|
|
enable_desktop_push_notifications:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
2022-12-19 15:17:40 -05:00
|
|
|
|
push_notification_time_window_mins:
|
|
|
|
|
default: 10
|
|
|
|
|
min: 0
|
2018-11-28 08:55:52 -05:00
|
|
|
|
short_title:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2019-01-08 19:46:11 -05:00
|
|
|
|
max: 12
|
2018-05-04 18:31:48 -04:00
|
|
|
|
vapid_public_key_bytes:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2018-05-04 18:31:48 -04:00
|
|
|
|
client: true
|
|
|
|
|
hidden: true
|
|
|
|
|
vapid_public_key:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2018-05-04 18:31:48 -04:00
|
|
|
|
hidden: true
|
|
|
|
|
vapid_private_key:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2018-05-04 18:31:48 -04:00
|
|
|
|
hidden: true
|
2019-07-30 04:08:11 -04:00
|
|
|
|
vapid_base_url:
|
|
|
|
|
default: ""
|
|
|
|
|
hidden: true
|
2020-08-31 06:14:09 -04:00
|
|
|
|
base_font:
|
2021-02-05 17:01:21 -05:00
|
|
|
|
default: "arial"
|
2020-08-31 06:14:09 -04:00
|
|
|
|
enum: "BaseFontSetting"
|
|
|
|
|
refresh: true
|
2020-10-05 13:40:41 -04:00
|
|
|
|
heading_font:
|
2021-02-05 17:01:21 -05:00
|
|
|
|
default: "arial"
|
2020-10-05 13:40:41 -04:00
|
|
|
|
enum: "BaseFontSetting"
|
|
|
|
|
refresh: true
|
2022-04-12 09:33:59 -04:00
|
|
|
|
enable_sitemap:
|
|
|
|
|
default: true
|
|
|
|
|
sitemap_page_size:
|
|
|
|
|
default: 10000
|
2022-05-27 05:15:14 -04:00
|
|
|
|
enable_user_status:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2022-11-09 13:20:34 -05:00
|
|
|
|
enable_user_tips:
|
2022-10-12 11:38:45 -04:00
|
|
|
|
client: true
|
2023-05-08 13:33:08 -04:00
|
|
|
|
default: true
|
2023-05-12 11:44:41 -04:00
|
|
|
|
refresh: true
|
2013-11-14 15:05:48 -05:00
|
|
|
|
|
2014-07-13 05:23:31 -04:00
|
|
|
|
login:
|
2013-11-13 14:02:47 -05:00
|
|
|
|
invite_only:
|
2016-08-22 14:07:09 -04:00
|
|
|
|
refresh: true
|
2013-11-06 15:47:26 -05:00
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2013-11-13 14:02:47 -05:00
|
|
|
|
login_required:
|
2016-08-22 14:07:09 -04:00
|
|
|
|
refresh: true
|
2013-11-06 15:47:26 -05:00
|
|
|
|
client: true
|
|
|
|
|
default: false
|
|
|
|
|
must_approve_users:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2020-03-15 06:17:28 -04:00
|
|
|
|
invite_code: ""
|
2014-03-21 21:14:35 -04:00
|
|
|
|
enable_local_logins:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2017-04-20 11:17:24 -04:00
|
|
|
|
enable_local_logins_via_email:
|
|
|
|
|
client: true
|
2018-10-02 20:16:52 -04:00
|
|
|
|
default: true
|
2017-04-20 11:17:24 -04:00
|
|
|
|
validator: "EnableLocalLoginsViaEmailValidator"
|
2014-07-14 15:42:14 -04:00
|
|
|
|
allow_new_registrations:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2015-09-01 19:16:19 -04:00
|
|
|
|
enable_signup_cta:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2014-05-21 18:19:40 -04:00
|
|
|
|
enable_google_oauth2_logins:
|
2014-06-04 11:35:18 -04:00
|
|
|
|
default: false
|
2019-01-17 13:05:39 -05:00
|
|
|
|
google_oauth2_client_id: ""
|
2018-06-02 09:57:52 -04:00
|
|
|
|
google_oauth2_client_secret:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2018-06-02 09:57:52 -04:00
|
|
|
|
secret: true
|
2018-02-22 18:19:36 -05:00
|
|
|
|
google_oauth2_prompt:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2018-02-22 18:19:36 -05:00
|
|
|
|
type: list
|
|
|
|
|
choices:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
- ""
|
|
|
|
|
- "none"
|
|
|
|
|
- "consent"
|
|
|
|
|
- "select_account"
|
2018-02-22 18:19:36 -05:00
|
|
|
|
google_oauth2_hd:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2021-12-09 07:30:27 -05:00
|
|
|
|
google_oauth2_hd_groups:
|
|
|
|
|
default: false
|
|
|
|
|
validator: GoogleOauth2HdGroupsValidator
|
2022-10-13 11:04:42 -04:00
|
|
|
|
google_oauth2_hd_groups_service_account_admin_email:
|
|
|
|
|
default: ""
|
|
|
|
|
google_oauth2_hd_groups_service_account_json:
|
|
|
|
|
default: ""
|
|
|
|
|
textarea: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
enable_twitter_logins:
|
2014-06-04 11:35:18 -04:00
|
|
|
|
default: false
|
2014-06-20 13:02:04 -04:00
|
|
|
|
twitter_consumer_key:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2016-05-13 09:09:37 -04:00
|
|
|
|
regex: "^[\\w+-]+$"
|
2014-06-20 13:02:04 -04:00
|
|
|
|
twitter_consumer_secret:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2016-05-13 09:09:37 -04:00
|
|
|
|
regex: "^[\\w+-]+$"
|
2018-06-02 09:57:52 -04:00
|
|
|
|
secret: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
enable_facebook_logins:
|
2014-06-04 11:35:18 -04:00
|
|
|
|
default: false
|
2014-06-20 13:02:04 -04:00
|
|
|
|
facebook_app_id:
|
2020-07-17 14:44:31 -04:00
|
|
|
|
client: true
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2014-06-20 13:02:04 -04:00
|
|
|
|
regex: "^\\d+$"
|
|
|
|
|
facebook_app_secret:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2014-12-31 02:38:48 -05:00
|
|
|
|
regex: "^[a-f0-9]+$"
|
2018-06-02 09:57:52 -04:00
|
|
|
|
secret: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
enable_github_logins:
|
|
|
|
|
default: false
|
2014-06-20 13:02:04 -04:00
|
|
|
|
github_client_id:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2020-05-23 00:56:13 -04:00
|
|
|
|
regex: "^[a-zA-Z0-9\\.]+$"
|
2014-06-20 13:02:04 -04:00
|
|
|
|
github_client_secret:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2014-12-31 02:38:48 -05:00
|
|
|
|
regex: "^[a-f0-9]+$"
|
2018-06-02 09:57:52 -04:00
|
|
|
|
secret: true
|
2019-08-30 05:54:19 -04:00
|
|
|
|
enable_discord_logins:
|
|
|
|
|
default: false
|
|
|
|
|
discord_client_id:
|
2019-11-27 16:15:34 -05:00
|
|
|
|
default: ""
|
2019-08-30 05:54:19 -04:00
|
|
|
|
discord_secret:
|
2019-11-27 16:15:34 -05:00
|
|
|
|
default: ""
|
2019-08-30 05:54:19 -04:00
|
|
|
|
secret: true
|
|
|
|
|
discord_trusted_guilds:
|
2019-11-27 16:15:34 -05:00
|
|
|
|
default: ""
|
2019-08-30 05:54:19 -04:00
|
|
|
|
type: list
|
2020-09-24 08:58:45 -04:00
|
|
|
|
list_type: simple
|
2021-02-08 05:04:33 -05:00
|
|
|
|
auth_skip_create_confirm:
|
2020-06-18 13:53:17 -04:00
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2021-02-08 05:04:33 -05:00
|
|
|
|
auth_immediately:
|
2020-09-24 12:06:07 -04:00
|
|
|
|
default: true
|
2021-10-26 06:24:10 -04:00
|
|
|
|
auth_overrides_email:
|
|
|
|
|
default: false
|
|
|
|
|
validator: "SsoOverridesEmailValidator"
|
|
|
|
|
client: true
|
|
|
|
|
auth_overrides_username: false
|
|
|
|
|
auth_overrides_name: false
|
2021-02-08 05:04:33 -05:00
|
|
|
|
enable_discourse_connect:
|
2014-03-21 21:14:35 -04:00
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2017-12-23 03:00:49 -05:00
|
|
|
|
validator: "EnableSsoValidator"
|
2023-04-17 13:23:50 -04:00
|
|
|
|
discourse_connect_allowed_redirect_domains:
|
|
|
|
|
default: ""
|
|
|
|
|
type: list
|
|
|
|
|
list_type: simple
|
2021-02-08 05:04:33 -05:00
|
|
|
|
verbose_discourse_connect_logging: false
|
2021-06-04 08:13:58 -04:00
|
|
|
|
verbose_upload_logging:
|
|
|
|
|
hidden: true
|
|
|
|
|
default: false
|
2017-02-13 14:01:01 -05:00
|
|
|
|
verbose_auth_token_logging:
|
|
|
|
|
hidden: true
|
2021-10-20 10:20:39 -04:00
|
|
|
|
default: false
|
2018-11-14 07:26:47 -05:00
|
|
|
|
max_suspicious_distance_km:
|
|
|
|
|
hidden: true
|
2022-10-27 19:01:11 -04:00
|
|
|
|
default: 100
|
2021-02-08 05:04:33 -05:00
|
|
|
|
discourse_connect_url:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2016-04-06 01:42:47 -04:00
|
|
|
|
regex: '^https?:\/\/.+[^\/]$'
|
2021-02-08 05:04:33 -05:00
|
|
|
|
discourse_connect_secret:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2018-06-02 09:57:52 -04:00
|
|
|
|
secret: true
|
2021-02-08 05:04:33 -05:00
|
|
|
|
discourse_connect_overrides_groups: false
|
|
|
|
|
discourse_connect_overrides_bio: false
|
|
|
|
|
discourse_connect_overrides_avatar:
|
2014-08-19 03:49:14 -04:00
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2021-02-08 05:04:33 -05:00
|
|
|
|
discourse_connect_overrides_profile_background: false
|
|
|
|
|
discourse_connect_overrides_location: false
|
|
|
|
|
discourse_connect_overrides_website: false
|
|
|
|
|
discourse_connect_overrides_card_background: false
|
|
|
|
|
discourse_connect_not_approved_url: ""
|
2021-03-11 05:38:34 -05:00
|
|
|
|
discourse_connect_csrf_protection:
|
|
|
|
|
default: true
|
|
|
|
|
hidden: true
|
2021-10-26 06:24:10 -04:00
|
|
|
|
enable_discourse_connect_provider: false
|
|
|
|
|
discourse_connect_provider_secrets:
|
|
|
|
|
default: ""
|
|
|
|
|
type: list
|
|
|
|
|
list_type: secret
|
|
|
|
|
secret: true
|
|
|
|
|
placeholder:
|
|
|
|
|
key: "sso_provider.key_placeholder"
|
|
|
|
|
value: "sso_provider.value_placeholder"
|
2020-07-26 20:23:54 -04:00
|
|
|
|
blocked_email_domains:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "mailinator.com"
|
2023-01-19 11:07:59 -05:00
|
|
|
|
type: host_list
|
2020-09-24 08:58:45 -04:00
|
|
|
|
list_type: simple
|
2020-07-26 20:23:54 -04:00
|
|
|
|
allowed_email_domains:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2023-01-19 11:07:59 -05:00
|
|
|
|
type: host_list
|
2020-09-24 08:58:45 -04:00
|
|
|
|
list_type: simple
|
2021-11-24 04:30:06 -05:00
|
|
|
|
normalize_emails:
|
|
|
|
|
default: false
|
2020-03-31 14:29:15 -04:00
|
|
|
|
auto_approve_email_domains:
|
|
|
|
|
default: ""
|
2023-01-19 11:07:59 -05:00
|
|
|
|
type: host_list
|
2020-09-24 08:58:45 -04:00
|
|
|
|
list_type: simple
|
2021-12-19 20:54:10 -05:00
|
|
|
|
hide_email_address_taken:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2020-11-04 17:30:05 -05:00
|
|
|
|
log_out_strict: false
|
2021-06-24 09:02:56 -04:00
|
|
|
|
pending_users_reminder_delay_minutes:
|
2015-11-20 16:05:57 -05:00
|
|
|
|
min: -1
|
2021-06-24 09:02:56 -04:00
|
|
|
|
default: 480
|
2020-09-11 01:11:13 -04:00
|
|
|
|
persistent_sessions: true
|
2016-07-22 17:27:30 -04:00
|
|
|
|
maximum_session_age:
|
2016-07-24 22:07:31 -04:00
|
|
|
|
default: 1440
|
2016-07-22 17:27:30 -04:00
|
|
|
|
min: 1
|
|
|
|
|
max: 175200
|
2014-07-13 05:23:31 -04:00
|
|
|
|
users:
|
|
|
|
|
min_username_length:
|
|
|
|
|
client: true
|
|
|
|
|
default: 3
|
2018-08-22 15:49:52 -04:00
|
|
|
|
validator: "MinUsernameLengthValidator"
|
2014-07-13 05:23:31 -04:00
|
|
|
|
max_username_length:
|
|
|
|
|
client: true
|
|
|
|
|
default: 20
|
2018-08-22 15:49:52 -04:00
|
|
|
|
validator: "MaxUsernameLengthValidator"
|
2019-04-23 06:22:47 -04:00
|
|
|
|
unicode_usernames:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
|
|
|
|
validator: "UnicodeUsernameValidator"
|
2020-07-26 20:23:54 -04:00
|
|
|
|
allowed_unicode_username_characters:
|
|
|
|
|
validator: "UnicodeUsernameAllowlistValidator"
|
2019-04-23 06:22:47 -04:00
|
|
|
|
default: ""
|
|
|
|
|
locale_default:
|
2019-06-07 08:37:13 -04:00
|
|
|
|
cs: "[ěščřžýáíéóůúďťňĚŠČŘŽÝÁÍÉÓŮÚĎŤŇ]"
|
2019-04-23 06:22:47 -04:00
|
|
|
|
de: "[äöüßÄÖÜẞ]"
|
2019-06-07 08:37:13 -04:00
|
|
|
|
fi: "[åäöÅÄÖ]"
|
|
|
|
|
ja: '[\p{Han}\p{Katakana}\p{Hiragana}]'
|
|
|
|
|
ko: '\p{Hangul}'
|
|
|
|
|
zh_CN: '\p{Han}'
|
|
|
|
|
zh_TW: '\p{Han}'
|
2015-07-01 16:44:53 -04:00
|
|
|
|
reserved_usernames:
|
|
|
|
|
type: list
|
2018-08-29 06:12:35 -04:00
|
|
|
|
list_type: compact
|
2022-03-16 09:55:21 -04:00
|
|
|
|
default: "admin|moderator|administrator|mod|sys|system|community|info|you|name|username|user|nickname|discourse|discourseorg|discourseforum|support|all|here"
|
2014-07-13 05:23:31 -04:00
|
|
|
|
min_password_length:
|
|
|
|
|
client: true
|
2016-03-02 03:31:38 -05:00
|
|
|
|
default: 10
|
2017-03-05 04:08:37 -05:00
|
|
|
|
min: 8
|
2017-04-27 19:38:50 -04:00
|
|
|
|
max: 500
|
2016-03-02 03:31:38 -05:00
|
|
|
|
min_admin_password_length:
|
|
|
|
|
client: true
|
|
|
|
|
default: 15
|
2017-03-05 04:08:37 -05:00
|
|
|
|
min: 8
|
2017-04-27 19:38:50 -04:00
|
|
|
|
max: 500
|
2017-02-09 15:00:22 -05:00
|
|
|
|
password_unique_characters:
|
2017-02-16 20:06:19 -05:00
|
|
|
|
default: 6
|
2017-02-09 15:00:22 -05:00
|
|
|
|
min: 1
|
2017-04-27 19:39:27 -04:00
|
|
|
|
max: 10
|
2014-07-13 05:23:31 -04:00
|
|
|
|
block_common_passwords: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
username_change_period: 3
|
2021-01-25 11:49:26 -05:00
|
|
|
|
email_editable:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2014-08-14 22:57:29 -04:00
|
|
|
|
logout_redirect:
|
|
|
|
|
client: true
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2015-04-02 17:07:56 -04:00
|
|
|
|
full_name_required:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2013-11-13 14:02:47 -05:00
|
|
|
|
enable_names:
|
2013-11-06 15:47:26 -05:00
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2017-01-27 07:01:09 -05:00
|
|
|
|
invite_expiry_days:
|
2022-02-03 14:07:40 -05:00
|
|
|
|
default: 90
|
2021-11-18 13:19:02 -05:00
|
|
|
|
client: true
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2014-08-01 07:06:31 -04:00
|
|
|
|
invites_per_page:
|
2013-11-06 15:47:26 -05:00
|
|
|
|
client: true
|
2014-08-01 07:06:31 -04:00
|
|
|
|
default: 40
|
2017-05-24 02:00:43 -04:00
|
|
|
|
hidden: true
|
2014-02-20 12:29:40 -05:00
|
|
|
|
delete_user_max_post_age:
|
2013-11-06 15:47:26 -05:00
|
|
|
|
client: true
|
2014-01-08 17:50:08 -05:00
|
|
|
|
default: 60
|
2014-04-14 15:10:32 -04:00
|
|
|
|
delete_all_posts_max:
|
|
|
|
|
client: true
|
|
|
|
|
default: 15
|
2017-04-20 03:49:50 -04:00
|
|
|
|
min: 1
|
2020-04-01 16:10:17 -04:00
|
|
|
|
delete_user_self_max_post_count:
|
|
|
|
|
default: 1
|
|
|
|
|
min: -1
|
2014-03-31 15:53:38 -04:00
|
|
|
|
redirect_users_to_top_page: true
|
2016-06-08 00:29:24 -04:00
|
|
|
|
prioritize_username_in_ux:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2016-01-14 02:21:34 -05:00
|
|
|
|
email_token_valid_hours:
|
2016-07-18 05:00:18 -04:00
|
|
|
|
default: 48
|
2016-01-14 02:21:34 -05:00
|
|
|
|
min: 1
|
2017-01-27 03:52:13 -05:00
|
|
|
|
purge_unactivated_users_grace_period_days:
|
|
|
|
|
default: 14
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2014-12-03 00:25:43 -05:00
|
|
|
|
public_user_custom_fields:
|
|
|
|
|
type: list
|
2020-09-24 08:58:45 -04:00
|
|
|
|
list_type: simple
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2015-03-03 01:51:01 -05:00
|
|
|
|
staff_user_custom_fields:
|
|
|
|
|
type: list
|
2020-09-24 08:58:45 -04:00
|
|
|
|
list_type: simple
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2015-03-26 11:26:19 -04:00
|
|
|
|
enable_user_directory:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2015-04-07 04:02:10 -04:00
|
|
|
|
allow_anonymous_posting:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
|
|
|
|
anonymous_posting_min_trust_level:
|
|
|
|
|
default: 1
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "TrustLevelSetting"
|
2015-04-07 04:02:10 -04:00
|
|
|
|
client: true
|
2015-04-07 22:29:43 -04:00
|
|
|
|
anonymous_account_duration_minutes:
|
|
|
|
|
default: 10080
|
2017-04-20 03:49:50 -04:00
|
|
|
|
max: 99000
|
2020-10-09 17:18:44 -04:00
|
|
|
|
allow_users_to_hide_profile:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
2015-10-28 14:56:08 -04:00
|
|
|
|
hide_user_profiles_from_public:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2019-12-09 14:15:47 -05:00
|
|
|
|
allow_featured_topic_on_user_profiles:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
2017-12-07 01:23:27 -05:00
|
|
|
|
show_inactive_accounts:
|
|
|
|
|
default: false
|
2020-07-26 20:23:54 -04:00
|
|
|
|
allowed_user_website_domains:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2016-12-26 10:24:54 -05:00
|
|
|
|
type: list
|
2020-09-24 08:58:45 -04:00
|
|
|
|
list_type: simple
|
2017-09-12 16:06:01 -04:00
|
|
|
|
hide_suspension_reasons:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2018-01-27 07:51:22 -05:00
|
|
|
|
log_personal_messages_views: false
|
2019-03-14 18:51:43 -04:00
|
|
|
|
ignored_users_count_message_threshold:
|
|
|
|
|
default: 5
|
|
|
|
|
client: true
|
|
|
|
|
min: 1
|
|
|
|
|
ignored_users_message_gap_days:
|
|
|
|
|
default: 365
|
|
|
|
|
client: true
|
|
|
|
|
min: 1
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2019-03-18 11:25:15 -04:00
|
|
|
|
clean_up_inactive_users_after_days:
|
|
|
|
|
default: 730
|
2019-04-29 00:51:02 -04:00
|
|
|
|
min: 0
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2020-03-07 17:34:28 -05:00
|
|
|
|
clean_up_unused_staged_users_after_days:
|
|
|
|
|
default: 365
|
|
|
|
|
min: 0
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2019-10-28 13:46:27 -04:00
|
|
|
|
user_selected_primary_groups:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2020-02-23 19:42:50 -05:00
|
|
|
|
max_notifications_per_user:
|
|
|
|
|
default: 10000
|
2020-03-12 11:23:55 -04:00
|
|
|
|
gravatar_name:
|
|
|
|
|
default: Gravatar
|
|
|
|
|
client: true
|
|
|
|
|
gravatar_base_url:
|
|
|
|
|
default: www.gravatar.com
|
|
|
|
|
client: true
|
|
|
|
|
gravatar_login_url:
|
|
|
|
|
default: /emails
|
|
|
|
|
client: true
|
2021-04-08 23:06:35 -04:00
|
|
|
|
max_bookmarks_per_user:
|
|
|
|
|
default: 2000
|
|
|
|
|
hidden: true
|
2021-10-19 06:37:39 -04:00
|
|
|
|
use_email_for_username_and_name_suggestions:
|
|
|
|
|
default: false
|
2022-04-29 09:00:13 -04:00
|
|
|
|
use_name_for_username_suggestions:
|
|
|
|
|
default: true
|
2014-07-01 19:08:25 -04:00
|
|
|
|
|
2016-12-22 01:14:03 -05:00
|
|
|
|
groups:
|
|
|
|
|
enable_group_directory:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2018-02-19 04:20:17 -05:00
|
|
|
|
group_in_subject:
|
|
|
|
|
default: false
|
2020-07-14 12:36:19 -04:00
|
|
|
|
enable_category_group_moderation:
|
2019-04-17 17:12:32 -04:00
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2016-12-22 01:14:03 -05:00
|
|
|
|
|
2013-11-13 14:02:47 -05:00
|
|
|
|
posting:
|
2013-11-06 15:47:26 -05:00
|
|
|
|
min_post_length:
|
|
|
|
|
client: true
|
2014-08-29 16:20:23 -04:00
|
|
|
|
min: 1
|
2017-08-06 21:43:09 -04:00
|
|
|
|
default: 20
|
|
|
|
|
locale_default:
|
2018-09-11 05:58:22 -04:00
|
|
|
|
ja: 8
|
2017-08-06 21:43:09 -04:00
|
|
|
|
zh_CN: 8
|
|
|
|
|
zh_TW: 8
|
2015-03-19 10:17:55 -04:00
|
|
|
|
min_first_post_length:
|
|
|
|
|
client: true
|
|
|
|
|
min: 1
|
2017-08-06 21:43:09 -04:00
|
|
|
|
default: 20
|
|
|
|
|
locale_default:
|
2018-09-11 05:58:22 -04:00
|
|
|
|
ja: 8
|
2017-08-06 21:43:09 -04:00
|
|
|
|
zh_CN: 8
|
|
|
|
|
zh_TW: 8
|
2018-01-31 00:56:00 -05:00
|
|
|
|
min_personal_message_post_length:
|
2013-11-06 15:47:26 -05:00
|
|
|
|
client: true
|
2014-08-29 16:20:23 -04:00
|
|
|
|
min: 1
|
2017-08-06 21:43:09 -04:00
|
|
|
|
default: 10
|
|
|
|
|
locale_default:
|
2018-09-11 05:58:22 -04:00
|
|
|
|
ja: 3
|
2017-08-06 21:43:09 -04:00
|
|
|
|
zh_CN: 3
|
|
|
|
|
zh_TW: 3
|
2013-11-06 15:47:26 -05:00
|
|
|
|
max_post_length:
|
|
|
|
|
client: true
|
2014-07-24 14:27:34 -04:00
|
|
|
|
default: 32000
|
2020-03-12 03:10:03 -04:00
|
|
|
|
max: 150000
|
2016-12-05 07:31:43 -05:00
|
|
|
|
topic_featured_link_enabled:
|
|
|
|
|
client: true
|
2016-12-09 16:08:17 -05:00
|
|
|
|
default: true
|
2017-08-06 21:43:09 -04:00
|
|
|
|
body_min_entropy:
|
|
|
|
|
default: 7
|
|
|
|
|
locale_default:
|
2018-06-28 11:21:50 -04:00
|
|
|
|
ja: 3
|
2017-08-06 21:43:09 -04:00
|
|
|
|
zh_CN: 3
|
|
|
|
|
zh_TW: 3
|
2020-10-28 23:18:43 -04:00
|
|
|
|
min_topic_views_for_delete_confirm:
|
|
|
|
|
client: true
|
|
|
|
|
default: 5000
|
2013-11-06 15:47:26 -05:00
|
|
|
|
min_topic_title_length:
|
|
|
|
|
client: true
|
|
|
|
|
default: 15
|
2017-10-27 14:08:21 -04:00
|
|
|
|
min: 1
|
2017-08-06 21:43:09 -04:00
|
|
|
|
locale_default:
|
2018-09-11 05:58:22 -04:00
|
|
|
|
ja: 6
|
2017-08-06 21:43:09 -04:00
|
|
|
|
zh_CN: 6
|
|
|
|
|
zh_TW: 6
|
2013-11-06 15:47:26 -05:00
|
|
|
|
max_topic_title_length:
|
|
|
|
|
client: true
|
|
|
|
|
default: 255
|
2017-10-27 14:08:21 -04:00
|
|
|
|
min: 5
|
2015-11-12 01:29:55 -05:00
|
|
|
|
max: 255
|
2017-08-06 21:43:09 -04:00
|
|
|
|
title_min_entropy:
|
|
|
|
|
default: 10
|
|
|
|
|
locale_default:
|
2018-06-28 11:21:50 -04:00
|
|
|
|
ja: 3
|
2017-08-06 21:43:09 -04:00
|
|
|
|
zh_CN: 3
|
|
|
|
|
zh_TW: 3
|
2018-06-28 11:21:50 -04:00
|
|
|
|
allow_uppercase_posts:
|
|
|
|
|
default: false
|
|
|
|
|
locale_default:
|
2018-09-11 05:58:22 -04:00
|
|
|
|
ja: true
|
2018-11-14 09:48:16 -05:00
|
|
|
|
max_consecutive_replies:
|
2018-11-14 16:58:05 -05:00
|
|
|
|
default: 3
|
2020-12-10 12:02:07 -05:00
|
|
|
|
enable_filtered_replies_view:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2017-08-06 21:43:09 -04:00
|
|
|
|
title_prettify:
|
|
|
|
|
default: true
|
|
|
|
|
locale_default:
|
2018-06-28 11:21:50 -04:00
|
|
|
|
ja: false
|
2017-08-06 21:43:09 -04:00
|
|
|
|
zh_CN: false
|
|
|
|
|
zh_TW: false
|
2019-05-15 17:43:00 -04:00
|
|
|
|
title_remove_extraneous_space:
|
|
|
|
|
default: false
|
|
|
|
|
locale_default:
|
|
|
|
|
en: true
|
2021-01-20 15:32:22 -05:00
|
|
|
|
en_GB: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
title_fancy_entities: true
|
2018-01-31 00:56:00 -05:00
|
|
|
|
min_personal_message_title_length:
|
2013-11-06 15:47:26 -05:00
|
|
|
|
client: true
|
|
|
|
|
default: 2
|
2016-05-19 06:50:28 -04:00
|
|
|
|
min: 1
|
2018-02-17 00:10:30 -05:00
|
|
|
|
max_emojis_in_title: 1
|
2013-11-06 15:47:26 -05:00
|
|
|
|
allow_uncategorized_topics:
|
|
|
|
|
client: true
|
2022-09-30 14:20:21 -04:00
|
|
|
|
default: false
|
2014-02-21 00:52:11 -05:00
|
|
|
|
refresh: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
allow_duplicate_topic_titles: false
|
2020-06-18 11:19:47 -04:00
|
|
|
|
allow_duplicate_topic_titles_category: false
|
2013-11-13 14:02:47 -05:00
|
|
|
|
min_title_similar_length:
|
2013-11-06 15:47:26 -05:00
|
|
|
|
client: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
default: 10
|
2017-08-06 21:43:09 -04:00
|
|
|
|
locale_default:
|
2018-09-11 05:58:22 -04:00
|
|
|
|
ja: 4
|
2017-08-06 21:43:09 -04:00
|
|
|
|
zh_CN: 4
|
|
|
|
|
zh_TW: 4
|
2018-01-23 13:11:39 -05:00
|
|
|
|
enable_system_message_replies:
|
|
|
|
|
default: true
|
2022-09-25 23:58:40 -04:00
|
|
|
|
personal_message_enabled_groups:
|
|
|
|
|
default: "11" # auto group trust_level_1
|
|
|
|
|
type: group_list
|
|
|
|
|
client: true
|
|
|
|
|
allow_any: false
|
|
|
|
|
refresh: true
|
|
|
|
|
validator: "PersonalMessageEnabledGroupsValidator"
|
2015-11-24 14:28:42 -05:00
|
|
|
|
editing_grace_period: 300
|
2018-03-07 04:45:48 -05:00
|
|
|
|
editing_grace_period_max_diff: 100
|
2018-03-08 19:58:50 -05:00
|
|
|
|
editing_grace_period_max_diff_high_trust: 400
|
2018-01-26 13:45:52 -05:00
|
|
|
|
staff_edit_locks_post: false
|
2018-03-13 15:59:12 -04:00
|
|
|
|
shared_drafts_category:
|
|
|
|
|
type: category
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2020-12-03 09:07:57 -05:00
|
|
|
|
shared_drafts_min_trust_level:
|
|
|
|
|
default: "staff"
|
|
|
|
|
enum: "TrustLevelAndStaffSetting"
|
2017-05-10 18:16:57 -04:00
|
|
|
|
post_edit_time_limit:
|
2019-09-06 07:44:12 -04:00
|
|
|
|
default: 1440
|
|
|
|
|
max: 10080
|
|
|
|
|
tl2_post_edit_time_limit:
|
2019-08-30 00:27:18 -04:00
|
|
|
|
default: 43200
|
2017-05-03 10:06:55 -04:00
|
|
|
|
max: 525600
|
2013-11-13 14:02:47 -05:00
|
|
|
|
edit_history_visible_to_public:
|
2013-11-06 15:47:26 -05:00
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
delete_removed_posts_after:
|
2013-11-06 15:47:26 -05:00
|
|
|
|
client: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
default: 24
|
2022-06-30 00:46:48 -04:00
|
|
|
|
max: 876000
|
2021-11-24 10:28:20 -05:00
|
|
|
|
notify_users_after_responses_deleted_on_flagged_post:
|
|
|
|
|
default: false
|
2013-11-13 14:02:47 -05:00
|
|
|
|
traditional_markdown_linebreaks:
|
2013-11-06 15:47:26 -05:00
|
|
|
|
client: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
default: false
|
2017-06-27 16:50:13 -04:00
|
|
|
|
enable_markdown_typographer:
|
|
|
|
|
client: true
|
2017-07-14 08:27:28 -04:00
|
|
|
|
default: true
|
2018-01-31 21:22:38 -05:00
|
|
|
|
enable_markdown_linkify:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
|
|
|
|
markdown_linkify_tlds:
|
|
|
|
|
client: true
|
|
|
|
|
type: list
|
2021-09-09 03:24:42 -04:00
|
|
|
|
default: "com|net|org|io|onion|co|tv|ru|cn|us|uk|me|de|fr|fi|gov"
|
2018-08-03 18:27:57 -04:00
|
|
|
|
list_type: compact
|
2022-04-15 11:14:28 -04:00
|
|
|
|
validator: "MarkdownLinkifyTldsValidator"
|
2019-07-11 17:15:35 -04: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 03:39:39 -05:00
|
|
|
|
enable_rich_text_paste:
|
|
|
|
|
client: true
|
2018-08-01 07:06:16 -04:00
|
|
|
|
default: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
suppress_reply_directly_below:
|
2013-11-06 15:47:26 -05:00
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
suppress_reply_directly_above:
|
2013-11-06 15:47:26 -05:00
|
|
|
|
client: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
default: true
|
2014-07-29 20:55:49 -04:00
|
|
|
|
suppress_reply_when_quoting:
|
|
|
|
|
default: true
|
2018-12-12 09:42:53 -05:00
|
|
|
|
remove_full_quote:
|
|
|
|
|
default: true
|
2014-10-26 18:44:42 -04:00
|
|
|
|
max_reply_history:
|
|
|
|
|
default: 1
|
|
|
|
|
client: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
post_undo_action_window_mins: 10
|
2017-12-07 11:30:47 -05:00
|
|
|
|
enable_mentions:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
max_mentions_per_post: 10
|
2022-12-06 12:54:04 -05:00
|
|
|
|
max_users_notified_per_group_mention:
|
|
|
|
|
default: 100
|
|
|
|
|
client: true
|
2013-12-19 13:45:55 -05:00
|
|
|
|
newuser_max_replies_per_topic: 3
|
2013-11-13 14:02:47 -05:00
|
|
|
|
newuser_max_mentions_per_post: 2
|
2021-11-23 15:25:54 -05:00
|
|
|
|
here_mention:
|
|
|
|
|
default: "here"
|
|
|
|
|
validator: "NotUsernameValidator"
|
|
|
|
|
client: true
|
|
|
|
|
max_here_mentioned: 10
|
|
|
|
|
min_trust_level_for_here_mention:
|
|
|
|
|
default: "2"
|
|
|
|
|
enum: "TrustLevelAndStaffSetting"
|
2019-03-13 02:22:46 -04:00
|
|
|
|
title_max_word_length:
|
|
|
|
|
default: 30
|
|
|
|
|
locale_default:
|
|
|
|
|
ja: 50
|
|
|
|
|
ko: 50
|
|
|
|
|
zh_CN: 50
|
|
|
|
|
zh_TW: 50
|
2020-07-26 20:23:54 -04:00
|
|
|
|
allowed_link_domains:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2018-06-13 14:57:32 -04:00
|
|
|
|
type: list
|
2013-11-13 14:02:47 -05:00
|
|
|
|
newuser_max_links: 2
|
2020-08-07 12:08:59 -04:00
|
|
|
|
newuser_max_embedded_media:
|
2013-11-06 15:47:26 -05:00
|
|
|
|
client: true
|
2015-09-06 06:11:02 -04:00
|
|
|
|
default: 1
|
2013-11-13 14:02:47 -05:00
|
|
|
|
newuser_max_attachments:
|
2013-11-06 15:47:26 -05:00
|
|
|
|
client: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
default: 0
|
2017-08-06 21:43:09 -04:00
|
|
|
|
post_excerpt_maxlength:
|
|
|
|
|
default: 300
|
2021-05-19 06:26:15 -04:00
|
|
|
|
max: 1000
|
2017-08-06 21:43:09 -04:00
|
|
|
|
locale_default:
|
2018-09-11 05:58:22 -04:00
|
|
|
|
ja: 120
|
2017-08-06 21:43:09 -04:00
|
|
|
|
zh_CN: 120
|
|
|
|
|
zh_TW: 120
|
2020-05-23 00:56:13 -04:00
|
|
|
|
topic_excerpt_maxlength:
|
|
|
|
|
default: 220
|
2021-05-19 06:26:15 -04:00
|
|
|
|
max: 1000
|
2020-05-23 00:56:13 -04:00
|
|
|
|
locale_default:
|
|
|
|
|
ja: 120
|
|
|
|
|
zh_CN: 120
|
|
|
|
|
zh_TW: 120
|
2023-05-10 13:34:39 -04:00
|
|
|
|
default_subcategory_on_read_only_category:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2016-07-11 23:51:44 -04:00
|
|
|
|
show_pinned_excerpt_mobile:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
|
|
|
|
show_pinned_excerpt_desktop:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
display_name_on_posts:
|
2013-11-06 15:47:26 -05:00
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2015-06-18 17:06:25 -04:00
|
|
|
|
show_time_gap_days:
|
2015-06-29 15:53:44 -04:00
|
|
|
|
default: 7
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2015-06-18 17:06:25 -04:00
|
|
|
|
client: true
|
2013-12-05 17:03:31 -05:00
|
|
|
|
short_progress_text_threshold:
|
|
|
|
|
client: true
|
2014-07-04 05:44:39 -04:00
|
|
|
|
default: 10000
|
2017-04-20 03:49:50 -04:00
|
|
|
|
max: 99000
|
2013-12-16 20:08:29 -05:00
|
|
|
|
default_code_lang:
|
|
|
|
|
client: true
|
2014-10-05 14:55:57 -04:00
|
|
|
|
default: "auto"
|
2014-03-12 10:44:08 -04:00
|
|
|
|
warn_reviving_old_topic_age: 180
|
2014-03-31 03:44:35 -04:00
|
|
|
|
autohighlight_all_code:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2015-03-13 01:15:13 -04:00
|
|
|
|
highlighted_languages:
|
2022-09-20 11:43:28 -04:00
|
|
|
|
default: "bash|c|cpp|csharp|css|diff|go|graphql|ini|java|javascript|json|kotlin|lua|makefile|markdown|objectivec|perl|php|php-template|plaintext|python|python-repl|r|ruby|rust|scss|shell|sql|swift|typescript|xml|yaml|wasm"
|
2019-01-17 13:05:39 -05:00
|
|
|
|
choices: "HighlightJs.languages"
|
2015-03-13 01:15:13 -04:00
|
|
|
|
type: list
|
|
|
|
|
client: true
|
2018-08-03 18:27:57 -04:00
|
|
|
|
list_type: compact
|
2020-04-21 09:02:13 -04:00
|
|
|
|
show_copy_button_on_codeblocks:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2014-09-25 13:51:00 -04:00
|
|
|
|
delete_old_hidden_posts: true
|
2014-12-22 19:12:26 -05:00
|
|
|
|
enable_emoji:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
2018-01-23 20:21:44 -05:00
|
|
|
|
enable_emoji_shortcuts:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
2014-12-22 19:12:26 -05:00
|
|
|
|
emoji_set:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "twitter"
|
2014-12-22 19:12:26 -05:00
|
|
|
|
client: true
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "EmojiSetSiteSetting"
|
2018-07-25 02:39:06 -04:00
|
|
|
|
emoji_autocomplete_min_chars:
|
|
|
|
|
client: true
|
|
|
|
|
default: 0
|
|
|
|
|
locale_default:
|
|
|
|
|
fr: 1
|
2018-11-26 09:26:59 -05:00
|
|
|
|
enable_inline_emoji_translation:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
|
|
|
|
locale_default:
|
|
|
|
|
zh_CN: true
|
|
|
|
|
zh_TW: true
|
|
|
|
|
ja: true
|
|
|
|
|
ko: true
|
2023-04-13 03:38:54 -04:00
|
|
|
|
emoji_deny_list:
|
|
|
|
|
type: emoji_list
|
|
|
|
|
default: ""
|
|
|
|
|
client: true
|
|
|
|
|
refresh: true
|
2015-04-15 12:12:20 -04:00
|
|
|
|
approve_post_count:
|
|
|
|
|
default: 0
|
|
|
|
|
approve_unless_trust_level:
|
|
|
|
|
default: 0
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "TrustLevelSetting"
|
2016-09-19 14:07:15 -04:00
|
|
|
|
approve_new_topics_unless_trust_level:
|
|
|
|
|
default: 0
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "TrustLevelSetting"
|
2020-01-29 13:38:27 -05:00
|
|
|
|
approve_suspect_users:
|
2020-03-10 07:56:42 -04:00
|
|
|
|
default: true
|
2018-04-06 05:41:25 -04:00
|
|
|
|
approve_unless_staged:
|
|
|
|
|
default: false
|
2015-06-18 15:46:50 -04:00
|
|
|
|
notify_about_queued_posts_after:
|
2022-05-04 12:33:43 -04:00
|
|
|
|
type: float
|
2015-06-18 15:46:50 -04:00
|
|
|
|
default: 24
|
2023-02-16 04:40:11 -05:00
|
|
|
|
min: 0
|
2018-04-17 02:23:10 -04:00
|
|
|
|
auto_close_messages_post_count:
|
|
|
|
|
default: 500
|
|
|
|
|
auto_close_topics_post_count:
|
|
|
|
|
default: 10000
|
2020-11-02 01:48:48 -05:00
|
|
|
|
auto_close_topics_create_linked_topic:
|
|
|
|
|
default: true
|
2016-06-26 14:30:45 -04:00
|
|
|
|
code_formatting_style:
|
|
|
|
|
client: true
|
|
|
|
|
type: enum
|
2021-05-25 12:38:53 -04:00
|
|
|
|
default: "code-fences"
|
2016-06-26 14:30:45 -04:00
|
|
|
|
choices:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
- code-fences
|
2021-05-25 12:38:53 -04:00
|
|
|
|
- 4-spaces-indent
|
2019-09-10 12:27:07 -04:00
|
|
|
|
embed_any_origin: false
|
2019-08-15 13:41:06 -04:00
|
|
|
|
embed_topics_list: false
|
2020-03-09 10:31:24 -04:00
|
|
|
|
embed_set_canonical_url: false
|
2020-10-01 15:40:13 -04:00
|
|
|
|
embed_unlisted: true
|
2020-04-13 15:17:02 -04:00
|
|
|
|
embed_truncate: true
|
|
|
|
|
embed_support_markdown: false
|
2020-07-26 20:23:54 -04:00
|
|
|
|
allowed_embed_selectors: ""
|
2016-10-21 11:39:48 -04:00
|
|
|
|
allowed_href_schemes:
|
|
|
|
|
client: true
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2016-10-21 11:39:48 -04:00
|
|
|
|
type: list
|
2018-08-03 18:27:57 -04:00
|
|
|
|
list_type: compact
|
2017-07-05 13:09:45 -04:00
|
|
|
|
max_allowed_message_recipients:
|
|
|
|
|
default: 30
|
|
|
|
|
min: 1
|
2017-09-27 15:48:57 -04:00
|
|
|
|
watched_words_regular_expressions:
|
2018-01-10 14:11:14 -05:00
|
|
|
|
client: true
|
2017-09-27 15:48:57 -04:00
|
|
|
|
default: false
|
2021-02-18 09:07:26 -05:00
|
|
|
|
enable_diffhtml_preview:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2021-09-15 11:10:30 -04:00
|
|
|
|
enable_fast_edit:
|
2021-09-22 04:15:17 -04:00
|
|
|
|
default: true
|
2021-09-15 11:10:30 -04:00
|
|
|
|
client: true
|
2019-03-18 12:20:49 -04:00
|
|
|
|
old_post_notice_days:
|
|
|
|
|
default: 14
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2019-03-18 12:20:49 -04:00
|
|
|
|
client: true
|
2019-04-19 10:53:58 -04:00
|
|
|
|
new_user_notice_tl:
|
|
|
|
|
default: 2
|
|
|
|
|
enum: "TrustLevelSetting"
|
|
|
|
|
returning_user_notice_tl:
|
|
|
|
|
default: 2
|
|
|
|
|
enum: "TrustLevelSetting"
|
2019-03-08 03:48:35 -05:00
|
|
|
|
returning_users_days:
|
2019-03-16 08:20:31 -04:00
|
|
|
|
default: 120
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2020-09-18 11:45:09 -04:00
|
|
|
|
review_media_unless_trust_level:
|
|
|
|
|
default: 0
|
|
|
|
|
enum: "TrustLevelSetting"
|
2020-11-11 12:09:42 -05:00
|
|
|
|
blur_tl0_flagged_posts_media:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
2020-04-08 12:52:36 -04:00
|
|
|
|
enable_page_publishing:
|
|
|
|
|
default: false
|
2020-06-17 06:42:20 -04:00
|
|
|
|
show_published_pages_login_required:
|
|
|
|
|
default: false
|
2020-12-23 00:30:10 -05:00
|
|
|
|
skip_auto_delete_reply_likes: 5
|
2021-04-21 07:41:36 -04:00
|
|
|
|
review_every_post:
|
|
|
|
|
default: false
|
2023-01-25 06:50:21 -05:00
|
|
|
|
max_draft_length:
|
|
|
|
|
default: 400_000
|
|
|
|
|
hidden: true
|
2021-04-21 07:41:36 -04:00
|
|
|
|
|
2013-11-13 14:02:47 -05:00
|
|
|
|
email:
|
2014-12-02 12:15:32 -05:00
|
|
|
|
email_time_window_mins:
|
|
|
|
|
default: 10
|
|
|
|
|
client: true
|
2018-01-31 01:07:10 -05:00
|
|
|
|
personal_email_time_window_seconds: 20
|
2013-11-13 14:02:47 -05:00
|
|
|
|
email_posts_context: 5
|
2017-08-06 21:43:09 -04:00
|
|
|
|
digest_min_excerpt_length:
|
|
|
|
|
default: 100
|
|
|
|
|
locale_default:
|
2018-09-11 05:58:22 -04:00
|
|
|
|
ja: 50
|
2017-08-06 21:43:09 -04:00
|
|
|
|
zh_CN: 50
|
|
|
|
|
zh_TW: 50
|
2016-11-10 18:16:24 -05:00
|
|
|
|
digest_topics:
|
|
|
|
|
default: 5
|
|
|
|
|
min: 1
|
2018-05-24 14:39:28 -04:00
|
|
|
|
max: 20
|
|
|
|
|
digest_posts:
|
|
|
|
|
default: 5
|
|
|
|
|
min: 0
|
|
|
|
|
max: 20
|
|
|
|
|
digest_other_topics:
|
|
|
|
|
default: 5
|
|
|
|
|
min: 0
|
|
|
|
|
max: 20
|
2017-02-08 12:11:34 -05:00
|
|
|
|
suppress_digest_email_after_days:
|
2021-11-22 12:37:32 -05:00
|
|
|
|
default: 180
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2016-03-25 15:12:00 -04:00
|
|
|
|
digest_suppress_categories:
|
|
|
|
|
type: category_list
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2015-01-26 23:46:21 -05:00
|
|
|
|
disable_digest_emails:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2019-07-30 15:05:08 -04:00
|
|
|
|
apply_custom_styles_to_digest: true
|
2020-03-09 05:07:03 -04:00
|
|
|
|
email_accent_bg_color:
|
|
|
|
|
type: color
|
|
|
|
|
default: "#2F70AC"
|
2021-07-22 10:42:47 -04:00
|
|
|
|
validator: "CssColorValidator"
|
|
|
|
|
email_accent_fg_color:
|
|
|
|
|
type: color
|
|
|
|
|
default: "#FFFFFF"
|
|
|
|
|
validator: "CssColorValidator"
|
|
|
|
|
email_link_color:
|
|
|
|
|
type: color
|
|
|
|
|
default: "#006699"
|
|
|
|
|
validator: "CssColorValidator"
|
2016-12-09 13:49:47 -05:00
|
|
|
|
show_topic_featured_link_in_digest: false
|
2019-01-17 13:05:39 -05:00
|
|
|
|
email_custom_headers: "Auto-Submitted: auto-generated"
|
|
|
|
|
email_subject: "[%{site_name}] %{optional_pm}%{optional_cat}%{topic_title}"
|
2016-02-09 17:35:40 -05:00
|
|
|
|
reply_by_email_enabled:
|
|
|
|
|
default: false
|
|
|
|
|
validator: "ReplyByEmailEnabledValidator"
|
2014-12-31 03:04:20 -05:00
|
|
|
|
reply_by_email_address:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2018-03-02 11:53:18 -05:00
|
|
|
|
validator: "ReplyByEmailAddressValidator"
|
2016-06-10 10:14:42 -04:00
|
|
|
|
alternative_reply_by_email_addresses:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2016-06-27 16:48:27 -04:00
|
|
|
|
validator: "AlternativeReplyByEmailAddressesValidator"
|
2017-06-19 07:12:55 -04:00
|
|
|
|
find_related_post_with_key:
|
2017-07-31 18:03:04 -04:00
|
|
|
|
default: true
|
2016-03-16 17:28:01 -04:00
|
|
|
|
manual_polling_enabled:
|
|
|
|
|
default: false
|
2015-12-10 16:23:54 -05:00
|
|
|
|
pop3_polling_enabled:
|
|
|
|
|
default: false
|
|
|
|
|
validator: "POP3PollingEnabledSettingValidator"
|
2014-08-26 20:00:27 -04:00
|
|
|
|
pop3_polling_ssl: true
|
2016-11-11 15:59:15 -05:00
|
|
|
|
pop3_polling_openssl_verify: true
|
2014-08-26 19:52:35 -04:00
|
|
|
|
pop3_polling_period_mins: 5
|
2019-01-17 13:05:39 -05:00
|
|
|
|
pop3_polling_host: ""
|
2014-08-26 19:52:35 -04:00
|
|
|
|
pop3_polling_port: 995
|
2019-01-17 13:05:39 -05:00
|
|
|
|
pop3_polling_username: ""
|
2018-09-10 21:09:09 -04:00
|
|
|
|
pop3_polling_password:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2018-09-10 21:09:09 -04:00
|
|
|
|
secret: true
|
2017-12-14 10:03:27 -05:00
|
|
|
|
pop3_polling_delete_from_server: true
|
2015-07-31 01:10:18 -04:00
|
|
|
|
log_mail_processing_failures: false
|
2018-02-21 05:14:36 -05:00
|
|
|
|
incoming_email_prefer_html: true
|
2019-04-15 02:26:00 -04:00
|
|
|
|
strip_incoming_email_lines: false
|
2014-02-27 07:44:21 -05:00
|
|
|
|
email_in:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2014-02-24 11:36:53 -05:00
|
|
|
|
email_in_min_trust:
|
2014-07-11 15:35:17 -04:00
|
|
|
|
default: 2
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "TrustLevelSetting"
|
2019-11-26 09:55:22 -05:00
|
|
|
|
email_in_authserv_id:
|
|
|
|
|
default: ""
|
2018-07-05 05:07:46 -04:00
|
|
|
|
email_in_spam_header:
|
|
|
|
|
type: enum
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "none"
|
2018-07-05 05:07:46 -04:00
|
|
|
|
choices:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
- none
|
|
|
|
|
- X-Spam-Flag
|
|
|
|
|
- X-Spam-Status
|
2019-10-28 12:46:53 -04:00
|
|
|
|
- X-SES-Spam-Verdict
|
2020-07-23 22:00:36 -04:00
|
|
|
|
enable_imap:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
|
|
|
|
enable_imap_write:
|
|
|
|
|
default: false
|
|
|
|
|
enable_imap_idle:
|
|
|
|
|
default: false
|
|
|
|
|
enable_smtp:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
|
|
|
|
imap_polling_period_mins:
|
|
|
|
|
default: 5
|
|
|
|
|
imap_polling_old_emails:
|
|
|
|
|
default: 1000
|
|
|
|
|
imap_polling_new_emails:
|
|
|
|
|
default: 250
|
|
|
|
|
imap_batch_import_email:
|
|
|
|
|
default: 100
|
2019-01-17 13:05:39 -05:00
|
|
|
|
email_prefix: ""
|
|
|
|
|
email_site_title: ""
|
2015-01-15 13:32:19 -05:00
|
|
|
|
disable_emails:
|
|
|
|
|
client: true
|
2018-06-07 00:14:35 -04:00
|
|
|
|
type: enum
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "no"
|
2018-06-07 00:14:35 -04:00
|
|
|
|
choices:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
- "no"
|
|
|
|
|
- "yes"
|
|
|
|
|
- "non-staff"
|
2014-09-13 01:26:31 -04:00
|
|
|
|
strip_images_from_short_emails: true
|
|
|
|
|
short_email_length: 2800
|
2015-12-14 14:53:58 -05:00
|
|
|
|
display_name_on_email_from:
|
|
|
|
|
default: true
|
2016-01-20 04:25:25 -05:00
|
|
|
|
unsubscribe_via_email:
|
|
|
|
|
default: true
|
|
|
|
|
unsubscribe_via_email_footer:
|
|
|
|
|
default: false
|
2018-08-21 04:17:08 -04:00
|
|
|
|
disallow_reply_by_email_after_days:
|
|
|
|
|
default: 90
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2016-02-08 16:18:52 -05:00
|
|
|
|
delete_email_logs_after_days:
|
2018-05-10 03:11:53 -04:00
|
|
|
|
default: 90
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2016-03-23 00:08:34 -04:00
|
|
|
|
max_emails_per_day_per_user: 100
|
2016-03-23 13:56:03 -04:00
|
|
|
|
enable_staged_users: true
|
2016-05-16 15:45:34 -04:00
|
|
|
|
maximum_staged_users_per_email: 10
|
2022-08-18 11:18:58 -04:00
|
|
|
|
maximum_recipients_per_new_group_email:
|
|
|
|
|
default: 10
|
|
|
|
|
min: 1
|
2020-07-26 20:23:54 -04:00
|
|
|
|
auto_generated_allowlist:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2016-04-11 16:47:34 -04:00
|
|
|
|
type: list
|
2020-09-24 08:58:45 -04:00
|
|
|
|
list_type: simple
|
2016-04-20 15:29:27 -04:00
|
|
|
|
block_auto_generated_emails: true
|
2016-05-18 17:07:01 -04:00
|
|
|
|
ignore_by_title:
|
|
|
|
|
type: list
|
2020-09-24 08:58:45 -04:00
|
|
|
|
list_type: simple
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2016-05-30 11:11:17 -04:00
|
|
|
|
mailgun_api_key:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2019-09-12 10:32:44 -04:00
|
|
|
|
regex: '^((key-)?\h{32}|\h{32}-\h{8}-\h{8})$'
|
2018-09-10 21:09:09 -04:00
|
|
|
|
secret: true
|
2023-01-16 12:16:17 -05:00
|
|
|
|
sendgrid_verification_key:
|
|
|
|
|
default: ""
|
|
|
|
|
secret: true
|
|
|
|
|
mailjet_webhook_token:
|
|
|
|
|
default: ""
|
|
|
|
|
secret: true
|
|
|
|
|
mandrill_authentication_key:
|
|
|
|
|
default: ""
|
|
|
|
|
secret: true
|
|
|
|
|
postmark_webhook_token:
|
|
|
|
|
default: ""
|
|
|
|
|
secret: true
|
|
|
|
|
sparkpost_webhook_token:
|
|
|
|
|
default: ""
|
|
|
|
|
secret: true
|
2016-07-25 12:57:06 -04:00
|
|
|
|
bounce_score_threshold:
|
|
|
|
|
client: true
|
|
|
|
|
default: 4
|
|
|
|
|
min: 1
|
2018-08-28 03:01:44 -04:00
|
|
|
|
bounce_score_erode_on_send:
|
|
|
|
|
default: 0.1
|
|
|
|
|
hidden: true
|
2016-07-25 12:57:06 -04:00
|
|
|
|
soft_bounce_score:
|
|
|
|
|
default: 1
|
|
|
|
|
min: 1
|
|
|
|
|
hard_bounce_score:
|
|
|
|
|
default: 2
|
|
|
|
|
min: 2
|
2017-01-27 07:01:09 -05:00
|
|
|
|
reset_bounce_score_after_days:
|
|
|
|
|
default: 30
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2020-07-26 20:23:54 -04:00
|
|
|
|
blocked_attachment_content_types:
|
2016-08-03 11:55:54 -04:00
|
|
|
|
type: list
|
2020-10-24 09:48:16 -04:00
|
|
|
|
default: "pkcs7|x-vcard|pgp-keys|pgp-signature"
|
2018-08-03 18:27:57 -04:00
|
|
|
|
list_type: compact
|
2020-07-26 20:23:54 -04:00
|
|
|
|
blocked_attachment_filenames:
|
2016-08-03 11:55:54 -04:00
|
|
|
|
type: list
|
2017-12-13 14:48:04 -05:00
|
|
|
|
default: "smime.p7s|signature.asc|winmail.dat"
|
2018-08-03 18:27:57 -04:00
|
|
|
|
list_type: compact
|
2019-08-07 06:32:19 -04:00
|
|
|
|
forwarded_emails_behaviour:
|
|
|
|
|
type: enum
|
|
|
|
|
default: hide
|
|
|
|
|
choices:
|
|
|
|
|
- hide
|
|
|
|
|
- quote
|
|
|
|
|
- create_replies
|
2016-11-16 16:06:07 -05:00
|
|
|
|
always_show_trimmed_content: false
|
2021-04-28 11:08:48 -04:00
|
|
|
|
trim_incoming_emails: true
|
2017-04-24 15:26:06 -04:00
|
|
|
|
private_email: false
|
2019-07-30 15:05:08 -04:00
|
|
|
|
email_custom_template:
|
|
|
|
|
default: ""
|
|
|
|
|
hidden: true
|
|
|
|
|
email_custom_css:
|
|
|
|
|
default: ""
|
|
|
|
|
hidden: true
|
2019-10-23 15:41:58 -04:00
|
|
|
|
email_custom_css_compiled:
|
|
|
|
|
default: ""
|
|
|
|
|
hidden: true
|
2019-07-25 08:04:00 -04:00
|
|
|
|
email_total_attachment_size_limit_kb:
|
|
|
|
|
default: 0
|
|
|
|
|
max: 51200
|
2019-08-06 12:45:28 -04:00
|
|
|
|
post_excerpts_in_emails: false
|
2019-10-30 01:54:35 -04:00
|
|
|
|
raw_email_max_length: 220000
|
|
|
|
|
raw_rejected_email_max_length: 4000
|
2020-06-08 22:48:51 -04:00
|
|
|
|
delete_rejected_email_after_days:
|
|
|
|
|
default: 90
|
2022-07-27 02:28:44 -04:00
|
|
|
|
validator: "DeleteRejectedEmailAfterDaysValidator"
|
2020-06-10 12:11:49 -04:00
|
|
|
|
enable_secondary_emails:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
|
|
|
|
hidden: true
|
2022-04-20 12:05:17 -04:00
|
|
|
|
max_participant_names:
|
|
|
|
|
default: 10
|
|
|
|
|
hidden: true
|
2022-09-29 17:49:17 -04:00
|
|
|
|
require_change_email_confirmation: false
|
2013-11-13 14:02:47 -05:00
|
|
|
|
|
|
|
|
|
files:
|
2016-04-06 16:51:28 -04:00
|
|
|
|
max_image_size_kb:
|
|
|
|
|
client: true
|
2018-08-02 01:06:30 -04:00
|
|
|
|
default: 4096
|
2017-04-25 05:52:35 -04:00
|
|
|
|
max: 102400
|
2016-04-06 16:51:28 -04:00
|
|
|
|
max_attachment_size_kb:
|
|
|
|
|
client: true
|
2018-08-02 01:06:30 -04:00
|
|
|
|
default: 4096
|
2017-04-25 05:41:36 -04:00
|
|
|
|
max: 1024000
|
2017-01-11 17:37:12 -05:00
|
|
|
|
max_image_megapixels:
|
|
|
|
|
default: 40
|
|
|
|
|
min: 5
|
2017-04-11 01:44:10 -04:00
|
|
|
|
max: 150
|
2018-07-31 01:45:31 -04:00
|
|
|
|
max_export_file_size_kb:
|
|
|
|
|
hidden: true
|
|
|
|
|
default: 50000
|
|
|
|
|
max: 1024000
|
2017-05-09 17:20:28 -04:00
|
|
|
|
theme_authorized_extensions:
|
2023-05-24 15:13:36 -04:00
|
|
|
|
default: "wasm|jpg|jpeg|png|woff|woff2|svg|eot|ttf|otf|gif|webp|avif|js"
|
2017-05-09 17:20:28 -04:00
|
|
|
|
type: list
|
2018-08-03 18:27:57 -04:00
|
|
|
|
list_type: compact
|
2013-11-06 15:47:26 -05:00
|
|
|
|
authorized_extensions:
|
|
|
|
|
client: true
|
2023-05-24 15:13:36 -04:00
|
|
|
|
default: "jpg|jpeg|png|gif|heic|heif|webp|avif"
|
2014-02-21 00:52:11 -05:00
|
|
|
|
refresh: true
|
2014-06-18 11:15:29 -04:00
|
|
|
|
type: list
|
2018-08-03 18:27:57 -04:00
|
|
|
|
list_type: compact
|
2018-02-19 04:44:24 -05:00
|
|
|
|
authorized_extensions_for_staff:
|
|
|
|
|
client: true
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2018-02-19 04:44:24 -05:00
|
|
|
|
refresh: true
|
|
|
|
|
type: list
|
2018-08-03 18:27:57 -04:00
|
|
|
|
list_type: compact
|
2018-04-19 07:30:31 -04:00
|
|
|
|
export_authorized_extensions:
|
|
|
|
|
hidden: true
|
2019-07-18 08:34:48 -04:00
|
|
|
|
default: "zip"
|
2018-04-19 07:30:31 -04:00
|
|
|
|
type: list
|
2018-08-03 18:27:57 -04:00
|
|
|
|
list_type: compact
|
2018-10-02 23:44:53 -04:00
|
|
|
|
responsive_post_image_sizes:
|
|
|
|
|
default: "1|1.5|2"
|
2018-10-03 01:06:27 -04:00
|
|
|
|
type: list
|
|
|
|
|
list_type: compact
|
2013-11-06 15:47:26 -05:00
|
|
|
|
max_image_width:
|
|
|
|
|
client: true
|
|
|
|
|
default: 690
|
|
|
|
|
max_image_height:
|
|
|
|
|
client: true
|
|
|
|
|
default: 500
|
2014-03-21 21:14:35 -04:00
|
|
|
|
download_remote_images_to_local:
|
2017-08-06 21:43:09 -04:00
|
|
|
|
default: true
|
2015-04-24 06:06:33 -04:00
|
|
|
|
download_remote_images_threshold: 10
|
2014-04-21 16:59:53 -04:00
|
|
|
|
disabled_image_download_domains:
|
2014-06-18 11:15:29 -04:00
|
|
|
|
type: list
|
2020-09-24 08:58:45 -04:00
|
|
|
|
list_type: simple
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
FEATURE: Allow hotlinked media to be blocked (#16940)
This commit introduces a new site setting: `block_hotlinked_media`. When enabled, all attempts to hotlink media (images, videos, and audio) will fail, and be replaced with a linked placeholder. Exceptions to the rule can be added via `block_hotlinked_media_exceptions`.
`download_remote_image_to_local` can be used alongside this feature. In that case, hotlinked images will be blocked immediately when the post is created, but will then be replaced with the downloaded version a few seconds later.
This implementation is purely server-side, and does not impact the composer preview.
Technically, there are two stages to this feature:
1. `PrettyText.sanitize_hotlinked_media` is called during `PrettyText.cook`, and whenever new images are introduced by Onebox. It will iterate over all src/srcset attributes in the post HTML and check if they're allowed. If not, the attributes will be removed and replaced with a `data-blocked-hotlinked-src(set)` attribute
2. In the `CookedPostProcessor`, we iterate over all `data-blocked-hotlinked-src(set)` attributes and check whether we have a downloaded version of the media. If yes, we update the src to use the downloaded version. If not, the entire media element is replaced with a placeholder. The placeholder is labelled 'external media', and is a link to the offsite media.
2022-06-07 10:23:04 -04:00
|
|
|
|
block_hotlinked_media:
|
|
|
|
|
default: false
|
|
|
|
|
block_hotlinked_media_exceptions:
|
|
|
|
|
default: ""
|
|
|
|
|
type: list
|
|
|
|
|
regex: '\A((https?:\/\/.+)(\|https?:\/\/.+[|$])*)?\z'
|
2013-11-06 15:47:26 -05:00
|
|
|
|
create_thumbnails: true
|
2015-05-22 14:29:56 -04:00
|
|
|
|
clean_up_uploads: true
|
2016-08-01 12:36:39 -04:00
|
|
|
|
clean_orphan_uploads_grace_period_hours: 48
|
2017-01-27 07:01:09 -05:00
|
|
|
|
purge_deleted_uploads_grace_period_days:
|
|
|
|
|
default: 30
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2014-09-09 12:40:11 -04:00
|
|
|
|
prevent_anons_from_downloading_files:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2022-09-28 19:24:33 -04:00
|
|
|
|
secure_uploads:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
|
|
|
|
secure_uploads_allow_embed_images_in_emails:
|
|
|
|
|
default: true
|
|
|
|
|
secure_uploads_max_email_embed_image_size_kb:
|
|
|
|
|
default: 1024
|
|
|
|
|
min: 1
|
|
|
|
|
max: 10240
|
2015-03-30 05:26:45 -04:00
|
|
|
|
enable_s3_uploads:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2019-08-29 06:49:18 -04:00
|
|
|
|
s3_use_iam_profile:
|
|
|
|
|
default: false
|
2018-09-10 21:09:09 -04:00
|
|
|
|
s3_access_key_id:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2018-08-29 15:33:05 -04:00
|
|
|
|
secret: true
|
2018-06-02 09:57:52 -04:00
|
|
|
|
s3_secret_access_key:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2018-06-02 09:57:52 -04:00
|
|
|
|
secret: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
s3_region:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "us-east-1"
|
|
|
|
|
enum: "S3RegionSiteSetting"
|
2014-06-20 13:02:04 -04:00
|
|
|
|
s3_upload_bucket:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2019-05-13 06:18:24 -04:00
|
|
|
|
regex: '^[a-z0-9\-\/_]+$' # can't use '.' when using HTTPS
|
2018-07-16 00:44:55 -04:00
|
|
|
|
s3_endpoint:
|
2019-02-05 11:50:27 -05:00
|
|
|
|
default: ""
|
2018-07-16 00:44:55 -04:00
|
|
|
|
regex: '^https?:\/\/.+[^\/]$'
|
2020-04-29 18:04:59 -04:00
|
|
|
|
s3_http_continue_timeout:
|
|
|
|
|
default: 1
|
|
|
|
|
hidden: true
|
2020-05-25 16:09:34 -04:00
|
|
|
|
s3_install_cors_rule:
|
|
|
|
|
default: true
|
|
|
|
|
hidden: true
|
2015-05-25 21:13:12 -04:00
|
|
|
|
s3_cdn_url:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2015-05-25 21:13:12 -04:00
|
|
|
|
regex: '^https?:\/\/.+[^\/]$'
|
2018-09-16 20:57:50 -04:00
|
|
|
|
s3_configure_tombstone_policy:
|
|
|
|
|
default: true
|
2023-06-06 01:47:40 -04:00
|
|
|
|
s3_use_acls:
|
|
|
|
|
default: true
|
2019-01-31 23:40:48 -05:00
|
|
|
|
enable_s3_inventory:
|
|
|
|
|
default: false
|
2020-01-14 11:23:12 -05:00
|
|
|
|
s3_configure_inventory_policy:
|
|
|
|
|
default: true
|
|
|
|
|
hidden: true
|
2022-05-25 19:53:01 -04:00
|
|
|
|
s3_presigned_get_url_expires_after_seconds:
|
|
|
|
|
default: 300
|
|
|
|
|
hidden: true
|
|
|
|
|
min: 60
|
|
|
|
|
max: 604800
|
2014-02-28 15:12:51 -05:00
|
|
|
|
allow_profile_backgrounds:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2014-05-22 03:37:02 -04:00
|
|
|
|
automatically_download_gravatars: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
allow_uploaded_avatars:
|
2013-11-06 15:47:26 -05:00
|
|
|
|
client: true
|
2021-08-24 03:46:28 -04:00
|
|
|
|
default: "0"
|
|
|
|
|
enum: "TrustLevelAndStaffAndDisabledSetting"
|
2015-03-02 12:12:19 -05:00
|
|
|
|
default_avatars:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2015-03-02 12:12:19 -05:00
|
|
|
|
type: url_list
|
2015-03-03 16:16:04 -05:00
|
|
|
|
client: true
|
2015-05-25 11:59:00 -04:00
|
|
|
|
avatar_sizes:
|
2023-05-31 20:00:01 -04:00
|
|
|
|
default: "24|48|72|96|144|288"
|
2015-05-25 11:59:00 -04:00
|
|
|
|
type: list
|
2018-08-03 18:27:57 -04:00
|
|
|
|
list_type: compact
|
2023-05-31 20:00:01 -04:00
|
|
|
|
client: true
|
2015-09-11 04:14:34 -04:00
|
|
|
|
external_system_avatars_enabled:
|
2015-09-14 19:54:18 -04:00
|
|
|
|
default: true
|
2015-09-10 20:12:40 -04:00
|
|
|
|
client: true
|
2019-04-23 06:22:47 -04:00
|
|
|
|
validator: "ExternalSystemAvatarsValidator"
|
2015-09-11 04:14:34 -04:00
|
|
|
|
external_system_avatars_url:
|
2019-04-23 06:22:47 -04:00
|
|
|
|
default: "/letter_avatar_proxy/v4/letter/{first_letter}/{color}/{size}.png"
|
2015-09-10 20:12:40 -04:00
|
|
|
|
client: true
|
2015-09-28 07:41:57 -04:00
|
|
|
|
regex: '^((https?:)?\/)?\/.+[^\/]'
|
2021-03-02 14:04:16 -05:00
|
|
|
|
external_emoji_url:
|
|
|
|
|
default: ""
|
|
|
|
|
client: true
|
2019-03-18 11:24:21 -04:00
|
|
|
|
restrict_letter_avatar_colors:
|
2019-04-01 13:18:53 -04:00
|
|
|
|
default: ""
|
2019-03-18 11:24:21 -04:00
|
|
|
|
type: list
|
|
|
|
|
list_type: compact
|
|
|
|
|
validator: "ColorListValidator"
|
2022-02-24 15:57:39 -05:00
|
|
|
|
selectable_avatars_mode:
|
|
|
|
|
default: disabled
|
2018-07-18 06:57:43 -04:00
|
|
|
|
client: true
|
2022-02-24 15:57:39 -05:00
|
|
|
|
type: enum
|
|
|
|
|
choices:
|
|
|
|
|
- disabled
|
|
|
|
|
- everyone
|
|
|
|
|
- tl1
|
|
|
|
|
- tl2
|
|
|
|
|
- tl3
|
|
|
|
|
- tl4
|
|
|
|
|
- staff
|
|
|
|
|
- no_one
|
|
|
|
|
validator: "SelectableAvatarsModeValidator"
|
2018-07-18 06:57:43 -04:00
|
|
|
|
selectable_avatars:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2020-10-13 09:17:06 -04:00
|
|
|
|
client: true
|
2018-07-18 06:57:43 -04:00
|
|
|
|
type: uploaded_image_list
|
2016-02-29 16:39:24 -05:00
|
|
|
|
allow_all_attachments_for_group_messages: false
|
2017-05-10 18:16:57 -04:00
|
|
|
|
png_to_jpg_quality:
|
2016-07-27 13:59:44 -04:00
|
|
|
|
default: 95
|
|
|
|
|
min: 1
|
|
|
|
|
max: 100
|
2020-10-23 12:38:28 -04:00
|
|
|
|
recompress_original_jpg_quality:
|
|
|
|
|
default: 90
|
|
|
|
|
min: 1
|
|
|
|
|
max: 100
|
|
|
|
|
image_preview_jpg_quality:
|
|
|
|
|
default: 90
|
|
|
|
|
min: 1
|
|
|
|
|
max: 100
|
2017-06-12 16:41:29 -04:00
|
|
|
|
allow_staff_to_upload_any_file_in_pm:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
2017-07-25 05:48:39 -04:00
|
|
|
|
strip_image_metadata: true
|
2018-06-05 11:13:00 -04:00
|
|
|
|
min_ratio_to_crop:
|
|
|
|
|
type: float
|
2021-12-22 18:01:34 -05:00
|
|
|
|
default: 0.22
|
2018-06-05 11:13:00 -04:00
|
|
|
|
min: 0
|
|
|
|
|
max: 1
|
2018-10-31 05:58:09 -04:00
|
|
|
|
simultaneous_uploads:
|
|
|
|
|
client: true
|
|
|
|
|
default: 5
|
|
|
|
|
min: 0
|
|
|
|
|
max: 20
|
2019-10-11 13:38:10 -04:00
|
|
|
|
decompressed_theme_max_file_size_mb:
|
2019-10-03 09:19:35 -04:00
|
|
|
|
default: 1000
|
|
|
|
|
hidden: true
|
2019-10-11 13:38:10 -04:00
|
|
|
|
decompressed_backup_max_file_size_mb:
|
|
|
|
|
default: 100000
|
|
|
|
|
hidden: true
|
2021-06-23 11:31:12 -04:00
|
|
|
|
composer_media_optimization_image_enabled:
|
2021-07-16 14:23:04 -04:00
|
|
|
|
default: true
|
2021-06-23 11:31:12 -04:00
|
|
|
|
client: true
|
2021-07-16 14:13:16 -04:00
|
|
|
|
composer_media_optimization_image_bytes_optimization_threshold:
|
2021-07-01 12:44:01 -04:00
|
|
|
|
default: 524288
|
2021-06-23 11:31:12 -04:00
|
|
|
|
client: true
|
|
|
|
|
composer_media_optimization_image_resize_dimensions_threshold:
|
|
|
|
|
default: 1920
|
|
|
|
|
client: true
|
|
|
|
|
composer_media_optimization_image_resize_width_target:
|
|
|
|
|
default: 1920
|
|
|
|
|
client: true
|
|
|
|
|
composer_media_optimization_image_resize_pre_multiply:
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
|
|
|
|
client: true
|
|
|
|
|
composer_media_optimization_image_resize_linear_rgb:
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
|
|
|
|
client: true
|
|
|
|
|
composer_media_optimization_image_encode_quality:
|
|
|
|
|
default: 75
|
|
|
|
|
client: true
|
|
|
|
|
composer_media_optimization_debug_mode:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
|
|
|
|
hidden: true
|
2023-01-08 21:16:02 -05:00
|
|
|
|
composer_ios_media_optimisation_image_enabled:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
|
|
|
|
hidden: true
|
2023-04-26 16:18:59 -04:00
|
|
|
|
video_thumbnails_enabled:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
|
|
|
|
hidden: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
|
|
|
|
|
trust:
|
2014-07-11 15:35:17 -04:00
|
|
|
|
default_trust_level:
|
|
|
|
|
default: 0
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "TrustLevelSetting"
|
2014-07-11 15:35:17 -04:00
|
|
|
|
default_invitee_trust_level:
|
|
|
|
|
default: 1
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "TrustLevelSetting"
|
2014-03-21 21:14:35 -04:00
|
|
|
|
min_trust_to_create_topic:
|
|
|
|
|
default: 0
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "TrustLevelSetting"
|
2014-05-13 08:53:11 -04:00
|
|
|
|
min_trust_to_edit_wiki_post:
|
2014-06-04 01:24:09 -04:00
|
|
|
|
default: 1
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "TrustLevelSetting"
|
2016-09-30 12:12:27 -04:00
|
|
|
|
min_trust_to_edit_post:
|
|
|
|
|
default: 0
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "TrustLevelSetting"
|
2016-01-11 10:26:00 -05:00
|
|
|
|
min_trust_to_allow_self_wiki:
|
|
|
|
|
default: 3
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "TrustLevelSetting"
|
2017-08-28 12:07:30 -04:00
|
|
|
|
min_trust_to_send_email_messages:
|
2021-04-06 08:39:27 -04:00
|
|
|
|
default: "4"
|
|
|
|
|
enum: "TrustLevelAndStaffSetting"
|
2018-02-06 17:12:27 -05:00
|
|
|
|
min_trust_to_flag_posts:
|
|
|
|
|
default: 1
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "TrustLevelSetting"
|
2018-02-06 18:07:24 -05:00
|
|
|
|
min_trust_to_post_links:
|
|
|
|
|
default: 0
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "TrustLevelSetting"
|
2020-08-07 12:08:59 -04:00
|
|
|
|
min_trust_to_post_embedded_media:
|
2018-02-20 20:00:06 -05:00
|
|
|
|
default: 0
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "TrustLevelSetting"
|
2020-08-17 12:37:45 -04:00
|
|
|
|
min_trust_level_to_allow_profile_background:
|
|
|
|
|
default: 0
|
|
|
|
|
client: true
|
|
|
|
|
enum: "TrustLevelSetting"
|
|
|
|
|
min_trust_level_to_allow_user_card_background:
|
|
|
|
|
default: 0
|
|
|
|
|
client: true
|
|
|
|
|
enum: "TrustLevelSetting"
|
2020-10-21 05:09:44 -04:00
|
|
|
|
min_trust_level_to_allow_invite:
|
|
|
|
|
default: 2
|
|
|
|
|
enum: "TrustLevelSetting"
|
2020-11-20 13:05:20 -05:00
|
|
|
|
min_trust_level_to_allow_ignore:
|
|
|
|
|
default: 2
|
|
|
|
|
enum: "TrustLevelSetting"
|
2020-12-01 12:20:43 -05:00
|
|
|
|
client: true
|
2018-02-12 15:27:05 -05:00
|
|
|
|
allow_flagging_staff: true
|
2018-06-22 12:51:07 -04:00
|
|
|
|
send_tl1_welcome_message: true
|
2020-09-21 20:17:52 -04:00
|
|
|
|
send_tl2_promotion_message: true
|
2014-09-04 16:16:46 -04:00
|
|
|
|
tl1_requires_topics_entered: 5
|
|
|
|
|
tl1_requires_read_posts:
|
2014-07-25 15:58:16 -04:00
|
|
|
|
default: 30
|
|
|
|
|
client: true
|
2014-09-04 16:16:46 -04: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 07:01:09 -05:00
|
|
|
|
tl2_requires_days_visited:
|
|
|
|
|
default: 15
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2014-09-04 16:16:46 -04:00
|
|
|
|
tl2_requires_likes_received: 1
|
|
|
|
|
tl2_requires_likes_given: 1
|
|
|
|
|
tl2_requires_topic_reply_count: 3
|
2015-12-22 11:13:39 -05:00
|
|
|
|
tl3_time_period:
|
|
|
|
|
default: 100
|
|
|
|
|
min: 1
|
2016-05-26 06:30:35 -04:00
|
|
|
|
max: 1000000
|
2014-09-04 16:16:46 -04:00
|
|
|
|
tl3_requires_days_visited:
|
2014-06-27 12:26:03 -04:00
|
|
|
|
default: 50
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2014-09-04 16:16:46 -04:00
|
|
|
|
tl3_requires_topics_replied_to:
|
2014-06-27 12:26:03 -04:00
|
|
|
|
default: 10
|
2014-09-04 16:16:46 -04:00
|
|
|
|
tl3_requires_topics_viewed:
|
2014-06-27 12:26:03 -04:00
|
|
|
|
default: 25
|
|
|
|
|
max: 100
|
2016-05-25 14:55:37 -04:00
|
|
|
|
tl3_requires_topics_viewed_cap:
|
|
|
|
|
default: 500
|
2014-09-04 16:16:46 -04:00
|
|
|
|
tl3_requires_posts_read:
|
2014-06-27 12:26:03 -04:00
|
|
|
|
default: 25
|
|
|
|
|
max: 100
|
2016-05-25 14:55:37 -04:00
|
|
|
|
tl3_requires_posts_read_cap:
|
|
|
|
|
default: 20000
|
2017-04-20 03:49:50 -04:00
|
|
|
|
max: 99000
|
2014-09-04 16:16:46 -04:00
|
|
|
|
tl3_requires_topics_viewed_all_time:
|
2014-07-01 13:34:48 -04:00
|
|
|
|
default: 200
|
2014-09-04 16:16:46 -04:00
|
|
|
|
tl3_requires_posts_read_all_time:
|
2014-07-01 13:34:48 -04:00
|
|
|
|
default: 500
|
2014-09-04 16:16:46 -04:00
|
|
|
|
tl3_requires_max_flagged:
|
2014-06-27 12:26:03 -04:00
|
|
|
|
default: 5
|
2014-09-04 16:16:46 -04:00
|
|
|
|
tl3_promotion_min_duration:
|
2014-07-08 17:39:36 -04:00
|
|
|
|
default: 14
|
2018-10-11 15:11:40 -04:00
|
|
|
|
max: 10000
|
2014-09-04 16:16:46 -04:00
|
|
|
|
tl3_requires_likes_given:
|
2014-08-22 17:33:05 -04:00
|
|
|
|
default: 30
|
2014-09-04 16:16:46 -04:00
|
|
|
|
tl3_requires_likes_received:
|
2014-08-22 17:33:05 -04:00
|
|
|
|
default: 20
|
2015-05-11 02:36:28 -04:00
|
|
|
|
tl3_links_no_follow:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2023-01-19 21:31:51 -05:00
|
|
|
|
tl4_delete_posts_and_topics:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2018-02-22 20:39:24 -05:00
|
|
|
|
trusted_users_can_edit_others:
|
|
|
|
|
default: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
|
2013-11-14 15:05:48 -05:00
|
|
|
|
security:
|
2019-10-08 07:15:08 -04:00
|
|
|
|
detailed_404: false
|
2019-03-15 07:09:37 -04:00
|
|
|
|
enforce_second_factor:
|
|
|
|
|
client: true
|
|
|
|
|
type: enum
|
2019-04-01 13:18:53 -04:00
|
|
|
|
default: "no"
|
2019-03-15 07:09:37 -04:00
|
|
|
|
choices:
|
2019-04-01 13:18:53 -04:00
|
|
|
|
- "no"
|
|
|
|
|
- "staff"
|
|
|
|
|
- "all"
|
2016-06-29 03:23:50 -04:00
|
|
|
|
force_https:
|
|
|
|
|
default: false
|
2017-02-23 12:01:28 -05:00
|
|
|
|
same_site_cookies:
|
|
|
|
|
default: Lax
|
|
|
|
|
type: enum
|
|
|
|
|
choices:
|
|
|
|
|
- Lax
|
|
|
|
|
- Strict
|
|
|
|
|
- Disabled
|
2020-05-23 00:56:13 -04:00
|
|
|
|
- None
|
|
|
|
|
regex: "^(Lax|Strict|Disabled|None)$"
|
2014-03-07 18:47:23 -05:00
|
|
|
|
enable_escaped_fragments: true
|
2013-11-14 15:05:48 -05:00
|
|
|
|
allow_index_in_robots_txt: true
|
2021-11-25 14:58:39 -05:00
|
|
|
|
allow_indexing_non_canonical_urls:
|
2022-03-15 18:36:04 -04:00
|
|
|
|
default: true
|
2021-11-25 14:58:39 -05:00
|
|
|
|
hidden: true
|
2023-05-10 02:26:49 -04:00
|
|
|
|
moderators_manage_categories_and_groups:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2021-07-13 10:40:11 -04:00
|
|
|
|
moderators_change_post_ownership:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2019-03-13 17:30:25 -04:00
|
|
|
|
moderators_view_emails:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2018-01-15 23:41:13 -05:00
|
|
|
|
non_crawler_user_agents:
|
|
|
|
|
hidden: true
|
2019-05-08 09:45:25 -04:00
|
|
|
|
default: "trident|webkit|gecko|chrome|safari|msie|opera|goanna|discourse"
|
2018-01-15 23:41:13 -05:00
|
|
|
|
type: list
|
2018-08-03 18:27:57 -04:00
|
|
|
|
list_type: compact
|
2017-09-28 22:31:50 -04:00
|
|
|
|
crawler_user_agents:
|
2017-12-11 00:25:35 -05:00
|
|
|
|
hidden: true
|
2019-11-27 16:15:34 -05:00
|
|
|
|
default: "rss|bot|spider|crawler|facebook|archive|wayback|ping|monitor|lighthouse"
|
2017-09-28 22:31:50 -04:00
|
|
|
|
type: list
|
2018-08-03 18:27:57 -04:00
|
|
|
|
list_type: compact
|
2021-03-22 13:41:42 -04:00
|
|
|
|
browser_update_user_agents:
|
|
|
|
|
hidden: true
|
2021-09-09 22:35:01 -04:00
|
|
|
|
default: "MSIE 6|MSIE 7|MSIE 8|MSIE 9|Xbox|PlayStation"
|
2021-03-22 13:41:42 -04:00
|
|
|
|
type: list
|
|
|
|
|
list_type: compact
|
2018-06-20 20:56:46 -04:00
|
|
|
|
crawler_check_bypass_agents:
|
|
|
|
|
hidden: true
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "cubot"
|
2011-10-15 14:00:00 -04:00
|
|
|
|
cors_origins:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2011-10-15 14:00:00 -04:00
|
|
|
|
type: list
|
2020-09-24 08:58:45 -04:00
|
|
|
|
list_type: simple
|
2020-09-16 22:55:29 -04:00
|
|
|
|
keep_old_ip_address_count:
|
|
|
|
|
default: 0
|
|
|
|
|
hidden: true
|
2020-07-26 20:23:54 -04:00
|
|
|
|
use_admin_ip_allowlist:
|
2015-09-21 16:56:25 -04:00
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2020-07-26 20:23:54 -04:00
|
|
|
|
blocked_ip_blocks:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2017-05-23 11:51:23 -04:00
|
|
|
|
type: list
|
2018-08-03 18:27:57 -04:00
|
|
|
|
list_type: compact
|
2020-07-26 20:23:54 -04:00
|
|
|
|
allowed_internal_hosts:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2017-06-13 12:59:54 -04:00
|
|
|
|
type: list
|
2020-08-27 15:12:13 -04:00
|
|
|
|
allowed_onebox_iframes:
|
|
|
|
|
default: "*"
|
|
|
|
|
type: list
|
|
|
|
|
allow_any: false
|
|
|
|
|
choices: "['*'] + Onebox::Engine.all_iframe_origins"
|
2017-09-01 10:15:34 -04:00
|
|
|
|
allowed_iframes:
|
2021-11-02 14:34:51 -04:00
|
|
|
|
default: "https://www.google.com/maps/embed?|https://www.openstreetmap.org/export/embed.html?|https://calendar.google.com/calendar/embed?|https://codepen.io/|https://www.instagram.com"
|
2017-09-01 10:15:34 -04:00
|
|
|
|
type: list
|
2020-09-24 08:58:45 -04:00
|
|
|
|
list_type: simple
|
2017-09-01 10:15:34 -04:00
|
|
|
|
client: true
|
2020-07-26 20:23:54 -04:00
|
|
|
|
allowed_crawler_user_agents:
|
2018-03-15 17:10:45 -04:00
|
|
|
|
type: list
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2018-08-03 18:27:57 -04:00
|
|
|
|
list_type: compact
|
2020-07-26 20:23:54 -04:00
|
|
|
|
blocked_crawler_user_agents:
|
2018-04-05 20:15:23 -04:00
|
|
|
|
type: list
|
2019-11-18 00:47:47 -05:00
|
|
|
|
default: "mauibot|semrushbot|ahrefsbot|blexbot|seo spider"
|
2018-08-03 18:27:57 -04:00
|
|
|
|
list_type: compact
|
2018-04-05 20:15:23 -04:00
|
|
|
|
slow_down_crawler_user_agents:
|
2018-03-15 17:10:45 -04:00
|
|
|
|
type: list
|
2020-10-26 21:35:42 -04:00
|
|
|
|
default: ""
|
2018-08-03 18:27:57 -04:00
|
|
|
|
list_type: compact
|
2018-04-13 00:24:22 -04:00
|
|
|
|
slow_down_crawler_rate: 60
|
2018-10-22 13:22:23 -04:00
|
|
|
|
content_security_policy:
|
2020-01-06 15:42:21 -05:00
|
|
|
|
default: true
|
2018-10-22 13:22:23 -04:00
|
|
|
|
content_security_policy_report_only:
|
|
|
|
|
default: false
|
|
|
|
|
content_security_policy_collect_reports:
|
2019-01-15 08:58:46 -05:00
|
|
|
|
default: false
|
2022-06-20 19:48:45 -04:00
|
|
|
|
hidden: true
|
2021-03-22 15:00:25 -04:00
|
|
|
|
content_security_policy_frame_ancestors:
|
2021-07-16 14:25:49 -04:00
|
|
|
|
default: true
|
2018-10-22 13:22:23 -04:00
|
|
|
|
content_security_policy_script_src:
|
2020-06-04 10:44:54 -04:00
|
|
|
|
type: simple_list
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2018-12-12 15:32:14 -05:00
|
|
|
|
invalidate_inactive_admin_email_after_days:
|
|
|
|
|
default: 365
|
|
|
|
|
min: 0
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2019-12-05 16:45:09 -05:00
|
|
|
|
allow_embedding_site_in_an_iframe:
|
|
|
|
|
default: false
|
2020-02-02 23:28:02 -05:00
|
|
|
|
hidden: true
|
2020-05-31 23:49:27 -04:00
|
|
|
|
send_old_credential_reminder_days:
|
|
|
|
|
default: 0
|
|
|
|
|
hidden: true
|
2021-02-24 21:39:15 -05:00
|
|
|
|
disable_onebox_media_download_controls:
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
2021-10-13 05:53:23 -04:00
|
|
|
|
can_permanently_delete:
|
|
|
|
|
default: false
|
2021-11-09 04:50:45 -05:00
|
|
|
|
client: true
|
2021-10-13 05:53:23 -04:00
|
|
|
|
hidden: true
|
2022-11-17 22:37:36 -05:00
|
|
|
|
suppress_secured_categories_from_admin:
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
2023-01-19 20:50:24 -05:00
|
|
|
|
include_secure_categories_in_tag_counts:
|
|
|
|
|
default: false
|
2023-01-30 23:08:23 -05:00
|
|
|
|
display_personal_messages_tag_counts:
|
|
|
|
|
default: false
|
2013-11-14 15:05:48 -05:00
|
|
|
|
|
2014-04-09 16:57:45 -04:00
|
|
|
|
onebox:
|
2017-08-06 21:43:09 -04:00
|
|
|
|
post_onebox_maxlength:
|
|
|
|
|
default: 500
|
|
|
|
|
locale_default:
|
2018-09-11 05:58:22 -04:00
|
|
|
|
ja: 200
|
2017-08-06 21:43:09 -04:00
|
|
|
|
zh_CN: 200
|
|
|
|
|
zh_TW: 200
|
2020-07-26 20:23:54 -04:00
|
|
|
|
blocked_onebox_domains:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2022-02-02 22:26:53 -05:00
|
|
|
|
type: host_list
|
2018-08-03 18:27:57 -04:00
|
|
|
|
list_type: compact
|
2016-10-24 06:46:22 -04:00
|
|
|
|
max_oneboxes_per_post:
|
|
|
|
|
default: 50
|
|
|
|
|
client: true
|
2020-07-26 20:23:54 -04:00
|
|
|
|
allowed_inline_onebox_domains:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2017-07-21 15:29:04 -04:00
|
|
|
|
type: list
|
2018-08-03 18:27:57 -04:00
|
|
|
|
list_type: compact
|
2017-08-02 14:27:21 -04:00
|
|
|
|
enable_inline_onebox_on_all_domains:
|
2020-12-17 18:27:32 -05:00
|
|
|
|
default: true
|
2020-02-06 10:32:42 -05:00
|
|
|
|
force_custom_user_agent_hosts:
|
|
|
|
|
default: "http://codepen.io"
|
|
|
|
|
type: list
|
2021-05-13 15:48:35 -04:00
|
|
|
|
force_get_hosts:
|
|
|
|
|
default: "us.battle.net|news.yahoo.com|*.medium.com"
|
|
|
|
|
type: list
|
|
|
|
|
hidden: true
|
2020-11-18 12:55:16 -05:00
|
|
|
|
facebook_app_access_token:
|
|
|
|
|
default: ""
|
|
|
|
|
secret: true
|
2022-05-23 06:52:06 -04:00
|
|
|
|
block_onebox_on_redirect:
|
|
|
|
|
default: false
|
2021-03-31 13:19:34 -04:00
|
|
|
|
cache_onebox_response_body:
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
|
|
|
|
cache_onebox_response_body_domains:
|
|
|
|
|
default: ""
|
|
|
|
|
type: list
|
|
|
|
|
hidden: true
|
|
|
|
|
cache_onebox_user_agent:
|
|
|
|
|
default: ""
|
|
|
|
|
hidden: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
spam:
|
2014-03-21 21:14:35 -04:00
|
|
|
|
add_rel_nofollow_to_user_content: true
|
2019-05-24 14:13:03 -04:00
|
|
|
|
hide_post_sensitivity:
|
|
|
|
|
type: enum
|
|
|
|
|
enum: "ReviewableSensitivitySetting"
|
|
|
|
|
default: 6
|
2013-11-13 14:02:47 -05:00
|
|
|
|
cooldown_minutes_after_hiding_posts: 10
|
2019-05-24 14:13:03 -04:00
|
|
|
|
silence_new_user_sensitivity:
|
|
|
|
|
type: enum
|
|
|
|
|
enum: "ReviewableSensitivitySetting"
|
2019-05-24 15:49:29 -04:00
|
|
|
|
default: 3
|
2017-11-10 12:18:08 -05:00
|
|
|
|
num_users_to_silence_new_user: 3
|
|
|
|
|
notify_mods_when_user_silenced: false
|
2016-05-05 17:02:36 -04:00
|
|
|
|
flag_sockpuppets: false
|
2013-11-13 14:02:47 -05:00
|
|
|
|
newuser_spam_host_threshold: 3
|
2020-07-26 20:23:54 -04:00
|
|
|
|
allowed_spam_host_domains:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2014-06-18 11:15:29 -04:00
|
|
|
|
type: list
|
2020-09-24 08:58:45 -04:00
|
|
|
|
list_type: simple
|
2014-07-11 20:19:45 -04:00
|
|
|
|
levenshtein_distance_spammer_emails:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: 2
|
|
|
|
|
max: 3
|
2014-11-17 06:04:29 -05:00
|
|
|
|
max_new_accounts_per_registration_ip: 3
|
2014-11-24 11:25:48 -05:00
|
|
|
|
min_ban_entries_for_roll_up: 5
|
2014-11-25 11:12:49 -05:00
|
|
|
|
max_age_unmatched_emails: 365
|
|
|
|
|
max_age_unmatched_ips: 365
|
2014-12-05 13:37:43 -05:00
|
|
|
|
num_flaggers_to_close_topic: 5
|
2019-05-24 14:13:03 -04:00
|
|
|
|
auto_close_topic_sensitivity:
|
|
|
|
|
type: enum
|
|
|
|
|
enum: "ReviewableSensitivitySetting"
|
2019-05-24 15:49:29 -04:00
|
|
|
|
default: 9
|
2017-03-31 02:35:05 -04:00
|
|
|
|
num_hours_to_close_topic:
|
|
|
|
|
default: 4
|
|
|
|
|
min: 1
|
2015-03-11 14:29:09 -04:00
|
|
|
|
auto_respond_to_flag_actions: true
|
2015-08-03 20:55:59 -04:00
|
|
|
|
min_first_post_typing_time: 3000
|
2017-11-10 12:18:08 -05:00
|
|
|
|
auto_silence_fast_typers_on_first_post: true
|
|
|
|
|
auto_silence_fast_typers_max_trust_level: 0
|
2021-02-26 08:07:04 -05:00
|
|
|
|
auto_silence_first_post_regex: ""
|
2020-02-20 12:43:33 -05:00
|
|
|
|
high_trust_flaggers_auto_hide_posts: true
|
2020-03-09 05:07:03 -04:00
|
|
|
|
cooldown_hours_until_reflag:
|
2020-02-20 12:43:33 -05:00
|
|
|
|
default: 24
|
|
|
|
|
min: 0
|
2021-06-26 20:09:53 -04:00
|
|
|
|
slow_mode_prevents_editing: true
|
2019-05-08 10:20:51 -04:00
|
|
|
|
|
|
|
|
|
reviewable_claiming:
|
|
|
|
|
client: true
|
|
|
|
|
type: enum
|
|
|
|
|
default: disabled
|
|
|
|
|
choices:
|
|
|
|
|
- disabled
|
|
|
|
|
- optional
|
|
|
|
|
- required
|
|
|
|
|
|
2019-05-08 10:05:45 -04:00
|
|
|
|
reviewable_default_topics:
|
2017-10-20 12:37:20 -04:00
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2019-05-07 13:25:11 -04:00
|
|
|
|
reviewable_default_visibility:
|
2019-01-03 12:03:01 -05:00
|
|
|
|
client: true
|
2019-05-07 13:25:11 -04:00
|
|
|
|
type: enum
|
|
|
|
|
default: low
|
2019-05-23 14:43:31 -04:00
|
|
|
|
enum: "ReviewablePrioritySetting"
|
2021-04-23 14:34:24 -04:00
|
|
|
|
reviewable_low_priority_threshold:
|
2021-05-26 12:16:16 -04:00
|
|
|
|
default: 0
|
|
|
|
|
min: 0
|
2021-04-23 14:34:24 -04:00
|
|
|
|
|
2013-11-13 14:02:47 -05:00
|
|
|
|
rate_limits:
|
2017-08-06 21:43:09 -04:00
|
|
|
|
unique_posts_mins: 5
|
2014-07-14 03:03:00 -04:00
|
|
|
|
rate_limit_create_topic: 15
|
2013-11-06 15:47:26 -05:00
|
|
|
|
rate_limit_create_post: 5
|
2015-08-02 18:26:12 -04:00
|
|
|
|
rate_limit_new_user_create_topic: 120
|
2014-07-14 16:58:10 -04:00
|
|
|
|
rate_limit_new_user_create_post: 30
|
2023-01-27 13:05:27 -05:00
|
|
|
|
rate_limit_search_anon_global_per_minute:
|
2020-07-09 19:08:34 -04:00
|
|
|
|
hidden: true
|
|
|
|
|
default: 150
|
2023-01-27 13:05:27 -05:00
|
|
|
|
rate_limit_search_anon_user_per_minute:
|
2020-06-04 12:26:08 -04:00
|
|
|
|
hidden: true
|
|
|
|
|
default: 15
|
2023-01-27 13:05:27 -05:00
|
|
|
|
rate_limit_search_anon_global_per_second:
|
|
|
|
|
hidden: true
|
|
|
|
|
default: 8
|
|
|
|
|
rate_limit_search_anon_user_per_second:
|
|
|
|
|
hidden: true
|
|
|
|
|
default: 2
|
2020-06-04 12:26:08 -04:00
|
|
|
|
rate_limit_search_user:
|
|
|
|
|
hidden: true
|
|
|
|
|
default: 30
|
2013-11-06 15:47:26 -05:00
|
|
|
|
max_topics_per_day: 20
|
2018-01-31 01:16:25 -05:00
|
|
|
|
max_personal_messages_per_day: 20
|
2013-11-06 15:47:26 -05:00
|
|
|
|
max_likes_per_day: 50
|
|
|
|
|
max_bookmarks_per_day: 20
|
|
|
|
|
max_flags_per_day: 20
|
|
|
|
|
max_edits_per_day: 30
|
2015-01-19 13:50:01 -05:00
|
|
|
|
max_invites_per_day: 10
|
2015-05-13 03:04:05 -04:00
|
|
|
|
max_topic_invitations_per_day: 30
|
2022-10-10 12:21:51 -04:00
|
|
|
|
max_topic_invitations_per_minute: 5
|
2015-08-02 18:26:12 -04:00
|
|
|
|
max_topics_in_first_day: 3
|
2014-03-21 21:14:35 -04:00
|
|
|
|
max_replies_in_first_day: 10
|
2015-04-15 19:44:30 -04:00
|
|
|
|
tl2_additional_likes_per_day_multiplier: 1.5
|
|
|
|
|
tl3_additional_likes_per_day_multiplier: 2
|
|
|
|
|
tl4_additional_likes_per_day_multiplier: 3
|
2021-05-19 05:57:21 -04:00
|
|
|
|
tl2_additional_edits_per_day_multiplier: 1.5
|
|
|
|
|
tl3_additional_edits_per_day_multiplier: 2
|
|
|
|
|
tl4_additional_edits_per_day_multiplier: 3
|
2022-02-18 07:44:32 -05:00
|
|
|
|
tl2_additional_flags_per_day_multiplier: 1.5
|
|
|
|
|
tl3_additional_flags_per_day_multiplier: 2
|
|
|
|
|
tl4_additional_flags_per_day_multiplier: 3
|
2016-02-17 03:44:53 -05:00
|
|
|
|
alert_admins_if_errors_per_minute:
|
|
|
|
|
client: true
|
|
|
|
|
default: 0
|
|
|
|
|
alert_admins_if_errors_per_hour:
|
|
|
|
|
client: true
|
|
|
|
|
default: 0
|
2016-08-05 01:12:35 -04:00
|
|
|
|
max_prints_per_hour_per_user:
|
2016-08-08 23:53:08 -04:00
|
|
|
|
default: 5
|
2016-08-05 01:12:35 -04:00
|
|
|
|
client: true
|
2023-02-16 04:40:11 -05:00
|
|
|
|
min: 0
|
2017-02-21 12:23:35 -05:00
|
|
|
|
max_logins_per_ip_per_hour:
|
|
|
|
|
min: 1
|
|
|
|
|
default: 30
|
|
|
|
|
max_logins_per_ip_per_minute:
|
|
|
|
|
min: 1
|
|
|
|
|
default: 6
|
2018-06-28 07:33:37 -04:00
|
|
|
|
max_post_deletions_per_minute:
|
2021-01-06 13:58:07 -05:00
|
|
|
|
min: 0
|
2018-08-31 16:27:25 -04:00
|
|
|
|
default: 2
|
2018-06-28 07:33:37 -04:00
|
|
|
|
max_post_deletions_per_day:
|
2021-01-06 13:58:07 -05:00
|
|
|
|
min: 0
|
2018-08-31 16:27:25 -04:00
|
|
|
|
default: 10
|
2020-06-09 11:19:32 -04:00
|
|
|
|
invite_link_max_redemptions_limit:
|
|
|
|
|
min: 2
|
|
|
|
|
max: 1000000
|
|
|
|
|
default: 5000
|
|
|
|
|
client: true
|
2021-03-06 06:29:35 -05:00
|
|
|
|
invite_link_max_redemptions_limit_users:
|
|
|
|
|
min: 2
|
|
|
|
|
max: 1000000
|
|
|
|
|
default: 10
|
|
|
|
|
client: true
|
2021-04-05 11:01:42 -04:00
|
|
|
|
max_allowed_secondary_emails:
|
|
|
|
|
default: 10
|
|
|
|
|
hidden: true
|
2022-05-09 21:14:26 -04:00
|
|
|
|
max_batch_presign_multipart_per_minute:
|
|
|
|
|
default: 20
|
|
|
|
|
hidden: true
|
2023-03-08 00:27:17 -05:00
|
|
|
|
max_presigned_put_per_minute:
|
|
|
|
|
default: 10
|
|
|
|
|
hidden: true
|
|
|
|
|
max_create_multipart_per_minute:
|
|
|
|
|
default: 10
|
|
|
|
|
hidden: true
|
|
|
|
|
max_complete_multipart_per_minute:
|
|
|
|
|
default: 10
|
|
|
|
|
hidden: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
|
2013-11-14 14:46:17 -05:00
|
|
|
|
developer:
|
2014-10-03 01:53:01 -04:00
|
|
|
|
force_hostname:
|
2017-08-06 21:43:09 -04:00
|
|
|
|
hidden: true
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2013-11-14 14:46:17 -05:00
|
|
|
|
port:
|
2017-08-06 21:43:09 -04:00
|
|
|
|
hidden: true
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2020-10-29 01:25:46 -04:00
|
|
|
|
enable_chunked_encoding:
|
2021-11-18 12:36:34 -05:00
|
|
|
|
hidden: true
|
2020-10-29 01:25:46 -04:00
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2014-10-23 22:38:00 -04:00
|
|
|
|
long_polling_base_url:
|
2021-11-18 12:36:34 -05:00
|
|
|
|
hidden: true
|
2014-10-23 22:38:00 -04:00
|
|
|
|
client: true
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "/"
|
2014-10-21 21:49:10 -04:00
|
|
|
|
background_polling_interval:
|
2021-11-18 12:36:34 -05:00
|
|
|
|
hidden: true
|
2014-10-21 21:49:10 -04:00
|
|
|
|
client: true
|
|
|
|
|
default: 60000
|
2017-04-20 03:49:50 -04:00
|
|
|
|
max: 99000
|
2014-03-21 21:14:35 -04:00
|
|
|
|
polling_interval:
|
2021-11-18 12:36:34 -05:00
|
|
|
|
hidden: true
|
2014-03-21 21:14:35 -04:00
|
|
|
|
client: true
|
|
|
|
|
default: 3000
|
2017-04-20 03:49:50 -04:00
|
|
|
|
max: 99000
|
2014-03-21 21:14:35 -04:00
|
|
|
|
anon_polling_interval:
|
2021-11-18 12:36:34 -05:00
|
|
|
|
hidden: true
|
2014-03-21 21:14:35 -04:00
|
|
|
|
client: true
|
2022-02-18 05:53:14 -05:00
|
|
|
|
default: 25000
|
2017-04-20 03:49:50 -04:00
|
|
|
|
max: 99000
|
2014-03-21 21:14:35 -04:00
|
|
|
|
flush_timings_secs:
|
|
|
|
|
client: true
|
2019-04-18 03:30:39 -04:00
|
|
|
|
default: 60
|
2014-03-21 21:14:35 -04:00
|
|
|
|
active_user_rate_limit_secs: 60
|
2014-08-27 00:12:11 -04:00
|
|
|
|
verbose_localization:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2016-01-20 11:36:18 -05: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 06:54:30 -04:00
|
|
|
|
rebake_old_posts_count:
|
2021-02-23 17:45:26 -05:00
|
|
|
|
hidden: true
|
2019-01-03 17:24:46 -05:00
|
|
|
|
default: 80
|
2016-08-15 06:54:30 -04:00
|
|
|
|
min: 1
|
2015-06-12 06:02:36 -04:00
|
|
|
|
migrate_to_new_scheme:
|
|
|
|
|
hidden: true
|
|
|
|
|
default: false
|
2015-10-01 03:17:15 -04:00
|
|
|
|
max_new_topics:
|
2015-08-25 04:32:37 -04:00
|
|
|
|
default: 500
|
2015-08-25 01:40:50 -04:00
|
|
|
|
client: true
|
2015-08-25 21:02:21 -04:00
|
|
|
|
hidden: true
|
2016-09-14 16:36:08 -04:00
|
|
|
|
wizard_enabled:
|
2016-09-14 17:08:34 -04:00
|
|
|
|
default: true
|
2016-09-14 16:36:08 -04:00
|
|
|
|
hidden: true
|
2017-05-12 10:18:43 -04:00
|
|
|
|
bypass_wizard_check:
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
2017-10-27 05:54:45 -04:00
|
|
|
|
logging_provider:
|
|
|
|
|
hidden: true
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "default"
|
|
|
|
|
type: "list"
|
2017-10-27 05:54:45 -04:00
|
|
|
|
choices:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
- "default"
|
|
|
|
|
- "lograge"
|
2017-11-21 16:13:09 -05:00
|
|
|
|
bootstrap_error_pages:
|
|
|
|
|
hidden: true
|
|
|
|
|
default: false
|
2018-04-23 14:50:52 -04:00
|
|
|
|
enable_safe_mode:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
2022-10-10 23:15:16 -04:00
|
|
|
|
enable_experimental_hashtag_autocomplete:
|
2023-01-04 17:44:58 -05:00
|
|
|
|
default: true
|
2022-10-10 23:15:16 -04:00
|
|
|
|
client: true
|
2023-06-06 21:11:39 -04:00
|
|
|
|
hidden: true
|
2022-11-23 19:07:59 -05:00
|
|
|
|
experimental_hashtag_search_result_limit:
|
|
|
|
|
default: 20
|
|
|
|
|
client: true
|
|
|
|
|
hidden: true
|
2022-10-16 22:33:15 -04:00
|
|
|
|
include_associated_account_ids:
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
2023-02-08 14:21:39 -05:00
|
|
|
|
experimental_form_templates:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
2023-02-27 07:11:01 -05:00
|
|
|
|
experimental_new_new_view_groups:
|
|
|
|
|
client: true
|
|
|
|
|
type: group_list
|
|
|
|
|
list_type: compact
|
|
|
|
|
default: ""
|
|
|
|
|
allow_any: false
|
|
|
|
|
refresh: true
|
2023-03-02 20:46:21 -05:00
|
|
|
|
experimental_topics_filter:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
DEV: Upgrade search-menu to glimmer (#20482)
# Top level view
This PR is the first version of converting the search menu and its logic from (deprecated) widgets to glimmer components. The changes are hidden behind a group based feature flag. This will give us the ability to test the new implementation in a production setting before fully committing to the new search menu.
# What has changed
The majority of the logic from the widget implementation has been updated to fit within the context of a glimmer component, but it has not fundamentally changed. Instead of having a single widget - [search-menu.js](https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/widgets/search-menu.js) - that built the bulk of the search menu logic, we split the logic into (20+) bite size components. This greatly increases the readability and makes extending a component in the search menu much more straightforward.
That being said, certain pieces needed to be rewritten from scratch as they did not translate from widget -> glimmer, or there was a general code upgraded needed. There are a few of these changes worth noting:
### Search Service
**Search Term** -> In the widget implementation we had a overly complex way of managing the current search term. We tracked the search term across multiple different states (`term`, `opts.term`, `searchData.term`) causing headaches. This PR introduces a single source of truth:
```js
this.search.activeGlobalSearchTerm
```
This tracked value is available anywhere the `search` service is injected. In the case the search term should be needs to be updated you can call
```js
this.search.activeGlobalSearchTerm = "foo"
```
**event listeners** -> In the widget implementation we defined event listeners **only** on the search input to handle things such as
- keyboard navigation / shortcuts
- closing the search menu
- performing a search with "enter"
Having this in one place caused a lot of bloat in our logic as we had to handle multiple different cases in one location. Do _x_ if it is this element, but do _y_ if it is another. This PR updates the event listeners to be attached to individual components, allowing for a more fine tuned set of actions per element. To not duplicate logic across multiple components, we have condensed shared logic to actions on the search service to be reused. For example - `this.search.handleArrowUpOrDown` - to handle keyboard navigation.
### Search Context
We have unique logic based on the current search context (topic / tag / category / user / etc). This context is set within a models route file. We have updated the search service with a tracked value `searchContext` that can be utilized and updated from any component where the search service is injected.
```js
# before
this.searchService.set("searchContext", user.searchContext);
# after
this.searchService.searchContext = user.searchContext;
```
# Views
<img width="434" alt="Screenshot 2023-06-15 at 11 01 01 AM" src="https://github.com/discourse/discourse/assets/50783505/ef57e8e6-4e7b-4ba0-a770-8f2ed6310569">
<img width="418" alt="Screenshot 2023-06-15 at 11 04 11 AM" src="https://github.com/discourse/discourse/assets/50783505/2c1e0b38-d12c-4339-a1d5-04f0c1932b08">
<img width="413" alt="Screenshot 2023-06-15 at 11 04 34 AM" src="https://github.com/discourse/discourse/assets/50783505/b871d164-88cb-405e-9b78-d326a6f63686">
<img width="419" alt="Screenshot 2023-06-15 at 11 07 51 AM" src="https://github.com/discourse/discourse/assets/50783505/c7309a19-f541-47f4-94ef-10fa65658d8c">
<img width="424" alt="Screenshot 2023-06-15 at 11 04 48 AM" src="https://github.com/discourse/discourse/assets/50783505/f3dba06e-b029-431c-b3d0-36727b9e6dce">
<img width="415" alt="Screenshot 2023-06-15 at 11 08 57 AM" src="https://github.com/discourse/discourse/assets/50783505/ad4e7250-040c-4d06-bf06-99652f4c7b7c">
2023-06-16 10:24:07 -04:00
|
|
|
|
experimental_search_menu_groups:
|
|
|
|
|
type: group_list
|
|
|
|
|
list_type: compact
|
|
|
|
|
default: ""
|
|
|
|
|
allow_any: false
|
|
|
|
|
refresh: true
|
2022-10-16 22:33:15 -04:00
|
|
|
|
|
2022-12-07 20:44:29 -05:00
|
|
|
|
navigation:
|
|
|
|
|
navigation_menu:
|
2022-04-28 03:27:06 -04:00
|
|
|
|
client: true
|
2022-12-13 19:25:19 -05:00
|
|
|
|
default: "sidebar"
|
2022-12-07 20:44:29 -05:00
|
|
|
|
type: enum
|
|
|
|
|
enum: "NavigationMenuSiteSetting"
|
2023-06-14 19:31:28 -04:00
|
|
|
|
default_navigation_menu_categories:
|
2022-08-21 18:46:20 -04:00
|
|
|
|
type: category_list
|
|
|
|
|
default: ""
|
|
|
|
|
client: true
|
2023-06-14 19:31:28 -04:00
|
|
|
|
default_navigation_menu_tags:
|
2022-08-21 18:46:20 -04:00
|
|
|
|
type: tag_list
|
|
|
|
|
default: ""
|
|
|
|
|
client: true
|
2013-11-13 14:02:47 -05:00
|
|
|
|
|
2013-12-31 14:37:43 -05:00
|
|
|
|
embedding:
|
2014-06-11 14:42:41 -04:00
|
|
|
|
embed_by_username:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2014-06-12 18:03:03 -04:00
|
|
|
|
type: username
|
2015-08-20 13:43:12 -04:00
|
|
|
|
hidden: true
|
|
|
|
|
embed_post_limit:
|
|
|
|
|
default: 100
|
|
|
|
|
hidden: true
|
2020-07-20 07:13:35 -04:00
|
|
|
|
embed_topic_limit_per_page:
|
|
|
|
|
default: 200
|
|
|
|
|
hidden: true
|
2016-08-22 12:43:02 -04:00
|
|
|
|
embed_title_scrubber:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2016-08-22 12:43:02 -04:00
|
|
|
|
hidden: true
|
2020-07-26 20:23:54 -04:00
|
|
|
|
blocked_embed_selectors:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2015-08-20 13:43:12 -04:00
|
|
|
|
hidden: true
|
2020-07-26 20:23:54 -04:00
|
|
|
|
allowed_embed_classnames:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "emoji"
|
2015-09-24 18:20:59 -04:00
|
|
|
|
hidden: true
|
2013-12-31 14:37:43 -05:00
|
|
|
|
|
2014-02-07 16:04:00 -05:00
|
|
|
|
legal:
|
2013-11-13 14:02:47 -05:00
|
|
|
|
tos_url:
|
|
|
|
|
client: true
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2014-02-07 16:04:00 -05:00
|
|
|
|
privacy_policy_url:
|
2013-11-13 14:02:47 -05:00
|
|
|
|
client: true
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2014-03-21 21:14:35 -04:00
|
|
|
|
faq_url:
|
|
|
|
|
client: true
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2018-03-05 14:38:18 -05:00
|
|
|
|
log_anonymizer_details:
|
|
|
|
|
default: true
|
2014-02-07 16:04:00 -05:00
|
|
|
|
|
2014-03-11 17:28:12 -04:00
|
|
|
|
backups:
|
2017-12-21 15:21:28 -05:00
|
|
|
|
enable_backups:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
2014-03-11 17:28:12 -04:00
|
|
|
|
allow_restore:
|
|
|
|
|
default: false
|
2018-10-14 21:43:31 -04:00
|
|
|
|
backup_location:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "local"
|
2018-10-14 21:43:31 -04:00
|
|
|
|
type: enum
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "BackupLocationSiteSetting"
|
2018-10-14 21:43:31 -04:00
|
|
|
|
client: true
|
2014-03-11 17:28:12 -04:00
|
|
|
|
maximum_backups:
|
|
|
|
|
client: true
|
2016-02-13 19:13:49 -05:00
|
|
|
|
default: 5
|
2016-01-05 04:31:46 -05:00
|
|
|
|
automatic_backups_enabled:
|
2015-08-14 02:25:29 -04:00
|
|
|
|
default: true
|
2015-08-07 11:34:58 -04:00
|
|
|
|
backup_frequency:
|
2015-08-14 02:25:29 -04:00
|
|
|
|
min: 1
|
2015-08-14 01:20:22 -04:00
|
|
|
|
max: 30
|
|
|
|
|
default: 7
|
2014-03-12 16:23:47 -04:00
|
|
|
|
s3_backup_bucket:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2016-08-15 04:06:29 -04:00
|
|
|
|
regex: '^[a-z0-9\-\/]+$' # can't use '.' when using HTTPS
|
2016-03-01 14:01:51 -05:00
|
|
|
|
s3_disable_cleanup:
|
|
|
|
|
default: false
|
2015-11-12 10:14:49 -05:00
|
|
|
|
backup_time_of_day:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "3:30"
|
2015-11-12 10:14:49 -05: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 10:23:59 -05:00
|
|
|
|
backup_with_uploads: true
|
2019-02-12 09:50:31 -05:00
|
|
|
|
backup_gzip_compression_level_for_uploads:
|
|
|
|
|
default: 1
|
|
|
|
|
min: 1
|
|
|
|
|
max: 9
|
2019-02-13 05:10:33 -05:00
|
|
|
|
include_thumbnails_in_backups:
|
2019-02-13 20:20:43 -05:00
|
|
|
|
default: false
|
2019-07-01 14:38:36 -04:00
|
|
|
|
include_s3_uploads_in_backups:
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
2022-11-07 19:40:56 -05:00
|
|
|
|
client: true
|
2014-03-11 17:28:12 -04:00
|
|
|
|
|
2016-08-11 13:48:49 -04:00
|
|
|
|
search:
|
2023-02-02 11:35:04 -05:00
|
|
|
|
user_search_similar_results:
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
2023-01-31 00:34:01 -05:00
|
|
|
|
prioritize_exact_search_title_match:
|
2023-02-19 19:53:35 -05:00
|
|
|
|
default: true
|
2023-01-31 00:34:01 -05:00
|
|
|
|
hidden: true
|
2023-01-30 20:41:31 -05:00
|
|
|
|
max_duplicate_search_index_terms:
|
2023-02-19 19:53:35 -05:00
|
|
|
|
default: 6
|
2023-01-30 20:41:31 -05:00
|
|
|
|
hidden: true
|
2020-08-06 02:15:31 -04:00
|
|
|
|
use_pg_headlines_for_excerpt:
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
2020-08-07 00:43:09 -04:00
|
|
|
|
client: true
|
2022-04-06 13:23:30 -04:00
|
|
|
|
search_max_indexed_word_length:
|
|
|
|
|
default: 100
|
|
|
|
|
hidden: true
|
2020-07-02 02:11:18 -04:00
|
|
|
|
search_ranking_normalization:
|
2020-07-17 14:44:31 -04:00
|
|
|
|
default: "0"
|
2020-07-02 02:11:18 -04:00
|
|
|
|
hidden: true
|
2023-01-30 19:57:13 -05:00
|
|
|
|
search_ranking_weights:
|
|
|
|
|
default: ""
|
|
|
|
|
hidden: true
|
2023-01-31 17:43:41 -05:00
|
|
|
|
validator: "SearchRankingWeightsValidator"
|
2016-08-11 13:48:49 -04:00
|
|
|
|
min_search_term_length:
|
|
|
|
|
client: true
|
|
|
|
|
default: 3
|
2017-08-06 21:43:09 -04:00
|
|
|
|
locale_default:
|
2021-04-05 19:37:58 -04:00
|
|
|
|
zh_CN: 1
|
|
|
|
|
zh_TW: 1
|
|
|
|
|
ko: 1
|
|
|
|
|
ja: 1
|
2022-01-26 02:24:11 -05:00
|
|
|
|
search_tokenize_chinese:
|
|
|
|
|
default: false
|
|
|
|
|
validator: "SearchTokenizeChineseValidator"
|
|
|
|
|
search_tokenize_japanese:
|
|
|
|
|
default: false
|
|
|
|
|
validator: "SearchTokenizeJapaneseValidator"
|
2016-08-11 13:48:49 -04:00
|
|
|
|
search_prefer_recent_posts: false
|
2017-08-06 21:43:09 -04:00
|
|
|
|
search_recent_posts_size:
|
2020-09-24 03:04:55 -04:00
|
|
|
|
default: 1000000
|
2020-09-21 18:40:19 -04:00
|
|
|
|
max: 10000000
|
2020-08-21 04:16:28 -04:00
|
|
|
|
search_recent_regular_posts_offset_post_id:
|
|
|
|
|
default: 0
|
|
|
|
|
hidden: true
|
|
|
|
|
search_enable_recent_regular_posts_offset_size:
|
|
|
|
|
default: 200000
|
|
|
|
|
hidden: true
|
2018-05-14 08:23:51 -04:00
|
|
|
|
log_search_queries:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2017-08-06 21:43:09 -04:00
|
|
|
|
search_query_log_max_size:
|
|
|
|
|
default: 1000000
|
|
|
|
|
max: 1000000
|
2018-05-21 14:56:51 -04:00
|
|
|
|
search_query_log_max_retention_days:
|
2018-06-19 20:46:07 -04:00
|
|
|
|
default: 365 # 1 year
|
2018-05-21 14:56:51 -04:00
|
|
|
|
max: 1825 # 5 years
|
2018-09-17 04:31:15 -04: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-24 22:59:55 -04:00
|
|
|
|
category_search_priority_low_weight:
|
|
|
|
|
default: 0.8
|
|
|
|
|
hidden: true
|
|
|
|
|
validator: "CategorySearchPriorityWeightsValidator"
|
|
|
|
|
category_search_priority_high_weight:
|
|
|
|
|
default: 1.2
|
|
|
|
|
hidden: true
|
|
|
|
|
validator: "CategorySearchPriorityWeightsValidator"
|
2023-05-18 16:30:08 -04:00
|
|
|
|
search_page_size:
|
|
|
|
|
default: 50
|
|
|
|
|
hidden: true
|
2016-08-11 13:48:49 -04:00
|
|
|
|
|
2014-02-07 16:04:00 -05:00
|
|
|
|
uncategorized:
|
2014-03-21 21:14:35 -04:00
|
|
|
|
version_checks:
|
2013-11-06 15:47:26 -05:00
|
|
|
|
client: true
|
2014-03-21 21:14:35 -04:00
|
|
|
|
default: true
|
|
|
|
|
new_version_emails: true
|
|
|
|
|
send_welcome_message: true
|
2013-11-14 15:05:48 -05:00
|
|
|
|
|
2014-03-21 21:14:35 -04:00
|
|
|
|
suppress_uncategorized_badge:
|
2013-11-06 15:47:26 -05:00
|
|
|
|
client: true
|
|
|
|
|
default: true
|
2014-03-21 21:14:35 -04:00
|
|
|
|
|
2018-07-30 23:42:30 -04:00
|
|
|
|
header_dropdown_category_count:
|
2018-07-30 04:43:00 -04:00
|
|
|
|
client: true
|
|
|
|
|
default: 8
|
|
|
|
|
|
2015-04-13 10:50:41 -04:00
|
|
|
|
slug_generation_method:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "ascii"
|
|
|
|
|
enum: "SlugSetting"
|
2019-10-16 16:08:43 -04:00
|
|
|
|
client: true
|
2017-08-06 21:43:09 -04:00
|
|
|
|
locale_default:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
ja: "none"
|
|
|
|
|
zh_CN: "none"
|
|
|
|
|
zh_TW: "none"
|
2015-04-13 10:50:41 -04:00
|
|
|
|
|
2015-07-15 01:32:35 -04:00
|
|
|
|
permalink_normalizations:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2015-07-15 01:32:35 -04:00
|
|
|
|
type: list
|
2020-09-24 08:58:45 -04:00
|
|
|
|
list_type: simple
|
2022-05-04 07:33:06 -04:00
|
|
|
|
validator: "RegexpListValidator"
|
2015-07-15 01:32:35 -04:00
|
|
|
|
|
2015-06-29 15:53:44 -04:00
|
|
|
|
max_similar_results: 5
|
2014-03-21 21:14:35 -04:00
|
|
|
|
minimum_topics_similar: 50
|
|
|
|
|
|
2013-11-13 14:02:47 -05:00
|
|
|
|
previous_visit_timeout_hours: 1
|
|
|
|
|
staff_like_weight: 3
|
2015-03-04 23:25:05 -05:00
|
|
|
|
topic_view_duration_hours: 8
|
2015-09-14 03:51:17 -04:00
|
|
|
|
user_profile_view_duration_hours: 8
|
2014-03-21 21:14:35 -04:00
|
|
|
|
|
|
|
|
|
# Summary mode
|
2013-11-18 12:48:26 -05:00
|
|
|
|
summary_score_threshold: 15
|
|
|
|
|
summary_posts_required: 50
|
|
|
|
|
summary_likes_required: 1
|
|
|
|
|
summary_percent_filter: 20
|
2014-10-28 16:03:43 -04:00
|
|
|
|
summary_max_results: 100
|
2021-09-16 15:15:00 -04:00
|
|
|
|
summary_timeline_button:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2014-03-21 21:14:35 -04:00
|
|
|
|
|
2023-06-13 13:21:46 -04:00
|
|
|
|
summarization_strategy:
|
|
|
|
|
client: true
|
|
|
|
|
default: ""
|
|
|
|
|
enum: "SummarizationStrategy"
|
|
|
|
|
validator: "SummarizationValidator"
|
|
|
|
|
custom_summarization_allowed_groups:
|
|
|
|
|
client: true
|
|
|
|
|
type: group_list
|
|
|
|
|
list_type: compact
|
|
|
|
|
default: "3|14" # 3: @staff, 14: @trust_level_4
|
|
|
|
|
|
2019-06-04 10:34:07 -04:00
|
|
|
|
automatic_topic_heat_values: true
|
|
|
|
|
|
2014-03-21 21:14:35 -04:00
|
|
|
|
# View heat thresholds
|
2013-11-06 15:47:26 -05: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 10:34:07 -04:00
|
|
|
|
default: 3500
|
2014-03-21 21:14:35 -04:00
|
|
|
|
|
2014-08-15 12:02:29 -04: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-15 12:22:06 -04: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-15 12:09:31 -04:00
|
|
|
|
# Cold map thresholds
|
|
|
|
|
cold_age_days_low:
|
|
|
|
|
default: 14
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2014-08-15 12:09:31 -04:00
|
|
|
|
client: true
|
2017-01-27 07:01:09 -05:00
|
|
|
|
cold_age_days_medium:
|
2015-05-27 04:04:50 -04:00
|
|
|
|
default: 90
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2014-08-15 12:09:31 -04:00
|
|
|
|
client: true
|
2017-01-27 07:01:09 -05:00
|
|
|
|
cold_age_days_high:
|
2015-05-27 04:04:50 -04:00
|
|
|
|
default: 180
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2017-01-27 07:01:09 -05:00
|
|
|
|
client: true
|
2014-08-15 12:09:31 -04:00
|
|
|
|
|
2014-03-21 21:14:35 -04:00
|
|
|
|
# Warnings
|
|
|
|
|
educate_until_posts: 2
|
2013-11-06 15:47:26 -05:00
|
|
|
|
sequential_replies_threshold: 2
|
2017-02-04 15:04:15 -05:00
|
|
|
|
get_a_room_threshold: 3
|
2023-04-20 03:49:35 -04:00
|
|
|
|
dont_feed_the_trolls_threshold: 2
|
2022-11-22 15:11:53 -05:00
|
|
|
|
dominating_topic_minimum_percent: 40
|
2015-12-14 12:02:40 -05:00
|
|
|
|
disable_avatar_education_message: false
|
2022-09-27 12:36:40 -04:00
|
|
|
|
pm_warn_user_last_seen_months_ago: 24
|
2014-03-21 21:14:35 -04:00
|
|
|
|
|
2014-03-24 01:51:48 -04:00
|
|
|
|
global_notice:
|
|
|
|
|
default: ""
|
|
|
|
|
client: true
|
2014-03-24 03:03:39 -04:00
|
|
|
|
has_login_hint:
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
2014-03-24 01:51:48 -04:00
|
|
|
|
|
2015-09-06 21:57:50 -04: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-21 21:14:35 -04:00
|
|
|
|
# Category IDs
|
2022-08-29 15:05:41 -04:00
|
|
|
|
general_category_id:
|
2014-01-20 15:49:43 -05:00
|
|
|
|
default: -1
|
|
|
|
|
hidden: true
|
2022-09-30 14:20:21 -04:00
|
|
|
|
client: true
|
2014-01-22 00:05:46 -05:00
|
|
|
|
meta_category_id:
|
|
|
|
|
default: -1
|
|
|
|
|
hidden: true
|
2014-02-27 17:38:01 -05:00
|
|
|
|
staff_category_id:
|
|
|
|
|
default: -1
|
|
|
|
|
hidden: true
|
2015-09-10 17:04:21 -04:00
|
|
|
|
uncategorized_category_id:
|
|
|
|
|
default: -1
|
|
|
|
|
hidden: true
|
2022-11-14 13:09:57 -05:00
|
|
|
|
default_composer_category:
|
|
|
|
|
client: true
|
|
|
|
|
type: category
|
|
|
|
|
default: ""
|
|
|
|
|
validator: "DefaultComposerCategoryValidator"
|
2013-11-13 14:02:47 -05:00
|
|
|
|
|
2023-05-01 18:08:22 -04:00
|
|
|
|
notify_about_reviewable_item_after:
|
2022-05-04 12:19:43 -04:00
|
|
|
|
type: float
|
|
|
|
|
default: 48
|
2014-05-14 14:38:04 -04:00
|
|
|
|
|
2014-05-22 03:37:02 -04:00
|
|
|
|
enable_system_avatars:
|
|
|
|
|
hidden: true
|
|
|
|
|
default: true
|
2014-06-11 11:14:00 -04:00
|
|
|
|
|
2021-01-18 12:09:07 -05:00
|
|
|
|
use_site_small_logo_as_system_avatar:
|
|
|
|
|
default: true
|
|
|
|
|
|
2021-09-06 09:59:35 -04:00
|
|
|
|
enable_listing_suspended_users_on_search:
|
|
|
|
|
default: false
|
|
|
|
|
|
2019-07-31 10:50:41 -04:00
|
|
|
|
disable_system_edit_notifications: true
|
2014-07-24 14:27:34 -04:00
|
|
|
|
|
2021-10-18 09:04:01 -04:00
|
|
|
|
disable_category_edit_notifications:
|
|
|
|
|
default: false
|
|
|
|
|
|
2021-11-02 13:53:21 -04:00
|
|
|
|
disable_tags_edit_notifications:
|
|
|
|
|
default: false
|
|
|
|
|
|
2019-12-05 04:06:06 -05:00
|
|
|
|
notification_consolidation_threshold:
|
2019-01-16 04:55:17 -05:00
|
|
|
|
default: 3
|
2019-01-16 03:17:04 -05:00
|
|
|
|
min: 0
|
2019-01-15 21:40:16 -05:00
|
|
|
|
|
|
|
|
|
likes_notification_consolidation_window_mins:
|
|
|
|
|
default: 120
|
|
|
|
|
min: 1
|
|
|
|
|
|
2017-01-27 07:01:09 -05:00
|
|
|
|
delete_drafts_older_than_n_days:
|
|
|
|
|
default: 180
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2015-06-02 07:26:01 -04:00
|
|
|
|
|
2021-05-28 09:33:10 -04:00
|
|
|
|
delete_merged_stub_topics_after_days:
|
|
|
|
|
default: 7
|
|
|
|
|
min: 0
|
|
|
|
|
|
2019-10-17 01:56:40 -04:00
|
|
|
|
backup_drafts_to_pm_length:
|
|
|
|
|
default: 0
|
|
|
|
|
hidden: true
|
|
|
|
|
|
2023-04-04 12:48:48 -04:00
|
|
|
|
view_user_route:
|
|
|
|
|
default: "summary"
|
|
|
|
|
hidden: true
|
|
|
|
|
client: true
|
|
|
|
|
|
2014-07-24 14:27:34 -04:00
|
|
|
|
tos_topic_id:
|
|
|
|
|
default: -1
|
|
|
|
|
hidden: true
|
|
|
|
|
guidelines_topic_id:
|
|
|
|
|
default: -1
|
|
|
|
|
hidden: true
|
|
|
|
|
privacy_topic_id:
|
|
|
|
|
default: -1
|
|
|
|
|
hidden: true
|
2019-03-18 16:09:13 -04:00
|
|
|
|
welcome_topic_id:
|
|
|
|
|
default: -1
|
|
|
|
|
hidden: true
|
|
|
|
|
admin_quick_start_topic_id:
|
|
|
|
|
default: -1
|
|
|
|
|
hidden: true
|
2023-03-24 09:59:03 -04:00
|
|
|
|
client: true
|
2015-08-21 14:39:21 -04:00
|
|
|
|
|
2016-04-26 13:08:19 -04:00
|
|
|
|
bootstrap_mode_min_users:
|
|
|
|
|
default: 50
|
|
|
|
|
client: true
|
|
|
|
|
max: 5000
|
|
|
|
|
|
|
|
|
|
bootstrap_mode_enabled:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
|
|
|
|
hidden: true
|
|
|
|
|
|
2021-01-22 10:09:02 -05:00
|
|
|
|
check_for_new_features:
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
|
|
|
|
|
2015-11-06 11:12:12 -05:00
|
|
|
|
automatically_unpin_topics:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
|
|
|
|
|
2015-12-30 01:45:17 -05:00
|
|
|
|
read_time_word_count:
|
|
|
|
|
default: 500
|
|
|
|
|
client: true
|
2017-08-06 21:43:09 -04:00
|
|
|
|
locale_default:
|
2018-09-11 05:58:22 -04:00
|
|
|
|
ja: 350
|
2017-08-06 21:43:09 -04:00
|
|
|
|
zh_CN: 350
|
|
|
|
|
zh_TW: 350
|
2015-12-30 01:45:17 -05:00
|
|
|
|
|
2017-12-29 22:36:02 -05:00
|
|
|
|
topic_page_title_includes_category:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
2016-04-11 16:44:10 -04:00
|
|
|
|
|
2019-04-17 12:25:13 -04: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-03 12:50:45 -05:00
|
|
|
|
|
2018-10-26 12:47:22 -04:00
|
|
|
|
pwa_display_browser_regex:
|
2020-04-07 15:58:21 -04:00
|
|
|
|
default: "a^"
|
2018-10-26 12:47:22 -04:00
|
|
|
|
hidden: true
|
|
|
|
|
|
2019-08-27 14:05:37 -04:00
|
|
|
|
app_association_android:
|
|
|
|
|
default: ""
|
|
|
|
|
textarea: true
|
|
|
|
|
|
|
|
|
|
app_association_ios:
|
|
|
|
|
default: ""
|
|
|
|
|
textarea: true
|
|
|
|
|
|
2017-03-10 08:16:00 -05:00
|
|
|
|
share_anonymized_statistics: true
|
|
|
|
|
|
2017-09-14 12:00:37 -04:00
|
|
|
|
auto_handle_queued_age:
|
|
|
|
|
default: 60
|
|
|
|
|
min: 0
|
|
|
|
|
|
2021-07-12 14:36:56 -04:00
|
|
|
|
penalty_step_hours:
|
|
|
|
|
default: "24|72|168|720"
|
|
|
|
|
type: "list"
|
|
|
|
|
list_type: "compact"
|
|
|
|
|
|
2018-11-26 16:49:57 -05:00
|
|
|
|
svg_icon_subset:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
|
|
|
|
type: "list"
|
|
|
|
|
list_type: "compact"
|
2018-11-26 16:49:57 -05:00
|
|
|
|
client: true
|
|
|
|
|
|
2019-02-07 11:50:10 -05:00
|
|
|
|
always_include_topic_excerpts:
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
|
|
|
|
|
2022-02-03 14:07:40 -05:00
|
|
|
|
allow_bulk_invite:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
|
|
|
|
|
2019-06-12 05:05:21 -04:00
|
|
|
|
max_bulk_invites:
|
|
|
|
|
default: 50000
|
|
|
|
|
hidden: true
|
|
|
|
|
|
2019-07-15 13:47:44 -04:00
|
|
|
|
overridden_robots_txt:
|
|
|
|
|
default: ""
|
|
|
|
|
hidden: true
|
2020-06-29 14:22:02 -04:00
|
|
|
|
show_category_definitions_in_topic_lists:
|
|
|
|
|
default: false
|
|
|
|
|
hidden: true
|
2023-03-05 21:13:10 -05:00
|
|
|
|
client: true
|
2019-07-15 13:47:44 -04:00
|
|
|
|
|
2020-11-12 07:57:12 -05:00
|
|
|
|
create_revision_on_bulk_topic_moves:
|
|
|
|
|
default: true
|
|
|
|
|
|
2021-07-16 14:50:40 -04:00
|
|
|
|
allow_changing_staged_user_tracking: false
|
|
|
|
|
|
2022-03-29 22:43:11 -04:00
|
|
|
|
use_polymorphic_bookmarks:
|
|
|
|
|
client: true
|
2022-05-22 20:07:15 -04:00
|
|
|
|
default: true
|
2022-03-29 22:43:11 -04:00
|
|
|
|
hidden: true
|
|
|
|
|
|
2022-06-21 16:35:46 -04:00
|
|
|
|
splash_screen:
|
2022-07-04 14:06:28 -04:00
|
|
|
|
default: true
|
2022-06-21 16:35:46 -04:00
|
|
|
|
|
2022-05-02 07:40:23 -04:00
|
|
|
|
suggest_weekends_in_date_pickers:
|
|
|
|
|
client: true
|
|
|
|
|
default: true
|
|
|
|
|
|
2015-08-21 14:39:21 -04:00
|
|
|
|
user_preferences:
|
|
|
|
|
default_email_digest_frequency:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "DigestEmailSiteSetting"
|
2016-03-02 15:26:27 -05:00
|
|
|
|
default: 10080
|
2016-03-17 17:35:23 -04:00
|
|
|
|
default_include_tl0_in_digests: false
|
2019-03-15 10:55:11 -04:00
|
|
|
|
default_email_level:
|
|
|
|
|
enum: "EmailLevelSiteSetting"
|
|
|
|
|
default: 1
|
|
|
|
|
default_email_messages_level:
|
|
|
|
|
enum: "EmailLevelSiteSetting"
|
|
|
|
|
default: 0
|
2015-08-21 14:39:21 -04:00
|
|
|
|
default_email_mailing_list_mode: false
|
2016-05-21 09:17:54 -04:00
|
|
|
|
default_email_mailing_list_mode_frequency:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "MailingListModeSiteSetting"
|
2017-08-06 21:43:09 -04:00
|
|
|
|
default: 1
|
2016-03-04 16:53:28 -05:00
|
|
|
|
disable_mailing_list_mode:
|
2021-03-04 15:24:37 -05:00
|
|
|
|
default: true
|
2016-03-04 16:53:28 -05:00
|
|
|
|
client: true
|
2016-02-18 21:56:52 -05:00
|
|
|
|
default_email_previous_replies:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "PreviousRepliesSiteSetting"
|
2016-02-25 08:05:40 -05:00
|
|
|
|
default: 2
|
|
|
|
|
default_email_in_reply_to:
|
2020-07-05 20:39:46 -04:00
|
|
|
|
default: false
|
2022-11-06 06:14:17 -05:00
|
|
|
|
default_hide_profile_and_presence:
|
|
|
|
|
default: false
|
2015-08-21 14:39:21 -04:00
|
|
|
|
|
|
|
|
|
default_other_new_topic_duration_minutes:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "NewTopicDurationSiteSetting"
|
2015-08-21 14:39:21 -04:00
|
|
|
|
default: 2880
|
|
|
|
|
default_other_auto_track_topics_after_msecs:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "AutoTrackDurationSiteSetting"
|
2022-06-14 01:48:19 -04:00
|
|
|
|
default: 300000
|
2016-09-30 12:36:43 -04:00
|
|
|
|
default_other_notification_level_when_replying:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "NotificationLevelWhenReplyingSiteSetting"
|
2016-09-30 12:36:43 -04:00
|
|
|
|
default: 2
|
2015-08-21 14:39:21 -04:00
|
|
|
|
default_other_external_links_in_new_tab: false
|
|
|
|
|
default_other_enable_quoting: true
|
2019-05-31 01:43:17 -04:00
|
|
|
|
default_other_enable_defer: false
|
2015-08-21 14:39:21 -04:00
|
|
|
|
default_other_dynamic_favicon: false
|
2020-08-14 09:40:56 -04:00
|
|
|
|
default_other_skip_new_user_tips: false
|
2016-03-02 07:16:52 -05:00
|
|
|
|
default_other_like_notification_frequency:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "LikeNotificationFrequencySiteSetting"
|
2016-03-02 07:16:52 -05:00
|
|
|
|
default: 1
|
2015-08-21 14:39:21 -04:00
|
|
|
|
|
2015-11-17 12:21:40 -05:00
|
|
|
|
default_topics_automatic_unpin:
|
|
|
|
|
default: true
|
|
|
|
|
client: true
|
|
|
|
|
|
2015-08-21 14:39:21 -04:00
|
|
|
|
default_categories_watching:
|
|
|
|
|
type: category_list
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2015-08-21 14:39:21 -04:00
|
|
|
|
default_categories_tracking:
|
|
|
|
|
type: category_list
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2015-08-21 14:39:21 -04:00
|
|
|
|
default_categories_muted:
|
|
|
|
|
type: category_list
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2016-11-09 13:37:54 -05:00
|
|
|
|
default_categories_watching_first_post:
|
|
|
|
|
type: category_list
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2022-06-19 23:49:33 -04:00
|
|
|
|
default_categories_normal:
|
2020-08-19 15:05:04 -04:00
|
|
|
|
type: category_list
|
|
|
|
|
default: ""
|
2019-11-07 21:58:11 -05:00
|
|
|
|
mute_all_categories_by_default:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2019-01-16 03:17:04 -05:00
|
|
|
|
|
2019-11-01 03:10:13 -04:00
|
|
|
|
default_tags_watching:
|
|
|
|
|
type: tag_list
|
|
|
|
|
default: ""
|
|
|
|
|
default_tags_tracking:
|
|
|
|
|
type: tag_list
|
|
|
|
|
default: ""
|
|
|
|
|
default_tags_muted:
|
|
|
|
|
type: tag_list
|
|
|
|
|
default: ""
|
|
|
|
|
default_tags_watching_first_post:
|
|
|
|
|
type: tag_list
|
|
|
|
|
default: ""
|
|
|
|
|
|
2019-01-14 08:21:46 -05:00
|
|
|
|
default_text_size:
|
|
|
|
|
type: enum
|
|
|
|
|
default: normal
|
|
|
|
|
choices:
|
2019-01-17 10:30:34 -05:00
|
|
|
|
- smaller
|
2019-01-14 08:21:46 -05:00
|
|
|
|
- normal
|
|
|
|
|
- larger
|
|
|
|
|
- largest
|
2019-04-17 12:25:13 -04:00
|
|
|
|
|
2019-04-11 19:02:18 -04:00
|
|
|
|
default_title_count_mode:
|
|
|
|
|
type: enum
|
|
|
|
|
default: notifications
|
|
|
|
|
choices:
|
|
|
|
|
- notifications
|
|
|
|
|
- contextual
|
2023-06-05 12:08:04 -04:00
|
|
|
|
enable_offline_indicator:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
2017-11-08 01:08:30 -05:00
|
|
|
|
api:
|
|
|
|
|
retain_web_hook_events_period_days:
|
|
|
|
|
default: 30
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2018-05-30 07:27:40 -04:00
|
|
|
|
retry_web_hook_events:
|
|
|
|
|
default: false
|
2019-11-27 16:15:34 -05:00
|
|
|
|
api_key_last_used_epoch:
|
2019-11-05 09:10:23 -05:00
|
|
|
|
default: "" # Value is added in a migration
|
|
|
|
|
hidden: true
|
|
|
|
|
revoke_api_keys_days:
|
|
|
|
|
default: 180
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2017-11-08 01:08:30 -05:00
|
|
|
|
|
2016-08-15 03:58:33 -04:00
|
|
|
|
user_api:
|
2016-10-14 01:05:27 -04:00
|
|
|
|
allow_user_api_keys:
|
2016-08-15 03:58:33 -04:00
|
|
|
|
default: true
|
2016-10-14 01:05:27 -04:00
|
|
|
|
allow_user_api_key_scopes:
|
2019-04-01 13:18:53 -04:00
|
|
|
|
default: "read|write|message_bus|push|notifications|session_info|one_time_password"
|
2016-10-14 01:05:27 -04:00
|
|
|
|
type: list
|
2016-08-25 22:47:10 -04:00
|
|
|
|
push_api_secret_key:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2016-08-25 22:47:10 -04:00
|
|
|
|
hidden: true
|
2016-08-15 03:58:33 -04:00
|
|
|
|
min_trust_level_for_user_api_key:
|
2017-10-01 19:59:55 -04:00
|
|
|
|
default: 0
|
2019-01-17 13:05:39 -05:00
|
|
|
|
enum: "TrustLevelSetting"
|
2016-08-15 03:58:33 -04:00
|
|
|
|
allowed_user_api_push_urls:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: ""
|
2016-08-15 03:58:33 -04:00
|
|
|
|
type: list
|
2023-03-02 04:49:47 -05:00
|
|
|
|
hidden: true
|
2016-08-15 03:58:33 -04:00
|
|
|
|
allowed_user_api_auth_redirects:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "https://api.discourse.org/api/auth_redirect|discourse://auth_redirect"
|
2016-08-15 03:58:33 -04:00
|
|
|
|
type: list
|
2018-08-20 11:36:14 -04:00
|
|
|
|
expire_user_api_keys_days:
|
|
|
|
|
default: 180
|
2020-06-08 22:48:51 -04:00
|
|
|
|
max: 36500
|
2016-08-15 03:58:33 -04:00
|
|
|
|
|
2016-04-25 15:55:15 -04:00
|
|
|
|
tags:
|
|
|
|
|
tagging_enabled:
|
|
|
|
|
client: true
|
2021-06-07 11:07:46 -04:00
|
|
|
|
default: true
|
2016-04-25 15:55:15 -04:00
|
|
|
|
refresh: true
|
|
|
|
|
tag_style:
|
|
|
|
|
client: true
|
|
|
|
|
type: enum
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "simple"
|
2016-04-25 15:55:15 -04:00
|
|
|
|
choices:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
- simple
|
|
|
|
|
- bullet
|
|
|
|
|
- box
|
2016-04-25 15:55:15 -04: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
|
2023-06-14 13:22:14 -04:00
|
|
|
|
enable_max_tags_per_email_subject:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
|
|
|
|
max_tags_per_email_subject:
|
|
|
|
|
default: 5
|
|
|
|
|
client: true
|
|
|
|
|
min: 0
|
2016-04-25 15:55:15 -04:00
|
|
|
|
max_tag_length:
|
|
|
|
|
default: 20
|
|
|
|
|
client: true
|
|
|
|
|
min_trust_to_create_tag:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "3"
|
|
|
|
|
enum: "TrustLevelAndStaffSetting"
|
2016-04-25 15:55:15 -04:00
|
|
|
|
min_trust_level_to_tag_topics:
|
2019-01-17 13:05:39 -05:00
|
|
|
|
default: "0"
|
|
|
|
|
enum: "TrustLevelAndStaffSetting"
|
2016-04-25 15:55:15 -04:00
|
|
|
|
client: true
|
|
|
|
|
max_tag_search_results:
|
|
|
|
|
client: true
|
|
|
|
|
default: 5
|
|
|
|
|
min: 1
|
|
|
|
|
max_tags_in_filter_list:
|
2019-10-17 17:22:27 -04:00
|
|
|
|
client: true
|
2016-04-25 15:55:15 -04:00
|
|
|
|
default: 30
|
|
|
|
|
min: 1
|
|
|
|
|
refresh: true
|
|
|
|
|
tags_sort_alphabetically:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
|
|
|
|
refresh: true
|
2018-01-03 10:40:32 -05:00
|
|
|
|
tags_listed_by_group:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
2022-05-10 11:02:28 -04:00
|
|
|
|
pm_tags_allowed_for_groups:
|
|
|
|
|
client: true
|
|
|
|
|
type: group_list
|
|
|
|
|
list_type: compact
|
|
|
|
|
default: ""
|
|
|
|
|
allow_any: false
|
|
|
|
|
refresh: true
|
2016-04-25 15:55:15 -04:00
|
|
|
|
suppress_overlapping_tags_in_list:
|
|
|
|
|
default: false
|
|
|
|
|
client: true
|
|
|
|
|
remove_muted_tags_from_latest:
|
2019-06-02 22:23:23 -04:00
|
|
|
|
client: true
|
|
|
|
|
type: enum
|
|
|
|
|
default: always
|
|
|
|
|
enum: RemoveMutedTagsFromLatestSiteSetting
|
2023-06-27 00:49:34 -04:00
|
|
|
|
watched_precedence_over_muted:
|
|
|
|
|
client: true
|
|
|
|
|
default: false
|
|
|
|
|
|
2018-10-05 05:23:52 -04:00
|
|
|
|
force_lowercase_tags:
|
2018-10-19 10:43:31 -04:00
|
|
|
|
default: true
|
|
|
|
|
client: true
|
2023-04-05 14:31:31 -04:00
|
|
|
|
create_post_for_category_and_tag_changes:
|
|
|
|
|
default: false
|
2018-12-26 04:29:07 -05:00
|
|
|
|
|
|
|
|
|
dashboard:
|
2020-04-30 11:31:04 -04:00
|
|
|
|
dashboard_hidden_reports:
|
|
|
|
|
client: true
|
|
|
|
|
type: list
|
|
|
|
|
list_type: compact
|
|
|
|
|
default: ""
|
|
|
|
|
allow_any: true
|
|
|
|
|
dashboard_visible_tabs:
|
|
|
|
|
client: true
|
|
|
|
|
type: list
|
|
|
|
|
list_type: compact
|
|
|
|
|
default: "moderation|security|reports"
|
|
|
|
|
allow_any: false
|
|
|
|
|
choices:
|
|
|
|
|
- moderation
|
|
|
|
|
- security
|
|
|
|
|
- reports
|
2018-12-26 04:29:07 -05:00
|
|
|
|
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
|
2022-02-10 20:00:58 -05:00
|
|
|
|
verbose_user_stat_count_logging:
|
|
|
|
|
hidden: true
|
|
|
|
|
default: false
|