Spam bots tricking Discourse filter by editing

@rimian do you mind taking a quick break and making a PR for this?

5 Likes

I’d love to. Let’s chat about it. I need to juggle some tasks.

4 Likes

PR done and ready to go! Enjoy :slight_smile:

https://github.com/discourse/discourse/pull/8070

8 Likes

Good news! This feature (lower trust levels have less time to edit posts) now exists in latest, so that should help with some of the editing-related shenanigans.

TL0 and TL1 users are now limited to 1 day of edit time out of the box. Thanks @rimian!

10 Likes

@rimian @codinghorror Looking at the diff for this change, it looks like the old setting was reused for the TL0/1 users instead of the TL2+ users. This means that for sites that previously overrode the setting, that applies to TL0/1 users, while other users were forced back to the default setting. Was this intentional?

2 Likes

No, that was a highly unfortunate bug we did not catch before rolling it out. If you check GitHub history I think it has been fixed @rimian?

3 Likes

Yes, I got a fix for that in yesterday. Sorry for the inconvenience! I’ll know better next time :slight_smile:

Here is it:

https://github.com/discourse/discourse/pull/8082

4 Likes