mastodon/app/javascript/mastodon
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
..
actions Fix height cache (#4909) 2017-09-13 10:24:33 +02:00
components Fix hasSize condition in secSet and sizes. (#4969) 2017-09-16 15:00:01 +02:00
containers Redesign video player (#4911) 2017-09-14 03:39:10 +02:00
features Re-allow underscore on valid_url_path_ending_chars (#4999) 2017-09-18 21:25:40 +02:00
locales A few updates to the Spanish translation and some typos fixing (#4997) 2017-09-19 07:47:48 +09:00
middleware
reducers Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
selectors
service_worker
store
.gitkeep
api.js
base_polyfills.js
emoji.js Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
emojione_light.js
extra_polyfills.js
is_mobile.js
link_header.js
load_polyfills.js
main.js
performance.js
ready.js
rtl.js
scroll.js
stream.js
uuid.js
web_push_subscription.js