activitypub-academy/spec/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
2017-09-19 02:42:40 +02:00
..
accept_spec.rb Fix ActivityPub follow interaction and add more specs (#4601) 2017-08-14 16:57:46 +02:00
announce_spec.rb Add ActivityPub inbox (#4216) 2017-08-08 21:52:15 +02:00
block_spec.rb Add ActivityPub inbox (#4216) 2017-08-08 21:52:15 +02:00
create_spec.rb Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
delete_spec.rb Switch to static URIs, new URI format in both protocols for new statuses (#4815) 2017-09-06 19:01:28 +02:00
follow_spec.rb Fix ActivityPub follow interaction and add more specs (#4601) 2017-08-14 16:57:46 +02:00
like_spec.rb Add ActivityPub inbox (#4216) 2017-08-08 21:52:15 +02:00
reject_spec.rb Fix ActivityPub follow interaction and add more specs (#4601) 2017-08-14 16:57:46 +02:00
undo_spec.rb Switch to static URIs, new URI format in both protocols for new statuses (#4815) 2017-09-06 19:01:28 +02:00
update_spec.rb Fetch statuses/following/followers numbers from ActivityPub collections (#4840) 2017-09-08 12:00:17 +02:00