Eugen Rochko
65b49d95b7
Make the paperclip filename interpolator smarter about the :original style
...
If an :original gets converted into another format, it would get saved as
original_filename *anyway*, so generating the extension is pointless and
yields bad results for when you change the style definition later. This way,
old gifs will still have correct URLs
8 years ago
Effy Elden
db40fd4641
Change default S3 ACL string used by Paperclip from 'public' (which is invalid) to 'public-read'
8 years ago
Eugen Rochko
f29df16eea
Fix Paperclip timeout setting. Fix bug introduced in #437
8 years ago
Eugen Rochko
438446b397
Add read timeout to paperclip when it's downloading remote images
8 years ago
Eugen Rochko
4a167885b2
Fix paperclip config
8 years ago
Eugen Rochko
311f2354cf
Update Paperclip config to allow plugging in Minio instead of AWS
8 years ago
Eugen Rochko
e5e702a976
Adding configurable e-mail blacklist
8 years ago
Eugen Rochko
f6b99b05d3
Do not use expiring links after all
8 years ago
Eugen Rochko
595f592304
Do not autoplay videos, display play button instead. Use expiring links when using S3. Do not keep originals
...
for avatars/headers, resize avatars down to 120x120 instead of 300x300. Set cache headers on S3 stuff, also
make it private (aka only accessible via expiring links to prevent hotlinking)
8 years ago
Eugen Rochko
e20d57a9e6
Fix cloudfront config
8 years ago
Eugen Rochko
b245dc1575
Add Cloudfront support
8 years ago
Eugen Rochko
67db2cd871
Upgrade Paperclip to 5, AWS-SDK to 2, do not generate medium/small versions of avatars
8 years ago
Eugen Rochko
9da30e31c8
Fix region setting for AWS gem
8 years ago
Eugen Rochko
89e887b44a
Fix insecure S3 URLs
8 years ago
Eugen Rochko
ec43fb73ed
Improve S3 config
8 years ago
Eugen Rochko
eb6ad973d1
Adding optional S3, fail-mastodon
8 years ago