Git commits in Moodle x.x.x by James Pratt

commit 1d75d9fe70357da6c23030703c5c4d6b509514fb
Author: James Pratt <me@jamiep.org>
Date:   Mon, 07 Apr 2014 19:53:31 +0800
Tag:    v2.7.0-beta

MDL-44981 quiz statistics report : Differentiating '0' and no response

commit bec7719c3ba4f6c5f796e7184bdb1b63c3c7c0b9
Author: James Pratt <me@jamiep.org>
Date:   Mon, 07 Apr 2014 18:02:30 +0800
Tag:    v2.7.0-beta

MDL-44980 quiz statistics report : break down by variants failing

commit 49dda8fe6ee75eed8beb83ae35f52511d22db6f9
Author: James Pratt <me@jamiep.org>
Date:   Tue, 25 Mar 2014 15:37:51 +0800
Tag:    v2.7.0-beta

MDL-44690 core_questions : amending unit tests

commit 58794ac9487f8a0559057c976116d74d7b672b8c
Author: James Pratt <me@jamiep.org>
Date:   Wed, 19 Mar 2014 19:22:35 +0800
Tag:    v2.7.0-beta

MDL-44690 core_questions : download of question steps data as csv file

commit fcdd04db0a1048dd4bfd86585287c284a9e0a753
Author: James Pratt <me@jamiep.org>
Date:   Wed, 12 Mar 2014 17:46:00 +0800
Tag:    v2.7.0-beta

MDL-44075 quiz_statistics : Various coding style / phpdocs fixes

commit ebb8de5d379445671ee33e9c2ef9f782d99e267d
Author: James Pratt <me@jamiep.org>
Date:   Tue, 11 Mar 2014 17:19:59 +0800
Tag:    v2.7.0-beta

MDL-44535 quiz_statistics : response analysis - limit tries counted

commit 038014c415f04583e3abf000533e9c2ffaf86441
Author: James Pratt <me@jamiep.org>
Date:   Tue, 11 Mar 2014 16:06:35 +0800
Tag:    v2.7.0-beta

MDL-41760 quiz_statistics : response analysis for first/last/all tries

commit 185aae5dbe73e73795cb246e9df64a744a5f4db8
Author: James Pratt <me@jamiep.org>
Date:   Fri, 07 Mar 2014 18:24:13 +0800
Tag:    v2.7.0-beta

MDL-44497 quiz responses report : error when no attempts

commit 9d3d859c7f6566e6eb57b284cf60a074e4386fbd
Author: James Pratt <me@jamiep.org>
Date:   Mon, 17 Feb 2014 18:31:36 +0800
Tag:    v2.7.0-beta

MDL-41759 quiz statistics : install.xml & upgrade.php difference

commit 3d6f2466d9f45feb54ccd23d4b54d969d288b42b
Author: James Pratt <me@jamiep.org>
Date:   Fri, 14 Feb 2014 16:40:52 +0800
Tag:    v2.7.0-beta

MDL-43479 quiz response analysis : suppress break down by variants

commit 99caa248a8085669e578e786d073a4789d157a05
Author: James Pratt <me@jamiep.org>
Date:   Thu, 13 Feb 2014 15:01:00 +0800
Tag:    v2.7.0-beta

MDL-43478 quiz responses report : display last / first / all tries

commit ac3e5ed7bab0962589afa9d82384af4080d1d433
Author: James Pratt <me@jamiep.org>
Date:   Wed, 12 Feb 2014 16:45:59 +0800
Tag:    v2.7.0-beta

MDL-41755 tablelib : added a function to add multiple rows at once

commit fc60441054abf78e1561f14583ec71e35907c7ea
Author: James Pratt <me@jamiep.org>
Date:   Thu, 02 Jan 2014 19:31:44 +0800
Tag:    v2.7.0-beta

MDL-43539 quiz statistics : coding error from progress bar

commit 4922e79f3e20d4909abf9bffa513676d807a9f5f
Author: James Pratt <me@jamiep.org>
Date:   Sat, 21 Dec 2013 16:50:19 +0800
Tag:    v2.7.0-beta

MDL-41759 quiz statistics : break down responses for each variant

commit 51e3ded838e78bb5ffc751213fbd4cf704c79f22
Author: James Pratt <me@jamiep.org>
Date:   Fri, 20 Dec 2013 12:22:47 +0800
Tag:    v2.7.0-beta

MDL-41758 quiz statistics : link to full break down of stats for slots

commit 4f7516f6e84bb9094f98c9253c9bda4ff5f24256
Author: James Pratt <me@jamiep.org>
Date:   Fri, 13 Dec 2013 19:51:55 +0800
Tag:    v2.7.0-beta

MDL-41756 (3) quiz statistics : test variant stats

commit 7cd9c85868bd9e6b5eef15c364d424286511e59e
Author: James Pratt <me@jamiep.org>
Date:   Fri, 13 Dec 2013 18:15:41 +0800
Tag:    v2.5.5

MDL-43369 : quiz statistics - average across attempts

commit b98bc5cb98c6ad89c30fc96a122519c3a07506d2
Author: James Pratt <me@jamiep.org>
Date:   Fri, 13 Dec 2013 16:51:07 +0800
Tag:    v2.6.2

MDL-43369 : quiz statistics - average across attempts where item seen

commit 8e328617863ce713f4acf8f07e60ed16ceb82d4b
Author: James Pratt <me@jamiep.org>
Date:   Fri, 13 Dec 2013 16:51:07 +0800
Tag:    v2.7.0-beta

MDL-43369 : quiz statistics - average across attempts where item seen

commit ef81a7c30ea3542d54c2bc16dc015a09bd4fc38f
Author: James Pratt <me@jamiep.org>
Date:   Wed, 11 Dec 2013 18:58:33 +0800
Tag:    v2.7.0-beta

MDL-41754 (3) quiz statistics : need to escape core_php_time_limit

commit c3e2e754dd4ce93ed9542c363b86e78e9d04313b
Author: James Pratt <me@jamiep.org>
Date:   Wed, 11 Dec 2013 17:59:27 +0800
Tag:    v2.7.0-beta

MDL-43338 quiz statistics : refactoring question statistics code

commit df9ddae6866b77b2884cbf69a093ffe90bb8068d
Author: James Pratt <me@jamiep.org>
Date:   Sun, 01 Dec 2013 18:24:42 +0800
Tag:    v2.7.0-beta

MDL-41757 quiz statistics : limit subq and variant stat rows

commit 1239d2877634fa9ec2ff2b33d3f0d4b74ae26093
Author: James Pratt <me@jamiep.org>
Date:   Sat, 30 Nov 2013 19:50:15 +0800
Tag:    v2.7.0-beta

MDL-41756 (2) quiz statistics : break down question stats by variant

commit aa05ae5da3fc27c9b0fb9e94aa1288cc48411469
Author: James Pratt <me@jamiep.org>
Date:   Fri, 29 Nov 2013 12:24:00 +0800
Tag:    v2.7.0-beta

MDL-41756 (1) quiz statistics : use new method increment_progress

commit a69c78724e6ff09434515802efabbee3e659fc7b
Author: James Pratt <me@jamiep.org>
Date:   Thu, 28 Nov 2013 18:57:02 +0800
Tag:    v2.6.1

MDL-42957 (3) quiz statistics : removing assertEquals(time(), ..) tests

commit 7d6b28d87adde6acb21e7444765df0ba13ca85b1
Author: James Pratt <me@jamiep.org>
Date:   Thu, 28 Nov 2013 18:57:02 +0800
Tag:    v2.7.0-beta

MDL-42957 (3) quiz statistics : removing assertEquals(time(), ..) tests

commit 7968f77edb6dd9d9ee49b2c6b76cbfe302254eb8
Author: James Pratt <me@jamiep.org>
Date:   Thu, 28 Nov 2013 18:13:26 +0800
Tag:    v2.6.1

MDL-42957 (2) quiz statistics : Hardcoded sql LIMIT clause

commit 487e7e66022360ffee34f19478e131024510b51c
Author: James Pratt <me@jamiep.org>
Date:   Thu, 28 Nov 2013 18:13:26 +0800
Tag:    v2.7.0-beta

MDL-42957 (2) quiz statistics : Hardcoded sql LIMIT clause

commit 5267a0519133ca447f8d56c1d2aa0eb158ede0bf
Author: James Pratt <me@jamiep.org>
Date:   Wed, 27 Nov 2013 13:49:19 +0800
Tag:    v2.4.8

MDL-43079 quiz statistics : fix stats graph when all grades zero

commit d8ca0c903c0c034bd704da0f7ca5d845e6dc973a
Author: James Pratt <me@jamiep.org>
Date:   Wed, 27 Nov 2013 13:49:19 +0800
Tag:    v2.5.4

MDL-43079 quiz statistics : fix stats graph when all grades zero

commit 7ef639c709b122be34a2792c510cf94fcd57eb50
Author: James Pratt <me@jamiep.org>
Date:   Wed, 27 Nov 2013 13:49:19 +0800
Tag:    v2.6.1

MDL-43079 quiz statistics : fix stats graph when all grades zero

commit 34292e218d455225fb3498c1f5e340298c3b18c4
Author: James Pratt <me@jamiep.org>
Date:   Wed, 27 Nov 2013 13:49:19 +0800
Tag:    v2.7.0-beta

MDL-43079 quiz statistics : fix stats graph when all grades zero

commit eb50c6e198d53727054f4d28bce648bccd834120
Author: James Pratt <me@jamiep.org>
Date:   Fri, 22 Nov 2013 12:45:31 +0800
Tag:    v2.7.0-beta

MDL-43027 core progress : new method keeps track of progress internally

commit e4b17111a4b44946557e776722d026518f2be32f
Author: James Pratt <me@jamiep.org>
Date:   Tue, 19 Nov 2013 22:11:50 +0800
Tag:    v2.6.1

MDL-42957 quiz statistics : Hardcoded sql LIMIT clause

commit a9e2f21125843b7d7def8accb61ca80fc52e9cfc
Author: James Pratt <me@jamiep.org>
Date:   Tue, 19 Nov 2013 22:11:50 +0800
Tag:    v2.7.0-beta

MDL-42957 quiz statistics : Hardcoded sql LIMIT clause

commit 8da6fc9d57d1046dc196959051b949c9c3ed8c79
Author: James Pratt <me@jamiep.org>
Date:   Tue, 19 Nov 2013 21:07:05 +0800
Tag:    v2.7.0-beta

MDL-41754 (2) quiz statistics : using Sam's new progress classes

commit 809fdb83b1bf8e2d6573dc4044f45a10c7464e89
Author: James Pratt <me@jamiep.org>
Date:   Fri, 15 Nov 2013 13:18:06 +0800
Tag:    v2.7.0-beta

MDL-41754 (1) Progress tracking : moved from backup and restore to core

commit ec477ba1bbdb7c70bb05694866b5459debe50aff
Author: Jamie Pratt <me@jamiep.org>
Date:   Thu, 07 Nov 2013 18:28:58 +0800
Tag:    v2.6.0-rc1

MDL-42704 quiz statistics : SQL Errors under MSSQL

commit f16ed06c2ca2ed247aa6f564bab23f03040e9f51
Author: Jamie Pratt <me@jamiep.org>
Date:   Wed, 16 Oct 2013 20:40:04 +0800
Tag:    v2.6.0-rc1

MDL-42115 exception when there are no questions

commit 6dd9362e84e044a6578b120edd04897cc7fbc1f1
Author: Jamie Pratt <me@jamiep.org>
Date:   Mon, 30 Sep 2013 19:05:46 +0800
Tag:    v2.6.0-beta

MDL-41761 statistics should be calculable for last or highest attempts

commit d50b05e69642f099a8fe7530c48879395fbcfbb4
Author: Jamie Pratt <me@jamiep.org>
Date:   Fri, 27 Sep 2013 14:50:12 +0800
Tag:    v2.6.0-beta

MDL-41751 changes to api of question_response_analyser

commit 59abb70716c76558fc58b2aa4489f0b9d7b8e08f
Author: Jamie Pratt <me@jamiep.org>
Date:   Wed, 25 Sep 2013 14:27:55 +0800
Tag:    v2.6.0-beta

MDL-41752 question statistics class moved and improved

commit 522bef80308581b4cd9835cdd94219f444c35ea0
Author: Jamie Pratt <me@jamiep.org>
Date:   Wed, 25 Sep 2013 13:22:41 +0800
Tag:    v2.6.0-beta

MDL-41888 More comments

commit 933ac7497a82deaebc5992f2c8de67bf3c485176
Author: Jamie Pratt <me@jamiep.org>
Date:   Tue, 24 Sep 2013 18:03:36 +0800
Tag:    v2.6.0-beta

MDL-41888 allow for a blank string as format to mean not to show stat

commit 515b3ae6a7c33d848081e0956f0fcb2a9db09af2
Author: Jamie Pratt <me@jamiep.org>
Date:   Tue, 24 Sep 2013 17:33:07 +0800
Tag:    v2.6.0-beta

MDL-41752 question statistics class moved and improved

commit 7de1e35b758d18454e85b2aa390da24a7df9b2a0
Author: Jamie Pratt <me@jamiep.org>
Date:   Thu, 19 Sep 2013 16:55:24 +0800
Tag:    v2.6.0-beta

MDL-41888 separate out quiz statistics calculations from report code

commit e68e4ccfdcb5c33ddef61f633408650572e4ebc3
Author: Jamie Pratt <me@jamiep.org>
Date:   Wed, 11 Sep 2013 19:54:22 +0800
Tag:    v2.6.0-beta

MDL-41725 move db tables from quiz stats report

commit 764f6153d18710d11e2862d284a9949e0905d191
Author: Jamie Pratt <me@jamiep.org>
Date:   Tue, 03 Sep 2013 21:15:59 +0800
Tag:    v2.6.0-beta

MDL-41572 pass through question behaviour vars with correct prefix

commit f7f596a2a7eb434bd8c5bf7987fd4a85e5373a2f
Author: Jamie Pratt <me@jamiep.org>
Date:   Tue, 03 Sep 2013 20:11:47 +0800
Tag:    v2.6.0-beta

MDL-41571 move forced_choices_selection_strategy

commit f8f37f1edc7935733ecba9f487fff67b0c144aaf
Author: Jamie Pratt <me@jamiep.org>
Date:   Tue, 03 Sep 2013 19:55:26 +0800
Tag:    v2.6.0-beta

MDL-41570 fixes match qtype's prepare_simulated_post_data

commit 707825265dd3a41d9119a7b440bf3b6385c1c128
Author: Jamie Pratt <me@jamiep.org>
Date:   Tue, 03 Sep 2013 13:15:00 +0800
Tag:    v2.6.0-beta

MDL-41540 remove use of $USER

commit 3652dddda85a86f514eb6b30e3e4558a258354c3
Author: Jamie Pratt <me@jamiep.org>
Date:   Fri, 09 Aug 2013 14:39:44 +0800
Tag:    v2.6.0-beta

MDL-40077 quiz stats : Test stats as expected for csv file responses

commit 09ff04bcfec73ac88e3eb1f92ab06f5967f5eedf
Author: Jamie Pratt <me@jamiep.org>
Date:   Sat, 20 Jul 2013 14:21:35 +0800
Tag:    v2.6.0-beta

MDL-40778 clear cache for random questions between tests

commit e39a2faa58d7cadaa80c4b3402bb69c517c01dd3
Author: Jamie Pratt <me@jamiep.org>
Date:   Thu, 18 Jul 2013 11:44:46 +0800
Tag:    v2.6.0-beta

MDL-40729 check marks and grades from quiz attempts

commit da6bb0c50609e4cf29d3581fe22a5293bf2e356f
Author: Jamie Pratt <me@jamiep.org>
Date:   Wed, 17 Jul 2013 19:35:25 +0800
Tag:    v2.6.0-beta

MDL-40076 Build entire quiz attempts by supplying attempt

commit a3c5150b2a70a36bd280d5f0e539aa3f7d9edeab
Author: Jamie Pratt <me@jamiep.org>
Date:   Wed, 17 Jul 2013 19:23:06 +0800
Tag:    v2.6.0-beta

MDL-40714 pass through simulated data to sub questions

commit c2b051c7aa5e40b19e1c2d78f6a75c711f17dd41
Author: Jamie Pratt <me@jamiep.org>
Date:   Sun, 14 Jul 2013 20:26:35 +0800
Tag:    v2.6.0-beta

MDL-40542 need to be able to select variant

commit c2f2e7f008d899f48421325d4bc2295e216a21a7
Author: Jamie Pratt <me@jamiep.org>
Date:   Sun, 14 Jul 2013 20:08:53 +0800
Tag:    v2.6.0-beta

MDL-40541 need to be able to select random q

commit 388f04734599b95c6fbd73b1df987a5354a72f16
Author: Jamie Pratt <me@jamiep.org>
Date:   Sun, 14 Jul 2013 19:23:48 +0800
Tag:    v2.6.0-beta

MDL-40543 convert from simulated responses

commit 2baf8e8a0b822a7980d7af58294daae2eccff744
Author: Jamie Pratt <me@jamiep.org>
Date:   Sat, 06 Jul 2013 14:23:17 +0800
Tag:    v2.6.0-beta

MDL-40074 quiz attempt walk through test

commit 1cd7c92ecec60cfb13779acdc081c485add82f50
Author: Jamie Pratt <me@jamiep.org>
Date:   Sat, 06 Jul 2013 14:22:44 +0800
Tag:    v2.6.0-beta

MDL-40074 refactoring of quiz code

commit 76149901a93e9afb18a9bc0cb32dcea7570ba946
Author: Jamie Pratt <me@jamiep.org>
Date:   Tue, 02 Jul 2013 21:07:23 +0800
Tag:    v2.6.0-beta

MDL-40449 use data generator to create random qs

commit 4eff6ed9fe64229abbe4633daaa2db43ba841229
Author: Jamie Pratt <me@jamiep.org>
Date:   Tue, 02 Jul 2013 13:43:14 +0800
Tag:    v2.4.6

MDL-40388 Reset globals after each unit test

commit 161d67d8df7797cd52d43fa26db2a68a6c8c8d14
Author: Jamie Pratt <me@jamiep.org>
Date:   Tue, 02 Jul 2013 13:43:14 +0800
Tag:    v2.5.2

MDL-40388 Reset globals after each unit test

commit 596ea56f6b4cdf1964b1acdd4670605f7e02b9f1
Author: Jamie Pratt <me@jamiep.org>
Date:   Tue, 02 Jul 2013 13:43:14 +0800
Tag:    v2.6.0-beta

MDL-40388 Reset globals after each unit test

commit 01c898ecec0e0d8700a3c8a30f80f09af6561f85
Author: Jamie Pratt <me@jamiep.org>
Date:   Mon, 24 Jun 2013 15:06:01 +0800
Tag:    v2.6.0-beta

MDL-40171 question saving test

commit 304343830b4e38870d7d91325373192a4b8cce1c
Author: Jamie Pratt <me@jamiep.org>
Date:   Thu, 20 Jun 2013 14:18:42 +0800
Tag:    v2.4.6

MDL-40176 mock_submit method for testing

commit 81e01645d860cee7f382d2e51dbf1ab6f04843b1
Author: Jamie Pratt <me@jamiep.org>
Date:   Thu, 20 Jun 2013 14:18:42 +0800
Tag:    v2.5.2

