1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-19 00:59:08 +09:00
YuruToot/app/views
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
..
about Adjust landing pages 2 (#4967) 2017-09-16 18:39:11 +02:00
accounts Add strip_insignificant_zeros: true option to number_to_human (#4993) 2017-09-18 04:55:23 +02:00
admin Uploads for admin site settings (#4913) 2017-09-14 00:04:30 +02:00
admin_mailer Make salutation of email localizable (#4454) 2017-07-31 00:18:44 +02:00
application Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
auth Adjust landing pages 2 (#4967) 2017-09-16 18:39:11 +02:00
authorize_follows Add "signed in as" header to some pages (#4523) 2017-08-05 04:24:58 +02:00
errors Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
follower_accounts Add option to opt out of search engines on public profile/status pages (#4199) 2017-07-14 16:41:02 +02:00
following_accounts Add option to opt out of search engines on public profile/status pages (#4199) 2017-07-14 16:41:02 +02:00
home Add link to 'noscript' message (#4561) 2017-09-02 01:52:28 +02:00
kaminari Pagination improvements (#1445) 2017-04-11 01:11:41 +02:00
layouts Fix #4551 - Use correct syntax for content preloading (#4798) 2017-09-04 02:14:12 +02:00
manifests Fix manifest description (regression from #4122) (#4324) 2017-07-23 23:04:44 +02:00
notification_mailer Make salutation of email localizable (#4454) 2017-07-31 00:18:44 +02:00
oauth Oauth code in input form and add description message (#4986) 2017-09-17 15:23:44 +02:00
remote_follow Fix remote follow (#2547) 2017-04-28 00:16:44 +02:00
settings Reset preview image if avatar/header image selection was cancelled (#4893) 2017-09-11 16:19:54 +02:00
shared Redesign public profiles (#4608) 2017-08-16 17:12:58 +02:00
shares Add protocol handler. Handle follow intents (#4511) 2017-08-14 04:53:31 +02:00
stream_entries Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
tags Adjust tags and accounts page (#4534) 2017-08-07 20:33:06 +02:00
user_mailer A few updates to the Spanish translation and some typos fixing (#4997) 2017-09-19 07:47:48 +09:00
well_known Send short account URL to remote instance (regression from #3844) (#4355) 2017-07-25 15:59:43 +02:00