You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nyastodon/lib/paperclip
Claire e65ede1ac5 Fix upload of remote media with OpenStack Swift sometimes failing (#16998)
Under certain conditions, files fetched from remotes trigger an error when
being uploaded using OpenStack Swift. This is because in some cases, the
remote server will not return a content-length, so our ResponseWithLimitAdapter
will hold a `nil` value for `#size`, which will lead to an invalid value
for the Content-Length header of the Swift API call.

This commit fixes that by taking the size from the actually-downloaded file
size rather than the upstream-provided Content-Length header value.
2 years ago
..
attachment_extensions.rb Fix media processing getting stuck on too much stdin/stderr (#16136) 3 years ago
blurhash_transcoder.rb
color_extractor.rb Fixed code quality issues (#15541) 3 years ago
gif_transcoder.rb Fix animated GIF generates animated thumbnail (#16216) 3 years ago
image_extractor.rb Fix media processing getting stuck on too much stdin/stderr (#16136) 3 years ago
lazy_thumbnail.rb
media_type_spoof_detector_extensions.rb Fix mimetype returning nil (#14356) 4 years ago
response_with_limit_adapter.rb Fix upload of remote media with OpenStack Swift sometimes failing (#16998) 2 years ago
schema_extensions.rb Fix older migrations on Ruby 3 (#16174) 3 years ago
transcoder.rb Fix media processing getting stuck on too much stdin/stderr (#16136) 3 years ago
type_corrector.rb
url_generator_extensions.rb Change REST API to return empty data for suspended accounts (#14765) 4 years ago
validation_extensions.rb Add Ruby 3.0 support (#16046) 3 years ago