akkoma/test/pleroma/web/activity_pub
Hélène 8f140deb8f 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-06-29 20:47:45 +01:00
..
mrf StealEmojiPolicy: fix String rejected_shortcodes 2022-06-29 20:47:45 +01:00
object_validators fix emoji tests 2022-06-11 14:08:54 +01:00
side_effects Change user.deactivated field to user.is_active 2021-01-15 11:24:46 -06:00
transmogrifier mix format 2022-06-11 16:14:31 +01:00
views Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
activity_pub_controller_test.exs cherry-pick security from upstream 2022-06-22 16:25:05 +01:00
activity_pub_test.exs make linter happy 2021-12-06 11:50:51 +00:00
builder_test.exs Builder.note/1: return {:ok, map(), keyword()} like other Builder functions 2021-08-14 11:24:55 -05:00
mrf_test.exs Make quarentine work with list of tuples instead of strings 2021-08-06 07:59:52 +02:00
pipeline_test.exs fix emoji tests 2022-06-11 14:08:54 +01:00
publisher_test.exs Make quarentine work with list of tuples instead of strings 2021-08-06 07:59:52 +02:00
relay_test.exs ObjectValidators.{Announce,EmojiReact,Like}: Fix context, actor & addressing 2021-06-09 04:23:02 +02:00
side_effects_test.exs fix all tests 2022-06-11 16:14:22 +01:00
transmogrifier_test.exs Apply alexgleason's suggestion(s) to 1 file(s) 2021-12-07 22:53:36 +00:00
utils_test.exs Allow updating accepted follow activities in Web.ActivityPub.Utils.update_follow_state_for_all/2 2021-12-17 14:17:51 -05:00
visibility_test.exs mix format 2022-06-22 17:20:55 +01:00