about summary refs log tree commit diff
path: root/config/initializers/paperclip.rb
AgeCommit message (Collapse)Author
2017-09-11Add OpenStack Keystone V3 support (#4889)Patrick Figel
Keystone V2 is deprecated in favour of V3. This adds the necessary connection parameters for establishing a V3 connection. Connections to V2 endpoints are still possible and the configuration should remain compatible. This also introduces a SWIFT_REGION variable for multi-region OpenStack environments and a SWIFT_CACHE_TTL that controls how long tokens and other meta-data is cached for. Caching tokens avoids rate-limiting errors that would result in media uploads becoming unavailable during high load or when using tasks like media:remove_remote. fog-openstack only supports token caching for V3 endpoints, so a recommendation for using V3 was added.
2017-09-05swift-enable the paperclip! :paperclip: (#2322)Adam Thurlow
2017-05-05Fixes unknown mime type (#2822)alpaca-tc
2017-04-20Removes timestamp from URLs. (#2185)Ash Furrow
2017-04-19Make configuarable s3_permissions for paperclip (#2139)tmyt
2017-04-19Change to switch signature version for Amazon S3 (#2124)Yamagishi Kazutoshi
2017-04-18Fix #1642, fix #1912 - Dictate content-type file extension (#2078)Eugen
* Fix #1642, fix #1912 - Previous change (#1718) did not modify how original file was saved on upload * Fix for when file is missing
2017-04-16Leave out the "Expires" header from S3 uploads (#1886)Joachim Viide
2017-04-15Custom Paperclip path. (#778)Valentin Lorentz
* Custom Paperclip path. * Document PAPERCLIP_ROOT. * Add PAPERCLIP_ROOT_URL (and rename PAPERCLIP_ROOT to PAPERCLIP_ROOT_PATH).
2017-04-13Add filename extension to paperclip (#1718)Yusuke Abe
2017-03-23:wrench: S3 protocol from ENVleopku
add support for reading S3 protocol from ENV also add S3_HOSTNAME in .env.production.sample
2017-03-05Make the paperclip filename interpolator smarter about the :original styleEugen Rochko
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
2017-01-15Change default S3 ACL string used by Paperclip from 'public' (which is ↵Effy Elden
invalid) to 'public-read'
2017-01-08Fix Paperclip timeout setting. Fix bug introduced in #437Eugen Rochko
2017-01-07Add read timeout to paperclip when it's downloading remote imagesEugen Rochko
2016-12-07Fix paperclip configEugen Rochko
2016-12-07Update Paperclip config to allow plugging in Minio instead of AWSEugen Rochko
2016-12-04Adding configurable e-mail blacklistEugen Rochko
2016-12-04Do not use expiring links after allEugen Rochko
2016-12-04Do not autoplay videos, display play button instead. Use expiring links when ↵Eugen Rochko
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)
2016-12-03Fix cloudfront configEugen Rochko
2016-12-03Add Cloudfront supportEugen Rochko
2016-11-29Upgrade Paperclip to 5, AWS-SDK to 2, do not generate medium/small versions ↵Eugen Rochko
of avatars
2016-11-08Fix region setting for AWS gemEugen Rochko
2016-11-06Fix insecure S3 URLsEugen Rochko
2016-11-06Improve S3 configEugen Rochko
2016-11-06Adding optional S3, fail-mastodonEugen Rochko