mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
lower jerk threshold, ask for commenters to be nice
This commit is contained in:
parent
d0a59f5de1
commit
14d8b5e986
2 changed files with 2 additions and 2 deletions
|
@ -135,7 +135,7 @@ class Site < Sequel::Model
|
||||||
EMAIL_VALIDATION_CUTOFF_DATE = Time.parse('May 16, 2016')
|
EMAIL_VALIDATION_CUTOFF_DATE = Time.parse('May 16, 2016')
|
||||||
DISPOSABLE_EMAIL_BLACKLIST_PATH = File.join(DIR_ROOT, 'files', 'disposable_email_blacklist.conf')
|
DISPOSABLE_EMAIL_BLACKLIST_PATH = File.join(DIR_ROOT, 'files', 'disposable_email_blacklist.conf')
|
||||||
|
|
||||||
BLOCK_JERK_THRESHOLD = 3
|
BLOCK_JERK_THRESHOLD = 2
|
||||||
|
|
||||||
MAXIMUM_TAGS = 5
|
MAXIMUM_TAGS = 5
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<input name="csrf_token" type="hidden" value="<%= csrf_token %>">
|
<input name="csrf_token" type="hidden" value="<%= csrf_token %>">
|
||||||
<input name="message"
|
<input name="message"
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="Post a message..."
|
placeholder="<% if current_site == site %>Post a message...<% else %>Post a message... (be nice!)<% end %>"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
maxlength="<%= Site::MAX_COMMENT_SIZE %>"
|
maxlength="<%= Site::MAX_COMMENT_SIZE %>"
|
||||||
<% unless current_site.commenting_allowed? %>disabled<% end %>
|
<% unless current_site.commenting_allowed? %>disabled<% end %>
|
||||||
|
|
Loading…
Add table
Reference in a new issue