Moodle
  1. Moodle
  2. MDL-36121

Deleting mass (bunch, several) of files when editing folder

    Details

    • Type: Improvement Improvement
    • Status: Development in progress
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.8, 2.2.5, 2.3.2, 2.4.1, 2.5
    • Fix Version/s: FRONTEND
    • Component/s: Filepicker, Files API
    • Labels:
    • Rank:
      44890

      Description

      In moodle 2 When getting to edit folder (folder recourse)
      I get a GUI where I can delete files one by one,add files and so on.
      But I can't delete mass of files.
      It's really not logical to delete one by one when I have many (several) files. this such simple thing that was available in moodle 1.9 is no longer exist here.
      This can be really useful for managing folders and files.

      Hope there could be a possibility like that
      Thank you

        Issue Links

          Activity

          Hide
          David Mudrak added a comment -

          Please note we will need this option not only in the Folder resource but at other places, too. Most notably course backups area.

          Show
          David Mudrak added a comment - Please note we will need this option not only in the Folder resource but at other places, too. Most notably course backups area.
          Hide
          miki Alliel added a comment -

          Sure David I confirm this should be implement in all places in Moodle 2 where the file manager exist. as in the image attached here. Thanks

          Show
          miki Alliel added a comment - Sure David I confirm this should be implement in all places in Moodle 2 where the file manager exist. as in the image attached here. Thanks
          Hide
          Marina Glancy added a comment -

          This issue was assigned to me automatically, however I will not be able to work on this issue in the immediate future. In order to create a truer sense of the state of this issue and to allow other developers to have chance to become involved, I am removing myself as the assignee of this issue.

          For more information, see http://docs.moodle.org/dev/Changes_to_issue_assignment

          Show
          Marina Glancy added a comment - This issue was assigned to me automatically, however I will not be able to work on this issue in the immediate future. In order to create a truer sense of the state of this issue and to allow other developers to have chance to become involved, I am removing myself as the assignee of this issue. For more information, see http://docs.moodle.org/dev/Changes_to_issue_assignment
          Hide
          Derek Chirnside added a comment -

          @David. Point taken. But there are two other sides to this
          1) there will generally not be as many files in a backup area. (And I guess less often used)
          2) the delete files in a folder is a grass-roots user thing and will benefit many teachers.
          But I take your point.

          How hard will this be to do? Is it just a matter of setting up a pre-defined function of some kind to provide this functionality?
          -Derek

          Show
          Derek Chirnside added a comment - @David. Point taken. But there are two other sides to this 1) there will generally not be as many files in a backup area. (And I guess less often used) 2) the delete files in a folder is a grass-roots user thing and will benefit many teachers. But I take your point. How hard will this be to do? Is it just a matter of setting up a pre-defined function of some kind to provide this functionality? -Derek
          Hide
          Jason Neiffer added a comment -

          This seems like critical basic functionality for anyone that managed a lot of files in Moodle. Any progress on this?

          Show
          Jason Neiffer added a comment - This seems like critical basic functionality for anyone that managed a lot of files in Moodle. Any progress on this?
          Hide
          Derek Chirnside added a comment -

          David: any comment on my question? Like is this a hard thing to do?

          -Derek

          Show
          Derek Chirnside added a comment - David: any comment on my question? Like is this a hard thing to do? -Derek
          Hide
          David Mudrak added a comment -

          there will generally not be as many files in a backup area

          It depends. IIRC, I met a use case where scheduled backups were stored in one area and the admin needed to prune it. She found a way for that (via scheduled backup setting) but still. The point is, this must be implemented natively into the filemanager, not into the Folder module exclusively.

          WRT how hard this would be to do. Honestly, I have no idea. This is pure FRONTEND issue and we have a FRONTEND team who work on issues like this. They have their own methodology on picking issues into their development sprints and I can't do much more than just vote for this issue, hoping that Michael de Raadt would consider including this in some near future development cycle.

          Show
          David Mudrak added a comment - there will generally not be as many files in a backup area It depends. IIRC, I met a use case where scheduled backups were stored in one area and the admin needed to prune it. She found a way for that (via scheduled backup setting) but still. The point is, this must be implemented natively into the filemanager, not into the Folder module exclusively. WRT how hard this would be to do. Honestly, I have no idea. This is pure FRONTEND issue and we have a FRONTEND team who work on issues like this. They have their own methodology on picking issues into their development sprints and I can't do much more than just vote for this issue, hoping that Michael de Raadt would consider including this in some near future development cycle.
          Hide
          Derek Chirnside added a comment -

          Thank you David for the response. I'm just at that time of year when I am cleaning up a LOT of files and I was curious where this was at.

          But I'm curious. I wonder what "Their own methodology on picking issues" is? (Don't respond to this, I'm just musing!!)

          -Derek

          Show
          Derek Chirnside added a comment - Thank you David for the response. I'm just at that time of year when I am cleaning up a LOT of files and I was curious where this was at. But I'm curious. I wonder what "Their own methodology on picking issues" is? (Don't respond to this, I'm just musing!!) -Derek
          Hide
          Michael de Raadt added a comment -

          Thanks to the people commenting on this issue so far. It does sound like a useful change.

          I'd like to invite any one who wants to work on this issue to do so. I don't suggest waiting for the FRONTEND team at HQ to work on this if you want it urgently.

          There are quite a few voters on this issue, but it is not even in the 100 by votes at this stage.

          Show
          Michael de Raadt added a comment - Thanks to the people commenting on this issue so far. It does sound like a useful change. I'd like to invite any one who wants to work on this issue to do so. I don't suggest waiting for the FRONTEND team at HQ to work on this if you want it urgently. There are quite a few voters on this issue, but it is not even in the 100 by votes at this stage.
          Hide
          Marina Glancy added a comment - - edited
          Show
          Marina Glancy added a comment - - edited Michael, I'm working on some solution for this https://github.com/marinaglancy/moodle/compare/master...w27-MDL-36121-mass-files-actions
          Hide
          Derek Chirnside added a comment -

          Go for it Marina. If this kicks in in the next month it will actually benefit 1000's of Moodle sites that do rollovers and training at the start of the calendar year.
          I wonder is this '100' figure that Michael mentions some threshold to aim for in the tracker? I can get 500 likes for Facebook for $3, or $10 if they are really high quality likes. Can we buy votes in the tracker as well??

          -Derek

          Show
          Derek Chirnside added a comment - Go for it Marina. If this kicks in in the next month it will actually benefit 1000's of Moodle sites that do rollovers and training at the start of the calendar year. I wonder is this '100' figure that Michael mentions some threshold to aim for in the tracker? I can get 500 likes for Facebook for $3, or $10 if they are really high quality likes. Can we buy votes in the tracker as well?? -Derek

            People

            • Votes:
              30 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

              • Created:
                Updated: