moodle/local/qeupgradehelper
2011-05-27 19:44:53 +01:00
..
lang/en MDL-20636 Implement the ability to only upgrade some of the quiz attempts during the main upgrade. 2011-05-27 19:44:53 +01:00
afterupgradelib.php MDL-20636 make upgradehelper able to reset badly upgraded attempts 2011-05-19 20:27:12 +01:00
convertquiz.php MDL-20636 Cleanup in the upgradehelper plugin. 2011-05-11 15:32:20 +01:00
cronsetup.php MDL-20636 Cleanup in the upgradehelper plugin. 2011-05-11 15:32:20 +01:00
extracttestcase.php MDL-20636 Make extracttestcase.php work after the upgrade too. 2011-05-13 11:42:37 +01:00
extracttestcase_form.php MDL-20636 Make extracttestcase work. 2011-05-13 11:34:18 +01:00
index.php MDL-20636 remove the pretendupgrade script that does not work. 2011-05-27 18:10:15 +01:00
listpreupgrade.php MDL-20636 Implement the ability to only upgrade some of the quiz attempts during the main upgrade. 2011-05-27 19:44:53 +01:00
listtodo.php MDL-20636 Refactor the various list pages a bit. 2011-05-11 15:32:24 +01:00
listupgraded.php MDL-20636 Refactor the various list pages a bit. 2011-05-11 15:32:24 +01:00
locallib.php MDL-20636 Implement the ability to only upgrade some of the quiz attempts during the main upgrade. 2011-05-27 19:44:53 +01:00
partialupgrade-example.php MDL-20636 Implement the ability to only upgrade some of the quiz attempts during the main upgrade. 2011-05-27 19:44:53 +01:00
README.txt MDL-27408 fix a few minor bugs with the upgrade from 2.0. 2011-05-12 21:03:24 +01:00
renderer.php MDL-20636 Implement the ability to only upgrade some of the quiz attempts during the main upgrade. 2011-05-27 19:44:53 +01:00
resetquiz.php MDL-20636 QE upgrade helper: Make resetting quiz attempts work. 2011-05-13 16:46:47 +01:00
settings.php MDL-20636 Implement lots of the post-upgrade functionality for the upgrade helper plugin. 2011-05-11 15:32:18 +01:00
styles.css
version.php

This plugin can help upgrade site with a large number of question attempts from
Moodle 2.0 to 2.1.

With a lot of question attempts, doing the whole conversion on upgrade is very
slow. The plugin can help with that in various ways.


To install using git, type this command in the root of your Moodle install
    git clone git://github.com/timhunt/moodle-local_qeupgradehelper.git local/qeupgradehelper
Then add /local/qeupgradehelper to your git ignore.

Alternatively, download the zip from
    https://github.com/timhunt/moodle-local_qeupgradehelper/zipball/master
unzip it into the local folder, and then rename the new folder to qeupgradehelper.


When installed in a Moodle 2.0 site:

1. It provies a report of how much data there is to upgrade.

2. It can extract test-cases from the database. This can help you report bugs
in the upgrade process to the developers.

3. This plugin can also do a dry-run of the upgrade. (It loads the old data from
the database, transform it to the new form, but not write the transformed data
to the database.)


If this plugin is present during upgrade:

4. then only a subset of attempts are upgraded. (You can edit a function in
this plugin to control which attempts are upgraded immediately.)


If this plugin is present in a Moodle 2.0 site after upgrade:


5. If not all attempts have been upgraded in a 2.1 site, then this plugin
displays a list of how many quizzes still need to be upgraded

6. ... and can be used to complete the upgrade manually ...

7. or this plugin has a cron script that can be used to finish the upgrade
automatically after the main upgrade has finished.


(Note that none of the above acutally works yet. It is just a statement of
intent. Lots of the code here is a partial implementation of the concepts.)