akkoma/lib/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
..
activity_pub Remove deps from Streaming/Persisting behaviors 2021-06-01 13:55:07 -05:00
mrf StealEmojiPolicy: fix String rejected_shortcodes 2022-06-29 20:47:45 +01:00
object_validator Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
object_validators Merge branch 'mfm' into develop 2022-06-14 16:25:47 +01:00
side_effects Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
views Provide totalItems field for featured collections 2021-05-27 12:17:31 -05:00
activity_pub.ex fix all tests 2022-06-11 16:14:22 +01:00
activity_pub_controller.ex cherry-pick security from upstream 2022-06-22 16:25:05 +01:00
builder.ex fix emoji controller tests 2022-06-11 14:21:50 +01:00
internal_fetch_actor.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
mrf.ex CI: Bump lint stage to elixir-1.12 2021-10-06 08:11:05 +02:00
object_validator.ex remove io.inspects 2022-06-08 12:58:12 +01:00
pipeline.ex add custom emoji reaction support 2022-06-08 02:42:44 +01:00
publisher.ex Linting. 2021-12-12 17:35:02 +00:00
relay.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
side_effects.ex add custom emoji reaction support 2022-06-08 02:42:44 +01:00
transmogrifier.ex run mix format 2022-06-10 13:41:08 +01:00
utils.ex fix all tests 2022-06-11 16:14:22 +01:00
visibility.ex ensure local statuses are not visible remotely 2022-06-22 17:06:40 +01:00