Skip to content

Commit a27212a

Browse files
author
Robert Speicher
committed
Merge branch 'cs-gemojione-3' into 'master'
Upgrade gemojione to 3.0.0 Upgrades gemojione to 3.0.0, see the Changelog: https://github.com/jonathanwiesel/gemojione/blob/b98aa8b07eef815d4d3f52ff3c8714b28932b0de/CHANGELOG.md#v300-2016-07-12 [Here are all the new 2016 emoji](http://emojione.com/releases/2.2.4/) 🎉 This update has new emoji and more sensical categories. See merge request !5237
2 parents ac82842 + 6a06c5c commit a27212a

File tree

14 files changed

+11397
-7091
lines changed

14 files changed

+11397
-7091
lines changed

CHANGELOG

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ v 8.10.0 (unreleased)
3535
- Fix issue, preventing users w/o push access to sort tags !5105 (redetection)
3636
- Add Spring EmojiOne updates.
3737
- Fix fetching LFS objects for private CI projects
38+
- Add the new 2016 Emoji! Adds 72 new emoji including bacon, facepalm, and selfie. !5237
3839
- Add syntax for multiline blockquote using `>>>` fence !3954
3940
- Fix viewing notification settings when a project is pending deletion
4041
- Updated compare dropdown menus to use GL dropdown

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ gem 'jquery-turbolinks', '~> 2.1.0'
223223
gem 'addressable', '~> 2.3.8'
224224
gem 'bootstrap-sass', '~> 3.3.0'
225225
gem 'font-awesome-rails', '~> 4.6.1'
226-
gem 'gemojione', '~> 2.6'
226+
gem 'gemojione', '~> 3.0'
227227
gem 'gon', '~> 6.0.1'
228228
gem 'jquery-atwho-rails', '~> 1.3.2'
229229
gem 'jquery-rails', '~> 4.1.0'

Gemfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ GEM
255255
ruby-progressbar (~> 1.4)
256256
gemnasium-gitlab-service (0.2.6)
257257
rugged (~> 0.21)
258-
gemojione (2.6.1)
258+
gemojione (3.0.1)
259259
json
260260
get_process_mem (0.2.0)
261261
gherkin-ruby (0.3.2)
@@ -860,7 +860,7 @@ DEPENDENCIES
860860
foreman (~> 0.78.0)
861861
fuubar (~> 2.0.0)
862862
gemnasium-gitlab-service (~> 0.2)
863-
gemojione (~> 2.6)
863+
gemojione (~> 3.0)
864864
github-linguist (~> 4.7.0)
865865
github-markup (~> 1.4)
866866
gitlab-flowdock-git-hook (~> 1.0.1)

app/assets/images/emoji.png

60.4 KB
Loading

app/assets/images/[email protected]

156 KB
Loading

app/assets/stylesheets/pages/emojis.scss

+1,340-1,267
Large diffs are not rendered by default.

app/views/emojis/index.html.haml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.emoji-menu
2-
= text_field_tag :emoji_search, "", class: "emoji-search search-input form-control", placeholder: "Seach emojis"
2+
= text_field_tag :emoji_search, "", class: "emoji-search search-input form-control", placeholder: "Search emoji"
33
.emoji-menu-content
44
- Gitlab::AwardEmoji.emoji_by_category.each do |category, emojis|
55
%h5.emoji-menu-title

config/application.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class Application < Rails::Application
7676

7777
# Enable the asset pipeline
7878
config.assets.enabled = true
79-
config.assets.paths << Gemojione.index.images_path
79+
config.assets.paths << Gemojione.images_path
8080
config.assets.precompile << "*.png"
8181
config.assets.precompile << "print.css"
8282
config.assets.precompile << "notify.css"

doc/development/rake_tasks.md