MDL-40176 mock_submit method for testing

commit faaf80fadbfbc0353adc1240224135ecd5de2168
Author: Jamie Pratt <me@jamiep.org>
Date:   Thu, 20 Jun 2013 14:18:42 +0800
Tag:    v2.6.0-beta

MDL-40176 mock_submit method for testing

commit 397acdfda21852f23c3edbb83716db7260120b6b
Author: Jamie Pratt <me@jamiep.org>
Date:   Mon, 29 Apr 2013 19:16:04 +0800
Tag:    v2.5.0-rc1

MDL-39230 Question bank - refactor xml import

commit 9abb69aacb5b3d5cc1e048200e9ecff9f6613c56
Author: Jamie Pratt <me@jamiep.org>
Date:   Thu, 15 Dec 2011 15:38:42 +0800
Tag:    v2.2.1

MDL-30749 fixing typo referring to question instead of answer object

commit ed26baba6de90cbea7f22710297ba250447a367f
Author: Jamie Pratt <me@jamiep.org>
Date:   Thu, 15 Dec 2011 15:38:42 +0800
Tag:    v2.1.4

MDL-30749 fixing typo referring to question instead of answer object

commit a24e35701ffc5a7e73243a9756aba27505f4fd2f
Author: Jamie Pratt <me@jamiep.org>
Date:   Thu, 15 Dec 2011 15:38:42 +0800
Tag:    v2.3.0-beta

MDL-30749 fixing typo referring to question instead of answer object

commit 76e6cf5d84f25001d74dd35d62d5376b22676e11
Author: Jamie Pratt <me@jamiep.org>
Date:   Thu, 29 Sep 2011 11:14:08 +0800
Tag:    v2.2.0-beta

MDL-29558 question preview: limit variants drop-down to the first 100

commit fc15f0837a898dc886c2502657dd4c7042eb3d36
Author: Jamie Pratt <me@jamiep.org>
Date:   Thu, 29 Sep 2011 11:14:08 +0800
Tag:    v2.1.2

MDL-29558 question preview: limit variants drop-down to the first 100

commit 1ae299f5f3bb79d4e45726baec0afce746cd03a1
Author: Jamie Pratt <me@jamiep.org>
Date:   Wed, 21 Sep 2011 14:15:23 +0800
Tag:    v2.2.0-beta

MDL-27919 Fixed a regression where I was seeing that after choosing "Overwrite" in a filemanager form component when subsequently trying to add another file the file picker would then immediately close upon opening.

commit 2df5a982993351e56ded0a6ed29a153d89dc5b72
Author: Jamie Pratt <me@jamiep.org>
Date:   Wed, 21 Sep 2011 14:15:23 +0800
Tag:    v2.1.3

MDL-27919 Fixed a regression where I was seeing that after choosing "Overwrite" in a filemanager form component when subsequently trying to add another file the file picker would then immediately close upon opening.

commit 913b3cb30c15b3cb2eb485a80f3edd35033b0c9c
Author: Jamie Pratt <me@jamiep.org>
Date:   Sun, 18 Sep 2011 14:57:09 +0800
Tag:    v2.2.0-beta

MDL-27919 also adding a callback to the filepicker when a file is overwritten but a file with the same name. This is not necessary in most cases but is instant and some code may expect a call to the function whether the url and / or file name has changed or not so it can update itself when the file changes.

commit cb28940596c44a6411a9b8ab19655c84d553c8c1
Author: Jamie Pratt <me@jamiep.org>
Date:   Sun, 18 Sep 2011 14:57:09 +0800
Tag:    v2.1.3

MDL-27919 also adding a callback to the filepicker when a file is overwritten but a file with the same name. This is not necessary in most cases but is instant and some code may expect a call to the function whether the url and / or file name has changed or not so it can update itself when the file changes.

commit 794cc7e1cf5ba5311bac27bb5d33d8ee6539fb47
Author: Jamie Pratt <me@jamiep.org>
Date:   Sun, 18 Sep 2011 14:22:35 +0800
Tag:    v2.2.0-beta

MDL-27919 Fixes 'undefined' message and similar problems when selecting a recent file, server file or when renaming a file being uploaded with the same name as a previous one.

commit 44915324c80f26187dfc7abd1567c80f18699368
Author: Jamie Pratt <me@jamiep.org>
Date:   Sun, 18 Sep 2011 14:22:35 +0800
Tag:    v2.1.3

MDL-27919 Fixes 'undefined' message and similar problems when selecting a recent file, server file or when renaming a file being uploaded with the same name as a previous one.

commit 80fa621c50d08414cb4686ef6bd3acd77c551f4f
Author: Jamie Pratt <me@jamiep.org>
Date:   Tue, 02 Aug 2011 19:34:47 +0800
Tag:    v2.1.2

MDL-28564 "implement support for extra answer fields in question export and import" implemented support for extra answer fields in questiontype base export and import functions.

commit 05cef658ddd48621b74344971ee0c696e4ea5f0c
Author: Jamie Pratt <me@jamiep.org>
Date:   Tue, 02 Aug 2011 19:34:47 +0800
Tag:    v2.2.0-beta

MDL-28564 "implement support for extra answer fields in question export and import" implemented support for extra answer fields in questiontype base export and import functions.

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 0ea7fc2587dc8e46f0ac583a93811234d3262d80
Author: Jamie Pratt <me@jamiep.org>
Date:   Mon, 01 Aug 2011 23:43:37 +0800
Tag:    v2.2.0-rc1

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 92939cd69a770cec6fd709a00df3334b491359de
Author: Jamie Pratt <me@jamiep.org>
Date:   Mon, 01 Aug 2011 23:43:37 +0800
Tag:    v2.1.3

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 da8cd9f4b3dba0f8c78cdba451c59e6c697fef39
Author: Jamie Pratt <me@jamiep.org>
Date:   Wed, 06 Jul 2011 18:54:59 +0800
Tag:    v2.2.0-beta

MDL-28268 Missing ORDER BY when using extra answer table.

commit 96c7aa3fe5c79769e7f2a6a4acb191997171a0c3
Author: Jamie Pratt <me@jamiep.org>
Date:   Wed, 06 Jul 2011 18:54:59 +0800
Tag:    v2.1.1

MDL-28268 Missing ORDER BY when using extra answer table.

commit e5060e2209085b75dd60f00efb10bfb366ebe4bd
Author: Jamie Pratt <me@jamiep.org>
Date:   Fri, 01 Jul 2011 00:21:37 +0800
Tag:    v2.1.0

MDL-28129 two issues with loading and saving questions

commit 5b5206e1cb83833342313b31cce478d5075cb4c0
Author: Jamie Pratt <me@jamiep.org>
Date:   Thu, 30 Jun 2011 15:34:10 +0800
Tag:    v2.1.0

MDL-28099 Fixed regression as outlined in tracker.

commit b1eca34453a2a55b230a8befeabb31aba85e15cb
Author: Jamie Pratt <me@jamiep.org>
Date:   Wed, 29 Jun 2011 19:39:15 +0800
Tag:    v2.1.0

MDL-28099 fixes issue with filepicker and element names with index not passing value for draftitemid.

commit 1e257a3a54d68133bdc02f693a248203a2d2888b
Author: Jamie Pratt <me@jamiep.org>
Date:   Tue, 31 May 2011 17:20:13 +0800
Tag:    v2.1.0

NOBUG if we are going to reuse the functions used within the evalmath code then the calling api should not be weird with reversed parameters etc.

commit 9085134ed7230734bdccd1d3ff9bd11cf5d9e6da
Author: Jamie Pratt <me@jamiep.org>
Date:   Sat, 28 May 2011 21:47:34 +0800
Tag:    v2.1.0

MDL-27659 "have evalmath accept numbers expressed with scientific notation"

commit 4733133533549045d59b0e03961279f84b0adebd
Author: Jamie Pratt <me@jamiep.org>
Date:   Sat, 28 May 2011 21:31:46 +0800
Tag:    v2.1.0

NOBUG fixed some coding style deviations in unit test code. Mostly white space changes and added scope declarations to unit test functions.

commit f271a66776691e6ca3a827d47f942f31c377b1a0
Author: Jamie Pratt <me@jamiep.org>
Date:   Mon, 09 May 2011 12:19:38 +0800
Tag:    v2.1.0

NOBUG added floor, ceil and round to evalmath.class.php and added tests.

commit 950dc9145b1d8f782777e00c88c80152e3616fb6
Author: Jamie Pratt <me@jamiep.org>
Date:   Sat, 30 Apr 2011 11:30:30 +0800
Tag:    v2.1.0

NOBUG implemented seeding of 'random' functions.

commit 6efaec1e15352c188c951773b960df05ff489258
Author: jamiepratt <me@jamiep.org>
Date:   Sat, 16 Apr 2011 19:10:18 +0800
Tag:    v2.1.0

NOBUG move function definition is_valid_var_or_func_name above 'HERE BE INTERNAL METHODS' line.

commit 06329db4531d1435b6b807199865b492a139cca4
Author: jamiepratt <me@jamiep.org>
Date:   Thu, 14 Apr 2011 13:50:19 +0800
Tag:    v2.1.0

NOBUG updated readme file with changes made to code

commit e2beee5880cf0b88219780ec0b0124efe1a422ec
Author: jamiepratt <me@jamiep.org>
Date:   Thu, 14 Apr 2011 13:48:47 +0800
Tag:    v2.1.0

NOBUG move pattern for func and var names into a static var and make a function to test a string to see if it is a valid func or var name.

commit 13264f35057d2f37374ec3e0e8ad4070f4676bd7
Author: jamiepratt <me@jamiep.org>
Date:   Wed, 13 Apr 2011 14:09:25 +0800
Tag:    v2.1.0

MDL-27162 "localize strings in mathslib" needed to add mathslib file to list of core language files in moodlelib.

commit 94a67b3992bf658e3bc42e944ab919dbddfdcd64
Author: jamiepratt <me@jamiep.org>
Date:   Tue, 12 Apr 2011 15:08:41 +0800
Tag:    v2.1.0

Make changes in functionality, originally implemented by Petr to make maths class suitable for use in grade book, dependent on boolean switches in constructor which default to having the changes 'on'.

commit c4f7eecfc5d11e45e9ecb1aaf5372208a9c95157
Author: jamiepratt <me@jamiep.org>
Date:   Mon, 11 Apr 2011 22:10:25 +0800
Tag:    v2.1.0

MDL-27139 "mathslib used by gradebook incorrectly evaluating expressions" simple fix needed to prevent problem with operator following expression with no operands such as pi().

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 7d2e309c9bb15040abc378ec4cdf0115550f6d6d
Author: Jamie Pratt <me@jamiep.org>
Date:   Thu, 18 Feb 2010 20:56:12 +0800
Tag:    v1.9.8

MDL-21650 "cookieless sessions fail when opening a pop up window using the javascript 'openpopup' function for example from the course view page " adding the session name and id in the js function openpopup.

commit 4a4a05cfa82fcdf8d90a92773b99c09698b6ea64
Author: Jamie Pratt <me@jamiep.org>
Date:   Thu, 18 Feb 2010 19:50:18 +0800
Tag:    v1.9.8

MDL-21637 "bug in some versions of php version 5 prevents cookieless sessions working"

commit cdf50f82de0d53a44e1273d5c1d52669ebe031d4
Author: Jamie Pratt <me@jamiep.org>
Date:   Wed, 17 Feb 2010 22:25:35 +0800
Tag:    v1.9.8

MDL-21641 cookieless sessions - Need to try to set a cookie before falling back to cookieless mode. Moved test to see if cookies are working till after Moodle has attempted to set a cookie. If there is no cookie then we use session id in url.

commit 62236dd1b11cee68867632a7b7b5a0b32e1fa4eb
Author: Jamie Pratt <me@jamiep.org>
Date:   Wed, 17 Feb 2010 19:31:33 +0800
Tag:    v1.9.8

MDL-21638 cookieless session id not passed when loading images - needed for example for graphs which access session data

commit 72336b7f93acb2a749c791856d30a4bcd7b0ec06
Author: Jamie Pratt <me@jamiep.org>
Date:   Wed, 17 Feb 2010 19:25:38 +0800
Tag:    v1.9.8

MDL-21637 bug in some versions of php version 5 prevents cookieless sessions working. Using static variable to store data from CFG on first call to fix problem.

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 4d5025a77689a9ddf6030b50836e7c906a7c78a5
Author: jamiesensei <jamiesensei>
Date:   Thu, 29 Jan 2009 22:43:50 +0900
Tag:    v1.9.5

MDL-18085 "custom user profile fields : in a list box field if one of the admin chosen values has an apostrophe in it it breaks the query to update / save the value"

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 e073353ff2a35a273ef04c2d34da55151e278eda
Author: jamiesensei <jamiesensei>
Date:   Mon, 13 Oct 2008 19:53:37 +0800
Tag:    v1.8.7

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 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 1b190526462e617e5037e10992a557f65881fbc3
Author: jamiesensei <jamiesensei>
Date:   Mon, 13 Oct 2008 19:50:14 +0800
Tag:    v1.9.3

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

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 9a4ba0a430cf653a5ebf97e0e482ed03f956847d
Author: jamiesensei <jamiesensei>
Date:   Wed, 08 Oct 2008 18:19:51 +0800
Tag:    v1.9.3

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 f1a022424de84507b17ee975fca84db07293db5e
Author: jamiesensei <jamiesensei>
Date:   Thu, 28 Aug 2008 14:46:43 +0800
Tag:    v1.9.3

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 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 64b0c54d0f2db9eb39e04f84638e07e45de3b0a2
Author: jamiesensei <jamiesensei>
Date:   Fri, 15 Aug 2008 18:28:16 +0800
Tag:    v1.9.3

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

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 65143620aa03ab83aaf757bc42ee5874ba00e4ee
Author: jamiesensei <jamiesensei>
Date:   Sun, 20 Jul 2008 21:01:45 +0800
Tag:    v1.9.3

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

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 dcb16152f31e69cb43d336e22dd1b02dda381f74
Author: jamiesensei <jamiesensei>
Date:   Fri, 04 Jul 2008 17:48:01 +0800
Tag:    v1.9.2

MDL-15530 "The Group menu in Quiz Module no longer works as before: all students are displayed regardless of what group is chosen" 'all attempts' mode for report is now disabled when a group is selected.

commit 696d84554d0fa29eb6d1e6ebb38793dfaa4de22c
Author: jamiesensei <jamiesensei>
Date:   Tue, 01 Jul 2008 19:39:09 +0800
Tag:    v1.9.2

MDL-15490 "Create a new Quiz: warning message in Result tab" problem was when there were no students in a course - fixed.

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 78eabcc29d599c5280d32b4c1240ae8d18d96174
Author: jamiesensei <jamiesensei>
Date:   Mon, 30 Jun 2008 19:52:47 +0800
Tag:    v1.9.2

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 ac625ae9227146dc18fc6533f1825b68f32c8876
Author: jamiesensei <jamiesensei>
Date:   Tue, 24 Jun 2008 20:31:28 +0800
Tag:    v1.9.2

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 f32aa45ef46e935b5f5a316acc6abadb43347236
Author: jamiesensei <jamiesensei>
Date:   Tue, 24 Jun 2008 20:18:16 +0800
Tag:    v1.9.2

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 29e3105632bf213a6971a68f1cc6f51dab872fc7
Author: jamiesensei <jamiesensei>
Date:   Sun, 22 Jun 2008 21:01:39 +0800
Tag:    v1.9.2

Fixing typo introduced in 1.282.2.14 version of this file.

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 1c215c8bced34f0add7ce82a2b9a5cb27bf3da6b
Author: jamiesensei <jamiesensei>
Date:   Thu, 19 Jun 2008 23:19:17 +0800
Tag:    v1.9.2

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 e05eb943d0857b36adfa5d6d5209558b27f8df67
Author: jamiesensei <jamiesensei>
Date:   Thu, 19 Jun 2008 20:31:28 +0800
Tag:    v1.9.2

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 1be3ce4510f40f4451d36ca2d8b70611f2d15301
Author: jamiesensei <jamiesensei>
Date:   Fri, 13 Jun 2008 20:46:54 +0800
Tag:    v1.9.2

MDL-15224 "Overview results in quiz module export to excel and txt fail"  Fixed.

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 f5d47e36f18137ee83eef6714a1617149ce0b7a2
Author: jamiesensei <jamiesensei>
Date:   Tue, 10 Jun 2008 15:45:22 +0800
Tag:    v1.9.2

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 012de02b6458f46924d0c663b4cdcc8a342097df
Author: jamiesensei <jamiesensei>
Date:   Sat, 07 Jun 2008 20:58:34 +0800
Tag:    v1.9.2

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 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 a92741f2d27ef8f6f605820a801203df0b422f65
Author: jamiesensei <jamiesensei>
Date:   Fri, 06 Jun 2008 20:24:17 +0800
Tag:    v1.9.2

MDL-15092 "Quiz overview report won't display if there are more than 29 questions" Small fixes in logic to do with sorting.

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 6713e60db7c2cf1368b7a64f090d36137aee278e
Author: jamiesensei <jamiesensei>
Date:   Fri, 06 Jun 2008 19:08:58 +0800
Tag:    v1.9.2

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

commit 5b598e9e5db15ab53efee2425904890026194367
Author: jamiesensei <jamiesensei>
Date:   Thu, 05 Jun 2008 19:12:58 +0800
Tag:    v1.9.2

MDL-14223 "Add a column for the user's idnumber, controllable by a site-wide setting" adding idnumber to the list of columns that is 'suppressed' ie that is only printed once when the same data is repeated in consecutive rows.

commit 5bc700de54fc7d2d154a5b052de96a6624d6f5ec
Author: jamiesensei <jamiesensei>
Date:   Thu, 05 Jun 2008 14:12:26 +0800
Tag:    v1.9.2

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 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 b536544e34b12ad941c46db0b1b1d12f4a943953
Author: jamiesensei <jamiesensei>
Date:   Fri, 30 May 2008 20:22:20 +0800
Tag:    v1.9.2

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

commit 49814438b9fbe744301c92616c7026852a88c12e
Author: jamiesensei <jamiesensei>
Date:   Thu, 29 May 2008 22:31:30 +0800
Tag:    v1.9.2

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 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 e86d81b3ca90d0b4189fb2a8a395cd2469bcd3e6
Author: jamiesensei <jamiesensei>
Date:   Mon, 26 May 2008 22:24:51 +0800
Tag:    v1.9.2

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 cec3911dd44d57547201205f94e519e7dcf0141e
Author: jamiesensei <jamiesensei>
Date:   Mon, 26 May 2008 21:23:14 +0800
Tag:    v1.9.2

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

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 9607206c715311a7edb43bd4400c323b1fd458e0
Author: jamiesensei <jamiesensei>
Date:   Mon, 26 May 2008 20:06:19 +0800
Tag:    v1.9.2

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 4c3332efffb37aa9319463723b6eb41ee2e60bf8
Author: jamiesensei <jamiesensei>
Date:   Mon, 26 May 2008 19:47:00 +0800
Tag:    v1.9.2

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 89bc941b70d37eea2cee4a2c6046ad6508b5001b
Author: jamiesensei <jamiesensei>
Date:   Mon, 26 May 2008 17:01:30 +0800
Tag:    v1.9.2

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

commit 7e8b311075f1366b8105830dac54bb64ab4c8cf6
Author: jamiesensei <jamiesensei>
Date:   Sun, 25 May 2008 19:46:12 +0800
Tag:    v1.9.2

MDL-5241 "When manually grading, identity questions by their number within the quiz as well as by question name" Ooops. Accidentally introduced a bug during refactoring and reworking of UI code. I added gradeall links to the table whether or not there were attempts to grade, have fixed this now.

commit 3a83ce8b5dc7d23e5b27ed4dc4afd126eedbfaac
Author: jamiesensei <jamiesensei>
Date:   Sun, 25 May 2008 19:35:29 +0800
Tag:    v1.9.2

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 30146912789ab9165ebd066d4f1d3ed200908ef4
Author: jamiesensei <jamiesensei>
Date:   Fri, 23 May 2008 21:00:47 +0800
Tag:    v1.9.2

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 57fb427c9be0467915ec4cc7f6c9d1acdc9ceb52
Author: jamiesensei <jamiesensei>
Date:   Thu, 22 May 2008 17:18:03 +0800
Tag:    v1.9.2

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 34ccb459a67275777132abc4b28ae872f1d5908a
Author: jamiesensei <jamiesensei>
Date:   Fri, 16 May 2008 22:44:05 +0800
Tag:    v1.9.2

MDL-14844 "Quiz Report: Bar Graph doesn't displayed maximum grade" Reverting accidentally committed changes to this file which where committed as part of the fix for MDL-14844

commit fdc1036f0eaf0bcdcfef61dec20b39df38577e8d
Author: jamiesensei <jamiesensei>
Date:   Fri, 16 May 2008 22:39:02 +0800
Tag:    v1.9.2

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 01676c49a3f1ae22c7a0e157c44ce1f1660e04bd
Author: jamiesensei <jamiesensei>
Date:   Thu, 15 May 2008 21:55:49 +0800
Tag:    v1.9.2

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 05289910b7a63c93764009bad39ee12e2122fbb0
Author: jamiesensei <jamiesensei>
Date:   Thu, 15 May 2008 20:52:56 +0800
Tag:    v1.9.2

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 574682636428d4b2668ade9bc61e576b8bbff790
Author: jamiesensei <jamiesensei>
Date:   Thu, 15 May 2008 20:25:04 +0800
Tag:    v1.9.2

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 316d595389e0f4cf1e64103b1aac385e0f19a887
Author: jamiesensei <jamiesensei>
Date:   Thu, 15 May 2008 18:40:58 +0800
Tag:    v1.9.2

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 ac2ce35b6c11dd6a1112c853189206306942cffa
Author: jamiesensei <jamiesensei>
Date:   Wed, 14 May 2008 19:15:14 +0800
Tag:    v1.9.1

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 4e270902846d77fdb96ef0de85d8ee6b3885ffb5
Author: jamiesensei <jamiesensei>
Date:   Wed, 14 May 2008 17:12:57 +0800
Tag:    v1.9.1

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 872c8cc93fb6cbf3174c1cdbbcd62befcc47e4af
Author: jamiesensei <jamiesensei>
Date:   Tue, 13 May 2008 23:03:29 +0800
Tag:    v1.9.1

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 18d71106734fae2eaae38cd43957f9cd0c0bea09
Author: jamiesensei <jamiesensei>
Date:   Fri, 09 May 2008 21:50:24 +0800
Tag:    v1.9.1

Oops accidentally reverted this patch. Here it is again. "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 3114a292df3190218627d627c3a3054099ba500c
Author: jamiesensei <jamiesensei>
Date:   Fri, 09 May 2008 21:15:12 +0800
Tag:    v1.9.1

Merging some small differences between HEAD and the 1.9 stable branch.

commit 88a78fa926073fca4bf77bf8d4f9d1138a7e731e
Author: jamiesensei <jamiesensei>
Date:   Fri, 09 May 2008 21:00:06 +0800
Tag:    v1.9.1

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 6c90434d030dbd5ff9782c6bf366acc903fa9225
Author: jamiesensei <jamiesensei>
Date:   Fri, 09 May 2008 14:06:29 +0800
Tag:    v1.9.1

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 bef711f560d39663808b5796d1b6d3f7febd26f9
Author: jamiesensei <jamiesensei>
Date:   Thu, 08 May 2008 18:10:29 +0800
Tag:    v1.9.1

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 50c68d01cccdc93f159da77417a2e1200729a6c6
Author: jamiesensei <jamiesensei>
Date:   Thu, 08 May 2008 17:51:26 +0800
Tag:    v1.9.1

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 18129bbfeed0bf82d78c013c793b8ff708d6bb9d
Author: jamiesensei <jamiesensei>
Date:   Thu, 08 May 2008 17:31:05 +0800
Tag:    v1.9.1

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 1a827abb0c4535a1e581911e84f017f0ae0678b0
Author: jamiesensei <jamiesensei>
Date:   Thu, 08 May 2008 16:56:23 +0800
Tag:    v1.9.1

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" Oops. Seemed to have missed out part of the patch when merging into 1.9 from HEAD.

commit f39ebcea89f49e2259dc56f84ea311f5164bc713
Author: jamiesensei <jamiesensei>
Date:   Thu, 08 May 2008 00:11:17 +0800
Tag:    v1.9.1

MDL-14734 "improve interface for deleting attempts"

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 b44c702d455c03ae6b3a905a72e390beaaa91ebc
Author: jamiesensei <jamiesensei>
Date:   Wed, 07 May 2008 22:40:57 +0800
Tag:    v1.9.1

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 e0fb4a87432d61a6e8ac02e5855a9e8d6a370380
Author: jamiesensei <jamiesensei>
Date:   Wed, 07 May 2008 22:38:18 +0800
Tag:    v1.9.1

file overviewgraph.php was added on branch MOODLE_19_STABLE on 2008-05-07 14:40:57 +0000

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 839d72b06cfbb2470d0b7165dca8a46bd6fcbe9d
Author: jamiesensei <jamiesensei>
Date:   Wed, 07 May 2008 22:02:31 +0800
Tag:    v1.9.1

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

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 6131f70069d745b564b2f85e27ebbbe0cb4a7ee2
Author: jamiesensei <jamiesensei>
Date:   Wed, 07 May 2008 02:06:33 +0800
Tag:    v1.9.1

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 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 beb6d00f468c0c2b3c8d6669ddfab85ca667846c
Author: jamiesensei <jamiesensei>
Date:   Mon, 05 May 2008 21:18:14 +0800
Tag:    v1.9.1

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 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 9df9473d98040d493b2248668f8f5ba1e1470ba4
Author: jamiesensei <jamiesensei>
Date:   Mon, 05 May 2008 21:12:11 +0800
Tag:    v1.9.1

file overviewsettings_form.php was added on branch MOODLE_19_STABLE on 2008-05-05 13:18:14 +0000

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

non consequential, little typo.

commit 720c94fa06e15f9e504a75e48d9398ba4e77d04f
Author: jamiesensei <jamiesensei>
Date:   Sat, 03 May 2008 21:43:44 +0800
Tag:    v1.9.1

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 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 aa45776dd72fd5bd68003876cc995fa5a93f54b1
Author: jamiesensei <jamiesensei>
Date:   Sat, 03 May 2008 00:14:11 +0800
Tag:    v1.9.1

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 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 c912dab6daca51920435c1e97ad63fa17313b6e8
Author: jamiesensei <jamiesensei>
Date:   Fri, 02 May 2008 23:25:19 +0800
Tag:    v1.9.1

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 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 ada7af846f16d0fdf02e38f121caef4a4d6cb680
Author: jamiesensei <jamiesensei>
Date:   Fri, 02 May 2008 22:23:02 +0800
Tag:    v1.9.1

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 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 833b1e0045db6a51063b05c891336f2618ae5690
Author: jamiesensei <jamiesensei>
Date:   Fri, 02 May 2008 21:29:25 +0800
Tag:    v1.9.1

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 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 1ab2605768112abd2dd0ca0779558b014549baca
Author: jamiesensei <jamiesensei>
Date:   Thu, 01 May 2008 15:40:54 +0800
Tag:    v1.9.1

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 521601d0ceb43c2532d7dccd4c1440490be054fc
Author: jamiesensei <jamiesensei>
Date:   Thu, 01 May 2008 15:08:29 +0800
Tag:    v1.9.1

file reportlib.php was added on branch MOODLE_19_STABLE on 2008-05-01 07:40:55 +0000

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 0dd41b1891660a1b4d888628e999a1798942f1a1
Author: jamiesensei <jamiesensei>
Date:   Wed, 30 Apr 2008 16:21:01 +0800
Tag:    v1.9.1

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. This is equivalent to the two patches in HEAD for the same bug.

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 1fe2c24de394472fa9b3752c7c263eb55cfb9e23
Author: jamiesensei <jamiesensei>
Date:   Tue, 05 Feb 2008 21:08:38 +0900
Tag:    v1.9.0

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.

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 c6a40756095c4013783798d5fbf07a30a9c6d416
Author: jamiesensei <jamiesensei>
Date:   Tue, 05 Feb 2008 20:24:19 +0900
Tag:    v1.9.0

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.

commit 4811aacb5a3bf25f7b56f8e36287961584b60d3f
Author: jamiesensei <jamiesensei>
Date:   Tue, 05 Feb 2008 19:16:40 +0900
Tag:    v1.9.0

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. The last commit for this issue did not include any changes.

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 ed3a8746328a3ce0b4aae32466f8b13aaef07989
Author: jamiesensei <jamiesensei>
Date:   Fri, 25 Jan 2008 16:06:34 +0900
Tag:    v1.9.0

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

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 acfc18d8e89450f40818844560b74a396f83767e
Author: jamiesensei <jamiesensei>
Date:   Sat, 19 Jan 2008 00:09:55 +0900
Tag:    v1.9.0

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. merged from HEAD

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 4a6a7074ce8d813032581bbc1f64e8b0ba32f2df
Author: jamiesensei <jamiesensei>
Date:   Sun, 13 Jan 2008 17:54:56 +0900
Tag:    v1.9.0

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 f92b08d9e19338ed2a72c971848fb5f490ffc631
Author: jamiesensei <jamiesensei>
Date:   Sun, 13 Jan 2008 17:35:38 +0900
Tag:    v1.9.0

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

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 d42e5b0034920670fcac6aff254151540b1abcc1
Author: jamiesensei <jamiesensei>
Date:   Sun, 13 Jan 2008 17:09:09 +0900
Tag:    v1.9.0

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

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 be350cb12753ff11615f3b3917e2dbc2790f4f93
Author: jamiesensei <jamiesensei>
Date:   Tue, 11 Dec 2007 12:54:21 +0900
Tag:    v1.9.0

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

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 619b3ca8db43bea7b8c4eae094399c7c499ccb89
Author: jamiesensei <jamiesensei>
Date:   Mon, 26 Nov 2007 22:34:47 +0900
Tag:    v1.9.0

fix for error message

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

fix for error message

commit 6f9ce92696ab5802bf6e9e25566cdc5f7685aaf0
Author: jamiesensei <jamiesensei>
Date:   Wed, 10 Oct 2007 23:23:24 +0800
Tag:    v1.9.0

fix for MDL-11692. There were notices about subquestions not being defined. This seems to indicate that there is a problem elsewhere that somehow matching questions without subquestions are  in the site db. But suppressed the notice by testing to see if subquestions is set before looping through the questions.

commit be801b8b3afd80b3eb66d86577b98c8dd039fdac
Author: jamiesensei <jamiesensei>
Date:   Wed, 03 Oct 2007 12:42:57 +0800
Tag:    v1.9.0

MDL-11139 "Need to pass courseid or cmid to this script when moving questions between categories "  added COURSE to globals in function that redirects browser to contextmoveq page.

commit 489984a7a27ba5601ee1790c93afbd03f7bd8c9e
Author: jamiesensei <jamiesensei>
Date:   Wed, 03 Oct 2007 11:16:27 +0800
Tag:    v1.9.0

fix for fatal error in tabs.php because of missing global var contexts.

commit 11a6096775e9a786848652f0e48904d56fdbeaf4
Author: jamiesensei <jamiesensei>
Date:   Thu, 27 Sep 2007 16:17:09 +0800
Tag:    v1.9.0

fixed closing of popup on saving question which was broken and also added closing of popup on cancel.

commit cb14dd63169b409b595b7145c21de431d9736f15
Author: jamiesensei <jamiesensei>
Date:   Thu, 27 Sep 2007 15:41:58 +0800
Tag:    v1.9.0

modifiedby and timemodified is now set when a question is created as well as createdby and timecreated instead of being left as zero

commit 87dfa4d26f23de58988b7db714af79339cfe710a
Author: jamiesensei <jamiesensei>
Date:   Mon, 24 Sep 2007 21:23:58 +0800
Tag:    v1.9.0

MDL-11423 removed a stray print_object call

commit 8f0f605ddfd0e892896985ab4c3d17f32d73e682
Author: jamiesensei <jamiesensei>
Date:   Tue, 18 Sep 2007 19:23:29 +0800
Tag:    v1.9.0

moved question_make_default_categories function to questionlib.php since it is needed by other modules outside the question bank editing interface.

commit 0b58276ad03e949d81e6cef0334c97b6b9984b24
Author: jamiesensei <jamiesensei>
Date:   Tue, 18 Sep 2007 17:44:58 +0800
Tag:    v1.8.3

MDL-11318 formslib now respects a template for an element if it is set. But since formslib uses the templates to insert help buttons for setAdvanced functionality etc. if you use templates you will lose this functionality.

commit 41b6d0011c7a143df3062be8454f2bb18b200238
Author: jamiesensei <jamiesensei>
Date:   Tue, 18 Sep 2007 17:35:44 +0800
Tag:    v1.9.0

MDL-11318 formslib now respects a template for an element if it is set. But since formslib uses the templates to insert help buttons for setAdvanced functionality etc. if you use templates you will lose this functionality.

commit 15822170d42ec01bceb31944cd84e81bfb262d91
Author: jamiesensei <jamiesensei>
Date:   Tue, 11 Sep 2007 17:01:21 +0800
Tag:    v1.9.0

removing require that is not needed

commit 479cca8a1e31215bb3f851882c0dc76013af31d7
Author: jamiesensei <jamiesensei>
Date:   Tue, 11 Sep 2007 16:23:00 +0800
Tag:    v1.9.0

fix to make breadcrumbs module independent

commit 15b83581ce5b665a58b1f72e1edbd241531666a9
Author: jamiesensei <jamiesensei>
Date:   Mon, 10 Sep 2007 21:28:18 +0800
Tag:    v1.9.0

test for has_capability before displaying choosecoursefile control as if user does not have permission then control is useless.

commit d0508099c6e86a3b270dfc41e78871c43cbba25c
Author: jamiesensei <jamiesensei>
Date:   Fri, 07 Sep 2007 16:01:08 +0800
Tag:    v1.9.0

oops. Stray 'as' used for table name alias in SQL.

commit 5d5a477f1a15ed6aa474785be82289a4eecdbc6c
Author: jamiesensei <jamiesensei>
Date:   Tue, 04 Sep 2007 21:28:50 +0800
Tag:    v1.9.0

removing redundant string fetches

commit 6943c3b9caef43aaf56f4ad51d4290313d10222a
Author: jamiesensei <jamiesensei>
Date:   Tue, 04 Sep 2007 20:42:03 +0800
Tag:    v1.9.0

removed stray echo statement

commit 9fc3100f2721ba57bc9c7afaddea120d460153c3
Author: jamiesensei <jamiesensei>
Date:   Tue, 04 Sep 2007 19:55:10 +0800
Tag:    v1.9.0

fix for MDL-11106 Images not showing up in shared categories

commit 3a4a9233ce4f8d34a76158d9be78458f3eb3d08f
Author: jamiesensei <jamiesensei>
Date:   Tue, 04 Sep 2007 13:44:14 +0800
Tag:    v1.9.0

fix for some problems with page params

commit 1672b5462fd2a3d83a946198e70a2b479be1faff
Author: jamiesensei <jamiesensei>
Date:   Mon, 03 Sep 2007 21:09:04 +0800
Tag:    v1.9.0

removing qcreate directory that I accidentally committed to HEAD when trying to commit changes to the NEWMODULE template.

commit 594019f7937c81cea039912a438040b603d08677
Author: jamiesensei <jamiesensei>
Date:   Mon, 03 Sep 2007 21:03:20 +0800
Tag:    v1.9.0

bit more detail for what needs renaming

commit 0d6e8291a0a5e5df61eca2cf7916d8a26a963518
Author: jamiesensei <jamiesensei>
Date:   Mon, 03 Sep 2007 19:51:25 +0800
Tag:    v1.9.0

MDL-11108 some PHP notices on upgrade of sites to 1.9 where there are no question categories set up

commit 35241c761a698bbb5eedbc6ff2d8796aefb19bd8
Author: jamiesensei <jamiesensei>
Date:   Mon, 03 Sep 2007 13:30:38 +0800
Tag:    v1.9.0

MDL-10952 update help files for new question code

commit 0647e82b57e5bc6f4046208b916520b78fe7d832
Author: jamiesensei <jamiesensei>
Date:   Wed, 29 Aug 2007 11:04:01 +0800
Tag:    v1.9.0

check for viewall / viewmine permission for each question in a category selected for export.

commit 522b89d1aa06f70657e4c29edde0b09075d7dc7f
Author: jamiesensei <jamiesensei>
Date:   Tue, 28 Aug 2007 11:36:17 +0800
Tag:    v1.9.0

allow selection of category in any context when adding a question in question_form

commit f3771632e8ec81b28f4ad4c5bc6a32d853d6a4ae
Author: jamiesensei <jamiesensei>
Date:   Wed, 22 Aug 2007 16:22:06 +0800
Tag:    v1.9.0

MDL-10849 "During question bank upgrade, add course shortname to category name, if it is moved to the site level"

commit 9b71941ebacaa5a661bf4383d771cb225d7f3e72
Author: jamiesensei <jamiesensei>
Date:   Wed, 22 Aug 2007 14:06:42 +0800
Tag:    v1.8.3

Latest environment.xml from HEAD

commit 45e27a011b9080cb8a3efadb52eb4d9053f649d2
Author: jamiesensei <jamiesensei>
Date:   Wed, 22 Aug 2007 13:56:10 +0800
Tag:    v1.8.3

strings needed for custom checks and random question check.

commit 53f6ee19bd315865e16476762731613becce9571
Author: jamiesensei <jamiesensei>
Date:   Wed, 22 Aug 2007 13:35:43 +0800
Tag:    v1.8.3

adding code for check for rqp questions and also small update to code for checking for random questions that fixes a small issue with the display of the error message.

commit 42e28aa6cab60231bff664153e675b6b9995f7be
Author: jamiesensei <jamiesensei>
Date:   Wed, 22 Aug 2007 13:29:35 +0800
Tag:    v1.8.3

Merged various new functionalities from 1.9 into 1.8 --- MDL-9616 - Custom checks in environment.xml MDL-9616 - tidy up * add a better message in the table for these checks. * improve existing strings for other types of check. * remove a line of debug code. --- Added new check to be able to compare current and target moodle versions. Executed only on upgrade (not at install). MDL-10722 --- MDL-10938. 'only strings from lang files can be used as feedback in environment check. Some way is needed to include data from custom check function - a $a param to pass to get_string'. Custom check for questions uses new functionality to print more complex strings as feedback.

