forked from discourse/discourse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsite_settings.yml
1499 lines (1446 loc) · 33.2 KB
/
site_settings.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Available options:
#
# 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.
# validator - The name of the class that will be use to validate the value of the setting.
# 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.
# shadowed_by_global - "Shadow" a site setting with a GlobalSetting. If the GlobalSetting
# exists it will be used instead of the setting and the setting will be hidden.
# Useful for things like API keys on multisite.
# locale_default - A hash which overrides according to `SiteSetting.default_locale`.
# The key should be as the same as possible value of default_locale.
#
#
# type: email - Must be a valid email address.
# type: username - Must match the username of an existing user.
# type: list - A list of values, chosen from a set of valid values defined in the choices option.
# type: enum - A single value, chosen from a set of valid values in the choices option.
#
# A type:list setting with the word 'colors' in its name will make color values have a bold line of the corresponding color
#
required:
title:
client: true
default: 'Discourse'
site_description:
default: ''
contact_email:
client: true
default: ''
type: email
contact_url:
client: true
default: ''
notification_email:
default: '[email protected]'
type: email
shadowed_by_global: true
site_contact_username:
default: ''
type: username
logo_url:
client: true
default: '/images/d-logo-sketch.png'
logo_small_url:
client: true
default: '/images/d-logo-sketch-small.png'
digest_logo_url:
default: ''
mobile_logo_url:
client: true
default: ''
favicon_url:
client: true
default: '/images/default-favicon.ico'
apple_touch_icon_url: '/images/default-apple-touch-icon.png'
default_opengraph_image_url: ''
twitter_summary_large_image_url: ''
exclude_rel_nofollow_domains:
default: ''
type: list
company_short_name:
default: ''
company_full_name:
default: ''
company_domain:
default: ''
basic:
allow_user_locale:
client: true
default: false
set_locale_from_accept_language_header:
default: false
validator: "AllowUserLocaleEnabledValidator"
categories_topics:
default: 20
min: 5
max: 2000
suggested_topics:
client: true
default: 5
max: 2000
limit_suggested_to_category:
default: false
suggested_topics_max_days_old:
default: 365
min: 7
max: 10000
track_external_right_clicks:
client: true
default: false
ga_universal_tracking_code:
client: true
default: ''
regex: "^UA-\\d+-\\d+$"
ga_universal_domain_name:
client: true
default: 'auto'
ga_universal_auto_link_domains:
default: ''
type: list
ga_tracking_code:
client: true
default: ''
ga_domain_name:
client: true
default: ''
gtm_container_id:
client: true
default: ''
regex: "^GTM-"
top_menu:
client: true
refresh: true
type: list
default: "latest|new|unread|top|categories"
regex: "latest"
regex_error: "site_settings.errors.must_include_latest"
choices:
- latest
- new
- unread
- top
- categories
- read
- posted
- bookmarks
post_menu:
client: true
type: list
default: 'like-count|like|share|flag|edit|bookmark|delete|admin|reply'
choices:
- like-count
- like
- edit
- flag
- delete
- share
- bookmark
- admin
- reply
post_menu_hidden_items:
client: true
type: list
default: 'flag|bookmark|edit|delete|admin'
choices:
- like
- edit
- flag
- delete
- share
- bookmark
- admin
- reply
share_links:
client: true
type: list
default: 'twitter|facebook|email'
choices:
- twitter
- facebook
- google+
- email
desktop_category_page_style:
client: true
enum: 'CategoryPageStyle'
default: 'categories_and_latest_topics'
category_colors:
client: true
type: list
default: 'BF1E2E|F1592A|F7941D|9EB83B|3AB54A|12A89D|25AAE2|0E76BD|652D90|92278F|ED207B|8C6238|231F20|808281|B3B5B4|283890'
category_style:
client: true
default: 'bullet'
type: enum
choices:
- bar
- box
- bullet
- none
enable_mobile_theme:
client: true
default: true
default_theme_key:
default: ''
hidden: true
relative_date_duration:
client: true
default: 30
topics_per_period_in_top_summary:
default: 20
min: 1
topics_per_period_in_top_page:
default: 50
min: 1
top_page_default_timeframe:
default: 'yearly'
type: enum
choices:
- all
- yearly
- quarterly
- monthly
- weekly
- daily
fixed_category_positions:
client: true
default: false
fixed_category_positions_on_create:
client: true
default: false
enable_badges:
client: true
default: true
enable_badge_sql:
client: true
default: false
hidden: true
enable_whispers:
client: true
default: false
login:
invite_only:
refresh: true
client: true
default: false
login_required:
refresh: true
client: true
default: false
must_approve_users:
client: true
default: false
enable_local_logins:
client: true
default: true
allow_new_registrations:
client: true
default: true
enable_signup_cta:
client: true
default: true
enable_google_oauth2_logins:
client: true
default: false
google_oauth2_client_id: ''
google_oauth2_client_secret: ''
enable_yahoo_logins:
client: true
default: false
enable_twitter_logins:
client: true
default: false
twitter_consumer_key:
default: ''
regex: "^[\\w+-]+$"
twitter_consumer_secret:
default: ''
regex: "^[\\w+-]+$"
enable_instagram_logins:
client: true
default: false
instagram_consumer_key:
default: ''
regex: "^[a-z0-9]+$"
instagram_consumer_secret:
default: ''
regex: "^[a-z0-9]+$"
enable_facebook_logins:
client: true
default: false
facebook_app_id:
default: ''
regex: "^\\d+$"
facebook_app_secret:
default: ''
regex: "^[a-f0-9]+$"
facebook_request_extra_profile_details:
default: false
enable_github_logins:
client: true
default: false
github_client_id:
default: ''
regex: "^[a-f0-9]+$"
github_client_secret:
default: ''
regex: "^[a-f0-9]+$"
enable_sso:
client: true
default: false
sso_allows_all_return_paths: false
enable_sso_provider: false
verbose_sso_logging: false
verbose_auth_token_logging:
hidden: true
default: false
sso_url:
default: ''
regex: '^https?:\/\/.+[^\/]$'
sso_secret: ''
sso_overrides_bio: false
sso_overrides_email:
default: false
validator: "SsoOverridesEmailValidator"
sso_overrides_username: false
sso_overrides_name: false
sso_overrides_avatar:
default: false
client: true
sso_not_approved_url: ''
email_domains_blacklist:
default: 'mailinator.com'
type: list
email_domains_whitelist:
default: ''
type: list
hide_email_address_taken: false
log_out_strict: true
pending_users_reminder_delay:
min: -1
default: 8
maximum_session_age:
default: 1440
min: 1
max: 175200
users:
min_username_length:
client: true
default: 3
min: 1
max: 60
max_username_length:
client: true
default: 20
min: 8
max: 60
reserved_usernames:
type: list
default: "admin|moderator|administrator|mod|sys|system|community|info|you|name|username|user|nickname|discourse|discourseorg|discourseforum|support|account-created"
min_password_length:
client: true
default: 10
min: 8
max: 500
min_admin_password_length:
client: true
default: 15
min: 8
max: 500
password_unique_characters:
default: 6
min: 1
max: 10
block_common_passwords: true
username_change_period: 3
email_editable: true
logout_redirect:
client: true
default: ''
full_name_required:
client: true
default: false
enable_names:
client: true
default: true
invite_expiry_days:
default: 30
invite_passthrough_hours: 0
invites_per_page:
client: true
default: 40
hidden: true
delete_user_max_post_age:
client: true
default: 60
delete_all_posts_max:
client: true
default: 15
min: 1
redirect_users_to_top_page: true
show_email_on_profile:
client: true
default: false
prioritize_username_in_ux:
client: true
default: true
email_token_valid_hours:
default: 48
min: 1
purge_unactivated_users_grace_period_days:
default: 14
public_user_custom_fields:
type: list
default: ''
staff_user_custom_fields:
type: list
default: ''
enable_user_directory:
client: true
default: true
allow_anonymous_posting:
default: false
client: true
anonymous_posting_min_trust_level:
default: 1
enum: 'TrustLevelSetting'
client: true
anonymous_account_duration_minutes:
default: 10080
max: 99000
hide_user_profiles_from_public:
default: false
client: true
user_website_domains_whitelist:
default: ''
type: list
hide_suspension_reasons:
default: false
client: true
groups:
enable_group_directory:
client: true
default: true
posting:
min_post_length:
client: true
min: 1
default: 20
locale_default:
zh_CN: 8
zh_TW: 8
min_first_post_length:
client: true
min: 1
default: 20
locale_default:
zh_CN: 8
zh_TW: 8
min_private_message_post_length:
client: true
min: 1
default: 10
locale_default:
zh_CN: 3
zh_TW: 3
max_post_length:
client: true
default: 32000
max: 99000
topic_featured_link_enabled:
client: true
default: true
body_min_entropy:
default: 7
locale_default:
zh_CN: 3
zh_TW: 3
min_topic_title_length:
client: true
default: 15
locale_default:
zh_CN: 6
zh_TW: 6
max_topic_title_length:
client: true
default: 255
max: 255
title_min_entropy:
default: 10
locale_default:
zh_CN: 3
zh_TW: 3
allow_uppercase_posts: false
title_prettify:
default: true
locale_default:
zh_CN: false
zh_TW: false
title_fancy_entities: true
min_private_message_title_length:
client: true
default: 2
min: 1
allow_uncategorized_topics:
client: true
default: true
refresh: true
allow_duplicate_topic_titles: false
min_title_similar_length:
client: true
default: 10
locale_default:
zh_CN: 4
zh_TW: 4
enable_private_messages:
default: true
client: true
enable_private_email_messages:
default: false
client: true
validator: "EnablePrivateEmailMessagesValidator"
editing_grace_period: 300
post_edit_time_limit:
default: 86400
max: 525600
edit_history_visible_to_public:
client: true
default: true
delete_removed_posts_after:
client: true
default: 24
traditional_markdown_linebreaks:
client: true
default: false
enable_markdown_typographer:
client: true
default: true
suppress_reply_directly_below:
client: true
default: true
suppress_reply_directly_above:
client: true
default: true
suppress_reply_when_quoting:
default: true
max_reply_history:
default: 1
client: true
post_undo_action_window_mins: 10
max_mentions_per_post: 10
max_users_notified_per_group_mention: 100
newuser_max_replies_per_topic: 3
newuser_max_mentions_per_post: 2
title_max_word_length: 30
newuser_max_links: 2
newuser_max_images:
client: true
default: 1
newuser_max_attachments:
client: true
default: 0
post_excerpt_maxlength:
default: 300
locale_default:
zh_CN: 120
zh_TW: 120
show_pinned_excerpt_mobile:
client: true
default: true
show_pinned_excerpt_desktop:
client: true
default: true
display_name_on_posts:
client: true
default: false
show_time_gap_days:
default: 7
client: true
short_progress_text_threshold:
client: true
default: 10000
max: 99000
default_code_lang:
client: true
default: "auto"
warn_reviving_old_topic_age: 180
autohighlight_all_code:
client: true
default: false
highlighted_languages:
default: 'apache|bash|cs|cpp|css|coffeescript|diff|xml|http|ini|json|java|javascript|makefile|markdown|nginx|objectivec|ruby|perl|php|python|sql|handlebars'
choices: 'HighlightJs.languages'
type: list
client: true
delete_old_hidden_posts: true
censored_pattern:
client: true
default: ''
refresh: true
type: regex
enable_emoji:
default: true
client: true
emoji_set:
default: 'twitter'
client: true
enum: 'EmojiSetSiteSetting'
enforce_square_emoji:
default: true
approve_post_count:
default: 0
approve_unless_trust_level:
default: 0
enum: 'TrustLevelSetting'
approve_new_topics_unless_trust_level:
default: 0
enum: 'TrustLevelSetting'
notify_about_queued_posts_after:
default: 24
auto_close_messages_post_count: 500
auto_close_topics_post_count: 10000
code_formatting_style:
client: true
type: enum
default: '4-spaces-indent'
choices:
- 4-spaces-indent
- code-fences
embed_truncate:
default: true
allowed_href_schemes:
client: true
default: ''
type: list
max_allowed_message_recipients:
default: 30
min: 1
watched_words_regular_expressions:
default: false
email:
email_time_window_mins:
default: 10
client: true
private_email_time_window_seconds: 20
email_posts_context: 5
digest_min_excerpt_length:
default: 100
locale_default:
zh_CN: 50
zh_TW: 50
digest_topics:
default: 5
min: 1
digest_posts: 3
digest_other_topics: 5
suppress_digest_email_after_days:
default: 365
digest_suppress_categories:
type: category_list
default: ''
disable_digest_emails:
default: false
client: true
email_accent_bg_color: "#2F70AC"
email_accent_fg_color: "#FFFFFF"
email_link_color: "#006699"
show_topic_featured_link_in_digest: false
email_custom_headers: 'Auto-Submitted: auto-generated'
email_subject: '[%{site_name}] %{optional_pm}%{optional_cat}%{topic_title}'
reply_by_email_enabled:
default: false
validator: "ReplyByEmailEnabledValidator"
reply_by_email_address:
default: ''
alternative_reply_by_email_addresses:
default: ''
validator: "AlternativeReplyByEmailAddressesValidator"
find_related_post_with_key:
default: true
manual_polling_enabled:
default: false
pop3_polling_enabled:
default: false
validator: "POP3PollingEnabledSettingValidator"
pop3_polling_ssl: true
pop3_polling_openssl_verify: true
pop3_polling_period_mins: 5
pop3_polling_host: ''
pop3_polling_port: 995
pop3_polling_username: ''
pop3_polling_password: ''
log_mail_processing_failures: false
incoming_email_prefer_html: false
email_in:
default: false
client: true
email_in_min_trust:
default: 2
enum: 'TrustLevelSetting'
email_prefix: ''
email_site_title: ''
disable_emails:
default: false
client: true
strip_images_from_short_emails: true
short_email_length: 2800
display_name_on_email_from:
default: true
unsubscribe_via_email:
default: true
unsubscribe_via_email_footer:
default: false
delete_email_logs_after_days:
default: 365
max_emails_per_day_per_user: 100
enable_staged_users: true
maximum_staged_users_per_email: 10
auto_generated_whitelist:
default: ''
type: list
block_auto_generated_emails: true
ignore_by_title:
type: list
default: ''
mailgun_api_key:
default: ''
regex: '^key-\h{32}$'
bounce_score_threshold:
client: true
default: 4
min: 1
bounce_score_threshold_deactivate: 30
soft_bounce_score:
default: 1
min: 1
hard_bounce_score:
default: 2
min: 2
reset_bounce_score_after_days:
default: 30
attachment_content_type_blacklist:
type: list
default: "pkcs7|x-vcard"
attachment_filename_blacklist:
type: list
default: "smime.p7s|signature.asc"
enable_forwarded_emails: false
always_show_trimmed_content: false
private_email: false
files:
max_image_size_kb:
client: true
default: 3072
max: 102400
max_attachment_size_kb:
client: true
default: 3072
max: 1024000
max_image_megapixels:
default: 40
min: 5
max: 150
theme_authorized_extensions:
default: 'jpg|jpeg|png|woff|woff2|svg|eot|ttf|otf|gif'
type: list
authorized_extensions:
client: true
default: 'jpg|jpeg|png|gif'
refresh: true
type: list
crawl_images:
default: true
max_image_width:
client: true
default: 690
max_image_height:
client: true
default: 500
download_remote_images_to_local:
default: true
download_remote_images_threshold: 10
download_remote_images_max_days_old:
default: 30
min: 1
max: 10000
disabled_image_download_domains:
type: list
default: ''
create_thumbnails: true
clean_up_uploads: true
clean_orphan_uploads_grace_period_hours: 48
purge_deleted_uploads_grace_period_days:
default: 30
prevent_anons_from_downloading_files:
default: false
client: true
enable_s3_uploads:
default: false
client: true
s3_use_iam_profile: false
s3_access_key_id: ''
s3_secret_access_key: ''
s3_region:
default: 'us-east-1'
enum: 'S3RegionSiteSetting'
s3_upload_bucket:
default: ''
regex: '^[a-z0-9\-\/]+$' # can't use '.' when using HTTPS
s3_cdn_url:
default: ''
regex: '^https?:\/\/.+[^\/]$'
allow_profile_backgrounds:
client: true
default: true
automatically_download_gravatars: true
allow_uploaded_avatars:
client: true
default: true
allow_animated_avatars:
client: true
default: false
allow_animated_thumbnails: true
default_avatars:
default: ''
type: url_list
client: true
avatar_sizes:
default: '20|25|32|45|60|120'
type: list
external_system_avatars_enabled:
default: true
client: true
shadowed_by_global: true
external_system_avatars_url:
default: "/letter_avatar_proxy/v2/letter/{first_letter}/{color}/{size}.png"
client: true
regex: '^((https?:)?\/)?\/.+[^\/]'
shadowed_by_global: true
allow_all_attachments_for_group_messages: false
png_to_jpg_quality:
default: 95
min: 1
max: 100
allow_staff_to_upload_any_file_in_pm:
default: true
client: true
strip_image_metadata: true
trust:
default_trust_level:
default: 0
enum: 'TrustLevelSetting'
default_invitee_trust_level:
default: 1
enum: 'TrustLevelSetting'
min_trust_to_create_topic:
default: 0
enum: 'TrustLevelSetting'
min_trust_to_edit_wiki_post:
default: 1
enum: 'TrustLevelSetting'
min_trust_to_edit_post:
default: 0
enum: 'TrustLevelSetting'
min_trust_to_allow_self_wiki:
default: 3
enum: 'TrustLevelSetting'
min_trust_to_send_messages:
default: 1
enum: 'TrustLevelSetting'
min_trust_to_send_email_messages:
default: 4
enum: 'TrustLevelSetting'
tl1_requires_topics_entered: 5
tl1_requires_read_posts:
default: 30
client: true
tl1_requires_time_spent_mins: 10
tl2_requires_topics_entered: 20
tl2_requires_read_posts: 100
tl2_requires_time_spent_mins: 60
tl2_requires_days_visited:
default: 15
tl2_requires_likes_received: 1
tl2_requires_likes_given: 1
tl2_requires_topic_reply_count: 3
tl3_time_period:
default: 100
min: 1
max: 1000000
tl3_requires_days_visited:
default: 50
tl3_requires_topics_replied_to:
default: 10
tl3_requires_topics_viewed:
default: 25
max: 100
tl3_requires_topics_viewed_cap:
default: 500
tl3_requires_posts_read:
default: 25
max: 100
tl3_requires_posts_read_cap:
default: 20000
max: 99000
tl3_requires_topics_viewed_all_time:
default: 200
tl3_requires_posts_read_all_time:
default: 500
tl3_requires_max_flagged:
default: 5
tl3_promotion_min_duration:
default: 14
tl3_requires_likes_given:
default: 30
tl3_requires_likes_received:
default: 20
tl3_links_no_follow:
default: false
client: true
security:
force_https:
default: false
shadowed_by_global: true
same_site_cookies:
default: Lax
type: enum
choices:
- Lax
- Strict
- Disabled
regex: '^(Lax|Strict|Disabled)$'
enable_escaped_fragments: true
allow_index_in_robots_txt: true
allow_moderators_to_create_categories: false
crawler_user_agents:
default: 'Googlebot|Mediapartners|AdsBot|curl|HTTrack|Twitterbot|facebookexternalhit|bingbot|Baiduspider|ia_archiver|Wayback Save Page|360Spider|Swiftbot|YandexBot'
type: list
cors_origins:
default: ''
type: list
use_admin_ip_whitelist:
default: false
client: true
blacklist_ip_blocks:
default: ''
type: list
shadowed_by_global: true
whitelist_internal_hosts:
default: ''
type: list
allowed_iframes:
default: 'https://www.google.com/maps/embed?|https://www.openstreetmap.org/export/embed.html?'
type: list
client: true
onebox:
enable_flash_video_onebox: false
post_onebox_maxlength:
default: 500
locale_default:
zh_CN: 200
zh_TW: 200
onebox_domains_blacklist:
default: ''
type: list
max_oneboxes_per_post:
default: 50
client: true
inline_onebox_domains_whitelist:
default: ''
type: list
enable_inline_onebox_on_all_domains:
default: false
spam:
add_rel_nofollow_to_user_content: true
flags_required_to_hide_post: 3
cooldown_minutes_after_hiding_posts: 10
num_spam_flags_to_block_new_user: 3
num_users_to_block_new_user: 3
num_tl3_flags_to_block_new_user: 4
num_tl3_users_to_block_new_user: 2
notify_mods_when_user_blocked: false
flag_sockpuppets: false
newuser_spam_host_threshold: 3
white_listed_spam_host_domains:
default: ''
type: list
levenshtein_distance_spammer_emails:
default: 2
max: 3
max_new_accounts_per_registration_ip: 3
min_ban_entries_for_roll_up: 5
max_age_unmatched_emails: 365
max_age_unmatched_ips: 365
num_flaggers_to_close_topic: 5
num_flags_to_close_topic: 12
num_hours_to_close_topic:
default: 4
min: 1
auto_respond_to_flag_actions: true
min_first_post_typing_time: 3000
auto_block_fast_typers_on_first_post: true
auto_block_fast_typers_max_trust_level: 0
auto_block_first_post_regex: ""