You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/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
8 years ago
..
actions Fix height cache (#4909) 8 years ago
components Fix hasSize condition in secSet and sizes. (#4969) 8 years ago
containers Redesign video player (#4911) 8 years ago
features Re-allow underscore on valid_url_path_ending_chars (#4999) 8 years ago
locales A few updates to the Spanish translation and some typos fixing (#4997) 8 years ago
middleware Remove unused variables (#3906) 8 years ago
reducers Custom emoji (#4988) 8 years ago
selectors refactor: Rewrite immutablejs import statements using destructuring (#4147) 8 years ago
service_worker Refactor Web::PushSubscription, remove welcome message (#4524) 8 years ago
store refactor: Make all reducers sync (#4125) 8 years ago
.gitkeep Replace sprockets/browserify with Webpack (#2617) 8 years ago
api.js Improve eslint rules (#3147) 8 years ago
base_polyfills.js Lazy load toots using IntersectionObserver (#3191) 8 years ago
emoji.js Custom emoji (#4988) 8 years ago
emojione_light.js make number of comparison in emojify() fewer (#4500) 8 years ago
extra_polyfills.js Add object-fit polyfill for Edge (#4182) 8 years ago
is_mobile.js fix(dropdown_menu): Open as modal on mobile (#4295) 8 years ago
link_header.js Improve eslint rules (#3147) 8 years ago
load_polyfills.js Load extra polyfills when isIntersecting is undefined (#4469) 8 years ago
main.js Require any modules after loading polyfill in entry points (#4231) 8 years ago
performance.js Attach ReactPerf to window for easier debugging (#3318) 8 years ago
ready.js Do not load unnecessary script files (#4193) 8 years ago
rtl.js Improve RTL detection (#3682) 8 years ago
scroll.js Scroll smoothly to the right (#4735) 8 years ago
stream.js Use ws protocol in streaming API base URL (#2606) 8 years ago
uuid.js Replace sprockets/browserify with Webpack (#2617) 8 years ago
web_push_subscription.js Remove eslint-disable comments (#4681) 8 years ago