mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-23 15:05:45 +00:00
8f140deb8f
* 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. |
||
---|---|---|
.. | ||
activity_pub | ||
admin_api | ||
api_spec | ||
auth | ||
channels | ||
common_api | ||
fallback | ||
federator | ||
feed | ||
mailer | ||
mastodon_api | ||
media_proxy | ||
metadata | ||
mongoose_im | ||
nodeinfo | ||
o_auth | ||
o_status | ||
pleroma_api | ||
plugs | ||
preload/providers | ||
push | ||
rich_media | ||
static_fe | ||
templates | ||
twitter_api | ||
utils | ||
views | ||
web_finger | ||
api_spec.ex | ||
common_api.ex | ||
controller_helper.ex | ||
embed_controller.ex | ||
endpoint.ex | ||
federator.ex | ||
gettext.ex | ||
instance_document.ex | ||
manifest_controller.ex | ||
masto_fe_controller.ex | ||
media_proxy.ex | ||
metadata.ex | ||
o_auth.ex | ||
plug.ex | ||
preload.ex | ||
push.ex | ||
rel_me.ex | ||
router.ex | ||
shout_channel.ex | ||
streamer.ex | ||
translation_helpers.ex | ||
uploader_controller.ex | ||
web_finger.ex | ||
xml.ex |