]> cat aescling's git repositories - mastodon.git/commit
Encode custom emojis as resolveable objects in ActivityPub (#5243)
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 7 Oct 2017 15:43:42 +0000 (17:43 +0200)
committerGitHub <noreply@github.com>
Sat, 7 Oct 2017 15:43:42 +0000 (17:43 +0200)
commit3a3475450e46f670e8beaf4bf804b820ad39a5f9
tree60600a840e74668818db64d5d55be2f4a0601fb3
parent057db0ecd0049c76c113cbe5412e098d686f0700
Encode custom emojis as resolveable objects in ActivityPub (#5243)

* Encode custom emojis as resolveable objects in ActivityPub

* Improve code style
17 files changed:
app/controllers/accounts_controller.rb
app/controllers/emojis_controller.rb [new file with mode: 0644]
app/controllers/follower_accounts_controller.rb
app/controllers/following_accounts_controller.rb
app/controllers/statuses_controller.rb
app/controllers/tags_controller.rb
app/lib/activitypub/activity/create.rb
app/lib/activitypub/tag_manager.rb
app/models/custom_emoji.rb
app/serializers/activitypub/actor_serializer.rb
app/serializers/activitypub/emoji_serializer.rb [new file with mode: 0644]
app/serializers/activitypub/image_serializer.rb [new file with mode: 0644]
app/serializers/activitypub/note_serializer.rb
config/routes.rb
db/migrate/20171006142024_add_uri_to_custom_emojis.rb [new file with mode: 0644]
db/schema.rb
spec/lib/activitypub/activity/create_spec.rb