refactor emoji api with fixes
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Sat, 28 Mar 2020 10:34:32 +0000 (13:34 +0300)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Thu, 30 Apr 2020 12:45:52 +0000 (15:45 +0300)
commit342f55fb92c723acf7f53de2dae390b72051c94b
treef0d0e3399df63f42fe437b9ef0574c20908b6e4f
parent5839e67eb86d6d14b21222247ce8e113c3b26637
refactor emoji api with fixes
lib/pleroma/emoji/pack.ex [new file with mode: 0644]
lib/pleroma/web/pleroma_api/controllers/emoji_api_controller.ex
lib/pleroma/web/router.ex
test/instance_static/emoji/pack_bad_sha/blank.png [new file with mode: 0644]
test/instance_static/emoji/pack_bad_sha/pack.json [new file with mode: 0644]
test/instance_static/emoji/pack_bad_sha/pack_bad_sha.zip [new file with mode: 0644]
test/instance_static/emoji/test_pack/pack.json
test/instance_static/emoji/test_pack_nonshared/pack.json
test/web/pleroma_api/controllers/emoji_api_controller_test.exs