mirror of https://github.com/Siphonay/mastodon
81cec35dbf
* 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_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 | ||
domain_block_spec.rb | ||
export_spec.rb | ||
favourite_spec.rb | ||
feed_spec.rb | ||
follow_request_spec.rb | ||
follow_spec.rb | ||
import_spec.rb | ||
media_attachment_spec.rb | ||
mention_spec.rb | ||
mute_spec.rb | ||
notification_spec.rb | ||
preview_card_spec.rb | ||
report_filter_spec.rb | ||
report_spec.rb | ||
session_activation_spec.rb | ||
site_upload_spec.rb | ||
status_pin_spec.rb | ||
status_spec.rb | ||
stream_entry_spec.rb | ||
subscription_spec.rb | ||
tag_spec.rb | ||
user_spec.rb |