fc3ae1343d
* 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. |
||
---|---|---|
.. | ||
activitypub | ||
admin | ||
connection_pool | ||
nodeinfo | ||
ostatus | ||
proof_provider | ||
rss | ||
settings | ||
access_token_extension.rb | ||
account_reach_finder.rb | ||
activity_tracker.rb | ||
application_extension.rb | ||
cache_buster.rb | ||
delivery_failure_tracker.rb | ||
entity_cache.rb | ||
extractor.rb | ||
fast_geometry_parser.rb | ||
fast_ip_map.rb | ||
feed_manager.rb | ||
formatter.rb | ||
hash_object.rb | ||
inline_renderer.rb | ||
language_detector.rb | ||
permalink_redirector.rb | ||
potential_friendship_tracker.rb | ||
proof_provider.rb | ||
rate_limiter.rb | ||
request.rb | ||
request_pool.rb | ||
response_with_limit.rb | ||
rss_builder.rb | ||
search_query_parser.rb | ||
search_query_transformer.rb | ||
sidekiq_error_handler.rb | ||
status_filter.rb | ||
status_finder.rb | ||
status_reach_finder.rb | ||
tag_manager.rb | ||
themes.rb | ||
toc_generator.rb | ||
user_settings_decorator.rb | ||
validation_error_formatter.rb | ||
video_metadata_extractor.rb | ||
webfinger.rb | ||
webfinger_resource.rb |