All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Upgrade @kloudless/file-picker-plupload-module to 1.0.2 to fix the multipart upload problem.
- Upgrade @kloudless/file-picker-plupload-module to 1.0.1.
accountId
was not correctly passed to thedeleteAccount
event handler.
- Display the loading view instead of the Manage Accounts view before File Picker completes initialization.
- Upper case file extensions are not correctly detected.
- Ordering doesn't work on search results.
- Keep sorting rule individually for each connected account.
- Chooser: Introduced the new option,
max_size
, to limit the size of the selected file. - The new option,
close_on_success
, controls whether to close the File Picker when all the selections in the Chooser, or files in the Computer and Saver, are processed successfully.
- Include folder selections in the
selected
event. - Improved handling of the
persist
option. Please refer to thepersist
option in the Chooser Options for details. - The File Picker's Computer View won't fire a
success
event on cancellation or if no items succeed, which was previously the case. - Options to close the File Picker are now hidden if the File Picker is launched
with the
element
option that attaches it to a DOM element. - Failed local uploads can now be removed from the list of uploads to be retried.
- Improved state management for uploads from the local machine.
- The sorting rule will be kept and applied after new items are loaded.
- Some IE11 issues.
- VueJS Dropzone component: fix
TypeError: Cannot read property 'postMessage' of null
error on destroy.
- File Picker won't be closed when there is any error during selecting, uploading, saving, or copying files and folders.
delete_accounts_on_logout
isn't respected when removing only one account.- Dropzone is not clickable or not able to process dropped files on some browsers.
- File Picker closes unexpectedly when double clicking on table header or new folder row.
- Script error when calling destroy()
custom_style_vars
: Added a new LESS styling variable,loading_overlay_color
, that controls the shade of the overlay present when loading responses to API requests.- The new option,
element
, enables appending the File Picker to a DOM element on the page rather than displaying it as a modal.
- Preload icon URLs.
custom_style_vars
: Theinput_border_color
andinput_color
LESS variables are now applied to input elements.elementId
in Dropzone options is deprecated. Please useelement
instead.
- Minor bugfixes to the CSS styling.
- Only display services that support listing folders and files.
- Refresh the current folder view after the Saver uploads a file to it.
- Add copy button to error dialog.
- Make the texts in error dialog selectable.
- Fire an error event if an upload via the Saver fails.
- A regression in 2.3.2 causes the file picker to sometimes return async-type
Task objects even if
copy_to_upload_location: sync
is specified.
- Chooser: Partially successful selections should still fire the
success
event for those files/folders, and theerror
event for the remainder. - The
copy_to_upload_location: "async"
configuration now includes the bearer token, and Account ID in responses to enable checking the Task API easily.
- Double-clicking on a file selects it
- Support MIME type filtering.
- Support dynamically updating root_folder_id.
- Add warning when disconnecting an account.
- Refresh the filesystem state when switching between the Chooser and Saver.
- The modal closes unexpectedly when there are less than 6 files uploaded in the
Computer view and the upload fails, even though
uploads_pause_on_fail
is set totrue
. - Emit the
success
event for successfully uploaded files if users cancel the upload mid-way through uploading a set of files in the Computer view. - Improve UI when the
multiselect
option is configured tofalse
.
- Improve UI when loading the next page of files.
- Forbid non-downloadable files from being selected if
copy_to_upload_location
is configured orlink_options.direct
istrue
.
- Ensure that consecutive duplicate error messages appear if necessary.
- Ensure to get the next page when scrolling to the near bottom.
- Grayed out non-matching file types instead of filtering them out.
- Improve folder selection.
- Fix sammy router 404 errors.
- keep showing loading spinner until confirm process is done
- new configuration option
root_folder_id
- The action button in the file view was missing for the dropzone.
- Removed
@breaking_point
and@modal_width
from variables.less.
- Checking if services exist before accessing them.
- A completely new theme for the UI with following improvements:
- improved responsiveness
- clearer HTML and CSS structure and consistent naming conventions.
The new
custom_style_vars
option allows customizing specific documented aspects of the UI such as colors and fonts without forking the entire project. Thecustom_css
option is now deprecated. Please refer to the migration guide for details.
- The project has been renamed to the "File Picker". Please see the migration guide for details on updated method, variable, and configuration names.
- The import paths for
setGlobalOptions
andgetGlobalOptions
for the React and Vue wrapper modules have changed. Please see the migration guide for details.
- Fix babel.config.js JSON.parse() error.
- Add TS definition file.