pleroma/lib/pleroma/web
Hélène 388bbc4978
EmojiReactValidator: fix emoji qualification
Tries fully-qualifying emoji when receiving them, by adding the emoji
variation sequence to the received reaction emoji.

This issue arises when other instance software, such as Misskey, tries
reacting with emoji that have unqualified or minimally qualified
variants, like a red heart. Pleroma only accepts fully qualified emoji
in emoji reactions, and refused those emoji. Now, Pleroma will attempt
to properly qualify them first, and reject them if checks still fail.

This commit contains changes to tests proposed by lanodan.

Co-authored-by: Haelwenn <contact+git.pleroma.social@hacktivis.me>
2022-07-24 13:36:06 +02:00
..
activity_pub EmojiReactValidator: fix emoji qualification 2022-07-24 13:36:06 +02:00
admin_api Pass in msgctxt for config translation strings 2022-07-14 17:41:33 -04:00
api_spec Merge branch 'mute-expiration' into 'develop' 2022-07-23 00:34:15 +00:00
auth Copyright bump for 2022 2022-02-25 23:11:42 -07:00
channels Copyright bump for 2022 2022-02-25 23:11:42 -07:00
common_api Copyright bump for 2022 2022-02-25 23:11:42 -07:00
fallback Copyright bump for 2022 2022-02-25 23:11:42 -07:00
federator Copyright bump for 2022 2022-02-25 23:11:42 -07:00
feed Merge branch 'from/upstream-develop/tusooa/translate-pages' into 'develop' 2022-03-20 18:14:37 +00:00
mailer Copyright bump for 2022 2022-02-25 23:11:42 -07:00
mastodon_api Merge branch 'mute-expiration' into 'develop' 2022-07-23 00:34:15 +00:00
media_proxy Copyright bump for 2022 2022-02-25 23:11:42 -07:00
metadata Copyright bump for 2022 2022-02-25 23:11:42 -07:00
mongoose_im Copyright bump for 2022 2022-02-25 23:11:42 -07:00
nodeinfo Copyright bump for 2022 2022-02-25 23:11:42 -07:00
o_auth Merge branch 'from/upstream-develop/tusooa/translate-pages' into 'develop' 2022-03-20 18:14:37 +00:00
o_status Copyright bump for 2022 2022-02-25 23:11:42 -07:00
pleroma_api Copyright bump for 2022 2022-02-25 23:11:42 -07:00
plugs Skip cache when /objects or /activities is authenticated 2022-05-06 10:23:26 +02:00
preload/providers Copyright bump for 2022 2022-02-25 23:11:42 -07:00
push Copyright bump for 2022 2022-02-25 23:11:42 -07:00
rich_media Copyright bump for 2022 2022-02-25 23:11:42 -07:00
static_fe Document way to do notice compatibility routes with Nginx reverse-proxy instead 2022-07-16 23:44:37 -06:00
templates Make mail and mailer translatable 2022-03-01 19:17:11 -05:00
twitter_api Merge branch 'from/upstream-develop/tusooa/2830-remote-fo-mp' into 'develop' 2022-07-10 16:19:16 +00:00
utils Copyright bump for 2022 2022-02-25 23:11:42 -07:00
views Merge branch 'from/upstream-develop/tusooa/translate-pages' into 'develop' 2022-03-20 18:14:37 +00:00
web_finger Copyright bump for 2022 2022-02-25 23:11:42 -07:00
api_spec.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
common_api.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
controller_helper.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
embed_controller.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
endpoint.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
federator.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
gettext.ex Fix incorrect fallback when English is set to first language 2022-04-17 22:39:52 -04:00
instance_document.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
manifest_controller.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
media_proxy.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
metadata.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
o_auth.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
plug.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
preload.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
push.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
rel_me.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
router.ex Document way to do notice compatibility routes with Nginx reverse-proxy instead 2022-07-16 23:44:37 -06:00
shout_channel.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
streamer.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
translation_helpers.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
uploader_controller.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
web_finger.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
xml.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00