hometown/app/javascript/mastodon
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
..
actions Fix height cache (#4909) 2017-09-13 10:24:33 +02:00
components Fix hasSize condition in secSet and sizes. (#4969) 2017-09-16 15:00:01 +02:00
containers Redesign video player (#4911) 2017-09-14 03:39:10 +02:00
features Re-allow underscore on valid_url_path_ending_chars (#4999) 2017-09-18 21:25:40 +02:00
locales A few updates to the Spanish translation and some typos fixing (#4997) 2017-09-19 07:47:48 +09:00
middleware Remove unused variables (#3906) 2017-06-23 16:05:04 +02:00
reducers Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
selectors refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00
service_worker Refactor Web::PushSubscription, remove welcome message (#4524) 2017-09-01 13:35:23 +02:00
store refactor: Make all reducers sync (#4125) 2017-07-09 12:16:08 +02:00
.gitkeep Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
api.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
base_polyfills.js Lazy load toots using IntersectionObserver (#3191) 2017-05-24 17:55:00 +02:00
emoji.js Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
emojione_light.js make number of comparison in emojify() fewer (#4500) 2017-08-02 21:05:17 +02:00
extra_polyfills.js Add object-fit polyfill for Edge (#4182) 2017-07-14 01:59:34 +02:00
is_mobile.js fix(dropdown_menu): Open as modal on mobile (#4295) 2017-07-27 22:31:59 +02:00
link_header.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
load_polyfills.js Load extra polyfills when isIntersecting is undefined (#4469) 2017-07-31 19:40:20 +02:00
main.js Require any modules after loading polyfill in entry points (#4231) 2017-07-18 00:19:02 +02:00
performance.js Attach ReactPerf to window for easier debugging (#3318) 2017-05-25 21:14:40 +02:00
ready.js Do not load unnecessary script files (#4193) 2017-07-14 11:08:56 +02:00
rtl.js Improve RTL detection (#3682) 2017-06-10 15:06:50 +02:00
scroll.js Scroll smoothly to the right (#4735) 2017-08-29 17:06:19 +02:00
stream.js Use ws protocol in streaming API base URL (#2606) 2017-05-04 15:55:13 +02:00
uuid.js Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
web_push_subscription.js Remove eslint-disable comments (#4681) 2017-08-24 12:15:36 +02:00