Permalink
Commits on Nov 23, 2010
  1. v2.3.6

    Jon Yurek
    Jon Yurek committed Nov 23, 2010
  2. Moved fingerprint generation into Atatchment

    Jon Yurek
    Jon Yurek committed Nov 23, 2010
Commits on Nov 22, 2010
  1. Added Gemfiles and start using Appraisal

    Jon Yurek
    Jon Yurek committed Nov 22, 2010
Commits on Nov 12, 2010
  1. Tests pass in Rubinius 1.1.0

    Jon Yurek
    Jon Yurek committed Nov 12, 2010
Commits on Nov 10, 2010
  1. Test updated_at correctly

    Jon Yurek
    Jon Yurek committed Nov 10, 2010
Commits on Nov 9, 2010
  1. Fix Ruby 1.9.2 'Encoding::UndefinedConversionError: \xA3 from ASCII-8…

    lardawge committed Nov 9, 2010
    …BIT to UTF-8' in S3.to_file
Commits on Oct 26, 2010
  1. Bumped version ot 2.3.5

    Jon Yurek
    Jon Yurek committed Oct 26, 2010
  2. Fixes a stupid bit of name generation.

    Jon Yurek
    Jon Yurek committed Oct 26, 2010
  3. A little more in the gitignore

    Jon Yurek
    Jon Yurek committed Oct 15, 2010
Commits on Oct 12, 2010
  1. Don't monkeypatch IO, Tempfile, StringIO.

    nicksieger authored and Jon Yurek committed Oct 12, 2010
    For compatibility with Rails > 3.0.0.
    (cherry picked from commit 2e6d337)
  2. Removed extraneous #p

    Jon Yurek
    Jon Yurek committed Oct 12, 2010
Commits on Oct 8, 2010
  1. Rewind the file after reading it for fingerprinting

    Jon Yurek
    Jon Yurek committed Oct 8, 2010
Commits on Oct 7, 2010
  1. Inexplicable non-capitalized Time reference

    Jon Yurek
    Jon Yurek committed Oct 7, 2010
  2. Bumped version

    Jon Yurek
    Jon Yurek committed Oct 7, 2010
  3. Don't require storage module files directly.

    Jon Yurek
    Jon Yurek committed Oct 7, 2010
Commits on Oct 6, 2010
  1. CommandLine uses Paperclip.options[:swallow_stderr] as a default if n…

    keithpitt authored and Jon Yurek committed Oct 6, 2010
    …o :swallow_stderr option is specified.
    
    (cherry picked from commit 753b8b9fc2cb24c9006fe2e6f48d4fe57519eb7a)
  2. Works around FileUtils.rmdir issue in 1.9.2

    Jon Yurek
    Jon Yurek committed Oct 6, 2010
Commits on Oct 1, 2010
  1. Create a bucket if one doesn't exist.

    Jon Yurek
    Jon Yurek committed Oct 1, 2010
    This method prevents excessive calls to the S3 API, creating a bucket
    only if the store method fails with a NoSuchBucket error instead of
    asking for the bucket before each request.
Commits on Aug 19, 2010
  1. Include a module other than top-level Paperclip to prevent namespace …

    Jon Yurek
    Jon Yurek committed Aug 19, 2010
    …collisions.
Commits on Aug 18, 2010
  1. WIP: Path and URL in storage module.

    Jon Yurek
    Jon Yurek committed Aug 18, 2010
  2. Properly load the storage modules.

    Jon Yurek
    Jon Yurek committed Aug 18, 2010
Commits on Aug 17, 2010
  1. fixes issue where attachment styles are losing format options when ra…

    Fiona Foo & Nate Clark Jon Yurek
    Fiona Foo & Nate Clark authored and Jon Yurek committed Aug 13, 2010
    …ils class caching is turned on
  2. Separated Storage modules into their own files.

    Jon Yurek
    Jon Yurek committed Aug 17, 2010
Commits on Aug 16, 2010
  1. Cosmetic changes to fingerprinting.

    Jon Yurek
    Jon Yurek committed Aug 16, 2010
  2. Added fingerprinting support

    mbailey authored and Jon Yurek committed Jun 10, 2010
    Leverage browser caching and proxy caching by setting far future Expires
    headers and changing filenames when file contents change. This can make
    your web app faster for users and also reduce your bandwidth costs.
    
    By adding the column :avatar_fingerprint to our db table and including
    :fingerprint in the attachment filename, we ensure the filename will
    change whenever the file contents do.
    
      has_attached_file :avatar,
        :styles => { :medium => "300x300>", :thumb => "100x100>" },
        :path => "users/:id/:attachment/:fingerprint-:style.:extension",
        :storage => :s3,
        :s3_headers => {'Expires' => 1.year.from_now.httpdate},
        :s3_credentials => "#{RAILS_ROOT}/config/s3.yml",
        :include_updated_timestamp => false
    
    This enables us to set far future expire headers so that browsers
    don't need to check for a newer version. If a change does occur,
    say because a user uploads a new avatar, the new filename will
    be rendered in your html and the cached version will be ignored.
    
    The example above will set Expires headers in S3. If you're using
    local storage you can configure your webserver to do something similar.
    
    We disable the timestamped query string because some proxies refuse
    to cache items with query strings.
    
    For more info on optimizing for caching:
    
    http://code.google.com/speed/page-speed/docs/caching.html
  3. Change Logger for ActiveSupport::BufferedLogger

    Jon Yurek
    Jon Yurek committed Aug 16, 2010
Commits on Aug 10, 2010
Commits on Aug 6, 2010
Commits on Aug 1, 2010
Commits on Jul 29, 2010
  1. Formatting of the features

    Jon Yurek
    Jon Yurek committed Jul 29, 2010
  2. S3 features passing and basic attempt to separate s3-implementation-s…

    Jon Yurek
    Jon Yurek committed Jul 29, 2010
    …pecific methods
Commits on Jul 28, 2010