Add ActivityPub Object Event type support
authorThomas Citharel <tcit@tcit.fr>
Tue, 17 Dec 2019 15:16:21 +0000 (16:16 +0100)
committerThomas Citharel <tcit@tcit.fr>
Tue, 17 Dec 2019 15:16:21 +0000 (16:16 +0100)
commitd2f1c4f658a8c995716aee3876cb46a0f48f99cb
tree511c593641a9c08d45ab8b53cc4c8b7beb1fcdc0
parent38ad407395e838ddf1c11922806adc080af44d36
Add ActivityPub Object Event type support

Adds Event support in the same way Video objects are handled, with the
name of the object as message header.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
lib/pleroma/web/activity_pub/transmogrifier.ex
lib/pleroma/web/activity_pub/utils.ex
lib/pleroma/web/mastodon_api/views/status_view.ex
lib/pleroma/web/twitter_api/controllers/util_controller.ex
test/fixtures/tesla_mock/mobilizon.org-event.json [new file with mode: 0644]
test/fixtures/tesla_mock/mobilizon.org-user.json [new file with mode: 0644]
test/object/fetcher_test.exs
test/support/http_request_mock.ex
test/web/mastodon_api/views/status_view_test.exs