Git commits in Moodle 2.0.x by Jamie Pratt

commit 6b7080c841c6ac1bc430a0148fd90b881a672ca7
Author: Jamie Pratt <me@jamiep.org>
Date:   Mon, 01 Aug 2011 23:43:37 +0800
Tag:    v2.0.6

MDL-28562 "automatic naming of file in convert_image not working" there is an obvious typo in the code causing the problem. The use of an equality check instead of the intended assignment.

commit 00fa6634316ebdec38ee428aa75c3fa836de790c
Author: Jamie Pratt <me@jamiep.org>
Date:   Fri, 27 Aug 2010 09:16:01 +0800
Tag:    v2.0.0-rc1

MDL-20808 "Create AMF test client" this patch includes further improvements to test client

commit fcfd21178822b7ae98568f4c81fc8047c8153144
Author: Jamie Pratt <me@jamiep.org>
Date:   Tue, 13 Jul 2010 14:59:10 +0800
Tag:    v2.0.0-rc1

MDL-20808 "Create AMF test client" Some updates to client

commit b7d76bfdcb1520ea39ab6b28aa426e381b6cf99a
Author: Jamie Pratt <me@jamiep.org>
Date:   Tue, 13 Jul 2010 14:55:24 +0800
Tag:    v2.0.0-rc1

MDL-20808 "Create AMF test client" Some updates to client :

commit b437f681f9365b3ecf2e55602fa833da617abdb2
Author: Jamie Pratt <me@jamiep.org>
Date:   Mon, 12 Jul 2010 21:01:56 +0800
Tag:    v2.0.0-rc1

MDL-20808 Fixing default param handling.

commit 3bb041c5516269adf2c642125e05c662947b202e
Author: Jamie Pratt <me@jamiep.org>
Date:   Fri, 09 Jul 2010 13:25:49 +0800
Tag:    v2.0.0-rc1

MDL-23083 "Zend SOAP does not support struct in the phpdoc" Jerome's update to amf code for changes he made to web services as part of MDL-23083. I tested it and it works.

commit 6a176a74a8264a19f6b5eb8493def078666569c9
Author: Jamie Pratt <me@jamiep.org>
Date:   Wed, 05 May 2010 16:45:45 +0800
Tag:    v2.0.0-rc1

MDL-21655 "big scary enrolment and roles improvements" fixed a typo in previous check in which was causing an error when replying to posts.

commit 548da7ee963b085a8c346aa9270d0e9a5e642bba
Author: Jamie Pratt <me@jamiep.org>
Date:   Mon, 03 May 2010 14:36:52 +0800
Tag:    v2.0.0-rc1

MDL-21579 "Implement session token for embedded application"  Oops. Error in sql fixed now.

commit c7a2b2c84f97af9d7983814f3b1e72a222c9f140
Author: Jamie Pratt <me@jamiep.org>
Date:   Fri, 30 Apr 2010 14:20:19 +0800
Tag:    v2.0.0-rc1

MDL-22252 "couple of typos causing errors when importing glossary contents"

commit 2d0acbd5f935d2e6f0094c14421e9bd641b17a22
Author: Jamie Pratt <me@jamiep.org>
Date:   Wed, 28 Apr 2010 21:16:58 +0800
Tag:    v2.0.0-rc1

MDL-21579 "Implement session token for embedded application" implemented a second type of session token linked to a session for use in applications embedded in web pages.

commit 38f57b632cb6bb11772821ccbb679131467a6fb3
Author: Jamie Pratt <me@jamiep.org>
Date:   Mon, 26 Apr 2010 19:50:32 +0800
Tag:    v2.0.0-rc1

Just replacing some stray tabs with spaces for indentation in this file.

commit 2822f40ae298fcc6c2b9d656b10a26570726f77c
Author: Jamie Pratt <me@jamiep.org>
Date:   Mon, 22 Mar 2010 22:20:18 +0800
Tag:    v2.0.0-rc1

MDL-21894 "move functionality to create a token into function in externallib.php so it can be used when creating tokens for embedded applications" also fixed MDL-21893 "Errors in code for checking capability when creating token for service with requiredcapability" which I came across while re

commit c77e75a3cdeb282710790e6ea40d7fe7f3253537
Author: Jamie Pratt <me@jamiep.org>
Date:   Thu, 11 Feb 2010 11:39:02 +0800
Tag:    v2.0.0-rc1

MDL-20808 Fixes for amf web services and test client - a web service browser.

commit 94a9b9e7701c1f99ec6d1f2746283802a2183cb5
Author: Jamie Pratt <me@jamiep.org>
Date:   Wed, 10 Feb 2010 16:44:46 +0800
Tag:    v2.0.0-rc1

MDL-20808 Fixes for amf web services and test client - a web service browser.

commit f4f6ae8023de04267357c668a1a784de4f7d6cbc
Author: Jamie Pratt <me@jamiep.org>
Date:   Mon, 08 Feb 2010 19:30:55 +0800
Tag:    v2.0.0-rc1

removing old amf test client code and swf

commit 69afc75844c8b80ce001151095174f725416e540
Author: jamiesensei <jamiesensei>
Date:   Tue, 24 Mar 2009 17:19:00 +0900
Tag:    v2.0.0-rc1

Test client using Flex 3 compiler to produce a Flash 9 client for moodle web services.

commit 93efb8404fb6847f56e67fcd8eceff1da7664f52
Author: jamiesensei <jamiesensei>
Date:   Thu, 12 Mar 2009 18:03:47 +0900
Tag:    v2.0.0-rc1

Fixed "PHP Notice:  Use of undefined constant classpath - assumed 'classpath'"

commit 2280e147c56230ea221f60921ae54bfe81283caa
Author: jamiesensei <jamiesensei>
Date:   Fri, 28 Nov 2008 19:14:19 +0900
Tag:    v2.0.0-rc1

MDL-12418 "Item Analysis shows duplicate responses for Multiple Choice questions with LaTeX in answers" This problem was caused by the formatting of questions in get_actual_responses. Now formatting is done in response_summary rather than get_actual_response which returns an array of unformatted strings.

commit bbf4f440eead3af53eed772c7e68966fb4f6dc31
Author: jamiesensei <jamiesensei>
Date:   Tue, 25 Nov 2008 21:11:27 +0900
Tag:    v2.0.0-rc1

MDL-15326 "allow for per report capabilities to replace mod/quiz:viewreports"

commit a832c5e1511c1d4251e7a3af649ea342330e65e4
Author: jamiesensei <jamiesensei>
Date:   Fri, 21 Nov 2008 19:02:49 +0900
Tag:    v2.0.0-rc1

MDL-5241 edited comments that had not been updated.

commit 664bf34ff68eff85861d99843c61c4280c0f049e
Author: jamiesensei <jamiesensei>
Date:   Mon, 10 Nov 2008 23:42:21 +0900
Tag:    v2.0.0-rc1

MDL-17190 "error in code for calculating discrimination index and efficiency for randomly selected questions" Fixed the code for item stats.

commit 746860479f3f20b131a1dc5b54db1472a1ec82e3
Author: jamiesensei <jamiesensei>
Date:   Mon, 10 Nov 2008 20:56:37 +0900
Tag:    v2.0.0-rc1

MDL-17188 "effective question weight equation cannot cope with negative covariance of question grades" excluding such questions from equation

commit af30cd88706916a785ac40192188a46e63434528
Author: jamiesensei <jamiesensei>
Date:   Mon, 10 Nov 2008 17:12:28 +0900
Tag:    v2.0.0-rc1

MDL-14209 "quiz stats report:Seperation of functionality and unit tests for calculations" forgot to remove this, now redundant, piece of code.

commit 01bb194a4ec39a74e06f83e28814b779fccdb886
Author: jamiesensei <jamiesensei>
Date:   Mon, 10 Nov 2008 16:32:05 +0900
Tag:    v2.0.0-rc1

MDL-17185 "random questions always the same!" Randomized question selection

commit 91ec2c427a4a10ca81b5800b0676f9ee62d57230
Author: jamiesensei <jamiesensei>
Date:   Mon, 10 Nov 2008 16:03:25 +0900
Tag:    v2.0.0-rc1

MDL-17183 "function 'question_get_real_state' fails when response is empty string" fixed regular expression

commit b7e23c0b6a198a41e474035db4ec73e49b1e26c0
Author: jamiesensei <jamiesensei>
Date:   Fri, 31 Oct 2008 13:52:29 +0900
Tag:    v2.0.0-rc1

MDL-15736 "deleting regrade report. Regrade functionality is now part of overview report" putting quiz_regrade.php back into HEAD since lang files from HEAD are downloaded to use on older versions of Moodle, should not delete obsolete lang files.

commit ec4d0bb12ed732a1e0fa94fc33612a35be501240
Author: jamiesensei <jamiesensei>
Date:   Thu, 30 Oct 2008 21:31:11 +0900
Tag:    v2.0.0-rc1

MDL-15736 "deleting regrade report. Regrade functionality is now part of overview report" seems I forgot to delete this language file earlier.

commit 2685ec17ea39d79e02b891590b3e5494e0ed8d40
Author: jamiesensei <jamiesensei>
Date:   Wed, 29 Oct 2008 19:09:55 +0900
Tag:    v2.0.0-rc1

MDL-14209 "quiz stats report:Seperation of functionality and unit tests for calculations" Unit tests for the grade stats calculations.

commit 45cf6fd910a99ba1f50dfaa1a1e09d0793a7d2ad
Author: jamiesensei <jamiesensei>
Date:   Wed, 29 Oct 2008 19:00:44 +0900
Tag:    v2.0.0-rc1

MDL-14209 "quiz stats report:Seperation of functionality and unit tests for calculations" Seperating out call for processing actual student responses from calculation of other grade stats as I want to unit test the grade stats calculations.

commit e815151ead6e5a2d51294624312ac24d51bd688a
Author: jamiesensei <jamiesensei>
Date:   Fri, 24 Oct 2008 23:34:19 +0800
Tag:    v2.0.0-rc1

MDL-17002 "unit test to test quiz_report_index_by_keys"

commit ba1ff79a76ebee6c11a6d9d9d7072f4bd4910fce
Author: jamiesensei <jamiesensei>
Date:   Fri, 24 Oct 2008 23:17:45 +0800
Tag:    v2.0.0-rc1

MDL-17000 "telling get_list_of_plugins() to ignore simpletest directories" added simpletest to the list of dirs to ignore.

commit ef09fadc44fcb19d36584a39f753a2d5b663db25
Author: jamiesensei <jamiesensei>
Date:   Fri, 24 Oct 2008 23:13:08 +0800
Tag:    v2.0.0-rc1

MDL-17001 "Moving admin/report/simpletest to directory unittest" changing some references to old simpletest directory name.

commit 368f375370a044bb0d67117d62e878d457cfb3df
Author: jamiesensei <jamiesensei>
Date:   Fri, 24 Oct 2008 23:10:41 +0800
Tag:    v2.0.0-rc1

renamed admin/report/simpletest to unittest

commit 047c0f78aa90a3d478f17b437fa34740c9c00342
Author: jamiesensei <jamiesensei>
Date:   Tue, 21 Oct 2008 17:32:24 +0800
Tag:    v2.0.0-rc1

MDL-16952 "after DB field type changes standard deviation and facility index show up as 0% instead of blank" Problem is that question->maxgrade is now 0.0000 and not 0 and $maxgrade now does not evaluate as false, need to use $maxgade!=0 which evaluates as before.

commit 67710da492605fb7db4924fbd12924d8ac568a6d
Author: jamiesensei <jamiesensei>
Date:   Tue, 21 Oct 2008 17:25:02 +0800
Tag:    v2.0.0-rc1

MDL-16951 "kurtosis and skewness equations were wrong" See changes to equations here : http://docs.moodle.org/en/index.php?title=Development%3AQuiz_item_analysis_calculations&diff=45585&oldid=39752

commit 0e13019dc4a0016740b3850496431b43b16e4909
Author: jamiesensei <jamiesensei>
Date:   Tue, 14 Oct 2008 23:19:25 +0800
Tag:    v2.0.0-rc1

MDL-16870 "ID is incorrectly labelled"

commit ef27e742738e6f693b2638104dc0e2845e86226d
Author: jamiesensei <jamiesensei>
Date:   Tue, 14 Oct 2008 23:00:26 +0800
Tag:    v2.0.0-rc1

MDL-16869 "Exporting leaves <p> </p> in essay responses" added method to flexible_table class format_text that takes the same parameters as format_text the function in weblib. If the table is not in download mode then this formats the text as html. If it is then it strips the tags or does the right thing depending on the download type. Added methods to download classes to tell flexible_table class what should be done with html.

commit 985f0ddd2085eabf83943536a5e15df48d21db9b
Author: jamiesensei <jamiesensei>
Date:   Mon, 13 Oct 2008 19:52:35 +0800
Tag:    v2.0.0-rc1

MDL-16842 "Adding group of elements in function lib/formslib.php/repeat_elements() not working correctly" Fixed using fullclone instead of clone now. Merged from 1.9 stable.

commit 3efbe6bc891edf9fcf40a09c7a4f89e1b73467cc
Author: jamiesensei <jamiesensei>
Date:   Wed, 08 Oct 2008 18:27:38 +0800
Tag:    v2.0.0-rc1

MDL-14676 "In question bank, problem with moodle/question:edit* when do not have moodle/question:move*" Fixed logic for processing submission of question form and also added some validation to check that the user has permissions to move a question.

commit 1f23bda7f9894e474b81821086e837a637446e31
Author: jamiesensei <jamiesensei>
Date:   Tue, 07 Oct 2008 16:46:24 +0800
Tag:    v2.0.0-rc1

MDL-16803 "Questions with score of 0 lead to division by zero warning"

commit 8cc901371a5eec1ff8936c0ebe73fad2e3052043
Author: jamiesensei <jamiesensei>
Date:   Wed, 24 Sep 2008 18:55:55 +0800
Tag:    v2.0.0-rc1

MDL-16612 "Response report : Long group names need shortening"

commit 04299b1f191e2cf57ec1d924c396320bb7fa30ae
Author: jamiesensei <jamiesensei>
Date:   Wed, 24 Sep 2008 18:45:05 +0800
Tag:    v2.0.0-rc1

MDL-16632 "green highlighting should not be applied to grading method in quiz responses report form" Ooops. We do need highlighting on the reponses report. The responses page does have a grade displayed that needs highlighting. I was looking at an ungraded quiz. Need highlighting to highlight grade of graded attempt.

commit 8968f51fabc781eaf6e0073199bc1f43dbee7cf0
Author: jamiesensei <jamiesensei>
Date:   Wed, 24 Sep 2008 18:43:45 +0800
Tag:    v2.0.0-rc1

MDL-16610 "Warnings when a question has a grade of 0" not seeing this issue in HEAD but committing some code to make code for generating html for response cell more robust.

commit 1c88737ffa106f3cfa5d5ed249cc359c18192aa1
Author: jamiesensei <jamiesensei>
Date:   Wed, 24 Sep 2008 18:22:57 +0800
Tag:    v2.0.0-rc1

MDL-16653 "Adding colour highlighting of correct / incorrect / partially correct answers and tick / cross marks to overview report"

commit bfcaf5e684bb8e737bd113e39b8e06e9b45aaca9
Author: jamiesensei <jamiesensei>
Date:   Wed, 24 Sep 2008 17:10:43 +0800
Tag:    v2.0.0-rc1

MDL-16632 "green highlighting should not be applied to grading method in quiz responses report form" Ooops. We do need highlighting on the reponses report. The responses page does have a grade displayed that needs highlighting. I was looking at an ungraded quiz. Need highlighting to highlight grade of graded attempt.

commit 01e6f9e9e4a8fc804e29a838765259b784c3a2d6
Author: jamiesensei <jamiesensei>
Date:   Wed, 24 Sep 2008 16:55:46 +0800
Tag:    v2.0.0-rc1

MDL-16632 "green highlighting should not be applied to grading method in quiz responses report form" Ooops. We do need highlighting on the reponses report. The responses page does have a grade displayed that needs highlighting. I was looking at an ungraded quiz. Need highlighting to highlight grade of graded attempt.

commit 14133ad91366373c959c9545cf45febf16b184d5
Author: jamiesensei <jamiesensei>
Date:   Tue, 23 Sep 2008 18:39:12 +0800
Tag:    v2.0.0-rc1

MDL-16632 "green highlighting should not be applied to grading method in quiz responses report form"

commit e84cb6155423594bccaad5bfe0c528f39ad54c67
Author: jamiesensei <jamiesensei>
Date:   Tue, 23 Sep 2008 18:21:32 +0800
Tag:    v2.0.0-rc1

MDL-16532 "Can width of column for Essay questions be varied?" Concatenate the answers displayed in all responses in responses report for answers above a certain character count (now set to 150). Also added a link to all responses to display a review of the question response. Both the concatenation and links are only showed in the report on the Moodle site and effects are not exported.

commit 8b92c1e3f6442bc6bc29825a62df69ed15b150fb
Author: jamiesensei <jamiesensei>
Date:   Tue, 23 Sep 2008 17:52:55 +0800
Tag:    v2.0.0-rc1

MDL-16529 "Only include closed attempts in manual grade counts"

commit 9db3992a650ab3f50112f298445cf239e04b08d3
Author: jamiesensei <jamiesensei>
Date:   Mon, 22 Sep 2008 18:32:28 +0800
Tag:    v2.0.0-rc1

MDL-16606 "userdate inserts a space in front of date when chopping off the leading 0 on day of the month produced by %d"

commit 3e95343a8808304184dab4d34c767ba24c2d3165
Author: jamiesensei <jamiesensei>
Date:   Mon, 22 Sep 2008 18:26:44 +0800
Tag:    v2.0.0-rc1

MDL-16606 "userdate inserts a space in front of date when chopping off the leading 0 on day of the month produced by %d"

commit e1d2278b51303e81f7b9af194ff7070c77813d9c
Author: jamiesensei <jamiesensei>
Date:   Mon, 22 Sep 2008 17:20:13 +0800
Tag:    v2.0.0-rc1

MDL-16527 "responses report : use question_get_feedback_class and question_get_feedback_image from questionlib.php instead of custom styles" should not style response or add feedback image if the response is not yet graded.

commit 452351550bc335c4f05cbb2a7459ae7c37fe62ea
Author: jamiesensei <jamiesensei>
Date:   Fri, 19 Sep 2008 18:12:54 +0800
Tag:    v2.0.0-rc1

MDL-16567 "Quiz statistics report does not work when the quiz contains descriptions" slightly more elegant and efficient solution to issue.

commit 74b40fadd5061c277de320dfb0a788cfbe2a0614
Author: jamiesensei <jamiesensei>
Date:   Tue, 16 Sep 2008 18:30:06 +0800
Tag:    v2.0.0-rc1

MDL-16527 "responses report : use question_get_feedback_class and question_get_feedback_image from questionlib.php instead of custom styles" better not make styles dependent on question type. Just use overall styles.

commit 2ea2c1f57aba8b59ba4f3a8cb35e3acb1111f267
Author: jamiesensei <jamiesensei>
Date:   Tue, 16 Sep 2008 17:50:24 +0800
Tag:    v2.0.0-rc1

MDL-16528 "responses report : improve efficiency of sql" moved the querying for state data all into one big query rather than an individual query for each question in each attempt.

commit 199b946f046b4d74b7a44871ce07c90ff8e3f0f6
Author: jamiesensei <jamiesensei>
Date:   Tue, 16 Sep 2008 17:46:57 +0800
Tag:    v2.0.0-rc1

MDL-16527 "responses report : use question_get_feedback_class and question_get_feedback_image from questionlib.php instead of custom styles"

commit 3d6de8770d7b0df893c3a3af15883b8ba4285c8d
Author: jamiesensei <jamiesensei>
Date:   Mon, 15 Sep 2008 22:08:11 +0800
Tag:    v2.0.0-rc1

MDL-16362 "Quiz - bar graph on results screen" removing var_dump that I forgot to clean up.

commit 2a1995a4765bd0596915f18b6079122dd759d482
Author: jamiesensei <jamiesensei>
Date:   Mon, 15 Sep 2008 21:38:31 +0800
Tag:    v2.0.0-rc1

MDL-16362 "Quiz - bar graph on results screen" there was a bug in my code that would put the graph generation code into an infinite loop if the overall grade for the quiz is 0. Since the change in the type of the field for quiz->grade the old test for quiz->grade being zero doesn't work. Using $quiz->grade as a bool does not work ($quiz->grade is now a string 0.0000), since Moodle 2.0 need to use $quiz->grade == 0.

commit 3b51802063aff031ed937ac9a417a8044d786763
Author: jamiesensei <jamiesensei>
Date:   Mon, 15 Sep 2008 19:39:15 +0800
Tag:    v2.0.0-rc1

MDL-16125 "Improvement to Detailled Responses Report : Format of csv export" Fixed missing format string problem when downloading.

commit d3e99e85d4ea9c9f191c36d665c3a2500905d9bf
Author: jamiesensei <jamiesensei>
Date:   Mon, 15 Sep 2008 19:13:31 +0800
Tag:    v2.0.0-rc1

MDL-16502 "highlight questions that appear not to be working very well according to statistics"

commit 3db543284b44a50106b58087e20792aba438f054
Author: jamiesensei <jamiesensei>
Date:   Mon, 15 Sep 2008 17:16:57 +0800
Tag:    v2.0.0-rc1

MDL-16501 "moving key to colours on graph to the bottom of the graph gives more horizontal screen space for the graph itself"

commit 91769761515303359a709a47defb8172a95db8d9
Author: jamiesensei <jamiesensei>
Date:   Fri, 12 Sep 2008 16:33:40 +0800
Tag:    v2.0.0-rc1

MDL-16463 "Long group names can make drop down box too wide"  added an if condition to test the length of the group name. If it is more than 20 characters then we use the string 'this group' instead of the group name.

commit c308138f8994c55f17858f852be40c8d69ae9733
Author: jamiesensei <jamiesensei>
Date:   Thu, 11 Sep 2008 20:59:33 +0800
Tag:    v2.0.0-rc1

MDL-14202 "Replace Item Analysis Report with new improved 'Statistics' report." Removing Quiz Item Analysis report

commit 869309b8d8ba9548e11fe06295cc7ac6c0ccd453
Author: jamiesensei <jamiesensei>
Date:   Thu, 11 Sep 2008 20:48:08 +0800
Tag:    v2.0.0-rc1

MDL-14202 "Replace Item Analysis Report with new improved 'Statistics' report." finished statistics report. This patch includes some changes to lib/tablelib.php so that it is possible to export the content of a table as part of a multi table export - with mutliple tables / multiple worksheets.

commit c8b2ab1b009d4c9fcc218a872519b421b7dfc7b1
Author: jamiesensei <jamiesensei>
Date:   Mon, 08 Sep 2008 18:35:14 +0800
Tag:    v2.0.0-rc1

MDL-7308 "Check all the DB columns used to store grades, and make sure they all use a consistent type." Since quiz->sumgrades is now string "0.00000" (quiz->sumgrades) no longer evaluates as false. Changing to (quiz->sumgrades != 0)

commit ca2f6fc795f618f52288a95d8fe9d8c866c78b2c
Author: jamiesensei <jamiesensei>
Date:   Mon, 01 Sep 2008 16:30:14 +0800
Tag:    v2.0.0-rc1

MDL-16110 "Improvement to Overview Report - Columns in csv file do not line up"

commit 02cd0be02e6d7f6648fee431b72463b8234ccf84
Author: jamiesensei <jamiesensei>
Date:   Mon, 01 Sep 2008 16:24:25 +0800
Tag:    v2.0.0-rc1

MDL-16125 "Improvement to Detailed Responses Report - Format of csv export" removing commas from table content which throw the csv export.

commit db16ac502ab0d853bf69ea286e6241f88e8df68e
Author: jamiesensei <jamiesensei>
Date:   Fri, 29 Aug 2008 14:03:02 +0800
Tag:    v2.0.0-rc1

MDL-16126 "Altering the number of students shown can lead to students being inadvertently hidden" make sure that initials bar is shown if we are filtering by initials.

commit d004c4adcd7ef66ec0da3a5304d292f60655fd58
Author: jamiesensei <jamiesensei>
Date:   Thu, 28 Aug 2008 14:44:49 +0800
Tag:    v2.0.0-rc1

MDL-16242 "'Required' does nothing for select fields in customisable user profiles" added an extra option 'Choose...' which is the default if no other default is specified. If the user leaves the select field set to 'Choose...' then the required rule fails and the form does not submit.

commit 888eca6229da76750d2ddff5a4dab855690d2dfe
Author: jamiesensei <jamiesensei>
Date:   Tue, 26 Aug 2008 17:01:41 +0800
Tag:    v2.0.0-rc1

MDL-16132 "'Dry run' should be two separate words (OED)."

commit a3668b25c0d9ea0b1ca0be6adda561d033827958
Author: jamiesensei <jamiesensei>
Date:   Mon, 25 Aug 2008 15:44:20 +0800
Tag:    v2.0.0-rc1

MDL-16121 "Manual Grading Doesn't Work" grades where not getting saved. Fixed that now.

commit 570e5e029abb72974620ac54f4611111a4457f62
Author: jamiesensei <jamiesensei>
Date:   Fri, 15 Aug 2008 18:24:04 +0800
Tag:    v2.0.0-rc1

MDL-16041 "Grade of new tests are zero!" no longer displaying graphs of grades for ungraded quizzes.

commit 277625257fbe4660a631a6052141980de2d5f1e1
Author: jamiesensei <jamiesensei>
Date:   Fri, 15 Aug 2008 18:06:10 +0800
Tag:    v2.0.0-rc1

MDL-15937 "Table export formats descriptions" misspellings of 'separate'  as 'seperate' fixing. Also found one misspelling of hierarchy

commit f29e6691a72c8cc8750ca33a34599a0f8e296d43
Author: jamiesensei <jamiesensei>
Date:   Fri, 15 Aug 2008 17:59:55 +0800
Tag:    v2.0.0-rc1

MDL-15972 "Make ability to list regrades dependent on permission" fixed a problem showing some of the regrade interface to users who do not have permission to regrade. MDL-15960 "Overview report does not work correctly with groups" Fixed a problem that group mode was not working as the logic selecting the attempts mode was erroneously showing the all attempts mode. MDL-15958 "Error on selecting to hide marks for each question" problem with trying to sort on question grades when grades not displayed fixed. MDL-15953 "Summary chart to show in 5% ranges please" allowed the graph to show up to or equal to 20 bands, instead of just up to 20. MDL-14201 "Summary graph" showing two graphs now as it was felt that when there were few students in a group compared with all the students who took a quiz then it would be difficult to see the data for the group.

commit 585fb1f447c64f61b5576f73bdb06efa309e8192
Author: jamiesensei <jamiesensei>
Date:   Fri, 15 Aug 2008 17:21:33 +0800
Tag:    v2.0.0-rc1

Fixing a couple of typos introduced likely at the time of dml conversion.

commit 5153422cdd30e15964b8507e872ba8be289b6e6c
Author: jamiesensei <jamiesensei>
Date:   Wed, 30 Jul 2008 18:28:39 +0800
Tag:    v2.0.0-rc1

MDL-15268 "Content for Quiz Statistics report table" adding img link to display graph on main page of report.

commit aa3133bcb99485a59170381ef94439e243eb188c
Author: jamiesensei <jamiesensei>
Date:   Wed, 30 Jul 2008 17:49:09 +0800
Tag:    v2.0.0-rc1

MDL-15268 "Content for Quiz Statistics report table" display blank cell if statistic is not calculatable

commit 43ec99aa74f9a95a55766de58e0a59c1df038a30
Author: jamiesensei <jamiesensei>
Date:   Wed, 30 Jul 2008 17:02:44 +0800
Tag:    v2.0.0-rc1

MDL-15268 "Content for Quiz Statistics report table" further work on quiz statistics report.

commit 8ba751eec76c1e6bbcb35340b0f96532fe6b08ac
Author: jamiesensei <jamiesensei>
Date:   Wed, 30 Jul 2008 16:56:10 +0800
Tag:    v2.0.0-rc1

MDL-14204 "Content for Quiz Statistics report table - Random_guess_score" fixed random guess score for random short answer matching question.

commit f79855150aa3d028c5751672f5f1554631c80bfc
Author: jamiesensei <jamiesensei>
Date:   Mon, 28 Jul 2008 18:49:49 +0800
Tag:    v2.0.0-rc1

removed extra white space at the end of the file that was causing error "Cannot modify header information - headers already sent by (output started at moodle-HEAD\lib\portfoliolib.php:1932)".

commit 162f96353bbf33bcdb02646fbee406c3db1e3008
Author: jamiesensei <jamiesensei>
Date:   Fri, 25 Jul 2008 20:15:07 +0800
Tag:    v2.0.0-rc1

MDL-14208 Cache results of calculations, "recompute now" functionality -- forgot one field for questions stats.

commit 9859e26cc092edd8e3312e8eb17e292c1c9fda99
Author: jamiesensei <jamiesensei>
Date:   Fri, 25 Jul 2008 01:45:01 +0800
Tag:    v2.0.0-rc1

MDL-14208 "add cron routine to clean up cache records"

commit d1789d5d6490b8b4e065775a214a47c106970693
Author: jamiesensei <jamiesensei>
Date:   Fri, 25 Jul 2008 01:42:06 +0800
Tag:    v2.0.0-rc1

MDL-14208 Cache results of calculations, "recompute now" functionality -- added message about when the stats were last calculated and how many attempts there have been since then and a recompute now button.

commit 17f1782c1217ab5b83de6bd55a4e7a7adb0abe5a
Author: jamiesensei <jamiesensei>
Date:   Fri, 25 Jul 2008 01:36:33 +0800
Tag:    v2.0.0-rc1

MDL-15818 "allow quiz reports to register cron routines" - Quiz reports can now include files cron.php which include functions quiz_report_{reportname}_cron that will be executed from the moodle cron. They must also modify their quiz_report record to set cron to the number of seconds between cron execution.

commit daae98e118e2bca08e97293208bf1b0dffe4022e
Author: jamiesensei <jamiesensei>
Date:   Fri, 25 Jul 2008 00:10:26 +0800
Tag:    v2.0.0-rc1

MDL-14216 "change query to work on Postgres." - some adjustments to make it work on mysql again too.

commit c1f41c59b7edbef4d049c44587af282956b64ff1
Author: jamiesensei <jamiesensei>
Date:   Thu, 24 Jul 2008 23:22:31 +0800
Tag:    v2.0.0-rc1

MDL-15813 "return params or a param from moodle_url params and param method when no value is passed to method to set url param(s)."

commit 71a2b878fa5b749388eede4a7102f42c319cd2eb
Author: jamiesensei <jamiesensei>
Date:   Thu, 24 Jul 2008 21:25:07 +0800
Tag:    v2.0.0-rc1

MDL-14208 'Improvement of Item Analysis Report :  Cache results of calculations, "recompute now" functionality' - using new tables to cache stats results.

commit a1db71cb25daa135c4f6210ec2d3a4ea0e89f2e4
Author: jamiesensei <jamiesensei>
Date:   Tue, 22 Jul 2008 21:06:54 +0800
Tag:    v2.0.0-rc1

MDL-15198 "non-standard sql in reportlib.php" similar sql used here, fixing.

commit 182dbc6f4d695ebf1de89e3b7cc8020f241eed01
Author: jamiesensei <jamiesensei>
Date:   Tue, 22 Jul 2008 20:33:05 +0800
Tag:    v2.0.0-rc1

MDL-15751 "Quiz statistics report : only list random questions once when there are several consecutive random questions picking from the same category with the same options to recurse into sub directories" sorting of questions by id, so they appear in some kind of order.

commit d49e5bd87c8a95eef932def9e871fd4480b56866
Author: jamiesensei <jamiesensei>
Date:   Tue, 22 Jul 2008 20:27:11 +0800
Tag:    v2.0.0-rc1

MDL-15751 "Quiz statistics report : only list random questions once when there are several consecutive random questions picking from the same category with the same options to recurse into sub directories" oops. Regression meant a row was added for every attempt at a random question

commit 051bc0e1929c7a5dfa6781e7745d9685e56330ab
Author: jamiesensei <jamiesensei>
Date:   Tue, 22 Jul 2008 17:48:16 +0800
Tag:    v2.0.0-rc1

MDL-15751 "Quiz statistics report : only list random questions once when there are several consecutiver random questions picking from the same category with the same options to recurse into sub directories"

commit 62373088ddf448eaf306c2b9978e27d8f98f941f
Author: jamiesensei <jamiesensei>
Date:   Mon, 21 Jul 2008 22:40:26 +0800
Tag:    v2.0.0-rc1

MDL-15728 "quiz_report_load_questions should alias qqi.grade to maxgrade so that questions array has the required fields expected by much of the question code."

commit 002ef81dc53632a9896c88a44f35019215f7cc4d
Author: jamiesensei <jamiesensei>
Date:   Mon, 21 Jul 2008 22:17:00 +0800
Tag:    v2.0.0-rc1

MDL-15736 "deleting regrade report. Regrade functionality is now part of overview report"

commit 16de0ed32b3ef60c412abc78447ca89e8ce7dd3e
Author: jamiesensei <jamiesensei>
Date:   Mon, 21 Jul 2008 21:06:57 +0800
Tag:    v2.0.0-rc1

MDL-15732 "question_load_questions has changed in HEAD and expects an array instead of a comma seperated list of question ids"

commit 68f332f391262f7ae5a9b51426ed3938ee0ca62f
Author: jamiesensei <jamiesensei>
Date:   Mon, 21 Jul 2008 20:14:32 +0800
Tag:    v2.0.0-rc1

MDL-15452 - "Fix regressions introduced by my recent work on this bug and its children. Thanks to Paul Johnson for his testing." - fix xhtml error.

commit 670b895478a6e643bfd65582cb64a95f46874aff
Author: jamiesensei <jamiesensei>
Date:   Mon, 21 Jul 2008 20:09:19 +0800
Tag:    v2.0.0-rc1

MDL-15631 "move detailled responses report out of contrib into main distribution" minor fix to html to align select all / deselect all with table

commit e5395a5fd532dd3370ce69f29dfbd5b5448649c1
Author: jamiesensei <jamiesensei>
Date:   Mon, 21 Jul 2008 19:24:14 +0800
Tag:    v2.0.0-rc1

MDL-15730 "in detailled report : scale grade to a fraction of the max grade and THEN use it for calculating whether this is a correct / partially correct / or wrong answer"

commit 3e71541fde61ec786845376814bf38281066bca6
Author: jamiesensei <jamiesensei>
Date:   Mon, 21 Jul 2008 18:27:47 +0800
Tag:    v2.0.0-rc1

MDL-15729 "detailled responses report not showing responses"

commit 6559096f2c2babf01ab910a794c6e3a06a4817e7
Author: jamiesensei <jamiesensei>
Date:   Mon, 21 Jul 2008 17:06:46 +0800
Tag:    v2.0.0-rc1

MDL-15728 "quiz_report_load_questions should alias qqi.grade to maxgrade so that questions array has the required fields expected by much of the question code."

commit d71226a4ac58e4b8222151ef0c6f11d0158258c6
Author: jamiesensei <jamiesensei>
Date:   Mon, 21 Jul 2008 16:02:37 +0800
Tag:    v2.0.0-rc1

whitespace fixes

commit 35bf63526aa2e3f1a36b66de044a1b0c2ede96f4
Author: jamiesensei <jamiesensei>
Date:   Sun, 20 Jul 2008 22:40:22 +0800
Tag:    v2.0.0-rc1

MDL-15718 "overview report slow for large data sets - print_user_picture queries the db if only provided with a userid"

commit 162db417234cfbf32289a13d9b7eedbf6448cbc0
Author: jamiesensei <jamiesensei>
Date:   Sun, 20 Jul 2008 22:34:53 +0800
Tag:    v2.0.0-rc1

MDL-15198 "non-standard sql in reportlib.php" using CASE statement to wrap logic in fields list

commit 7f29a7dbe40d21dcbc5f0d21a399c2e6f7b3c98b
Author: jamiesensei <jamiesensei>
Date:   Sun, 20 Jul 2008 22:29:10 +0800
Tag:    v2.0.0-rc1

MDL-15631 "move detailled responses report out of contrib into main distribution" adding responses report to main distribution

commit 55caa1d5dcb153bf9f56010810006ab1969168cc
Author: jamiesensei <jamiesensei>
Date:   Sun, 20 Jul 2008 20:52:14 +0800
Tag:    v2.0.0-rc1

MDL-15198 "non-standard sql in reportlib.php" using CASE statement to wrap logic in fields list

commit 0fa4107dfc58e3196b9de81c427a3cd197b2e685
Author: jamiesensei <jamiesensei>
Date:   Sun, 20 Jul 2008 20:21:59 +0800
Tag:    v2.0.0-rc1

MDL-15719 "overview report slow for large data sets - count sql operation for table paging repeated twice whether or not it is necessary"

commit 66eb3b5930ea23f7631369fdcf04c589a341cf3b
Author: jamiesensei <jamiesensei>
Date:   Sun, 20 Jul 2008 19:58:15 +0800
Tag:    v2.0.0-rc1

MDL-15268 "Content for Quiz Statistics report table" fixed a bug where every a row was added to the table for every time a subquestion was attempted.

commit 375381a006b72e96588c46d5294b42896c896154
Author: jamiesensei <jamiesensei>
Date:   Sun, 20 Jul 2008 19:56:35 +0800
Tag:    v2.0.0-rc1

MDL-15718 "overview report slow for large data sets - print_user_picture queries the db if only provided with a userid"

commit 4f5ffac0225c143c5aab0ea6184fdc39ce79044e
Author: jamiesensei <jamiesensei>
Date:   Fri, 18 Jul 2008 22:36:24 +0800
Tag:    v2.0.0-rc1

MDL-15268 "Content for Quiz Statistics report table" seperated quiz item / position stats code into a seperate class in qstats.php and now calculating item statistics too.

commit ea751786e026708849dbb54d12fdde98ddbfd967
Author: jamiesensei <jamiesensei>
Date:   Wed, 16 Jul 2008 19:55:38 +0800
Tag:    v2.0.0-rc1

MDL-15268 "Content for Quiz Statistics report table" know looping through all question grades fetched from the db to calculate position statistics.

commit b6943d373106fcef8e8214a73dc190186b9f3570
Author: jamiesensei <jamiesensei>
Date:   Tue, 15 Jul 2008 15:22:26 +0800
Tag:    v2.0.0-rc1

MDL-14216 "Improvements to regrade report - improved reporting of actions and dry run / regrade" if condition around buttons to not output them when downloading table data.

commit fb94cd484881f78a3184d62dd0200f3e7e30cb74
Author: jamiesensei <jamiesensei>
Date:   Mon, 14 Jul 2008 14:40:36 +0800
Tag:    v2.0.0-rc1

MDL-15268 "Content for Quiz Statistics report table" some fixes to strings.

commit 04c8148a4fda5d79ba6c865a0681f61ce3f60fbc
Author: jamiesensei <jamiesensei>
Date:   Mon, 14 Jul 2008 14:37:39 +0800
Tag:    v2.0.0-rc1

MDL-15102 "Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing." fixing a couple of typos which were causing errors.

commit 8b048aae0cd0c1ddfd225f72e96f17a2005ddcc9
Author: jamiesensei <jamiesensei>
Date:   Fri, 11 Jul 2008 15:56:33 +0800
Tag:    v2.0.0-rc1

MDL-14216 "Improvements to regrade report - improved reporting of actions and dry run / regrade" Install.xml was out of sync with upgrade script.

commit 57d6a267a630a86d3a7c7302ab36706215cc3547
Author: jamiesensei <jamiesensei>
Date:   Fri, 11 Jul 2008 15:48:25 +0800
Tag:    v2.0.0-rc1

MDL-14216 "Improvements to regrade report - improved reporting of actions and dry run / regrade" oops. Fixing notice about $this->context not being set in overview report table.

commit 314b8a20d42f4ce6fb4eff527b60b7d121e5fcc1
Author: jamiesensei <jamiesensei>
Date:   Fri, 11 Jul 2008 15:39:11 +0800
Tag:    v2.0.0-rc1

MDL-14216 "Improvements to regrade report - improved reporting of actions and dry run / regrade" added some if conditions to not display regrade buttons if the user doesn't have the permission to grade.

commit 98f38217bb6de4ffa78f79e7371b5d8f53aaf98a
Author: jamiesensei <jamiesensei>
Date:   Fri, 11 Jul 2008 15:27:14 +0800
Tag:    v2.0.0-rc1

MDL-14216 "Improvements to regrade report - improved reporting of actions and dry run / regrade"

commit 67d4dfb84bb6a8ceebdf700817923a10d2a4d5ad
Author: jamiesensei <jamiesensei>
Date:   Sat, 05 Jul 2008 13:57:22 +0800
Tag:    v2.0.0-rc1

MDL-15545 "sql to fetch question states in overview report should use a JOIN instead of passing attempt ids in IN clause when downloading data with no paging"

commit a655337336c0142222cea4e9a8a5e3554454565b
Author: jamiesensei <jamiesensei>
Date:   Fri, 04 Jul 2008 18:15:00 +0800
Tag:    v2.0.0-rc1

MDL-15532 "moving progress_bar class into weblib from adminlib"

commit 334edb71c12146cdda44d753fa2059b2e23a306f
Author: jamiesensei <jamiesensei>
Date:   Mon, 30 Jun 2008 19:53:47 +0800
Tag:    v2.0.0-rc1

MDL-15198 "non-standard sql in reportlib.php" fixed this with new sql that does not require a limit clause.

commit dc389ad9a32236b38c5c0fa0490f9d396ee123b7
Author: jamiesensei <jamiesensei>
Date:   Fri, 27 Jun 2008 18:54:45 +0800
Tag:    v2.0.0-rc1

MDL-15113 "Upgrade to DMLLIB 2.0." Fixed a call to a dml lib function where two of the params were the wrong way round which was causing a fatal error.

commit 7660aa80e0beb7b117dc11bb99c41b44e9674a15
Author: jamiesensei <jamiesensei>
Date:   Wed, 25 Jun 2008 00:36:44 +0800
Tag:    v2.0.0-rc1

MDL-15393 "show group name in drop down select for what to show in report" AND MDL-15394 "disable showing 'all attempts' and remove option from drop down box in form if there is a group selected"

commit d86bbdd6f7a95c133afc37ab736333859f26bdfa
Author: jamiesensei <jamiesensei>
Date:   Tue, 24 Jun 2008 20:32:23 +0800
Tag:    v2.0.0-rc1

MDL-15309 "Switch role to student, take quiz, can't delete attempt" switching default of overview report to show all attempts whether or not the attempt is for a currently enrolled student.

commit abe67b24a7e2864593940a319c15b4e3a4d39138
Author: jamiesensei <jamiesensei>
Date:   Tue, 24 Jun 2008 20:18:47 +0800
Tag:    v2.0.0-rc1

MDL-15378 "Quizz: sql error if not student in the group" now have extra logic to not display the table if there are no students at all or in current group - still displaying form and graph were appropriate.

commit abcaa2739137684dcd889fc725076c790e3a2ad0
Author: jamiesensei <jamiesensei>
Date:   Tue, 24 Jun 2008 17:22:30 +0800
Tag:    v2.0.0-rc1

MDL-14193 "Automatic processing of access.php for adding / upgrading report capabilities" again a small change to how we do this.

commit c386eaa3dfbb02e97b80c3d3f363566231e2bfa0
Author: jamiesensei <jamiesensei>
Date:   Tue, 24 Jun 2008 16:59:29 +0800
Tag:    v2.0.0-rc1

MDL-15384 'change name of quiz report classes to "quiz_{reportname}_report"' easy to do, changed class name of all reports and changed the code in report.php which instantiates the correct class.

commit 6102a59d11324af003c85e06198df0649a7151eb
Author: jamiesensei <jamiesensei>
Date:   Sun, 22 Jun 2008 20:57:44 +0800
Tag:    v2.0.0-rc1

Fixing typo introduced in 1.298 version of this file.

commit 000e408c0eed1735d57ad7175024049da0c7cf45
Author: jamiesensei <jamiesensei>
Date:   Sun, 22 Jun 2008 17:30:02 +0800
Tag:    v2.0.0-rc1

MDL-14193 "Automatic processing of access.php for adding / upgrading report capabilities" small change to how we do this.

commit 01f3ba135041002b064ea8c6d377d8368495a3f3
Author: jamiesensei <jamiesensei>
Date:   Sun, 22 Jun 2008 00:35:26 +0800
Tag:    v2.0.0-rc1

CONTRIB-490 "Adding support for generation of test calculated question type" replacing old dml function call with new call to method on $DB. Ooops, and adding DB as global variable in method.

commit c9f4940e6480d8254c00711095a3a6fa1bfe3c7d
Author: jamiesensei <jamiesensei>
Date:   Sun, 22 Jun 2008 00:33:55 +0800
Tag:    v2.0.0-rc1

CONTRIB-490 "Adding support for generation of test calculated question type" replacing old dml function call with new call to method on $DB.

commit f37f30d43551f140c3d796089bbf2467203a5f1d
Author: jamiesensei <jamiesensei>
Date:   Fri, 20 Jun 2008 21:43:06 +0800
Tag:    v2.0.0-rc1

MDL-14754 "rename and reorder quiz reports tabs" added new db table quiz_report that lists reports and has a field for their display order. Standard reports are automatically added to table. Reports that are not on disk are ignored.

commit 7cdd8b2258ebc2a3a22af1b3cb0fe580e89977e7
Author: jamiesensei <jamiesensei>
Date:   Fri, 20 Jun 2008 17:11:08 +0800
Tag:    v2.0.0-rc1

MDL-14191 "Add db folder for db installation / upgrade" and MDL-14193 "Automatic processing of access.php for adding / upgrading report capabilities" New plug in capabilities for quiz reports.

commit 0b8953aec3614177e6e39d0087b355fc83217c07
Author: jamiesensei <jamiesensei>
Date:   Thu, 19 Jun 2008 23:24:27 +0800
Tag:    v2.0.0-rc1

MDL-15165 "Essay quiz Manual grading "these are no attempts to show" when there are actually attempts" - not resolved. But while reviewing the query I found a LIMIT clause in sql that I've replace with params to the get_records_sql function. Also made the logic in attempt_sql method more robust.

commit 8b2f8253ad9140c4aa101d959d557886424b5671
Author: jamiesensei <jamiesensei>
Date:   Thu, 19 Jun 2008 22:03:24 +0800
Tag:    v2.0.0-rc1

MDL-15264 "Bar graph image missed when group with no attempts selected" added a query to check for sure that there are some grades there to display in the graph. Also now displaying grades for all groups a user has permission to view - but only if that is up to 4 groups and only if there are less than 500 grades total.

commit e72efdd4264452b201f39a8cd063de6801d9d998
Author: jamiesensei <jamiesensei>
Date:   Wed, 18 Jun 2008 19:38:17 +0800
Tag:    v2.0.0-rc1

MDL-15268 "Content for Quiz Statistics report table" adding more if conditions to only display stuff when the calculations are possible. This depends on how many attempts there have been and how many questions there are.

commit f44d7d467b5c807a64d62bb2a8b2dee157206346
Author: jamiesensei <jamiesensei>
Date:   Tue, 17 Jun 2008 22:14:23 +0800
Tag:    v2.0.0-rc1

MDL-15268 "Content for Quiz Statistics report table" some columns of Quiz Statistics report table only make sense if there is more than one question in the quiz. Adding an if condition.

commit 74af927e51590c86e65e08096e6782917bc305f0
Author: jamiesensei <jamiesensei>
Date:   Tue, 17 Jun 2008 00:19:07 +0800
Tag:    v2.0.0-rc1

MDL-15268 "Content for Quiz Statistics report table" little bit of css styling of columns

commit f8d4e7b16bf593bfc66b0a5ac30cdcfc50530bfe
Author: jamiesensei <jamiesensei>
Date:   Mon, 16 Jun 2008 23:46:46 +0800
Tag:    v2.0.0-rc1

MDL-15268 "Content for Quiz Statistics report table" more columns of Quiz Statistics report table.

commit 455c3efa137366539bec9a98eee0c98e356474f8
Author: jamiesensei <jamiesensei>
Date:   Mon, 16 Jun 2008 21:59:30 +0800
Tag:    v2.0.0-rc1

MDL-14204 "Content for Quiz Statistics report table - Random_guess_score" oops ought to give that function name a 'question_' prefix

commit 6f51ed72be264b772d7a75f6e0ba3fba01917d88
Author: jamiesensei <jamiesensei>
Date:   Mon, 16 Jun 2008 21:29:00 +0800
Tag:    v2.0.0-rc1

MDL-14204 "Content for Quiz Statistics report table - Random_guess_score" added method random_guess_score to question type objects and a new function in questionlib that calls the question type method.

commit c025084022a44158b0f9b6b97177fb2da804fd57
Author: jamiesensei <jamiesensei>
Date:   Sun, 15 Jun 2008 19:58:16 +0800
Tag:    v2.0.0-rc1

MDL-14203 "split report into two seperate reports - Quiz Statistics report and Individual Item Analysis report" added start of "Quiz structure analysis" table

commit 26a29b1ab5516f330b43faac6980eb30ed3b99e5
Author: jamiesensei <jamiesensei>
Date:   Sun, 15 Jun 2008 19:52:07 +0800
Tag:    v2.0.0-rc1

MDL-15250 "Adding a new function quiz_question_action_icons that outputs a string of html"

commit f36a330892a0b7236114ed986673fd4b668ca833
Author: jamiesensei <jamiesensei>
Date:   Sat, 14 Jun 2008 21:18:14 +0800
Tag:    v2.0.0-rc1

MDL-14187 "Improve tablelib - improve api and add functionality to download table contents in a variety of formats - XLS, ODS and CSV" initialize array.

commit 1f9ca535fd2064f4c48d23f790ebaa16bfa277e8
Author: jamiesensei <jamiesensei>
Date:   Fri, 13 Jun 2008 22:30:35 +0800
Tag:    v2.0.0-rc1

MDL-14187 "Improve tablelib - improve api and add functionality to download table contents in a variety of formats - XLS, ODS and CSV" moved format row method and related methods and properties onto parent class to make it available for use for tables that don't use the functionality in table_sql

commit b3db36202d259fd9241d611bdee24b5ce41fbc8e
Author: jamiesensei <jamiesensei>
Date:   Thu, 12 Jun 2008 22:36:19 +0800
Tag:    v2.0.0-rc1

MDL-14203 "split report into two seperate reports - Quiz Statistics report and Individual Item Analysis report" checking this file in although it is not used yet. It is included in report.php.

commit 040c36e37fd92b95792e13595957be3bd1a9f9fd
Author: jamiesensei <jamiesensei>
Date:   Wed, 11 Jun 2008 23:31:42 +0800
Tag:    v2.0.0-rc1

MDL-14203 "split report into two seperate reports - Quiz Statistics report and Individual Item Analysis report" added calculations for CIC, ER and SE.

commit 08a7ead5d1bb755df95a13b93641985ffc6f4a20
Author: jamiesensei <jamiesensei>
Date:   Wed, 11 Jun 2008 02:15:19 +0800
Tag:    v2.0.0-rc1

MDL-14203 "split report into two seperate reports - Quiz Statistics report and Individual Item Analysis report" added CIC, ER and SE calculations. Calculation needs debugging.

commit 0c1c764e8257d6db589ed0d89371d4b49b8972d7
Author: jamiesensei <jamiesensei>
Date:   Wed, 11 Jun 2008 00:18:10 +0800
Tag:    v2.0.0-rc1

MDL-14203 "split report into two seperate reports - Quiz Statistics report and Individual Item Analysis report" started quiz statistics report in directory 'statistics'

commit 5bb614fec540aaf3ea2d3767ef00108f970e0f0f
Author: jamiesensei <jamiesensei>
Date:   Tue, 10 Jun 2008 18:24:15 +0800
Tag:    v2.0.0-rc1

MDL-14821 "Quiz: report overview page is not XHTML compliant" wrapped hidden form params in div with style 'display:none'.

commit 8673a566150c2eeea9662e023a1c0f28507ff114
Author: jamiesensei <jamiesensei>
Date:   Mon, 09 Jun 2008 21:27:31 +0800
Tag:    v2.0.0-rc1

MDL-15113 "quiz dml conversion" - fixing some sql broken during the conversion and removing unnecessary comma seperated list of ids where there are arrays of ids that can be used instead.

commit 9575899294a9590630718532ac31616c15eb3fe5
Author: jamiesensei <jamiesensei>
Date:   Sat, 07 Jun 2008 21:56:42 +0800
Tag:    v2.0.0-rc1

MDL-15180 "moved form to the top of the page"

commit 134cf8ae00e2f809cfc191206091ac788e07035d
Author: jamiesensei <jamiesensei>
Date:   Sat, 07 Jun 2008 20:56:58 +0800
Tag:    v2.0.0-rc1

MDL-14821 "Quiz: report overview page is not XHTML compliant" gave the fieldsets in the form different names to avoid html id attribute conflict.

commit aa17ea53c4dc880398d0ceb58432c3799008bad1
Author: jamiesensei <jamiesensei>
Date:   Fri, 06 Jun 2008 22:59:24 +0800
Tag:    v2.0.0-rc1

MDL-15150 "Quiz Report broken in course without students" also now displaying a message when there are no attempts.

commit a4ee9a602d90a7fc8020ac972e65aaeffa5bd6b6
Author: jamiesensei <jamiesensei>
Date:   Fri, 06 Jun 2008 22:03:55 +0800
Tag:    v2.0.0-rc1

MDL-15150 "Quiz Report broken in course without students" added warning message if there are no students in course yet.

commit 181608b708aa6a731dd4e7b5c98d91f2291de9e2
Author: jamiesensei <jamiesensei>
Date:   Fri, 06 Jun 2008 21:21:50 +0800
Tag:    v2.0.0-rc1

MDL-15092 "Quiz overview report won't display if there are more than 29 questions" fixed this by going back to the old way of fetching data for display in the table. However still use table JOINs when user wants to sort by question grade. The user can sort by a maximum of two columns at once so the JOINs will not exceed the limit.

commit c35f3afcf12c35ff5ff804b96a8aa6c2a55e1822
Author: jamiesensei <jamiesensei>
Date:   Fri, 06 Jun 2008 20:09:14 +0800
Tag:    v2.0.0-rc1

MDL-15170 "convert to use new tablelib api"

commit 20e1f1c0ddf4bc6e6eb029790c0206c74d66ffb9
Author: jamiesensei <jamiesensei>
Date:   Fri, 06 Jun 2008 20:03:09 +0800
Tag:    v2.0.0-rc1

MDL-14187 "Improve tablelib - improve api and add functionality to download table contents in a variety of formats - XLS, ODS and CSV"

commit f198d0bda7cda78eb8af0a4ce76b08b129658ae9
Author: jamiesensei <jamiesensei>
Date:   Fri, 30 May 2008 20:23:10 +0800
Tag:    v2.0.0-rc1

MDL-15047 "Quiz overview report download is broken - patch" fixed.

commit f17a34b5efeda8e7eaf5122640b67187e4f56c15
Author: jamiesensei <jamiesensei>
Date:   Thu, 29 May 2008 22:14:27 +0800
Tag:    v2.0.0-rc1

MDL-15011 "grading report : allow user to select to grade next 10 ungraded attempts" added a new link and options to the grading report page to display only the next 10 ungraded attempts to grade. Also some fixes for faulty sql for ungraded option which was not respecting the users groups selection.

commit d842c35907ace0ded91752646b99b012c93ffb7b
Author: jamiesensei <jamiesensei>
Date:   Mon, 26 May 2008 22:38:48 +0800
Tag:    v2.0.0-rc1

MDL-15002 "grading report : notice from quiz_num_attempt_summary about how many total attempts there are on the quiz and how many in this group would make UI clearer"  oops. Put the clear:both in the wrong place.

commit ee5163b051bd2f4b3111e726bfe1d748eb46f631
Author: jamiesensei <jamiesensei>
Date:   Mon, 26 May 2008 22:26:24 +0800
Tag:    v2.0.0-rc1

MDL-15002 "grading report : notice from quiz_num_attempt_summary about how many total attempts there are on the quiz and how many in this group would make UI clearer" added call to function and fixed centering of notice on overview and grading report by adding a clear:left to stop the centering being affected by the groups menu.

commit a76a131ab57051e88a67215433b7780c1499f321
Author: jamiesensei <jamiesensei>
Date:   Mon, 26 May 2008 21:18:46 +0800
Tag:    v2.0.0-rc1

MDL-12824 "Essay type of quiz questions needs to color mark which students have been graded and which have NOT"

commit f522bf51be82f4aa965f93b75e5b0f113cf81f0d
Author: jamiesensei <jamiesensei>
Date:   Mon, 26 May 2008 20:51:04 +0800
Tag:    v2.0.0-rc1

MDL-14988 "tables have been hardcoded with a prefix of "mdl" - causing an error." Ooops!

commit 686e60204712dd98d08d584d0e01ef3edb9b54f3
Author: jamiesensei <jamiesensei>
Date:   Mon, 26 May 2008 20:47:42 +0800
Tag:    v2.0.0-rc1

MDL-12824 "Essay type of quiz questions needs to color mark which students have been graded and which have NOT"

commit db0cc0fce75679b3512e2bbf0ac9eb778f62343f
Author: jamiesensei <jamiesensei>
Date:   Mon, 26 May 2008 19:50:51 +0800
Tag:    v2.0.0-rc1

MDL-15000 "Moodle url method remove_params doesn't actually remove anything" Fixed.

commit 720be6f2c3bdf5b075336e42643dbd6f4da5290e
Author: jamiesensei <jamiesensei>
Date:   Mon, 26 May 2008 19:39:51 +0800
Tag:    v2.0.0-rc1

MDL-5241 "When manually grading, identity questions by their number within the quiz as well as by question name"

commit a59eb2b6a8e569ea5777f6cfa1d9aab9669bb79f
Author: jamiesensei <jamiesensei>
Date:   Fri, 23 May 2008 21:14:00 +0800
Tag:    v2.0.0-rc1

MDL-12547 "allow manual quiz grading to sort by groups" added code to select which group to grade.

commit f44e4d14047071a87a605f93074ffc9ef08c0696
Author: jamiesensei <jamiesensei>
Date:   Thu, 22 May 2008 21:29:19 +0800
Tag:    v2.0.0-rc1

MDL-14943 "moodle_url : need way to add extra params when outputting params as hidden fields for forms" added new optional param to method hidden_params_out

commit b392a56cab72ee71f529645f538ad120d8be850b
Author: jamiesensei <jamiesensei>
Date:   Fri, 16 May 2008 22:56:23 +0800
Tag:    v2.0.0-rc1

MDL-14844 "Quiz Report: Bar Graph doesn't displayed maximum grade" Now using php ceil function to round up $bands as in some cases it could be a non integer.

commit ca3597482787257206872f3b476e810d6d757aae
Author: jamiesensei <jamiesensei>
Date:   Thu, 15 May 2008 21:59:52 +0800
Tag:    v2.0.0-rc1

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.

commit e649d4b12071d12f1ef56280466ad831570570c5
Author: jamiesensei <jamiesensei>
Date:   Thu, 15 May 2008 20:54:01 +0800
Tag:    v2.0.0-rc1

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.

commit aad5b0fca94bbc278f754634134a3839267ceb36
Author: jamiesensei <jamiesensei>
Date:   Thu, 15 May 2008 20:27:27 +0800
Tag:    v2.0.0-rc1

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.

commit a56865318547c8c911253c7ab5436681f5a0eacc
Author: jamiesensei <jamiesensei>
Date:   Thu, 15 May 2008 19:01:23 +0800
Tag:    v2.0.0-rc1

MDL-14844 "Quiz Report: Bar Graph doesn't displayed maximum grade" added perfect grade to last  'band' on graph.

commit c187720b742a5abba012806a9ac9b2c64be0cc40
Author: jamiesensei <jamiesensei>
Date:   Wed, 14 May 2008 19:18:04 +0800
Tag:    v2.0.0-rc1

MDL-14201 "Summary graph" - small improvement to robustness for sql.

commit 7d4d5cb918076f623978c0c1fd59d427531e2994
Author: jamiesensei <jamiesensei>
Date:   Wed, 14 May 2008 17:17:09 +0800
Tag:    v2.0.0-rc1

MDL-14822 "Quiz Report: the quiz report do not find the first attempt" needed to include quiz id in WHERE conditions.

commit 51ca9f3095b5862908759da8a3123244a1a082c5
Author: jamiesensei <jamiesensei>
Date:   Tue, 13 May 2008 23:05:35 +0800
Tag:    v2.0.0-rc1

MDL-14201 Summary graph in Overview Report - needed a little more spacing between bars of graph in some cases.

commit c5fedf065c395d0aec8c46deb0b76989a5890689
Author: jamiesensei <jamiesensei>
Date:   Fri, 09 May 2008 21:59:36 +0800
Tag:    v2.0.0-rc1

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"

commit c37415a08df2540ab5bdb36c5cce88dd96f5edc3
Author: jamiesensei <jamiesensei>
Date:   Fri, 09 May 2008 14:12:57 +0800
Tag:    v2.0.0-rc1

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.

commit 16a4c120986a38d234df3eb7cf66ef93aa3e39b0
Author: jamiesensei <jamiesensei>
Date:   Thu, 08 May 2008 18:11:06 +0800
Tag:    v2.0.0-rc1

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.

commit 44eb3b6e9eb0c5174dadb07afeddf5afaa743b26
Author: jamiesensei <jamiesensei>
Date:   Thu, 08 May 2008 17:53:31 +0800
Tag:    v2.0.0-rc1

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.

commit b621e1a006d4d858ecc14f121878310cd410bbf3
Author: jamiesensei <jamiesensei>
Date:   Thu, 08 May 2008 17:35:08 +0800
Tag:    v2.0.0-rc1

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.

commit 2fecd85ba69a174a56d5343a05be5007a3086928
Author: jamiesensei <jamiesensei>
Date:   Thu, 08 May 2008 00:00:56 +0800
Tag:    v2.0.0-rc1

MDL-14734 "improve interface for deleting attempts"

commit 8b87ab000003e7cc830fb959b72d80de79b84cd2
Author: jamiesensei <jamiesensei>
Date:   Wed, 07 May 2008 22:38:18 +0800
Tag:    v2.0.0-rc1

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.

commit 9b617d921079c8f84fc59592bbfa651e819d8be3
Author: jamiesensei <jamiesensei>
Date:   Wed, 07 May 2008 22:01:04 +0800
Tag:    v2.0.0-rc1

For the overview report : MDL-14199 "Option to only show / export final grade" fixing a notice warning from the form definition

commit f4ed09faae121e2dfe174968eb34b47d8403107a
Author: jamiesensei <jamiesensei>
Date:   Wed, 07 May 2008 02:04:03 +0800
Tag:    v2.0.0-rc1

For the overview report : MDL-14199 "Option to only show / export final grade" and MDL-14198 "Make it clear which student attempt gives the final grade, if the scoring method is first, last or highest score" fixed a small problem I noticed in this patch.

commit 4469159e2df8dc58a0c2f6afe8263cff70888524
Author: jamiesensei <jamiesensei>
Date:   Wed, 07 May 2008 01:34:39 +0800
Tag:    v2.0.0-rc1

For the overview report : MDL-14199 "Option to only show / export final grade" and MDL-14198 "Make it clear which student attempt gives the final grade, if the scoring method is first, last or highest score"

commit 0217f9327589dff9879567e64e87882f98b8963d
Author: jamiesensei <jamiesensei>
Date:   Mon, 05 May 2008 21:12:11 +0800
Tag:    v2.0.0-rc1

For overview report  - MDL-14185 "Switch to using formslib and improve the interface" and MDL-14186 "Switch to using moodle_url and eliminate the use of $SESSION global"

commit 1a85336b79e3379c9d1898d2d9bdbd6ab114b315
Author: jamiesensei <jamiesensei>
Date:   Sat, 03 May 2008 21:56:32 +0800
Tag:    v2.0.0-rc1

non consequential, little typo.

commit 2badf2e6ecbe4a26a8fccba81deeeedb53453389
Author: jamiesensei <jamiesensei>
Date:   Sat, 03 May 2008 21:06:49 +0800
Tag:    v2.0.0-rc1

MDL-14677 "should rescale the grades displayed for each question in the detailed marks view of the overview report so that all grades add up to the sum total grade" used quiz_rescale_grades function to rescale the grade properly before displaying it. Also this patch includes some general clean up and refactoring of overview report.

commit 32ba2f0dd4ad1cd6947e601369e9dabd66f2c7e8
Author: jamiesensei <jamiesensei>
Date:   Sat, 03 May 2008 00:11:30 +0800
Tag:    v2.0.0-rc1

MDL-14663 "link_to_popup_window displays 'Click here....' as the link text if you pass in 0 as the link text." Also fixing the problem in link_to_popup_window function. Test for null instead of empty.

commit e49906d3b1aa656aea154741271cf65e6aa6b428
Author: jamiesensei <jamiesensei>
Date:   Fri, 02 May 2008 23:26:47 +0800
Tag:    v2.0.0-rc1

MDL-14666 "overview report is very inefficient when view detailed marks is selected. There are several sql queries per row."

commit 92c5499a847f446803eecedf68b9e7a4c381751a
Author: jamiesensei <jamiesensei>
Date:   Fri, 02 May 2008 23:11:59 +0800
Tag:    v2.0.0-rc1

MDL-14666 "overview report is very inefficient when view detailed marks is selected. There are several sql queries per row." Made a new query outside the loop for adding rows.

commit e0b01669cedb510936fbae37fbc9731c5d766fe9
Author: jamiesensei <jamiesensei>
Date:   Fri, 02 May 2008 22:21:33 +0800
Tag:    v2.0.0-rc1

MDL-14664 "sorting by question mark when viewing detailled mark in overview quiz report not working" Found that the problem ocurred when attempt.id != attempt.uniqueid as the sql was using the wrong field to join the question records.

commit 85a8704fe27a6f293d716e13fbc621b12783cad8
Author: jamiesensei <jamiesensei>
Date:   Fri, 02 May 2008 21:27:49 +0800
Tag:    v2.0.0-rc1

MDL-14663 "link_to_popup_window displays 'Click here....' as the link text if you pass in 0 as the link text." Solved this by formatting the grade using number_format to display the grade with a number of decimal places. So for 0 we display something like 0.00 and this displays OK in link_to_popup_window.

commit f33c438e5c5932e22d73b188d6bd434dcde886f6
Author: jamiesensei <jamiesensei>
Date:   Thu, 01 May 2008 15:08:28 +0800
Tag:    v2.0.0-rc1

MDL-13678 "Change default number of rows per page on quiz reports" Made a new constant to say how many attempts / questions to list per page by default.

commit 2018fb15ae94af97b06c57504406b097b319e925
Author: jamiesensei <jamiesensei>
Date:   Wed, 30 Apr 2008 16:22:20 +0800
Tag:    v2.0.0-rc1

MDL-7772 "Quiz results overview: not all combinations of Show attempts with ... & Groups settings work properly" Second patch, found a bug while merging and testing in 1.9.

commit 86a1f1d5b9526ebbe9938fe9ccf1890d79ef63ad
Author: jamiesensei <jamiesensei>
Date:   Wed, 30 Apr 2008 12:47:39 +0800
Tag:    v2.0.0-rc1

MDL-7772 "Quiz results overview: not all combinations of Show attempts with ... & Groups settings work properly" This patch is based on Ann Adamcik's latest code, thanks Ann. Made a couple of small changes.

commit 58ffdbb883f24f18b37243d0486fc9a019a01dd1
Author: jamiesensei <jamiesensei>
Date:   Wed, 23 Apr 2008 14:45:11 +0800
Tag:    v2.0.0-rc1

MDL-14471 - when attempt data is generated by a script then sometimes quiz_get_latest_attempt_by_user fetches the wrong attempt since timestart for the attempt is not a second apart from the last attempt - "patch to quiz/locallib.php function quiz_get_latest_attempt_by_user which makes the query simpler and also makes it more robust.

commit e89e09d21ddda5d285cffa7066ba8ff34aaaa80e
Author: jamiesensei <jamiesensei>
Date:   Wed, 09 Apr 2008 21:01:40 +0800
Tag:    v2.0.0-rc1

MDL-14283 attempt in mdl_question_states is always 1 - typo in attempt.php introduced in Tim's access rules refactor meant that attempt in quiz_attempts table was always set to 1. This meant that only one attempt was shown on the quiz/view.php page as well as causing other problems.

commit a18fbcfb50fc650b76f7456f64741fd949c5134e
Author: jamiesensei <jamiesensei>
Date:   Tue, 05 Feb 2008 21:14:46 +0900
Tag:    v2.0.0-rc1

MDL-13298 "Question bank displays always page 1 after adding new question" this was caused because the question creation page was redirecting back to the question back edit page and telling it to change to the category of the question that was just saved. This was causing the edit page to go back to page 0 of the new category. Now we only go back to page 0 if the category has actually changed. Merged from MOODLE_19_STABLE

commit 5111051663788a49f0b9cb1c1b0a14f7641a6342
Author: jamiesensei <jamiesensei>
Date:   Tue, 05 Feb 2008 20:27:02 +0900
Tag:    v2.0.0-rc1

MDL-13005 When trying to restore a course when you have more then one quiz and you choose only one quiz, the restore fails when trying to create categories and questions. Fixed this by ignoring module context level  q categories in backup when the course module has not already been restored. merged from MOODLE_19_STABLE

commit 9aa2d5013632411bdccb13d45921e3d6440f1fea
Author: jamiesensei <jamiesensei>
Date:   Tue, 05 Feb 2008 18:23:51 +0900
Tag:    v2.0.0-rc1

this function should work for all modules but forgot to remove 'quiz' from sql.

commit b667e698fd2da98629546167332bab22638f0df3
Author: jamiesensei <jamiesensei>
Date:   Fri, 25 Jan 2008 16:01:18 +0900
Tag:    v2.0.0-rc1

MDL-13156 "insert_category_and_question_ids() function name can cause name conflicts"  Fixed :

commit ede67707a6c05228a327003867a0d588ab6d2199
Author: jamiesensei <jamiesensei>
Date:   Fri, 18 Jan 2008 23:49:59 +0900
Tag:    v2.0.0-rc1

MDL-13034 fixes "insertion of question / category ids at the CONTEXT_MODULE level does not respect whether the instance of the module has been selected for backup" and cleans up code a little.

commit c56590192ad704693297d2d75e1a8058dbec31c3
Author: jamiesensei <jamiesensei>
Date:   Sun, 13 Jan 2008 17:30:39 +0900
Tag:    v2.0.0-rc1

whitespace clean up, removed all indentation with tabs and trailing white space

commit 6923c5546a22616c0d638286aa4e75d6db74ead8
Author: jamiesensei <jamiesensei>
Date:   Sat, 12 Jan 2008 17:50:32 +0900
Tag:    v2.0.0-rc1

MDL-12695 Symantec Norton internet security pop up blocker seems to be stopping user starting a quiz attempt - fixed this by using print_single_button which uses an onclick event to trigger a confirm dialogue, should work better even with popup blockers.

commit 3269de981ef4c22f5bbdb1fe8ea7bb7a1f317819
Author: jamiesensei <jamiesensei>
Date:   Sat, 12 Jan 2008 17:47:29 +0900
Tag:    v2.0.0-rc1

MDL-12906 add an optional parameter $jsconfirmmessage parameter to print_single_button

commit 2c44a3d39351201daca30f1ed803fc95046d6e72
Author: jamiesensei <jamiesensei>
Date:   Tue, 11 Dec 2007 12:24:35 +0900
Tag:    v2.0.0-rc1

MDL-12410 - a way to select which questions to export, includes debug messages

commit 0f6475b396273c311fc533b8c2c093171e7af706
Author: jamiesensei <jamiesensei>
Date:   Mon, 26 Nov 2007 22:32:23 +0900
Tag:    v2.0.0-rc1

fix for error message