- 14 Feb, 2014 6 commits
-
-
Kylan McBride committed
-
Kylan McBride committed
-
Kylan McBride committed
-
Jonah Dahlquist committed
-
It resulted with downloading attachment (i.e. from S3) on each instance validation even when attachment didn't change at all.
Wojciech Wnętrzak committed -
Jon Yurek committed
-
- 11 Feb, 2014 1 commit
-
-
Wojciech Wnętrzak committed
-
- 07 Feb, 2014 8 commits
-
-
Jon Yurek committed
-
Allows a lambda to be passed to decide what format a style should be processed as
Scott Carleton committed -
Marco Otte-Witte committed
-
Marco Otte-Witte committed
-
Travis build: retry bundle install on e.g. timeout
Jon Yurek committed -
Adam Bowen committed
-
Adam Niedzielski committed
-
There are some file types that the file command doesn't understand. Notably, files that have a format, but are ASCII-text based (like ruby, certificates, etc), show up as text/plain. This presents a problem, because the mime-types gem either doesn't report them at all (as for .pem files) or reports them differently (as for .rb files). This change allows a Paperclip.options[:content_type_mapping] hash, which allows for a mapping of { :pem => "text/plain" } which tells the spoof detector that this is an OK matchup and to allow it.
Jon Yurek committed
-
- 05 Feb, 2014 1 commit
-
-
Jon Yurek committed
-
- 31 Jan, 2014 3 commits
-
-
Jon Yurek committed
-
Jon Yurek committed
-
It is now a requirement for attachments to do one of three things: 1. Have a content_type validation (e.g. "image/*") 2. Have a filename validation (e.g. *.png, *.gif) 3. Explicitly *not* have one of those validations The intent is to make the default more secure, and you have to explicitly reject the security of a validation in order to not have one.
Jon Yurek committed
-
- 29 Jan, 2014 10 commits
-
-
Jon Yurek committed
-
Jon Yurek committed
-
Jon Yurek committed
-
Dan Collis-Puro committed
-
Dan Collis-Puro committed
-
Dan Collis-Puro committed
-
Dan Collis-Puro committed
-
Dan Collis-Puro committed
-
Dan Collis-Puro committed
-
Jon Yurek committed
-
- 28 Jan, 2014 1 commit
-
-
Marco Otte-Witte committed
-
- 27 Jan, 2014 1 commit
-
-
Adarsh Pandit committed
-
- 24 Jan, 2014 2 commits
- 15 Jan, 2014 1 commit
-
-
Caleb Thompson committed
-
- 10 Jan, 2014 2 commits
- 08 Jan, 2014 1 commit
-
-
This option was added to `has_attached_file` some time ago, see https://github.com/thoughtbot/paperclip/commit/65e8d4f6de50732d8e1b.
John Grimes committed
-
- 06 Jan, 2014 2 commits
-
-
fixes indentation in code example
Jon Yurek committed -
Just saw this indentation in passing. Thanks for Paperclip!
Xavier Noria committed
-
- 03 Jan, 2014 1 commit
-
-
AbstractAdapter wasn't delegating `binmode` or `binmode?` to the underlying @tempfile object. `binmode` is useful for cases where the Adapter object gets handed on to another library expecting an `IO` object holding image data. We ran into this with Prawn and people using `prawnto` in conjunction with Paperclip. Prawn wants to ensure the `IO` is in binmode for embedding the image data.
Matt Patterson committed
-