2014-06-18 22:49:21 +08:00
|
|
|
# Available options:
|
2014-06-13 06:03:03 +08:00
|
|
|
#
|
2014-06-18 22:49:21 +08:00
|
|
|
# default - The default value of the setting.
|
|
|
|
# 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.
|
|
|
|
# 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.
|
|
|
|
# type: email - Must be a valid email address.
|
|
|
|
# type: username - Must match the username of an existing user.
|
2014-06-19 00:07:18 +08:00
|
|
|
# type: list - A list of values, chosen from a set of valid values defined in the choices option.
|
2013-11-15 01:37:41 +08:00
|
|
|
required:
|
2013-11-07 04:47:26 +08:00
|
|
|
title:
|
|
|
|
client: true
|
|
|
|
default: 'Discourse'
|
2014-06-18 22:49:21 +08:00
|
|
|
site_description:
|
|
|
|
default: ''
|
2014-06-10 03:17:36 +08:00
|
|
|
contact_email:
|
|
|
|
default: ''
|
2014-06-13 06:03:03 +08:00
|
|
|
type: email
|
2014-06-10 03:17:36 +08:00
|
|
|
notification_email:
|
2014-06-20 02:58:03 +08:00
|
|
|
default: 'info@unconfigured.discourse.org'
|
2014-06-13 06:03:03 +08:00
|
|
|
type: email
|
2014-06-12 02:42:41 +08:00
|
|
|
site_contact_username:
|
|
|
|
default: ''
|
2014-06-13 06:03:03 +08:00
|
|
|
type: username
|
2013-11-07 04:47:26 +08:00
|
|
|
logo_url:
|
|
|
|
client: true
|
2013-12-23 07:06:33 +08:00
|
|
|
default: '/images/d-logo-sketch.png'
|
2013-11-07 04:47:26 +08:00
|
|
|
logo_small_url:
|
|
|
|
client: true
|
2013-12-23 07:06:33 +08:00
|
|
|
default: '/images/d-logo-sketch-small.png'
|
2014-03-19 03:56:17 +08:00
|
|
|
digest_logo_url:
|
|
|
|
client: false
|
|
|
|
default: ''
|
2014-06-19 03:44:00 +08:00
|
|
|
mobile_logo_url:
|
|
|
|
client: true
|
|
|
|
default: ''
|
2013-11-14 03:02:47 +08:00
|
|
|
favicon_url:
|
|
|
|
client: true
|
2013-12-23 07:06:33 +08:00
|
|
|
default: '/images/default-favicon.ico'
|
2013-12-27 10:40:13 +08:00
|
|
|
apple_touch_icon_url: '/images/default-apple-touch-icon.png'
|
2013-11-07 04:47:26 +08:00
|
|
|
company_full_name: 'My Unconfigured Forum Ltd.'
|
|
|
|
company_short_name: 'Unconfigured Forum'
|
|
|
|
company_domain: 'www.example.com'
|
2013-11-14 03:02:47 +08:00
|
|
|
|
2013-11-15 04:05:48 +08:00
|
|
|
basic:
|
|
|
|
default_locale:
|
|
|
|
default: 'en'
|
|
|
|
enum: 'LocaleSiteSetting'
|
2014-02-21 13:52:11 +08:00
|
|
|
refresh: true
|
2014-02-09 09:35:46 +08:00
|
|
|
allow_user_locale:
|
|
|
|
client: true
|
|
|
|
default: false
|
2014-03-22 09:14:35 +08:00
|
|
|
suggested_topics:
|
|
|
|
client: true
|
|
|
|
default: 5
|
2014-06-13 06:03:03 +08:00
|
|
|
min: 0
|
2014-06-04 05:48:18 +08:00
|
|
|
limit_suggested_to_category:
|
|
|
|
client: false
|
|
|
|
default: false
|
2014-03-22 09:14:35 +08:00
|
|
|
default_external_links_in_new_tab: false
|
|
|
|
track_external_right_clicks:
|
|
|
|
client: true
|
|
|
|
default: false
|
2014-01-26 08:42:25 +08:00
|
|
|
ga_universal_tracking_code:
|
|
|
|
client: true
|
|
|
|
default: ''
|
2014-06-21 01:02:04 +08:00
|
|
|
regex: "^UA-\\d+-\\d+$"
|
2014-01-26 08:42:25 +08:00
|
|
|
ga_universal_domain_name:
|
|
|
|
client: true
|
|
|
|
default: 'auto'
|
2014-06-21 01:02:04 +08:00
|
|
|
ga_tracking_code:
|
|
|
|
client: true
|
|
|
|
default: ''
|
|
|
|
ga_domain_name:
|
|
|
|
client: true
|
|
|
|
default: ''
|
2013-11-15 04:05:48 +08:00
|
|
|
top_menu:
|
|
|
|
client: true
|
2014-03-08 02:07:53 +08:00
|
|
|
refresh: true
|
2014-06-18 23:15:29 +08:00
|
|
|
type: list
|
2014-03-15 07:03:01 +08:00
|
|
|
default: 'latest|new|unread|starred|top|categories'
|
2014-06-05 00:51:21 +08:00
|
|
|
choices:
|
|
|
|
- latest
|
|
|
|
- new
|
|
|
|
- unread
|
|
|
|
- starred
|
|
|
|
- top
|
|
|
|
- categories
|
|
|
|
- read
|
|
|
|
- posted
|
2013-11-15 04:05:48 +08:00
|
|
|
post_menu:
|
|
|
|
client: true
|
2014-06-18 23:15:29 +08:00
|
|
|
type: list
|
2014-06-11 03:27:43 +08:00
|
|
|
default: 'like|share|flag|edit|bookmark|delete|admin|reply'
|
2014-06-01 22:37:51 +08:00
|
|
|
choices:
|
|
|
|
- like
|
|
|
|
- edit
|
|
|
|
- flag
|
|
|
|
- delete
|
|
|
|
- share
|
|
|
|
- bookmark
|
|
|
|
- admin
|
|
|
|
- reply
|
2014-06-11 03:27:43 +08:00
|
|
|
post_menu_hidden_items:
|
2014-05-31 23:18:53 +08:00
|
|
|
client: true
|
2014-06-18 23:15:29 +08:00
|
|
|
type: list
|
2014-06-12 23:20:44 +08:00
|
|
|
default: 'edit|delete|admin'
|
2014-06-11 03:27:43 +08:00
|
|
|
choices:
|
|
|
|
- like
|
|
|
|
- edit
|
|
|
|
- flag
|
|
|
|
- delete
|
|
|
|
- share
|
|
|
|
- bookmark
|
|
|
|
- admin
|
|
|
|
- reply
|
2013-11-15 04:05:48 +08:00
|
|
|
share_links:
|
|
|
|
client: true
|
2014-06-18 23:15:29 +08:00
|
|
|
type: list
|
2013-11-15 04:05:48 +08:00
|
|
|
default: 'twitter|facebook|google+|email'
|
2014-06-01 22:37:51 +08:00
|
|
|
choices:
|
|
|
|
- twitter
|
|
|
|
- facebook
|
|
|
|
- google+
|
|
|
|
- email
|
2013-11-15 04:05:48 +08:00
|
|
|
category_colors:
|
|
|
|
client: true
|
2014-06-18 23:15:29 +08:00
|
|
|
type: list
|
2013-11-15 04:05:48 +08:00
|
|
|
default: 'BF1E2E|F1592A|F7941D|9EB83B|3AB54A|12A89D|25AAE2|0E76BD|652D90|92278F|ED207B|8C6238|231F20|808281|B3B5B4|283890'
|
2014-03-22 09:14:35 +08:00
|
|
|
enable_mobile_theme:
|
|
|
|
client: true
|
|
|
|
default: true
|
2013-11-15 04:05:48 +08:00
|
|
|
relative_date_duration:
|
|
|
|
client: true
|
|
|
|
default: 30
|
2014-06-13 06:03:03 +08:00
|
|
|
min: 0
|
|
|
|
topics_per_period_in_top_summary:
|
|
|
|
default: 20
|
|
|
|
min: 1
|
|
|
|
topics_per_period_in_top_page:
|
|
|
|
default: 50
|
|
|
|
min: 1
|
2014-03-22 09:14:35 +08:00
|
|
|
category_featured_topics:
|
|
|
|
client: true
|
|
|
|
default: 3
|
2014-06-13 06:03:03 +08:00
|
|
|
min: 1
|
2014-05-16 23:33:44 +08:00
|
|
|
fixed_category_positions:
|
|
|
|
client: true
|
|
|
|
default: false
|
2014-06-13 06:03:03 +08:00
|
|
|
topics_per_page:
|
|
|
|
default: 30
|
2014-06-13 06:21:18 +08:00
|
|
|
min: 1
|
2014-07-02 05:12:03 +08:00
|
|
|
show_subcategory_list:
|
|
|
|
default: false
|
|
|
|
client: true
|
2014-03-22 09:14:35 +08:00
|
|
|
posts_per_page:
|
|
|
|
client: true
|
|
|
|
default: 20
|
2014-06-13 06:21:18 +08:00
|
|
|
min: 1
|
2014-03-05 20:52:20 +08:00
|
|
|
enable_badges:
|
|
|
|
client: true
|
2014-07-02 10:32:16 +08:00
|
|
|
default: true
|
2013-11-15 04:05:48 +08:00
|
|
|
|
2013-11-14 03:02:47 +08:00
|
|
|
users:
|
|
|
|
invite_only:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
|
|
|
default: false
|
2013-11-14 03:02:47 +08:00
|
|
|
login_required:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
|
|
|
default: false
|
|
|
|
must_approve_users:
|
|
|
|
client: true
|
|
|
|
default: false
|
2014-03-22 09:14:35 +08:00
|
|
|
enable_local_logins:
|
|
|
|
client: true
|
|
|
|
default: true
|
2014-03-01 02:54:21 +08:00
|
|
|
min_username_length:
|
|
|
|
client: true
|
|
|
|
default: 3
|
2014-06-13 06:03:03 +08:00
|
|
|
min: 1
|
2014-04-14 10:55:33 +08:00
|
|
|
max_username_length:
|
|
|
|
client: true
|
2014-05-22 06:28:16 +08:00
|
|
|
default: 20
|
2014-06-13 06:03:03 +08:00
|
|
|
min: 8
|
|
|
|
max: 60
|
2013-12-20 05:15:36 +08:00
|
|
|
min_password_length:
|
|
|
|
client: true
|
|
|
|
default: 8
|
2014-06-13 06:03:03 +08:00
|
|
|
min: 1
|
2013-12-21 05:34:34 +08:00
|
|
|
block_common_passwords: true
|
2014-05-22 07:40:59 +08:00
|
|
|
|
|
|
|
# The default value of enable_google_logins changed from true to false.
|
|
|
|
# See db/migrate/20140521220115_google_openid_default_has_changed.rb
|
2013-11-14 03:02:47 +08:00
|
|
|
enable_google_logins:
|
2014-05-22 06:19:40 +08:00
|
|
|
client: true
|
|
|
|
default: false
|
2014-05-22 07:40:59 +08:00
|
|
|
|
2014-05-22 06:19:40 +08:00
|
|
|
enable_google_oauth2_logins:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
2014-06-04 23:35:18 +08:00
|
|
|
default: false
|
2014-05-22 06:19:40 +08:00
|
|
|
google_oauth2_client_id: ''
|
|
|
|
google_oauth2_client_secret: ''
|
2013-11-14 03:02:47 +08:00
|
|
|
enable_yahoo_logins:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
2014-06-04 23:35:18 +08:00
|
|
|
default: false
|
2013-11-14 03:02:47 +08:00
|
|
|
enable_twitter_logins:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
2014-06-04 23:35:18 +08:00
|
|
|
default: false
|
2014-06-21 01:02:04 +08:00
|
|
|
twitter_consumer_key:
|
|
|
|
default: ''
|
|
|
|
regex: "^\\w*$"
|
|
|
|
twitter_consumer_secret:
|
|
|
|
default: ''
|
|
|
|
regex: "^\\w*$"
|
2013-11-14 03:02:47 +08:00
|
|
|
enable_facebook_logins:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
2014-06-04 23:35:18 +08:00
|
|
|
default: false
|
2014-06-21 01:02:04 +08:00
|
|
|
facebook_app_id:
|
|
|
|
default: ''
|
|
|
|
regex: "^\\d+$"
|
|
|
|
facebook_app_secret:
|
|
|
|
default: ''
|
|
|
|
regex: "^[a-f0-9]*$"
|
2013-11-14 03:02:47 +08:00
|
|
|
enable_github_logins:
|
|
|
|
client: true
|
|
|
|
default: false
|
2014-06-21 01:02:04 +08:00
|
|
|
github_client_id:
|
|
|
|
default: ''
|
|
|
|
regex: "^[a-f0-9]*$"
|
|
|
|
github_client_secret:
|
|
|
|
default: ''
|
|
|
|
regex: "^[a-f0-9]*$"
|
2014-03-22 09:14:35 +08:00
|
|
|
enable_sso:
|
|
|
|
client: true
|
|
|
|
default: false
|
|
|
|
sso_url: ''
|
|
|
|
sso_secret: ''
|
|
|
|
sso_overrides_email: false
|
|
|
|
sso_overrides_username: false
|
|
|
|
sso_overrides_name: false
|
2013-11-22 04:44:09 +08:00
|
|
|
enforce_global_nicknames: false
|
2013-11-14 03:02:47 +08:00
|
|
|
discourse_org_access_key: ''
|
|
|
|
username_change_period: 3
|
2014-03-22 09:14:35 +08:00
|
|
|
auto_track_topics_after: 240000
|
2013-11-14 03:02:47 +08:00
|
|
|
email_editable: true
|
|
|
|
enable_names:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
|
|
|
default: true
|
2014-07-02 00:52:52 +08:00
|
|
|
invite_expiry_days: 1
|
|
|
|
invite_passthrough_hours: 0
|
2013-11-14 03:02:47 +08:00
|
|
|
invites_shown:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
2013-11-14 03:02:47 +08:00
|
|
|
default: 30
|
2014-02-21 01:29:40 +08:00
|
|
|
delete_user_max_post_age:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
2014-01-09 06:50:08 +08:00
|
|
|
default: 60
|
2014-04-15 03:10:32 +08:00
|
|
|
delete_all_posts_max:
|
|
|
|
client: true
|
|
|
|
default: 15
|
2014-04-01 03:53:38 +08:00
|
|
|
redirect_users_to_top_page: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
2014-07-02 07:08:25 +08:00
|
|
|
email_token_valid_hours: 24
|
|
|
|
email_token_grace_period_hours: 0
|
|
|
|
|
2013-11-14 03:02:47 +08:00
|
|
|
posting:
|
2013-11-07 04:47:26 +08:00
|
|
|
min_post_length:
|
|
|
|
client: true
|
|
|
|
default:
|
|
|
|
test: 5
|
|
|
|
default: 20
|
|
|
|
min_private_message_post_length:
|
|
|
|
client: true
|
|
|
|
default:
|
|
|
|
test: 5
|
|
|
|
default: 10
|
|
|
|
max_post_length:
|
|
|
|
client: true
|
2013-12-06 06:03:31 +08:00
|
|
|
default:
|
2013-11-30 08:06:39 +08:00
|
|
|
test: 4000
|
|
|
|
default: 32000
|
2014-03-22 09:14:35 +08:00
|
|
|
body_min_entropy: 7
|
2013-11-07 04:47:26 +08:00
|
|
|
min_topic_title_length:
|
|
|
|
client: true
|
|
|
|
default: 15
|
|
|
|
max_topic_title_length:
|
|
|
|
client: true
|
|
|
|
default: 255
|
2014-03-22 09:14:35 +08:00
|
|
|
title_min_entropy: 10
|
2013-11-14 03:02:47 +08:00
|
|
|
title_prettify: true
|
2014-04-19 03:01:21 +08:00
|
|
|
title_sanitize: false
|
2013-11-14 03:02:47 +08:00
|
|
|
title_fancy_entities: true
|
2013-11-07 04:47:26 +08:00
|
|
|
min_private_message_title_length:
|
|
|
|
client: true
|
|
|
|
default: 2
|
|
|
|
allow_uncategorized_topics:
|
|
|
|
client: true
|
|
|
|
default: true
|
2014-02-21 13:52:11 +08:00
|
|
|
refresh: true
|
2014-06-26 03:21:29 +08:00
|
|
|
uncategorized_description: "Topics that don't need a category, or don't fit into any other existing category."
|
2013-11-14 03:02:47 +08:00
|
|
|
allow_duplicate_topic_titles: false
|
|
|
|
min_title_similar_length:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
2013-11-14 03:02:47 +08:00
|
|
|
default: 10
|
|
|
|
min_body_similar_length:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
2013-11-14 03:02:47 +08:00
|
|
|
default: 15
|
|
|
|
enable_private_messages: true
|
|
|
|
ninja_edit_window: 300
|
2014-01-07 23:32:09 +08:00
|
|
|
post_edit_time_limit: 525600
|
2013-11-14 03:02:47 +08:00
|
|
|
edit_history_visible_to_public:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
|
|
|
default: true
|
2013-11-14 03:02:47 +08:00
|
|
|
delete_removed_posts_after:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
2013-11-14 03:02:47 +08:00
|
|
|
default: 24
|
|
|
|
traditional_markdown_linebreaks:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
2013-11-14 03:02:47 +08:00
|
|
|
default: false
|
|
|
|
suppress_reply_directly_below:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
|
|
|
default: true
|
2013-11-14 03:02:47 +08:00
|
|
|
suppress_reply_directly_above:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
2013-11-14 03:02:47 +08:00
|
|
|
default: true
|
|
|
|
post_undo_action_window_mins: 10
|
|
|
|
max_mentions_per_post: 10
|
2013-12-20 02:45:55 +08:00
|
|
|
newuser_max_replies_per_topic: 3
|
2013-11-14 03:02:47 +08:00
|
|
|
newuser_max_mentions_per_post: 2
|
|
|
|
max_word_length: 30
|
|
|
|
newuser_max_links: 2
|
|
|
|
newuser_max_images:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
2013-11-14 03:02:47 +08:00
|
|
|
default: 0
|
|
|
|
newuser_max_attachments:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
2013-11-14 03:02:47 +08:00
|
|
|
default: 0
|
|
|
|
uncategorized_category_id:
|
|
|
|
default: -1
|
|
|
|
hidden: true
|
|
|
|
post_excerpt_maxlength: 300
|
|
|
|
display_name_on_posts:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
|
|
|
default: false
|
2013-12-06 06:03:31 +08:00
|
|
|
short_progress_text_threshold:
|
|
|
|
client: true
|
2014-07-04 17:44:39 +08:00
|
|
|
default: 10000
|
2013-12-17 09:08:29 +08:00
|
|
|
default_code_lang:
|
|
|
|
client: true
|
|
|
|
default: "lang-auto"
|
2014-03-12 22:44:08 +08:00
|
|
|
warn_reviving_old_topic_age: 180
|
2014-03-31 15:44:35 +08:00
|
|
|
autohighlight_all_code:
|
|
|
|
client: true
|
|
|
|
default: false
|
2013-11-14 03:02:47 +08:00
|
|
|
|
|
|
|
email:
|
|
|
|
email_time_window_mins: 10
|
|
|
|
email_posts_context: 5
|
2014-02-14 05:11:01 +08:00
|
|
|
digest_min_excerpt_length: 100
|
2014-04-22 02:44:00 +08:00
|
|
|
digest_topics: 20
|
2013-11-14 03:02:47 +08:00
|
|
|
default_digest_email_frequency:
|
|
|
|
default: 7
|
|
|
|
enum: 'DigestEmailSiteSetting'
|
|
|
|
email_custom_headers: 'Auto-Submitted: auto-generated'
|
|
|
|
reply_by_email_enabled: false
|
|
|
|
reply_by_email_address: ''
|
|
|
|
pop3s_polling_enabled: false
|
2014-06-02 20:59:10 +08:00
|
|
|
pop3s_polling_insecure: false
|
2014-06-21 15:57:49 +08:00
|
|
|
pop3s_polling_period_mins: 5
|
2013-11-14 03:02:47 +08:00
|
|
|
pop3s_polling_host: ''
|
|
|
|
pop3s_polling_port: 995
|
2014-06-13 06:21:18 +08:00
|
|
|
pop3s_polling_username: ''
|
2013-11-14 03:02:47 +08:00
|
|
|
pop3s_polling_password: ''
|
2014-02-27 20:44:21 +08:00
|
|
|
email_in:
|
|
|
|
default: false
|
|
|
|
client: true
|
2014-06-10 03:17:36 +08:00
|
|
|
email_in_address:
|
|
|
|
default: ''
|
2014-06-13 06:03:03 +08:00
|
|
|
type: email
|
2014-02-25 00:36:53 +08:00
|
|
|
email_in_min_trust:
|
|
|
|
default: 3
|
|
|
|
enum: 'MinTrustToCreateTopicSetting'
|
|
|
|
email_in_category: -1
|
2014-03-27 06:06:00 +08:00
|
|
|
email_prefix: ''
|
2013-11-14 03:02:47 +08:00
|
|
|
|
|
|
|
files:
|
2013-11-07 04:47:26 +08:00
|
|
|
max_image_size_kb:
|
|
|
|
client: true
|
|
|
|
default: 2048
|
|
|
|
max_attachment_size_kb:
|
|
|
|
client: true
|
|
|
|
default: 1024
|
|
|
|
authorized_extensions:
|
|
|
|
client: true
|
2014-04-30 01:12:35 +08:00
|
|
|
default: 'jpg|jpeg|png|gif'
|
2014-02-21 13:52:11 +08:00
|
|
|
refresh: true
|
2014-06-18 23:15:29 +08:00
|
|
|
type: list
|
2013-11-07 04:47:26 +08:00
|
|
|
crawl_images:
|
|
|
|
default:
|
|
|
|
test: false
|
|
|
|
default: true
|
|
|
|
max_image_width:
|
|
|
|
client: true
|
|
|
|
default: 690
|
|
|
|
max_image_height:
|
|
|
|
client: true
|
|
|
|
default: 500
|
2014-03-22 09:14:35 +08:00
|
|
|
download_remote_images_to_local:
|
|
|
|
default:
|
|
|
|
test: false
|
|
|
|
default: true
|
|
|
|
download_remote_images_threshold: 20
|
2014-04-22 04:59:53 +08:00
|
|
|
disabled_image_download_domains:
|
2014-06-18 23:15:29 +08:00
|
|
|
type: list
|
2014-04-22 04:59:53 +08:00
|
|
|
default: ''
|
2013-11-07 04:47:26 +08:00
|
|
|
create_thumbnails: true
|
2013-11-14 03:02:47 +08:00
|
|
|
clean_up_uploads: false
|
2013-11-28 05:01:41 +08:00
|
|
|
clean_orphan_uploads_grace_period_hours: 1
|
|
|
|
purge_deleted_uploads_grace_period_days: 30
|
2013-11-14 03:02:47 +08:00
|
|
|
enable_s3_uploads: false
|
|
|
|
s3_access_key_id: ''
|
|
|
|
s3_secret_access_key: ''
|
|
|
|
s3_region:
|
|
|
|
default: ''
|
|
|
|
enum: 'S3RegionSiteSetting'
|
2014-06-21 01:02:04 +08:00
|
|
|
s3_upload_bucket:
|
|
|
|
default: ''
|
|
|
|
regex: "^[^\\.]*$"
|
2014-03-01 04:12:51 +08:00
|
|
|
allow_profile_backgrounds:
|
|
|
|
client: true
|
|
|
|
default: true
|
2014-05-22 15:37:02 +08:00
|
|
|
automatically_download_gravatars: true
|
2013-11-14 03:02:47 +08:00
|
|
|
allow_uploaded_avatars:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
2013-11-14 03:02:47 +08:00
|
|
|
default: true
|
|
|
|
allow_animated_avatars:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
2013-11-14 03:02:47 +08:00
|
|
|
default: false
|
|
|
|
|
|
|
|
trust:
|
|
|
|
default_trust_level: 0
|
|
|
|
default_invitee_trust_level: 1
|
2014-03-22 09:14:35 +08:00
|
|
|
min_trust_to_create_topic:
|
|
|
|
default: 0
|
|
|
|
enum: 'MinTrustToCreateTopicSetting'
|
2014-05-13 20:53:11 +08:00
|
|
|
min_trust_to_edit_wiki_post:
|
2014-06-04 13:24:09 +08:00
|
|
|
default: 1
|
2014-05-13 20:53:11 +08:00
|
|
|
enum: 'MinTrustToCreateTopicSetting'
|
2013-11-14 03:02:47 +08:00
|
|
|
basic_requires_topics_entered: 5
|
2014-05-30 06:44:27 +08:00
|
|
|
basic_requires_read_posts: 30
|
|
|
|
basic_requires_time_spent_mins: 10
|
2013-11-14 03:02:47 +08:00
|
|
|
regular_requires_topics_entered: 20
|
|
|
|
regular_requires_read_posts: 100
|
|
|
|
regular_requires_time_spent_mins: 60
|
|
|
|
regular_requires_days_visited: 15
|
|
|
|
regular_requires_likes_received: 1
|
|
|
|
regular_requires_likes_given: 1
|
|
|
|
regular_requires_topic_reply_count: 3
|
2014-06-28 00:26:03 +08:00
|
|
|
leader_requires_days_visited:
|
|
|
|
default: 50
|
|
|
|
min: 1
|
|
|
|
max: 100
|
|
|
|
leader_requires_topics_replied_to:
|
|
|
|
default: 10
|
|
|
|
min: 0
|
|
|
|
leader_requires_topics_viewed:
|
|
|
|
default: 25
|
|
|
|
min: 0
|
|
|
|
max: 100
|
|
|
|
leader_requires_posts_read:
|
|
|
|
default: 25
|
|
|
|
min: 0
|
|
|
|
max: 100
|
2014-07-02 01:34:48 +08:00
|
|
|
leader_requires_topics_viewed_all_time:
|
|
|
|
default: 200
|
|
|
|
min: 0
|
|
|
|
leader_requires_posts_read_all_time:
|
|
|
|
default: 500
|
|
|
|
min: 0
|
2014-06-28 00:26:03 +08:00
|
|
|
leader_requires_max_flagged:
|
|
|
|
default: 5
|
|
|
|
min: 0
|
2013-11-14 03:02:47 +08:00
|
|
|
|
2013-11-15 04:05:48 +08:00
|
|
|
security:
|
2014-01-09 07:51:38 +08:00
|
|
|
use_https: false
|
2014-03-08 07:47:23 +08:00
|
|
|
enable_escaped_fragments: true
|
2013-11-15 04:05:48 +08:00
|
|
|
allow_index_in_robots_txt: true
|
2014-03-08 07:47:23 +08:00
|
|
|
enable_noscript_support: true
|
2014-04-15 14:42:24 +08:00
|
|
|
allow_moderators_to_create_categories: false
|
2013-11-15 04:05:48 +08:00
|
|
|
|
2014-04-10 04:57:45 +08:00
|
|
|
onebox:
|
|
|
|
enable_flash_video_onebox: false
|
|
|
|
post_onebox_maxlength: 500
|
|
|
|
onebox_domains_whitelist:
|
|
|
|
default: ''
|
2014-06-18 23:15:29 +08:00
|
|
|
type: list
|
2014-04-10 04:57:45 +08:00
|
|
|
|
2013-11-14 03:02:47 +08:00
|
|
|
spam:
|
2014-03-22 09:14:35 +08:00
|
|
|
add_rel_nofollow_to_user_content: true
|
2014-03-30 13:32:33 +08:00
|
|
|
exclude_rel_nofollow_domains:
|
|
|
|
default: ''
|
2014-06-18 23:15:29 +08:00
|
|
|
type: list
|
2014-03-30 13:32:33 +08:00
|
|
|
email_domains_blacklist:
|
|
|
|
default: 'mailinator.com'
|
2014-06-18 23:15:29 +08:00
|
|
|
type: list
|
2014-03-30 13:32:33 +08:00
|
|
|
email_domains_whitelist:
|
|
|
|
default: ''
|
2014-06-18 23:15:29 +08:00
|
|
|
type: list
|
2013-11-14 03:02:47 +08:00
|
|
|
flags_required_to_hide_post: 3
|
|
|
|
cooldown_minutes_after_hiding_posts: 10
|
|
|
|
num_flags_to_block_new_user: 3
|
|
|
|
num_users_to_block_new_user: 3
|
|
|
|
notify_mods_when_user_blocked: false
|
|
|
|
flag_sockpuppets: true
|
|
|
|
newuser_spam_host_threshold: 3
|
2014-03-30 13:32:33 +08:00
|
|
|
white_listed_spam_host_domains:
|
|
|
|
default: ''
|
2014-06-18 23:15:29 +08:00
|
|
|
type: list
|
2013-11-14 03:02:47 +08:00
|
|
|
|
|
|
|
rate_limits:
|
2013-11-07 04:47:26 +08:00
|
|
|
unique_posts_mins:
|
|
|
|
default:
|
|
|
|
test: 0
|
|
|
|
default: 5
|
|
|
|
rate_limit_create_topic: 5
|
|
|
|
rate_limit_create_post: 5
|
|
|
|
max_topics_per_day: 20
|
|
|
|
max_private_messages_per_day: 20
|
|
|
|
max_likes_per_day: 50
|
|
|
|
max_bookmarks_per_day: 20
|
|
|
|
max_flags_per_day: 20
|
|
|
|
max_edits_per_day: 30
|
2014-01-10 05:22:54 +08:00
|
|
|
max_stars_per_day: 20
|
2014-03-22 09:14:35 +08:00
|
|
|
max_topics_in_first_day: 5
|
|
|
|
max_replies_in_first_day: 10
|
2013-11-14 03:02:47 +08:00
|
|
|
|
2013-11-15 03:46:17 +08:00
|
|
|
developer:
|
|
|
|
force_hostname: ''
|
|
|
|
port:
|
|
|
|
default:
|
|
|
|
development: 3000
|
|
|
|
default: ''
|
|
|
|
queue_jobs:
|
|
|
|
default:
|
|
|
|
test: false
|
|
|
|
default: true
|
2014-03-22 09:14:35 +08:00
|
|
|
enable_long_polling:
|
|
|
|
client: true
|
|
|
|
default: true
|
|
|
|
long_polling_interval: 15000
|
|
|
|
polling_interval:
|
|
|
|
client: true
|
|
|
|
default: 3000
|
|
|
|
anon_polling_interval:
|
|
|
|
client: true
|
|
|
|
default: 30000
|
|
|
|
flush_timings_secs:
|
|
|
|
client: true
|
|
|
|
default: 5
|
|
|
|
active_user_rate_limit_secs: 60
|
2013-11-14 03:02:47 +08:00
|
|
|
|
2014-01-01 03:37:43 +08:00
|
|
|
embedding:
|
|
|
|
embeddable_host: ''
|
|
|
|
feed_polling_enabled: false
|
|
|
|
feed_polling_url: ''
|
2014-06-12 02:42:41 +08:00
|
|
|
embed_by_username:
|
|
|
|
default: ''
|
2014-06-13 06:03:03 +08:00
|
|
|
type: username
|
2014-04-25 00:48:45 +08:00
|
|
|
embed_username_key_from_feed: ''
|
2014-01-24 13:25:48 +08:00
|
|
|
embed_category: ''
|
2014-01-04 01:52:24 +08:00
|
|
|
embed_post_limit: 100
|
2014-03-19 06:02:33 +08:00
|
|
|
embed_truncate: false
|
2014-04-15 12:06:51 +08:00
|
|
|
embed_whitelist_selector: ''
|
|
|
|
embed_blacklist_selector: ''
|
2014-01-01 03:37:43 +08:00
|
|
|
|
2014-02-08 05:04:00 +08:00
|
|
|
legal:
|
2013-11-14 03:02:47 +08:00
|
|
|
tos_url:
|
|
|
|
client: true
|
|
|
|
default: ''
|
2014-02-08 05:04:00 +08:00
|
|
|
privacy_policy_url:
|
2013-11-14 03:02:47 +08:00
|
|
|
client: true
|
|
|
|
default: ''
|
2014-02-08 05:04:00 +08:00
|
|
|
tos_accept_required:
|
|
|
|
client: true
|
|
|
|
default: false
|
2014-03-22 09:14:35 +08:00
|
|
|
faq_url:
|
|
|
|
client: true
|
|
|
|
default: ''
|
2014-02-08 05:04:00 +08:00
|
|
|
|
2014-03-12 05:28:12 +08:00
|
|
|
backups:
|
|
|
|
allow_restore:
|
|
|
|
client: true
|
|
|
|
default: false
|
|
|
|
maximum_backups:
|
|
|
|
client: true
|
|
|
|
default: 7
|
2014-03-13 01:26:51 +08:00
|
|
|
backup_daily:
|
|
|
|
client: false
|
|
|
|
default: false
|
2014-03-13 04:23:47 +08:00
|
|
|
enable_s3_backups:
|
|
|
|
client: false
|
|
|
|
default: false
|
|
|
|
s3_backup_bucket:
|
|
|
|
client: false
|
2014-06-21 01:02:04 +08:00
|
|
|
default: ''
|
|
|
|
regex: "^[^\\.]*$"
|
2014-03-12 05:28:12 +08:00
|
|
|
|
2014-02-08 05:04:00 +08:00
|
|
|
uncategorized:
|
2014-03-22 09:14:35 +08:00
|
|
|
version_checks:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
2014-03-22 09:14:35 +08:00
|
|
|
default: true
|
|
|
|
new_version_emails: true
|
|
|
|
send_welcome_message: true
|
2013-11-15 04:05:48 +08:00
|
|
|
|
2014-03-22 09:14:35 +08:00
|
|
|
suppress_uncategorized_badge:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
|
|
|
default: true
|
2014-03-22 09:14:35 +08:00
|
|
|
|
|
|
|
# Search
|
2013-11-14 03:02:47 +08:00
|
|
|
min_search_term_length:
|
2013-11-07 04:47:26 +08:00
|
|
|
client: true
|
2013-11-14 03:02:47 +08:00
|
|
|
default: 3
|
2014-03-22 09:14:35 +08:00
|
|
|
max_similar_results: 7
|
|
|
|
minimum_topics_similar: 50
|
|
|
|
|
2013-11-14 03:02:47 +08:00
|
|
|
new_topic_duration_minutes: 2880
|
|
|
|
previous_visit_timeout_hours: 1
|
|
|
|
staff_like_weight: 3
|
2014-03-22 09:14:35 +08:00
|
|
|
|
|
|
|
# Summary mode
|
2013-11-19 01:48:26 +08:00
|
|
|
summary_score_threshold: 15
|
|
|
|
summary_posts_required: 50
|
|
|
|
summary_likes_required: 1
|
|
|
|
summary_percent_filter: 20
|
2014-03-22 09:14:35 +08:00
|
|
|
|
|
|
|
# View heat thresholds
|
2013-11-07 04:47:26 +08:00
|
|
|
topic_views_heat_low:
|
|
|
|
client: true
|
|
|
|
default: 1000
|
|
|
|
topic_views_heat_medium:
|
|
|
|
client: true
|
|
|
|
default: 2000
|
|
|
|
topic_views_heat_high:
|
|
|
|
client: true
|
|
|
|
default: 5000
|
2014-03-22 09:14:35 +08:00
|
|
|
|
|
|
|
# Warnings
|
|
|
|
educate_until_posts: 2
|
2013-11-07 04:47:26 +08:00
|
|
|
sequential_replies_threshold: 2
|
|
|
|
dominating_topic_minimum_percent: 20
|
2014-03-22 09:14:35 +08:00
|
|
|
|
2014-03-24 13:51:48 +08:00
|
|
|
global_notice:
|
|
|
|
default: ""
|
|
|
|
client: true
|
2014-03-24 15:03:39 +08:00
|
|
|
has_login_hint:
|
|
|
|
default: false
|
|
|
|
hidden: true
|
2014-03-24 13:51:48 +08:00
|
|
|
|
2014-03-22 09:14:35 +08:00
|
|
|
# Category IDs
|
2014-01-21 04:49:43 +08:00
|
|
|
lounge_category_id:
|
|
|
|
default: -1
|
|
|
|
hidden: true
|
2014-01-22 13:05:46 +08:00
|
|
|
meta_category_id:
|
|
|
|
default: -1
|
|
|
|
hidden: true
|
2014-02-28 06:38:01 +08:00
|
|
|
staff_category_id:
|
|
|
|
default: -1
|
|
|
|
hidden: true
|
2013-11-14 03:02:47 +08:00
|
|
|
|
2014-04-04 02:34:21 +08:00
|
|
|
notify_about_flags_after: 48
|
2014-05-15 02:38:04 +08:00
|
|
|
|
|
|
|
public_user_custom_fields:
|
2014-06-18 23:15:29 +08:00
|
|
|
type: list
|
2014-05-15 02:38:04 +08:00
|
|
|
default: ''
|
2014-05-19 06:46:09 +08:00
|
|
|
|
|
|
|
enable_cdn_js_debugging: true
|
2014-05-22 15:37:02 +08:00
|
|
|
|
2014-05-26 23:13:04 +08:00
|
|
|
show_create_topics_notice:
|
|
|
|
client: true
|
|
|
|
default: true
|
|
|
|
|
2014-05-22 15:37:02 +08:00
|
|
|
enable_system_avatars:
|
|
|
|
hidden: true
|
|
|
|
default: true
|
2014-06-11 23:14:00 +08:00
|
|
|
|
|
|
|
disable_edit_notifications: false
|