- 15 May, 2015 1 commit
-
-
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
-
- 23 Apr, 2015 1 commit
-
-
The `aws-sdk` development dependency was updated to `~> 1.6` in #1816 to resolve issues with the creation of 0-byte files on S3 (see #1729). However, there is no runtime dependency on `aws-sdk`, and the documentation still suggests that users install an earlier version of `aws-sdk` that produces the problems in the referenced issue. This commit updates the docs to recommend the use of `aws-sdk` `~> 1.6` with Paperclip.
Robert Eshleman committed
-
- 17 Apr, 2015 1 commit
-
-
Rocco Galluzzo committed
-
- 15 Apr, 2015 1 commit
-
-
* Uses Paperclip's Tempfile instead of Ruby's in Thumbnail * Also includes a test for TempfileFactory to be sure it does not revert to similar behavior * In the tests, give the OS some wiggle room in the Tempfile name to ensure the error does not occur before we are ready for it. The wiggle room is needed because the randomized part of the name has a variable number of characters.
Sammy Larbi committed
-
- 25 Mar, 2015 1 commit
-
-
Rescue only `NotIdentifiedByImageMagickError` in `Attachment#post_process_style`. Other errors should bubble up, because they are meaningless for the end-user, but important for the programmer. Fixes #1352.
Adam Niedzielski committed
-
- 24 Mar, 2015 1 commit
-
-
Denis Demchenko committed
-
- 13 Mar, 2015 1 commit
-
-
It's useless because there is the same conditional in https://github.com/thoughtbot/paperclip/blob/master/lib/paperclip/railtie.rb#L25, and if ActiveRecord is not defined, Glue will not run.
Denis Demchenko committed
-
- 06 Feb, 2015 2 commits
-
-
Agustin Cavilliotti committed
-
The reason behind this I'm trying to use StringioAdapter inside the mailer, and it fails because `length` used in one of the `mail` gem: https://github.com/mikel/mail/blob/master/lib/mail/message.rb#L1997 Also you can see that normally `size` has `length` alias, for example in a `StringIO` class: http://ruby-doc.org/stdlib-1.9.3/libdoc/stringio/rdoc/StringIO.html#method-i-length Let me know, if this change requires test case, I will add it.
Dmitry Polushkin committed
-
- 06 Jan, 2015 1 commit
-
-
As referenced in #1739 Just because the `Rails` constant is defined, it doesn't mean we're actually in a Rails app. Since there are people who use Paperclip outside of Rails, and there's no reason we shouldn't be able to run in those situations. This commit checks for `Rails.env` instead of just checking for `Rails` and assuming `Rails.env` works.
Jon Yurek committed
-
- 19 Dec, 2014 1 commit
-
-
This reverts commit 06802254.
Oliver Heard committed
-
- 09 Dec, 2014 1 commit
-
-
Jon Yurek committed
-
- 08 Dec, 2014 1 commit
-
-
Ahmad Sherif committed
-
- 14 Nov, 2014 1 commit
-
- 07 Nov, 2014 1 commit
-
-
Including + now.
Jon Yurek committed
-
- 24 Oct, 2014 2 commits
-
-
Jon Yurek committed
-
Many people have complained that the Media Type Spoof Detection does not work properly for their files. While whitelisting is available for some files, it's not a general solution. This option leaves the "secure by default" of the media checker in place, but allows people to turn it off completely if they so choose.
Jon Yurek and Nathan Walls committed
-
- 25 Sep, 2014 1 commit
-
-
Column-specific options can be specified by using its name, for example: ``` t.attachment :avatar, created_at: { index: true } ```
Keitaroh Kobayashi committed
-
- 15 Sep, 2014 3 commits
- 13 Sep, 2014 3 commits
- 12 Sep, 2014 2 commits
-
-
Strech (Sergey Fedorov) committed
-
Add explicit unlink to intermediate files from processors.
lister committed
-
- 04 Sep, 2014 2 commits
-
-
Juanito Fatas committed
-
Juanito Fatas committed
-
- 30 Aug, 2014 4 commits
- 29 Aug, 2014 4 commits
-
-
Also, add integration tests for custom processor definition and unit test for Paperclip.load_processor (thoughtbot/paperclip#1535).
Edgar Gonzalez committed -
... instead of `lib` of `lib/paperclip_processors`. Fixes thoughtbot/paperclip#1534
Edgar Gonzalez committed -
Jon Yurek committed
-
Michael Baudino committed
-