This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/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 Improve Activity stream spoiler (#4088) 2017-07-06 21:31:03 +02:00
_detailed_status.html.haml Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
_media.html.haml Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
_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