]> cat aescling's git repositories - mastodon.git/commit
Store URIs of follows, follow requests and blocks for ActivityPub (#7160)
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 4 May 2018 19:14:34 +0000 (21:14 +0200)
committerGitHub <noreply@github.com>
Fri, 4 May 2018 19:14:34 +0000 (21:14 +0200)
commit6793bec4c67e695100cb4d8551f0bda0b7e87b12
tree696e35d972dd537bc9b2551cc11eb95a0b6414d2
parentd1aef17f9ad0074458ad0b390ac73db228928f07
Store URIs of follows, follow requests and blocks for ActivityPub (#7160)

Same URI passed between follow request and follow, since they are
the same thing in ActivityPub. Local URIs are generated during
creation using UUIDs and are passed to serializers.
app/lib/activitypub/activity/block.rb
app/lib/activitypub/activity/follow.rb
app/lib/activitypub/tag_manager.rb
app/models/block.rb
app/models/concerns/account_interactions.rb
app/models/follow.rb
app/models/follow_request.rb
app/serializers/activitypub/follow_serializer.rb
db/migrate/20180416210259_add_uri_to_relationships.rb [new file with mode: 0644]
db/schema.rb
spec/models/follow_request_spec.rb