* 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
|
||
|---|---|---|
| .. | ||
| access_token_fabricator.rb | ||
| accessible_access_token_fabricator.rb | ||
| account_domain_block_fabricator.rb | ||
| account_fabricator.rb | ||
| application_fabricator.rb | ||
| block_fabricator.rb | ||
| conversation_fabricator.rb | ||
| conversation_mute_fabricator.rb | ||
| custom_emoji_fabricator.rb | ||
| domain_block_fabricator.rb | ||
| favourite_fabricator.rb | ||
| follow_fabricator.rb | ||
| follow_request_fabricator.rb | ||
| import_fabricator.rb | ||
| media_attachment_fabricator.rb | ||
| mention_fabricator.rb | ||
| mute_fabricator.rb | ||
| notification_fabricator.rb | ||
| preview_card_fabricator.rb | ||
| report_fabricator.rb | ||
| session_activation_fabricator.rb | ||
| site_upload_fabricator.rb | ||
| status_fabricator.rb | ||
| status_pin_fabricator.rb | ||
| stream_entry_fabricator.rb | ||
| subscription_fabricator.rb | ||
| tag_fabricator.rb | ||
| user_fabricator.rb | ||
| web_push_subscription_fabricator.rb | ||
| web_setting_fabricator.rb | ||