]> cat aescling's git repositories - mastodon.git/commit
Fix #4149, fix #1199 - Store emojis as unicode (#4189)
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 14 Jul 2017 17:47:53 +0000 (19:47 +0200)
committerGitHub <noreply@github.com>
Fri, 14 Jul 2017 17:47:53 +0000 (19:47 +0200)
commite2685ccc81f04e1a63a97af80686bf85027418a6
tree20e9847c734a11f7a80d31eb8104bc84bbffa9a1
parentc42092ba7ad1cbf78ca8463b6525ec2b7efbdd92
Fix #4149, fix #1199 - Store emojis as unicode (#4189)

- Use unicode when selecting emoji through picker
- Convert shortcodes to unicode when storing text input server-side
- Do not convert shortcodes in JS anymore
15 files changed:
Gemfile
Gemfile.lock
app/helpers/emoji_helper.rb [new file with mode: 0644]
app/javascript/mastodon/actions/compose.js
app/javascript/mastodon/emoji.js
app/javascript/mastodon/features/compose/components/compose_form.js
app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js
app/javascript/mastodon/reducers/compose.js
app/javascript/styles/components.scss
app/models/account.rb
app/models/status.rb
app/services/post_status_service.rb
spec/helpers/emoji_helper_spec.rb [new file with mode: 0644]
spec/helpers/routing_helper.rb [deleted file]
spec/javascript/components/emojify.test.js