This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/spec/fabricators
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
..
access_token_fabricator.rb Introduce access token fabricators (#4401) 2017-07-27 15:16:07 +02:00
accessible_access_token_fabricator.rb Introduce access token fabricators (#4401) 2017-07-27 15:16:07 +02:00
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 Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
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 Uploads for admin site settings (#4913) 2017-09-14 00:04:30 +02:00
status_fabricator.rb Switch to static URIs, new URI format in both protocols for new statuses (#4815) 2017-09-06 19:01:28 +02:00
status_pin_fabricator.rb Pinned statuses (#4675) 2017-08-25 01:41:18 +02:00
stream_entry_fabricator.rb
subscription_fabricator.rb
tag_fabricator.rb
user_fabricator.rb
web_push_subscription_fabricator.rb Web Push Notifications (#3243) 2017-07-13 22:15:32 +02:00
web_setting_fabricator.rb