Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-33671

Add ability to bulk delete files in "My private files" repository

    XMLWordPrintable

Details

    • MOODLE_23_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • MDL-33671-master-3
    • Hide

      Behat and unit tests provided

      Test with boost and clean.

      Prerequistes: 

      1. Login as any user. 
      2. Go to 'Private files'
      3. Upload any file, name it "F1"
      4. Upload any file, name it "F2"
      5. Upload any file, name it "F3"
      6. Create a folder "Folder1"
      7. In "Folder1", upload any file, name it "F4"
      8. Save Changes

      Testing:

      1. Individual delete
        1. Login as user from above
        2. Go to 'Private files'
        3. Select "Display folder with details" (middle icon on the right)
        4. Confirm table of files with checkboxes in the first cell for each row
        5. Enable F1's checkbox
        6. Click on 'Delete selected' button (identified with a bin icon)
        7. Confirm F1 is removed from table
        8. Save changes
        9. Confirm F1 is still not shown 
      2. Multiple delete
        1. Login as user from above
        2. Go to 'Private files'
        3. Select "Display folder with details" 
        4. Confirm table of files with checkboxes in the first cell for each row
        5. Enable F2's checkbox
        6. Enable F3's checkbox
        7. Enable Folder1's checkbox
        8. Click on 'Delete selected' button (identified with a bin icon)
        9. Confirm Folder 1, F2 and F3 are removed from table
        10. Save changes
        11. Confirm Folder 1, F2 and F3 are still not shown 
      Show
      Behat and unit tests provided Test with boost and clean. Prerequistes:  Login as any user.  Go to 'Private files' Upload any file, name it "F1" Upload any file, name it "F2" Upload any file, name it "F3" Create a folder "Folder1" In "Folder1", upload any file, name it "F4" Save Changes Testing: Individual delete Login as user from above Go to 'Private files' Select "Display folder with details" (middle icon on the right) Confirm table of files with checkboxes in the first cell for each row Enable F1's checkbox Click on 'Delete selected' button (identified with a bin icon) Confirm F1 is removed from table Save changes Confirm F1 is still not shown  Multiple delete Login as user from above Go to 'Private files' Select "Display folder with details"  Confirm table of files with checkboxes in the first cell for each row Enable F2's checkbox Enable F3's checkbox Enable Folder1's checkbox Click on 'Delete selected' button (identified with a bin icon) Confirm Folder 1, F2 and F3 are removed from table Save changes Confirm Folder 1, F2 and F3 are still not shown 
    • 3
    • Activity Sprint 7, Activity Sprint 8

    Description

      Need a bulk delete files in "My private files" repository
      See this discussion: http://moodle.org/mod/forum/discuss.php?d=204310

      Attachments

        1. select-on-file-picker.png
          select-on-file-picker.png
          54 kB
        2. 4.png
          4.png
          66 kB
        3. 3.png
          3.png
          91 kB
        4. 2.png
          2.png
          81 kB
        5. 1.png
          1.png
          106 kB

        Issue Links

          Activity

            People

              peterdias Peter Dias
              rezeau Joseph Rézeau
              Simey Lameze Simey Lameze
              Andrew Lyons Andrew Lyons
              Janelle Barcega Janelle Barcega
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              61 Vote for this issue
              Watchers:
              43 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/Jun/20

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 3 hours, 32 minutes
                  2d 3h 32m