More saves and response "undo"

More saves and response "undo"

by Darren Cocco -
Number of replies: 0

I have been working on some functionality and a new feature for questions and quizzes.

The first piece causes standard auto-saves to be converted to a full save(gets retained in the history of the question attempt) after a administrator configured time period has elapsed since the last full save.

The second piece then allows compatible questions with compatible behaviours to be "undone" to previous saves. This piece of functionality was internally dubbed the "Oh shit!" button, short for "Oh shit I accidentally deleted 45 minutes worth of work on an essay question and pressed next resulting in me losing all my work!"

I don't think the functionality is complete(Need to log events when a save is converted and when question responses are "undone") but it should be stable. The tracker for it is https://tracker.moodle.org/browse/MDL-56317 and I am working on the master branch and the 3.1 stable branch(what we use at my employer).



Average of ratings: -