]> cat aescling's git repositories - mastodon.git/commit
Allow to dereference Follow object for ActivityPub (#5772)
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Wed, 3 Jan 2018 17:08:57 +0000 (02:08 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 3 Jan 2018 17:08:57 +0000 (18:08 +0100)
commit161c72d66d25bb8f5ff492e36a8521c701ab8afc
treed57b674958a4353bba0cf91ba4197748a66fc2f5
parent53d99ebf4f54c25fa58709e9dc05730479ea7d02
Allow to dereference Follow object for ActivityPub (#5772)

* Allow to dereference Follow object for ActivityPub

* Accept IRI as object representation for Accept activity
app/controllers/activitypub/follows_controller.rb [new file with mode: 0644]
app/lib/activitypub/activity/accept.rb
app/lib/activitypub/tag_manager.rb
app/models/follow_request.rb
app/serializers/activitypub/follow_serializer.rb
app/views/accounts/_header.html.haml
config/routes.rb
spec/controllers/activitypub/follows_controller_spec.rb [new file with mode: 0644]
spec/lib/activitypub/activity/accept_spec.rb
spec/models/follow_request_spec.rb