akkoma/test
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
..
config Load an emoji.txt specific to the test env 2021-02-03 16:40:59 -06:00
credo/check/consistency Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
fixtures fix emoji tests 2022-06-11 14:08:54 +01:00
instance_static support for special chars in pack name 2020-09-24 09:12:37 +03:00
mix Fix digest test 2022-06-29 20:45:05 +01:00
pleroma StealEmojiPolicy: fix String rejected_shortcodes 2022-06-29 20:47:45 +01:00
support CI: Bump lint stage to elixir-1.12 2021-10-06 08:11:05 +02:00
test_helper.exs Skip erratic tests 2021-12-21 22:04:15 -06:00