- #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 Rails4.1
.
- 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 theFormHelper
'ss3_cors_fileupload_form_tag
method to set the protocol tohttp
orhttps
(defaults tohttps
). - Removed dependency on jquery-rails, since there are other valid solutions for including it to a Rails app.
- Added a lot more spec coverage.
- Adjusted FormHelper module so that the 'Add files...' button is a
span
tag instead of abutton
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.
- 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.
- 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.
- 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.
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.
- Modified the FormHelper so that view helper method is named
s3_cors_fileupload_form_tag
(instead ofs3_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.
- Fixed generator so that the SourceFile model requires the aws-s3 gem properly.