commit afb36bca448fc79c4a08714dd333451a16579417
Author: jamiesensei <jamiesensei>
Date:   Wed, 22 Aug 2007 12:28:26 +0800
Tag:    v1.9.0

MDL-10938. 'only strings from lang files can be used as feedback in environment check. Some way is needed to include data from custom check function - a $a param to pass to get_string'. Custom check for questions uses new functionality to print more complex strings as feedback.

commit 57dce727cd14055869dda3e8353ed9c0b9f8d2fc
Author: jamiesensei <jamiesensei>
Date:   Wed, 22 Aug 2007 12:19:04 +0800
Tag:    v1.9.0

fixed a spello in a string

commit 6d1083c52f540461bd306d47b58b0bb834f11399
Author: jamiesensei <jamiesensei>
Date:   Tue, 21 Aug 2007 14:55:48 +0800
Tag:    v1.9.0

fix for some xhtml syntax errors.

commit 2142a30406d529170e5a2d0285943250444cb33a
Author: jamiesensei <jamiesensei>
Date:   Tue, 21 Aug 2007 11:44:10 +0800
Tag:    v1.8.3

MDL-9872 Admin Report on Possible problems Random questions selecting questions from sub categories. Backporting from HEAD. Reports possible problems with question engine when upgrading to Moodle 1.9

commit 56beb4e2629bf8296a35da5d17738e5688872542
Author: jamiesensei <jamiesensei>
Date:   Mon, 20 Aug 2007 19:12:11 +0800
Tag:    v1.9.0

removed some use of AS for table aliases in SQL.

commit a936d39aed324545d8811cc01bdf3545ebc45bd6
Author: jamiesensei <jamiesensei>
Date:   Mon, 20 Aug 2007 19:12:11 +0800
Tag:    v1.8.3

file index.php was added on branch MOODLE_18_STABLE on 2007-08-21 03:44:15 +0000

commit a7f6dc55fa83399e06dbf4502e91be277810787c
Author: jamiesensei <jamiesensei>
Date:   Mon, 20 Aug 2007 18:58:11 +0800
Tag:    v1.9.0

Adding lang strings for new question capabilities and removing some old ones.

commit 688cc5d01c87b24cadd81cc86886b03a8b807ad3
Author: jamiesensei <jamiesensei>
Date:   Mon, 20 Aug 2007 11:36:07 +0800
Tag:    v1.9.0

Fix for MDL-10776 "Moodle Faulty navigation in questions categories when editing questions or exporting/importing categories"

commit 8a3b3e66bd82eaf957114836c8c8038665fb7346
Author: jamiesensei <jamiesensei>
Date:   Mon, 20 Aug 2007 10:55:27 +0800
Tag:    v1.9.0

MDL-10812 changed 'Modified' string to 'Last Saved' since as pointed out often someone might press the save button after viewing a question without making any modifications.

commit 88c8015ea0910a3180639eb2a6db30526239a5e4
Author: jamiesensei <jamiesensei>
Date:   Fri, 17 Aug 2007 18:50:52 +0800
Tag:    v1.9.0

fixing some problems with multichoice file link find and replace code for multichoice qtype.

commit 4119b7ba53eb6b1408e332dcb201300c9747c645
Author: jamiesensei <jamiesensei>
Date:   Fri, 17 Aug 2007 18:47:49 +0800
Tag:    v1.9.0

help file for new site files backup feature.

commit 863be1a95cb1327164ab8a47ce4b06f32404c566
Author: jamiesensei <jamiesensei>
Date:   Fri, 17 Aug 2007 18:03:18 +0800
Tag:    v1.9.0

Added a help button to the backup form.

commit 1a73a3d84ed6e079438e230d85145403d5a796e9
Author: jamiesensei <jamiesensei>
Date:   Fri, 17 Aug 2007 18:00:00 +0800
Tag:    v1.9.0

Fixes for some notices because of unitialized vars and elements that may not be present in older backup xml.

commit 7c1c94872e9e453dbb18c489539b5cfa12b88d29
Author: jamiesensei <jamiesensei>
Date:   Fri, 17 Aug 2007 17:53:00 +0800
Tag:    v1.9.0

Fix for notice on first page of restore.

commit 79bb7202001a96f8f31a60a249dd18cb65a9d2c9
Author: jamiesensei <jamiesensei>
Date:   Fri, 17 Aug 2007 09:06:02 +0800
Tag:    v1.9.0

Fixed MDL-10855 'Calculated question error: undefined stdClass::$nextpageparam' and some other calculated question bugs.

commit 610ef0930fab5fbabb8c281b87c3b7c068b0a502
Author: jamiesensei <jamiesensei>
Date:   Thu, 16 Aug 2007 18:44:07 +0800
Tag:    v1.9.0

oops. Removed stray die; that was in the code for debug purposes.

commit ba18b21d2ece55e5776237875045389c2a69cc15
Author: jamiesensei <jamiesensei>
Date:   Thu, 16 Aug 2007 13:25:00 +0800
Tag:    v1.9.0

Fix for MDL-10852 Cannot edit existing questions

commit ffba1f0bec537fc3815b79091f69bfa60f0cfd85
Author: jamiesensei <jamiesensei>
Date:   Thu, 16 Aug 2007 13:20:35 +0800
Tag:    v1.9.0

added some comments

commit 9f1017a0be550b9a20e733ae3dbde904e3ac35fb
Author: jamiesensei <jamiesensei>
Date:   Thu, 16 Aug 2007 13:19:33 +0800
Tag:    v1.9.0

correct logic error that broke caching.

commit 0cbddd850bfc88776d54b9203673c790c8f2019a
Author: jamiesensei <jamiesensei>
Date:   Wed, 15 Aug 2007 19:36:01 +0800
Tag:    v1.9.0

MDL-10857 broken link in navlinks for question bank pointing to mod/modname/view.php with cmid param instead of id param

commit f6ea3132c163d75132526bfce39732ad049e654a
Author: jamiesensei <jamiesensei>
Date:   Wed, 15 Aug 2007 19:08:37 +0800
Tag:    v1.9.0

small commenting change

commit 20f500dc4d23361585e996e2dd7922e75ab69665
Author: jamiesensei <jamiesensei>
Date:   Wed, 15 Aug 2007 19:04:35 +0800
Tag:    v1.9.0

Fix for MDL-10847  No categories showing in category tab when editing a quiz / questions on PHP 4

commit 00de7c984cc6ed38a7d8d818263cc710b97fcaf2
Author: jamiesensei <jamiesensei>
Date:   Tue, 14 Aug 2007 19:50:57 +0800
Tag:    v1.9.0

fix for notice about undefined urls property.

commit a54fd2dd4d6e91e420f8790c57f361ba3d3a8098
Author: jamiesensei <jamiesensei>
Date:   Tue, 14 Aug 2007 19:41:47 +0800
Tag:    v1.9.0

fix for notice about undefined urls property.

commit e7e62d45be8090f0c6e8279dd46e557243d6ac6e
Author: jamiesensei <jamiesensei>
Date:   Tue, 14 Aug 2007 12:22:05 +0800
Tag:    v1.9.0

Fix for MDL-10823 Access to question edit page denied from quiz preview screen.

commit af49b38948d9f8bd49884cddc3c344a5ac98d67a
Author: jamiesensei <jamiesensei>
Date:   Tue, 14 Aug 2007 10:56:43 +0800
Tag:    v1.9.0

small fix for breadcrumbs link

commit 9f877cb07250c62db928a73d3d42fb5b8d227e86
Author: jamiesensei <jamiesensei>
Date:   Tue, 14 Aug 2007 10:50:56 +0800
Tag:    v1.9.0

fix for MDL-10835 Results and Preview Tabs broken - requred param 'cmid' missing (for quiz with no questions)

commit 681666abe7c4717b8d0593b9cb74981ae3de0158
Author: jamiesensei <jamiesensei>
Date:   Mon, 13 Aug 2007 21:58:04 +0800
Tag:    v1.9.0

fix for  	 MDL-10826 ' Moodle Impossible to delete a course because of non-existent question_delete_activity() '

commit 8bdd8660bffaee3925f1d5e2b8fa0622445cd3b6
Author: jamiesensei <jamiesensei>
Date:   Mon, 13 Aug 2007 00:09:57 +0800
Tag:    v1.9.0

See http://moodle.org/mod/forum/discuss.php?d=77564#p345310 Questions link not showing up.

commit fd3772dc9456ff8d346013ca59e31276f466652a
Author: jamiesensei <jamiesensei>
Date:   Sun, 12 Aug 2007 23:07:08 +0800
Tag:    v1.9.0

MDL-10805 custom check was causing error on installation because dmllib functions are not available yet.

commit b36e36aa05081b9e1fee09b1f501ce9bc1ab6df1
Author: jamiesensei <jamiesensei>
Date:   Sun, 12 Aug 2007 21:57:57 +0800
Tag:    v1.9.0

removed all ASes from table aliases in question / quiz code - MDL-10344

commit ddaff15dfc0c2fc51fc27a33f55a54b2b726d59d
Author: jamiesensei <jamiesensei>
Date:   Fri, 10 Aug 2007 15:58:48 +0800
Tag:    v1.9.0

removing TODO type comment that was already done.

commit 070af8ed323d50bf2105fb0782202609f1e33f28
Author: jamiesensei <jamiesensei>
Date:   Fri, 10 Aug 2007 15:56:02 +0800
Tag:    v1.9.0

fixing reversion of lang string that happened during MOODLE_19_QUESTIONS merge

commit 515ed4c3ee1a03c9820f07f153ddc851a00902c4
Author: jamiesensei <jamiesensei>
Date:   Fri, 10 Aug 2007 06:44:14 +0800
Tag:    v1.9.0

merging MOODLE_19_QUESTIONS with HEAD

commit 271e6decdac9d9445c047a7d90cc98b7912cf1b6
Author: jamiesensei <jamiesensei>
Date:   Fri, 10 Aug 2007 05:51:09 +0800
Tag:    v1.9.0

merging MOODLE_19_QUESTIONS with HEAD

commit 3bee1ead40eae09709dfec2c6546938ed07613f5
Author: jamiesensei <jamiesensei>
Date:   Fri, 10 Aug 2007 05:50:59 +0800
Tag:    v1.9.0

merging MOODLE_19_QUESTIONS with HEAD

commit dfcdf0726bd3109a6a7af89304619ebc8637754b
Author: jamiesensei <jamiesensei>
Date:   Thu, 09 Aug 2007 23:05:15 +0800
Tag:    v1.9.0

fixed syntax error in last commit that fixes MDL-10768

commit 62f34fdb208c737c26af745f2c22496c4c1b0a47
Author: jamiesensei <jamiesensei>
Date:   Wed, 08 Aug 2007 11:29:29 +0800
Tag:    v1.9.0

fix for some notices in insert_category_ids function.

commit bb90bf3fb26da1096bfff558dbc57f166d237d48
Author: jamiesensei <jamiesensei>
Date:   Mon, 16 Jul 2007 14:04:20 +0800
Tag:    v1.9.0

when element is frozen should not escape html entities in htmleditor.

commit 2da97a4f23e51c266d44bace793b46834b8262a8
Author: jamiesensei <jamiesensei>
Date:   Fri, 13 Jul 2007 17:25:59 +0800
Tag:    v1.8.3

merged in fix for MDL-10382 and MDL-10440 from HEAD. Revision 1.36 -1.38 from HEAD

commit c0056e22270163bc7d627f72685c9f262b13b140
Author: jamiesensei <jamiesensei>
Date:   Fri, 13 Jul 2007 16:14:37 +0800
Tag:    v1.9.0

fix for MDL-10440 IE7 and IE6 on win xp error when changing "disable" state of "Start date"

commit df2c2310e52429584f5bf43b3ee46de19b10b13e
Author: jamiesensei <jamiesensei>
Date:   Thu, 12 Jul 2007 14:01:17 +0800
Tag:    v1.9.0

Reverted previous fix for  MDL-10382  Allow removing of elements with disabledIf conditions - "This fix has broken disabledIf in many forms. The problem is that if the dependentOn element is an element in a group then elementExists will return false."

commit 43914931f7cafa7cd52740091b753f1e0aa52482
Author: jamiesensei <jamiesensei>
Date:   Fri, 06 Jul 2007 12:03:51 +0800
Tag:    v1.9.0

validation can return an empty array() or true to indicate no errors. array() is preferred since then parent class validation functions can be chained. Changing  moodle_form validation method to return array() so that chaining works in question types. Shouldn't affect other forms code.

commit 7856a8c3840f72f5b47072314e2f1a0f11704c25
Author: jamiesensei <jamiesensei>
Date:   Sat, 30 Jun 2007 12:22:51 +0800
Tag:    v1.9.0

removing file that mistakenly was committed to HEAD

commit c28245d7e5e7a7d5b84bda659a1f9bb449537b60
Author: jamiesensei <jamiesensei>
Date:   Sat, 30 Jun 2007 11:50:52 +0800
Tag:    v1.9.0

test for questionlib on MOODLE_19_QUESTIONS branch

commit 20c55233c36d912e6a1930fb4a0846de312d9940
Author: jamiesensei <jamiesensei>
Date:   Fri, 29 Jun 2007 22:19:22 +0800
Tag:    v1.9.0

small change to make icons easier to override in child classes.

commit 173e8c5dfb1eebbe8ef427949dee524a51b7ab0a
Author: jamiesensei <jamiesensei>
Date:   Fri, 22 Jun 2007 19:06:21 +0800
Tag:    v1.8.2

making environment colours css selector refer to table class instead of body id. So that colours show up on other pages besides admin page.

commit 7ab78c274bfc2da11d8c5df9f9e7cd6643669850
Author: jamiesensei <jamiesensei>
Date:   Fri, 22 Jun 2007 19:04:58 +0800
Tag:    v1.7.3

making environment colours css selector refer to table class instead of body id. So that colours show up on other pages besides admin page.

commit edbbeb02f26ab28d2a03edec2cd584ee5d45dd62
Author: jamiesensei <jamiesensei>
Date:   Fri, 22 Jun 2007 19:03:19 +0800
Tag:    v1.6.6

making environment colours css selector refer to table class instead of body id. So that colours show up on other pages besides admin page.

commit 16368d38a4397d0835c1af5e51fdc1cb55f53588
Author: jamiesensei <jamiesensei>
Date:   Fri, 22 Jun 2007 19:02:45 +0800
Tag:    v1.9.0

making environment colours css selector refer to table class instead of body id. So that colours show up on other pages besides admin page.

commit 2da68b0b32d0b76cb3661dfe0f9ae5f3b523fdbf
Author: jamiesensei <jamiesensei>
Date:   Wed, 20 Jun 2007 14:37:01 +0800
Tag:    v1.8.2

added styles to install.php for colours for environment table

commit 847da17ddb5f0b72d01927087dca2d62dcc2747d
Author: jamiesensei <jamiesensei>
Date:   Wed, 20 Jun 2007 14:34:08 +0800
Tag:    v1.7.3

added styles to install.php for colours for environment table

commit 53a0367d10fc4327a1a6f4dc4463bcb8d1b1fed6
Author: jamiesensei <jamiesensei>
Date:   Wed, 20 Jun 2007 14:32:26 +0800
Tag:    v1.9.0

added styles to install.php for colours for environment table

commit d8e68c5e51b2b086fe8616b1f5067e82aeee251d
Author: jamiesensei <jamiesensei>
Date:   Wed, 20 Jun 2007 14:31:33 +0800
Tag:    v1.6.6

added styles to install.php for colours for environment table

commit 8b85c2cf5d45991fa0f8506399b7d1f596f2b73f
Author: jamiesensei <jamiesensei>
Date:   Wed, 20 Jun 2007 02:01:01 +0800
Tag:    v1.7.3

accidentally added these, removing them

commit c82a4d6d364ab3c4f03004e95f07ab1139315d96
Author: jamiesensei <jamiesensei>
Date:   Wed, 20 Jun 2007 01:45:07 +0800
Tag:    v1.6.6

*** empty log message ***

commit c309cf86123a82cc8687bb4110642794e2c3a4e9
Author: jamiesensei <jamiesensei>
Date:   Wed, 20 Jun 2007 01:40:31 +0800
Tag:    v1.7.3

*** empty log message ***

commit 687ce1c4e0478cc3d6b04dff284e4b486cbd9eee
Author: jamiesensei <jamiesensei>
Date:   Wed, 20 Jun 2007 00:32:07 +0800
Tag:    v1.8.2

MDL-10168 improvements to display of results from environment checks

commit 9d8453becd4b5c7b5adc7e80a0754e5523fea30f
Author: jamiesensei <jamiesensei>
Date:   Wed, 20 Jun 2007 00:26:45 +0800
Tag:    v1.6.6

MDL-10168 improvements to display of results from environment checks

commit 2685a2eee174ee5c73e086c91fe96d4b1535c4f8
Author: jamiesensei <jamiesensei>
Date:   Wed, 20 Jun 2007 00:25:59 +0800
Tag:    v1.7.3

MDL-10168 improvements to display of results from environment checks

commit 770fef0a3c2ecb1afa8e2be7f6b480686398282f
Author: jamiesensei <jamiesensei>
Date:   Tue, 19 Jun 2007 23:52:19 +0800
Tag:    v1.9.0

MDL-10168 improvements to display of results from environment checks

commit 4579011918465dcbcd2c25de17e3a552881f0d09
Author: jamiesensei <jamiesensei>
Date:   Tue, 19 Jun 2007 23:21:27 +0800
Tag:    v1.9.0

elaborated phpdoc comment slightly for  doc_link

commit 52f79e8fd488915249b2e6c23879f9e4e86c0a95
Author: jamiesensei <jamiesensei>
Date:   Tue, 19 Jun 2007 23:20:16 +0800
Tag:    v1.6.6

elaborated phpdoc comment slightly for  doc_link

commit 416622f00511fb82181984d2ba4e717c91faae64
Author: jamiesensei <jamiesensei>
Date:   Tue, 19 Jun 2007 23:18:22 +0800
Tag:    v1.7.3

elaborated phpdoc comment slightly for  doc_link

commit 3db1ddedd38b6fbea734ed5f9922d74906841965
Author: jamiesensei <jamiesensei>
Date:   Tue, 19 Jun 2007 23:17:14 +0800
Tag:    v1.8.2

elaborated phpdoc comment slightly for  doc_link

commit fc2df8c889e2b24c166022bb281b0495fd5e06d7
Author: jamiesensei <jamiesensei>
Date:   Tue, 19 Jun 2007 23:05:17 +0800
Tag:    v1.8.2

refactored page_doc_link into two functions. doc_link returns a link to docs. page_doc_link returns the link for this page.

commit 8f95983a3eb55cdfa5699331082e4d66166f89f7
Author: jamiesensei <jamiesensei>
Date:   Tue, 19 Jun 2007 22:59:22 +0800
Tag:    v1.7.3

refactored page_doc_link into two functions. doc_link returns a link to docs. page_doc_link returns the link for this page.

commit 3bc52bdb1eb91c5731e1fbb65e5009aeb89a6e59
Author: jamiesensei <jamiesensei>
Date:   Tue, 19 Jun 2007 22:54:43 +0800
Tag:    v1.6.6

refactored page_doc_link into two functions. doc_link returns a link to docs. page_doc_link returns the link for this page.

