masto-fe/app/javascript/mastodon/reducers
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
..
accounts.js feat: Cache status height to avoid expensive renders (#4439) 2017-08-07 20:32:03 +02:00
accounts_counters.js refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00
alerts.js refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00
cards.js refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00
compose.js Add protocol handler. Handle follow intents (#4511) 2017-08-14 04:53:31 +02:00
contexts.js refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00
height_cache.js Fix height cache (#4909) 2017-09-13 10:24:33 +02:00
index.js Fix height cache (#4909) 2017-09-13 10:24:33 +02:00
media_attachments.js refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00
meta.js refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00
modal.js Remove unused variables (#3906) 2017-06-23 16:05:04 +02:00
notifications.js refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00
push_notifications.js Web Push Notifications (#3243) 2017-07-13 22:15:32 +02:00
relationships.js refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00
reports.js Fix second report (regression from 3b81baaaaf) (#4863) 2017-09-09 13:42:48 +02:00
search.js refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00
settings.js refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00
status_lists.js Add Pinned toot column (#4817) 2017-09-07 09:58:11 +02:00
statuses.js Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
timelines.js refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00
user_lists.js refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00