1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-21 10:08:13 +09:00
mastodon/app/serializers
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
..
activitypub Define missing JSON-LD properties (#4767) 2017-09-02 14:01:23 +02:00
rest Pinned statuses (#4675) 2017-08-25 01:41:18 +02:00
web Add RoutingHelper (#4769) 2017-09-02 03:03:20 +02:00
initial_state_serializer.rb Use system's default font on non web UI pages (#4553) 2017-09-01 16:13:31 +02:00
oembed_serializer.rb Embed modal (#4748) 2017-08-31 03:38:35 +02:00