Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jan 31, 2014
  1. @jyurek

    v4.0.0

    jyurek authored
  2. @jyurek
  3. @jyurek

    Raise unless content type or name validation

    jyurek authored
    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.
Commits on Jan 29, 2014
  1. @jyurek
  2. @jyurek
  3. @jyurek
  4. @jyurek

    A missing content_type validator shows deprecation warning

    Dan Collis-Puro authored jyurek committed
  5. @jyurek

    Fix stringio name in tests

    Dan Collis-Puro authored jyurek committed
  6. @jyurek

    Fix s3 test for new file naming and content type detection semantics

    Dan Collis-Puro authored jyurek committed
  7. @jyurek

    Remove test invalidated by better content-type detection semantics

    Dan Collis-Puro authored jyurek committed
  8. @jyurek

    Calculate data-uri file names off the validated content-type

    Dan Collis-Puro authored jyurek committed
  9. @jyurek

    Add stub to fix HasAttachedFile tests

    Dan Collis-Puro authored jyurek committed
  10. @jyurek

    Add media-type spoof detection

    jyurek authored
Commits on Jan 27, 2014
  1. Update copyright to 2014

    Adarsh Pandit authored
Commits on Jan 24, 2014
  1. @jyurek
  2. @jyurek
Commits on Jan 15, 2014
  1. @calebthompson
Commits on Jan 10, 2014
  1. @jyurek
  2. @jyurek

    Merge pull request #1410 from smallspark/doco-updates

    jyurek authored
    Add documentation for `preserve_files` option
Commits on Jan 8, 2014
  1. @johngrimes

    Add documentation for `preserve_files` option

    johngrimes authored
    This option was added to `has_attached_file` some time ago, see 65e8d4f.
Commits on Jan 6, 2014
  1. @jyurek

    Merge pull request #1409 from fxn/patch-1

    jyurek authored
    fixes indentation in code example
  2. @fxn

    fixes indentation in code example

    fxn authored
    Just saw this indentation in passing. Thanks for Paperclip!
Commits on Jan 3, 2014
  1. @fidothe @jyurek

    Delegate binmode and binmode? in AbstractAdapter

    fidothe authored jyurek committed
    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.
  2. @rjurado01 @jyurek
  3. @jyurek

    Merge pull request #1397 from ggordan/master

    jyurek authored
    Update link in documentation for :s3_permissions.
  4. @jyurek

    fix deprecations for rails 4

    Claudio Contin authored jyurek committed
  5. @salimane @jyurek

    Add Ruby 2.1.0 to .travis.yml

    salimane authored jyurek committed
  6. @jyurek
  7. @jyurek
Commits on Jan 2, 2014
  1. @jyurek

    Use hexdigest to ensure that tempfile names will be a reasonable leng…

    Dan Dockery authored jyurek committed
    …th. Remove illegal filename characters check since it is no longer relevant when doing a hexdigest on the filename
  2. @jyurek
  3. @anderslemke @jyurek

    Preserve files when reprocessing

    anderslemke authored jyurek 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.
  4. @jyurek
  5. @jyurek
Commits on Dec 20, 2013
  1. @jyurek
Something went wrong with that request. Please try again.