Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 3.78 KB

CHANGELOG.md

File metadata and controls

55 lines (38 loc) · 3.78 KB

0.4.0 (Unreleased)

  • #4 - A meaningfull error message will be raised if options that are required in order for the gem to connect to AWS::S3 are not set properly on the config file.
  • #3 - Added a model template to support Mongoid.
  • Prevent potential error encountered when using the InstallGenerator with Rails 4.1.

0.3.0

  • Rails 4 compatibility.
  • Upgraded jQuery-File-Upload and corresponding JavaScript dependencies to most recent releases (see lib/s3_cors_fileupload/version.rb for the current version #'s)
  • Updated to Twitter Bootstrap 3.
  • Added new :secure option that can be passed into the FormHelper's s3_cors_fileupload_form_tag method to set the protocol to http or https (defaults to https).
  • Removed dependency on jquery-rails, since there are other valid solutions for including it to a Rails app.
  • Added a lot more spec coverage.

0.2.1

  • Adjusted FormHelper module so that the 'Add files...' button is a span tag instead of a button tag (fixes compatibility with FireFox)
  • Upgraded jQuery-File-Upload and the other JavaScript files it is dependent upon to the most recent releases (see lib/s3_cors_fileupload/version.rb for the current version #'s)
  • Added new Process and Validation plugins from the jQuery-File-Upload package.
  • Minor stability enhancements.

0.2.0

  • Upgraded jQuery-File-Upload and the other JavaScript files it is dependent upon to the most recent releases (see lib/s3_cors_fileupload/version.rb for the current version #'s)
  • Adjusted the s3_cors_fileupload_form_tag view helper so that block arguments passed to it are inserted inside of the form tag as opposed to the end of it.
  • Changed the default expiration time for the form from 1 hour to 10 hours.
  • Swapped in MultiJSON for the JSON gem.

0.1.5

  • Added option to select 'haml' as the language template for the view files on the install generator.
  • Fixed S3CorsFileupload::Config YAML initializer so that it properly reads in ERB statements.

0.1.4

  • Added a data-confirmation option to the delete buttons and functionality to the jQuery-File-Upload UI's destroy callback that picks up the contents of that attribute to use as a confirmation dialog. (Fixed the implementation from v0.1.3) See the README notes for more details.

0.1.3

This version was yanked because the 'data-confirmation' feature (see 0.1.4) was broken in a way that caused the user to be prompted every time they clicked on the delete button, regardless of the option.

  • Improving install generator so that generation of the migration file is optional.
  • Removed some unnecessary code on some of the generator templates.

0.1.2

  • Modified the FormHelper so that view helper method is named s3_cors_fileupload_form_tag (instead of s3_cors_fileupload_form) to maintain consistency with the rest of ActionView's view helpers.
  • Improving usage documentation on the README to provide a more detailed explanation of what the gem provides.

0.1.1

  • Fixed generator so that the SourceFile model requires the aws-s3 gem properly.