]> cat aescling's git repositories - mastodon.git/commit
Per-user reblog hiding implementation/fixes/tests
authoraschmitz <aschmitz@lardbucket.org>
Sat, 11 Nov 2017 02:11:10 +0000 (20:11 -0600)
committeraschmitz <aschmitz@lardbucket.org>
Sat, 11 Nov 2017 04:04:54 +0000 (22:04 -0600)
commitb95c48748cd4e7a1181cdf3f17e23d6e526a9d95
treea3d69c3831ef59755609a999c8eaae23c720049f
parent49445150202f0bdaae942b9ae1ba44802a1c22e9
Per-user reblog hiding implementation/fixes/tests

Note that this will only hide/show *future* reblogs by a user, and does
nothing to remove/add reblogs that are already in the timeline. I don't
think that's a particularly confusing behavior, and it's a lot easier
to implement (similar to mutes, I believe).
app/models/concerns/account_interactions.rb
app/models/follow_request.rb
app/services/follow_service.rb
app/services/notify_service.rb
db/migrate/20171028221157_add_reblogs_to_follows.rb [new file with mode: 0644]
spec/controllers/api/v1/accounts/relationships_controller_spec.rb
spec/controllers/api/v1/accounts_controller_spec.rb
spec/models/concerns/account_interactions_spec.rb
spec/models/follow_request_spec.rb
spec/services/follow_service_spec.rb
spec/services/notify_service_spec.rb