Ash Furrow
66b39ccaed
Removes timestamp from URLs. ( #2185 )
7 years ago
tmyt
6c83fec971
Make configuarable s3_permissions for paperclip ( #2139 )
7 years ago
Yamagishi Kazutoshi
8b8e140c71
Change to switch signature version for Amazon S3 ( #2124 )
7 years ago
Eugen
e09ab2c0bd
Fix #1642 , fix #1912 - Dictate content-type file extension ( #2078 )
* Fix #1642 , fix #1912 - Previous change (#1718 ) did not modify how original file was saved on upload
* Fix for when file is missing
7 years ago
Joachim Viide
363de2dffd
Leave out the "Expires" header from S3 uploads ( #1886 )
7 years ago
Valentin Lorentz
5ab0ffc6c8
Custom Paperclip path. ( #778 )
* Custom Paperclip path.
* Document PAPERCLIP_ROOT.
* Add PAPERCLIP_ROOT_URL (and rename PAPERCLIP_ROOT to PAPERCLIP_ROOT_PATH).
7 years ago
Yusuke Abe
169c68a739
Add filename extension to paperclip ( #1718 )
7 years ago
leopku
c46843c65c
🔧 S3 protocol from ENV
add support for reading S3 protocol from ENV
also add S3_HOSTNAME in .env.production.sample
7 years ago
Eugen Rochko
ebc01bf0f6
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
7 years ago
Effy Elden
a097dd489b
Change default S3 ACL string used by Paperclip from 'public' (which is invalid) to 'public-read'
7 years ago
Eugen Rochko
2e71bb031b
Fix Paperclip timeout setting. Fix bug introduced in #437
7 years ago
Eugen Rochko
7ddec6e7c3
Add read timeout to paperclip when it's downloading remote images
7 years ago
Eugen Rochko
8b93f45f3d
Fix paperclip config
8 years ago
Eugen Rochko
f114bc7bb7
Update Paperclip config to allow plugging in Minio instead of AWS
8 years ago
Eugen Rochko
b362de2232
Adding configurable e-mail blacklist
8 years ago
Eugen Rochko
f763e844e8
Do not use expiring links after all
8 years ago
Eugen Rochko
80c44ed9c1
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
290ffb63cd
Fix cloudfront config
8 years ago
Eugen Rochko
d3bd10dfe4
Add Cloudfront support
8 years ago
Eugen Rochko
5973ca3d11
Upgrade Paperclip to 5, AWS-SDK to 2, do not generate medium/small versions of avatars
8 years ago
Eugen Rochko
2f21f4cc01
Fix region setting for AWS gem
8 years ago
Eugen Rochko
b835f4aa1c
Fix insecure S3 URLs
8 years ago
Eugen Rochko
45230c56ab
Improve S3 config
8 years ago
Eugen Rochko
3ab193bc3f
Adding optional S3, fail-mastodon
8 years ago