mirror of https://github.com/mastodon/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. |
4 years ago | |
---|---|---|
.. | ||
activitypub | 4 years ago | |
admin | 4 years ago | |
connection_pool | 6 years ago | |
nodeinfo | 6 years ago | |
ostatus | 6 years ago | |
proof_provider | 5 years ago | |
rss | 5 years ago | |
settings | 4 years ago | |
access_token_extension.rb | 4 years ago | |
account_reach_finder.rb | 4 years ago | |
activity_tracker.rb | 6 years ago | |
application_extension.rb | 4 years ago | |
cache_buster.rb | 4 years ago | |
delivery_failure_tracker.rb | 4 years ago | |
entity_cache.rb | 4 years ago | |
extractor.rb | 4 years ago | |
fast_geometry_parser.rb | 4 years ago | |
fast_ip_map.rb | 5 years ago | |
feed_manager.rb | 4 years ago | |
formatter.rb | 4 years ago | |
hash_object.rb | ||
inline_renderer.rb | 5 years ago | |
language_detector.rb | 4 years ago | |
permalink_redirector.rb | 4 years ago | |
potential_friendship_tracker.rb | 4 years ago | |
proof_provider.rb | ||
rate_limiter.rb | 5 years ago | |
request.rb | 4 years ago | |
request_pool.rb | 6 years ago | |
response_with_limit.rb | 5 years ago | |
rss_builder.rb | ||
search_query_parser.rb | 6 years ago | |
search_query_transformer.rb | 5 years ago | |
sidekiq_error_handler.rb | 5 years ago | |
status_filter.rb | ||
status_finder.rb | 6 years ago | |
status_reach_finder.rb | 4 years ago | |
tag_manager.rb | 4 years ago | |
themes.rb | ||
toc_generator.rb | 6 years ago | |
user_settings_decorator.rb | 5 years ago | |
validation_error_formatter.rb | 4 years ago | |
video_metadata_extractor.rb | 4 years ago | |
webfinger.rb | 4 years ago | |
webfinger_resource.rb | 5 years ago |