Skip to content

Commit d7dd6c8

Browse files
committed
Move away from MaxCDN to CloudFlare CDN
MaxCDN has stopped serving the twemoji images, see: twitter/twemoji#580 So we are moving to cdnjs.cloudflare.com here so all those tiny images used by CiBoT (some day we'll converted the majority of them to just Unicode emojis) continue working and making devs to smile a little bit.
1 parent 9a5acf9 commit d7dd6c8

File tree

1 file changed

+15
-15
lines changed
  • tracker_automations/bulk_precheck_issues

1 file changed

+15
-15
lines changed

β€Žtracker_automations/bulk_precheck_issues/util.shβ€Ž

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,41 +32,41 @@ function get_happy_image() {
3232
# marys pompoms (from https://tracker.moodle.org/browse/MDLSITE-3642)
3333
images[0]='https://tracker.moodle.org/secure/attachment/46622/AnimatedAmy.gif'
3434
# balloon🎈
35-
images[1]='https://twemoji.maxcdn.com/16x16/1f388.png'
35+
images[1]='https://cdnjs.cloudflare.com/ajax/libs/twemoji/2.5/16x16/1f388.png'
3636
# party popper πŸŽ‰
37-
images[2]='https://twemoji.maxcdn.com/16x16/1f389.png'
37+
images[2]='https://cdnjs.cloudflare.com/ajax/libs/twemoji/2.5/16x16/1f389.png'
3838
# clinking beer mugs 🍻
39-
images[3]='https://twemoji.maxcdn.com/16x16/1f37b.png'
39+
images[3]='https://cdnjs.cloudflare.com/ajax/libs/twemoji/2.5/16x16/1f37b.png'
4040
# cookie πŸͺ
41-
images[4]='https://twemoji.maxcdn.com/16x16/1f36a.png'
41+
images[4]='https://cdnjs.cloudflare.com/ajax/libs/twemoji/2.5/16x16/1f36a.png'
4242
# cake 🍰
43-
images[5]='https://twemoji.maxcdn.com/16x16/1f370.png'
43+
images[5]='https://cdnjs.cloudflare.com/ajax/libs/twemoji/2.5/16x16/1f370.png'
4444
# glowing star 🌟
45-
images[6]='https://twemoji.maxcdn.com/16x16/1f31f.png'
45+
images[6]='https://cdnjs.cloudflare.com/ajax/libs/twemoji/2.5/16x16/1f31f.png'
4646
# smiling face with halo πŸ˜‡
47-
images[7]='https://twemoji.maxcdn.com/16x16/1f607.png'
47+
images[7]='https://cdnjs.cloudflare.com/ajax/libs/twemoji/2.5/16x16/1f607.png'
4848

4949
index=$[$RANDOM % ${#images[@]}]
5050
echo ${images[$index]}
5151
}
5252

5353
function get_sad_image() {
5454
# fire πŸ”₯
55-
images[0]='https://twemoji.maxcdn.com/16x16/1f525.png'
55+
images[0]='https://cdnjs.cloudflare.com/ajax/libs/twemoji/2.5/16x16/1f525.png'
5656
# pile of poo πŸ’©
57-
images[1]='https://twemoji.maxcdn.com/16x16/1f4a9.png'
57+
images[1]='https://cdnjs.cloudflare.com/ajax/libs/twemoji/2.5/16x16/1f4a9.png'
5858
# speak-no-evil monkey πŸ™Š
59-
images[2]='https://twemoji.maxcdn.com/16x16/1f64a.png'
59+
images[2]='https://cdnjs.cloudflare.com/ajax/libs/twemoji/2.5/16x16/1f64a.png'
6060
# bug 🐜
61-
images[3]='https://twemoji.maxcdn.com/16x16/1f41c.png'
61+
images[3]='https://cdnjs.cloudflare.com/ajax/libs/twemoji/2.5/16x16/1f41c.png'
6262
# face screaming in fear 😱
63-
images[4]='https://twemoji.maxcdn.com/16x16/1f631.png'
63+
images[4]='https://cdnjs.cloudflare.com/ajax/libs/twemoji/2.5/16x16/1f631.png'
6464
# construction sign 🚧
65-
images[5]='https://twemoji.maxcdn.com/16x16/1f6a7.png'
65+
images[5]='https://cdnjs.cloudflare.com/ajax/libs/twemoji/2.5/16x16/1f6a7.png'
6666
# sos πŸ†˜
67-
images[6]='https://twemoji.maxcdn.com/16x16/1f198.png'
67+
images[6]='https://cdnjs.cloudflare.com/ajax/libs/twemoji/2.5/16x16/1f198.png'
6868
# skull πŸ’€
69-
images[7]='https://twemoji.maxcdn.com/16x16/1f480.png'
69+
images[7]='https://cdnjs.cloudflare.com/ajax/libs/twemoji/2.5/16x16/1f480.png'
7070

7171
index=$[$RANDOM % ${#images[@]}]
7272
echo ${images[$index]}

0 commit comments

Comments
Β (0)