discourse/config/site_settings.yml

404 lines
8.7 KiB
YAML
Raw Normal View History

required:
title:
client: true
default: 'Discourse'
site_description: ''
2013-11-14 03:02:47 +08:00
contact_email: ''
notification_email: 'info@discourse.org'
site_contact_username: ''
logo_url:
client: true
default: '/assets/d-logo-sketch.png'
logo_small_url:
client: true
default: '/assets/d-logo-sketch-small.png'
2013-11-14 03:02:47 +08:00
favicon_url:
client: true
default: '/assets/default-favicon.ico'
apple_touch_icon_url: /assets/default-apple-touch-icon.png'
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'
ga_tracking_code:
client: true
default: ''
ga_domain_name:
client: true
default: ''
enable_wide_category_list:
client: true
default: true
2013-11-15 04:05:48 +08:00
category_featured_topics:
client: true
default: 3
2013-11-15 04:05:48 +08:00
topics_per_page: 30
posts_per_page:
client: true
default: 20
suggested_topics: 5
enable_mobile_theme:
client: true
default: true
top_menu:
client: true
default: 'latest|new|unread|favorited|categories'
post_menu:
client: true
default: 'like|edit|flag|delete|share|bookmark|reply'
share_links:
client: true
default: 'twitter|facebook|google+|email'
category_colors:
client: true
default: 'BF1E2E|F1592A|F7941D|9EB83B|3AB54A|12A89D|25AAE2|0E76BD|652D90|92278F|ED207B|8C6238|231F20|808281|B3B5B4|283890'
relative_date_duration:
client: true
default: 30
2013-11-14 03:02:47 +08:00
users:
enable_local_logins:
client: true
2013-11-14 03:02:47 +08:00
default: true
enable_local_account_create:
client: true
2013-11-14 03:02:47 +08:00
default: true
invite_only:
client: true
default: false
2013-11-14 03:02:47 +08:00
login_required:
client: true
default: false
must_approve_users:
client: true
default: false
2013-11-14 03:02:47 +08:00
enable_google_logins:
client: true
2013-11-14 03:02:47 +08:00
default: true
enable_yahoo_logins:
client: true
2013-11-14 03:02:47 +08:00
default: true
enable_twitter_logins:
client: true
2013-11-14 03:02:47 +08:00
default: true
twitter_consumer_key: ''
twitter_consumer_secret: ''
enable_facebook_logins:
client: true
default: true
2013-11-14 03:02:47 +08:00
facebook_app_id: ''
facebook_app_secret: ''
enable_cas_logins:
client: true
default: false
cas_hostname: ''
cas_domainname: ''
enable_github_logins:
client: true
default: false
github_client_id: ''
github_client_secret: ''
enable_persona_logins:
client: true
default: false
enforce_global_nicknames: false
2013-11-14 03:02:47 +08:00
discourse_org_access_key: ''
invite_expiry_days: 14
username_change_period: 3
email_editable: true
enable_names:
client: true
default: true
2013-11-14 03:02:47 +08:00
invites_shown:
client: true
2013-11-14 03:02:47 +08:00
default: 30
delete_user_max_age:
client: true
2013-11-14 03:02:47 +08:00
default: 14
delete_all_posts_max: 15
posting:
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
default:
test: 4000
default: 32000
min_topic_title_length:
client: true
default: 15
max_topic_title_length:
client: true
default: 255
2013-11-14 03:02:47 +08:00
title_prettify: true
title_fancy_entities: true
min_private_message_title_length:
client: true
default: 2
allow_uncategorized_topics:
client: true
default: true
2013-11-14 03:02:47 +08:00
allow_duplicate_topic_titles: false
min_title_similar_length:
client: true
2013-11-14 03:02:47 +08:00
default: 10
min_body_similar_length:
client: true
2013-11-14 03:02:47 +08:00
default: 15
enable_private_messages: true
ninja_edit_window: 300
edit_history_visible_to_public:
client: true
default: true
2013-11-14 03:02:47 +08:00
delete_removed_posts_after:
client: true
2013-11-14 03:02:47 +08:00
default: 24
traditional_markdown_linebreaks:
client: true
2013-11-14 03:02:47 +08:00
default: false
suppress_reply_directly_below:
client: true
default: true
2013-11-14 03:02:47 +08:00
suppress_reply_directly_above:
client: true
2013-11-14 03:02:47 +08:00
default: true
post_undo_action_window_mins: 10
max_mentions_per_post: 10
newuser_max_mentions_per_post: 2
onebox_max_chars: 5000
title_min_entropy: 10
body_min_entropy: 7
max_word_length: 30
newuser_max_links: 2
newuser_max_images:
client: true
2013-11-14 03:02:47 +08:00
default: 0
newuser_max_attachments:
client: true
2013-11-14 03:02:47 +08:00
default: 0
uncategorized_category_id:
default: -1
hidden: true
post_excerpt_maxlength: 300
post_onebox_maxlength: 500
display_name_on_posts:
client: true
default: false
short_progress_text_threshold:
client: true
default: 1000
2013-11-14 03:02:47 +08:00
email:
email_time_window_mins: 10
email_posts_context: 5
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
pop3s_polling_host: ''
pop3s_polling_port: 995
pop3s_polling_username: ''
pop3s_polling_password: ''
files:
max_image_size_kb:
client: true
default: 2048
max_attachment_size_kb:
client: true
default: 1024
authorized_extensions:
client: true
default: '.jpg|.jpeg|.png|.gif'
crawl_images:
default:
test: false
default: true
max_image_width:
client: true
default: 690
max_image_height:
client: true
default: 500
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'
s3_upload_bucket: ''
allow_uploaded_avatars:
client: true
2013-11-14 03:02:47 +08:00
default: true
allow_animated_avatars:
client: true
2013-11-14 03:02:47 +08:00
default: false
detect_custom_avatars: true
max_daily_gravatar_crawls: 500
download_remote_images_to_local:
default:
test: false
default: true
2013-11-15 23:46:41 +08:00
download_remote_images_threshold:
default: 20
2013-11-14 03:02:47 +08:00
trust:
default_trust_level: 0
default_invitee_trust_level: 1
basic_requires_topics_entered: 5
basic_requires_read_posts: 50
basic_requires_time_spent_mins: 15
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
min_trust_to_create_topic:
default: 0
enum: 'MinTrustToCreateTopicSetting'
2013-11-15 04:05:48 +08:00
security:
enable_flash_video_onebox: false
use_ssl: false
enable_escaped_fragments:
client: true
default: false
seo:
add_rel_nofollow_to_user_content: true
exclude_rel_nofollow_domains: ''
allow_index_in_robots_txt: true
enable_noscript_support:
client: true
default: true
2013-11-14 03:02:47 +08:00
spam:
email_domains_blacklist:
client: true
2013-11-14 03:02:47 +08:00
default: 'mailinator.com'
email_domains_whitelist:
client: true
2013-11-14 03:02:47 +08:00
default: ''
flags_required_to_hide_post: 3
cooldown_minutes_after_hiding_posts: 10
max_topics_in_first_day: 5
max_replies_in_first_day: 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
rate_limits:
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
max_favorites_per_day: 20
2013-11-14 03:02:47 +08:00
developer:
force_hostname: ''
port:
default:
development: 3000
default: ''
queue_jobs:
default:
test: false
default: true
2013-11-14 03:02:47 +08:00
uncategorized:
tos_url:
client: true
default: ''
faq_url:
client: true
default: ''
privacy_policy_url:
client: true
default: ''
2013-11-15 04:05:48 +08:00
2013-11-14 03:02:47 +08:00
track_external_right_clicks:
client: true
default: false
2013-11-15 04:05:48 +08:00
2013-11-14 03:02:47 +08:00
enable_long_polling:
client: true
default: true
2013-11-14 03:02:47 +08:00
polling_interval:
client: true
2013-11-14 03:02:47 +08:00
default: 3000
anon_polling_interval:
client: true
2013-11-14 03:02:47 +08:00
default: 30000
min_search_term_length:
client: true
2013-11-14 03:02:47 +08:00
default: 3
flush_timings_secs:
client: true
default: 5
version_checks:
client: true
default: true
2013-11-14 03:02:47 +08:00
new_version_emails: true
auto_track_topics_after: 240000
new_topic_duration_minutes: 2880
long_polling_interval: 15000
active_user_rate_limit_secs: 60
previous_visit_timeout_hours: 1
staff_like_weight: 3
2013-11-19 01:48:26 +08:00
summary_score_threshold: 15
summary_posts_required: 50
summary_likes_required: 1
summary_percent_filter: 20
2013-11-14 03:02:47 +08:00
send_welcome_message: true
allow_import: false
educate_until_posts:
client: true
default: 2
max_similar_results: 7
topic_views_heat_low:
client: true
default: 1000
topic_views_heat_medium:
client: true
default: 2000
topic_views_heat_high:
client: true
default: 5000
minimum_topics_similar: 50
sequential_replies_threshold: 2
dominating_topic_minimum_percent: 20
2013-11-15 04:05:48 +08:00
2013-11-14 03:02:47 +08:00