mastodon/app/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.rb Add instance search feature (#4925) 2017-09-13 12:30:07 +02:00
account_domain_block.rb Add buttons to block and unblock domain (#3127) 2017-05-19 21:05:32 +02:00
account_filter.rb
application_record.rb
block.rb
context.rb
conversation.rb Conditional validations no longer accept strings for if/unless (#3124) 2017-05-19 03:11:23 +02:00
conversation_mute.rb
custom_emoji.rb
domain_block.rb Allow domain blocks that only reject media without silencing or suspending (#4325) 2017-07-24 14:26:55 +02:00
export.rb Settings export refactor (#1646) 2017-04-13 13:02:02 +02:00
favourite.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
feed.rb
follow.rb
follow_request.rb
import.rb
instance.rb
instance_filter.rb
media_attachment.rb When accessing uncached media attachment, redownload it (#4955) 2017-09-16 03:01:45 +02:00
mention.rb
mute.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
notification.rb Update Rails to version 5.1.1 (#3121) 2017-06-01 20:53:37 +02:00
preview_card.rb
remote_follow.rb
remote_profile.rb
report.rb
report_filter.rb Admin reports with accounts (#2092) 2017-04-18 19:36:18 +02:00
search.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 2017-07-07 04:02:06 +02:00
session_activation.rb
setting.rb Improve RuboCop rules (compatibility to Code Climate) (#3636) 2017-06-08 13:24:28 +02:00
site_upload.rb Uploads for admin site settings (#4913) 2017-09-14 00:04:30 +02:00
status.rb
status_pin.rb
stream_entry.rb Cover AccountsController more in spec (#3229) 2017-05-23 02:53:01 +02:00
subscription.rb Periodically remove expired PuSH subscribers (#4654) 2017-08-21 22:56:33 +02:00
tag.rb add validation to tag name (#4194) 2017-07-14 11:02:49 +02:00
user.rb Use request.remote_ip instead of request.ip (#4744) 2017-08-30 10:24:30 +02:00
web.rb