mastodon/spec/models
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
..
concerns
…
form
…
web
…
account_domain_block_spec.rb
…
account_filter_spec.rb
…
account_spec.rb
…
block_spec.rb
…
conversation_mute_spec.rb
…
conversation_spec.rb
…
custom_emoji_spec.rb Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
domain_block_spec.rb
…
export_spec.rb
…
favourite_spec.rb
…
feed_spec.rb
…
follow_request_spec.rb
…
follow_spec.rb
…
import_spec.rb Validate data of Imports (#4782) 2017-09-02 20:45:42 +02:00
media_attachment_spec.rb
…
mention_spec.rb
…
mute_spec.rb
…
notification_spec.rb
…
preview_card_spec.rb
…
report_filter_spec.rb
…
report_spec.rb Feat add validation for report comment: characters under 1000 valid (#4833) 2017-09-07 09:55:42 +02:00
session_activation_spec.rb
…
site_upload_spec.rb Uploads for admin site settings (#4913) 2017-09-14 00:04:30 +02:00
status_pin_spec.rb Pinned statuses (#4675) 2017-08-25 01:41:18 +02:00
status_spec.rb Validate uri presence for remote status (#4985) 2017-09-17 15:21:57 +02:00
stream_entry_spec.rb
…
subscription_spec.rb
…
tag_spec.rb
…
user_spec.rb Application prefs section (#2758) 2017-08-22 18:33:57 +02:00