Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 16, 2014
  1. Don Okuda
Commits on Feb 14, 2014
  1. Philip Corliss Jon Yurek

    Fixes long bundler resolution times when there is no pre-existing

    pcorliss authored jyurek committed
    Gemfile.lock.
  2. Jon Yurek

    Remove parenthesis warning

    jyurek authored
  3. kmcbride Jon Yurek

    Callbacks: Tweaked version check

    kmcbride authored jyurek committed
  4. kmcbride Jon Yurek

    Callbacks: Added Rails 4.1+ terminator conditional

    kmcbride authored jyurek committed
  5. kmcbride Jon Yurek

    Callbacks: Provide necessary lambda arguments

    kmcbride authored jyurek committed
  6. Jonah Dahlquist Jon Yurek

    Fixed deprecated terminator style warning

    jonahbron authored jyurek committed
  7. Wojciech Wnętrzak Jon Yurek

    Validate media type spoofing only when attachment changed.

    morgoth authored jyurek committed
    It resulted with downloading attachment (i.e. from S3) on each
    instance validation even when attachment didn't change at all.
  8. Jon Yurek
Commits on Feb 11, 2014
  1. Wojciech Wnętrzak
Commits on Feb 7, 2014
  1. Jon Yurek

    v4.1.0

    jyurek authored
  2. Scott Carleton Jon Yurek

    Adding Default Format for styles

    ScotterC authored jyurek committed
    Allows a lambda to be passed to decide what format a style should
    be processed as
  3. Marco Otte-Witte Jon Yurek

    added test for data uri without mime type

    marcoow authored jyurek committed
  4. Marco Otte-Witte Jon Yurek

    make mime type optional in data URIs

    marcoow authored jyurek committed
  5. Jon Yurek

    Merge pull request #1427 from marcoow/travis

    jyurek authored
    Travis build: retry bundle install on e.g. timeout
  6. Adam Bowen Jon Yurek

    Correct spelling of 'improvement' in NEWS

    adamnbowen authored jyurek committed
  7. Adam Niedzielski Jon Yurek

    Memoize result of identify command in order to avoid multiple calls t…

    adamniedzielski authored jyurek committed
    …o ImageMagick
  8. Jon Yurek

    Add a way to allow content_types that file misses

    jyurek authored
    There are some file types that the file command doesn't understand.
    Notably, files that have a format, but are ASCII-text based (like ruby,
    certificates, etc), show up as text/plain. This presents a problem,
    because the mime-types gem either doesn't report them at all (as for
    .pem files) or reports them differently (as for .rb files).
    
    This change allows a Paperclip.options[:content_type_mapping] hash,
    which allows for a mapping of { :pem => "text/plain" } which tells the
    spoof detector that this is an OK matchup and to allow it.
Commits on Feb 5, 2014
  1. Jon Yurek
Commits on Jan 31, 2014
  1. Jon Yurek

    v4.0.0

    jyurek authored
  2. Jon Yurek
  3. Jon Yurek

    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. Jon Yurek
  2. Jon Yurek
  3. Jon Yurek
  4. Jon Yurek

    A missing content_type validator shows deprecation warning

    Dan Collis-Puro authored jyurek committed
  5. Jon Yurek

    Fix stringio name in tests

    Dan Collis-Puro authored jyurek committed
  6. Jon Yurek

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

    Dan Collis-Puro authored jyurek committed
  7. Jon Yurek

    Remove test invalidated by better content-type detection semantics

    Dan Collis-Puro authored jyurek committed
  8. Jon Yurek

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

    Dan Collis-Puro authored jyurek committed
  9. Jon Yurek

    Add stub to fix HasAttachedFile tests

    Dan Collis-Puro authored jyurek committed
  10. Jon Yurek

    Add media-type spoof detection

    jyurek authored
Commits on Jan 28, 2014
  1. Marco Otte-Witte
Commits on Jan 27, 2014
  1. Adarsh Pandit

    Update copyright to 2014

    adarsh authored
Commits on Jan 24, 2014
  1. Jon Yurek
Something went wrong with that request. Please try again.