* 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
|
||
|---|---|---|
| .. | ||
| concerns | ||
| form | ||
| web | ||
| account.rb | ||
| account_domain_block.rb | ||
| account_filter.rb | ||
| application_record.rb | ||
| block.rb | ||
| context.rb | ||
| conversation.rb | ||
| conversation_mute.rb | ||
| custom_emoji.rb | ||
| domain_block.rb | ||
| export.rb | ||
| favourite.rb | ||
| feed.rb | ||
| follow.rb | ||
| follow_request.rb | ||
| import.rb | ||
| instance.rb | ||
| instance_filter.rb | ||
| media_attachment.rb | ||
| mention.rb | ||
| mute.rb | ||
| notification.rb | ||
| preview_card.rb | ||
| remote_follow.rb | ||
| remote_profile.rb | ||
| report.rb | ||
| report_filter.rb | ||
| search.rb | ||
| session_activation.rb | ||
| setting.rb | ||
| site_upload.rb | ||
| status.rb | ||
| status_pin.rb | ||
| stream_entry.rb | ||
| subscription.rb | ||
| tag.rb | ||
| user.rb | ||
| web.rb | ||