Details

      Description

      As a user I want to be able to upload a folder via my browser so that I don't have to create folder hierarchies manually in Share and upload files into each sub-folder manually.

      Acceptance Criteria

      1. Given that I have selected a folder or folders and dragged them over to my browser application window I can drop them:
        • into the current location in the application
        • into a specific folder I that my mouse is pointing to
      2. Given that I have released the files into the browser then the standard upload dialog is displayed with the progress being displayed of each file
      3. Given that the folder dropped contains a sub-folder or many sub-folders the sub-folder hierarchy is recreated with all the files in their correct locations
      4. Given that a folder or sub-folder does not contain anything it is still created.
      5. Given that the user is not using Google Chrome they can not drag and drop a folder
      6. Given that the user drag and drops the same folder twice the folder structure remains the same and the files are uploaded again with the usual suffix
      7. Given the folder contains a hidden system file then the file is not uploaded.
        • Thumbs.DB (windows)
        • .DS_Store (mac)
      8. Given that the file (or files) within the folders contain XMP data then the data is extracted into the metadata properties in Alfresco.

        Attachments

          Issue Links

            Activity

            Hide
            kroast Kevin Roast added a comment -

            Suggest the V0 API is used to ensure this could be back-ported if needed.

            Show
            kroast Kevin Roast added a comment - Suggest the V0 API is used to ensure this could be back-ported if needed.
            Hide
            rmeske Ronald Meske added a comment -

            Hello,

            I have a question about a feature that seems to be missing from the drag & drop functionality. When dragging and dropping a file that already exists, why is there not an option to upload as a new version instead of it being renamed as a new file?

            A use case where this would be beneficial, someone needing to download several documents to work offline, like during a flight, and then uploading them once they are back online. To select Upload as a new version for each document one at a time can be time consuming, especially when a several files may be involved and you have to wait for each file to finish uploading before starting the next..

            This may need to be addressed separately but I do not know the history behind the decision to automatically rename a document if a document with the same name already exists.

            Show
            rmeske Ronald Meske added a comment - Hello, I have a question about a feature that seems to be missing from the drag & drop functionality. When dragging and dropping a file that already exists, why is there not an option to upload as a new version instead of it being renamed as a new file? A use case where this would be beneficial, someone needing to download several documents to work offline, like during a flight, and then uploading them once they are back online. To select Upload as a new version for each document one at a time can be time consuming, especially when a several files may be involved and you have to wait for each file to finish uploading before starting the next.. This may need to be addressed separately but I do not know the history behind the decision to automatically rename a document if a document with the same name already exists.
            Hide
            kroast Kevin Roast added a comment -

            That is a fair question. The functionality of upload generally (folder or otherwise) duplicates what most operating systems do - which is to "Copy of..." or "-1" rename things. But it would actually be very useful to do what you suggest, perhaps to prompt the user on what they would like done with duplicates ("Create new version", "Overwrite", "Rename as duplicate") as again some operating systems do when they detect this happening.

            Show
            kroast Kevin Roast added a comment - That is a fair question. The functionality of upload generally (folder or otherwise) duplicates what most operating systems do - which is to "Copy of..." or "-1" rename things. But it would actually be very useful to do what you suggest, perhaps to prompt the user on what they would like done with duplicates ("Create new version", "Overwrite", "Rename as duplicate") as again some operating systems do when they detect this happening.
            Hide
            jknowles John Knowles added a comment -

            See SHA-1728 for that specific enhancement; we've not fleshed out the details yet.

            Show
            jknowles John Knowles added a comment - See SHA-1728 for that specific enhancement; we've not fleshed out the details yet.
            Hide
            rmeske Ronald Meske added a comment - - edited

            @John, thank you. I have added a comment to that enhancement.

            Show
            rmeske Ronald Meske added a comment - - edited @John, thank you. I have added a comment to that enhancement.
            Hide
            rmeske Ronald Meske added a comment -

            @John,

            In reviewing your specifications as you update, I have one suggestion. I know this enhancement is titled "Drag and Drop to upload a folder" could this same functionality be added to the "Upload" button action?

            I have seen this type of functionality implemented in other applications as an option in the upload dialog box with two buttons; select files and select folder. I'm not sure if that is needed, but my guess is that it was implemented because IE did not allow uploading folders even through browsing.

            Show
            rmeske Ronald Meske added a comment - @John, In reviewing your specifications as you update, I have one suggestion. I know this enhancement is titled "Drag and Drop to upload a folder" could this same functionality be added to the "Upload" button action? I have seen this type of functionality implemented in other applications as an option in the upload dialog box with two buttons; select files and select folder. I'm not sure if that is needed, but my guess is that it was implemented because IE did not allow uploading folders even through browsing.
            Hide
            jknowles John Knowles added a comment -

            Thank you Ronald Meske - initially we may just opt for Drag and Drop, and decide to add a new action button in the future.

            Show
            jknowles John Knowles added a comment - Thank you Ronald Meske - initially we may just opt for Drag and Drop, and decide to add a new action button in the future.
            Hide
            kroast Kevin Roast added a comment -

            Symbolic Link i.e. shortcut on the filesystem. The FileSystem API has no knowledge of OS specific objects like that.

            Show
            kroast Kevin Roast added a comment - Symbolic Link i.e. shortcut on the filesystem. The FileSystem API has no knowledge of OS specific objects like that.

              People

              • Assignee:
                Unassigned
                Reporter:
                jknowles John Knowles
              • Votes:
                3 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: