-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add setting to disable the anti-spam #11296
Add setting to disable the anti-spam #11296
Conversation
I would prefer if the feature was perfected in such a way that hard-disabling it would not be necessary. Although as I understand it this action is pre-emptive as nobody has complained about too many false positives yet. But either way: This method makes disabling it inaccessible to masto.host (and similar) users. |
Good point, going to change that to an admin panel setting. |
9942c6d
to
3523e6f
Compare
(It has been changed) |
config/locales/en.yml
Outdated
@@ -390,6 +391,9 @@ en: | |||
activity_api_enabled: | |||
desc_html: Counts of locally posted statuses, active users, and new registrations in weekly buckets | |||
title: Publish aggregate statistics about user activity | |||
antispam_enabled: | |||
desc_html: Mastodon can auto-silence and auto-report accoutns based on measures such as detecting accounts who send repeated unsolicited messages. There may be false positives. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in accounts
@@ -30,6 +30,7 @@ def index | |||
@trending_hashtags = TrendingTags.get(7) | |||
@profile_directory = Setting.profile_directory | |||
@timeline_preview = Setting.timeline_preview | |||
@antispam_enabled = Setting.antispam_enabled |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the Ruby class is called "spam_check" would it not be more consistent to name it "spam_check_enabled"? That being said it probably doesn't matter.
7ebc1ea
to
dbcfede
Compare
* Add environment variable to disable the anti-spam * Move antispam setting to admin settings * Fix typo * antispam → spam_check
No description provided.