jamiesensei [Thu, 15 May 2008 13:59:52 +0000 (13:59 +0000)]
MDL-14852 "improve sql in overview report for fetching question grades" moved all querying for question grades into main attempts sql query. AND MDL-14200 "Add group and course averages" some fixes for functionality to display question grades averages. Grade averages are not displayed when grading method is set to Average - as this cannot be done in sql and would be expensive to do in memory.
jamiesensei [Thu, 15 May 2008 12:54:01 +0000 (12:54 +0000)]
MDL-14200 "Add group and course averages" fix for bug introduced in this patch. We are now using a seperate sql command to get the feedback text as we need to get it for the average rows too. Since it is not part of the sql to fetch attempt data we can't sort on Feedback anymore so removed the option from the table. Sorting by feedbacktext is not really useful anyway, users are more likely to want to sort by grade.
jamiesensei [Thu, 15 May 2008 12:27:27 +0000 (12:27 +0000)]
MDL-14200 "Add group and course averages" added extra rows to the end of the table in quiz overview report also MDL-14187 "Improve tablelib - improve api and add functionality to download table contents in a variety of formats - XLS, ODS and CSV" implemented the first of my proposals for improving tablelib. Added a extra method to use keyed arrays to add a row to a table. Seems obvious that this is an improvement to tablelib and it is an addition to the API so won't affect existing code.
agrabs [Wed, 14 May 2008 22:34:00 +0000 (22:34 +0000)]
MDL-14522 - new capability "receivemail" for better control who gets the email after
a response.
New option site_after_submit to define the url of the continue-button after completing
a feedback
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.