commit 84e3d2ccf58d83f6ebed1f179e765c4626217d6b
Author: jamiesensei <jamiesensei>
Date:   Tue, 19 Jun 2007 22:44:02 +0800
Tag:    v1.9.0

refactored page_doc_link into two functions. doc_link returns a link to docs. page_doc_link returns the link for this page.

commit dc1f768351a5d4f4c541b4f6fbe1c12e02c7e2d5
Author: jamiesensei <jamiesensei>
Date:   Tue, 29 May 2007 14:27:38 +0800
Tag:    v1.9.0

reverting commit 1.889 "added another parameter to moodle_url out, out_action and get_query_string so that developer can output url with query string joined by '&' and not '&amp;'. &amp; breaks redirect on IE."  It turned out to be unnecessary.

commit 24a905f98b86e147e5d366181d1dd028005d0830
Author: jamiesensei <jamiesensei>
Date:   Tue, 29 May 2007 14:14:09 +0800
Tag:    v1.9.0

fixed bug in parsing urls

commit d65cb30f630d69f13c7a3bedf2f43d12ef130c17
Author: jamiesensei <jamiesensei>
Date:   Tue, 29 May 2007 14:14:09 +0800
Tag:    v1.9.0

reverting last commit "added another parameter to moodle_url out, out_action and get_query_string so that developer can output url with query string joined by '&' and not '&amp;'. &amp; breaks redirect on IE."  It turned out to be unnecessary.

commit 099f7fb6ca591e05a1f5d038698a13b9a6998be4
Author: jamiesensei <jamiesensei>
Date:   Mon, 28 May 2007 22:25:40 +0800
Tag:    v1.9.0

added another parameter to moodle_url out, out_action and get_query_string so that developer can output url with query string joined by '&' and not '&amp;'. &amp; breaks redirect on IE.

commit b1a61961aad535d6c53516fbc2761856df9a7b7a
Author: jamiesensei <jamiesensei>
Date:   Mon, 28 May 2007 22:21:09 +0800
Tag:    v1.9.0

MDL-9745 "Checkboxes badly lined up in forms lib, e.g. "students may review" settings on quiz settings screen." Reverted previous fix for similar problem MDL-7779 as the fix for MDL-7779  causes worse problem MDL-9745 with form elements in groups. Second part of commit in HEAD, missed a bit in HEAD.

commit 58c70cace9b21d2e17ed6080286b15b1b12d7f0c
Author: jamiesensei <jamiesensei>
Date:   Mon, 28 May 2007 20:19:48 +0800
Tag:    v1.8.1

MDL-9745 "Checkboxes badly lined up in forms lib, e.g. "students may review" settings on quiz settings screen." Reverted previous fix for similar problem MDL-7779 as the fix for MDL-7779  causes worse problem MDL-9745 with form elements in groups.

commit 5eb1924f010d741d0ba70a547fb73598d55487dc
Author: jamiesensei <jamiesensei>
Date:   Mon, 28 May 2007 20:17:40 +0800
Tag:    v1.9.0

MDL-9745 Checkboxes badly lined up in forms lib, e.g. "students may review" settings on quiz settings screen. Reverted previous fix for similar problem MDL-7779 as the fix for MDL-7779  causes worse problems with form elements in groups.

commit df5039c5ca5888e7c7ab7f5c03210ce06fceef27
Author: jamiesensei <jamiesensei>
Date:   Mon, 28 May 2007 08:51:20 +0800
Tag:    v1.6.6

MDL-9885 Use Permissions from Roles and Permissions System

commit 3673f6bc3b2243b268f96c072c940a71618821eb
Author: jamiesensei <jamiesensei>
Date:   Mon, 28 May 2007 08:50:11 +0800
Tag:    v1.9.0

added more phpdoc comments for hardFreezeAllVisibleExcept

commit 56015454ddd29caa2a18434a96166d24df389988
Author: jamiesensei <jamiesensei>
Date:   Mon, 28 May 2007 08:46:11 +0800
Tag:    v1.9.0

new method hardFreezeAllVisibleExcept

commit a18c40a892f1878b39563562d29017766a8bcf4f
Author: jamiesensei <jamiesensei>
Date:   Sun, 27 May 2007 19:24:58 +0800
Tag:    v1.6.6

MDL-9734 fix for clean_param PARAM_LOCALURL bug

commit fbb5ad35e720b6e0324ea445371181dc8c158573
Author: jamiesensei <jamiesensei>
Date:   Sun, 27 May 2007 19:21:55 +0800
Tag:    v1.7.3

MDL-9734 fix for clean_param PARAM_LOCALURL bug

commit aa38cccbdf100bd51739432fd6d4ab005d2e8781
Author: jamiesensei <jamiesensei>
Date:   Sun, 27 May 2007 19:20:24 +0800
Tag:    v1.8.1

MDL-9734 fix for clean_param PARAM_LOCALURL bug

commit 9368476553bc4b0ad5333343be92006ac92c6c3f
Author: jamiesensei <jamiesensei>
Date:   Sun, 27 May 2007 19:19:04 +0800
Tag:    v1.9.0

MDL-9734 fix for clean_param PARAM_LOCALURL bug

commit 3281b7d07554b45a5e3e6fceaccc1ac1e67844a8
Author: jamiesensei <jamiesensei>
Date:   Sun, 27 May 2007 13:58:31 +0800
Tag:    v1.6.6

MDL-9885 'Use Permissions from Roles and Permissions System' almost done. Need to allow "Save as New Question" for those who have view permission on a question and add permission in at least one context.

commit 64360ee7b551897ae000b8e31a45ec21abbc53d8
Author: jamiesensei <jamiesensei>
Date:   Sun, 27 May 2007 13:01:51 +0800
Tag:    v1.9.0

made hardFreeze work properly for a whole form. New paramater in moodleform constructor 'editable' defaults to true. If true then display form as normal. If false then hardFreeze whole form. Now displays form without an submit buttons. If form is hard frozen no data is ever passed to get_data.

commit 7d8ea286680c2e341c4c82709da425b428460f52
Author: jamiesensei <jamiesensei>
Date:   Sun, 27 May 2007 12:53:02 +0800
Tag:    v1.9.0

MDL-9891 new 'clonepermissionsfrom' key in access.php

commit 61d9b9fc5d63bd179443a5189f66ce98322f47e3
Author: jamiesensei <jamiesensei>
Date:   Fri, 25 May 2007 13:49:51 +0800
Tag:    v1.9.0

oops. reverting changes which shouldn't have been committed to HEAD.

commit bdc66c2a5dd0e15ace278cf3cc2d9c4f7e607a6d
Author: jamiesensei <jamiesensei>
Date:   Fri, 25 May 2007 12:59:17 +0800
Tag:    v1.9.0

fix for category.php lists. Slight change in listlib api caused breakage.

commit a69dacfd48218743dd39f8fcca36f00e5d04ffb7
Author: jamiesensei <jamiesensei>
Date:   Wed, 23 May 2007 08:59:36 +0800
Tag:    v1.9.0

reverting back to version 1.2. Accidentally committed version 1.3 in HEAD.

commit cd26d8e047fddda09f32b6e06f0aa5c5186d5c96
Author: jamiesensei <jamiesensei>
Date:   Tue, 22 May 2007 18:09:22 +0800
Tag:    v1.9.0

MDL-9857 "more options in print_context function"

commit ea7a09095596b592fe0808b406cd7b8c673de9c4
Author: jamiesensei <jamiesensei>
Date:   Tue, 22 May 2007 12:59:53 +0800
Tag:    v1.6.6

MDL-9883 Use new fields in question table - created, modified, createdby and modifiedby

commit 788376bb525479f95aad02daf2ad61c68d304ead
Author: jamiesensei <jamiesensei>
Date:   Tue, 22 May 2007 12:57:16 +0800
Tag:    v1.6.6

bump up version to install new fields in question table

commit 1c496238c3490b5d3437250b6e7d7d5ed8753487
Author: jamiesensei <jamiesensei>
Date:   Tue, 22 May 2007 09:23:03 +0800
Tag:    v1.6.6

MDL-9869 Add fields to question table - created, modified, createdby and modifiedby

commit 9ae3af87aef7243b53b638eeb67be34898f65838
Author: jamiesensei <jamiesensei>
Date:   Tue, 22 May 2007 00:11:17 +0800
Tag:    v1.9.0

MDL-9856 allow passing moodle_url to moodle_form constructor as action instead of passing url as a string

commit d92b9d91400f4a026dbb22b2c8a4f4af4eba2c3e
Author: jamiesensei <jamiesensei>
Date:   Mon, 21 May 2007 17:26:17 +0800
Tag:    v1.9.0

new sql to fetch question counts for categories all in one sql query. Question count now included in drop down box.

commit 83bc64dba48e99ca28e8330cf00dd5d37ac65803
Author: jamiesensei <jamiesensei>
Date:   Mon, 21 May 2007 01:05:27 +0800
Tag:    v1.9.0

adding quoting to output of hidden params in moodle_url

commit cd3f0da747c0774c576df872fcf1e1072d3312c5
Author: jamiesensei <jamiesensei>
Date:   Mon, 21 May 2007 00:18:00 +0800
Tag:    v1.6.6

UI for editing questions changed to support sharing questions in multiple contexts. Also changed import / export and category editing form to use formslib.

commit 3a3c454ede62ad5b1ce515b39a8861df30c45e4a
Author: jamiesensei <jamiesensei>
Date:   Mon, 21 May 2007 00:17:48 +0800
Tag:    v1.9.0

UI for editing questions changed to support sharing questions in multiple contexts. Also changed import / export and category editing form to use formslib.

commit fae60ee3d348fdad35ad04072d3866bbfde414e4
Author: jamiesensei <jamiesensei>
Date:   Sun, 20 May 2007 22:05:49 +0800
Tag:    v1.9.0

small additions to comments on moodle_url

commit b0bc5219d88fcce30053709f9eb9c5d2d39457c3
Author: jamiesensei <jamiesensei>
Date:   Sun, 20 May 2007 21:59:58 +0800
Tag:    v1.9.0

some changes to listlib to make it possible to chain the paging of several lists together that are displayed on the same page, so that paging can work across several lists

commit 305f5b4b1d5328d8623043ef46348c66898ebebd
Author: jamiesensei <jamiesensei>
Date:   Sun, 20 May 2007 19:56:57 +0800
Tag:    v1.9.0

removed unecessary sesskey hidden param. sesskey is automatically included and processed in formslib forms. Removed redundant validation method.

commit f161729e21570233298768d633f5d005f6e70457
Author: jamiesensei <jamiesensei>
Date:   Sun, 20 May 2007 19:48:02 +0800
Tag:    v1.9.0

new element for formslib selectgroups is a select drop down with options grouped into optgroups

commit 7bd434264243fb2675c5daf7fa25fa1a8350d62b
Author: jamiesensei <jamiesensei>
Date:   Sun, 20 May 2007 19:20:49 +0800
Tag:    v1.9.0

small fix for uninitialised var

commit b7f1aeee3f041be8194a2ab30bf2d154d35d24ff
Author: jamiesensei <jamiesensei>
Date:   Sat, 12 May 2007 06:26:27 +0800
Tag:    v1.6.6

started work on MOODLE_19_QUESTIONS branch. Have coded display of question categories page with categories shared in different category levels. Changes made to the db to remove publish and course fields and replace them with contextid field in category table.

commit 850e85b7b29b6d550a04059c11f2edd26ed595ed
Author: jamiesensei <jamiesensei>
Date:   Sat, 12 May 2007 06:22:14 +0800
Tag:    v1.9.0

some changes to make it easier to override editing icons in child classes and to make several lists work well with each other on the same page.

commit 85c375c3f8301d8291a1a2ead3a9063a9af0f389
Author: jamiesensei <jamiesensei>
Date:   Tue, 08 May 2007 00:57:23 +0800
Tag:    v1.9.0

added function callbacks for module specific controls to question bank.

commit 0de94538ee54fe2fa09aab769a0fc31c60ebbadc
Author: jamiesensei <jamiesensei>
Date:   Mon, 07 May 2007 23:38:02 +0800
Tag:    v1.9.0

fixed links on edit icons so that they return to question bank page.

commit 7cd4fda6e7819e5cad1bd726b0bba429bc78c9d3
Author: jamiesensei <jamiesensei>
Date:   Mon, 07 May 2007 23:16:07 +0800
Tag:    v1.9.0

changing param type for returnurl to PARAM_LOCALURL

commit 64eeaf47536a106fca335e70d9a0f0bb636701f8
Author: jamiesensei <jamiesensei>
Date:   Mon, 07 May 2007 15:13:14 +0800
Tag:    v1.9.0

removed all session fromurl and returnurl stuff from question bank editing code. Returnurls are now passed as get/post params.

commit f86c2c84b1f0b94108600b2be0c83a6f83474c7d
Author: jamiesensei <jamiesensei>
Date:   Mon, 07 May 2007 15:08:41 +0800
Tag:    v1.9.0

fixed error in import.php category object fetching logic

commit 561fe61df30268869a4bf5782d99b7d9ebd0775c
Author: jamiesensei <jamiesensei>
Date:   Mon, 07 May 2007 14:35:33 +0800
Tag:    v1.9.0

return to the proper page after editing a question in the question bank.

commit d340fde6c47ba873922e3c5f229cbb7e95d6aa1d
Author: jamiesensei <jamiesensei>
Date:   Mon, 07 May 2007 13:57:49 +0800
Tag:    v1.9.0

oops. Accidentally committed a change in default no of category items displayed which I'd changed for debug purposes. Reverting change.

commit 986effb653b7f4d1958de36d55b984974a348898
Author: jamiesensei <jamiesensei>
Date:   Mon, 07 May 2007 13:53:20 +0800
Tag:    v1.9.0

pass the category list page param from page to page in question bank editing pages.

commit 400edee1ec672cf7eeca468d436337e0e17f5f0a
Author: jamiesensei <jamiesensei>
Date:   Mon, 07 May 2007 13:30:06 +0800
Tag:    v1.9.0

always make sure that page param is in the pageurl

commit 81be5cdec30f6ce19db3186ce012d144210c5b0f
Author: jamiesensei <jamiesensei>
Date:   Mon, 07 May 2007 13:25:44 +0800
Tag:    v1.9.0

added argument to constructor to specify the name of the page parameter used to pass the page no of the list. Default to 'page'

commit a4758a8632b7a5480f34bfaf1d738949128a5053
Author: jamiesensei <jamiesensei>
Date:   Mon, 07 May 2007 13:12:09 +0800
Tag:    v1.9.0

require_login is in 'question_edit_setup' we don't need to call it again here.

commit 7bc26c8f6df85c14f008265e8b85bba49135dba6
Author: jamiesensei <jamiesensei>
Date:   Mon, 07 May 2007 12:55:55 +0800
Tag:    v1.9.0

changes to pass category id from page to page in question bank editing.

commit 36e298bc5820c9d2a6b8f8fae4bcb61f23cf5f2b
Author: jamiesensei <jamiesensei>
Date:   Fri, 04 May 2007 18:46:33 +0800
Tag:    v1.9.0

removed more session stuff from question list and category form in question bank display code

commit 9ab3847595f8eb3de55407b75cfcbb7aca3b35cb
Author: jamiesensei <jamiesensei>
Date:   Fri, 04 May 2007 16:33:28 +0800
Tag:    v1.9.0

tightening up reg expressions used for submitted data a bit

commit 1d88985787dbede9a7aacbb9847752880129d892
Author: jamiesensei <jamiesensei>
Date:   Fri, 04 May 2007 14:09:37 +0800
Tag:    v1.9.0

removing TODO comment as the question.php script no longer treats quiz as special.

commit c65b63deb61ff2fc110702c5d15e327c88449948
Author: jamiesensei <jamiesensei>
Date:   Fri, 04 May 2007 13:51:59 +0800
Tag:    v1.9.0

removed global var declaration for var that wasn't used in function

commit 9ab75b2bcc2539abd873ab1e292691afc33bb935
Author: jamiesensei <jamiesensei>
Date:   Fri, 04 May 2007 13:47:59 +0800
Tag:    v1.9.0

passing cmid to question.php and removed use of session modform var. Question.php now independent of quiz module. Small improvement to displayed breadcrumbs.

commit e744ebba7bea7550202da95332554aa4591943b6
Author: jamiesensei <jamiesensei>
Date:   Fri, 04 May 2007 13:45:33 +0800
Tag:    v1.9.0

added a param to moodle_url constructor to provide params as an array just as a convenience to quickly construct a url with an array of params.

commit e22618dd73a529e36208a92abb1d10400716f3a8
Author: jamiesensei <jamiesensei>
Date:   Fri, 04 May 2007 13:30:03 +0800
Tag:    v1.9.0

deleted redundant method which was just calling the parent method.

commit b07b4bd2462371e905cea8f38782a1c9859e8e0d
Author: jamiesensei <jamiesensei>
Date:   Thu, 03 May 2007 18:38:35 +0800
Tag:    v1.9.0

removed use of session for reordertool and show page breaks. Reordertool and show page breaks params are now passed from page request to page request only for page requests for quiz/edit.php

commit b72ff476856a4496d9dee0a78fc08b5b64ffed36
Author: jamiesensei <jamiesensei>
Date:   Thu, 03 May 2007 18:10:01 +0800
Tag:    v1.9.0

moved question sort order and paging params to be passed from page to page as get params instead of being saved in session var.

commit fcdb06c470a2b7023b0db1b46244d631e783be6c
Author: jamiesensei <jamiesensei>
Date:   Thu, 03 May 2007 18:03:59 +0800
Tag:    v1.9.0

change to print_paging_bar function to optionally support the use of a moodle_url object as a parameter instead of a string.

commit 86909ce047e631102824ea1d659ea9eff0f653e8
Author: jamiesensei <jamiesensei>
Date:   Thu, 03 May 2007 13:17:07 +0800
Tag:    v1.9.0

small fix to get question code to return to correct place after creating a new question.

commit 360e503e6e2da6a7e8f3e6ad05916aa8db7ee64f
Author: jamiesensei <jamiesensei>
Date:   Thu, 03 May 2007 12:34:53 +0800
Tag:    v1.9.0

MDL-9644 new class 'moodle_url' in weblib.php to handle constructing a url. It would internally stores params as an array and have methods to manipulate the array. The class can also output the params as hidden fields in a form or as a url with get params appended.

commit 71e0eda8f7991dac52b3430f88018962d13e2049
Author: jamiesensei <jamiesensei>
Date:   Mon, 30 Apr 2007 14:48:57 +0800
Tag:    v1.9.0

standardizing params for edit question page. All pages now use courseid instead of course or id.

commit efe839dc122ba85e51323dd1e5556a17685ca17f
Author: jamiesensei <jamiesensei>
Date:   Fri, 27 Apr 2007 19:27:57 +0800
Tag:    v1.9.0

Removed 'edit category' redundant button

commit 1f21cc88f75a4a4623f5997f3fd3cee4ee40bc93
Author: jamiesensei <jamiesensei>
Date:   Fri, 27 Apr 2007 13:55:57 +0800
Tag:    v1.9.0

removed global vars declaration for var not used in method.

commit f3ba642c5cb20de0c96ff2780cc80c0bef8d9935
Author: jamiesensei <jamiesensei>
Date:   Fri, 27 Apr 2007 13:48:12 +0800
Tag:    v1.9.0

