- 10 Sep, 2015 2 commits
-
-
Removes note for running paperclip in EOL'd version of Rails (2.3).
Tute Costa committed -
Removes `column_type` and `column_options` so that it works well in both versions. Backcported from master, to release a patch version with this bugfix. [closes #1947]
Andrew Hubbs committed
-
- 09 Sep, 2015 3 commits
-
-
Mehmet Cetin committed
-
Mehmet Cetin committed
-
[fixes #1977]
Anshul Sharma committed
-
- 01 Sep, 2015 4 commits
-
-
Isaac Betesh committed
-
Isaac Betesh committed
-
Isaac Betesh committed
-
Isaac Betesh committed
-
- 27 Aug, 2015 4 commits
-
-
Arjun Anand committed
-
Arjun Anand committed
-
Stefano B committed
-
Stefano B committed
-
- 24 Aug, 2015 1 commit
-
-
Removes `column_type` and `column_options` so that it works well in both versions. [closes #1947]
Andrew Hubbs committed
-
- 21 Aug, 2015 1 commit
-
- 20 Aug, 2015 5 commits
-
-
Jon Yurek committed
-
David Chen committed
-
Both v1 and v2 of the AWS Ruby SDK accept the string literal AES256, no need to differentiate. (thank you, @trevorrowe)
Isaac Betesh committed -
Further changes to Paperclip::Storage::S3 for choosing aws-sdk-v2 before aws-sdk-v1; use object.upload_file rather than object.put; implement v2 expiring_url method
David Chen committed -
Isaac Betesh committed
-
- 31 Jul, 2015 1 commit
-
-
According to the ImageMagick documentation the '@' flag is a special case that can be used in conjunction with '>' to prevent IM from scaling an image up. The '<' flag is ignored when using '@'. http://www.imagemagick.org/Usage/resize/#pixel This fixes the issue I reported in #1851
Adam Lassek committed
-
- 26 Jun, 2015 1 commit
-
-
It should never be the case that `url` returns `nil`. If there is no url that can be reasonable achieved, as is the case when the record the attachment is attached to is unpersisted, then `url` should return the default url.
Jon Yurek committed
-
- 19 Jun, 2015 1 commit
-
-
sam committed
-
- 18 Jun, 2015 1 commit
-
-
[ci skip]
Tute Costa committed
-
- 17 Jun, 2015 2 commits
-
-
Isaac Betesh committed
-
[ci skip]
Tute Costa committed
-
- 05 Jun, 2015 3 commits
-
-
For the full details of what is included in this release, check out NEWS. [fixes #1875]
maclover7 committed -
Tute Costa committed
-
Thanks to MORI Shingo of DeNA Co., Ltd. for reporting this. There is an issue where if an HTML file is uploaded with a .html extension, but the content type is listed as being `image/jpeg`, this will bypass a validation checking for images. But it will also pass the spoof check, because a file named .html and containing actual HTML passes the spoof check. This change makes it so that we also check the supplied content type. So even if the file contains HTML and ends with .html, it doesn't match the content type of `image/jpeg` and so it fails.
Jon Yurek committed
-
- 27 May, 2015 1 commit
-
-
Mime-types 2.6.1+ has a columnar store that only loads the data that is needed for a drastically reduced memory footprint. cc/ @jeremyevans @halostatue See: https://github.com/mime-types/ruby-mime-types/pull/96. [fixes #1873]
schneems committed
-
- 15 May, 2015 6 commits
-
-
consistent with public URLs, this also changes the default behavior for expiring URLs to use the https scheme rather than http.
Brian John committed -
Jon Yurek committed
-
[closes #1655]
Gaurish Sharma committed -
Normally, all of the settings would be set on `Attachment`, and they were `deep_merge`d fine. However, if you set the global config.paperclip_defaults = { :validate_media_type => false } then the `HasAttachedFile` class wouldn't pick up on it, because it only uses things that are defined in the class. This change makes it so that the default options are merged in to the ones that `HasAttachedFile` uses when it sets up the attachment. Fixes #1857
Jon Yurek committed -
Present methods in roughly the same order as they are referenced, to make it more graceful to read without jumping back and forth.
Luke Griffiths committed -
In other parts of the codebase, "filename" refers to the part after the directory path it is contained in. e.g. `original_filename` in attachment.rb. This makes this file easier to read by conveying the range of arguments ContentTypeDetector.new accepts.
Luke Griffiths committed
-
- 26 Apr, 2015 2 commits
-
-
Stephen Pike committed
-
Prioritize MimeMagic over the `file` binary for content type detection when it finds a match. Fall back to `file` if MimeMagic can't match anything. `file` incorrectly detects Open Office XML files (e.g., xlsx, docx) as zip since they're implemented as zipped archives of xml files. MimeMagic detects them properly.
Stephen Pike committed
-
- 24 Apr, 2015 2 commits
-
-
pierallard committed
-
pierallard committed
-