Commit Graph

15 Commits (c85e0a6b047f1a72ad970bc04c4e1be3f028b3d1)

Author SHA1 Message Date
Matt Jankowski c42591356d
Fix `RSpec/DescribedClass` cop ()
Matt Jankowski c97b611b6b
Fix RSpec/InferredSpecType cop ()
Matt Jankowski cd99fa8ceb
Fabricator specs ()
Nick Schonning 84cc805cae
Enable Style/FrozenStringLiteralComment for specs ()
Eugen Rochko eb35be0431
Fix follow limit preventing re-following of a moved account ()
Eugen Rochko a46ab86adf
Limit the number of people that can be followed from one account ()
Configurable soft limit of 7,500, and above that, configurable
ratio of 1.1 * followers, controlled by:

- MAX_FOLLOWS_THRESHOLD
- MAX_FOLLOWS_RATIO

Fix 
ThibG 59f7f4c923 Implement Undo { Accept { Follow } } (fixes ) ()
* Add Follow#revoke_request!

* Implement Undo { Accept { Follow } } (fixes )
Akihiko Odaki bf575a1f5e Introduce recent to Follow ()
Introduce recent to Follow, as Account and other models have.
This change also adds specs for the scope and the dependents.
Samy KACIMI 81c76fe375 add more tests to models
Eugen Rochko 0518492158 Stop trying to shoehorn all Salmon updates into the poor database-connected
StreamEntry model. Simply render Salmon slaps as they are needed
Eugen Rochko 50660d54e8 Fix semantics of follow requests another slaps
Eugen Rochko a08e724476 Fix subscriptions:clear task, refactor feeds, refactor streamable activites
and atom feed generation to some extent, as well as the way mentions are
stored
Eugen Rochko f16b31f077 Adding a bunch of tests
Eugen Rochko 71fe24096c Adding a Mention model, test stubs
Eugen Rochko 709c6685a9 Made some progress