forget to pass page parameter during redirects.

commit 0d32a25dd5c611f5cf281940fb22ce721f7f71af
Author: jamiesensei <jamiesensei>
Date:   Fri, 27 Apr 2007 13:36:03 +0800
Tag:    v1.9.0

oops. small mistake with copyright notice.

commit a982d582c4f5918cf5b1c1c10961a0dba74873c5
Author: jamiesensei <jamiesensei>
Date:   Wed, 25 Apr 2007 22:06:37 +0800
Tag:    v1.9.0

Added redirects after all actions. Added methods to category class to generate a url from an array of parameters stored in the object. Cleaned up some old redundant code for actions now processed in list class.

commit dac786f300cd35b7d40fafe29399d36435c068c8
Author: jamiesensei <jamiesensei>
Date:   Thu, 19 Apr 2007 16:57:54 +0800
Tag:    v1.9.0

MDL-9437 lib/listlib.php for displaying and editing a nested list of items.  And changes to question\category.php to use the new lists.

commit 79dd326093373456580e8f3ccde0c47211cb9922
Author: jamiesensei <jamiesensei>
Date:   Thu, 12 Apr 2007 23:35:57 +0800
Tag:    v1.7.3

making notifytiny style a little bigger

commit bfeb2678dfcee1da515ee07ba378a9f53340f40e
Author: jamiesensei <jamiesensei>
Date:   Thu, 12 Apr 2007 23:08:15 +0800
Tag:    v1.8.1

making notifytiny style a little bigger

commit 8a3719f5176bdec14088d141a3340fd6f4790a20
Author: jamiesensei <jamiesensei>
Date:   Thu, 12 Apr 2007 22:59:32 +0800
Tag:    v1.9.0

making notifytiny style a little bigger

commit 4989bc795107945819589537e311a4643c9dc9d0
Author: jamiesensei <jamiesensei>
Date:   Fri, 06 Apr 2007 14:45:16 +0800
Tag:    v1.7.3

added a style for the required field description that was forgotten. More are missing judging by appearances.

commit 326d894b833f95b709fa6c0ade36dc874c7a11a4
Author: jamiesensei <jamiesensei>
Date:   Fri, 06 Apr 2007 14:09:12 +0800
Tag:    v1.8.1

see MDL-8886.

commit 8eb102ff1cd3b0177c9ff7896f41fcfa085ac157
Author: jamiesensei <jamiesensei>
Date:   Fri, 06 Apr 2007 14:08:19 +0800
Tag:    v1.7.3

see MDL-8886.

commit 632b88d5a27542acc4019e9d884426dbfb4e01bb
Author: jamiesensei <jamiesensei>
Date:   Fri, 06 Apr 2007 14:01:11 +0800
Tag:    v1.9.0

see MDL-8886.

commit 377d7c751505ba915a6169273d7cded510d8ba3c
Author: jamiesensei <jamiesensei>
Date:   Wed, 04 Apr 2007 18:29:41 +0800
Tag:    v1.7.3

fixes MDL-9195 mform->hardFreeze() doesn't remove id attribute of label for checkbox

commit 1859dfe70deece71db4c0c86aba615ca93bb9ea2
Author: jamiesensei <jamiesensei>
Date:   Wed, 04 Apr 2007 18:27:16 +0800
Tag:    v1.8.1

fixes MDL-9195 mform->hardFreeze() doesn't remove id attribute of label for checkbox

commit db8e700b0a7d60ad253845b407da43973fdd0e9d
Author: jamiesensei <jamiesensei>
Date:   Wed, 04 Apr 2007 18:16:22 +0800
Tag:    v1.9.0

fixes MDL-9195 mform->hardFreeze() doesn't remove id attribute of label for checkbox

commit 24e25bc124025a4dac6c461191a30305e45521e7
Author: jamiesensei <jamiesensei>
Date:   Tue, 13 Mar 2007 23:50:22 +0900
Tag:    v1.9.0

small change to fix MDL-8788 which was a problem with non unique header element names

commit 6b344faba70b52c383c39ef86c2beaea01b5dcb0
Author: jamiesensei <jamiesensei>
Date:   Tue, 13 Mar 2007 23:46:17 +0900
Tag:    v1.8.0

small change to fix MDL-8788 which was a problem with non unique header element names

commit 120e5cbf4ca36ee2f30f37d0df6d409305064555
Author: jamiesensei <jamiesensei>
Date:   Thu, 01 Mar 2007 16:45:22 +0900
Tag:    v1.9.0

fiexs MDL-8659   : Impossible to create Cloze type question in Moodle 1.8 beta

commit 68696f6aa8fa8266337588000d92ffe7f7bd44de
Author: jamiesensei <jamiesensei>
Date:   Thu, 01 Mar 2007 16:40:25 +0900
Tag:    v1.8.0

fix to MDL-8659 Impossible to create Cloze type question in Moodle 1.8 beta

commit f5efac7b85d4894f2596044e1ded6389f1d50c42
Author: jamiesensei <jamiesensei>
Date:   Mon, 26 Feb 2007 15:38:47 +0900
Tag:    v1.9.0

fixes  (MDL-8449) Quiz start and close times should allow the teacher to select a time as well as a date.

commit c799044c2cfafeee5031f4300563957ecb985129
Author: jamiesensei <jamiesensei>
Date:   Mon, 26 Feb 2007 15:32:15 +0900
Tag:    v1.8.0

fix for  (MDL-8449) Quiz start and close times should allow the teacher to select a time as well as a date.

commit 8cf2a05c4a380160ccf93971148a44b9a038aa49
Author: jamiesensei <jamiesensei>
Date:   Wed, 31 Jan 2007 04:09:46 +0900
Tag:    v1.8.0

fix for misalignment of text inputs in formslib forms in ie MDL-7748

commit bc9ec4a604876718e1290b2feaaa0178ad01166c
Author: jamiesensei <jamiesensei>
Date:   Wed, 31 Jan 2007 03:44:23 +0900
Tag:    v1.8.0

more clean fix to safari issue with fieldsets

commit f60feba579c7b17a0b9248d6a3cd8ce46448855d
Author: jamiesensei <jamiesensei>
Date:   Wed, 31 Jan 2007 01:55:18 +0900
Tag:    v1.8.0

fix for bug in Safari displaying fieldsets when the last element is textarea in which case textarea tended to overlap fieldset boundary.

commit a8d2a373a184ee2c05efed0ca4738e2b5676f9a4
Author: jamiesensei <jamiesensei>
Date:   Wed, 31 Jan 2007 00:31:50 +0900
Tag:    v1.8.0

some fixes for problem reported by Pierre Pichet.

commit 9bf930bd07220475227791ff29afb1f24efd9551
Author: jamiesensei <jamiesensei>
Date:   Tue, 30 Jan 2007 16:45:15 +0900
Tag:    v1.8.0

fix related to MDL-8282 - "show advanced" button doesn't work under IE7

commit 552d35c1876f2d7d1fa055ffea12e565942d2b84
Author: jamiesensei <jamiesensei>
Date:   Thu, 25 Jan 2007 00:13:46 +0900
Tag:    v1.8.0

fixed some small typos I introduced.

commit 3a298174e8ed9c9abb6dd1cae279b0925b07d33f
Author: jamiesensei <jamiesensei>
Date:   Sun, 21 Jan 2007 19:32:42 +0900
Tag:    v1.8.0

important security fix previous use of ['type'] in repeatedeloptions array would not have worked.

commit 658772186af91c901c640ea78f20ac2cc36120e1
Author: jamiesensei <jamiesensei>
Date:   Sun, 21 Jan 2007 18:26:33 +0900
Tag:    v1.8.0

some small changes

commit 988d1202e31c7e75ca5e74500a8d28055d7e2e92
Author: jamiesensei <jamiesensei>
Date:   Sun, 21 Jan 2007 18:23:19 +0900
Tag:    v1.8.0

fixed focus method which was tring to focus on hidden fields.

commit 5054ddbb59e24c5524098291165bd9b4a2a98079
Author: jamiesensei <jamiesensei>
Date:   Sun, 21 Jan 2007 18:14:35 +0900
Tag:    v1.8.0

comment got detached from function - fixed.

commit f84d6a8d5606a9d1cb095ff9b4f745d9424617b5
Author: jamiesensei <jamiesensei>
Date:   Sun, 21 Jan 2007 17:26:59 +0900
Tag:    v1.8.0

fixes to wiki form checkboxes value saving

commit 0e8d6a3e9efdc1fd6d22b33a0c6a9f1a356b0017
Author: jamiesensei <jamiesensei>
Date:   Fri, 19 Jan 2007 22:05:54 +0900
Tag:    v1.8.0

MDL-7780 Choose legend/header text carefully - short and non-repeated

commit c0ae32d9ff12123838ca0d2ae719d5fdc57c1236
Author: jamiesensei <jamiesensei>
Date:   Fri, 19 Jan 2007 20:35:12 +0900
Tag:    v1.8.0

made some changes to user/edit.php setAdvanced and header name changes for MDL-7780

commit ec3dac9876d283dbca20a8b74cd274cd5c91e10b
Author: jamiesensei <jamiesensei>
Date:   Fri, 19 Jan 2007 20:10:09 +0900
Tag:    v1.8.0

fixes for 'Choose legend/header text carefully - short and non-repeated' MDL-7780

commit 642b2ab1820f425337a3179fcbc6e05c3093d330
Author: jamiesensei <jamiesensei>
Date:   Fri, 19 Jan 2007 20:06:05 +0900
Tag:    v1.8.0

fixed problem with helpbuttons appearing below the label on static and frozen elements.

commit d4039c7262a495aa38505a0b6c42b3c3d76a017f
Author: jamiesensei <jamiesensei>
Date:   Fri, 19 Jan 2007 19:35:00 +0900
Tag:    v1.8.0

fix for syntax error trying to call hardFreeze on element instead of form object.

commit 549b26b33965af382828cdb4db9459632634d5b2
Author: jamiesensei <jamiesensei>
Date:   Fri, 19 Jan 2007 17:10:01 +0900
Tag:    v1.8.0

migrated wiki form to formslib

commit 7043d0a756125d56de4200776ab8bf858e95debc
Author: jamiesensei <jamiesensei>
Date:   Fri, 19 Jan 2007 17:08:50 +0900
Tag:    v1.8.0

set default for this element to return a '0' if unchecked and '1' if checked.

commit cfa73a95519eac9ee387dda65f00542c5b30ae1d
Author: jamiesensei <jamiesensei>
Date:   Fri, 19 Jan 2007 16:21:51 +0900
Tag:    v1.8.0

answer '0' is a valid answer for a numeric question.

commit 845b703bb9a45046008208cbf450c304bf097ed1
Author: jamiesensei <jamiesensei>
Date:   Fri, 19 Jan 2007 16:20:43 +0900
Tag:    v1.8.0

oops. fix to last commit about empty answers logic was wrong

commit b7d4df606ebfd8c81f8106d6561075b150fe4a1a
Author: jamiesensei <jamiesensei>
Date:   Fri, 19 Jan 2007 16:18:26 +0900
Tag:    v1.8.0

fix for erroneous empty answer detection when answer is '0' which is a valid answer for numeric qs.

commit 7b41a4a98924230c0f460a7d99ff09bcc2f61d84
Author: jamiesensei <jamiesensei>
Date:   Thu, 18 Jan 2007 20:21:10 +0900
Tag:    v1.8.0

some more small changes to datasetdependent and calculated question type forms

commit 71534002d01814ac8bc85e6d6718ba1887178adb
Author: jamiesensei <jamiesensei>
Date:   Thu, 18 Jan 2007 19:22:56 +0900
Tag:    v1.8.0

migrated 'missingtype' questoin creation forms to use formslib

commit 60b5ecd3cf29cc4898f9958d75220e9d18d8b3af
Author: jamiesensei <jamiesensei>
Date:   Thu, 18 Jan 2007 03:28:51 +0900
Tag:    v1.8.0

more work on the datasetdependent / calculated question creation forms

commit a7f7e52fc5cd6385365725abb46bcee9da0fa553
Author: jamiesensei <jamiesensei>
Date:   Wed, 17 Jan 2007 00:36:33 +0900
Tag:    v1.8.0

changed name of moodleform_mod method 'defaults_preprocessing' to 'data_preprocessing' in line with change of set_defaults name to set_data.

commit fa3bf11d0229f92c01a1289a762cbd77e9327f31
Author: jamiesensei <jamiesensei>
Date:   Mon, 15 Jan 2007 19:39:43 +0900
Tag:    v1.8.0

removed print_object that got left in here

commit 8fc3e643ae4be846947370eea9957f12de230d93
Author: jamiesensei <jamiesensei>
Date:   Sat, 13 Jan 2007 17:59:00 +0900
Tag:    v1.8.0

more work on the calculated and datasetdependent qtype

commit 9958e84f3c751b1fcee291daf2bb00084974608f
Author: jamiesensei <jamiesensei>
Date:   Fri, 12 Jan 2007 18:41:21 +0900
Tag:    v1.8.0

removed condition 'if ($userupdate) {' (ie if user has capability moodle/user:update) then freeze fields locked  by admin / auth plug ins. Now fields are always frozen.

commit 98af2d1dc31235d8ae7b5fccef80de024986bbf2
Author: jamiesensei <jamiesensei>
Date:   Fri, 12 Jan 2007 17:36:24 +0900
Tag:    v1.8.0

small fix in hardFreeze

commit 3c19571fedd318046d17c0e182358bc02beeaca4
Author: jamiesensei <jamiesensei>
Date:   Fri, 12 Jan 2007 17:22:56 +0900
Tag:    v1.8.0

just amended some of the set_defaults stuff

commit acc9c3e037339c76f52452fb1812a11be571e532
Author: jamiesensei <jamiesensei>
Date:   Fri, 12 Jan 2007 15:19:39 +0900
Tag:    v1.8.0

added hardFreeze method and used it in edit_form.php it ensures frozen elements have persistantFreeze property set to false.

commit ccbef0e2b76644610230c33e603a0a47e6564f6d
Author: jamiesensei <jamiesensei>
Date:   Fri, 12 Jan 2007 14:07:22 +0900
Tag:    v1.8.0

moved set_defaults to main script out of definition method.

commit 0ffb4cc703d0181428b712fb26ae97e5de1ec68f
Author: jamiesensei <jamiesensei>
Date:   Fri, 12 Jan 2007 13:36:02 +0900
Tag:    v1.8.0

special handling of frozen fields - frozen elements pass the default value (set by set_defaults or setDefault) and ignore submitted data in data_submitted()

commit 92186abc95c61cefc09aad945c135a0e89012f5f
Author: jamiesensei <jamiesensei>
Date:   Thu, 11 Jan 2007 13:59:16 +0900
Tag:    v1.8.0

working on multipage form for calculated question type

commit 0709d4d5f5cf168bc6b4ff304dae3a22a91d47d5
Author: jamiesensei <jamiesensei>
Date:   Thu, 11 Jan 2007 13:57:57 +0900
Tag:    v1.8.0

some xhtml validity fixes for the case that select and text elements are 'frozen'

commit 8c2550c87a004e5eeacb128eca7d1f9d3dd447f5
Author: jamiesensei <jamiesensei>
Date:   Wed, 10 Jan 2007 15:46:12 +0900
Tag:    v1.8.0

moved header printing so it is only printed when displaying a form.

commit 87391656a38d8c02d9b5d20ba9b686b05c9780c6
Author: jamiesensei <jamiesensei>
Date:   Wed, 10 Jan 2007 15:40:42 +0900
Tag:    v1.8.0

got rid of 'Changes Saved' message before redirect.

commit 78354cec8ca382365f8ee26ff9cd7cc5187632a7
Author: jamiesensei <jamiesensei>
Date:   Wed, 10 Jan 2007 15:17:45 +0900
Tag:    v1.8.0

fixed xhtml problem in repeared header elements which had [] in id.

commit 10a3103164e06f75cb1d21a5658ead7e1e2cf1bb
Author: jamiesensei <jamiesensei>
Date:   Wed, 10 Jan 2007 14:26:22 +0900
Tag:    v1.8.0

fix for MDL-8117 - div nested in span for grouped elements in formslib - changed spans to div

commit 9aa022feef852f561b28894e1cc6033e62a66377
Author: jamiesensei <jamiesensei>
Date:   Wed, 10 Jan 2007 14:05:26 +0900
Tag:    v1.8.0

xhtml validity fix for static element type qtype calculated form - started

commit 86aab05ced2e926f52735cad7d786b39abc69350
Author: jamiesensei <jamiesensei>
Date:   Tue, 09 Jan 2007 00:53:17 +0900
Tag:    v1.8.0

fix for xhtml probs MDL-8102 and MDL-7979 - invalid id attributes. and stopped using label tag for a group of elements where the label refers to the group of elements and not an individual one.

commit 08224df157c5f6f105927ee756653dbafe5f5c77
Author: jamiesensei <jamiesensei>
Date:   Mon, 08 Jan 2007 22:58:42 +0900
Tag:    v1.8.0

migrated randomsamatch to formslib. fixed small typo in quiz mod_form

commit 24f7485b155fde06647b5bc310e11e47c9344213
Author: jamiesensei <jamiesensei>
Date:   Mon, 08 Jan 2007 19:35:57 +0900
Tag:    v1.8.0

some extra validaton for multichoice and some bug fixes for multichoice and random qtype.

commit 4a163300c8406450537ad99ebac49544da9dcd7a
Author: jamiesensei <jamiesensei>
Date:   Mon, 08 Jan 2007 18:09:39 +0900
Tag:    v1.8.0

removed redundant files after formslib conversion

commit 490d89e591e12b5dc602437b94a9b1dd8d73df5e
Author: jamiesensei <jamiesensei>
Date:   Mon, 08 Jan 2007 02:22:31 +0900
Tag:    v1.8.0

removing more redundant files after qtype form formslib migration

commit c6fc998899bbcafeaa42c8fe07f6eb4f9c78fbbc
Author: jamiesensei <jamiesensei>
Date:   Mon, 08 Jan 2007 02:06:50 +0900
Tag:    v1.8.0

more last fixes to question forms and removal of redundant files

commit 111be766b69b960a9fb785444e511ada0ecca759
Author: jamiesensei <jamiesensei>
Date:   Mon, 08 Jan 2007 01:41:06 +0900
Tag:    v1.8.0

changed implementation of advcheckbox so as to keep PEAR code seperate to Moodle code.

commit 04786f082d90c042910329eb1e729e7e1d9d52bc
Author: jamiesensei <jamiesensei>
Date:   Mon, 08 Jan 2007 01:36:38 +0900
Tag:    v1.8.0

removing redundant files after migration to formslib and some further bug fixing in question type forms.

commit cfcfddbcbfa62539f5bb133645929698b5325a4f
Author: jamiesensei <jamiesensei>
Date:   Mon, 08 Jan 2007 01:11:48 +0900
Tag:    v1.8.0

new formslib element type advcheckbox prepends a hidden element to a checkbox so a value is submitted whether the checkbox is checked or not.

commit 6e9b6ba20789b9991d1d38d1f37faa1889ab617c
Author: jamiesensei <jamiesensei>
Date:   Mon, 08 Jan 2007 01:10:42 +0900
Tag:    v1.8.0

numerical and random question type creation form migrated to formslib

