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.
mastodon/config/initializers
David Hewitt 290d78cea4
Allow unsetting x-amz-acl S3 Permission headers (#20510)
Some "S3 Compatible" storage providers (Cloudflare R2 is one such example) don't support setting ACLs on individual uploads with the `x-amz-acl` header, and instead just have a visibility for the whole bucket. To support uploads to such providers without getting unsupported errors back, lets use a black `S3_PERMISSION` env var to indicate that these headers shouldn't be sent.

This is tested as working with Cloudflare R2.
3 years ago
..
0_post_deployment_migrations.rb
1_hosts.rb
2_whitelist_mode.rb
active_model_serializers.rb
application_controller_renderer.rb
assets.rb
backtrace_silencers.rb
blacklists.rb
cache_buster.rb
chewy.rb Change search indexing to use batches to minimize resource usage (#18451) 4 years ago
content_security_policy.rb Add "unsafe-eval" to script-src CSP (#18817) 3 years ago
cookies_serializer.rb
cors.rb
devise.rb Fix cookies secure flag being set when served over Tor (#17992) 4 years ago
doorkeeper.rb Fix confirmation redirect to app without `Location` header (#18523) 4 years ago
fast_blank.rb
ffmpeg.rb
filter_parameter_logging.rb
http_client_proxy.rb Support "http_hidden_proxy" ENV var for hidden service only proxy (#18427) 4 years ago
httplog.rb
inflections.rb Add user content translations with configurable backends (#19218) 3 years ago
json_ld.rb
kaminari_config.rb
mail_delivery_job.rb
makara.rb
mime_types.rb
oj.rb
omniauth.rb Fix CAS_DISPLAY_NAME, SAML_DISPLAY_NAME and OIDC_DISPLAY_NAME being ignored (#18568) 4 years ago
open_uri_redirection.rb
paperclip.rb Allow unsetting x-amz-acl S3 Permission headers (#20510) 3 years ago
permissions_policy.rb
pghero.rb Fix PgHero suggesting migrations (#17807) 4 years ago
preload_link_headers.rb
premailer_rails.rb
rack_attack.rb
rack_attack_logging.rb
session_activations.rb
session_store.rb Fix cookies secure flag being set when served over Tor (#17992) 4 years ago
sidekiq.rb Fix vacuum scheduler missing lock, locks never expiring (#19458) 3 years ago
simple_form.rb Change "Allow trends without prior review" setting to include statuses (#17977) 4 years ago
single_user_mode.rb
statsd.rb
stoplight.rb Fix opening and closing Redis connections instead of using a pool (#18171) 4 years ago
strong_migrations.rb
suppress_csrf_warnings.rb
trusted_proxies.rb
twitter_regex.rb Refactor formatter (#17828) 4 years ago
vapid.rb
webauthn.rb
wrap_parameters.rb