Opened 13 months ago

Closed 11 months ago

Last modified 11 months ago

#2258 closed task (fixed)

Drag and drop file upload

Reported by: Nicklas Nordborg Owned by: everyone
Priority: major Milestone: BASE 3.19
Component: web Version:
Keywords: Cc:

Description

It would be nice if drag and drop could be implemented in the BASE file manager for easier file uploading. It should work in all major browsers today. It might even be possible to work with subfolders.

Change History (12)

comment:1 Changed 12 months ago by Nicklas Nordborg

In 7983:

References #2258: Drag and drop file upload

Started to implemented drag-and-drop in the file manager. It will accept files that are dragged to either the directory tree or to the table listing. When dropped, a popup window is opened, but the actual file upload is not yet implemented.

comment:2 Changed 12 months ago by Nicklas Nordborg

In 7984:

References #2258: Drag and drop file upload

Started to implemented drag-and-drop in the file manager. It will accept files that are dragged to either the directory tree or to the table listing. When dropped, a popup window is opened, but the actual file upload is not yet implemented.

comment:3 Changed 12 months ago by Nicklas Nordborg

In 7985:

References #2258: Drag and drop file upload

Changed the regular file upload to use AJAX instead of a regular form POST. Upload results is returned in a JSON object instead of a page redirect (or an error handling page).

comment:4 Changed 12 months ago by Nicklas Nordborg

In 7987:

References #2258: Drag and drop file upload

Implemented the drag-drop upload functionality. The upload will currently start immediately and upload each file in a separate request/transaction.

comment:5 Changed 12 months ago by Nicklas Nordborg

In 7988:

References #2258: Drag and drop file upload

Added support for dropping folders and upload all files in a recursive manner.

comment:6 Changed 12 months ago by Nicklas Nordborg

In 7989:

References #2258: Drag and drop file upload

Dropping files in the directory tree didn't work since it didn't had a FileManager.getFilesToUpload() method.

comment:7 Changed 12 months ago by Nicklas Nordborg

In 7990:

References #2258: Drag and drop file upload

Displaying a dialog with options if existing files should be overwritten or not. The default option is to overwrite only if a file has changed and skip uploading it otherwise.

comment:8 Changed 12 months ago by Nicklas Nordborg

In 7991:

References #2019 and #2258.

Fixes issues with aborting and progress reporting when lots of already existing files are skipped. This means that there is no actual upload going on so we can simply abort from the client side.

comment:9 Changed 12 months ago by Nicklas Nordborg

In 7992:

References #2258: Drag and drop file upload

Progress reporting should be a bit more stable when uploading lots of small files if we also use the number of files transferred

comment:10 Changed 11 months ago by Nicklas Nordborg

Resolution: fixed
Status: newclosed

comment:11 Changed 11 months ago by Nicklas Nordborg

In 8008:

References #2258: Drag and drop file upload

Added option to unpack compressed files automatically.

comment:12 Changed 11 months ago by Nicklas Nordborg

In 8009:

References #2258: Drag and drop file upload

Ignoring hidden files and folders (name is starting with a '.') unless the hidden item has been explicitely selected as a top-level file or folder.

Note: See TracTickets for help on using tickets.