bastodon/app/views/stream_entries
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
..
_content_spoiler.html.haml
_detailed_status.html.haml Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
_media.html.haml
_og_description.html.haml Clean up and improve generated OpenGraph tags (#4901) 2017-09-12 05:39:38 +02:00
_og_image.html.haml Do not add image size without meta to OGP (regression from #4901) (#4995) 2017-09-18 15:00:29 +02:00
_simple_status.html.haml Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
_status.html.haml Pinned statuses (#4675) 2017-08-25 01:41:18 +02:00
embed.html.haml Update status embeds (#4742) 2017-08-30 10:23:43 +02:00
show.html.haml Clean up and improve generated OpenGraph tags (#4901) 2017-09-12 05:39:38 +02:00