Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Nov 23, 2010

  1. Jon Yurek

    v2.3.6

    jyurek authored
  2. Jon Yurek

    Moved fingerprint generation into Atatchment

    jyurek authored
  3. Jon Yurek

    Added Appraisal to Gemfile and have the default task run all appraisals

    jyurek authored

Nov 22, 2010

  1. Jon Yurek

    Added Gemfiles and start using Appraisal

    jyurek authored

Nov 12, 2010

  1. Jon Yurek

    Tests pass in Rubinius 1.1.0

    jyurek authored

Nov 10, 2010

  1. Jon Yurek

    Test updated_at correctly

    jyurek authored

Nov 09, 2010

  1. Larry Sprock

    Update helper require paths for Ruby 1.9.2 compatibility

    lardawge authored
  2. Larry Sprock

    Fix Ruby 1.9.2 'Encoding::UndefinedConversionError: \xA3 from ASCII-8…

    …BIT to UTF-8' in S3.to_file
    lardawge authored

Oct 26, 2010

  1. Jon Yurek

    Bumped version ot 2.3.5

    jyurek authored
  2. Jon Yurek

    Fixes a stupid bit of name generation.

    jyurek authored
  3. Jon Yurek

    A little more in the gitignore

    jyurek authored

Oct 12, 2010

  1. Nick Sieger

    Don't monkeypatch IO, Tempfile, StringIO.

    For compatibility with Rails > 3.0.0.
    (cherry picked from commit 2e6d337)
    nicksieger authored jyurek committed
  2. Jon Yurek

    Removed extraneous #p

    jyurek authored

Oct 08, 2010

  1. Jon Yurek

    Rewind the file after reading it for fingerprinting

    jyurek authored

Oct 07, 2010

  1. Jon Yurek

    Inexplicable non-capitalized Time reference

    jyurek authored
  2. Jon Yurek

    Bumped version

    jyurek authored
  3. Jon Yurek

    Don't require storage module files directly.

    jyurek authored

Oct 06, 2010

  1. Keith Pitt

    CommandLine uses Paperclip.options[:swallow_stderr] as a default if n…

    …o :swallow_stderr option is specified.
    
    (cherry picked from commit 753b8b9)
    keithpitt authored jyurek committed
  2. Jon Yurek

    Works around FileUtils.rmdir issue in 1.9.2

    jyurek authored
  3. Jon Yurek

    Only use Tempfile subclass in 1.8.6 and below. Fixes #278.

    jyurek authored

Oct 01, 2010

  1. Jon Yurek

    Create a bucket if one doesn't exist.

    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.
    jyurek authored

Aug 19, 2010

  1. Jon Yurek

    Include a module other than top-level Paperclip to prevent namespace …

    …collisions.
    jyurek authored

Aug 18, 2010

  1. Jon Yurek

    WIP: Path and URL in storage module.

    jyurek authored
  2. Jon Yurek

    Properly load the storage modules.

    jyurek authored

Aug 17, 2010

  1. fixes issue where attachment styles are losing format options when ra…

    …ils class caching is turned on
    Fiona Foo & Nate Clark authored jyurek committed
  2. Jon Yurek

    Separated Storage modules into their own files.

    jyurek authored

Aug 16, 2010

  1. Jon Yurek

    Cosmetic changes to fingerprinting.

    jyurek authored
  2. Mike Bailey

    Added fingerprinting support

    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
    mbailey authored jyurek committed
  3. Jon Yurek

    Change Logger for ActiveSupport::BufferedLogger

    jyurek authored

Aug 10, 2010

  1. Jon Yurek

    All tests passing on Windows (if you have 'file.exe' installed).

    jyurek authored

Aug 06, 2010

  1. Jon Yurek

    Don't use single-quote to quote windows command lines.

    jyurek authored

Aug 01, 2010

  1. Jon Yurek

    Removed inexplicable dependencies on action_controller and action_pack

    jyurek authored

Jul 29, 2010

  1. Jon Yurek

    Formatting of the features

    jyurek authored
  2. Jon Yurek

    S3 features passing and basic attempt to separate s3-implementation-s…

    …pecific methods
    jyurek authored

Jul 28, 2010

  1. Jon Yurek

    A real check for infinite loops in the :url interpolation.

    jyurek authored
Something went wrong with that request. Please try again.