You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app/serializers/activitypub
Eugen Rochko 81cec35dbf Custom emoji (#4988)
* Custom emoji

- In OStatus: `<link rel="emoji" name="coolcat" href="http://..." />`
- In ActivityPub: `{ type: "Emoji", name: ":coolcat:", href: "http://..." }`
- In REST API: Status object includes `emojis` array (`shortcode`, `url`)
- Domain blocks with reject media stop emojis
- Emoji file up to 50KB
- Web UI handles custom emojis
- Static pages render custom emojis as `<img />` tags

Side effects:

- Undo #4500 optimization, as I needed to modify it to restore
  shortcode handling in emojify()
- Formatter#plaintext should now make sure stripped out line-breaks
  and paragraphs are replaced with newlines

* Fix emoji at the start not being converted
8 years ago
..
accept_follow_serializer.rb Revert #4616 (#4638) 8 years ago
activity_serializer.rb Add published property to ActivityPub activity for reblogs (#5000) 8 years ago
actor_serializer.rb Fix some ActivityPub JSON bugs (#4796) 8 years ago
block_serializer.rb Add ActivityPub inbox (#4216) 8 years ago
collection_serializer.rb Minor ActivityPub JSON fixes (#4214) 8 years ago
delete_serializer.rb Define missing JSON-LD properties (#4767) 8 years ago
follow_serializer.rb Add ActivityPub inbox (#4216) 8 years ago
like_serializer.rb Add ActivityPub inbox (#4216) 8 years ago
note_serializer.rb Custom emoji (#4988) 8 years ago
public_key_serializer.rb Add public key declaration to actors (#4215) 8 years ago
reject_follow_serializer.rb Revert #4616 (#4638) 8 years ago
undo_announce_serializer.rb Add ActivityPub serializer for Undo of Announce (#4703) 8 years ago
undo_block_serializer.rb Add ActivityPub inbox (#4216) 8 years ago
undo_follow_serializer.rb Add ActivityPub inbox (#4216) 8 years ago
undo_like_serializer.rb Add ActivityPub inbox (#4216) 8 years ago
update_serializer.rb Add ActivityPub inbox (#4216) 8 years ago