mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-11-05 12:42:48 -05:00
* Add user behaviour detection service for spam scoring Implement UserBehaviourDetectionService to evaluate members for spam indicators: - Check email confirmation status - Inspect bio, posts, and comments for spam-related keywords (such as "Sports Betting") - Display spam score on admin member screens with badges and tooltips Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com> * Calculate and persist spam_score on member updates - Add `spam_score` integer column to members table with migration and schema update - Add `update_spam_score!` method to Member model - Call `update_spam_score!` on successful member updates in RegistrationsController#update and MembersController#finish_signup - Use persisted member `spam_score` in Admin::MembersHelper#spam_score_badge Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com> * Renumber migration to resolve duplicate version conflict - Renumber migration from 20261031020000 to 20261031060000 - Update db/schema.rb version to 2026_10_31_060000 Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com> --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>