mastodon/spec/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
emoji_spec.rb
extractor_spec.rb
feed_manager_spec.rb
formatter_spec.rb Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
hash_object_spec.rb
language_detector_spec.rb Fix filterable_languages method of SettingsHelper (#4966) 2017-09-16 14:59:41 +02:00
provider_discovery_spec.rb
request_spec.rb
status_filter_spec.rb
status_finder_spec.rb Raise an error for remote url in StatusFinder (#4776) 2017-09-02 17:42:47 +02:00
tag_manager_spec.rb Fix ActivityPub handling of replies with WEB_DOMAIN (#4895) (#4904) 2017-09-13 14:22:16 +02:00
user_settings_decorator_spec.rb
webfinger_resource_spec.rb