chinwagsocial/lib
Claire dbe5e29e38 Fix upload of remote media with OpenStack Swift sometimes failing ()
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.
2022-01-28 22:53:15 +01:00
..
assets Add emoji autosuggest () 2017-09-23 14:47:32 +02:00
chewy/strategy Fix unnecessary queries when batch-removing statuses, 100x faster () 2020-12-22 17:13:55 +01:00
devise Fix authentication before 2FA challenge () 2019-09-24 04:35:36 +02:00
generators Add post-deployment migration system () 2018-08-13 13:40:01 +02:00
json_ld Fix preloaded JSON-LD context for identity not being used () 2019-10-10 06:48:53 +02:00
mastodon Fix migration script not being able to run if it fails midway () 2022-01-28 22:39:48 +01:00
paperclip Fix upload of remote media with OpenStack Swift sometimes failing () 2022-01-28 22:53:15 +01:00
redis Change Redis#exists calls to Redis#exists? to avoid deprecation warning () 2020-07-01 19:05:21 +02:00
tasks Fix "bundle exec rails mastodon:setup" crashing in some circumstances () 2022-01-28 22:52:42 +01:00
templates Add post-deployment migration system () 2018-08-13 13:40:01 +02:00
terrapin Fix media processing getting stuck on too much stdin/stderr () 2022-01-28 22:39:48 +01:00
webpacker Add subresource integrity for JS and CSS assets () 2020-11-06 11:56:31 +01:00
cli.rb Fix tootctl self-destruct not sending Delete activities for recently-suspended accounts () 2022-01-28 22:52:42 +01:00