akkoma/test/pleroma
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 Copyright bump for 2022 2022-02-25 23:11:42 -07:00
bbs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
chat Copyright bump for 2022 2022-02-25 23:11:42 -07:00
config Better way of getting keys 2022-07-01 12:15:02 +02:00
conversation Copyright bump for 2022 2022-02-25 23:11:42 -07:00
docs Pass in msgctxt for config translation strings 2022-07-14 17:41:33 -04:00
ecto_type/activity_pub/object_validators Copyright bump for 2022 2022-02-25 23:11:42 -07:00
emails Merge branch 'from/upstream-develop/tusooa/translate-pages' into 'develop' 2022-03-20 18:14:37 +00:00
emoji Copyright bump for 2022 2022-02-25 23:11:42 -07:00
gun Copyright bump for 2022 2022-02-25 23:11:42 -07:00
http Copyright bump for 2022 2022-02-25 23:11:42 -07:00
instances Copyright bump for 2022 2022-02-25 23:11:42 -07:00
integration Copyright bump for 2022 2022-02-25 23:11:42 -07:00
mfa Copyright bump for 2022 2022-02-25 23:11:42 -07:00
migration_helper Copyright bump for 2022 2022-02-25 23:11:42 -07:00
object Copyright bump for 2022 2022-02-25 23:11:42 -07:00
password Copyright bump for 2022 2022-02-25 23:11:42 -07:00
repo/migrations Copyright bump for 2022 2022-02-25 23:11:42 -07:00
upload Descriptions from exif data with only whitespeces are considered empty 2022-07-01 13:47:23 +02:00
uploaders Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user Copyright bump for 2022 2022-02-25 23:11:42 -07:00
web EmojiReactValidator: fix emoji qualification 2022-07-24 13:36:06 +02:00
workers Copyright bump for 2022 2022-02-25 23:11:42 -07:00
activity_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
announcement_read_relationship_test.exs Implement announcement read relationships 2022-03-08 13:09:49 -05:00
announcement_test.exs Format announcements into html 2022-03-08 23:00:51 -05:00
application_requirements_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
bookmark_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
captcha_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
chat_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
config_db_test.exs Add tlsv1.3 to suggestions 2022-05-31 00:51:48 +02:00
config_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
conversation_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
emoji_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
filter_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
following_relationship_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
formatter_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
frontend_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
hashtag_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
healthcheck_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
html_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
http_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
instances_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
job_queue_monitor_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
keys_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
list_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
marker_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
mfa_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
moderation_log_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
notification_test.exs Merge branch 'delete_report_notifs_when_demoting_from_superuser' into 'develop' 2022-03-20 18:13:19 +00:00
object_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
otp_version_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
pagination_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
registration_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
repo_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
report_note_test.exs Fix long report notes giving errors on creation 2022-06-02 01:28:39 -04:00
reverse_proxy_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
runtime_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
safe_jsonb_set_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
scheduled_activity_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
signature_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
stats_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
upload_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user_invite_token_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user_relationship_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user_search_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user_test.exs Use is_binary instead of is_bitstring for restricted nicknames tests 2022-07-09 23:39:35 -06:00
utils_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
xml_builder_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00