Merge pull request #3117 from techAPJ/patch-1

FEATURE: rate limit invites for non-staff users
This commit is contained in:
Robin Ward
2015-01-20 10:45:00 -05:00
5 changed files with 14 additions and 1 deletions

View File

@@ -1018,7 +1018,7 @@ en:
email_placeholder: 'name@example.com'
success: "We mailed out an invitation to <b>{{email}}</b>. We'll notify you when the invitation is redeemed. Check the invitations tab on your user page to keep track of your invites."
error: "Sorry, we couldn't invite that person. Perhaps they are already a user?"
error: "Sorry, we couldn't invite that person. Perhaps they are already a user? (Invites are rate limited)"
login_reply: 'Log In to Reply'

View File

@@ -831,6 +831,7 @@ en:
max_edits_per_day: "Maximum number of edits per user per day."
max_topics_per_day: "Maximum number of topics a user can create per day."
max_private_messages_per_day: "Maximum number of private messages users can create per day."
max_invites_per_day: "Maximum number of invites a user can send per day."
suggested_topics: "Number of suggested topics shown at the bottom of a topic."
limit_suggested_to_category: "Only show topics from the current category in suggested topics."

View File

@@ -611,6 +611,7 @@ rate_limits:
max_bookmarks_per_day: 20
max_flags_per_day: 20
max_edits_per_day: 30
max_invites_per_day: 10
max_topics_in_first_day: 5
max_replies_in_first_day: 10