* Adding conditional spam handling for user profile Prior to this commit, we always checked the user's name for spam matching criteria. With this change, we're allowing a site administrator to toggle on a feature flag for more rigorous profile checking. The reason for the increased rigor is that there could be unexpected consequences (e.g. marking a user as spam who was previously not caught as a spammer). If you want the feature, enable the `:more_rigorous_user_profile_spam_checking` flag. Closes forem/forem#18157 Related to forem/forem-internal-eng#453 * Adding additional test case * Update spec/services/spam/handler_spec.rb Co-authored-by: Fernando Valverde <fernando@visualcosita.com> Co-authored-by: Fernando Valverde <fernando@visualcosita.com> |
||
|---|---|---|
| .. | ||
| handler.rb | ||