1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-21 10:08:13 +09:00
mastodon/app/serializers/activitypub
Eugen Rochko 1b5806b744 Define missing JSON-LD properties (#4767)
Using _: property names is discouraged, as in the future,
canonicalization may throw an error when encountering that instead
of discarding it silently like it does now.

We are defining some ActivityStreams properties which we expect
to land in ActivityStreams eventually, to ensure that future versions
of Mastodon will remain compatible with this even once that happens.
Those would be `locked`, `sensitive` and `Hashtag`

We are defining a custom context inline for some properties which we
do not expect to land in any other context. `atomUri`, `inReplyToAtomUri`
and `conversation` are part of the custom defined OStatus context.
2017-09-02 14:01:23 +02:00
..
accept_follow_serializer.rb Revert #4616 (#4638) 2017-08-19 02:23:47 +02:00
activity_serializer.rb Add _:inReplyToAtomUri to ActivityPub (#4702) 2017-08-26 19:55:10 +02:00
actor_serializer.rb Define missing JSON-LD properties (#4767) 2017-09-02 14:01:23 +02:00
block_serializer.rb Add ActivityPub inbox (#4216) 2017-08-08 21:52:15 +02:00
collection_serializer.rb Minor ActivityPub JSON fixes (#4214) 2017-07-16 10:28:55 +02:00
delete_serializer.rb Define missing JSON-LD properties (#4767) 2017-09-02 14:01:23 +02:00
follow_serializer.rb Add ActivityPub inbox (#4216) 2017-08-08 21:52:15 +02:00
like_serializer.rb Add ActivityPub inbox (#4216) 2017-08-08 21:52:15 +02:00
note_serializer.rb Define missing JSON-LD properties (#4767) 2017-09-02 14:01:23 +02:00
public_key_serializer.rb Add public key declaration to actors (#4215) 2017-07-17 02:37:27 +02:00
reject_follow_serializer.rb Revert #4616 (#4638) 2017-08-19 02:23:47 +02:00
undo_announce_serializer.rb Add ActivityPub serializer for Undo of Announce (#4703) 2017-08-26 15:32:40 +02:00
undo_block_serializer.rb Add ActivityPub inbox (#4216) 2017-08-08 21:52:15 +02:00
undo_follow_serializer.rb Add ActivityPub inbox (#4216) 2017-08-08 21:52:15 +02:00
undo_like_serializer.rb Add ActivityPub inbox (#4216) 2017-08-08 21:52:15 +02:00
update_serializer.rb Add ActivityPub inbox (#4216) 2017-08-08 21:52:15 +02:00