Skip to content

Releases: kartik-v/bootstrap-fileinput

Version 4.1.3

20 Dec 18:28
Compare
Choose a tag to compare

Date: 20-Dec-2014

  • (enh #87): More correct progress indicator percentage for asynchronous upload.
    • filepreupload
    • fileuploaded
    • fileuploaderror
    • filebatchuploaderror
    • filebatchuploadsuccess
    • filebatchuploadcomplete
  • (enh #86): Disable thumbnail action buttons when upload is in progress.
  • (enh #85): Combine output data as a single object, that is sent for various file upload events.

Version 4.1.2

20 Dec 03:22
Compare
Choose a tag to compare

Date: 19-Dec-2014

  • (enh #81): Add new events:
    • filebatchuploadsuccess
    • filebatchuploadcomplete
  • (enh #80): Allow access to uploadExtraData and responseData to following events
    • filepreupload
    • fileuploaded
    • fileuploaderror
    • filebatchuploaderror
    • filebatchuploadsuccess
    • filebatchuploadcomplete
    • filelock
    • fileunlock

Version 4.1.1

18 Dec 17:43
Compare
Choose a tag to compare

Date: 18-Dec-2014

  • (bug #78): Set uploadExtraData parameters to be correctly sent via POST.
  • (bug #76): Update filestack when showPreview is false.
  • (enh #58): Set a new property textEncoding for reading the text files with right encoding.

Version 4.1.0

16 Dec 20:54
Compare
Choose a tag to compare

Date: 17-Dec-2014

  • (enh #75): Better validation of browser support for drag and drop.
  • (enh #74): Enhancements to file validation errors for both FORM and AJAX uploads.
    • For normal Form based uploads automatically disable the Upload button
    • Display a separate error styled thumbnail for the file that faced the validation error.
    • Reset errors correctly to overwrite files with a new change or drag/drop

Version 4.0.0

16 Dec 06:20
Compare
Choose a tag to compare

Date: 14-Dec-2014

  • (bug #72): Fix bootstrap ## version constraint.
  • Renamed initialDelimiter to initialPreviewDelimiter
  • (enh #70): Version 4.0 enhancements.

Version 4.0 Features

  • Add functionality for AJAX based UPLOAD using HTML5 FormData (most modern browsers support it). Will degrade to normal Form Based File submission if this is not supported.
  • To use AJAX Upload, the uploadUrl property is MANDATORY and must be set.
  • Enhance plugin to now allow files to be added, appended, removed (based on FEEDBACK from many). Thus one can append files to preview.
  • New DRAG & DROP zone available in preview to drag and drop files and append.
  • Delete or upload files one by one OR in batch.
  • If showPreview is set to false, or uploadUrl is not supported plugin will degrade to normal form based upload.
  • Configurable indicators for file awaiting upload, file successfully uploaded, files errored in upload.
  • Ability to add extra form data with ajax based uploads.
  • Upload progress bar and individual thumbnail upload indicators.
  • Ability to cancel and abort ongoing AJAX uploads.
  • Templates have been revamped and enhanced for each file type.
  • Ensure plugin is still lean in size and optimized for performance inspite of the above features by optimally utilizing HTML5 & jquery features only.

New properties added

  • showCancel: shows a cancel button for aborting ajax uploads (defaults to true).
  • cancelLabel: label for the cancel button.
  • cancelTitle: title for the cancel button on hover.
  • cancelIcon: icon markup for the cancel button
  • cancelClass: CSS class for the cancel button.
  • removeTitle: title for the remove button on hover.
  • uploadTitle: title for the upload button on hover.
  • uploadUrl: the url that will be used to process AJAX based uploads (using FormData XHR2).
  • uploadExtraData: extra data that will be passed as data to the url/AJAX server call via POST
  • uploadAsync: whether the batch upload of multiple files will be asynchronous/in parallel. Defaults to true.
  • initialPreviewShowDelete: shows a delete button for each initial preview content's thumbnail (defaults to true).
  • initialPreviewConfig: configuration for setting up each initialPreviewContent item (associative array/object)
    • caption: The caption or filename to display for each initial preview item content.
    • width: The CSS width of the image/content displayed.
    • url: The URL for deleting the image/content via AJAX (shown only for initialPreviewContent).
    • key: The key that will be passed to the URL via POST (shown only for initialPreviewContent).
  • dropZoneEnabled: Enable a drag and drop zone for dragging files and is available only for ajax based uploads (defaults to true).
  • dropZoneTitle: Title to be displayed in the drag & drop zone.
  • dropZoneTitleClass: CSS class for the drag & drop zone title.
  • fileActionSettings: configuration for setting up actions for newly selected file thumbnails in the preview (associative array/object)
    • removeIcon: icon for remove button to be displayed in each file thumbnail.
    • removeClass: CSS class for the remove button in each file thumbnail.
    • removeTitle: title for remove button in each file thumbnail.
    • uploadIcon: icon for upload button to be displayed in each file thumbnail.
    • uploadClass: CSS class for the remove button in each file thumbnail.
    • uploadTitle: title for remove button in each file thumbnail.
    • indicatorNew: an indicator (HTML markup) for new pending upload displayed in each file thumbnail.
    • indicatorSuccess: an indicator (HTML markup) for successful upload displayed in each file thumbnail.
    • indicatorError: an indicator (HTML markup) for error in upload displayed in each file thumbnail.
    • indicatorLoading: an indicator (HTML markup) for ongoing upload displayed in each file thumbnail.
    • indicatorNewTitle: title to display on hover of indicator for new pending upload in each file thumbnail.
    • indicatorSuccessTitle: title to display on hover of indicator for successful in each file thumbnail.
    • indicatorErrorTitle: title to display on hover of indicator for error in upload in each file thumbnail.
    • indicatorLoadingTitle: title to display on hover of indicator for ongoing upload in each file thumbnail.

Version 3.0.0

08 Dec 05:14
Compare
Choose a tag to compare

Date: 08-Dec-2014

  • (bug #68): Fix refresh method of the fileinput to trigger change correctly.
  • (enh #67): Enhance support for IE browsers
    • Add specific validations for parsing IE versions rightly
    • Enhance plugin to extend styling support to IE 9 (with the limitation that IE 9 does not support HTML 5 features like multiple file upload)
    • Fix clearing of file input rightly for IE 9 & IE 10
    • Degrade plugin automatically to a native file input for older IE versions
    • Prevent change method firing twice when file is cleared after error is encountered in IE 11.
  • (enh #65): Correct validation of refreshPreview using updateFileDetails.
  • (enh #64): Add ability to override the slug method with a slugCallback property.
  • (bug #61): Refresh preview to show errors correctly after each file is validated.
  • (enh #60): Enhance upload button for disable/enable when used with <a> tag.

Version 2.9.0

23 Nov 11:00
Compare
Choose a tag to compare

Date: 23-Nov-2014

  • (enh #56): Trigger new events filebrowse and fileselectnone.
  • (enh #55): Clear the files when file browse dialog is cancelled only if the browser clears the native file input.
  • (enh #53): Validations and events for right reset of files when browse button is clicked.

Version 2.8.0

13 Nov 18:17
Compare
Choose a tag to compare

Date: 13-Nov-2014

  • (enh #52): Raise new fileimageloaded event.
  • (enh #51): Autosize preview images when they exceed the size of the preview container.
  • (enh #50): Dynamically auto size file captions for long file names exceeding container width. New property autoFitCaption
    is added which defaults to true. When this is true the plugin will auto fit caption text within the container dynamically
    and responsively based on window size.

Version 2.7.0

11 Nov 07:11
Compare
Choose a tag to compare

Date: 11-Nov-2014

  • (enh #49): Set image preview dimensions to auto fit and center
  • (enh #48): Trigger fileloaded event when showPreview is false.
  • Set release to stable in composer.json.

Version 2.6.0

22 Oct 15:54
Compare
Choose a tag to compare

Date: 15-Oct-2014

  • (bug #44): Browser IE10 hangs on file clear.
  • (bug #43): Validate special characters in filename before generating caption.
  • (enh #42): Enhance plugin to configure the elErrorContainer for displaying validation errors.
  • Templatize errorContainer for display within the preview window.
  • (bug #40): More correct fix for IE (ver < 11) inability to clear fileinput values.