From 6c381a3a16787cdf881817f8173a1d8c99bd9c21 Mon Sep 17 00:00:00 2001 From: XavierDo Date: Tue, 13 Feb 2018 14:20:16 +0100 Subject: [IMP] im_livechat, mail: replace emoji with unicode. Remove the support to replace emojis by images. Most browser now support colored emoji or at least black and white emojis. The emojis list have been updated to ensure a correct support for most os/browser. Users have the possibility to install fonts localy if their os does not have one of the default emoji font installed. After default os emoji font, one of twemoji, emojione or noto color will be selected. The emoji list is now hardcoded in js in order to reduce the number of records in shortcodes. Also include a small fix for livechat to display message field when rating is bad. Task #36898 PR #23689 --- addons/mail/data/mail_shortcode_data.xml | 239 ------------------------------- 1 file changed, 239 deletions(-) delete mode 100644 addons/mail/data/mail_shortcode_data.xml (limited to 'addons/mail/data/mail_shortcode_data.xml') diff --git a/addons/mail/data/mail_shortcode_data.xml b/addons/mail/data/mail_shortcode_data.xml deleted file mode 100644 index ac648e3c738..00000000000 --- a/addons/mail/data/mail_shortcode_data.xml +++ /dev/null @@ -1,239 +0,0 @@ - - - - - - - :) - 🙂 - <img src='/mail/static/src/img/smiley/smile.png' alt='🙂'/> - Smile - image - - - :D - 😀 - <img src='/mail/static/src/img/smiley/smile_open_mouth.png' alt='😀'/> - Smile with open mouth - image - - - ^^ - 😊 - <img src='/mail/static/src/img/smiley/normal_smile.png' alt='😊'/> - Smile with with smiling eyes - image - - - xD - 😆 - <img src='/mail/static/src/img/smiley/laugh.png' alt='😆'/> - Laugh - image - - - :joy - 😂 - <img src='/mail/static/src/img/smiley/tears_of_joy.png' alt='😂'/> - Tears of joy - image - - - ;) - 😉 - <img src='/mail/static/src/img/smiley/wink.png' alt='😉'/> - Wink - image - - - B) - 😎 - <img src='/mail/static/src/img/smiley/sunglass.png' alt='😎'/> - Face with sunglass - image - - - ;p - 😜 - <img src='/mail/static/src/img/smiley/stuck_out_tongue.png' alt='😜'/> - Stuck Out Tongue Winking Eye - image - - - :p - 😋 - <img src='/mail/static/src/img/smiley/yum.png' alt='😋'/> - Cheeky - image - - - o_o - 😳 - <img src='/mail/static/src/img/smiley/flushed.png' alt='😳'/> - Flushed face - image - - - :| - 😐 - <img src='/mail/static/src/img/smiley/neutral.png' alt='😐'/> - Speechless/Neutral face - image - - - :/ - 😕 - <img src='/mail/static/src/img/smiley/confused.png' alt='😕'/> - Confused - image - - - :( - 😞 - <img src='/mail/static/src/img/smiley/sad.png' alt='😞'/> - Sad - image - - - :@ - 😱 - <img src='/mail/static/src/img/smiley/scream.png' alt='😱'/> - Scream - image - - - :O - 😮 - <img src='/mail/static/src/img/smiley/open_mouth.png' alt='😮'/> - Open Mouth - image - - - 3:( - 😠 - <img src='/mail/static/src/img/smiley/angry.png' alt='😠'/> - Angry - image - - - 3:) - 😈 - <img src='/mail/static/src/img/smiley/evil.png' alt='😈'/> - Face with evil - image - - - :no_see - 🙈 - <img src='/mail/static/src/img/smiley/monkey_eye.png' alt='🙈'/> - No see - image - - - :no_hear - 🙉 - <img src='/mail/static/src/img/smiley/monkey_hear.png' alt='🙉'/> - No hear - image - - - :no_speak - 🙊 - <img src='/mail/static/src/img/smiley/monkey_speak.png' alt='🙊'/> - No speak - image - - - :bug - 🐞 - <img src='/mail/static/src/img/smiley/bug.png' alt='🐞'/> - Bug - image - - - :kitten - 😸 - <img src='/mail/static/src/img/smiley/cat.png' alt='😸'/> - Kitten - image - - - <3 - ❤ - <img src='/mail/static/src/img/smiley/heart.png' alt='❤'/> - Heart - image - - - :+1 - 👍 - <img src='/mail/static/src/img/smiley/thumbsup.png' alt='👍'/> - Thumbs Up - image - - - :-1 - 👎 - <img src='/mail/static/src/img/smiley/thumbsdown.png' alt='👎'/> - Thumbs Down - image - - - :poop - 💩 - <img src='/mail/static/src/img/smiley/poop.png' alt='💩'/> - Poop - image - - - :ghost - 👻 - <img src='/mail/static/src/img/smiley/ghost.png' alt='👻'/> - Ghost - image - - - :cookie - 🍪 - <img src='/mail/static/src/img/smiley/cookie.png' alt='🍪'/> - Cookie - image - - - :beer - 🍺 - <img src='/mail/static/src/img/smiley/beer.png' alt='🍺'/> - Beer - image - - - :coffee - ☕ - <img src='/mail/static/src/img/smiley/coffee.png' alt='☕'/> - Coffee - image - - - :cake - 🎂 - <img src='/mail/static/src/img/smiley/cake.png' alt='🎂'/> - Cake - image - - - :party - 🎉 - <img src='/mail/static/src/img/smiley/party.png' alt='🎉'/> - Party - image - - - :trophy - 🏆 - <img src='/mail/static/src/img/smiley/trophy.png' alt='🏆'/> - Trophy - image - - - - -- cgit v1.2.3