commit 375ed78a93106da39de253a46e8fba1429585b94
Author: jamiesensei <jamiesensei>
Date:   Sun, 07 Jan 2007 22:54:36 +0900
Tag:    v1.8.0

fixed the MoodleQuickForm_questioncategory, question_category_options function wasn't committed so I've implemented it from question_category_select_menu code.

commit 271ffe3f254ef814fd79a133c7fedf5fb600468e
Author: jamiesensei <jamiesensei>
Date:   Sun, 07 Jan 2007 21:46:47 +0900
Tag:    v1.8.0

various formslib work including bug fixes for MDL-8039 id attribute collision between forms and page ids. Also added editor helpbutton. This is a fix for MDL-6941 need the ability to associate several helptopics with htmleditor. Also started on converting forms for question types to formslib.

commit 01ae934f23d4173e90e051d62bef8a6cb63e265c
Author: jamiesensei <jamiesensei>
Date:   Sun, 07 Jan 2007 21:11:57 +0900
Tag:    v1.8.0

renamed file and some changes to form definition etc.

commit d5307218772e33cf773458d13a39aa4deeecd2b2
Author: jamiesensei <jamiesensei>
Date:   Fri, 05 Jan 2007 16:05:54 +0900
Tag:    v1.8.0

settting first param of moodleform constructor to null tells moodleform to autodetect where to submit to

commit b07b6c81341167bf59588f38707013e7c9265094
Author: jamiesensei <jamiesensei>
Date:   Fri, 05 Jan 2007 15:47:35 +0900
Tag:    v1.8.0

added 'required' class to outermost div of form elements

commit 18a7736107923aec98ec5673e511aac084bec855
Author: jamiesensei <jamiesensei>
Date:   Fri, 05 Jan 2007 13:51:46 +0900
Tag:    v1.8.0

added helpbuttons to htmleditors where needed. Further work on htmleditor helpbutton code.

commit ff768bc57eea49aa008835f4f9ea463325dc9ee4
Author: jamiesensei <jamiesensei>
Date:   Thu, 04 Jan 2007 20:30:37 +0900
Tag:    v1.8.0

small fix to button

commit 5ce73257ab81f55a1e008db53fe2557190fcea76
Author: jamiesensei <jamiesensei>
Date:   Thu, 04 Jan 2007 19:23:06 +0900
Tag:    v1.8.0

some bug fixes in setHelpButton internals. added new editorhelpbutton function that can be used to refer to several help topics.

commit ebff6e2c5e41fb478e22704484faab60ba949f4d
Author: jamiesensei <jamiesensei>
Date:   Fri, 29 Dec 2006 01:44:47 +0900
Tag:    v1.8.0

better code formatting

commit b6d15ddef91a31f703c11f31460fd4d3b9754212
Author: jamiesensei <jamiesensei>
Date:   Fri, 29 Dec 2006 01:12:22 +0900
Tag:    v1.8.0

removed all 'Revert' buttons from forms and removed it altogether from add_action_buttons method since it was decided it didn't contribute to usability.

commit 1d284fbd8571aa20574b74004a567c8013be2b8e
Author: jamiesensei <jamiesensei>
Date:   Fri, 29 Dec 2006 00:43:47 +0900
Tag:    v1.8.0

fixing all the form names as per new class naming convention (PHP class names are also used for html id for styling)

commit f07b9627b605414282091dcd0719e9fee763c6c7
Author: jamiesensei <jamiesensei>
Date:   Thu, 28 Dec 2006 18:32:45 +0900
Tag:    v1.8.0

changes to how we generate the id attribute of forms and the naming convention of forms migrate blog edit to formslib

commit cc8cbf55916cbb3144ba4ce4891a50154b1ddb6b
Author: jamiesensei <jamiesensei>
Date:   Tue, 19 Dec 2006 20:43:32 +0900
Tag:    v1.8.0

got rid of extra help button that shouldn't have been there.

commit da43c002ff57ab4b329fa681d53c846ed8b8fae7
Author: jamiesensei <jamiesensei>
Date:   Tue, 19 Dec 2006 20:18:06 +0900
Tag:    v1.8.0

fix for MDL-7937 'Fatal error: Call to a member function on a non-object in /var/www/dev/lib/pear/HTML/QuickForm.php on line 602 error'

commit a23f0aaf9570886bf5803459f0018dd68e835328
Author: jamiesensei <jamiesensei>
Date:   Tue, 19 Dec 2006 16:03:08 +0900
Tag:    v1.8.0

* Added setAdvanced functionality see http://docs.moodle.org/en/Development:lib/formslib.php_setAdvanced * Added MoodleQuickForm method closeHeaderBefore($elementName); http://docs.moodle.org/en/Development:lib/formslib.php_Form_Definition#Use_Fieldsets_to_group_Form_Elements * Added moodleform method add_action_buttons(); see http://docs.moodle.org/en/Development:lib/formslib.php_Form_Definition#add_action_buttons.28.24cancel_.3D_true.2C_.24revert_.3D_true.2C_.24submitlabel.3Dnull.29.3B * is_cancelled method added to moodleform http://docs.moodle.org/en/Development:lib/formslib.php_Usage#Basic_Usage_in_A_Normal_Page * added hidden labels to elements within groups such as the date_selector select boxes and other elements in 'groups' * quiz/mod.html migrated to formslib * glossary/edit.html migrated to formslib * extended registerNoSubmitButton() functionality to automatically add js to onclick to bypass client side js input validation. * added no_submit_button_pressed() function that can be used in a similar way to is_cancelled() as a test in the main script to see if some button in the page has been pressed that is a submit button that is used for some dynamic functionality within the form and not to submit the data for the whole form. * added new condition for disabledIf which allows to disable another form element if no options are selected from within a select element. * added default 'action' for moodleform  - strip_querystring(qualified_me()) http://docs.moodle.org/en/Development:lib/formslib.php_Usage#Basic_Usage_in_A_Normal_Page

commit 19194f825ac32fef16b0ccafbb4acc326ee84cae
Author: jamiesensei <jamiesensei>
Date:   Thu, 14 Dec 2006 21:44:10 +0900
Tag:    v1.8.0

added setAdvanced MoodleQuickForm method. And added closeHeaderAfter method

commit fe2e0a749ed927e18f021c094c6c78e99e435524
Author: jamiesensei <jamiesensei>
Date:   Mon, 11 Dec 2006 19:10:26 +0900
Tag:    v1.8.0

fixing couple of syntax errors introduced into css

commit 84b4a843ed4a2ef1527561a6c600ac8059a35651
Author: jamiesensei <jamiesensei>
Date:   Mon, 11 Dec 2006 19:07:47 +0900
Tag:    v1.8.0

removed whitespace at the end of file causing headers already sent errors

commit 44875d78989d31fde47ee1e33781c0233bbf3476
Author: jamiesensei <jamiesensei>
Date:   Sat, 09 Dec 2006 23:06:15 +0900
Tag:    v1.8.0

added code to include hidden labels in groups in forms

commit 37601e884fd37972bcec73d2312d36747b779759
Author: jamiesensei <jamiesensei>
Date:   Sat, 09 Dec 2006 21:16:41 +0900
Tag:    v1.8.0

small change to stop elements moving down to next line in IE with 800 px width.

commit 4dd564ddb2bc0671c2e3a0b03ba36c6b0fc48a54
Author: jamiesensei <jamiesensei>
Date:   Sat, 09 Dec 2006 20:45:24 +0900
Tag:    v1.8.0

small fix to disabledIf initiation

commit 11f260f4eef7b65921a089c34027464a3fae610c
Author: jamiesensei <jamiesensei>
Date:   Sat, 09 Dec 2006 20:42:57 +0900
Tag:    v1.8.0

some changes to date_selector and date_time_selector. Now automatically disabledIf disable checkbox is checked. 'optional' option includes a disable checkbox.

commit 46e648b610cf1e0ce46d84f01ae9096365321c26
Author: jamiesensei <jamiesensei>
Date:   Thu, 07 Dec 2006 19:39:28 +0900
Tag:    v1.8.0

added Sam's 'enabled' checkbox functionality

commit dbc6607baa7d3d1521e23d3ffe48629036c43d5d
Author: jamiesensei <jamiesensei>
Date:   Thu, 07 Dec 2006 14:37:41 +0900
Tag:    v1.8.0

added some strings for labels for dateselector and datetimeselector day, month etc. elements.  These are not used yet.

commit e7004d051ac495c859f6f5f42039fe2246adbd1a
Author: jamiesensei <jamiesensei>
Date:   Tue, 05 Dec 2006 23:27:24 +0900
Tag:    v1.8.0

fix for problem of duplicated error messages, client side validation not deleting old error message before displaying new ones.

commit a2e67a9a47672837afdf5e91c96d8c341955f7d4
Author: jamiesensei <jamiesensei>
Date:   Tue, 05 Dec 2006 22:32:32 +0900
Tag:    v1.8.0

fix for error preventing adding of more choices in chat upate form

commit 0b82f5b9133d00d85ef5cb4da0175690166c4f27
Author: jamiesensei <jamiesensei>
Date:   Tue, 05 Dec 2006 22:23:18 +0900
Tag:    v1.8.0

fix for error in logic about where to redirect to after a cancel or after activity mod is successfully added or update.

commit 0befbdfd8f0d5f6a25b71e49a363c8c608fc371a
Author: jamiesensei <jamiesensei>
Date:   Tue, 05 Dec 2006 22:21:40 +0900
Tag:    v1.8.0

petr's patch to fix problem with htmlarea breaking clientside validation. Also using id's with same naming convention as formslib for htmlareas.

commit eca038b50bb1a6bf7f34efe8e5b0c1f6dc306240
Author: jamiesensei <jamiesensei>
Date:   Tue, 05 Dec 2006 20:58:43 +0900
Tag:    v1.8.0

changed name of reset element in form from 'reset' to 'resetbutton' so that the element name doesn't conflict with js form method reset.

commit 1c51317b2cc6f7fa102c86ade712d0fd0c966538
Author: jamiesensei <jamiesensei>
Date:   Mon, 04 Dec 2006 19:59:07 +0900
Tag:    v1.8.0

small change to type of returned var from is_validated()

commit 3ba2c1871e06870c48e34d673195306c6afbfe4a
Author: jamiesensei <jamiesensei>
Date:   Mon, 04 Dec 2006 19:55:50 +0900
Tag:    v1.8.0

*** empty log message ***

commit 19110c573dbb33d815d65f25ca2efa1606649b01
Author: jamiesensei <jamiesensei>
Date:   Mon, 04 Dec 2006 18:36:30 +0900
Tag:    v1.8.0

added new 'cancel' element type and introduced new is_cancelled() MoodleQuickForm method. also used new cancel button in all mod_forms as well as a 'Revert' button and reworked logic about where to go on cancel or after submission for modedit.php

commit a12034e4abf21daa1a02d0f75e0cafcfd5ef72e7
Author: jamiesensei <jamiesensei>
Date:   Fri, 01 Dec 2006 14:33:23 +0800
Tag:    v1.8.0

fixed 2 problems with css styling :

commit 67906614ad803b7aa7a066742ed4241b48d57ed9
Author: jamiesensei <jamiesensei>
Date:   Thu, 30 Nov 2006 16:47:52 +0800
Tag:    v1.8.0

now using disabledIf method in course/edit

commit d4b26b9025d5e72fbe0ec90311528c394e55bae5
Author: jamiesensei <jamiesensei>
Date:   Tue, 28 Nov 2006 23:35:22 +0800
Tag:    v1.8.0

migrated mod/exercise/mod.html to formslib

commit 4c523bed9e3bca3d279eab5f4991d5a62c865fcc
Author: jamiesensei <jamiesensei>
Date:   Tue, 28 Nov 2006 23:14:22 +0800
Tag:    v1.8.0

small change to formslib css

commit f88a9e63595b404d7f66e1c7078387405543f262
Author: jamiesensei <jamiesensei>
Date:   Tue, 28 Nov 2006 23:13:16 +0800
Tag:    v1.8.0

added help file for 'req' icon.

commit 2dbd6409323a023123e70f5abe1b987aec8c0373
Author: jamiesensei <jamiesensei>
Date:   Tue, 28 Nov 2006 16:04:00 +0800
Tag:    v1.8.0

some fixes for disabledIf and using disabledIf in course/edit_form.php

commit 49eacbe3284f5b00d8ec8231632543154ab9ff57
Author: jamiesensei <jamiesensei>
Date:   Mon, 27 Nov 2006 17:02:35 +0800
Tag:    v1.8.0

added check to see if at least two choices have been entered when setting up or updating a choice activity.

commit 74e01e62815889f87b1e5fab883201d548fe136e
Author: jamiesensei <jamiesensei>
Date:   Sat, 25 Nov 2006 00:38:22 +0800
Tag:    v1.8.0

changed name of submit buttons to submitbutton instead of sumbit as submit was conflicting with method form.submit()

commit 8e308b00c744fcfdf99f26524962d8ecb5d3d68f
Author: jamiesensei <jamiesensei>
Date:   Fri, 24 Nov 2006 20:49:32 +0800
Tag:    v1.8.0

little bit of white space cleaning up

commit 616b549a58d4d6c11aa09e91b4b5fc8750b12ae5
Author: jamiesensei <jamiesensei>
Date:   Fri, 24 Nov 2006 20:33:53 +0800
Tag:    v1.8.0

added some phpdoc comments to repeat_elements() method

commit ebd3c7ac94c775318740f4ecd09f7d8080812a8b
Author: jamiesensei <jamiesensei>
Date:   Fri, 24 Nov 2006 20:20:26 +0800
Tag:    v1.8.0

added repeat_elements method to moodleform and used method for choice form

commit e24b7f851a34b1a5d15970eb4f83876d834f82cf
Author: jamiesensei <jamiesensei>
Date:   Fri, 24 Nov 2006 14:39:15 +0800
Tag:    v1.8.0

some restructuring of formslib - moving moodleform_mod definition to new file course\moodleform_mod.php and some changes to moodleform_mod standard elements setup and moodleform disabledIf API

commit 02f8f37d5de255ce26dc1f8cbbd7edc3c02e29c0
Author: jamiesensei <jamiesensei>
Date:   Thu, 23 Nov 2006 17:38:33 +0800
Tag:    v1.8.0

added defaults for when there is no submitted data to datetimeselector and small fix for forum\mod_form.php

commit 7a3d8c602f0878eaefe0567f47efdf7897d9a66d
Author: jamiesensei <jamiesensei>
Date:   Thu, 23 Nov 2006 00:54:12 +0800
Tag:    v1.8.0

added dependencies to form

commit 9403060aacc9c5a653bf1c511d78b6b5dc00a233
Author: jamiesensei <jamiesensei>
Date:   Wed, 22 Nov 2006 23:58:07 +0800
Tag:    v1.8.0

fix for focus problem

commit abf11956f93b1c18485c39d0532a93f0f17df891
Author: jamiesensei <jamiesensei>
Date:   Wed, 22 Nov 2006 23:19:20 +0800
Tag:    v1.8.0

changed method name addDependency to disabledIf and removed data/mod.html

commit 621c4b7d8715857e40ef2ddc1e60737d8aea3e8a
Author: jamiesensei <jamiesensei>
Date:   Wed, 22 Nov 2006 19:09:24 +0800
Tag:    v1.8.0

added dependencies to form

commit d01a38cb06b4f375f4bae20c693eddeb1abbd338
Author: jamiesensei <jamiesensei>
Date:   Wed, 22 Nov 2006 16:53:35 +0800
Tag:    v1.8.0

*** empty log message ***

commit 9c03bbaa0433820a255ddcbc3a8a7b507ee33975
Author: jamiesensei <jamiesensei>
Date:   Tue, 21 Nov 2006 19:02:13 +0800
Tag:    v1.8.0

more fixes for lockoptions behaviour; changes to forum/mod_form.php; removed forum/mod.html

commit 002bd268728c464c2dc9002ad3b1d2b84a391d10
Author: jamiesensei <jamiesensei>
Date:   Tue, 21 Nov 2006 18:19:28 +0800
Tag:    v1.8.0

removed redundant return

commit 57cf1be250a8cf25410dd4fd3dafeba6226124d4
Author: jamiesensei <jamiesensei>
Date:   Tue, 21 Nov 2006 18:18:39 +0800
Tag:    v1.8.0

a bug fix for custom element dateselector

commit 4a2d352a883c6c08d6d81be25cfe46923cae3719
Author: jamiesensei <jamiesensei>
Date:   Tue, 21 Nov 2006 18:16:01 +0800
Tag:    v1.8.0

oops, removed print_object that was left in from debugging

commit 0e6303103b5dde48e97cda262e6dffff5e6c4ee2
Author: jamiesensei <jamiesensei>
Date:   Tue, 21 Nov 2006 18:14:38 +0800
Tag:    v1.8.0

fixed a couple of bugs in custom elements

commit 6e372b2591168a063301f504f90e11a4a12e3d84
Author: jamiesensei <jamiesensei>
Date:   Tue, 21 Nov 2006 17:33:48 +0800
Tag:    v1.8.0

added commenting to addDependency method and used new functionality in forum\mod_form.php

commit 50ef8eb9bd62a5d7cb13bc7d8a5df310584bb568
Author: jamiesensei <jamiesensei>
Date:   Tue, 21 Nov 2006 17:17:46 +0800
Tag:    v1.8.0

adding lockoptions functionality to formslib library and added lockoptionsall()  function which allows multiple dependencies for one dependent element and handles that properly.

commit 373503035f48e46f72cb62e7d9fc128dc418495e
Author: jamiesensei <jamiesensei>
Date:   Wed, 15 Nov 2006 15:49:43 +0800
Tag:    v1.8.0

little bit of clean up. removed extra global var and format element helpbutton is now included in element definition.

commit 5f649aaa7943b2058f2b89e6a349c5e468f23270
Author: jamiesensei <jamiesensei>
Date:   Wed, 15 Nov 2006 15:44:33 +0800
Tag:    v1.8.0

migrated mod/lesson/mod.html to formslib

commit 3c7656b4b02e35de0bfdc9a9668c4e64e0f54e23
Author: jamiesensei <jamiesensei>
Date:   Wed, 15 Nov 2006 15:40:49 +0800
Tag:    v1.8.0

added two new elements button and choosecoursefile which inherits from button

commit f388442b260e41d1dbe05dd6eeb5f30fb8800010
Author: jamiesensei <jamiesensei>
Date:   Wed, 15 Nov 2006 15:36:00 +0800
Tag:    v1.8.0

added removeOption method to allow removing options from a select drop down

commit 145dbd7cee0fff54da91beec2d991a924ab6b8eb
Author: jamiesensei <jamiesensei>
Date:   Wed, 15 Nov 2006 15:34:34 +0800
Tag:    v1.8.0

added action to redirect back to course page or to url in session var if cancel has been pressed.

commit f1e6550be28abf5d4e1c0db647f645db31071730
Author: jamiesensei <jamiesensei>
Date:   Wed, 15 Nov 2006 15:26:48 +0800
Tag:    v1.8.0

needed to add the option to pass an element id rather than a name to index.php as the choose parameter. XHTML strict doesn't allow giving a form a name attribute so we use the id of the form element to select the element to return the filename to. We use getElementById to find the element in the document.

commit 6b717125f999526be823750a03ed20a2156a3edd
Author: jamiesensei <jamiesensei>
Date:   Tue, 14 Nov 2006 14:09:36 +0800
Tag:    v1.8.0

