MDL-32895: Improvements to assignment upgrade tool for large numbers of assignments.

* Form to control the perpage variable for the upgradable assignments table.
    * Set timeout and increase memory limit for batch upgrades
    * Output/renderer pages to the upgrade progress is progressively displayed
    * Cleanup of relative includes in assignmentupgrade tool
    * More verbose errors reported for failed upgrades
This commit is contained in:
Damyon Wiese 2012-05-10 11:54:46 +08:00
parent 71d7bc34a8
commit 5b12114476
13 changed files with 168 additions and 116 deletions

View file

@ -34,8 +34,8 @@
*/
require_once(dirname(__FILE__) . '/../../../config.php');
require_once(dirname(__FILE__) . '/locallib.php');
require_once($CFG->libdir . '/adminlib.php');
require_once($CFG->dirroot . '/admin/tool/assignmentupgrade/locallib.php');
// admin_externalpage_setup calls require_login and checks moodle/site:config
admin_externalpage_setup('assignmentupgrade');
@ -47,4 +47,4 @@ $actions = array();
$header = get_string('pluginname', 'tool_assignmentupgrade');
$actions[] = tool_assignmentupgrade_action::make('listnotupgraded');
echo $renderer->index_page($header, $actions);
echo $renderer->index_page($header, $actions);