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/lib/activitypub/activity
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
7 years ago
..
accept.rb Support more variations of ActivityPub keyId in signature (#4630) 7 years ago
announce.rb Add published property to ActivityPub activity for reblogs (#5000) 7 years ago
block.rb Handle duplicate ActivityPub activities (#4639) 7 years ago
create.rb Custom emoji (#4988) 7 years ago
delete.rb Define missing JSON-LD properties (#4767) 7 years ago
follow.rb Handle duplicate ActivityPub activities (#4639) 7 years ago
like.rb Handle duplicate ActivityPub activities (#4639) 7 years ago
reject.rb Support more variations of ActivityPub keyId in signature (#4630) 7 years ago
undo.rb Make "unfollow" undo pending outgoing follow request too (#4781) 7 years ago
update.rb Add ActivityPub inbox (#4216) 7 years ago