Guo Xiang Tan
77d4c4d8dc
Fix all the errors to get our tests green on Rails 5.1.
2017-09-25 13:48:58 +08:00
Guo Xiang Tan
5012d46cbd
Add rubocop to our build. ( #5004 )
2017-07-28 10:20:09 +09:00
Neil Lalonde
24cb950432
FEATURE: Watched Words: when posts contain words, do one of flag, require approval, censor, or block
2017-07-26 11:01:09 -04:00
Sam
16593ae8bf
FEATURE: log reason staff auto blocks a user
2017-03-10 15:45:48 -05:00
pmusaraj
0344388924
added tests and enabled queue when new setting is > 0
2016-09-22 14:51:36 -04:00
pmusaraj
5dbb3035d4
add "Approve new topics unless user level" setting
2016-09-19 14:07:15 -04:00
Robin Ward
960620d91b
FIX: Respect the `acting_user` attribute on the PostValidator
2016-09-16 13:15:01 -04:00
Robin Ward
2c9a47dda5
FIX: Validate the raw content of posts before enqueuing them
2016-09-12 12:26:49 -04:00
Robin Ward
e78b7a243e
FIX: Don't enqueue posts if the user can't create them (ex: closed)
2016-09-09 12:15:56 -04:00
Régis Hanol
f15d463eb8
FIX: user 'UserBlocker' when blocking a new user
2016-03-18 12:16:37 +01:00
Robin Ward
be257225b6
Adjustment: New User Posts must be reviewed at TL0 + TL1
2016-03-02 14:54:03 -05:00
Robin Ward
94f5aa6015
FIX: Have the `approve post count` setting work as advertised
2016-03-02 13:20:13 -05:00
Régis Hanol
0d54c18c8b
new hidden 'allow_staged_accounts' setting
2015-11-26 18:31:23 +01:00
Sam
11d39345b3
FIX: always allow tl1 through for typing speed tests
2015-08-06 10:07:18 +10:00
Sam
ca393bcc53
FEATURE: optional regex to be applied against first posts
...
for spam prevention you can add a regex to auto_block_first_post_regex
this will be applied against all first posts, if it matches post will go
into the approval queue and user will be blocked
2015-08-05 13:08:21 +10:00
Sam
6fdd53e3d6
FEATURE: auto block fast typers
...
if tl0 enter text too fast they get automatically blocked, configurable
2015-08-04 12:56:37 +10:00
Sam
01ad88f1ed
FEATURE: min_first_post_typing_time
...
If a user spends less than 3 seconds typing
first post they will automatically enter the approval queue
2015-08-04 10:57:34 +10:00
Robin Ward
fb7baeb7a2
Never enqueue posts from staff
2015-06-04 11:35:55 -04:00
Robin Ward
5fdbc6c4b2
FIX: Replies to PMs should never been enqueued
2015-05-13 12:08:53 -04:00
Robin Ward
7e3eaf5b02
FIX: Never enqueue private messages
2015-05-04 11:07:46 -04:00
Robin Ward
e361916138
FIX: :fired: @eviltrout
2015-04-28 16:30:14 -04:00
Robin Ward
647dd76ba1
Extract the `needs_approval?` logic
2015-04-28 16:14:36 -04:00
Robin Ward
c2f7676370
Support for custom reasons for things being queued for approval
2015-04-28 15:06:47 -04:00
Robin Ward
cf0c2d09d4
Handlers can be added with a priority
2015-04-28 15:06:47 -04:00
Robin Ward
15dbce5886
Show pending posts count in modal when your posts are enqueued
2015-04-24 15:44:59 -04:00
Robin Ward
26693c16ac
Don't show the link to "Needs Approval" unless approval is enabled.
...
Note that any plugin that extends the NewPostMananger to support
enqueuing will enable it.
2015-04-21 13:59:57 -04:00
Robin Ward
2bec7253e9
FIX: Trust level comparison must be integer
2015-04-15 18:01:29 -04:00
Robin Ward
af1571a58f
Site Settings for post approval
2015-04-15 14:54:37 -04:00
Robin Ward
96d2c5069b
Interface for reviewing queued posts
2015-04-15 14:54:37 -04:00
Robin Ward
f1ede42569
Add the posts that need to be reviewed to the hamburger
2015-04-15 14:54:37 -04:00
Robin Ward
19a9a8b408
`NewPostManager` determines whether to queue a post or not
2015-04-15 14:54:36 -04:00