akkoma/test/pleroma/web
Hélène a74ce2d77a
StealEmojiPolicy: fix String rejected_shortcodes
* rejected_shortcodes is defined as a list of strings in the
  configuration description. As such, database-based configuration was
  led to handle those settings as strings, and not as the actually
  expected type, Regex.
* This caused each message passing through this MRF, if a rejected
  shortcode was set and the emoji did not exist already on the instance,
  to fail federating, as an exception was raised, swiftly caught and
  mostly silenced.
* This commit fixes the issue by introducing new behavior: strings are
  now handled as perfect matches for an emoji shortcode (meaning that if
  the emoji-to-be-pulled's shortcode is in the blacklist, it will be
  rejected), while still supporting Regex types as before.
2022-05-18 21:25:10 +02:00
..
activity_pub StealEmojiPolicy: fix String rejected_shortcodes 2022-05-18 21:25:10 +02:00
admin_api Fix eratic test for POST /api/pleroma/admin/reports/:id/notes 2022-04-05 13:21:09 +02:00
api_spec Copyright bump for 2022 2022-02-25 23:11:42 -07:00
auth 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
endpoint Copyright bump for 2022 2022-02-25 23:11:42 -07:00
feed Copyright bump for 2022 2022-02-25 23:11:42 -07:00
mastodon_api Merge branch 'from/upstream-develop/tusooa/translate-pages' into 'develop' 2022-03-20 18:14:37 +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
o_auth Merge branch 'fix_test_get_user_apps' into 'develop' 2022-03-06 18:40:49 +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 Allow to skip cache in Cache plug 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 Copyright bump for 2022 2022-02-25 23:11:42 -07:00
twitter_api Copyright bump for 2022 2022-02-25 23:11:42 -07:00
views Copyright bump for 2022 2022-02-25 23:11:42 -07:00
web_finger Copyright bump for 2022 2022-02-25 23:11:42 -07:00
common_api_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
fallback_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
federator_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
gettext_test.exs Fix incorrect fallback when English is set to first language 2022-04-17 22:39:52 -04:00
manifest_controller_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
media_proxy_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
mongoose_im_controller_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
node_info_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
rel_me_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
shout_channel_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
streamer_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
uploader_controller_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
web_finger_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00