changed width of form to 80% -aesthetic change

commit b2a0cb86d06ce778139463701684a3f95287f87a
Author: jamiesensei <jamiesensei>
Date:   Tue, 14 Nov 2006 14:01:11 +0800
Tag:    v1.8.0

migrated journal/mod.html to formslib

commit ed904dce6d920d126f3f45a707f3af1f24e93d38
Author: jamiesensei <jamiesensei>
Date:   Tue, 14 Nov 2006 13:38:10 +0800
Tag:    v1.8.0

range third parameter doesn't work pre PHP 5.0 removed the use of this.

commit cc935f9174a15bbdc442d6cd88917ebaad5eb236
Author: jamiesensei <jamiesensei>
Date:   Tue, 14 Nov 2006 13:18:39 +0800
Tag:    v1.8.0

fix for bug - not seeing standard elements on activity module form on some versions of PHP.

commit 4ea750414e5ab2bd06f4ee21972e83b003246aa5
Author: jamiesensei <jamiesensei>
Date:   Tue, 14 Nov 2006 11:00:26 +0800
Tag:    v1.8.0

add custom submit button to registry

commit c65795d3417dbd96cac0021d00daad68032ccc9d
Author: jamiesensei <jamiesensei>
Date:   Tue, 14 Nov 2006 10:57:19 +0800
Tag:    v1.8.0

checking in files for some new custom elements. And added a default help button to the format drop down box.

commit 630371c03ab2f847e3f1e4cc571c31bc80cf6af8
Author: jamiesensei <jamiesensei>
Date:   Mon, 13 Nov 2006 17:20:42 +0800
Tag:    v1.8.0

*** empty log message ***

commit d982f8797849b9115310b0c25c8ed2a8d9bdfd37
Author: jamiesensei <jamiesensei>
Date:   Mon, 13 Nov 2006 17:18:47 +0800
Tag:    v1.8.0

shifted hidden elements from standard_coursemodule_elements()  into standard_hidden_coursemodule_elements()  so that they can be included in a form without the other visible standard elements.

commit 085cfa7240a5bac04b8749b8213663ec9ecfe59c
Author: jamiesensei <jamiesensei>
Date:   Mon, 13 Nov 2006 15:56:01 +0800
Tag:    v1.8.0

removing mod.html migrated to formslib

commit a02c77dc6eec9af5332ceb42a0a22e9e81e809bd
Author: jamiesensei <jamiesensei>
Date:   Mon, 13 Nov 2006 15:52:01 +0800
Tag:    v1.8.0

glossary form migrated to formslib and other formslib forms now using $COURSE global

commit d4fe14d3e42a2bc9878e60235b3679fa72f0df52
Author: jamiesensei <jamiesensei>
Date:   Mon, 13 Nov 2006 15:43:22 +0800
Tag:    v1.8.0

some changes to setHelpButton methods on elements and MoodleQuickForm to allow non standard help buttons such as the grades pop up window.

commit e0f406840925be059ea3768714174b2c7bf4b350
Author: jamiesensei <jamiesensei>
Date:   Sun, 12 Nov 2006 19:30:12 +0800
Tag:    v1.8.0

new element type 'selectyesno' and some clean up to code for modvisible and modgroupmode elements.

commit d24206d657caeb4298d1efab03bd8c6f317a758f
Author: jamiesensei <jamiesensei>
Date:   Sun, 12 Nov 2006 19:07:12 +0800
Tag:    v1.8.0

fixed problem with select box element for 'forum type' which must sometimes display option which is otherwise unselectable.

commit da1320dab65801d09eb12780f9c7af9ce0e794d5
Author: jamiesensei <jamiesensei>
Date:   Sun, 12 Nov 2006 15:28:13 +0800
Tag:    v1.8.0

added many extra phpdoc style comments to file

commit 535e0ab6c3ab677bd48fe019469cf2926e811c81
Author: jamiesensei <jamiesensei>
Date:   Fri, 10 Nov 2006 11:04:34 +0800
Tag:    v1.8.0

migrated mod/forum/mod.html to new formslib

commit de5a83bc4574ce4bc5f5c9fa5f3860c1f78c4c4b
Author: jamiesensei <jamiesensei>
Date:   Fri, 10 Nov 2006 10:23:12 +0800
Tag:    v1.8.0

removed extra erroneous help button

commit df56998ab16a1f17a50a7ff7afc99c1e1d4778ae
Author: jamiesensei <jamiesensei>
Date:   Fri, 10 Nov 2006 09:27:51 +0800
Tag:    v1.8.0

need to pass course as customdata to form definition

commit 6403e67965f8697046360938981197170e5dacf0
Author: jamiesensei <jamiesensei>
Date:   Fri, 10 Nov 2006 03:44:20 +0800
Tag:    v1.8.0

migrated mod/data/mod.html to formslib. Still to add lockoption functionality.

commit 3cd7940b0c070391680c48dc3582456b9f6ff651
Author: jamiesensei <jamiesensei>
Date:   Fri, 10 Nov 2006 03:22:38 +0800
Tag:    v1.8.0

moved the inclusion of mod/{modname}/lib.php to before form definition so that constants in there can be used in form defintion

commit 264867fdebbdc3f028bb01d8449e19a5ba199bd2
Author: jamiesensei <jamiesensei>
Date:   Fri, 10 Nov 2006 02:25:58 +0800
Tag:    v1.8.0

add code to redirect to modedit.php from course/mod.php for activities adding / updating using new formslib migrated chat/mod.html to formslib definition of form is in chat/mod_form.php

commit e2294b982205b375ee8e23ca703f4fc897565621
Author: jamiesensei <jamiesensei>
Date:   Fri, 10 Nov 2006 02:08:34 +0800
Tag:    v1.8.0

fixes for small bugs in datetimeselector and dateselector and added custom elements to formslib library for standard module forms

commit bb40325e1bf6796c6f5870dae5d529dd7124df32
Author: jamiesensei <jamiesensei>
Date:   Wed, 08 Nov 2006 14:22:58 +0800
Tag:    v1.8.0

removed trusttext method from formslib which was unnecessary and revised trusttext use in mod/form/post.php

commit 7f42315c13924dd767e403195b6c1bf2d0faaaf1
Author: jamiesensei <jamiesensei>
Date:   Tue, 07 Nov 2006 17:16:36 +0800
Tag:    v1.8.0

whitespace clean up

commit 8adca237cf7acc9cc75067b19ef59c479775c038
Author: jamiesensei <jamiesensei>
Date:   Tue, 07 Nov 2006 17:08:08 +0800
Tag:    v1.8.0

following on from last commit to post.php removing redundant post.html and adding post_form.php new formslib form description

commit 2b63df96c3e99a69f498fd4fd0e2e7da5e235e27
Author: jamiesensei <jamiesensei>
Date:   Tue, 07 Nov 2006 16:48:18 +0800
Tag:    v1.8.0

migrated mod/forum/post.php to formslib and fixed a string in course/edit_form.php

commit 5c52df6797f3f79ef140abd2cb9389e2f250e0b0
Author: jamiesensei <jamiesensei>
Date:   Mon, 30 Oct 2006 14:27:15 +0800
Tag:    v1.8.0

changed focus when there is no error in the page to the first element in a form rather than no focus.

commit cd9f129f8162ffd28c49d7e58209ec5f36dd234d
Author: jamiesensei <jamiesensei>
Date:   Sun, 29 Oct 2006 18:19:48 +0800
Tag:    v1.8.0

added help button for format drop down

commit c3c5f0bd8635a31fd85db896892eac3202a4d861
Author: jamiesensei <jamiesensei>
Date:   Thu, 26 Oct 2006 15:59:22 +0800
Tag:    v1.8.0

migrated comment.php over to using new formslib.

commit effa85f482210f76b961669dde42b0e5c8bf22ec
Author: jamiesensei <jamiesensei>
Date:   Thu, 26 Oct 2006 15:02:20 +0800
Tag:    v1.8.0

added new form element class 'format' for adding format drop down box to forms.

commit 9e471e11655fd2048961fdb650239c1384902289
Author: jamiesensei <jamiesensei>
Date:   Tue, 24 Oct 2006 20:19:34 +0800
Tag:    v1.8.0

migrated to formslib

commit 45ca9e8e2d3c27d737118def7038a797619b1c1a
Author: jamiesensei <jamiesensei>
Date:   Tue, 24 Oct 2006 19:43:51 +0800
Tag:    v1.8.0

added autofocus on first error and moved formslib include to inside request_form.php

commit 6cd72677f6947eb23817f96714d8b3f521d552ad
Author: jamiesensei <jamiesensei>
Date:   Tue, 24 Oct 2006 19:38:33 +0800
Tag:    v1.8.0

added focus on first element with error

commit e8a34ad424646468ec6d7c19bfaa9fa8f0c653d7
Author: jamiesensei <jamiesensei>
Date:   Tue, 24 Oct 2006 19:10:48 +0800
Tag:    v1.8.0

migrated signup.php over to using new formslib

commit 2c412890455eca9923e2a9d04582a523da50f60e
Author: jamiesensei <jamiesensei>
Date:   Tue, 24 Oct 2006 19:05:50 +0800
Tag:    v1.8.0

added a method to return javascript to select form element with first error for use in focus in print_header

commit e995c46e2430f996265d2498c55333c353f36747
Author: jamiesensei <jamiesensei>
Date:   Thu, 19 Oct 2006 15:12:11 +0800
Tag:    v1.8.0

fix for : $this->_form->getElement('allowedmods')->                         updateAttributes(array('disabled' => 'disabled')) ;  that didn't work in PHP 4. (calling a method on a returned object)

commit 073fe8f980df386e9181aabf37c25c72174e199f
Author: jamiesensei <jamiesensei>
Date:   Tue, 17 Oct 2006 19:44:13 +0800
Tag:    v1.8.0

oops, forgot to set to PARAM_RAW for summary field which uses htmleditor on last commit.

commit b6241ce2c8b1a00385db6e0f56ea8e53d6963786
Author: jamiesensei <jamiesensei>
Date:   Tue, 17 Oct 2006 19:38:46 +0800
Tag:    v1.8.0

fixed some whitespace problems

commit e13cc88f021b30abc45aa3f155e3fc2386006716
Author: jamiesensei <jamiesensei>
Date:   Tue, 17 Oct 2006 19:08:13 +0800
Tag:    v1.8.0

migrated to new formslib code. Also removed $course variable which was been used in a number of places in this file but not set anywhere.

commit c08ac0162711545b8143983e69fabeaf38736094
Author: jamiesensei <jamiesensei>
Date:   Mon, 16 Oct 2006 20:07:44 +0800
Tag:    v1.8.0

added new dummy function to moodleform to allow some defintion to be done for the form dependent on data values.

commit 5bc97c98627a8373377348cf6bf03c7fcf2f9a33
Author: jamiesensei <jamiesensei>
Date:   Sat, 14 Oct 2006 20:32:31 +0800
Tag:    v1.8.0

Fixed a bug with client side validation of form fields.

commit 5da7b0b2b4058b1caeaea007b835a4745cfbcb1a
Author: jamiesensei <jamiesensei>
Date:   Thu, 12 Oct 2006 22:21:15 +0800
Tag:    v1.8.0

new edit3.php demos Petr's new API

commit c56f18269e6bc11310d90f37beda6b341b172a2c
Author: jamiesensei <jamiesensei>
Date:   Thu, 12 Oct 2006 22:15:59 +0800
Tag:    v1.8.0

added some methods to give a choice of

commit e9d39a32158bae30c7e67424f206d7464964cd03
Author: jamiesensei <jamiesensei>
Date:   Wed, 11 Oct 2006 14:30:03 +0800
Tag:    v1.8.0

added new form element datetimeselector

commit ea95720fe5b610ad420d4855f41978dc8c8862f4
Author: jamiesensei <jamiesensei>
Date:   Wed, 11 Oct 2006 13:32:35 +0800
Tag:    v1.7.0

*** empty log message ***

commit d9dce4e7b1d48387fdc3301d1c890486be46b390
Author: jamiesensei <jamiesensei>
Date:   Tue, 10 Oct 2006 15:16:05 +0800
Tag:    v1.7.0

changed $default to $toform - more meaningful

commit 461f512795c6b204a3f4f97d3cdbee591c8cf9b8
Author: jamiesensei <jamiesensei>
Date:   Tue, 10 Oct 2006 15:05:19 +0800
Tag:    v1.7.0

moved setting of defaults from edit2.php to edit_form.php

commit 29f1cae1b0fd09aee8c17f3384d91547eb412dd8
Author: jamiesensei <jamiesensei>
Date:   Mon, 09 Oct 2006 19:34:43 +0800
Tag:    v1.7.0

removed htmleditors array - not needed

commit 0d26ea7af9fea4cb4123806157d1e7583cc78189
Author: jamiesensei <jamiesensei>
Date:   Mon, 09 Oct 2006 19:23:23 +0800
Tag:    v1.7.0

fix for bug that value of restrictmodules field wasn't available which breaks disabling of allowedmods multiple select

commit 230a910a0b6d3d6880028b544acb32ef0ef63f63
Author: jamiesensei <jamiesensei>
Date:   Mon, 09 Oct 2006 16:32:30 +0800
Tag:    v1.7.0

added 2 new methods to form class data_submitted and setDefault

commit 909ec807cb833769f8abd9ecebe5329705d94461
Author: jamiesensei <jamiesensei>
Date:   Thu, 28 Sep 2006 18:32:23 +0800
Tag:    v1.7.0

moved styles in theme\standard\styles_form.css to theme\standard\styles_layout.css and removed theme\standard\styles_form.css and all references to it. In line with discussion here : http://moodle.org/mod/forum/discuss.php?d=54907

commit 15fdf6199ed3998698aceecebd3071ab4c906fe3
Author: jamiesensei <jamiesensei>
Date:   Thu, 28 Sep 2006 12:19:56 +0800
Tag:    v1.7.0

wrapping group element in a fieldset tag

commit ec929cd596976c4af396c729ea6d995d80f6c7ef
Author: jamiesensei <jamiesensei>
Date:   Thu, 28 Sep 2006 12:18:35 +0800
Tag:    v1.7.0

now wrapping a group element in a fieldset tag, brought id tag on checkboxes and radio boxes in line with moodle universal form structure

commit 49c5368707f383288f419d20347e3309200e3ea3
Author: jamiesensei <jamiesensei>
Date:   Thu, 28 Sep 2006 03:12:52 +0800
Tag:    v1.7.0

changes to html structure for rendering of forms in line with http://moodle.org/mod/forum/discuss.php?d=54907#250816

commit 57a763a733acc721f267e6c12e7c9a8c2fd2c7ea
Author: jamiesensei <jamiesensei>
Date:   Thu, 28 Sep 2006 03:10:31 +0800
Tag:    v1.7.0

changes to style sheet in line with http://moodle.org/mod/forum/discuss.php?d=54907#250816

commit f0e2d0ac80d2305bf732497f7201f1fec142cdb5
Author: jamiesensei <jamiesensei>
Date:   Thu, 28 Sep 2006 00:31:11 +0800
Tag:    v1.7.0

upgraded tableless pear quickform packages

commit 04ad8eee8274132f2d6ac29a23ddd6807dbcbcca
Author: jamiesensei <jamiesensei>
Date:   Thu, 28 Sep 2006 00:09:15 +0800
Tag:    v1.7.0

added empty setHelpButton method to moodleform_hidden

commit e249661fbba7388adb62d62f2539e744fe3bec2e
Author: jamiesensei <jamiesensei>
Date:   Thu, 28 Sep 2006 00:07:37 +0800
Tag:    v1.7.0

fixed small typo

commit ef625b6bac8c90459894d3d1adee207cf2076214
Author: jamiesensei <jamiesensei>
Date:   Thu, 28 Sep 2006 00:06:56 +0800
Tag:    v1.7.0

added comments to show how to add nested fieldset container for groups of items

commit 42f248e6591b735576d52a2de17deba6c52fbbc6
Author: jamiesensei <jamiesensei>
Date:   Thu, 28 Sep 2006 00:00:19 +0800
Tag:    v1.7.0

new security features added acceptGet, optional_param, required_param, clean_param, methods added to form class

commit 5f2256f3eef03f5558953a8497d0d16a9145061f
Author: jamiesensei <jamiesensei>
Date:   Wed, 27 Sep 2006 23:58:45 +0800
Tag:    v1.7.0

modifications made to demo new security features

commit 7b9cdb60cfa968eff99fa0030428ed23c6d05db4
Author: jamiesensei <jamiesensei>
Date:   Wed, 27 Sep 2006 23:57:21 +0800
Tag:    v1.7.0

demos new security features optional_param, acceptGet

commit 5ae70385944144e0a0e8e3b785555d1c0a8816ba
Author: jamiesensei <jamiesensei>
Date:   Wed, 27 Sep 2006 00:40:35 +0800
Tag:    v1.7.0

modified api to create an htmleditor element

commit f8857b4925037c0f3068385257c8a826c977a999
Author: jamiesensei <jamiesensei>
Date:   Tue, 26 Sep 2006 21:55:51 +0800
Tag:    v1.7.0

adding static element class to registry of Moodleform elements

commit eb476e4adb7ba608faa8387dd3030aef537c45e3
Author: jamiesensei <jamiesensei>
Date:   Tue, 26 Sep 2006 21:32:15 +0800
Tag:    v1.7.0

file describing a static form element for moodle with setHelpButton method

commit 2462a50af3f755b8805bb60cc6bb5dcb80a5f076
Author: jamiesensei <jamiesensei>
Date:   Tue, 26 Sep 2006 19:13:51 +0800
Tag:    v1.7.0

changed some assignments to assignment by reference when instantiating objects.

commit 80f962df90c6bc1c0804b4d197de41d789c7f4ba
Author: jamiesensei <jamiesensei>
Date:   Tue, 26 Sep 2006 17:42:42 +0800
Tag:    v1.7.0

* added error message for setHelpButton method not existing * modified htmleditor class so that differences in formatting for this element are defined by css but use the same html * added type name of element classes to css wrapper class names

commit 1629424dbb92c620da192eff1f9c6ce8d1dbaf17
Author: jamiesensei <jamiesensei>
Date:   Mon, 25 Sep 2006 22:56:45 +0800
Tag:    v1.7.0

added styles_form to $DEFAULT_SHEET_LIST part of the code necessary so that every theme loads styles_form

commit 864cc1de6482e4a517bc3436cc08f35158b3e981
Author: jamiesensei <jamiesensei>
Date:   Mon, 25 Sep 2006 19:08:44 +0800
Tag:    v1.7.0

moved code turning on pear error printing if in debug mode to the top of formslib.php

commit 01963b955236a043525cfe6c537d19889d11a065
Author: jamiesensei <jamiesensei>
Date:   Mon, 25 Sep 2006 01:14:44 +0800
Tag:    v1.7.0

This is a demo of the experimental formslib. It is used here to print and process the course settings form.

commit da6f876395695e34d88fababfdc033411da8729a
Author: jamiesensei <jamiesensei>
Date:   Mon, 25 Sep 2006 01:04:51 +0800
Tag:    v1.7.0

This is a first cut of a new formslib.php a library of classes for creating and securely processing forms in Moodle, based on PEAR QuickForms. Only uses XHTML and CSS and no table tags.