+5
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,8 @@ Generating a sprite file containing all the Emoji can be done by running:
5353
```
5454
bundle exec rake gemojione:sprite
5555
```
56+
57+
If new emoji are added, the spritesheet may change size. To compensate for
58+
such changes, first generate the `emoji.png` spritesheet with the above Rake
59+
task, then check the dimensions of the new spritesheet and update the
60+
`SPRITESHEET_WIDTH` and `SPRITESHEET_HEIGHT` constants accordingly.

fixtures/emojis/aliases.json

+116-75
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
{
2-
"northeast_pointing_airplane":"airplane_northeast",
32
"small_airplane":"airplane_small",
4-
"up_pointing_small_airplane":"airplane_small_up",
5-
"up_pointing_airplane":"airplane_up",
6-
"left_anger_bubble":"anger_left",
73
"right_anger_bubble":"anger_right",
84
"keycap_asterisk":"asterisk",
95
"atom_symbol":"atom",
106
"ballot_box_with_ballot":"ballot_box",
11-
"ballot_box_with_bold_check":"ballot_box_check",
12-
"ballot_box_with_script_x":"ballot_box_x",
13-
"ballot_script_x":"ballot_x",
147
"person_with_ball":"basketball_player",
158
"person_with_ball_tone1":"basketball_player_tone1",
169
"person_with_ball_tone2":"basketball_player_tone2",
@@ -21,51 +14,65 @@
2114
"umbrella_on_ground":"beach_umbrella",
2215
"bellhop_bell":"bellhop",
2316
"biohazard_sign":"biohazard",
24-
"bouquet_of_flowers":"bouquet2",
2517
"archery":"bow_and_arrow",
26-
"bullhorn_with_sound_waves":"bullhorn_waves",
27-
"pocket calculator":"calculator",
18+
"boxing_gloves":"boxing_glove",
2819
"spiral_calendar_pad":"calendar_spiral",
20+
"call_me_hand":"call_me",
21+
"call_me_hand_tone1":"call_me_tone1",
22+
"call_me_hand_tone2":"call_me_tone2",
23+
"call_me_hand_tone3":"call_me_tone3",
24+
"call_me_hand_tone4":"call_me_tone4",
25+
"call_me_hand_tone5":"call_me_tone5",
26+
"kayak":"canoe",
2927
"card_file_box":"card_box",
30-
"tape_cartridge":"cartridge",
28+
"person_doing_cartwheel":"cartwheel",
29+
"person_doing_cartwheel_tone1":"cartwheel_tone1",
30+
"person_doing_cartwheel_tone2":"cartwheel_tone2",
31+
"person_doing_cartwheel_tone3":"cartwheel_tone3",
32+
"person_doing_cartwheel_tone4":"cartwheel_tone4",
33+
"person_doing_cartwheel_tone5":"cartwheel_tone5",
3134
"bottle_with_popping_cork":"champagne",
35+
"clinking_glass":"champagne_glass",
3236
"cheese_wedge":"cheese",
3337
"city_sunrise":"city_sunset",
3438
"mantlepiece_clock":"clock",
35-
"clockwise_right_and_left_semicircle_arrows":"clockwise_arrows",
3639
"cloud_with_lightning":"cloud_lightning",
3740
"cloud_with_rain":"cloud_rain",
3841
"cloud_with_snow":"cloud_snow",
3942
"cloud_with_tornado":"cloud_tornado",
40-
"old_personal_computer":"computer_old",
41-
"building_construction":"contruction_site",
43+
"clown_face":"clown",
44+
"building_construction":"construction_site",
4245
"couch_and_lamp":"couch",
4346
"couple_with_heart_mm":"couple_mm",
4447
"couple_with_heart_ww":"couple_ww",
48+
"face_with_cowboy_hat":"cowboy",
4549
"lower_left_crayon":"crayon",
4650
"cricket_bat_ball":"cricket",
4751
"latin_cross":"cross",
48-
"heavy_latin_cross":"cross_heavy",
49-
"white_latin_cross":"cross_white",
50-
"black_skull_and_crossbones":"crossbones",
5152
"passenger_ship":"cruise_ship",
5253
"dagger_knife":"dagger",
5354
"desktop_computer":"desktop",
5455
"card_index_dividers":"dividers",
55-
"document_with_text":"document_text",
5656
"dove_of_peace":"dove",
57+
"drool":"drooling_face",
58+
"drum_with_drumsticks":"drum",
5759
"email":"e-mail",
58-
"back_of_envelope":"envelope_back",
59-
"flying_envelope":"envelope_flying",
60-
"stamped_envelope":"envelope_stamped",
61-
"pen_over_stamped_envelope":"envelope_stamped_pen",
62-
"white_down_pointing_left_hand_index":"finger_pointing_down",
63-
"sideways_white_down_pointing_index":"finger_pointing_down2",
64-
"sideways_white_left_pointing_index":"finger_pointing_left",
65-
"sideways_white_right_pointing_index":"finger_pointing_right",
66-
"sideways_white_up_pointing_index":"finger_pointing_up",
60+
"eject_symbol":"eject",
61+
"facepalm":"face_palm",
62+
"facepalm_tone1":"face_palm_tone1",
63+
"facepalm_tone2":"face_palm_tone2",
64+
"facepalm_tone3":"face_palm_tone3",
65+
"facepalm_tone4":"face_palm_tone4",
66+
"facepalm_tone5":"face_palm_tone5",
67+
"fencing":"fencer",
68+
"hand_with_index_and_middle_finger_crossed":"fingers_crossed",
69+
"hand_with_index_and_middle_fingers_crossed_tone1":"fingers_crossed_tone1",
70+
"hand_with_index_and_middle_fingers_crossed_tone2":"fingers_crossed_tone2",
71+
"hand_with_index_and_middle_fingers_crossed_tone3":"fingers_crossed_tone3",
72+
"hand_with_index_and_middle_fingers_crossed_tone4":"fingers_crossed_tone4",
73+
"hand_with_index_and_middle_fingers_crossed_tone5":"fingers_crossed_tone5",
6774
"flame":"fire",
68-
"oncoming_fire_engine":"fire_engine_oncoming",
75+
"first_place_medal":"first_place",
6976
"ac":"flag_ac",
7077
"ad":"flag_ad",
7178
"ae":"flag_ae",
@@ -326,54 +333,73 @@
326333
"za":"flag_za",
327334
"zm":"flag_zm",
328335
"zw":"flag_zw",
329-
"clamshell_mobile_phone":"flip_phone",
330-
"black_hard_shell_floppy_disk":"floppy_black",
331-
"white_hard_shell_floppy_disk":"floppy_white",
332-
"open_folder":"folder_open",
333336
"fork_and_knife_with_plate":"fork_knife_plate",
337+
"fox_face":"fox",
334338
"frame_with_picture":"frame_photo",
335-
"frame_with_tiles":"frame_tiles",
336-
"frame_with_an_x":"frame_x",
339+
"baguette_bread":"french_bread",
337340
"anguished":"frowning",
338341
"white_frowning_face":"frowning2",
342+
"goal_net":"goal",
339343
"hammer_and_pick":"hammer_pick",
340344
"raised_hand_with_fingers_splayed":"hand_splayed",
341-
"reversed_raised_hand_with_fingers_splayed":"hand_splayed_reverse",
342345
"raised_hand_with_fingers_splayed_tone1":"hand_splayed_tone1",
343346
"raised_hand_with_fingers_splayed_tone2":"hand_splayed_tone2",
344347
"raised_hand_with_fingers_splayed_tone3":"hand_splayed_tone3",
345348
"raised_hand_with_fingers_splayed_tone4":"hand_splayed_tone4",
346349
"raised_hand_with_fingers_splayed_tone5":"hand_splayed_tone5",
347-
"reversed_victory_hand":"hand_victory",
350+
"shaking_hands":"handshake",
351+
"shaking_hands_tone1":"handshake_tone1",
352+
"shaking_hands_tone2":"handshake_tone2",
353+
"shaking_hands_tone3":"handshake_tone3",
354+
"shaking_hands_tone4":"handshake_tone4",
355+
"shaking_hands_tone5":"handshake_tone5",
348356
"face_with_head_bandage":"head_bandage",
349357
"heavy_heart_exclamation_mark_ornament":"heart_exclamation",
350-
"heart_with_tip_on_the_left":"heart_tip",
351358
"helmet_with_white_cross":"helmet_with_cross",
352359
"house_buildings":"homes",
353360
"hot_dog":"hotdog",
354361
"derelict_house_building":"house_abandoned",
355362
"hugging_face":"hugging",
356-
"circled_information_source":"info",
357363
"desert_island":"island",
358-
"up_pointing_military_airplane":"jet_up",
364+
"juggler":"juggling",
365+
"juggler_tone1":"juggling_tone1",
366+
"juggler_tone2":"juggling_tone2",
367+
"juggler_tone3":"juggling_tone3",
368+
"juggler_tone4":"juggling_tone4",
369+
"juggler_tone5":"juggling_tone5",
359370
"old_key":"key2",
360-
"wired_keyboard":"keyboard",
361-
"keyboard_and_mouse":"keyboard_mouse",
362-
"musical_keyboard_with_jacks":"keyboard_with_jacks",
363371
"couplekiss_mm":"kiss_mm",
364372
"couplekiss_ww":"kiss_ww",
373+
"kiwifruit":"kiwi",
365374
"satisfied":"laughing",
366-
"left_hand_telephone_receiver":"left_receiver",
375+
"left_fist":"left_facing_fist",
376+
"left_fist_tone1":"left_facing_fist_tone1",
377+
"left_fist_tone2":"left_facing_fist_tone2",
378+
"left_fist_tone3":"left_facing_fist_tone3",
379+
"left_fist_tone4":"left_facing_fist_tone4",
380+
"left_fist_tone5":"left_facing_fist_tone5",
367381
"man_in_business_suit_levitating":"levitate",
368382
"weight_lifter":"lifter",
369383
"weight_lifter_tone1":"lifter_tone1",
370384
"weight_lifter_tone2":"lifter_tone2",
371385
"weight_lifter_tone3":"lifter_tone3",
372386
"weight_lifter_tone4":"lifter_tone4",
373387
"weight_lifter_tone5":"lifter_tone5",
374-
"light_mark":"light_check_mark",
375388
"lion":"lion_face",
389+
"liar":"lying_face",
390+
"male_dancer":"man_dancing",
391+
"male_dancer_tone1":"man_dancing_tone1",
392+
"male_dancer_tone2":"man_dancing_tone2",
393+
"male_dancer_tone3":"man_dancing_tone3",
394+
"male_dancer_tone4":"man_dancing_tone4",
395+
"male_dancer_tone5":"man_dancing_tone5",
396+
"tuxedo_tone1":"man_in_tuxedo_tone1",
397+
"tuxedo_tone2":"man_in_tuxedo_tone2",
398+
"tuxedo_tone3":"man_in_tuxedo_tone3",
399+
"tuxedo_tone4":"man_in_tuxedo_tone4",
400+
"tuxedo_tone5":"man_in_tuxedo_tone5",
376401
"world_map":"map",
402+
"karate_uniform":"martial_arts_uniform",
377403
"sports_medal":"medal",
378404
"sign_of_the_horns":"metal",
379405
"sign_of_the_horns_tone1":"metal_tone1",
@@ -388,79 +414,90 @@
388414
"reversed_hand_with_middle_finger_extended_tone3":"middle_finger_tone3",
389415
"reversed_hand_with_middle_finger_extended_tone4":"middle_finger_tone4",
390416
"reversed_hand_with_middle_finger_extended_tone5":"middle_finger_tone5",
417+
"glass_of_milk":"milk",
391418
"money_mouth_face":"money_mouth",
392-
"lightning_mood_bubble":"mood_bubble_lightning",
393-
"lightning_mood":"mood_lightning",
419+
"motorbike":"motor_scooter",
394420
"racing_motorcycle":"motorcycle",
395421
"snow_capped_mountain":"mountain_snow",
396-
"one_button_mouse":"mouse_one",
397422
"three_button_mouse":"mouse_three_button",
423+
"mother_christmas":"mrs_claus",
424+
"mother_christmas_tone1":"mrs_claus_tone1",
425+
"mother_christmas_tone2":"mrs_claus_tone2",
426+
"mother_christmas_tone3":"mrs_claus_tone3",
427+
"mother_christmas_tone4":"mrs_claus_tone4",
428+
"mother_christmas_tone5":"mrs_claus_tone5",
429+
"sick":"nauseated_face",
398430
"nerd_face":"nerd",
399-
"three_networked_computers":"network",
400431
"rolled_up_newspaper":"newspaper2",
401-
"note_page":"note",
402-
"empty_note_page":"note_empty",
403-
"note_pad":"notepad",
404-
"empty_note_pad":"notepad_empty",
405432
"spiral_note_pad":"notepad_spiral",
433+
"stop_sign":"octagonal_sign",
406434
"oil_drum":"oil",
407435
"grandma":"older_woman",
408436
"grandma_tone1":"older_woman_tone1",
409437
"grandma_tone2":"older_woman_tone2",
410438
"grandma_tone3":"older_woman_tone3",
411439
"grandma_tone4":"older_woman_tone4",
412440
"grandma_tone5":"older_woman_tone5",
413-
"optical_disc_icon":"optical_disk",
414441
"lower_left_paintbrush":"paintbrush",
415442
"linked_paperclips":"paperclips",
416443
"national_park":"park",
417444
"double_vertical_bar":"pause_button",
418445
"peace_symbol":"peace",
446+
"shelled_peanut":"peanuts",
419447
"lower_left_ballpoint_pen":"pen_ballpoint",
420448
"lower_left_fountain_pen":"pen_fountain",
421449
"memo":"pencil",
422-
"lower_left_pencil":"pencil3",
423-
"black_pennant":"pennant_black",
424-
"white_pennant":"pennant_white",
425450
"table_tennis":"ping_pong",
426-
"no_piracy":"piracy",
427451
"worship_symbol":"place_of_worship",
428452
"shit":"poop",
429453
"hankey":"poop",
430454
"poo":"poop",
431-
"prohibited_sign":"prohibited",
455+
"expecting_woman":"pregnant_woman",
456+
"expecting_woman_tone1":"pregnant_woman_tone1",
457+
"expecting_woman_tone2":"pregnant_woman_tone2",
458+
"expecting_woman_tone3":"pregnant_woman_tone3",
459+
"expecting_woman_tone4":"pregnant_woman_tone4",
460+
"expecting_woman_tone5":"pregnant_woman_tone5",
432461
"film_projector":"projector",
433462
"racing_car":"race_car",
434463
"radioactive_sign":"radioactive",
435464
"railroad_track":"railway_track",
436-
"right_speaker_with_one_sound_wave":"right_speaker_one",
437-
"right_speaker_with_three_sound_waves":"right_speaker_three",
465+
"back_of_hand":"raised_back_of_hand",
466+
"back_of_hand_tone1":"raised_back_of_hand_tone1",
467+
"back_of_hand_tone2":"raised_back_of_hand_tone2",
468+
"back_of_hand_tone3":"raised_back_of_hand_tone3",
469+
"back_of_hand_tone4":"raised_back_of_hand_tone4",
470+
"back_of_hand_tone5":"raised_back_of_hand_tone5",
471+
"rhinoceros":"rhino",
472+
"right_fist":"right_facing_fist",
473+
"right_fist_tone1":"right_facing_fist_tone1",
474+
"right_fist_tone2":"right_facing_fist_tone2",
475+
"right_fist_tone3":"right_facing_fist_tone3",
476+
"right_fist_tone4":"right_facing_fist_tone4",
477+
"right_fist_tone5":"right_facing_fist_tone5",
438478
"robot_face":"robot",
479+
"rolling_on_the_floor_laughing":"rofl",
439480
"face_with_rolling_eyes":"rolling_eyes",
481+
"green_salad":"salad",
482+
"second_place_medal":"second_place",
483+
"paella":"shallow_pan_of_food",
484+
"shopping_trolley":"shopping_cart",
440485
"skeleton":"skull",
441486
"skull_and_crossbones":"skull_crossbones",
442487
"slightly_frowning_face":"slight_frown",
443488
"slightly_smiling_face":"slight_smile",
489+
"sneeze":"sneezing_face",
444490
"speaking_head_in_silhouette":"speaking_head",
445-
"left_speech_bubble":"speech_left",
446-
"right_speech_bubble":"speech_right",
447-
"three_speech_bubbles":"speech_three",
448-
"two_speech_bubbles":"speech_two",
449491
"sleuth_or_spy":"spy",
450492
"sleuth_or_spy_tone1":"spy_tone1",
451493
"sleuth_or_spy_tone2":"spy_tone2",
452494
"sleuth_or_spy_tone3":"spy_tone3",
453495
"sleuth_or_spy_tone4":"spy_tone4",
454496
"sleuth_or_spy_tone5":"spy_tone5",
455-
"portable_stereo":"stereo",
456-
"black_touchtone_telephone":"telephone_black",
457-
"white_touchtone_telephone":"telephone_white",
497+
"stuffed_pita":"stuffed_flatbread",
458498
"face_with_thermometer":"thermometer_face",
459499
"thinking_face":"thinking",
460-
"left_thought_bubble":"thought_left",
461-
"right_thought_bubble":"thought_right",
462-
"reversed_thumbs_down_sign":"thumbs_down_reverse",
463-
"reversed_thumbs_up_sign":"thumbs_up_reverse",
500+
"third_place_medal":"third_place",
464501
"-1":"thumbsdown",
465502
"-1_tone1":"thumbsdown_tone1",
466503
"-1_tone2":"thumbsdown_tone2",
@@ -479,9 +516,7 @@
479516
"hammer_and_wrench":"tools",
480517
"next_track":"track_next",
481518
"previous_track":"track_previous",
482-
"diesel_locomotive":"train_diesel",
483-
"triangle_with_rounded_corners":"triangle_round",
484-
"turned_ok_hand_sign":"turned_ok_hand",
519+
"whisky":"tumbler_glass",
485520
"unicorn_face":"unicorn",
486521
"upside_down_face":"upside_down",
487522
"funeral_urn":"urn",
@@ -494,6 +529,12 @@
494529
"white_sun_behind_cloud":"white_sun_cloud",
495530
"white_sun_behind_cloud_with_rain":"white_sun_rain_cloud",
496531
"white_sun_with_small_cloud":"white_sun_small_cloud",
497-
"left_writing_hand":"writing_hand",
532+
"wilted_flower":"wilted_rose",
533+
"wrestling":"wrestlers",
534+
"wrestling_tone1":"wrestlers_tone1",
535+
"wrestling_tone2":"wrestlers_tone2",
536+
"wrestling_tone3":"wrestlers_tone3",
537+
"wrestling_tone4":"wrestlers_tone4",
538+
"wrestling_tone5":"wrestlers_tone5",
498539
"zipper_mouth_face":"zipper_mouth"
499540
}

0 commit comments

Comments
 (0)