mastodon/app
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
..
controllers When accessing uncached media attachment, redownload it (#4955) 2017-09-16 03:01:45 +02:00
helpers Fix filterable_languages method of SettingsHelper (#4966) 2017-09-16 14:59:41 +02:00
javascript Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
lib Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
mailers
models Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
policies
presenters Use Account.local.sum(statuses_count) instead of Status.local.count (#4996) 2017-09-18 14:59:57 +02:00
serializers Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
services Fix an error when actor json couldn't be fetched in ResolveRemoteAccountService (#4979) 2017-09-17 11:54:23 +02:00
validators
views Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
workers Fix an error in ReplyDistributionWorker when replied status was deleted (#4974) 2017-09-16 18:18:00 +02:00