Details

    • Type: Task
    • Status: Done
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: None
    • Labels:
      None

      Description

      Overview
      If you delete an activity or resource in error there is no way for a course editor to undo / recover the item. Currently the only way to recover items is from either course or database backups. Even then restoring grades back into a live course from a restored (outdated) copy is not always possible.

      Links to existing tracker issues, forum discussions, contrib plugins
      https://moodle.org/plugins/local_recyclebin

      https://tracker.moodle.org/browse/MDL-48012

      Specification

      • User clicks "delete" on an activity or resource
      • Moodle uses the activity/resource backup feature to do a backup of the activity, and store it on the moodle file server
      • This tool then via an administrative interface allows the user to manage the list of recycled items.
      • The user can restore something from the recycle bin, or delete it permanently.
      • There are administrative settings to change for example the amount of time that files are stored on the server before they are automatically deleted.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              marcusgreen Marcus Green added a comment -

              I think integrating the recycle bin into core seems an excellent idea. However I see a very easy win with less work of integrating the 3 line hack described in the plugin
              https://moodle.org/plugins/local_recyclebin
              Into core and then it is easier for people to install and use the recycle bin plugin. That should get a larger user base and so get more feedback for it.

              Show
              marcusgreen Marcus Green added a comment - I think integrating the recycle bin into core seems an excellent idea. However I see a very easy win with less work of integrating the 3 line hack described in the plugin https://moodle.org/plugins/local_recyclebin Into core and then it is easier for people to install and use the recycle bin plugin. That should get a larger user base and so get more feedback for it.
              Hide
              shannonej Shannon Johnston added a comment -

              Thank you Early Member group of the Moodle Users Association for this very first project for Moodle core.

              We have scheduled this for our development team who will commence work in the next sprint cycle commencing 22 February. We estimate that it will take one sprint (3 weeks) to complete development.

              Progress update will be provided at the end of the sprint.

              Show
              shannonej Shannon Johnston added a comment - Thank you Early Member group of the Moodle Users Association for this very first project for Moodle core. We have scheduled this for our development team who will commence work in the next sprint cycle commencing 22 February. We estimate that it will take one sprint (3 weeks) to complete development. Progress update will be provided at the end of the sprint.
              Hide
              marcusgreen Marcus Green added a comment -

              I think it would be good if there were a setting to determine who/what role would be able to see and use the recycle bin. For example some installations might only want the site admin to be able to perform restores of deleted material.

              Show
              marcusgreen Marcus Green added a comment - I think it would be good if there were a setting to determine who/what role would be able to see and use the recycle bin. For example some installations might only want the site admin to be able to perform restores of deleted material.
              Hide
              worfds91 Joshua Bragg added a comment -

              Until MDL-41924 is fixed, I would imagine this would cause massive performance issues for people (like me) who have thousands of questions in their question bank since it depends on backup and restore to do the heavy lifting. I don't have a solution, just pointing out a potentially large problem for some users.

              Show
              worfds91 Joshua Bragg added a comment - Until MDL-41924 is fixed, I would imagine this would cause massive performance issues for people (like me) who have thousands of questions in their question bank since it depends on backup and restore to do the heavy lifting. I don't have a solution, just pointing out a potentially large problem for some users.
              Hide
              marcusgreen Marcus Green added a comment -

              As most questions are purely text I'm not so sure this would be a significant performance issue.

              Show
              marcusgreen Marcus Green added a comment - As most questions are purely text I'm not so sure this would be a significant performance issue.
              Hide
              damyon Damyon Wiese added a comment -

              Just commenting here that MDL-48012 was integrated - so this work is now complete and recycle bin will be a part of Moodle 3.1. Thanks to Skylar Kelty this is a very useful plugin. You can see it already on http://qa.moodle.net/

              Show
              damyon Damyon Wiese added a comment - Just commenting here that MDL-48012 was integrated - so this work is now complete and recycle bin will be a part of Moodle 3.1. Thanks to Skylar Kelty this is a very useful plugin. You can see it already on http://qa.moodle.net/

                People

                • Assignee:
                  shannonej Shannon Johnston
                  Reporter:
                  moerderin Nick Thompson
                • Votes:
                  8 Vote for this issue
                  Watchers:
                  16 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: