tjhunt [Mon, 12 May 2008 17:29:56 +0000 (17:29 +0000)]
MDL-14804 - question_list_instances is broken - It does not include the each modules lib file before doing function_exists($module->name.'_question_list_instances').
tjhunt [Mon, 12 May 2008 15:28:34 +0000 (15:28 +0000)]
New convinience function in accesslib: get_parent_contextid. Also, the start of some unit tests for accesslib, but only this trivial funciton, and the get_parent_contexts function it is based on. Still, it is a start.
skodak [Mon, 12 May 2008 14:05:46 +0000 (14:05 +0000)]
MDL-14183 guest type role not allowed in defaultuserroleid anymore, because it was causing trouble in many places; admins must choose another role if guest role detected in this setting; merged from MOODLE_19_STABLE
tjhunt [Fri, 9 May 2008 15:50:44 +0000 (15:50 +0000)]
Following the fixes for MDL-14750 and MDL-10899, do a database upgrade that fixes any bogus values in the parent or category columns of multianswer questions' subquestions.
tjhunt [Fri, 9 May 2008 15:10:39 +0000 (15:10 +0000)]
MDL-14750 - Multianswer questions get broken by backup and restore becuase question->parent is not recoded properly in the database. This commit also fixes a regression introduced by the fix for MDL-5482.
tjhunt [Fri, 9 May 2008 15:05:36 +0000 (15:05 +0000)]
MDL-10899 - There is some data associated with some questons that needs to be udpated when moving questions between categories. This commit deals with subquestions, and lays the foundation for fixing the other problem - datasets - which is files as bug 14767.
jamiesensei [Fri, 9 May 2008 13:59:36 +0000 (13:59 +0000)]
MDL-14223 "Add a column for the user's idnumber, controllable by a site-wide setting" and MDL-14224 "Add a site-wide setting to hide the user profile image from quiz reports"
The quiz overview report now respect the settings for the gradebook - whether to display idnumbers and user pictures.
Also re-factored the code to build table / download content a little to reduce code duplication.
jamiesensei [Fri, 9 May 2008 06:12:57 +0000 (06:12 +0000)]
MDL-14637 "allow activity modules to add sub menus of settings pages to admin menu" and MDL-14565 "allow quiz reports to add configuration settings to the admin tree" added a mechanism to admin/settings/plugins.php to allow modules to include a file settingstree.php instead of settings.php which will allow for more flexibility of what a module can add to the admin settings menu.
Merged from 1.9
Added a comment to the if branch that includes config.html that this branch needs to be deleted as soon as quiz/config.html has been migrated to settingstree.php which is MDL-7010
jamiesensei [Thu, 8 May 2008 10:11:06 +0000 (10:11 +0000)]
For the overview report : MDL-14199 "Option to only show / export final grade" small improvement to UI. Include highlighted message in the form about what the current grading method is. Some changes to lang strings for overview report settings form to indicate that options affect downloaded data as well as data shown on the screen.
jamiesensei [Thu, 8 May 2008 09:53:31 +0000 (09:53 +0000)]
For the overview report : MDL-14199 "Option to only show / export final grade" small improvement to UI. Include highlighted message in the form about what the current grading method is.
jamiesensei [Thu, 8 May 2008 09:35:08 +0000 (09:35 +0000)]
MDL-14198 "Make it clear which student attempt gives the final grade, if the scoring method is first, last or highest score" adding a message about the highlighting above the table.
jamiesensei [Wed, 7 May 2008 16:00:56 +0000 (16:00 +0000)]
MDL-14734 "improve interface for deleting attempts"
* The control for deleting attempts is a drop down box with onchange javascript to submit the form, you cannot see the label to say what the drop down box does. Better to use a button. The button label is visible so you can see what it does.
* Checkboxes should be displayed when there is no attempt to delete.
* The whole column for checkboxes should be removed when no attempts are displayed ie. when showing students with no attempts.
jamiesensei [Wed, 7 May 2008 14:38:18 +0000 (14:38 +0000)]
MDL-14201 "Summary graph" included a summary graph at the bottom of overview report page. Shows the distribution of grades achieved by students. If a group is selected the grades from the group are compared with the grades for all participants.
tjhunt [Wed, 7 May 2008 13:34:54 +0000 (13:34 +0000)]
MDL-14727 - Do a database update to fix random questions with the wrong parent (there may be some of these floating around in people's databases becuase of MDL-5482.)
tjhunt [Wed, 7 May 2008 12:32:03 +0000 (12:32 +0000)]
MDL-5482 - Backup and restore problems for match, random and truefalse question types.
All the credit goes to Paulo Matos who carefully worked out and tested this fix, and updated the patch several times over more than a year while I very slowly got around to reviewing it and checking it in.