mastodon/app/lib
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
..
activitypub Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
ostatus Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
settings
application_extension.rb
emoji.rb Change RuboCop rules to loose (#4464) 2017-07-31 15:19:13 +02:00
exceptions.rb Add callback_url/acct information for Sidekiq PuSH workers Exception. (#4281) 2017-07-27 00:38:20 +02:00
extractor.rb
feed_manager.rb Fix subsequent replies to unresolved status not being filtered from home (#4190) 2017-07-14 22:31:38 +02:00
formatter.rb Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
hash_object.rb
inline_renderer.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 2017-07-07 04:02:06 +02:00
language_detector.rb Fix filterable_languages method of SettingsHelper (#4966) 2017-09-16 14:59:41 +02:00
provider_discovery.rb HTTP signatures (#4146) 2017-07-14 20:41:49 +02:00
request.rb Include requested URL into the message on network errors (#4945) 2017-09-14 16:12:50 +02:00
sanitize_config.rb Whitelist allowed classes for federated statuses (#3810) 2017-06-17 20:26:05 +02:00
status_filter.rb
status_finder.rb Raise an error for remote url in StatusFinder (#4776) 2017-09-02 17:42:47 +02:00
tag_manager.rb Fix ActivityPub handling of replies with WEB_DOMAIN (#4895) (#4904) 2017-09-13 14:22:16 +02:00
user_settings_decorator.rb Add unfollow modal (optional) (#4246) 2017-07-18 17:14:43 +02:00
webfinger_resource.rb