You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
2 years ago
..
activity_expiration_policy_test.exs
Bump Copyright to 2021
4 years ago
anti_followbot_policy_test.exs
Also use actor_type to determine if an account is a bot in antiFollowbotPolicy
2 years ago
anti_link_spam_policy_test.exs
Bump Copyright to 2021
4 years ago
ensure_re_prepended_test.exs
Bump Copyright to 2021
4 years ago
follow_bot_policy_test.exs
Fix function calls due to module name change
4 years ago
force_bot_unlisted_policy_test.exs
Bump Copyright to 2021
4 years ago
hashtag_policy_test.exs
Remove sensitive-property setting #nsfw, create HashtagPolicy
4 years ago
hellthread_policy_test.exs
Convert tests to all use clear_config instead of Pleroma.Config.put
4 years ago
keyword_policy_test.exs
Convert tests to all use clear_config instead of Pleroma.Config.put
4 years ago
media_proxy_warming_policy_test.exs
Bump Copyright to 2021
4 years ago
mention_policy_test.exs
Convert tests to all use clear_config instead of Pleroma.Config.put
4 years ago
no_empty_policy_test.exs
mix format
2 years ago
no_placeholder_text_policy_test.exs
Bump Copyright to 2021
4 years ago
normalize_markup_test.exs
Bump Copyright to 2021
4 years ago
object_age_policy_test.exs
ObjectAgePolicy: Fix pattern matching on published
3 years ago
reject_non_public_test.exs
Convert tests to all use clear_config instead of Pleroma.Config.put
4 years ago
simple_policy_test.exs
Make mrfSimple work with tuples
3 years ago
steal_emoji_policy_test.exs
StealEmojiPolicy: fix String rejected_shortcodes
2 years ago
subchain_policy_test.exs
Convert tests to all use clear_config instead of Pleroma.Config.put
4 years ago
tag_policy_test.exs
Remove sensitive-property setting #nsfw, create HashtagPolicy
4 years ago
user_allow_list_policy_test.exs
Convert tests to all use clear_config instead of Pleroma.Config.put
4 years ago
vocabulary_policy_test.exs
Convert tests to all use clear_config instead of Pleroma.Config.put
4 years ago