akkoma/lib/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 Copyright bump for 2022 2022-02-25 23:11:42 -07:00
api_spec Merge branch 'from/upstream-develop/tusooa/translate-pages' into 'develop' 2022-03-20 18:14:37 +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 '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
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 Copyright bump for 2022 2022-02-25 23:11:42 -07:00
templates Make mail and mailer translatable 2022-03-01 19:17:11 -05:00
twitter_api Merge branch 'from/upstream-develop/tusooa/translate-pages' into 'develop' 2022-03-20 18:14:37 +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 Copyright bump for 2022 2022-02-25 23:11:42 -07: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