chinwagsocial/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 Set default From address in config (#3756) 2017-07-07 00:12:12 +02:00
models Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
policies Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
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 Fix #4918 - Limit pinned toots to 5 (#4923) 2017-09-13 11:04:32 +02:00
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