mirror of https://github.com/tootsuite/mastodon
![]() * Switch from unmaintained paperclip to kt-paperclip * Drop some compatibility monkey-patches not required by kt-paperclip * Drop media spoof check monkey-patching It's broken with kt-paperclip and hopefully it won't be needed anymore * Fix regression introduced by paperclip 6.1.0 * Do not rely on pathname to call FastImage * Add test for ogg vorbis file with cover art * Add audio/vorbis to the accepted content-types This seems erroneous as this would be the content-type for a vorbis stream without an ogg container, but that's what the `marcel` gem outputs, so… * Restore missing for_as_default method * Refactor Attachmentable concern and delay Paperclip's content-type spoof check Check for content-type spoofing *after* setting the extension ourselves, this fixes a regression with kt-paperclip's validations being more strict than paperclip 6.0.0 and rejecting some Pleroma uploads because of unknown extensions. * Please CodeClimate * Add audio/vorbis to the unreliable set It doesn't correspond to a file format and thus has no extension associated. |
||
---|---|---|
.. | ||
account_suggestions | ||
admin | ||
concerns | ||
form | ||
web | ||
account.rb | ||
account_alias.rb | ||
account_conversation.rb | ||
account_deletion_request.rb | ||
account_domain_block.rb | ||
account_filter.rb | ||
account_identity_proof.rb | ||
account_migration.rb | ||
account_moderation_note.rb | ||
account_note.rb | ||
account_pin.rb | ||
account_stat.rb | ||
account_statuses_cleanup_policy.rb | ||
account_suggestions.rb | ||
account_summary.rb | ||
account_warning.rb | ||
account_warning_preset.rb | ||
admin.rb | ||
announcement.rb | ||
announcement_filter.rb | ||
announcement_mute.rb | ||
announcement_reaction.rb | ||
application_record.rb | ||
backup.rb | ||
block.rb | ||
bookmark.rb | ||
canonical_email_block.rb | ||
context.rb | ||
conversation.rb | ||
conversation_mute.rb | ||
custom_emoji.rb | ||
custom_emoji_category.rb | ||
custom_emoji_filter.rb | ||
custom_filter.rb | ||
device.rb | ||
domain_allow.rb | ||
domain_block.rb | ||
email_domain_block.rb | ||
encrypted_message.rb | ||
export.rb | ||
favourite.rb | ||
featured_tag.rb | ||
feed.rb | ||
follow.rb | ||
follow_recommendation.rb | ||
follow_recommendation_filter.rb | ||
follow_recommendation_suppression.rb | ||
follow_request.rb | ||
home_feed.rb | ||
identity.rb | ||
import.rb | ||
instance.rb | ||
instance_filter.rb | ||
invite.rb | ||
invite_filter.rb | ||
ip_block.rb | ||
list.rb | ||
list_account.rb | ||
list_feed.rb | ||
login_activity.rb | ||
marker.rb | ||
media_attachment.rb | ||
mention.rb | ||
message_franking.rb | ||
mute.rb | ||
notification.rb | ||
one_time_key.rb | ||
poll.rb | ||
poll_vote.rb | ||
preview_card.rb | ||
public_feed.rb | ||
relationship_filter.rb | ||
relay.rb | ||
remote_follow.rb | ||
report.rb | ||
report_filter.rb | ||
report_note.rb | ||
rule.rb | ||
scheduled_status.rb | ||
search.rb | ||
session_activation.rb | ||
setting.rb | ||
site_upload.rb | ||
status.rb | ||
status_pin.rb | ||
status_stat.rb | ||
system_key.rb | ||
tag.rb | ||
tag_feed.rb | ||
tag_filter.rb | ||
tombstone.rb | ||
trending_tags.rb | ||
unavailable_domain.rb | ||
user.rb | ||
user_invite_request.rb | ||
web.rb | ||
webauthn_credential.rb |