1. 08 May, 2018 2 commits
  2. 07 May, 2018 3 commits
  3. 09 Mar, 2018 3 commits
  4. 02 Mar, 2018 2 commits
  5. 30 Jan, 2018 1 commit
  6. 23 Jan, 2018 1 commit
    • Remove the automatic loading of URI Adapters · 80847b44
      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
  7. 01 Dec, 2016 1 commit
  8. 14 Nov, 2016 2 commits
  9. 11 Nov, 2016 1 commit
  10. 12 Sep, 2016 1 commit
  11. 30 Aug, 2016 1 commit
  12. 28 Aug, 2016 2 commits
  13. 24 Aug, 2016 2 commits
    • S3 specs fixes · 544fa14c
      * correct S3 specs to use the correct keys in the s3_credentials hash
      * S3 tests work with a region that requires s3_domain_url
      
      [fixes #1985]
      Isaac Betesh committed
    • Make fingerprint digest configurable (#2229) · 5202acbf
      Adapters now accept an options parameter, that currently specifies
      the type of hash digest to use.  The default value remains MD5, but
      can be specified to be any OpenSSL-supported digest.  The specs are
      modified to reflect that.
      
      The task just reassigns all of the attachments, thereby regenerating
      their fingerprints.
      Bart committed
  14. 23 Aug, 2016 1 commit
  15. 19 Aug, 2016 3 commits
  16. 17 Aug, 2016 1 commit
  17. 16 Aug, 2016 1 commit
  18. 03 Aug, 2016 1 commit
    • Support for readbyte in Paperclip attachments; better documentation of custom processors. · 90c80bb9
      I recently implemented a custom processor that used the Exifr gem to
      extract EXIF information from images uploaded to a Paperclip attachment.
      Exifr's processor uses readbyte to parse the EXIF header, so it hit
      errors when Paperclip's File-like object didn't have one. There's also a
      test for this delegation.
      
      I've also tidied up the README documentation for custom processors,
      hopefully to be more clear than before. There was some duplicated
      content between the "Post Processing" section and the "Custom Attachment
      Processing" section, and those sections were separated in the file. I've
      dedicated the "Post Processing" section to Paperclip's built in
      thumbnailing processors, and made "Custom Attachment Processing" section
      solely about writing & using your own custom processors. This should be
      a more understandable progression, as built-in functionality is
      discussed first & separately from extending Paperclip.k
      Alex Pounds committed
  19. 23 Jul, 2016 1 commit
  20. 08 Jul, 2016 1 commit
    • Update accepted server_side_encryption value (#2243) · dfd5b9af
      AWS no longer accepts `:aes256` as an encryption value and will raise
      `Aws::S3::Errors::InvalidArgument` with the message `The encryption method
      specified is not supported`. It should instead be `"AES256"`.
      
      This commit makes no implementation change, but for those that use
      source code and tests as documentation, it should help prevent
      confusion.
      Nick Rivadeneira committed
  21. 16 Jun, 2016 1 commit
  22. 14 Jun, 2016 1 commit
  23. 24 May, 2016 1 commit
  24. 18 May, 2016 1 commit
  25. 10 May, 2016 3 commits
  26. 09 May, 2016 1 commit
  27. 28 Apr, 2016 1 commit
    • Bugfix for when file is not present on cloud · 511f3bc9
      Currently paperclip fails with `NoMethodError` on `nil` when file is not
      present. Since `nil` is proper response from fog on missing files, and
      this method already returns `false` if any error happen (see line 178),
      returning `false` here would be properly handled on client code.
      
      [closes #2173]
      Mark Guk committed