Closes https://github.com/openstreetmap/openstreetmap-website/issues/6510

- [x] Move spam scoring out of `RichText` into appropriate module.
- [ ] Move spam scoring out of `User` into appropriate module.
- [ ] Create DB table and model for spammy phrases.
- [ ] Use spammy phrases from table.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/6549

-- Commit Summary --

  * Move spam scoring to own class

-- File Changes --

    M app/models/user.rb (6)
    M lib/rich_text.rb (30)
    A lib/spam_scorer.rb (41)
    M test/lib/rich_text_test.rb (15)
    A test/lib/spam_scorer_test.rb (23)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/6549.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6549.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6549
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to