- 31 Jan, 2014 2 commits
-
-
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
-
- 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 7 commits
-
-
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 -
Rafael Jurado González committed
-
Update link in documentation for :s3_permissions.
Jon Yurek committed -
Claudio Contin committed
-
Salimane Adjao Moustapha committed
-
Jon Yurek committed
-
Jon Yurek committed
-
- 02 Jan, 2014 5 commits
-
-
Use hexdigest to ensure that tempfile names will be a reasonable length. Remove illegal filename characters check since it is no longer relevant when doing a hexdigest on the filename
Dan Dockery committed -
Jon Yurek committed
-
When using S3 for storage, their data consistency model makes the current behaviour of Attachment#reprocess! unreliable. Apparently, Amazon can not guarantee that PUT's called after DELETE's is actually executed in that order. Hence, I propose preserving files, when doing a reprocces.
Anders Lemke committed -
Jon Yurek committed
-
Jon Yurek committed
-
- 20 Dec, 2013 7 commits
-
-
Jon Yurek committed
-
brad dunbar committed
-
Alex Tambellini committed
-
Scott Carleton committed
-
Dan Collis-Puro committed
-
This ensures that multiline strings are properly matched in their entirety.
Dan Collis-Puro committed -
document :s3_credentials being able to take a Proc
Jon Yurek committed
-