github kartik-v/bootstrap-fileinput v4.3.2
Version 4.3.2

latest releases: v5.5.4, v5.5.3, v5.5.2...
7 years ago

Date: 11-Jun-2016

  • (enh #674): Organize all themes in a separate themes folder.
  • (enh #666): Update sortable draggable selector.
  • (enh #655): Include sass styling configuration.
  • (enh #654): Update Spanish Translations.
  • (enh #650, #676): Ability to configure browse button display and file select via zone click.
    • New boolean property showBrowse that allows you to control the display of the browse button
    • New boolean property browseOnZoneClick that allows you to select a file:
      • for ajax uploads - by clicking on the preview drag/drop zone
      • for form based/non-ajax uploads - by setting defaultPreviewContent and that will be clickable to browse files
    • New string message property dropZoneClickTitle that will be appended to the dragZoneTitle for ajax uploads when browseOnZoneClick is true.
    • New template actionDrag will be available within layoutTemplates to configure your drag indicator markup.
  • (enh #647): Display file size in previews and templates.
  • Enhancements to file preview icons (other template).
  • Simpler naming for files in locales and themes folders.
  • (enh #643):Implement rearranging / sorting functionality for initial preview.
    • Add ability to rearrange and sort thumbnails by drag & drop. This feature will use the Sortable plugin which will be included in the js/plugins folder.
    • This feature will be available only for initial preview thumbnails for both ajax and form uploads.
    • New property for drag indicator and drag behavior configurations will be included in fileActionSettings:
      • showDrag
      • dragIcon
      • dragClass
      • dragTitle
      • dragSettings
  • (enh #642): Reorganize JS code into proper folders. Following folders will be added/maintained
    • locales: all translation JS files will be located here
    • themes: all theme JS files will be located here
    • plugins: third party JS plugins that will be used to work with bootstrap-fileinput
  • (enh #641): Wrap readFile(index + 1) in a function to prevent 'unsafe-eval' blocking with CSP.
  • (enh #640): Ability to theme and provide font awesome theme. New property theme added.
  • (enh #639): Add ability to just require package in nodejs
  • (enh #636): File action enhancements.
    • Zoom and Drag buttons will be shown as an additional file action buttons in addition to upload and remove
    • New boolean properties showZoom, showDrag, showRemove, showUpload are now added to fileActionSettings to control display of these buttons
    • New properties zoomIcon, zoomClass, zoomTitle are available within fileActionSettings for controlling the zoom button styles and display.
    • New properties dragIcon, dragClass, dragTitle are available within fileActionSettings for controlling the drag indicator styles and display.
    • New properties actionZoom and actionDrag are available within layoutTemplates to configure the markup of the zoom and drag buttons.
  • (enh #635): Various preview enhancements. Previews will be revamped with various functionality:
    • Add ability to zoom every thumbnail to a modal preview. So all types of files (images, videos, pdf, text etc) can be previewed in a larger zoom dialog window.
    • Automatic slideshow like interface for zoom preview modal. One can navigate left or right to view previous or next content in the preview. In addition to button navigation, keyboard navigation (via left/right arrow keys) is also available.
    • Borderless maximized mode and Full Screen mode available for preview.
    • Auto disable the previous or next button when the first or last file/image is reached.
    • Now initialPreview can be setup MORE easier without writing or returning entire markup. Thus the new functionality will enable to use built in previewTemplates.
    • A new boolean property initialPreviewAsData is available to control the above. If set to true, it will allow developers to now pass just the data within initialPreview (instead of complete markup) and the markup will be auto generated using previewTemplates.
    • New property initialPreviewFileType to set the default file type for initial preview. Defaults to image. Must be on of the keys in fileTypeSettings.
    • All the other settings can be controlled via initialPreviewConfig. The new properties available within initialPreviewConfig are:
      • type: Override initialPreviewFileType at global level and set a separate type for each file in the initial preview.
      • previewAsData: boolean property to override the initialPreviewAsData setting at global level
    • New zoom preview control buttons:
      • prev
      • next
      • fullscreen
      • borderless
      • toggleheader
      • close
    • The other new settings to control zoomed preview:
      • previewZoomSettings: Will allow to set the CSS style (e.g. width, height and other CSS style settings) for each zoomed content type (i.e. image, pdf, video etc.).
      • previewZoomButtonIcons: Ability to set the labels for previous, next, fullscreen, borderless, and close buttons.
      • previewZoomButtonTitles: Ability to set the titles for previous, next, fullscreen, borderless, and close buttons.
      • previewZoomButtonClasses: Ability to set the CSS classes for previous, next, fullscreen, borderless, and close buttons.
    • Modifications to all language locales JS for accomodating new translations
  • (enh #634): Enhance ability for PDF and HTML preview.
    • Enhanced PDF support as PDF embedding is now possible for initialPreview. In addition a new template for PDF is available within previewTemplates.
    • HTML Preview is enhanced with a better template. The plugin also now includes support for DOMPurify plugin (and available in plugins folder). This processes and cleans the HTML from XSS before previewing. This behavior can be controlled via purifyHtml property that defaults to true.
  • (enh #633): New property maxFilePreviewSize to control preview of large size files.
  • (enh #632): Find correct filename in IE9.
  • (enh #618): Update German Translations.
  • (enh #615): Correct Finnish Localizations.
  • (enh #605): Fixed previewCache tags reset.
  • (enh #604): Fixed unset method in deleting previewCache index.
  • (enh #600): Synchronize latest package on NuGet.
  • (bug #595): Correct initialization of allowedPreviewTypes.

Don't miss a new bootstrap-fileinput release

NewReleases is sending notifications on new releases.