You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/spec
Eugen Rochko 6ff67be0f6
Add a spam check (#11217)
* Add a spam check

* Use Nilsimsa to generate locality-sensitive hashes and compare using Levenshtein distance

* Add more tests

* Add exemption when the message is a reply to something that mentions the sender

* Use Nilsimsa Compare Value instead of Levenshtein distance

* Use MD5 for messages shorter than 10 characters

* Add message to automated report, do not add non-public statuses to
automated report, add trust level to accounts and make unsilencing
raise the trust level to prevent repeated spam checks on that account

* Expire spam check data after 3 months

* Add support for local statuses, reduce expiration to 1 week, always create a report

* Add content warnings to the spam check and exempt empty statuses

* Change Nilsimsa threshold to 95 and make sure removed statuses are removed from the spam check

* Add all matched statuses into automatic report
6 years ago
..
controllers Add ActivityPub secure mode (#11269) 6 years ago
fabricators Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` (#11247) 6 years ago
features rubocop issues - Cleaning up (#8912) 6 years ago
fixtures Remove Salmon and PubSubHubbub (#11205) 6 years ago
helpers Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` (#11247) 6 years ago
lib Add a spam check (#11217) 6 years ago
mailers Add invite request to pending account notification e-mail (#10528) 6 years ago
models Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` (#11247) 6 years ago
policies Redesign admin instances area (#9645) 6 years ago
presenters Admission-based registrations mode (#10250) 6 years ago
requests Refactor controllers for statuses, accounts, and more (#11249) 6 years ago
routing Move create/destroy actions for api/v1/statuses to namespace (#3678) 8 years ago
serializers/activitypub Fix account URI in UpdatePollSerializer (#11194) 6 years ago
services Add HTTP signatures to all outgoing ActivityPub GET requests (#11284) 6 years ago
support Remove empty strings (#5732) 7 years ago
validators Fix “invited by” not showing up for invited accounts in admin interface (#10791) 6 years ago
views Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` (#11247) 6 years ago
workers Remove Salmon and PubSubHubbub (#11205) 6 years ago
rails_helper.rb Disable Same-Site cookie implementation to fix SSO issues on WebKit browsers (#9819) 6 years ago
spec_helper.rb Disable simplecov on CircleCI (#7416) 7 years ago