- 07 May, 2018 5 commits
-
-
Davey committed
-
Closes https://github.com/thoughtbot/paperclip/issues/2253
Roderick Monje committed -
Follow #2481
Yoshiyuki Kinjo committed -
Hayden Ball committed
-
2254 coverage (#2395) * f(x): default to Paperclip::ContentTypeDetector * fix: failures * spec: cover consecutive periods * fix: hound * fix: hound
Roderick Monje committed
-
- 04 May, 2018 1 commit
-
-
Sid Raval committed
-
- 02 May, 2018 1 commit
-
-
Sid Raval committed
-
- 18 Mar, 2018 1 commit
-
-
Viktor Fonic committed
-
- 09 Mar, 2018 8 commits
-
-
Mike Burns committed
-
- open-uri is a security concern, so let's not recommend it. Separate one-liners based on whether they're doing local or remote storage. - Mention the performance impact of the separate table. While migrating they will want to consider each use case for n+1 loads. Thanks, Derek!
Mike Burns committed -
A start at an introductory migration path for moving from Paperclip to [ActiveStorage]. ActiveStorage is coming in Rails 5.2 (April, perhaps) and we want to help people move from Paperclip to it. Having a file upload strategy baked into Rails itself will allow us all to focus our efforts and follow a common goal. This migration guide is rudimentary at best: it works for a `User` object with one `avatar` attachment. It is provided as a framework to start the documentation. I have tried this in a dummy app. [ActiveStorage]: http://edgeguides.rubyonrails.org/active_storage_overview.html
Mike Burns committed -
[ci skip]
Sid Raval committed -
* Added support for aws-sdk-s3 gem which is now preferred way to interact with s3. Reference: https://github.com/aws/aws-sdk-ruby/blob/master/V3_UPGRADING_GUIDE.md#library-maintainer * Drop support for aws-sdk gem
Wojciech Wnętrzak committed -
[ci skip]
Sid Raval committed -
Yamagishi Kazutoshi committed
-
There was a bug in the code where if you created a bucket the file would get read but not rewind on the first pass through (when the bucket didn't exist). So when we went into the retry logic the file would already be read and zero bytes would get copied over from the file. This fixes that by rewinding the file during the retry so it gets correctly copied over the second time around.
Nate Holland committed
-
- 02 Mar, 2018 4 commits
-
-
Sid Raval committed
-
Michael Raidel committed
-
Kevin G committed
-
Kevin G committed
-
- 30 Jan, 2018 8 commits
-
-
Please see #2527 for details.
Clemens Fuchslocher committed -
The command from the README is often copied into projects directly. The version used here before had a known vulnerability (CVE-2017-0889), so it might be wise to mention something more secure instead.
Florian Ebeling committed -
Ivan Stana committed
-
* Provide example for s3_host_name Gives an example, since not everyone knows the format required. * Shorten line per Hound comment
Jonathan Chen committed -
* Added convert_options and source_file_options documentation to the Post Processing README section * made minor markdown changes
Alex Wasson committed -
* Add migration_version variable to migration generator for rails 5 compatibility * Update syntax to satisfy hound
Jack Ellenberger committed -
* Ruby 2.4.0 compatibility (doen't use Fixnum anymore) * Fix typo * Use Integer instead of 0.class
Georg Ledermann committed -
* Updated the Readme, added a submit button to the form and made some notes to make instructions more clear
Corinne Kelly committed
-
- 26 Jan, 2018 4 commits
- 25 Jan, 2018 1 commit
-
-
[ci skip]
Mike Burns committed
-
- 24 Jan, 2018 1 commit
-
-
Aleksei Gusev committed
-
- 23 Jan, 2018 2 commits
-
-
This is a year in the making, with a security patch motivating it. [ci skip]
Mike Burns committed -
Remove the URI adapters. Few people use them by default and they can allow insight into the internal networks of the server. If you want to enable them, add (for example) `Paperclip.DataUriAdapter.register` to your `config/initializers/paperclip.rb` file. This is related to CVE-2017-0889. Elsewhere fix CI: it's `s3.us-west-2` now, with a dot.
Jon Yurek committed
-
- 26 Oct, 2017 1 commit
-
-
FactoryGirl is a factory bot now
Fabricio Bezerra dos Santos committed
-
- 25 Oct, 2017 2 commits
-
-
Gaurish Sharma committed
-
Exception is the root of Ruby's exception hierarchy, so when you rescue Exception you rescue from everything, including subclasses such as SyntaxError, LoadError, and Interrupt etc which is a bad idea. Fix: rescue from StandardError.
Gaurish Sharma committed
-
- 18 Oct, 2017 1 commit
-
-
Wojciech Wnętrzak committed
-