Git commits in Moodle 2.0.0 by Tim Hunt

commit f2956c981356e6d990fafec0b5da793428d7ee59
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 24 Nov 2010 17:05:22 +0800
Tag:    v2.0.0

quiz editing MDL-25391 creating a new question and adding it directly to the quiz was broken.

commit 423b992ee33be13284d2bf92d7d37f7ec834ccbc
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 23 Nov 2010 17:56:14 +0800
Tag:    v2.0.0

quiz editing MDL-25374 recent change broke JS on the order and paging tab.

commit 94dbfb3a8240e5b5b8abc20e065d1bcbd76ae4ae
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 22 Nov 2010 17:52:42 +0800
Tag:    v2.0.0

quiz editing MDL-24750 The Add random button should also let you add questions from an existing category.

commit 06f1bd03be3d4283ac117d37be58cbfa63d61eb8
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 19 Nov 2010 22:24:18 +0800
Tag:    v2.0.0

question XML import/export MDL-18916 Fix import of questions with images exported from Moodle 1.9.

commit 4f2900771dba72bd570f05b6d8b78c5e2c36a33d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 19 Nov 2010 20:33:48 +0800
Tag:    v2.0.0

question XML import/export MDL-18916 should include question tags.

commit 4ec6d4e692a4f65258c7dd959c2c13efb1d28f7e
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 19 Nov 2010 20:16:23 +0800
Tag:    v2.0.0

question export NOBUG delete obsolete code.

commit fe857668d4cb9500a73aaf59a48d11a2c3bc50b9
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 19 Nov 2010 20:13:59 +0800
Tag:    v2.0.0

NOBUG whitespace fixes.

commit 6680966c84729737413b1cc7c06aa8a12e9aabcc
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 19 Nov 2010 19:36:15 +0800
Tag:    v2.0.0

qtype_multichoice MDL-25208 another problem with editing. Thanks to Patrick Pollet for spotting this.

commit b81653e0afb56c5c07255637b0ce2cc1783a90c8
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 19 Nov 2010 19:11:33 +0800
Tag:    v2.0.0

question export MDL-25324 Better file names for question exports - argh! missed lang stings

commit 87214c4e8954532b143ec3a1c8b464bf5721912b
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 19 Nov 2010 19:11:19 +0800
Tag:    v2.0.0

question export MDL-25324 Better file names for question exports - argh! missed lang stings

commit b80d424c50150cb1096f55f9a76c4dd1097ab21c
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 19 Nov 2010 19:02:28 +0800
Tag:    v2.0.0

question export MDL-25324 Better file names for question exports.

commit 5b744492a64c9cbe106f94f1af8e156106b5b16c
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 19 Nov 2010 18:27:29 +0800
Tag:    v2.0.0

gift import/export MDL-25088 another attempt at fixing it, this time with unit tests.

commit a5e8e6e5de3d064ee9a2806c0d1b0bb9d39a5850
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 19 Nov 2010 17:35:54 +0800
Tag:    v2.0.0

qtype multicoice xml export MDL-25208 / MDL-25104 revert incorrect change in qtype_multichoice and do a proper fix in XML export.

commit 26f09e62e7ed643c14236b943a8fdbb2bc4211cf
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 19 Nov 2010 07:43:12 +0800
Tag:    v2.0.0

qtype multichoice MDL-25208 and another problem with saving Multiple choice questions.

commit 679f7963cfca04d31fb9e125efb095d7984f8b6f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 19 Nov 2010 06:39:09 +0800
Tag:    v2.0.0

qtype_multichoice MDL-25208 fix my earlier screw-up

commit d744fc392a16621f68f140b875c87facd1105cd4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 19 Nov 2010 06:38:50 +0800
Tag:    v2.0.0

quiz NOBUG improve a comment.

commit 49da759b30aa69dbc18426c3b2420980c38ba0e9
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 19 Nov 2010 01:59:23 +0800
Tag:    v2.0.0

qtype_multichoice MDL-25208 problem with editing.

commit 341be301fcd7ed58d16682a06aa588cd6cd392b7
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 16 Nov 2010 22:09:39 +0800
Tag:    v2.0.0

theme MDL-22492 / MDL-25204 hack it so that help popups never appear under other things.

commit 8b1e050bd02214ca9e3a2f0bac2369ae5eb0fd0a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 16 Nov 2010 01:17:48 +0800
Tag:    v2.0.0

qtype multichoice MDL-25208 Saving questions was broken.

commit 16cad79ba98fc6492aaee9d2092e1041226acabf
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 16 Nov 2010 01:00:38 +0800
Tag:    v2.0.0

quiz editing MDL-25205 help for the order and paging page.

commit 6577832390f901a95ce8216aba0bc52e58612067
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 16 Nov 2010 00:41:42 +0800
Tag:    v2.0.0

quiz reports MDL-25206 Make it more obvious how to review the students responses.

commit 9dd460390cd1414d35fe42f0b9c4397424da3be9
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 15 Nov 2010 23:27:24 +0800
Tag:    v2.0.0

question import MDL-25200 was ignoring the category specified in the file.

commit 69988ed452fa68a363445dcfad08a72bcaa292d6
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 13 Nov 2010 01:11:34 +0800
Tag:    v2.0.0-rc2

questions MDL-25104 and MDL-25088 fix question editing and import

commit e4b54c79e0d7b8665b6f739d5bb77d2333420e01
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 12 Nov 2010 20:07:22 +0800
Tag:    v2.0.0-rc2

question export MDL-25088 followup - remove no-longer-used function.

commit 13bb604ed5f04535ba992594f31fa7437f67beb4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 12 Nov 2010 20:06:48 +0800
Tag:    v2.0.0-rc2

question export MDL-25088 this is the first part. I think question export is now working for all types.

commit 9203b70576e6a8e6a1906e4cf2519441e3388d66
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 12 Nov 2010 19:29:53 +0800
Tag:    v2.0.0-rc2

question deletion MDL-25173 when a question is deleted, all the associated files must be deleted.

commit cf991c1d856f8aadec08f66a2f36b6bd203a9dc4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 12 Nov 2010 18:23:29 +0800
Tag:    v2.0.0-rc2

question editing MDL-25151 Notices when editing random questions.

commit 5d548d3e0a98cceb8a89c0337d3bb6e7d6d5311f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 12 Nov 2010 05:54:22 +0800
Tag:    v2.0.0-rc2

question bank MDL-24995 clean up a lot of deprecated code to do with moving questions around.

commit d2af10140a67dcf6f21f47bbbb14408cae2c33c3
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 12 Nov 2010 02:58:06 +0800
Tag:    v2.0.0-rc2

forum files MDL-25167 files in the post file area were not moved when the post was moved or deleted.

commit 057815f341af9f255eb035edf63eeaa07bcc5895
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 12 Nov 2010 02:33:11 +0800
Tag:    v2.0.0-rc2

formslib editor NOBUG delete unused global file reference.

commit a9efae50e3264bdfd6abdaf66efa2b9e0e8314cd
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 12 Nov 2010 01:32:25 +0800
Tag:    v2.0.0-rc2

question upgrade MDL-16094 fix up earlier mistakes in the text format upgrade.

commit 2ed801777a97654fd805b454f35c90d23d818548
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 09 Nov 2010 01:25:53 +0800
Tag:    v2.0.0-rc2

question XML import MDL-25104 fix a whole bunch of minor errors.

commit 855f9c3930c1abe65776d5f8e04b73e7a290e408
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 08 Nov 2010 23:55:45 +0800
Tag:    v2.0.0-rc2

question bank MDL-24312 problem when deleting a course with orphaned categories.

commit 4673212416ea540f34a3a72ba8b2277a43fe2a85
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 08 Nov 2010 23:51:10 +0800
Tag:    v2.0.0-rc2

xml import/export MDL-25103 was not working due to out-of-memory errors when calling xmltidy, which broke XML wellformedness.

commit 0bfe821805bfc48ddc156fb9795b5929c897c985
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 08 Nov 2010 22:06:28 +0800
Tag:    v2.0.0-rc2

canvas theme MDL-23664 get rid of ugly black borders round questions.

commit 67cc2a4cce908c816966a788a83b762bde024dd9
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 08 Nov 2010 21:42:01 +0800
Tag:    v2.0.0-rc2

admin purge caches MDL-24591 (part) make the redirect go somewhere sensible.

commit 2284c694ee56a5321b4bdc007478a91c46382d3c
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 08 Nov 2010 21:33:08 +0800
Tag:    v2.0.0-rc2

weblib NOBUG Add a comment to clarify that moodle_url deals with $CFG->admin for you.

commit 93971a3b0f61b2074cda3f5f16bd51234c533f18
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 04 Nov 2010 17:49:00 +0800
Tag:    v2.0.0-rc2

question type upgrade MDL-24863 Fix broken upgrade on MSSQL. Thanks to mark williams for the report.

commit 6cb034c9d2de33c33b1597730a075aaeea3e257e
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 03 Nov 2010 04:03:48 +0800
Tag:    v2.0.0-rc2

MDL-25018 stop html_to_text from breaking utf-8 multibyte characters.

commit 29946ad59579972083729e5a0d09ad6bbc076a08
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 03 Nov 2010 03:49:09 +0800
Tag:    v2.0.0-rc2

quiz 'secure' mode MDL-21085 remove popup-blocker check.

commit 222fb6e5fe1ff26933bc6b90219afb3381ba6bce
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 03 Nov 2010 03:20:58 +0800
Tag:    v2.0.0-rc2

quiz MDL-24140 navigating to a question that was not first on the page was broken.

commit 6723a0390b71f03b884aa5d71c10ffc266b01f78
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 03 Nov 2010 03:12:21 +0800
Tag:    v2.0.0-rc2

MDL-24140 Each attempt builds on last setting was being ingored in one place. The code was behaving as if it was always true.

commit 20d891228f2fb3c95cd6ed2ee0252d3dcd9fe40f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 03 Nov 2010 02:38:50 +0800
Tag:    v2.0.0-rc2

MDL-24256 question category editing was messed up. The unerlying problem seemed to be too many uses of pass-by-reference in listlib, where it was not necessary. In investigating this code, I ended up doing a fair bit of cleaning up. Apologies that it leads to an unclear changeset.

commit f2ca88b07fb039b0a965f21877fbfa622895eb15
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 02 Nov 2010 02:14:27 +0800
Tag:    v2.0.0-rc2

qtype_multichoice MDL-24937 multichoice questions were getting marked as answered even when they weren't.

commit 157434a522e55d3a8010c3530b290ae35e6a7992
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 02 Nov 2010 01:44:59 +0800
Tag:    v2.0.0-rc2

quiz/question javascript MDL-24170 Enter in a shortanswer question preview should not flag the question. That bit of JavaScript from mod/quiz/attempt.php is needed in question preview too, so refactor a bit.

commit 48c19b25516fb1e0c0ccdb5236d4629693bbc02a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 02 Nov 2010 01:36:15 +0800
Tag:    v2.0.0-rc2

quiz lang MDL-24170 move an old string to a more logical name, before making the real change. AMOS BEGIN  MOV [finishattempt,mod_quiz],[submitallandfinish,mod_quiz] AMOS END

commit 6382910a87643d9ee7b27d3ae1befdce771ba86a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 01 Nov 2010 22:40:25 +0800
Tag:    v2.0.0-rc2

quiz MDL-24499 simple typo when putting values into a string. Thanks to Manish Verma for noticing this.

commit e09ca95ebad39d6dde6c435f2c8b26237640c3f3
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 01 Nov 2010 22:36:58 +0800
Tag:    v2.0.0-rc2

quiz reports MDL-24603 columns in the overview report should be collapsible.

commit 512b42be5eb274f32a84eda8fe3fb3dc11f95980
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 01 Nov 2010 21:40:06 +0800
Tag:    v2.0.0-rc2

themes/unit tests MDL-24983 move the pretty colour styles to the base theme. Patch thanks to James Brisland. I know that in general, we should not have specific pretty colours in the base theme, but I think unit tests are an exception. The concept of "the bar being green" is so fundamental to unit testing, and this bit of the UI is developer only.

commit bfb82da3e47861bc497a8a7863792b935ed4f71b
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 01 Nov 2010 20:20:39 +0800
Tag:    v2.0.0-rc2

get_config / unit tests MDL-24977 get_config('a_plugin'); should return something false when there is no config. It was always casting the result to an object, even when it was an empty array. I changed it to return null in this case. So that if (get_config('a_plugin')) { /* Do something relying on the pugin having config */ ) works.

commit 1f0fdc4018c79ae854975be3cf8d707a6f8dc7b5
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 26 Oct 2010 00:17:57 +0800
Tag:    v2.0.0-rc2

quiz editing MDL-23761 $PAGE->set_heading should be set_header Thanks to Derek Woolhead for the fix.

commit 9c670df6db4b8e690a9de6f4aa2f6c3511fd9051
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 25 Oct 2010 21:11:51 +0800
Tag:    v2.0.0-rc2

forum cron MDL-24843 fix typo in mtrace message. Fix thanks to Colin Chambers.

commit 3ed3e8d4121169b431bc89a0104b0b3016ceda8a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 25 Oct 2010 18:47:16 +0800
Tag:    v2.0.0-rc2

install/upgrade MDL-24840 prevent the messaging pop-up from appearing during install or upgrade Thanks to Colin Chambers.

commit db048665916003ab70ade7d84478c3d863dfb857
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 23 Oct 2010 01:24:09 +0800
Tag:    v2.0.0-rc2

quiz MDL-24760 recent fix quiz preview/review by teacher.

commit 9bb6663e04130981359c9dc7f51f29056d64fd7f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 20 Oct 2010 18:14:19 +0800
Tag:    v2.0.0-rc2

quiz MDL-24727 column missed from install.xml

commit fde29fa59cc6732bc779a454aed0b136d2cf3798
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 18 Oct 2010 23:53:54 +0800
Tag:    v2.0.0-rc2

quiz & qbank MDL-24453 some more return URLs that I missed the first time. Also, fix a double-escaping bug when cancelling the form.

commit fb6dcdab112189c910a19f119b612d7f75fe6f63
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 18 Oct 2010 23:28:59 +0800
Tag:    v2.0.0-rc2

quiz & qbank MDL-24453 fix all the ways you can edit a question, so that that returnurl paramterer acutally works. I hope. Please test thoroughly.

commit d5bbc449e987932af4266f895fbcefe6463e36b2
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 12 Oct 2010 23:01:54 +0800
Tag:    v2.0.0-rc2

simpletestlib MDL-24637  ContainsTagWithAttribute(s) does not work reliabily with attribute values "0" and ""

commit 2a27a37db85045443b8a6c410212ef5b204487d5
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 06 Oct 2010 01:11:16 +0800
Tag:    v2.0.0-rc2

quiz recent activity MDL-24528 was setting the activity userid to the attempt id. Doh!

commit 4033062b33b2e8945045132529f3c6ddb8d5295e
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 22 Sep 2010 23:35:27 +0800
Tag:    v2.0.0-rc2

quiz statistics report NOBUG &nbsp; was not being escaped twice in Analysis of responses of some qtypes.

commit 6944b5e47e4a08c98207d766818dc066a0fd4bcf
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 22 Sep 2010 22:14:10 +0800
Tag:    v2.0.0-rc2

tablelib MDL-24327 CSV and TSV export was not right. For example, cells containing \n or " were not handled properly.

commit 488706558fe618909fcda4beeb15e274a79bba26
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 15 Sep 2010 18:25:09 +0800
Tag:    v2.0.0-rc1

blocks upgrade MDL-22693 We also need to drop another old index, on sites that were upgraded from 1.9

commit 39c763645edd201cadc9b64117a5aa96d6acaf43
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 13 Sep 2010 21:01:34 +0800
Tag:    v2.0.0-rc1

blocks upgrade MDL-22693 Forgot to change the precision of the block_instances.pagetypepattern column to 64 chars. Do it now. You have to drop and re-create the associated index, otherwise this will not work, at least on Postgres.

commit dc3e95c0d8872be23bf1f8c3d24bed4bea03a9c6
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 02 Sep 2010 21:06:17 +0800
Tag:    v2.0.0-rc1

MDL-24060 Need a way to control whether html_to_text lists all links in the HTML

commit ea9dbf24c57bd650d8002ff26d70aec04e7ed8e0
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 25 Aug 2010 23:58:26 +0800
Tag:    v2.0.0-rc1

quiz MDL-23937 fix broken URL.

commit de58c9c498c8ec730122151f3cc909c214d2876d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 25 Aug 2010 23:21:33 +0800
Tag:    v2.0.0-rc1

Make the answer entry box as big as will fit.

commit 72d9358afdf082443a50ed81acb730349778473e
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 12 Aug 2010 04:25:31 +0800
Tag:    v2.0.0-rc1

quiz secure mode MDL-23712 secure mode breaks the quiz navigation This commit also fixes some other secure window problems.

commit f2cb0c3d4810482360dfd8d07a128341db1b3817
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 12 Aug 2010 04:15:18 +0800
Tag:    v2.0.0-rc1

quiz NOBUG whitespace fix.

commit f6d726c27a67b48699e3bc0a990ccc6657192a8b
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 12 Aug 2010 04:15:05 +0800
Tag:    v2.0.0-rc1

quiz javascript NOBUG missing ;s

commit d04f623be4b9da74717871c22ba0a1a6a986d824
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 12 Aug 2010 03:38:16 +0800
Tag:    v2.0.0-rc1

quiz editing MDL-23705 the edit icon after the question name disappears some times. It is worse with some themes and some browsers. You can still edit by clicking the question name, but that is not obvious. I moved the edit icon to the left.

commit 2d01a9168f91f9f6893f8350b5e3df4d4a327579
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 12 Aug 2010 03:05:47 +0800
Tag:    v2.0.0-rc1

question import/export MDL-23198 extra_question_fields not handling special characters properly. Thanks to Oleg Sychev for the fix.

commit fa16dd3d6703628fb4058f797a418940efc20f68
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 12 Aug 2010 02:41:53 +0800
Tag:    v2.0.0-rc1

quiz editing MDL-23764 changing category sends you to the question bank page.

commit 414e7276761a770efcf2ee1fd12a29b352dd3e7f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 12 Aug 2010 02:34:42 +0800
Tag:    v2.0.0-rc1

quiz reports MDL-23161 notify(get_string('nostudentsyet')) breaking downloads.

commit c6764f5a2ee44895fd5abc0cd8db8c18a40c6908
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 12 Aug 2010 01:30:44 +0800
Tag:    v2.0.0-rc1

quiz with password MDL-23699 starting an attempt was broken.

commit c0934fc42a7e0843bccad9900d31be7450fdd9ae
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 12 Aug 2010 01:20:05 +0800
Tag:    v2.0.0-rc1

quiz 'secure' window MDL-23713 securewindow_access_rule::make_review_link was broken.

commit 150ce068916a4f1145994790fda7d1fea283c5ce
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 12 Aug 2010 00:57:34 +0800
Tag:    v2.0.0-rc1

quiz MDL-23711 was testing canattempt before canpreview, which is the wrong way round. Meat that admins saw a Start attempt button, when they should have seen Start preview.

commit 1be4990421fff5c4d8df0359352a6e8174731e0a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 12 Aug 2010 00:54:32 +0800
Tag:    v2.0.0-rc1

quiz summary MDL-23700 logic for whether to show the marks column was wrong.

commit 36fa6cb133d9b6cedd90931aa83eb901884d5a3f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 12 Aug 2010 00:54:07 +0800
Tag:    v2.0.0-rc1

quiz NOBUG fatal error on the review page. I am pretty sure this check is not necessary, preload_question_states will have loaded enough information.

commit e934fa008bb7ad48f17ef0b097b82d8ad384b06b
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 12 Aug 2010 00:37:11 +0800
Tag:    v2.0.0-rc1

question editing MDL-23758 notice on clicking cancel.

commit 690510bd3d2c0f343f6bed0491852967d339a9c2
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 12 Aug 2010 00:31:52 +0800
Tag:    v2.0.0-rc1

quiz NOBUG fix some JavaScript errors.

commit 38c9edd0a07ab36be8a73c735d96a4951698623c
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 10 Aug 2010 21:30:32 +0800
Tag:    v2.0.0-rc1

quiz nav NOBUG whitespace and comment clean-up.

commit a26246eac2ba3c57aca9380538b25764a0e048c4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 10 Aug 2010 01:10:25 +0800
Tag:    v2.0.0-rc1

quiz attempt UI NOBUG need accesshide text in the quiz navigation to say if a question has been flagged.

commit d39ba35c34d4272d5092b5f80bacd2be6e7fc50f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 07 Aug 2010 02:09:48 +0800
Tag:    v2.0.0-rc1

quiz overview report MDL-17569 you should be see essay questions that need grading in the report.

commit 8b7d4fb70ecf6b716f81d101f117453d7e438d11
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 07 Aug 2010 01:55:33 +0800
Tag:    v2.0.0-rc1

quiz editing MDL-19766 fixed page load flicker of things revealed later by JavaScript.

commit 633c0843b34ebfcd47074bc55ae1855c231ba671
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 07 Aug 2010 00:12:31 +0800
Tag:    v2.0.0-rc1

navigation NOBUG clone the URL passed to override_active_url

commit e044ebb46e6f69d3de3e61485e8e4bf77d8d0512
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 06 Aug 2010 23:46:19 +0800
Tag:    v2.0.0-rc1

question navigation MDL-20276 make sure the current node is hilighted.

commit 207d145dda1ed3f5b039a0c34669cba407c7d8c2
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 06 Aug 2010 19:41:50 +0800
Tag:    v2.0.0-rc1

quiz delays MDL-20956 don't let overdue attempts + delays block students.

commit c68287a928bb19cce8caf3dce390748ded296f19
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 06 Aug 2010 02:15:17 +0800
Tag:    v2.0.0-rc1

mod_quiz / navigation MDL-20276 replace make_active with override_active_url It doesn't work, but I am committing it, so Sam H can take a look.

commit 1724eb719d4a3d6083a7a462e2d5a8fb23ade960
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 06 Aug 2010 01:38:21 +0800
Tag:    v2.0.0-rc1

quiz navigation: NOBUG link should be imperative, edit quiz, not editing quiz.

commit 2a1516f22449399638879423cc638ffa67d1e84e
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 06 Aug 2010 01:33:11 +0800
Tag:    v2.0.0-rc1

question moving MDL-21195 add missing error message strings.

commit fc3472d5ed10b623f9b9abaf4cd95b69271a7e35
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 05 Aug 2010 23:35:45 +0800
Tag:    v2.0.0-rc1

quiz manual grading NOBUG fix performance issue with printing the user picture.

commit 9ffcb38e43de3b78200ecdedb58c08ab0a80d725
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 05 Aug 2010 21:56:37 +0800
Tag:    v2.0.0-rc1

textlib NOBUG improve comment to autocomplete works.

commit 688d87530030f86ad7c4ecfae33999d0ba1f5763
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 05 Aug 2010 21:11:27 +0800
Tag:    v2.0.0-rc1

qformat xml MDL-22743 questiontextformat not imported correctly since the fix for MDL-9700 went in.

commit 05c31031864f8e1806277e09aa4f9732584ecc8d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 05 Aug 2010 21:04:42 +0800
Tag:    v2.0.0-rc1

qformat_multianswer NOBUG fix comment.

commit ea906bb45cc7075e72113096294a9da1c52027db
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 05 Aug 2010 20:43:13 +0800
Tag:    v2.0.0-rc1

quiz reports MDL-21111 Quiz duration is reported in years if Time Finish is before Time Start

commit 87eeac9071481d181bb000d4ab51b17711bc81d5
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 05 Aug 2010 20:13:27 +0800
Tag:    v2.0.0-rc1

multianswer question import MDL-11326 make a better question name. Also fix coding style in this file.

commit 90c7912e93d591816a592071dedb867822db810d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 05 Aug 2010 03:44:59 +0800
Tag:    v2.0.0-rc1

quiz editing MDL-22371 with JS off, clicking add question, then cancel, did not work. Also, other simpilar issues with other buttons. And, finally fix the absolute URLs being passed as returnurl. Apache mod_security did not like that.

commit 9f87e6aa1569244405b54c291dfc972ef7a5c0f6
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 05 Aug 2010 03:43:26 +0800
Tag:    v2.0.0-rc1

quiz editing: MDL-22263 Editing UI messed up with JavaScript disabled. Also, other minor layout improvements.

commit 98a31ac119a6cd49651c42f5d5abe2142d9c26d0
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 05 Aug 2010 03:02:45 +0800
Tag:    v2.0.0-rc1

quiz view NOBUG Table columns did not always line up.

commit f23f98dd63ad68b22d260cd3f9acbec9a93bbd63
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 05 Aug 2010 02:56:51 +0800
Tag:    v2.0.0-rc1

question flags MDL-22643 Manually commenting should not reset the flag state.

commit f6c7f1588397dc34d12e44dd51a0513ea98bc70b
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 05 Aug 2010 02:45:05 +0800
Tag:    v2.0.0-rc1

quiz reports MDL-17388 tweak layout so more useful stuff fits on the first page. In particular, I think you should be able to see at least the top of the table or results without scrolling, if your monitor is not too small.

commit 21d4bdb7be20f9758be338a903b2cc075d0fa918
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 05 Aug 2010 02:36:52 +0800
Tag:    v2.0.0-rc1

base theme MDL-17388 make more efficient use of the full width available in Moodle forms. I hope this is OK with Patrick M.

commit 613aff5053df60b189fa4fa2e9c6f7c16e15e24d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 05 Aug 2010 01:54:55 +0800
Tag:    v2.0.0-rc1

qtype_truefalse MDL-22658 questions get marked as answered even when an answer has not been selected.

commit a194c2187b18a6b080e650b1974abbdaf1304dc7
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 05 Aug 2010 01:40:01 +0800
Tag:    v2.0.0-rc1

weblib MDL-22664 html_to_text should not strip images, it should replace them by their alt text. Also, an new optional argument to html_to_text to control word-wrapping.

commit 5be23736494b88540bcf727863e641b70d1c56f4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 05 Aug 2010 00:47:57 +0800
Tag:    v2.0.0-rc1

quiz editing MDL-23572 Make it possible to delete empty pages of the quiz.

commit eb02301a36d4fc334b20b98cb8fafcf8678ab31c
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 05 Aug 2010 00:31:54 +0800
Tag:    v2.0.0-rc1

mod_quiz / navigation MDL-20276 further polishing the quiz navigation structure.

commit 7383c6339847c9097259f7746b3e1aac19a4612a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 05 Aug 2010 00:25:24 +0800
Tag:    v2.0.0-rc1

quiz statistics report NOBUG remove debug code. Sorry.

commit ff065f96bcb8cd5e6b1cf8265a8fbd048b6bdebd
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 04 Aug 2010 23:22:04 +0800
Tag:    v2.0.0-rc1

mod quiz + questions MDL-22370 convert JavaScript to YUI3 and modules. Note, quiz editing JS has not been done yet.

commit 24f17d75885a1e4f9ccccfed883b563880b14912
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 04 Aug 2010 23:05:31 +0800
Tag:    v2.0.0-rc1

quiz responses report MDL-23377 responses report needs to be fixed in HEAD as well as overview.

commit edc858dccef1e3f309a02c9f40e8fe05ac738083
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 04 Aug 2010 00:17:49 +0800
Tag:    v2.0.0-rc1

dock javascript NOBUG Add missing ;s that were causing Eclipse warnings. I thought they were also breaking things in Firefox, but I was wrong about that. Still, seems worth comitting this code clean-up.

commit 44fab7fa4689a19dd11cafbc540a46d04dbb1e4f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 03 Aug 2010 22:32:28 +0800
Tag:    v2.0.0-rc1

NOBUG fix typo in exception message.

commit f05fedc84d190d536232874d7667b5aea210f8ed
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 03 Aug 2010 21:15:27 +0800
Tag:    v2.0.0-rc1

quiz overview report MDL-23377 can't delete attempts when there are no students. Actually, reviewing this, I noticed some other security checks were missing, for example we should ensure the users can only delete attempts belonging to this quiz!

commit 3a220db36e960c41cf3fc4305dc7da92129f4214
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 03 Aug 2010 21:09:42 +0800
Tag:    v2.0.0-rc1

output lib NOBUG support full-screen pop-ups again - bug fix of previous commit. Sorry.

commit 07a2b2f0f0336a767394d43b942369286b5c37df
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 03 Aug 2010 20:54:23 +0800
Tag:    v2.0.0-rc1

quiz overview MDL-23377 whitespace cleanup, before doing the real fix.

commit e0a5073078202fcd6d052a0f728bc5f1bcab6892
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 03 Aug 2010 19:15:57 +0800
Tag:    v2.0.0-rc1

output lib NOBUG support full-screen pop-ups again.

commit b0e4fa419e23f59859fc3a2b07c657e16bfed99f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 03 Aug 2010 19:10:57 +0800
Tag:    v2.0.0-rc1

quiz statistics NOBUG code cleanup.

commit 2a8a78c320c0aee99918eb080ae56a59184e65ef
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 03 Aug 2010 19:10:38 +0800
Tag:    v2.0.0-rc1

quiz MDL-22691 error when editing a block's config on the quiz view page.

commit e10367a4cf8f451cfaf02f1f5b1edf8ab56f2421
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 03 Aug 2010 18:55:22 +0800
Tag:    v2.0.0-rc1

quiz NOBUG Attempt {$a} was appearing on the view page. Need a new lang string.

commit 9fb32418a7c611ee2cb3053995d5db5b1faa1e96
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 03 Aug 2010 18:39:52 +0800
Tag:    v2.0.0-rc1

qtype shortanswer MDL-20380 small refactoring to help subclasses. Thanks to Oleg Sychev.

commit a49cb927fdf6a285263ebbc7a23fb14732a97014
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 28 Jul 2010 23:08:34 +0800
Tag:    v2.0.0-rc1

NOBUG more consistent use of URLs for the quiz reports.

commit a88ba5700cbc62216226a590dabd085d6103e3f4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 28 Jul 2010 23:06:28 +0800
Tag:    v2.0.0-rc1

NOBUG quiz start attempt Fix the quiz password page.

commit d8011b7bded4dba50831b0f60ee99c9bd9f4e603
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 28 Jul 2010 23:04:26 +0800
Tag:    v2.0.0-rc1

NOBUG quiz summary Align the submit all and finish button properly.

commit c95ce1dc5264f30676f4860d68c06c651b80ae87
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 28 Jul 2010 23:03:04 +0800
Tag:    v2.0.0-rc1

NOBUG qtype numerical fix unit test.

commit 45c4a5c770223b251bedd4db0c2828a2feea14dc
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 06 Jul 2010 00:55:39 +0800
Tag:    v2.0.0-rc1

quiz MDL-21533 remove all mention of overlib from the quiz, by moving necessary code to qtype_multianswer, which is the only place it is used.

commit b97d264489cd9beed9d959868b0368618198ec80
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 06 Jul 2010 00:53:50 +0800
Tag:    v2.0.0-rc1

qtype base: NOBUG improve comments and private function name.

commit 728d60a1f60c16ae9f4e98a20b02a1d2bea8d8f7
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 02 Jul 2010 21:36:49 +0800
Tag:    v2.0.0-rc1

question import/export: MDL-22100 ' / etc. in category names confuse the import/export.

commit 8942639baecc8af2b01a24024f0a6e4059a0aac0
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 26 Jun 2010 00:29:16 +0800
Tag:    v2.0.0-rc1

question bank: MDL-22710 Quesition preview popup does not have scrollbars Fix thanks to Adriane Boyd.

commit cd0a2ed8823d1d77ba3389d1f297ce0cb4ffd308
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 24 Jun 2010 04:09:09 +0800
Tag:    v2.0.0-rc1

quiz reports MDL-22847 Cannot delete quiz attempts when a group is selected.

commit 6e8e524aa1ab4ee53125c457acafb666d36c95dd
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 10 Jun 2010 23:29:33 +0800
Tag:    v2.0.0-rc1

quiz secure mode: MDL-22724 missing attempt quiz button if browser security is enable. Thanks to Rossiani Wijaya for finding and fixing this.

commit 85a712680b4ab61517e16bae2c23ecd707627cbc
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 10 Jun 2010 22:58:39 +0800
Tag:    v2.0.0-rc1

question restore: MDL-22720 silly typo in question restore. Thanks to Vadim Dvorovenko for finding and fixing this.

commit 1a0e96c7085da334777190775d2a63cf00b781be
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sun, 06 Jun 2010 15:18:32 +0800
Tag:    v2.0.0-rc1

quiz edit: MDL-22651 apply mudrd8mz's fix. Thanks David.

commit 837f8325264eab777161f30712001a59403e03ee
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 03 Jun 2010 19:04:42 +0800
Tag:    v2.0.0-rc1

quiz summary. Change 'Started' to 'Not answered'.

commit 4051a78fa6b1a5e0c9834fbef3bbd4cc14f8a280
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 25 May 2010 23:26:24 +0800
Tag:    v2.0.0-rc1

quiz editing: MDL-22364 fix text overlap problem by moving something from standard to base.

commit 14f3ad159d3db97259d3cade682292e98fba3c0b
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 12 May 2010 20:05:59 +0800
Tag:    v2.0.0-rc1

moodlelib MDL-19418 fix bugs introduced when converting clean_param to preg. Aumusingly, one of the bugs was detected by a unit test that was in Moodle 1.9, but which for some reason was not in HEAD. I have tidied up the clean_param unit tests and added a few more.

commit 175a3fd83a2c4cc19ce95edf351b07e1f0ad6405
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 11 May 2010 22:12:49 +0800
Tag:    v2.0.0-rc1

quiz settings: Revert some changes I committed by accident while commiting the patch for MDL-21780.

commit cb323d0258ab3f50bbb3150fc9f27663f72909d5
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 11 May 2010 06:36:40 +0800
Tag:    v2.0.0-rc1

quiz recent activity: MDL-22410 permission check was wrong.

commit 7bc488dc3d62f74a8ce4080665ba363e79c71aee
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 11 May 2010 06:15:17 +0800
Tag:    v2.0.0-rc1

quiz settings MDL-21780 more work on group and user setting overrides The group setting tab is now disabled if there are no groups in the course. The code also now respects groupings. Thanks to Matt Petro for this patch.

commit 5083db4e9ef7ada570079c9a9ef7e1994118eae4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 07 May 2010 09:29:06 +0800
Tag:    v2.0.0-rc1

essay qtype: MDL-9419 use the HTML editor for all questions on a page. This undoes the horrible hack that we have had for a long time.

commit 45213559b4bbdeb378347095dfddbf00f6ccb062
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 07 May 2010 08:59:02 +0800
Tag:    v2.0.0-rc1

quiz upgrade MDL-20856 quiz upgrade was duplicating the statistics row in the quiz_report table.

commit 331bcf9abfdddce5d481e254a1ee56302d2f275c
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 07 May 2010 08:33:14 +0800
Tag:    v2.0.0-rc1

question bank MDL-22047 The logic for whether hidden questions were shown was backwards!

commit 2b38499d608632b8d8b94d709ea150dcee26e968
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 07 May 2010 08:08:16 +0800
Tag:    v2.0.0-rc1

MDL-20860 quiz grades that had already been formatted for output were being used in database queries. Which really does not work in locales that use , as a decimal point.

commit a27aa5c620429ad5240e3e22d9dc4decb046b3c8
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 07 May 2010 06:33:21 +0800
Tag:    v2.0.0-rc1

MDL-19967 No validation when adding a question with JS off. There was no check that a question type had been selected.

commit 455d765f877e1f1964e4eb36db63a6b44f62357e
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 01 May 2010 16:23:28 +0800
Tag:    v2.0.0-rc1

quiz editing: MDL-20263 When adding a new question directly to the quiz, highlight it in the question bank.

commit 06f87d2f5716f33bcfaaf0a17b8542c7586aaf13
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 01 May 2010 16:14:32 +0800
Tag:    v2.0.0-rc1

quiz: MDL-15452 fix themes breakage found when preparing my MoodleMoot talk.

commit 78634f1e06e9ff2ae86f67aa3c5c5fd2ae7abf5f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 01 May 2010 16:11:25 +0800
Tag:    v2.0.0-rc1

quiz editing: MDL-17284 Add question here garbled layout when adding to an empty quiz. That then lead to an incorrect display of the number of questions in the quiz.

commit ac250ad54ace5119be34a449fad71143be2e71f6
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 01 May 2010 16:08:50 +0800
Tag:    v2.0.0-rc1

quiz: NOBUG fix silly typo.

commit 37b5b69f2e3575de07ee12cee68dde514f191d38
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 30 Apr 2010 21:15:42 +0800
Tag:    v2.0.0-rc1

quiz reports MDL-22257: was loading the complete user record, when it only wanted userid. On a coures with 16000 users, that is a very bad idea wink

commit 8d2971888fa3a8a66ce99c3faff29230cea1425d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 29 Apr 2010 18:46:39 +0800
Tag:    v2.0.0-rc1

quiz recent activity: MDL-20586 was showing scores even if quiz settings said not to.

commit 8275477c138a07be0be7776bf73c8c03e2856ee4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 29 Apr 2010 18:41:55 +0800
Tag:    v2.0.0-rc1

calculated qtype: MDL-22241 Invalid SQL (must not have a ; at the end.)

commit c8a9f066f79fd106d315064f238a616b37edbb93
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 26 Apr 2010 23:25:56 +0800
Tag:    v2.0.0-rc1

unit tests: MDL-22175 Still more improvements unit test failure display.

commit 39321e0fafa25c633f589e3a514fb177cb602d59
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 24 Apr 2010 01:22:55 +0800
Tag:    v2.0.0-rc1

unit tests: MDL-22175 Further improvements unit test failure display.

commit f99b19c58de9a888ed9ffc4cb56a8f1e74a89d62
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 23 Apr 2010 19:22:30 +0800
Tag:    v2.0.0-rc1

unit tests: MDL-22175 Improve unit test failure display.

commit 836c47d7fe79fdabdb86450c9bef3c030749015d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 23 Apr 2010 18:34:07 +0800
Tag:    v2.0.0-rc1

MDL-22155 useful new method html_writer::nonempty_tag. It outputs a tag only if the contents you pass is non-empty.

commit 79312a06e443293c25ae7250bd9f26a313ce3e2c
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 16 Apr 2010 00:37:05 +0800
Tag:    v2.0.0-rc1

grades: MDL-22098 silly bug that leads to bad performance problems in the grader report.

commit 453b28d81831fbba44612bf8106449813b6f411e
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 12 Apr 2010 21:31:42 +0800
Tag:    v2.0.0-rc1

Fix $PAGE->set_url initialisation order.

commit 3784454b0e6f193852cce55fe63ff556f3a66398
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 12 Apr 2010 21:30:34 +0800
Tag:    v2.0.0-rc1

quiz/themes: Fix minor layout breakage introduced by the theme changes.

commit 67f1a6966ecc393e5a7af5fedf83d2133b8d8a28
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 12 Apr 2010 21:21:53 +0800
Tag:    v2.0.0-rc1

base theme/questionbank: MDL-20090 Add new question pop-up styling screwed since theme changes.

commit db77f4103cc7d6966ee3ed942e4cade2ce492d1f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 07 Apr 2010 19:26:02 +0800
Tag:    v2.0.0-rc1

quiz reports: MDL-21688 Add missing sesskey checks.

commit 59be14de39cd3c4a488f2e770432a04b11c29536
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 07 Apr 2010 17:47:19 +0800
Tag:    v2.0.0-rc1

questionlib: MDL-21828 Fix database query that does not work in Oracle.

commit 4ba32cf15d366de68e057e02891eeeff40fbe574
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 06 Apr 2010 19:49:50 +0800
Tag:    v2.0.0-rc1

question base type: Fix typo.

commit 9baf267016c5d7388e2ce78531c9cd5b7c29ee3d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 01 Apr 2010 21:09:24 +0800
Tag:    v2.0.0-rc1

tablelib: MDL-22011 refactor flexible_table::get_sql_sort into several smaller methods. Also, change assignemnt to use a separate static method, rather than overloading get_sql_sort.

commit 26e3ae92f2ebd55042830388b7e79c445636be49
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 31 Mar 2010 21:50:56 +0800
Tag:    v2.0.0-rc1

grade import: MDL-21987 Problem with repeated imports of the same grade.

commit 990650f94cbe46344ced45c5fe69ebc273da1d00
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 09 Mar 2010 00:01:38 +0800
Tag:    v2.0.0-rc1

quiz: MDL-16478 Allow different open/close dates, etc. for individual students or groups.

commit cdede6fbfe8f019b9adb025e2a755219b1848624
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 08 Mar 2010 23:32:45 +0800
Tag:    v2.0.0-rc1

quiz: MDL-21404 Fix Petr's screw-up when converting to js_writer.

commit 7c1b6150604ea0104429331cbc406d8d66d09fd5
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 08 Mar 2010 22:03:24 +0800
Tag:    v2.0.0-rc1

formslib: MDL-21561 minor bug with disabled datetimeselectors.

commit e65701ee2d8fc571691da042720153d4d4068486
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 23 Feb 2010 22:31:07 +0800
Tag:    v2.0.0-rc1

nobug: whitespace fixes.

commit 6d6b454acaad8bbbc1abf4b446d3c3a77dfbbe2a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 23 Feb 2010 20:47:02 +0800
Tag:    v2.0.0-rc1

match qtype: MDL-21701 / OU bug 9551 Fix display of response history.

commit 43012b8f868247ed590e34e82e1cb0632f03d329
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 23 Feb 2010 01:04:30 +0800
Tag:    v2.0.0-rc1

Quiz statistics report - MDL-20550 - SQL error when trying to insert NaN in the DB on Postgres. Thanks to Derek Woolhead for the fix.

commit 0b8506ec85c61c7156767fb73a77ff252d10c408
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 06 Feb 2010 00:37:01 +0800
Tag:    v2.0.0-rc1

question state loading MDL-9327 and MDL-19114 fix loading the state of ungraded essay questions

commit cadc0d28051816fbf5ffcd0a1da547799afed89b
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 21 Jan 2010 19:07:15 +0800
Tag:    v2.0.0-rc1

theme/regions MDL-20204 un-spaghetti-fy martin's last commit.

commit 085e842a356507a627008098a8a5673442d9a298
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 18 Jan 2010 23:24:13 +0800
Tag:    v2.0.0-rc1

graphlib MDL-21371: Legend layout issue when different legend texts had different heights.

commit 8ce3e17f805bd06850809844f5dcfbd42e66aba4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 22 Dec 2009 00:39:06 +0800
Tag:    v2.0.0-rc1

Correct PHPdoc comment.

commit e785b784f14e0441a7c656d0080fb118cc8ea181
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 19 Dec 2009 02:19:46 +0800
Tag:    v2.0.0-rc1

Grade item: MDL-21161 timemodified never gets set on calculated gradebook columns

commit 3e7ca6b3b1cfe37264bf449ea11b4ce4059b0947
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 19 Dec 2009 01:13:39 +0800
Tag:    v2.0.0-rc1

grader report: MDL-21159 Link to user report does not respect $CFG->grade_profilereport setting.

commit 01346fb8131b2917353a1d78715582e33f07fa96
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 05 Dec 2009 03:02:12 +0800
Tag:    v2.0.0-rc1

Typo in calculated qtype lang file.

commit dad9893edb18d9889603dde91e50b4c7c44d07d1
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 27 Nov 2009 18:56:39 +0800
Tag:    v2.0.0-rc1

Missing global in upgrade code.

commit 9aa653f1246f78370d48ff7418967b841a79beac
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 25 Nov 2009 05:44:59 +0800
Tag:    v2.0.0-rc1

Unit tests: Change the parent class to avoid a deprecated class. This is necessary to make it work in PHP 5.3 (as well as PHP 4).

commit e14de5aa1cead97c616b2c962eaf83ab470f6814
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 24 Nov 2009 19:49:21 +0800
Tag:    v2.0.0-rc1

random question history MDL-20951: Two minor bugs in the fix for  MDL-20776. Thanks to Oleg Sychev for noticing these problems.

commit 6224d7a10d7e4a718dd03df1195e6ffc50e078e7
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 20 Nov 2009 03:09:04 +0800
Tag:    v2.0.0-rc1

question editing from quiz: MDL-20709 better return URL.

commit 5c86dc7c72022b1af53a71c2c19ebf88b6262036
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 20 Nov 2009 03:03:55 +0800
Tag:    v2.0.0-rc1

question history: MDL-20776 state history was not shown for random questions I took the opportunity to clean up the code that generates the history. Thanks to Gbor Katona for helping to find the problem.

commit 7846a624d566660e9a35e719449b3a357ac05edc
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 20 Nov 2009 01:59:54 +0800
Tag:    v2.0.0-rc1

question editing: MDL-20380 Highlight the last edited question when you cancel the form too.

commit 85edde5c9041d1eb50579e516a26ebc39f4c12a8
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 20 Nov 2009 01:46:15 +0800
Tag:    v2.0.0-rc1

question bank - MDL-20545 need a separate language string for edit question category, as opposed to edit course category.

commit 5ffd1421a57cb79e85bbb64bce41fb044d307543
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 20 Nov 2009 01:31:41 +0800
Tag:    v2.0.0-rc1

manual grading: MDL-20581 Fix potential XSS problem. Thanks to Penny for spotting this. Merged from MOODLE_19_STABLE.

commit 2d0d78befdd81125b32d63ed1e0dd587dd4f14b5
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 20 Nov 2009 00:56:47 +0800
Tag:    v2.0.0-rc1

graphlib - MDL-20855 fix alignemnt issue with the x-axis. Labels with a descender (e.g. May) appeared lower than ones without (e.g. Jun). Text is drawn baseline aligned, not bottom aligned,and so the code was computing the position wrongly.

commit 01de485dde7cc6c19b901b93bb6c46fa8655b3b4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 12 Nov 2009 01:01:12 +0800
Tag:    v2.0.0-rc1

blocks upgrade: MDL-20820 another blocks upgrade problem with sticky blocks

commit 35fb85a7da0b144bbd335fc4f328e4bb52b92e95
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 11 Nov 2009 22:50:01 +0800
Tag:    v2.0.0-rc1

blocks upgrade: MDL-20820 Problem found and fixed by Oleg Sychev.

commit 384531d5e8aebaef03d48527d5530491aec9ba18
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 10 Nov 2009 17:51:29 +0800
Tag:    v2.0.0-rc1

gradebook cron: MDL-20783 - was broken. Committing this trivial fix, even though it is testing day. tongueout

commit 3c2cfc8f3faf379ece14c76a09a0913f7908bbd3
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 03 Nov 2009 01:16:56 +0800
Tag:    v2.0.0-rc1

blocks: MDL-20710 prevent XSRF. Uses new require_sesskey function from MDL-20702.

commit c74eec3bee513b9af20170c1d48968e4dc71f8a4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 03 Nov 2009 01:16:28 +0800
Tag:    v2.0.0-rc1

blocks: MDL-20711 prevent XSRF. Uses new require_sesskey function from MDL-20702.

commit 81d1f0914d6f821cb9e611999019b9bd373ccfd9
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 03 Nov 2009 01:15:18 +0800
Tag:    v2.0.0-rc1

question bank: MDL-20707 prevent XSRF. Uses new require_sesskey function from MDL-20702.

commit 82165a0cf0e4f9d6f22cea44d77695a82d995352
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 03 Nov 2009 01:10:31 +0800
Tag:    v2.0.0-rc1

quiz: MDL-20706 prevent XSRF. Uses new require_sesskey function from MDL-20702.

commit dfc133c09b1c8ee5f82b5bce5a5632058a8e38e7
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 03 Nov 2009 01:01:02 +0800
Tag:    v2.0.0-rc1

lesson: MDL-20705 Fix XSRF issues. Uses new require_sesskey funciton from MDL-20702.

commit a79ef03fe95044422761c8b7a73090c3dbf363be
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 03 Nov 2009 00:41:00 +0800
Tag:    v2.0.0-rc1

moodlelib: MDL-20702 New require_sesskey function. Also improve PHPdoc comments to fix my misconceptions.

commit 02f64f9790bfab5a8cbd8feb3920e9542a6d307f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 24 Oct 2009 02:49:00 +0800
Tag:    v2.0.0-rc1

outputlib: MDL-20631 link_to_popup throws an exception if $link->text is empty, but you have passed an $image.

commit 1a9def7cc2b3d89ddbf29e8e0abb945c6e2989bd
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 24 Oct 2009 02:44:02 +0800
Tag:    v2.0.0-rc1

Move action icons closer to the question name in the question bank to make Oleg happy.

commit be1463394fead0296a992823010c6edfb0d078f1
Author: tjhunt <tjhunt>
Date:   Wed, 07 Oct 2009 01:49:47 +0800
Tag:    v2.0.0-rc1

graphlib: NOBUG previous Moodle-specific hack had a bug when y_max was very small. This would round, e.g. 10^-5 to 0 which would break the axis.

commit 1c0932462e55981c62bfd34d5897e0107070d66f
Author: tjhunt <tjhunt>
Date:   Mon, 05 Oct 2009 02:49:08 +0800
Tag:    v2.0.0-rc1

quiz: MDL-20420 Not all quizzes use best grade (e.g. some use average). Change column title.

commit bf659cf05e63614055e0de034273a3e2bd446526
Author: tjhunt <tjhunt>
Date:   Mon, 05 Oct 2009 02:20:08 +0800
Tag:    v2.0.0-rc1

blocks upgrade: MDL-19511 Oops. contextid is unsigned, so use 0 as a dummy value, not -1

commit 1f54c33bdd3de51b4351882dbf9d9be7807a7826
Author: tjhunt <tjhunt>
Date:   Sat, 03 Oct 2009 17:02:21 +0800
Tag:    v2.0.0-rc1

install: MDL-20417 Install was failing on upgradesettings.php

commit ddfa1863d36f469c8cca3828199891a1a6181b71
Author: tjhunt <tjhunt>
Date:   Sat, 03 Oct 2009 16:56:59 +0800
Tag:    v2.0.0-rc1

revert last change. I used the wrong commit comment and it was totally misleading. Will recommit with a good comment.

commit 67e84a7f5e11aac46a728e7b9cf8bf41a10d1de6
Author: tjhunt <tjhunt>
Date:   Sat, 03 Oct 2009 16:54:30 +0800
Tag:    v2.0.0-rc1

output: MDL-19797 fix some fallback code in print_header.

commit f94f09b523381929d26d65e20bdc14653b3600a9
Author: tjhunt <tjhunt>
Date:   Sat, 03 Oct 2009 15:57:50 +0800
Tag:    v2.0.0-rc1

groups: NOBUG fix syntax error seen on http://moodle.org/mod/cvsadmin/view.php?tab=syntax

commit 7409013e79984103675d7a3afd669cef35ee9d00
Author: tjhunt <tjhunt>
Date:   Fri, 02 Oct 2009 19:30:11 +0800
Tag:    v2.0.0-rc1

moodlelib: MDL-19764 change get_list_of_countries so admins can more easily control the list.

commit 964c571975c3593aea096b05512dc502e624ba17
Author: tjhunt <tjhunt>
Date:   Thu, 01 Oct 2009 18:12:29 +0800
Tag:    v2.0.0-rc1

question import/export: MDL-20299 fix regression I introduced yesterday in hotpot import/export

commit d0fdb92ccf6ccaf2cb6fbe58fff25a8efa9de83f
Author: tjhunt <tjhunt>
Date:   Thu, 01 Oct 2009 18:09:59 +0800
Tag:    v2.0.0-rc1

question preview: MDL-19820 set_url and generaltype = popup on question preview page

commit f38f2d474d2d890892c13ff2d4adc10b3c4bb8fe
Author: tjhunt <tjhunt>
Date:   Thu, 01 Oct 2009 18:07:09 +0800
Tag:    v2.0.0-rc1

quiz: fix debugging notice ->classes = to set_classes.

commit 035b96a9d9f904a6d296a1bad738e8de30f272dc
Author: tjhunt <tjhunt>
Date:   Thu, 01 Oct 2009 06:35:48 +0800
Tag:    v2.0.0-rc1

unittests: NOBUG fix pagelib unit tests

commit 477082146bf508d7ab1f7b094d5f45a0589e2d00
Author: tjhunt <tjhunt>
Date:   Thu, 01 Oct 2009 02:13:27 +0800
Tag:    v2.0.0-rc1

unit tests: MDL-20398 spurious exceptions when $CFG->debugdisplay is false

commit 4f19b365b8608371e034bb3f6c80f210e7d85e6e
Author: tjhunt <tjhunt>
Date:   Thu, 01 Oct 2009 02:06:45 +0800
Tag:    v2.0.0-rc1

unit tests: MDL-20398 spurious exceptions when $CFG->debugdisplay is false

commit eaf3fd7a450889cbd3617b8e0421d3038bfc4cb9
Author: tjhunt <tjhunt>
Date:   Thu, 01 Oct 2009 01:19:32 +0800
Tag:    v2.0.0-rc1

question import/export: MDL-20299 fatal error cause by hotpot format changes

commit 3d39d775fa9c67c244c08682951fd600da75eaba
Author: tjhunt <tjhunt>
Date:   Thu, 01 Oct 2009 01:01:05 +0800
Tag:    v2.0.0-rc1

unittests: NOBUG further fix to HTML expectations - prevent side-effects.

commit 46aa52bf8585d396ada61be2c671297045f0a412
Author: tjhunt <tjhunt>
Date:   Thu, 01 Oct 2009 00:55:35 +0800
Tag:    v2.0.0-rc1

unittests: NOBUG fix outputlib unit tests

commit 91b652ac58e859f4278aefb8bb275260a2fe1929
Author: tjhunt <tjhunt>
Date:   Thu, 01 Oct 2009 00:54:49 +0800
Tag:    v2.0.0-rc1

unittests: NOBUG further fix to HTML expectations.

commit f69bdd006d3ae22bd889f3b1e42afc78fa8fd860
Author: tjhunt <tjhunt>
Date:   Thu, 01 Oct 2009 00:34:41 +0800
Tag:    v2.0.0-rc1

unittests: NOBUG further pagelib unit test fixes

commit 7d875874496f92ff2807e7810b4e0f45f1fde043
Author: tjhunt <tjhunt>
Date:   Thu, 01 Oct 2009 00:24:05 +0800
Tag:    v2.0.0-rc1

unittests: NOBUG fix pagelib unit tests

commit ec26b38806c9a5650bd9924a228fda3da6ccdd4c
Author: tjhunt <tjhunt>
Date:   Wed, 30 Sep 2009 22:57:31 +0800
Tag:    v2.0.0-rc1

unittests: NOBUG improve testrss.php failure message to make it easier for people to know to set their proxy.

commit d4bc6be7e8339b1efee46e971482cb6bbf8de1a5
Author: tjhunt <tjhunt>
Date:   Wed, 30 Sep 2009 22:52:12 +0800
Tag:    v2.0.0-rc1

unittests: NOBUG fix expectations for content with various types of HTML. Also, refactor to reduce duplicate code.

commit 5de46612bbb6f1e6b07609383ce2a6c74ac64740
Author: tjhunt <tjhunt>
Date:   Wed, 30 Sep 2009 22:16:12 +0800
Tag:    v2.0.0-rc1

unit tests: MDL-20393 temporary work-around for this breakage, so other tests can be run.

commit f2fcb08c869cdb552558d073cf2de379e347952b
Author: tjhunt <tjhunt>
Date:   Wed, 30 Sep 2009 22:15:46 +0800
Tag:    v2.0.0-rc1

unit tests: MDL-20391 temporary work-around for this breakage, so other tests can be run.

commit c88ab6d5a764be26327edeb67e7bbd9575627016
Author: tjhunt <tjhunt>
Date:   Wed, 30 Sep 2009 22:03:39 +0800
Tag:    v2.0.0-rc1

unit tests: MDL-20390 temporary work-around for this breakage, so other tests can be run.

commit 89d865a6769464d837f618e13dada62d7f29bc3a
Author: tjhunt <tjhunt>
Date:   Wed, 30 Sep 2009 22:03:00 +0800
Tag:    v2.0.0-rc1

unit tests: MDL-20391 temporary work-around for this breakage, so other tests can be run.

commit 88bc20c30fdc589c3265dcbe64ea9eba15703037
Author: tjhunt <tjhunt>
Date:   Wed, 30 Sep 2009 21:38:36 +0800
Tag:    v2.0.0-rc1

question types: MDL-20157 export_to_xml and import_from_xml functions for question types using extra_question_fields.

commit 7d4dfc481e65a2548d32723a4726ddc833cdd1f5
Author: tjhunt <tjhunt>
Date:   Wed, 30 Sep 2009 18:57:57 +0800
Tag:    v2.0.0-rc1

quiz: MDL-19145 Safe Exam Browser integration.

commit e6fb2c603ee6536903d88d36c7cf3d1814098f11
Author: tjhunt <tjhunt>
Date:   Tue, 22 Sep 2009 00:53:45 +0800
Tag:    v2.0.0-rc1

quiz: MDL-19786 - Un-break the quiz edit page following the OUTPUT changes.

commit 1dc12a647554269a15fcb4a4353a0841f5e6e39f
Author: tjhunt <tjhunt>
Date:   Fri, 18 Sep 2009 21:42:23 +0800
Tag:    v2.0.0-rc1

quiz reports: MDL-20316 per-question averages not shown with the quiz only allows one attempt.

commit 7fc368e14aae7f1bff428f7f00009fbf4ad03374
Author: tjhunt <tjhunt>
Date:   Tue, 15 Sep 2009 01:48:51 +0800
Tag:    v2.0.0-rc1

questions: MDL-20280 oracle compatibility in question backup.

commit 95e88597ea03e82c663f01bc2ecdb1ea9242ce0f
Author: tjhunt <tjhunt>
Date:   Tue, 15 Sep 2009 01:23:03 +0800
Tag:    v2.0.0-rc1

forgotten password: MDL-19441 Oops, I changed a language string by mistake. Undoing.

commit d9d481aac7d7d19f9a691ab649edcda6b1d64f53
Author: tjhunt <tjhunt>
Date:   Wed, 26 Aug 2009 04:18:42 +0800
Tag:    v2.0.0-rc1

forgot password form: MDL-19441 Make it clearer you should enter username or password.

commit 274fe93fcbb6ca3c87f7c55e055a8bc8e4cfa004
Author: tjhunt <tjhunt>
Date:   Wed, 26 Aug 2009 03:45:54 +0800
Tag:    v2.0.0-rc1

login form: MDL-20050 forgotton password should be a link, not a button.

commit 2c5ec833bcfc4ec79b16fa9ee0cf9e23b5f2e84d
Author: tjhunt <tjhunt>
Date:   Wed, 26 Aug 2009 03:09:04 +0800
Tag:    v2.0.0-rc1

outputlib MDL-20103 neater version of Jerome's fix.

commit 1a192cf0311f10760740d35d1119021f0a43d111
Author: tjhunt <tjhunt>
Date:   Sat, 08 Aug 2009 16:10:59 +0800
Tag:    v2.0.0-rc1

themes: MDL-20013 pluging sheets were not handled correct.

Problem found and fixed thanks to Mark Johnson.

commit 2cdb8d84528460d488d9de171d68ab976558bd42
Author: tjhunt <tjhunt>
Date:   Thu, 30 Jul 2009 18:29:14 +0800
Tag:    v2.0.0-rc1

blocks: MDL-19893 move blocks on page UI - part 2

commit 00a24d44f7dc3b01501129711ee01224aca14b94
Author: tjhunt <tjhunt>
Date:   Thu, 30 Jul 2009 16:22:12 +0800
Tag:    v2.0.0-rc1

blocks: MDL-19893 move blocks on page UI - part 1

commit d14edf06eec9a1454644f0cef2208d4b72db69a7
Author: tjhunt <tjhunt>
Date:   Thu, 30 Jul 2009 11:44:10 +0800
Tag:    v2.0.0-rc1

blocks: MDL-19399 proper permissions checks for editing blocks.

commit f1a34d8f05887f89f4af5eb4a83c1a1fa771a7af
Author: tjhunt <tjhunt>
Date:   Wed, 29 Jul 2009 19:18:55 +0800
Tag:    v2.0.0-rc1

block_rss_client: MDL-13932 Clean up a lot of the crap.

commit 166e3bd161a8a455bdb7dbd233aee0c4c3651101
Author: tjhunt <tjhunt>
Date:   Wed, 29 Jul 2009 19:14:41 +0800
Tag:    v2.0.0-rc1

blocks: MDL-19010 fix block editing icon URLs.

commit a6f57fb2ef28cd8c8e5101548e2827d17d97262d
Author: tjhunt <tjhunt>
Date:   Wed, 29 Jul 2009 16:52:49 +0800
Tag:    v2.0.0-rc1

MDL-19756 Try to bring some consistency to how we handle & is attribute values.

commit 34f4a68b9f763afae426e2a96f908286511fecc4
Author: tjhunt <tjhunt>
Date:   Wed, 29 Jul 2009 16:45:24 +0800
Tag:    v2.0.0-rc1

MDL-19756 Fixes to make actions on action_icons work.

commit 275769aafa6a053f26ae256daefba7f8d03100b8
Author: tjhunt <tjhunt>
Date:   Wed, 29 Jul 2009 13:19:45 +0800
Tag:    v2.0.0-rc1

blocks: MDL-19889 Convert mentees block to use edit_form.php - lang string.

commit f34b1a71a034fa0786757a525beee7bf90576800
Author: tjhunt <tjhunt>
Date:   Wed, 29 Jul 2009 13:19:39 +0800
Tag:    v2.0.0-rc1

blocks: MDL-19889 Convert mentees block to use edit_form.php

commit b4a2d7f711a4a5570fa5406cacd9c61e4d571f76
Author: tjhunt <tjhunt>
Date:   Wed, 29 Jul 2009 13:13:34 +0800
Tag:    v2.0.0-rc1

blocks: MDL-19889 Convert blog tags block to use edit_form.php - fix comment typo.

commit 603c0789cb2d60c4d11d65a6d354f2b5c4338178
Author: tjhunt <tjhunt>
Date:   Wed, 29 Jul 2009 13:12:47 +0800
Tag:    v2.0.0-rc1

blocks: MDL-19889 Convert blog tags block to use edit_form.php

commit 6526cc3468c14491ad010d18d6f9919e66c907db
Author: tjhunt <tjhunt>
Date:   Wed, 29 Jul 2009 11:57:56 +0800
Tag:    v2.0.0-rc1

blocks: MDL-19889 Convert random glossary block to use edit_form.php

commit e9f7fdec005a8200153f5bb625fbc4ab453a7926
Author: tjhunt <tjhunt>
Date:   Wed, 29 Jul 2009 11:57:30 +0800
Tag:    v2.0.0-rc1

blocks: MDL-19946 Sorry, remove debug code.

commit c6084d31b438bfbd5e513c98ebfb10a13031c9ed
Author: tjhunt <tjhunt>
Date:   Wed, 29 Jul 2009 11:55:12 +0800
Tag:    v2.0.0-rc1

blocks: MDL-19889 Convert quiz results block to use edit_form.php

commit 05d3c06e36e4654e75c948f84f35dd530754bfdb
Author: tjhunt <tjhunt>
Date:   Wed, 29 Jul 2009 11:51:34 +0800
Tag:    v2.0.0-rc1

quiz: XHTML strict.

commit a23bbaa30bb87458521934ffefb3336de85d37ba
Author: tjhunt <tjhunt>
Date:   Wed, 29 Jul 2009 11:51:16 +0800
Tag:    v2.0.0-rc1

blocks: MDL-19946 More bug fixes.

commit d0f0cab776cc9502f10cfb81a2af4dccf597b3ee
Author: tjhunt <tjhunt>
Date:   Wed, 29 Jul 2009 11:21:07 +0800
Tag:    v2.0.0-rc1

blocks: MDL-19946 And another bug fix.

commit 7bbc2890f7afebdd7532bb29eabedd28632f9aa0
Author: tjhunt <tjhunt>
Date:   Wed, 29 Jul 2009 11:19:43 +0800
Tag:    v2.0.0-rc1

blocks: MDL-19946 bugfixes for my previous commit.

commit a19f419db23c92893d8fbc68b0a37095bf2d8d85
Author: tjhunt <tjhunt>
Date:   Tue, 28 Jul 2009 17:59:21 +0800
Tag:    v2.0.0-rc1

blocks: MDL-19946 Block editing form must be displayed from the original URL, with properliy initialised $page

commit 52842d6117ac4436c0b830e4f6d58326540dbe24
Author: tjhunt <tjhunt>
Date:   Tue, 28 Jul 2009 15:57:57 +0800
Tag:    v2.0.0-rc1

outputlib: MDL-19756 fix $OUTPUT->user_picture.

commit 6bcdbe4463fd6499174bbd01280aaa6cf9783130
Author: tjhunt <tjhunt>
Date:   Tue, 28 Jul 2009 12:29:42 +0800
Tag:    v2.0.0-rc1

Grrr! Nico.

commit 680a65a0ccc573830110f10f3490946b2923550c
Author: tjhunt <tjhunt>
Date:   Tue, 28 Jul 2009 12:16:59 +0800
Tag:    v2.0.0-rc1

course MDL-19794: Fix more initialisation order problems

commit ee73b1ffc2e740996d69ee67b8bb49377ae5df53
Author: tjhunt <tjhunt>
Date:   Tue, 28 Jul 2009 12:00:33 +0800
Tag:    v2.0.0-rc1

admin: MDL-19787 $PAGE->set_url on admin/index.php

commit a102baea519ca92b1f4fa1e8f5ce081db79cfb78
Author: tjhunt <tjhunt>
Date:   Tue, 28 Jul 2009 11:12:04 +0800
Tag:    v2.0.0-rc1

course MDL-19794: Fix initialisation order problems on course/category.php.

commit 5048e0349c60e7d6db1dd777ded97885567499d9
Author: tjhunt <tjhunt>
Date:   Tue, 28 Jul 2009 11:03:35 +0800
Tag:    v2.0.0-rc1

course MDL-19794: Fix initialisation order problems on course/index.php.

commit 9482c0fff6572bfd73827c97afab893a76319355
Author: tjhunt <tjhunt>
Date:   Mon, 27 Jul 2009 18:05:46 +0800
Tag:    v2.0.0-rc1

scales: Fix initialisation order problem.

commit aeab3f8d3705d43e7b75d6c99063b181a61258f7
Author: tjhunt <tjhunt>
Date:   Fri, 24 Jul 2009 17:18:19 +0800
Tag:    v2.0.0-rc1

calculated qtype: Remove unnecessary call-time pass by reference.

commit d1dd5d030fcb54e8a42ab99b93f6ca060e034c86
Author: tjhunt <tjhunt>
Date:   Fri, 24 Jul 2009 17:16:09 +0800
Tag:    v2.0.0-rc1

chat: Remove unnecessary call-time pass by reference.

commit aaee3df07467f36dd21b2bfdb50ac93031ebbb53
Author: tjhunt <tjhunt>
Date:   Fri, 24 Jul 2009 12:45:29 +0800
Tag:    v2.0.0-rc1

outputlib: debugging message was not being displayed when you forgot print_footer.

commit 2427f3fe6b5b0dc9650baf1bec0155441d3de3b6
Author: tjhunt <tjhunt>
Date:   Fri, 24 Jul 2009 12:05:39 +0800
Tag:    v2.0.0-rc1

plugins: MDL-19921 external database auth was not showing up. This was a regression from MDL-16438

commit 4262a2f8062c557e41d8cc5f2116cf64e2c3364c
Author: tjhunt <tjhunt>
Date:   Thu, 23 Jul 2009 18:01:19 +0800
Tag:    v2.0.0-rc1

lesson: MDL-19890 Fix block-printing code in lesson (I hope)

commit d18675a8d797c370eb7b2164d9922b6c25f606e1
Author: tjhunt <tjhunt>
Date:   Thu, 23 Jul 2009 17:20:33 +0800
Tag:    v2.0.0-rc1

quiz: MDL-19891 fix that quiz navigation block that was broken by the blocks changes.

commit c966c8a27b48d816575e887d61d8350706f8b0ad
Author: tjhunt <tjhunt>
Date:   Thu, 23 Jul 2009 13:55:03 +0800
Tag:    v2.0.0-rc1

ajaxlib MDL-19077 required_js_code::now, for those cases when you really want inline JS, and you may be building HTML before print_header

commit ac63efae6dab74fad393c6341b34c79992e71c04
Author: tjhunt <tjhunt>
Date:   Thu, 23 Jul 2009 13:39:41 +0800
Tag:    v2.0.0-rc1

ajaxlib: MDL-19915 skip links need to be in a div for XHTML strict. Refine Sam's solution.

commit 6e5516bf27e26ad7e99457e3a73c1f9e71165fce
Author: tjhunt <tjhunt>
Date:   Wed, 22 Jul 2009 22:26:47 +0800
Tag:    v2.0.0-rc1

Fix my silly mistake. Thanks for noticing Eloy.

commit d4ad9adf22c5d03705d4588a6f3b2b6f7a222357
Author: tjhunt <tjhunt>
Date:   Wed, 22 Jul 2009 17:49:48 +0800
Tag:    v2.0.0-rc1

quiz: fix URL escaping issues.

commit 82fd2e8bfb0dbac1898ed6d9bf2b85bac81e26ba
Author: tjhunt <tjhunt>
Date:   Wed, 22 Jul 2009 17:25:46 +0800
Tag:    v2.0.0-rc1

quiz: Check this is the users own attempt before sending them to the attempt.php page.

commit 1ddfb914fdec9d01813e20a64d0d46c956789086
Author: tjhunt <tjhunt>
Date:   Wed, 22 Jul 2009 17:20:04 +0800
Tag:    v2.0.0-rc1

quiz reports: Fix ordering of reports broken by MDL-16438.

commit 0f2d2de6753c150087814854688befc5d03309ca
Author: tjhunt <tjhunt>
Date:   Wed, 22 Jul 2009 17:13:38 +0800
Tag:    v2.0.0-rc1

quiz: minor layout improvement.

commit 3ceb69108ad895dbc300dfdfd245cc49b08a7f78
Author: tjhunt <tjhunt>
Date:   Wed, 22 Jul 2009 15:13:43 +0800
Tag:    v2.0.0-rc1

themes: MDL-19077 pass the region name ot the block output function.

commit 6acbb3192b42abf46032da93b361ae6174c0fd89
Author: tjhunt <tjhunt>
Date:   Wed, 22 Jul 2009 15:05:57 +0800
Tag:    v2.0.0-rc1

Remove deprecated function call.

commit fb3611a56712871891b8415adc029931a659bfc2
Author: tjhunt <tjhunt>
Date:   Wed, 22 Jul 2009 14:38:26 +0800
Tag:    v2.0.0-rc1

blocks MDL-19902: were seeing empty block columns on the front page when not logged in.

commit 78d27a9049c62de4a8a91387f4480f09d987c528
Author: tjhunt <tjhunt>
Date:   Wed, 22 Jul 2009 13:38:28 +0800
Tag:    v2.0.0-rc1

blocks MDL-19902: were seeing empty block columns on the front page when not logged in.

commit 9e43d2b395f54994781c0374110582832120296c
Author: tjhunt <tjhunt>
Date:   Wed, 22 Jul 2009 11:44:14 +0800
Tag:    v2.0.0-rc1

ajaxlib: fix variable name typo.

commit c05e49c71a72adeb4f1fc0406292fd94e20bd03e
Author: tjhunt <tjhunt>
Date:   Wed, 22 Jul 2009 10:34:24 +0800
Tag:    v2.0.0-rc1

themes: MDL-19077 make sure that errors displayed by blocks are displayed properly.

commit cfc3f57e38da99aee127b99205824e8ff9ecb4f4
Author: tjhunt <tjhunt>
Date:   Wed, 22 Jul 2009 10:32:41 +0800
Tag:    v2.0.0-rc1

tags: MDL-19823 missed one $PAGE->set_context yesterday.

commit a8c310c25326da7ace71bcb14264f52fbcd84a59
Author: tjhunt <tjhunt>
Date:   Tue, 21 Jul 2009 21:58:47 +0800
Tag:    v2.0.0-rc1

Fix new install with developer debug on.

Can't print context name in the page footer before DB tables exist!
Also, show page generaltype in the footer.

commit d81f1d6fd84f38495d384ba80e4093eac2a96ec5
Author: tjhunt <tjhunt>
Date:   Tue, 21 Jul 2009 18:32:34 +0800
Tag:    v2.0.0-rc1

blocks editing: MDL-19889 edit tag_flickr block form.

commit f1ec6a630caad659020e5ab8148f2389ef489185
Author: tjhunt <tjhunt>
Date:   Tue, 21 Jul 2009 18:32:04 +0800
Tag:    v2.0.0-rc1

flickr and youtube blocks: don't call print_error!

commit 7b2b1a915cb033cc5174f5a10d8feb8292d60dc2
Author: tjhunt <tjhunt>
Date:   Tue, 21 Jul 2009 17:45:27 +0800
Tag:    v2.0.0-rc1

blocks editing: MDL-19889 edit tags block form.

commit 5f3d8dd52bfaf2efe218e8c719095ec655fb187a
Author: tjhunt <tjhunt>
Date:   Tue, 21 Jul 2009 17:23:29 +0800
Tag:    v2.0.0-rc1

blocks editing: MDL-19889 edit tag_youtube form.

commit a60bdd8cfd92fc43195523c7867c7a0aaaca2efc
Author: tjhunt <tjhunt>
Date:   Tue, 21 Jul 2009 17:20:44 +0800
Tag:    v2.0.0-rc1

blocks editing: MDL-19889 tidy up HTML form class.

commit 0edd65352f6a25e040d0b2cc79c3fbaeaa1ee20d
Author: tjhunt <tjhunt>
Date:   Tue, 21 Jul 2009 17:16:25 +0800
Tag:    v2.0.0-rc1

tags: part of MDL-19823 - make sure tag pages are in the right context, and set $PAGE->url

commit a1a6cf111690f427e11f72c3785aea7fcdd013d1
Author: tjhunt <tjhunt>
Date:   Tue, 21 Jul 2009 15:08:08 +0800
Tag:    v2.0.0-rc1

quiz: MDL-19813 missing global $OUTPUT.

commit 4565dcff25dde905dc935285e5e7e8c95d6b4c5a
Author: tjhunt <tjhunt>
Date:   Tue, 21 Jul 2009 15:04:19 +0800
Tag:    v2.0.0-rc1

html_table: MDL-19755 deprecate the attributes of html_table that lead to in-line styling in the HTML.

commit 95d28870a28db90f7e436749f1b2497021ab7d09
Author: tjhunt <tjhunt>
Date:   Tue, 21 Jul 2009 15:02:06 +0800
Tag:    v2.0.0-rc1

pagelib: MDL-12212 require_login should set $PAGE->cm, if appicable.

commit 41e87d30bc2cd91d1ec3274d08de4fe6c56e2cec
Author: tjhunt <tjhunt>
Date:   Tue, 21 Jul 2009 14:24:44 +0800
Tag:    v2.0.0-rc1

accesslib: MDL-19882 require_capability no longer does an automatic require_login.

commit 084f4c15be28f978c85397fbcf694d8a12ec840a
Author: tjhunt <tjhunt>
Date:   Mon, 20 Jul 2009 17:46:53 +0800
Tag:    v2.0.0-rc1

MDL-19882 Add remaining missing require_login-s before require_capability.

commit ebff4779955be0601b20de05cd31501b329efe9c
Author: tjhunt <tjhunt>
Date:   Mon, 20 Jul 2009 16:57:18 +0800
Tag:    v2.0.0-rc1

MDL-19882 Add missing require_login-s before require_capability.

commit 9097fa230d994632ee512ff0a4acbc6607ff8e81
Author: tjhunt <tjhunt>
Date:   Mon, 20 Jul 2009 16:29:53 +0800
Tag:    v2.0.0-rc1

Fix use of incorrect context.

commit 3975c764faa452939ececc54cc2005588e8445cb
Author: tjhunt <tjhunt>
Date:   Mon, 20 Jul 2009 14:57:43 +0800
Tag:    v2.0.0-rc1

MDL-19077: Fix Martin's code.

commit 2c0901cb5a88292e8eacf2eff94e777d4116fa78
Author: tjhunt <tjhunt>
Date:   Mon, 20 Jul 2009 14:18:16 +0800
Tag:    v2.0.0-rc1

MDL-19010: In developer debug mode, print information about this page in the footer.

commit a8ecfa4d5beee7fc7b87362fac3a1e8686ac1044
Author: tjhunt <tjhunt>
Date:   Mon, 20 Jul 2009 11:28:50 +0800
Tag:    v2.0.0-rc1

MDL-19077: Fix some initialisation order issues on the course/category management pages

commit 4578a5eb7a33b9c90598d2ea639baa7c3a8148f7
Author: tjhunt <tjhunt>
Date:   Mon, 20 Jul 2009 11:04:08 +0800
Tag:    v2.0.0-rc1

block MDL-19398 Initialise all blocks on this page before output is started.

commit c45cb4bbd7e6ca4775c10e85508458fa5ce38fb6
Author: tjhunt <tjhunt>
Date:   Sat, 18 Jul 2009 19:59:17 +0800
Tag:    v2.0.0-rc1

Improve comment. Thanks David Mudrak.

commit 40928036154679c0cd6dd3677ac6eead2aee1ad9
Author: tjhunt <tjhunt>
Date:   Fri, 17 Jul 2009 16:26:13 +0800
Tag:    v2.0.0-rc1

Clean up some more todos.

commit 1428f471815fbd74019c16b54aad05168e196455
Author: tjhunt <tjhunt>
Date:   Fri, 17 Jul 2009 16:07:50 +0800
Tag:    v2.0.0-rc1

block/search: Eliminate todo that was already done, and clean up whitespace.

commit f7acfadd0a3407ab2c3fd4314ffa054ad5602381
Author: tjhunt <tjhunt>
Date:   Fri, 17 Jul 2009 15:46:04 +0800
Tag:    v2.0.0-rc1

admin block: MDL-16693 fix todo.

commit 9ce7265cd00539a179564922075d509b65e7b57a
Author: tjhunt <tjhunt>
Date:   Fri, 17 Jul 2009 15:42:21 +0800
Tag:    v2.0.0-rc1

admin bookmarks: remove useless todo.

commit 1c5648f169fc6001a5ad883cc2e9c38aad25c9b7
Author: tjhunt <tjhunt>
Date:   Fri, 17 Jul 2009 15:40:54 +0800
Tag:    v2.0.0-rc1

todochecker: don't match variables called $todo or fields called ->todo.

commit 086d27e4e1b2af8ff931c55f254dc85eb9ac02fa
Author: tjhunt <tjhunt>
Date:   Fri, 17 Jul 2009 15:40:38 +0800
Tag:    v2.0.0-rc1

Clarify commenst in backup, to make it clear what is acutally a TODO, and what is a reference to the $todo variable.

commit 6180cdc97a032fd148e1f049569833a406d9ddc8
Author: tjhunt <tjhunt>
Date:   Fri, 17 Jul 2009 15:26:12 +0800
Tag:    v2.0.0-rc1

todochecker: Match todo case-insensitively sad that finds a lot more.

commit 05280d5f97d35dd50de6a2428ed415982f33e9fa
Author: tjhunt <tjhunt>
Date:   Fri, 17 Jul 2009 15:19:43 +0800
Tag:    v2.0.0-rc1

todochecker: bug summary in tool tip.

commit 64d794924519e96dc9e076a56aed1d64a457f059
Author: tjhunt <tjhunt>
Date:   Fri, 17 Jul 2009 15:06:53 +0800
Tag:    v2.0.0-rc1

quiz: add tracker id to TODO.

commit 8101e5fc31fe0ed0531dc4ad3e7f095bf1b031dd
Author: tjhunt <tjhunt>
Date:   Fri, 17 Jul 2009 15:02:13 +0800
Tag:    v2.0.0-rc1

quiz: remove incorrect TODO.

commit b9334758988eeabb958721e8ff605067a810f9ea
Author: tjhunt <tjhunt>
Date:   Fri, 17 Jul 2009 15:00:16 +0800
Tag:    v2.0.0-rc1

quiz manual grading: Remove todo that was already done!

commit 35a51f44e2afeba85ca46b343dd5e2c91fd0e71b
Author: tjhunt <tjhunt>
Date:   Fri, 17 Jul 2009 14:56:33 +0800
Tag:    v2.0.0-rc1

quiz editing: Remove unnecessary TODO.

commit 6f030b0f84052bab0b5f7206afbacf14118a6c6e
Author: tjhunt <tjhunt>
Date:   Fri, 17 Jul 2009 14:54:58 +0800
Tag:    v2.0.0-rc1

quiz editing: MDL-17730 need better skip links on the quiz editing page.

commit 61f879d293cbe548c0a25d67f973eddf38c68d5b
Author: tjhunt <tjhunt>
Date:   Fri, 17 Jul 2009 14:51:25 +0800
Tag:    v2.0.0-rc1

themes: MDL-19077 better handling of top of body code for legacy themes.

commit a89d8e070932060722a9018d821bdbdb6d1650f8
Author: tjhunt <tjhunt>
Date:   Fri, 17 Jul 2009 13:56:49 +0800
Tag:    v2.0.0-rc1

todochecker script: skip third party code.

commit 929d3d873c77fd9934c3b118b6a95a13c32c93c4
Author: tjhunt <tjhunt>
Date:   Fri, 17 Jul 2009 13:51:52 +0800
Tag:    v2.0.0-rc1

admin: broken icons on question type page.

commit 7b5bd0602b738a222c050782d7a523ba071415a7
Author: tjhunt <tjhunt>
Date:   Fri, 17 Jul 2009 11:40:40 +0800
Tag:    v2.0.0-rc1

formslib: moodleform_mod needs to be abstract too. (See one of the commits I made yesterday.)

commit 73e2e5c03dcc1aa3b7a9a2c1303559b05ae773b0
Author: tjhunt <tjhunt>
Date:   Thu, 16 Jul 2009 19:05:26 +0800
Tag:    v2.0.0-rc1

blocks editing ui: MDL-19398 Can now edit the position of any block. I think this is probaby insecure at the moment. I am still working on it.

commit 1d13c75c1582beb0fd920bb5fafdd434a4a12de7
Author: tjhunt <tjhunt>
Date:   Thu, 16 Jul 2009 18:50:19 +0800
Tag:    v2.0.0-rc1

blocks editing ui: MDL-19398 Can how precisely control block positioning using the edit icon This mostly works now, but ... * The UI needs further work. In particular we need a non-advanced mode. * This only works for blocks that use a new edit_form.php to replace config_instance.html. * .. and so far I have only implemented edit_form.php for the HTML block so far. * Needs to be enabled (with no block-specific config) for blocks without instance config, so you can control their positioning.

commit afd63fe5095ac5eb7db767fe4065a458dd0dcbb2
Author: tjhunt <tjhunt>
Date:   Thu, 16 Jul 2009 18:38:15 +0800
Tag:    v2.0.0-rc1

formslib: use abstract, rather than a print_error, now we have PHP5.

commit ec972adefeac579a9beb0f694a3c6ed42e53b792
Author: tjhunt <tjhunt>
Date:   Wed, 15 Jul 2009 16:59:51 +0800
Tag:    v2.0.0-rc1

Fix boilerplate.

commit 15a00b4be0deccd9f7a4a2dce9e85d951b7fcdaf
Author: tjhunt <tjhunt>
Date:   Wed, 15 Jul 2009 16:55:52 +0800
Tag:    v2.0.0-rc1

blocks editing ui: MDL-19398 Remove stupid pass by reference. Was causing errors when this method was called via block_method_result

commit 7cf51142ab3c11cd51e39d03c1fdf6f70c63479e
Author: tjhunt <tjhunt>
Date:   Wed, 15 Jul 2009 16:52:33 +0800
Tag:    v2.0.0-rc1

blocks editing ui: MDL-19398 Make block config_global.html files more strongly deprecated.

commit 95eecbd8931a6ed39caaba49f83685ebde96712a
Author: tjhunt <tjhunt>
Date:   Wed, 15 Jul 2009 16:24:12 +0800
Tag:    v2.0.0-rc1

blocks editing ui: MDL-19398 block.multiple column no longer exists, so remove admin for it.

commit bc422e69552208bbc13e3063f0871b28204e4c2e
Author: tjhunt <tjhunt>
Date:   Wed, 15 Jul 2009 15:45:48 +0800
Tag:    v2.0.0-rc1

blocks editing ui: MDL-19398 Make invisible blocks at least partly invisible.

commit ae42ff6feee0963f99cbde95e83aff44ac98180f
Author: tjhunt <tjhunt>
Date:   Wed, 15 Jul 2009 15:41:25 +0800
Tag:    v2.0.0-rc1

blocks editing ui: MDL-19398 showing and hiding blocks now works.

commit 4a3b4620212c918b9d2d6b161a3bddb0dcb7c50b
Author: tjhunt <tjhunt>
Date:   Wed, 15 Jul 2009 14:33:13 +0800
Tag:    v2.0.0-rc1

blocks editing ui: MDL-19398 give users a path back after assigning block roles

commit 4bea5e85828b2ef400dc31533945439fce40d4aa
Author: tjhunt <tjhunt>
Date:   Wed, 15 Jul 2009 14:17:39 +0800
Tag:    v2.0.0-rc1

moodlellib: MDL-19828 PARAM_LOCALURL should accept URLs like course/view.php?id=2

commit 1a6c857b6acf395120026abd5997cd1653da6d70
Author: tjhunt <tjhunt>
Date:   Wed, 15 Jul 2009 13:40:15 +0800
Tag:    v2.0.0-rc1

filters admin: Re-fix heading.

commit 704ac344078a9c3813fbfc5b984b4340edfdb9e5
Author: tjhunt <tjhunt>
Date:   Wed, 15 Jul 2009 13:37:31 +0800
Tag:    v2.0.0-rc1

outputlib tables: MDL-19755 fix all cases of deprecated $table->rowclass

commit c9f153058e31877c1543c15c2a11ec5744e7c304
Author: tjhunt <tjhunt>
Date:   Wed, 15 Jul 2009 12:06:03 +0800
Tag:    v2.0.0-rc1

question bank: MDL-19826 Merge from MOODLE_19_STABLE.

commit 366c74994c891140883c6e881e302b046b64c52e
Author: tjhunt <tjhunt>
Date:   Wed, 15 Jul 2009 12:05:05 +0800
Tag:    v2.0.0-rc1

weblib: Let redirect() take a moodle_url object.

commit 02b126af8afc533e8fc78135db3a5d8ba9c58780
Author: tjhunt <tjhunt>
Date:   Tue, 14 Jul 2009 19:16:21 +0800
Tag:    v2.0.0-rc1

blocks editing ui: MDL-19398 permissions checks when deleting a block.

commit 1936f20b8bdfae73d78697e7f49d719a420d856c
Author: tjhunt <tjhunt>
Date:   Tue, 14 Jul 2009 18:57:06 +0800
Tag:    v2.0.0-rc1

blocks editing ui: MDL-19398 move generating the block edit icons to blocklib.php Since that is where the resulting actions are processed.

commit 727ae4362ecf61edf4ae8bc3e04952135517fb2d
Author: tjhunt <tjhunt>
Date:   Tue, 14 Jul 2009 18:41:59 +0800
Tag:    v2.0.0-rc1

blocks editing ui: MDL-19398 fix adding a block to a page that forgets to call $PAGE->set_url.

commit fbaaeaebace6a446281fdf08a74c8e184c5ff38f
Author: tjhunt <tjhunt>
Date:   Tue, 14 Jul 2009 17:36:02 +0800
Tag:    v2.0.0-rc1

forum: $PAGE->set_url on forum view page.

commit b97fb57fe3bbf3719d5bca641a9c37852de45956
Author: tjhunt <tjhunt>
Date:   Tue, 14 Jul 2009 17:35:33 +0800
Tag:    v2.0.0-rc1

fix typo

commit 2a3b07636898b225993518016f0b372a219903e5
Author: tjhunt <tjhunt>
Date:   Tue, 14 Jul 2009 17:28:10 +0800
Tag:    v2.0.0-rc1

blocks editing ui: MDL-19398 fix some bugs with adding a block.

commit a2789e3426c542fab31fbddb14adb7b549207433
Author: tjhunt <tjhunt>
Date:   Tue, 14 Jul 2009 16:37:28 +0800
Tag:    v2.0.0-rc1

blocks editing ui: MDL-19398 add block now secure. Delete block works insecurely. Will add security checks in a moment.

commit e727b6e5d5af477e7aae570749fc9185ff024e9c
Author: tjhunt <tjhunt>
Date:   Tue, 14 Jul 2009 16:36:40 +0800
Tag:    v2.0.0-rc1

blocks: MDL-19010 Delete weird line of legacy code.

commit c72465aa15fb86a50beddf4b02787623f8de03de
Author: tjhunt <tjhunt>
Date:   Tue, 14 Jul 2009 16:31:30 +0800
Tag:    v2.0.0-rc1

setuplib: early errors were not showing debuginfo.

commit 21d33bdf62decd5add0f4ad5c967726208fa3271
Author: tjhunt <tjhunt>
Date:   Tue, 14 Jul 2009 15:18:57 +0800
Tag:    v2.0.0-rc1

blocks editing ui: MDL-19398 you can now add new blocks!

commit f674ec86405a0ef8f5c4c59c3f686ee7062e6695
Author: tjhunt <tjhunt>
Date:   Tue, 14 Jul 2009 15:06:06 +0800
Tag:    v2.0.0-rc1

blocks: MDL-19010 show empty blocks if they have controls.

commit 144390b4d944ad2e56abb7342c60fb14372e01b6
Author: tjhunt <tjhunt>
Date:   Tue, 14 Jul 2009 13:14:45 +0800
Tag:    v2.0.0-rc1

themes: MDL-19077 Don't need both output_starting_hook and starting_output method on page.

commit 485e46611a65b88f50e3a0b43dc4ed80dc9754f8
Author: tjhunt <tjhunt>
Date:   Tue, 14 Jul 2009 12:18:58 +0800
Tag:    v2.0.0-rc1

Fix block manager unit tests.

commit e92c286c20345f513f72bc7b12e3f86fc079d4d2
Author: tjhunt <tjhunt>
Date:   Mon, 13 Jul 2009 16:37:34 +0800
Tag:    v2.0.0-rc1

block contexts: MDL-19098 every block should have a context even non-course and sticky blocks.

commit dc203659af1c4a8c335dc6327547917f8606b76e
Author: tjhunt <tjhunt>
Date:   Mon, 13 Jul 2009 14:16:48 +0800
Tag:    v2.0.0-rc1

themes: MDL-19077 Don't us $OUTPUT in debugging.

commit 60a5b1883313ab656009cac0da6657328b3cee81
Author: tjhunt <tjhunt>
Date:   Mon, 13 Jul 2009 14:10:03 +0800
Tag:    v2.0.0-rc1

themes: MDL-19077 fix bugs in cli_renderer. Use correct doctype with legacy header.html.

commit 43b152f69aa1d6b5151a40fa4a975bb745c88bb3
Author: tjhunt <tjhunt>
Date:   Mon, 13 Jul 2009 14:08:48 +0800
Tag:    v2.0.0-rc1

cron: MDL-19774 temporary hack so cron does not crash.

commit 652ee8aa565f17930179933c0c07cb5575d4da5b
Author: tjhunt <tjhunt>
Date:   Mon, 13 Jul 2009 13:44:35 +0800
Tag:    v2.0.0-rc1

feedback MDL-19773 - temporary work-around so cron can run. This still needs to be fixed properly.

commit aa2e96e9ce703d45226eb5ff0fd65656172c2720
Author: tjhunt <tjhunt>
Date:   Mon, 13 Jul 2009 12:27:05 +0800
Tag:    v2.0.0-rc1

developer tools MDL-19772: Script to list all todos in code

commit 4625ab9a8c92103f9f86067b8efa506a3377bbc2
Author: tjhunt <tjhunt>
Date:   Mon, 13 Jul 2009 12:24:29 +0800
Tag:    v2.0.0-rc1

themes: MDL-19077 $OUTPUT->header does the main skip destination, layout.php should now.

commit 8b40e0feb8ee11483b1cb7406b2d66d280511262
Author: tjhunt <tjhunt>
Date:   Mon, 13 Jul 2009 12:23:39 +0800
Tag:    v2.0.0-rc1

anomaly theme: XHTML strict.

commit 320c5e7b5a1b8b8e42e6bd02d052274995c84fac
Author: tjhunt <tjhunt>
Date:   Mon, 13 Jul 2009 12:21:15 +0800
Tag:    v2.0.0-rc1

themes: MDL-19077 - Incorrect initialisation order for user/editadvanced.php

commit 5e39d7aa094f0b80f0544ef73634ff1c33aa066c
Author: tjhunt <tjhunt>
Date:   Fri, 10 Jul 2009 16:44:01 +0800
Tag:    v2.0.0-rc1

upgrade: MDL-19763 Improve the redirect that forces a DB upgrade when there are major changes

commit 13a0d3d3c9afa7f0b3997e6cff488a24fa017d22
Author: tjhunt <tjhunt>
Date:   Fri, 10 Jul 2009 13:58:59 +0800
Tag:    v2.0.0-rc1

blocks MDL-19536: rename block_instances.contextid to parentcontextid to avoid gross confusion

commit 99a70a7c085de0945a38088cfefb909476575b70
Author: tjhunt <tjhunt>
Date:   Fri, 10 Jul 2009 13:42:54 +0800
Tag:    v2.0.0-rc1

Clarify comment.

commit 45c6de041bcba4ae7d996d6a62df6cfe7cb6c391
Author: tjhunt <tjhunt>
Date:   Fri, 10 Jul 2009 13:37:36 +0800
Tag:    v2.0.0-rc1

Remove unnecessary 'none' passed to footer.

commit b9928286e7c4ac654f5de47bb6e22957a3420d03
Author: tjhunt <tjhunt>
Date:   Fri, 10 Jul 2009 11:39:09 +0800
Tag:    v2.0.0-rc1

Fix comment.

commit f6b2709ff4972c307483a6937c2134d1abf1418d
Author: tjhunt <tjhunt>
Date:   Fri, 10 Jul 2009 11:31:30 +0800
Tag:    v2.0.0-rc1

setup: Need memory before setup_DB.

commit 6c77145468ee5a56bef36a33575ae0c7c543c5e0
Author: tjhunt <tjhunt>
Date:   Fri, 10 Jul 2009 11:30:43 +0800
Tag:    v2.0.0-rc1

setup: Need memory before setup_DB.

commit 6b1d460c4ddf369d6d16ba56ac7b910cbb6d9aad
Author: tjhunt <tjhunt>
Date:   Thu, 09 Jul 2009 17:09:37 +0800
Tag:    v2.0.0-rc1

themes & blocks - MDL-19077 & MDL-19010 missing lang file changes.

commit fc2593fef91be614a5c5dae71601a5f7cc0e0a9d
Author: tjhunt <tjhunt>
Date:   Thu, 09 Jul 2009 16:17:23 +0800
Tag:    v2.0.0-rc1

blocks - MDL-19010 fix bug where blocks did not show up with editing off.

commit d4a03c00ea3885ac2b264b7d7a8c6c635d5714d2
Author: tjhunt <tjhunt>
Date:   Thu, 09 Jul 2009 15:35:03 +0800
Tag:    v2.0.0-rc1

themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme

commit 793a204e7b1b0b020f3f7ed25527dc71f32f92d3
Author: tjhunt <tjhunt>
Date:   Thu, 09 Jul 2009 10:06:22 +0800
Tag:    v2.0.0-rc1

themes MDL-19077: Update deprecated stuff in all theme config.php files.

commit 69d3cd7f675c2dd71d2dbb696453ffa6c5fd2819
Author: tjhunt <tjhunt>
Date:   Tue, 07 Jul 2009 13:06:38 +0800
Tag:    v2.0.0-rc1

themes: MDL-19077 - take out test code I did not mean to include in my last commit.

commit fdeb7fa1920b4e55e0526af68232b481757498e3
Author: tjhunt <tjhunt>
Date:   Tue, 07 Jul 2009 13:05:06 +0800
Tag:    v2.0.0-rc1

themes: MDL-19077 - more work on the theme_config class.

commit 87b6851cf97d4ef98c7464fc20d7b8dfe711f82c
Author: tjhunt <tjhunt>
Date:   Tue, 07 Jul 2009 12:37:12 +0800
Tag:    v2.0.0-rc1

Catch another potential type of infinite recursion output initialisation.

commit 641e6ecd587e334f5e2192ab2cf44b181a71cdaf
Author: tjhunt <tjhunt>
Date:   Tue, 07 Jul 2009 11:49:46 +0800
Tag:    v2.0.0-rc1

Typo fix.

commit 8f4e377dfe394e9a306ae8d7fdddf215c77c93c1
Author: tjhunt <tjhunt>
Date:   Tue, 07 Jul 2009 11:49:13 +0800
Tag:    v2.0.0-rc1

MDL-19690 - pixpath - cannot use $OUTPUT in CSS. Use $PAGE->theme instead.

commit a64e25f65d9a0b07174c7e8fdc9fddebe8dc2c6f
Author: tjhunt <tjhunt>
Date:   Mon, 06 Jul 2009 13:32:29 +0800
Tag:    v2.0.0-rc1

themes: MDL-19077 move deprecated function page_id_and_class to deprecatedlib.php

commit 318f05193eab9046b17fc89a1176567654fabf0b
Author: tjhunt <tjhunt>
Date:   Sun, 05 Jul 2009 10:16:56 +0800
Tag:    v2.0.0-rc1

MDL-19714 Fatal errors when installing HEAD	

This is my attempt to fix things by copying code from setup.php to install.php. Seems to work now.

commit 1fb3d044fdde4b7c7890a7fbfc35c63c45b45ce7
Author: tjhunt <tjhunt>
Date:   Sat, 04 Jul 2009 22:23:49 +0800
Tag:    v2.0.0-rc1

Re-order the code, so we process the actions before we do any output.

That is the right order anyway, and avoids the problem where require_capability
after output is started leads to an exception being thrown.

commit 8a9c1c1c2d7da643dd8ea0f0ccb18a69aac55918
Author: tjhunt <tjhunt>
Date:   Sat, 04 Jul 2009 22:22:11 +0800
Tag:    v2.0.0-rc1

Add a warning that require_capabiliy can only be used before output is started.

commit 024d4aafbf7a09ddb93200af26e848fc30ae0594
Author: tjhunt <tjhunt>
Date:   Sat, 04 Jul 2009 21:36:19 +0800
Tag:    v2.0.0-rc1

XHTML strict.

commit 4af1e3b060bc9748b7640da029032566200d2208
Author: tjhunt <tjhunt>
Date:   Sat, 04 Jul 2009 21:36:05 +0800
Tag:    v2.0.0-rc1

outputlib: MDL-19077 better reporting when open/close containers don't match.

commit 94398fb3e852b50fa12cecb314f27fffeb98bb91
Author: tjhunt <tjhunt>
Date:   Fri, 03 Jul 2009 17:03:50 +0800
Tag:    v2.0.0-rc1

MDL-19696 make sure install works.

commit ae96b517a2b3792db165865d2956f2c979c9e013
Author: tjhunt <tjhunt>
Date:   Fri, 03 Jul 2009 17:03:29 +0800
Tag:    v2.0.0-rc1

MDL-19696 & MDL-16706 refactor sam's redirect changes, so they can work during initial install.

commit d436d197d1095944ab44fa6a0ce0f32a3e202832
Author: tjhunt <tjhunt>
Date:   Fri, 03 Jul 2009 15:55:30 +0800
Tag:    v2.0.0-rc1

MDL-19690 - the last lot of $CFG->pixpath to $OUTPUT->old_icon_url Including MDL-19693

commit 3e2e421922e2f7779d1069e18476cc6a7dd13b33
Author: tjhunt <tjhunt>
Date:   Fri, 03 Jul 2009 15:17:41 +0800
Tag:    v2.0.0-rc1

XHTML strict

commit a28c92539eb7e85fda3d9c8635a2bc6e14317d9f
Author: tjhunt <tjhunt>
Date:   Fri, 03 Jul 2009 14:38:41 +0800
Tag:    v2.0.0-rc1

MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url

commit ddedf979b48e286386cd39785937b287a451a52b
Author: tjhunt <tjhunt>
Date:   Fri, 03 Jul 2009 14:19:25 +0800
Tag:    v2.0.0-rc1

MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url

commit 666e84584c630c9f20d1fc7cf8ca79169f7c8dea
Author: tjhunt <tjhunt>
Date:   Fri, 03 Jul 2009 12:23:05 +0800
Tag:    v2.0.0-rc1

MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url

commit bdbc743c1f5d08962fa5d0d67c85d0488ffd0035
Author: tjhunt <tjhunt>
Date:   Thu, 02 Jul 2009 20:43:19 +0800
Tag:    v2.0.0-rc1

Fix some grader report breakage.

commit 42d5737a945689c5d81c4b0d11b34e2037079849
Author: tjhunt <tjhunt>
Date:   Thu, 02 Jul 2009 20:35:13 +0800
Tag:    v2.0.0-rc1

MDL-19690 fix some breakage.

commit 5ef444007d4ec1fbdfbbd05660be92f8e91f3fe7
Author: tjhunt <tjhunt>
Date:   Thu, 02 Jul 2009 20:25:19 +0800
Tag:    v2.0.0-rc1

MDL-19690 - Eliminate all remaining $CFG->modpixpath apart from mod/scorm

commit e63f88c9a6ef41f8cc4ada5aa70c9bbc35db99c9
Author: tjhunt <tjhunt>
Date:   Thu, 02 Jul 2009 20:07:58 +0800
Tag:    v2.0.0-rc1

MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url and $CFG->modpixpath to $OUTPUT->mod_icon_url

commit c8873c496b61f011555693d27c82a3b850813ecc
Author: tjhunt <tjhunt>
Date:   Thu, 02 Jul 2009 19:23:47 +0800
Tag:    v2.0.0-rc1

MDL-19690 - eliminate the $OUTPUT->initialise_deprecated_cfg_pixpath horrible hack.

commit f2a1963c434c016411f2e2022c98de191446d542
Author: tjhunt <tjhunt>
Date:   Thu, 02 Jul 2009 19:09:15 +0800
Tag:    v2.0.0-rc1

MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url

commit 6b608f8f50672cd4cfc7ca60def9abfa754673d5
Author: tjhunt <tjhunt>
Date:   Thu, 02 Jul 2009 18:53:31 +0800
Tag:    v2.0.0-rc1

MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url

commit 5d3b9994689e086c340b55cff1e2fc2061006012
Author: tjhunt <tjhunt>
Date:   Thu, 02 Jul 2009 18:26:02 +0800
Tag:    v2.0.0-rc1

MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url

commit 73511be7615ea791d08934065251379e7414d140
Author: tjhunt <tjhunt>
Date:   Thu, 02 Jul 2009 18:12:19 +0800
Tag:    v2.0.0-rc1

MDL-19690 - 4 more $CFG->pixpath to $OUTPUT->old_icon_url

commit 4096752d1d44735009cb80c471b2ae23952916f9
Author: tjhunt <tjhunt>
Date:   Thu, 02 Jul 2009 18:06:39 +0800
Tag:    v2.0.0-rc1

MDL-19690 - first 53 $CFG->pixpath to $OUTPUT->old_icon_url

commit 3aaa27f4cd92beb099b1575ae62047c69be86351
Author: tjhunt <tjhunt>
Date:   Thu, 02 Jul 2009 17:28:19 +0800
Tag:    v2.0.0-rc1

output: MDL-19690 allow for .png or .gif in $OUTPUT->mod/old_icon_url

commit ebebf55cadeb187b1ad912706f0c382bbfa2b36b
Author: tjhunt <tjhunt>
Date:   Thu, 02 Jul 2009 16:49:25 +0800
Tag:    v2.0.0-rc1

output: MDL-19690 icon_finder classes and $OUTPUT->mod/old_icon_url

commit db8d89d822279617a1a41e4e362e7b4a359f46e8
Author: tjhunt <tjhunt>
Date:   Thu, 02 Jul 2009 15:06:25 +0800
Tag:    v2.0.0-rc1

MDL-19077 I just found a way to reduce the coupling between the classes.

commit 67255ce1d358ad6483eaab4ca25191633e144ed6
Author: tjhunt <tjhunt>
Date:   Thu, 02 Jul 2009 14:57:21 +0800
Tag:    v2.0.0-rc1

XHTML strict

commit b70094743a9c2e71a1844f23d0bd71a0b49644ab
Author: tjhunt <tjhunt>
Date:   Wed, 01 Jul 2009 13:54:26 +0800
Tag:    v2.0.0-rc1

themes: MDL-19077 change how the theme is initialised and CSS is served.

commit 0456fc1ac42d72fee68de6b200afa3f2d11ae54b
Author: tjhunt <tjhunt>
Date:   Wed, 01 Jul 2009 12:17:31 +0800
Tag:    v2.0.0-rc1

MDL-19674 - err - slighly more sensible version of the previous commit.

commit 14ab5ca92b525c62fb8a03dc46075fb6000b0cca
Author: tjhunt <tjhunt>
Date:   Wed, 01 Jul 2009 12:13:47 +0800
Tag:    v2.0.0-rc1

Grrrr!!! MDL-19674

commit b2104e9799fd5fc2ca42916213e153fe525c291a
Author: tjhunt <tjhunt>
Date:   Tue, 30 Jun 2009 20:29:14 +0800
Tag:    v2.0.0-rc1

Fix typo

commit 210dcb69ee0d910c1ba028ffd5681f7bd7d5822f
Author: tjhunt <tjhunt>
Date:   Tue, 30 Jun 2009 14:00:12 +0800
Tag:    v2.0.0-rc1

XHTML strict

commit 7544d13c2840ae72e98c4be6461977f47297a38d
Author: tjhunt <tjhunt>
Date:   Tue, 30 Jun 2009 13:34:50 +0800
Tag:    v2.0.0-rc1

MDL-19077 - re-fix the problem of exceptions being thrown in $OUTPUT->header Also, fix lines theme.

commit 42fafd4b57940c8cc04a7848bd21ff19a4748942
Author: tjhunt <tjhunt>
Date:   Tue, 30 Jun 2009 09:59:48 +0800
Tag:    v2.0.0-rc1

debug / lang string: MDL-19467 Debugging option to show where each lang string came from.

commit 48adf91aaf23bfded5401b668b17d2e8735a5730
Author: tjhunt <tjhunt>
Date:   Mon, 29 Jun 2009 17:19:53 +0800
Tag:    v2.0.0-rc1

MDL-19077 - fix a $CFG->pixpath problem.

commit f580b270f3a03944177e32f9d4a840e2dbd96425
Author: tjhunt <tjhunt>
Date:   Mon, 29 Jun 2009 17:16:48 +0800
Tag:    v2.0.0-rc1

Eliminate commented out code.

commit a5cb8d6987e90d976330580935339513b66b138e
Author: tjhunt <tjhunt>
Date:   Mon, 29 Jun 2009 16:17:31 +0800
Tag:    v2.0.0-rc1

MDL-19077 - Finish eliminating customcorners-specific code in core.

commit c84a2dbea26fb49b90ff28460be0ef03a5784ec5
Author: tjhunt <tjhunt>
Date:   Mon, 29 Jun 2009 13:00:45 +0800
Tag:    v2.0.0-rc1

MDL-19077 - change how $OUTPUT is initialised. Please read the comment at the top of bootstrap_renderer in setuplib.php

commit d6c5e269b5d4423a367f45d49acd7640734817eb
Author: tjhunt <tjhunt>
Date:   Mon, 29 Jun 2009 11:10:06 +0800
Tag:    v2.0.0-rc1

Fix deprecated function calls.

commit fd1a792e131006184459a590c4c43f57a9bb3e15
Author: tjhunt <tjhunt>
Date:   Mon, 29 Jun 2009 08:34:49 +0800
Tag:    v2.0.0-rc1

themes: MDL-19640 / MDL-19077 remove other references to _print_normal_error

commit 6e37fa50cb44277aa2179fc4f7dcbbc08c7a8b23
Author: tjhunt <tjhunt>
Date:   Fri, 26 Jun 2009 19:22:41 +0800
Tag:    v2.0.0-rc1

themes: MDL-19077 make a comment clearer.

commit f5bb6e2dfbab31451e9854128c30abc332d622ad
Author: tjhunt <tjhunt>
Date:   Fri, 26 Jun 2009 18:29:56 +0800
Tag:    v2.0.0-rc1

remove some print_simple_boxes.

commit 82bba20e55d770be66a3da662b43f0bca0919211
Author: tjhunt <tjhunt>
Date:   Fri, 26 Jun 2009 18:26:31 +0800
Tag:    v2.0.0-rc1

themes: MDL-19077 fix unit test regression

commit e29380f3c417001aaa52ec4db8871ddc93823206
Author: tjhunt <tjhunt>
Date:   Fri, 26 Jun 2009 17:38:14 +0800
Tag:    v2.0.0-rc1

themes: MDL-19077 fix install regression

commit 34a2777ccb973f2fc093249fcc3a8bb09c062b5d
Author: tjhunt <tjhunt>
Date:   Fri, 26 Jun 2009 17:06:16 +0800
Tag:    v2.0.0-rc1

themes: MDL-19077 new $OUTPUT->header/footer to replace print_header/footer. Also, part of the change from weblib.php functions to $OUTPUT-> methods.

commit 52eab6669be8dc0bc34d10e9603d8359dc3861f6
Author: tjhunt <tjhunt>
Date:   Fri, 26 Jun 2009 10:23:19 +0800
Tag:    v2.0.0-rc1

MDL-19631 replace deprecated function usage.

commit edc2edddcdf984700b95fe1c74ab4f13725f53f9
Author: tjhunt <tjhunt>
Date:   Thu, 25 Jun 2009 20:36:51 +0800
Tag:    v2.0.0-rc1

Fix deprecated function use.

commit 75b7cac00d28fc072ca0472f7c3637275f83a1e5
Author: tjhunt <tjhunt>
Date:   Thu, 25 Jun 2009 14:58:43 +0800
Tag:    v2.0.0-rc1

quiz: Fix copy/paste error.

commit fa98e6d15a22edea5511f8a7403ae26641ff34c4
Author: tjhunt <tjhunt>
Date:   Thu, 25 Jun 2009 14:56:41 +0800
Tag:    v2.0.0-rc1

Kill some debug code.

commit bfbbfdebb8e61a74b2e3ba37aad9d1a61c88c235
Author: tjhunt <tjhunt>
Date:   Thu, 25 Jun 2009 14:48:25 +0800
Tag:    v2.0.0-rc1

Typo fixes.

commit 88b02e3b227ca5e8507a22a5e96b96fb48a8f010
Author: tjhunt <tjhunt>
Date:   Thu, 25 Jun 2009 12:02:36 +0800
Tag:    v2.0.0-rc1

Remove experimental part of string_manger. Also, improve class comment.

commit c207b6becefc882bdf6bb3080f92f5d1a41a7500
Author: tjhunt <tjhunt>
Date:   Thu, 25 Jun 2009 11:26:58 +0800
Tag:    v2.0.0-rc1

Remove a few unnecessary references to global $THEME.

commit 31a9987770dc1033b521823a83db2d384c6cd683
Author: tjhunt <tjhunt>
Date:   Wed, 24 Jun 2009 17:17:56 +0800
Tag:    v2.0.0-rc1

install: MDL-19610 encapsulate empty($CFG->rolesactive) checks in a during_initial_install() function.

commit 8954245a1bdf5815404e532e39c82452f3d2a209
Author: tjhunt <tjhunt>
Date:   Tue, 23 Jun 2009 18:41:22 +0800
Tag:    v2.0.0-rc1

themes: MDL-19077 start implementing moodle_core_renderer Only a couple of methods implemented. Please review the API and tell me if you are not happy with the direction I am taking.

commit 4ab836113a0775a9dd544be5429d777551f28124
Author: tjhunt <tjhunt>
Date:   Tue, 23 Jun 2009 18:34:21 +0800
Tag:    v2.0.0-rc1

Unit tests: show total time taken to run the tests.

commit d83b1d063969ea68bc6647ae858d503326dd1579
Author: tjhunt <tjhunt>
Date:   Tue, 23 Jun 2009 18:33:58 +0800
Tag:    v2.0.0-rc1

unit tests: raise_memeory_limit. I was running out when running all tests.

commit 5af6ec1b2e16f85cb089b0282ce792edfde3bd6a
Author: tjhunt <tjhunt>
Date:   Tue, 23 Jun 2009 12:39:11 +0800
Tag:    v2.0.0-rc1

MDL-19600 remove remaining traces of docstyles.php. (Not used since Moodle 1.6.) Also remove the remaining bits of lang/en_utf8/docs.

commit 73af8b113990c35a99d38b86808bebeb9ab93843
Author: tjhunt <tjhunt>
Date:   Mon, 22 Jun 2009 15:26:50 +0800
Tag:    v2.0.0-rc1

Fix notice in blockmanager unit tests.

commit 8e8b806600146cd05db35ec8d035e82b67dafc9d
Author: tjhunt <tjhunt>
Date:   Mon, 22 Jun 2009 15:17:59 +0800
Tag:    v2.0.0-rc1

Fix some problems with the filelib unit tests, and stop hiding the true cause of another failure.

commit b44b6c4599790b4dcd1dca2276e02f95ebc8bdd8
Author: tjhunt <tjhunt>
Date:   Mon, 22 Jun 2009 15:16:26 +0800
Tag:    v2.0.0-rc1

Fix accesslib unit tests.

commit 0c49b68d59ec2925755da61f71c1a8893d1041cb
Author: tjhunt <tjhunt>
Date:   Mon, 22 Jun 2009 14:59:13 +0800
Tag:    v2.0.0-rc1

Try to avoid time-outs while running the unit tests

commit 9fa62210e87cd9f1a2f1187d33b6b2683fb8cf16
Author: tjhunt <tjhunt>
Date:   Mon, 22 Jun 2009 14:30:21 +0800
Tag:    v2.0.0-rc1

Fix pagelib unit tests.

commit 64208b5de5ac69e8ba1ef4d55941c4b455c8c9ed
Author: tjhunt <tjhunt>
Date:   Mon, 22 Jun 2009 14:03:53 +0800
Tag:    v2.0.0-rc1

MDL-16438 fix string manager unit tests.

commit 5085a59ad75da65380d417a03617e7066d377f26
Author: tjhunt <tjhunt>
Date:   Fri, 19 Jun 2009 16:02:11 +0800
Tag:    v2.0.0-rc1

javascript: MDL-16695 print_footer('empty'); I had the wrong type of quotes. Thanks to Dongsheng for noticing.

commit 571fa828248b82c1999bac27d1d763346bfcaef6
Author: tjhunt <tjhunt>
Date:   Thu, 18 Jun 2009 18:43:13 +0800
Tag:    v2.0.0-rc1

themes: MDL-19077 implement the renderer_factory instrastructure.

commit a978bddea3789d7097fe27f2078610752186d0e4
Author: tjhunt <tjhunt>
Date:   Wed, 17 Jun 2009 18:29:42 +0800
Tag:    v2.0.0-rc1

javascript: MDL-16695 print_footer('empty'); was not printing the necessary end of page code.

commit 32941d74c881cfbdd6daf88c122772d8eb2e4172
Author: tjhunt <tjhunt>
Date:   Wed, 17 Jun 2009 15:35:33 +0800
Tag:    v2.0.0-rc1

Move extra ajaxlib unit tests to the right place.

commit 1ee9d0d764d1932bdbf1abf85de14206976b3f80
Author: tjhunt <tjhunt>
Date:   Wed, 17 Jun 2009 15:32:18 +0800
Tag:    v2.0.0-rc1

Fix boilerplate.

commit 8a0cb3a16d4fd2f664904c2e358022f7cfb6ca81
Author: tjhunt <tjhunt>
Date:   Wed, 17 Jun 2009 13:34:10 +0800
Tag:    v2.0.0-rc1

Javadoc comment syntax.

commit 52902cea23e3fdf1c9aec3aec5218c143a823eb5
Author: tjhunt <tjhunt>
Date:   Tue, 16 Jun 2009 18:31:33 +0800
Tag:    v2.0.0-rc1

blocks upgrade: MDL-19511 And repeat the upgrade step, since some poeple will have missed it.

commit a26146d563eea1d0c54e94200389ad402910c73c
Author: tjhunt <tjhunt>
Date:   Tue, 16 Jun 2009 18:23:56 +0800
Tag:    v2.0.0-rc1

blocks upgrade: MDL-19511 put back important code that Petr commented out! The actual mistake was the name of the previous column, which is totally irrelevant, but which XMLDB had filled in incorrectly. Grrr!

commit 25ddb7efc990d33aa541b25359f82d038e129f74
Author: tjhunt <tjhunt>
Date:   Mon, 15 Jun 2009 15:57:53 +0800
Tag:    v2.0.0-rc1

javascript: MDL-19475 replace require_js calls with $PAGE->requires->js. This is the final batch.

commit bcfc87f5deff0873386a7eea15995e276a4b1543
Author: tjhunt <tjhunt>
Date:   Mon, 15 Jun 2009 15:00:08 +0800
Tag:    v2.0.0-rc1

javascript: MDL-19475 replace require_js calls with $PAGE->requires->js.

commit c28bf5c9f8c2ca58bea55d36514e85b95a2ff4b4
Author: tjhunt <tjhunt>
Date:   Mon, 15 Jun 2009 13:37:57 +0800
Tag:    v2.0.0-rc1

javascript: MDL-19475 replace require_js calls with $PAGE->requires->js.

commit 5c5418fe9dff0f9e3ef37463871aa9add624bcd7
Author: tjhunt <tjhunt>
Date:   Mon, 15 Jun 2009 12:03:59 +0800
Tag:    v2.0.0-rc1

Further fixes to PHPdoc comments.

commit 2c144fc3082bdc9cb3cdbc8ebc3fef236cb81b42
Author: tjhunt <tjhunt>
Date:   Mon, 15 Jun 2009 11:54:00 +0800
Tag:    v2.0.0-rc1

Further fixes to PHPdoc comments.

commit 9ca1395054481430c3dff61b0ce6f7778764c065
Author: tjhunt <tjhunt>
Date:   Mon, 15 Jun 2009 10:48:40 +0800
Tag:    v2.0.0-rc1

Try to improve formatting of PHPdoc.

commit 0287fe7e236c79345ed5fa035a165f33e45530d5
Author: tjhunt <tjhunt>
Date:   Mon, 15 Jun 2009 10:45:26 +0800
Tag:    v2.0.0-rc1

Fix package name.

commit cf6155226cba2e4e62e9e1cb44dad88afacc39b4
Author: tjhunt <tjhunt>
Date:   Fri, 12 Jun 2009 20:13:07 +0800
Tag:    v2.0.0-rc1

ajaxlib/require_js: MDL-16693 $PAGE->requires->... deprecates require_js etc.

commit 151165e3d16312d5a44acd14898251fc5614f891
Author: tjhunt <tjhunt>
Date:   Fri, 12 Jun 2009 20:08:25 +0800
Tag:    v2.0.0-rc1

Fix some fallout from the pagelib changes.

commit 3e38c3bf23205332b5a336164d5820ed82ac22ef
Author: tjhunt <tjhunt>
Date:   Fri, 12 Jun 2009 20:07:35 +0800
Tag:    v2.0.0-rc1

Yes the, new, more efficient, variant of the select all checkboxes function.

commit 45caa363f0fb94f3954656166fcb2b78116aeeb7
Author: tjhunt <tjhunt>
Date:   Fri, 12 Jun 2009 20:01:16 +0800
Tag:    v2.0.0-rc1

Fix whitespace, and a minor problem, in javascript-static. Also, new, more efficient, variant of the select all checkboxes function, for when they are all in a container with an id.

commit 0eab1dc0670764895821996c0c40f5fd2076644e
Author: tjhunt <tjhunt>
Date:   Fri, 12 Jun 2009 19:57:15 +0800
Tag:    v2.0.0-rc1

Fix whitespace.

commit c679c3582afc94430ece0a3299e1c89e072e4319
Author: tjhunt <tjhunt>
Date:   Fri, 12 Jun 2009 19:56:30 +0800
Tag:    v2.0.0-rc1

Fix some fallout from the pagelib changes.

commit 30f6bd51a3acaa9ebc13b26734c0db7472c2ab9f
Author: tjhunt <tjhunt>
Date:   Fri, 12 Jun 2009 19:53:35 +0800
Tag:    v2.0.0-rc1

Fix print_footer call, and some fallout from the pagelib changes.

commit 18e8f3ab9e6a60034707dee4053e54a5726bb3ac
Author: tjhunt <tjhunt>
Date:   Fri, 12 Jun 2009 18:13:01 +0800
Tag:    v2.0.0-rc1

Fix syntax error.

commit 9a78a083f3e3bc64acccfde65b8c91a088831365
Author: tjhunt <tjhunt>
Date:   Fri, 12 Jun 2009 18:05:16 +0800
Tag:    v2.0.0-rc1

Kill use of deprecated parameter.

commit a836d6d37523651f20372991577f1659e6dcb49d
Author: tjhunt <tjhunt>
Date:   Fri, 12 Jun 2009 17:09:28 +0800
Tag:    v2.0.0-rc1

Fix whitespace.

commit 946a23bd03b3f5e236836eeb8a9caa27d4d8e174
Author: tjhunt <tjhunt>
Date:   Fri, 12 Jun 2009 15:30:07 +0800
Tag:    v2.0.0-rc1

XHTML strict.

commit b2330db6062a8b8a3def537db9d152eca78a8c36
Author: tjhunt <tjhunt>
Date:   Fri, 12 Jun 2009 11:13:29 +0800
Tag:    v2.0.0-rc1

ajaxlib: MDL-16695 New page_requirements_manager class. Soon to replace require_js.

commit d9661df14e83245f07406a780ff75e77ef92886d
Author: tjhunt <tjhunt>
Date:   Wed, 10 Jun 2009 11:54:22 +0800
Tag:    v2.0.0-rc1

XHTML strict!

commit 51b9ccc08495cb1a4bc105276524214c4f860c98
Author: tjhunt <tjhunt>
Date:   Fri, 05 Jun 2009 17:25:34 +0800
Tag:    v2.0.0-rc1

quiz editing: MDL-19199 merged from HEAD. 2.0 can store decimals here, but we should still be cleaning input.

commit aa9c6ecf02b25e967766ad09a23b668ebff83a7e
Author: tjhunt <tjhunt>
Date:   Fri, 05 Jun 2009 16:30:53 +0800
Tag:    v2.0.0-rc1

question bank: MDL-18822 Highlight the last question you edited in the list

commit f4d76b9cdf43633b66d37e434ee1a2dfd8d43f41
Author: tjhunt <tjhunt>
Date:   Fri, 05 Jun 2009 16:28:45 +0800
Tag:    v2.0.0-rc1

blocklib: MDL-19010 fix some minor problems with existing blocks.

commit eacb462e380a8973b1e254577e9931ff54ca8f4d
Author: tjhunt <tjhunt>
Date:   Fri, 05 Jun 2009 14:54:42 +0800
Tag:    v2.0.0-rc1

quiz reports: MDL-19205 Improved tooltips on individual question grades.

commit 684796fdae2265f66f5fdf42fb9855b6097fe004
Author: tjhunt <tjhunt>
Date:   Thu, 04 Jun 2009 15:39:52 +0800
Tag:    v2.0.0-rc1

xmldb editior: XHTML strict

commit adf541d99a02ac928840635890b0eb6452e5e0d5
Author: tjhunt <tjhunt>
Date:   Thu, 04 Jun 2009 13:19:36 +0800
Tag:    v2.0.0-rc1

grader preport: XHTML strict

commit 6f5f3cef024b0f33798cb89e877a0a59bfbe3b8c
Author: tjhunt <tjhunt>
Date:   Tue, 02 Jun 2009 16:33:35 +0800
Tag:    v2.0.0-rc1

tags formslib element: MDL-19264 array_combine barfs on empty arrays.

commit 70137bfe20b13b5bcc1ee14e1fcc1f14e29f9bf0
Author: tjhunt <tjhunt>
Date:   Tue, 02 Jun 2009 12:13:05 +0800
Tag:    v2.0.0-rc1

local lang string: MDL-13001 fix docs to reflect how it really works.

commit dc14c0767ee0fd5554ab36d28dde769a7d9c1883
Author: tjhunt <tjhunt>
Date:   Sat, 09 May 2009 22:21:11 +0800
Tag:    v2.0.0-rc1

filterlib: Fix typo

commit 4e1132a8c5fc00bba6977b559f144b096aeab419
Author: tjhunt <tjhunt>
Date:   Fri, 08 May 2009 17:00:41 +0800
Tag:    v2.0.0-rc1

forum: MDL-19119 missing requires now course/lib.php is not included everywhere. Put in most of the obvious missing require_once($CFG->libdir . '/completionlib.php');

commit 6cbcbf0fb3a5bc41d8cf08b0e03c8adc7f32a582
Author: tjhunt <tjhunt>
Date:   Fri, 08 May 2009 16:22:59 +0800
Tag:    v2.0.0-rc1

blocklib: MDL-19010 eliminate remaining calls to blocks_repopulate_page

commit 9cd70d9d732a16842b7f757c3332f806d79907f2
Author: tjhunt <tjhunt>
Date:   Fri, 08 May 2009 16:07:45 +0800
Tag:    v2.0.0-rc1

forum: MDL-19119 missing require now course/lib.php is not included everywhere.

commit e03c0c1d49dad7f1d7ccaecee33dfde324f3027f
Author: tjhunt <tjhunt>
Date:   Fri, 08 May 2009 15:47:50 +0800
Tag:    v2.0.0-rc1

blocklib: MDL-19010 fix editing block config and block roles.

commit cce1b0b9ca02bc275f8b553e9866834c5e51e17b
Author: tjhunt <tjhunt>
Date:   Fri, 08 May 2009 15:47:02 +0800
Tag:    v2.0.0-rc1

exceptions: MDL-16175 new invalid_state_exception

commit f4d38d20fbe16dcd1cfbfb2c462e604388838a23
Author: tjhunt <tjhunt>
Date:   Fri, 08 May 2009 14:34:40 +0800
Tag:    v2.0.0-rc1

blocklib: MDL-19010 and now you can delete blocks too!

commit 7130fb212cc34bbeeee8b15de4b5fe884aaa7597
Author: tjhunt <tjhunt>
Date:   Fri, 08 May 2009 11:30:58 +0800
Tag:    v2.0.0-rc1

blocklib: MDL-19010 once again you can add blocks, at least on the coures page.

commit 1d00ec6a6a785989385e872f527e34e9851de978
Author: tjhunt <tjhunt>
Date:   Fri, 08 May 2009 11:11:24 +0800
Tag:    v2.0.0-rc1

blocklib: MDL-19010 finally fix the regressions that mean that you could not create a new course.

commit ac9e2207348b1c8ae591bcc49e7a94e6d07c42f1
Author: tjhunt <tjhunt>
Date:   Fri, 08 May 2009 10:43:06 +0800
Tag:    v2.0.0-rc1

admin settings/blocklib: MDL-19108 Error when saving any admin settings Regression from MDL-19010

commit feed19003ce4d28c2634550afba269c32164c428
Author: tjhunt <tjhunt>
Date:   Thu, 07 May 2009 17:16:22 +0800
Tag:    v2.0.0-rc1

blocks: MDL-19010 Fix, or prevent being executed, all references to blocks_insance_old inside blocklib.php

commit f474a4e5832b7a3884aab1855c9ebe4dd46faea4
Author: tjhunt <tjhunt>
Date:   Thu, 07 May 2009 16:55:10 +0800
Tag:    v2.0.0-rc1

blocks: MDL-19010 Fix further blocks-related breakage, including removing all references to blocks_insance_old outside blocklib.php

commit 9d1d606e0d665639cd27c8e979ed6275cae8c24a
Author: tjhunt <tjhunt>
Date:   Thu, 07 May 2009 15:05:22 +0800
Tag:    v2.0.0-rc1

blocklib: MDL-19010 fix new install. * Fix the blocks bit of build_context_path * Replace blocks_repopulate_page * Make starting_output work during setup

commit 0ae8f5fcb28474e21864102b3ced21a2b4010901
Author: tjhunt <tjhunt>
Date:   Thu, 07 May 2009 13:38:35 +0800
Tag:    v2.0.0-rc1

exceptions: MDL-16175 more careful decision whether to use _print_normal/early_error.

commit 35550fd6270c19978ee6b64aa201a7156dde34b6
Author: tjhunt <tjhunt>
Date:   Thu, 07 May 2009 11:02:06 +0800
Tag:    v2.0.0-rc1

blocklib: MDL-19010 re-fix another Nico 'fix' wink

commit e3bd4690e03a2771d236b2fd193926d02f3e0761
Author: tjhunt <tjhunt>
Date:   Thu, 07 May 2009 10:57:39 +0800
Tag:    v2.0.0-rc1

blocklib: MDL-19010 move the check for whether the right database tables exist - and we no longer need this global.

commit d19e8195970bbdf1e35b28b56bfe25a54819ee1b
Author: tjhunt <tjhunt>
Date:   Thu, 07 May 2009 10:56:48 +0800
Tag:    v2.0.0-rc1

blocklib: MDL-19010 move the check for whether the right database tables exist to a place where it is better encapsulated.

commit 3aceb097a20aaf956e89a632d769abae217d95d7
Author: tjhunt <tjhunt>
Date:   Thu, 07 May 2009 10:38:12 +0800
Tag:    v2.0.0-rc1

blocklib: MDL-19010 fix upgrade breakage that Nico caused when he fixed the other problems.

commit c045e45a443a4421ba6fc624865e8f4463e966e9
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:31:23 +0800
Tag:    v2.0.0-rc1

blocklib.php: MDL-19010 rearrange lib/db/upgrade.php before commit to CVS

commit 40d6de1af6f1b3a60e46ec0d62355a43204be27e
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:31:08 +0800
Tag:    v2.0.0-rc1

pagelib: MDL-12212 eliminate data_lesson

commit b7b2d0f37dbdf54e7e4d2ed7bdeb011dc0641d22
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:29:05 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 improve comments and add some work-in-progress warnings

commit cb6402296cf6f89c21c7b2970966e2faf5c01126
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:28:26 +0800
Tag:    v2.0.0-rc1

blocklib: MDL-19010 remove no-longer-necessary global variable use from blocks

commit b80856bd6ee5859a89dc7c6429048060f74272f6
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:28:06 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 add a couple more useful classes to body

commit a1326170565b9e584e5882d619da157085e1351d
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:27:16 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 add a couple more useful classes to body

commit f2c6739c39b6763b68881843abbc465950761aff
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:27:02 +0800
Tag:    v2.0.0-rc1

blocklib: MDL-19010 rename $position -> $region throughout blocklib.php

commit 3681f9a953d86020600691b323235e7daa8d41eb
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:26:46 +0800
Tag:    v2.0.0-rc1

pagelib: MDL-12212 eliminate data_page

commit c85acc871f965042a3637ac22c1110eb354c6e5b
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:25:54 +0800
Tag:    v2.0.0-rc1

pagelib: MDL-12212 eliminate chat_page

commit 6bf44482c651faa946fb2cf5a34475456258c708
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:24:45 +0800
Tag:    v2.0.0-rc1

pagelib: MDL-12212 eliminate quiz_page

commit 1b6b940022added8307083c26fdea41da3003b76
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:23:37 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 eliminate page_my_moodle

commit 5d3e9d9fe33a91287ab5aa7031fa3f4ff47caee9
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:19:46 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 remove deprecated calls from course/view.php and page_course::print_header

commit 3179b0006a8dcf3e4d955fb5f66006f685e31f13
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:15:33 +0800
Tag:    v2.0.0-rc1

blocklib: MDL-19010 Fix blocks that were relying on ->instance in an unfortunate way

commit bb46a4fa2ad28b4108d01c699e74fab05c2a46e9
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:15:05 +0800
Tag:    v2.0.0-rc1

blocklib: MDL-19010 refactor blocklib to use block_manager to get the blocks for rendering

commit 08eab897031e757a2f6d6b65a83f610c373959df
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:14:42 +0800
Tag:    v2.0.0-rc1

blocklib: MDL-19010 add block and get_blocks methods

commit 86b5ea0f85340fb2a38f049596b9f48283950bc0
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:14:01 +0800
Tag:    v2.0.0-rc1

blocklib: MDL-19010 start of block_manager - get and set regions

commit c33db6e690664e1b9226e58b335bf65107823ce1
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:13:40 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 clarify some comments

commit 93d4a373f90dc8fdbe9adaf4b3aebe12d54400c3
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:13:16 +0800
Tag:    v2.0.0-rc1

blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere

commit 66b10689e215e9888956dd4172a107c5395f3d94
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:12:03 +0800
Tag:    v2.0.0-rc1

blocklib: MDL-19010 upgrade database tables ready for now blocks system

commit f8b80dbd957c0f891361ba015576fd65cc254887
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:11:07 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 completely remove the old tag and admin page classes

commit 5ed70539f990493f32812d0935ff2faacad0d47e
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:03:49 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 ->subpage field

commit 5ec434a9c24900588b019d3a3df48f89ba9f787f
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:03:33 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 ->cm and ->activityrecord fields

commit 397fff387019412cc3cb04d297cd242391a87b89
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:03:16 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 eliminate page_tag::print_footer

commit 0d5890c45d77754a032b6a5002436dfa851b2326
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:03:03 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 deprecate more of the legacy page machinery, and avoid overwriting $PAGE ever

commit cfcfb9f3d09c13ad6af0d61fa6a4f01d61e08c94
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:02:48 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 kill legacy page_allows_editing implementations

commit 934524d70bdcb25a1a12186d2d5107feabce59a8
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:01:42 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 new implementation of user_allowed_editing

commit 60dfb02a02501aca6d11c4aa99923dcaa18d98fa
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:00:58 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 Unbreak home page when editing is on

commit b80e3a9c4786d5ab71913eae4481ccb6e0eca06b
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 17:00:15 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 remove get_extra_header_string method from blog page

commit 830dd6e9cd130fe091e746b38a5359abca48b838
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:59:29 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 reimplement user_is_editing, deprecate isediting

commit d7f688d46a9bbe23154f90d780ffc420c305dd2e
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:56:44 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 eliminate page::edit_always

commit ad52c04f4c7e3294d1d8bcabbac74f6ad940df20
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:55:53 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods Start calling $PAGE->set_url in all the places it will be necessary Start of a stub implementation of $PAGE->blocks to stop other things breaking Remove some of the special case methods in admin_page

commit 4873f5f709c32306c4f7cb587ca5d05803e18f7b
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:53:14 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 Eliminate legacy blocks_ methods

commit 49127522149f02c6189aacb8c914edc207e9c864
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:51:23 +0800
Tag:    v2.0.0-rc1

fix remove_params

commit 75781f879c813a4c87cc6c9173c7588c792c81e8
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:50:32 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 ->url and cleanup init of $FULLME, etc.

commit 7ceb61d8ed6d6f046b4dcc41f922a30bd30584cb
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:49:12 +0800
Tag:    v2.0.0-rc1

moodle_url: MDL-12212 clean up moodle_url coding style

commit 82611d8d337ed1f67ae2c6ec0e6d4184549f619d
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:48:13 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 ->docspath

commit d7ab887938e5996bbe6960c1ea54382904abcd11
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:46:48 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-14306 (part of MDL-12212) class name on body with ->category

commit 948203a5e8972af9346f81828d885428a10cd1b0
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:46:05 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 ->category and ->categories

commit 89fbdca3008233739964a74e81541138e35a6f47
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:44:58 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-14305 (and MDL-12212) class on body based on ->wwwroot

commit ad5d5997edf8f56d0f20a49abb7423e7e4e52acc
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:43:51 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 more ->pagepaths to kill

commit 753debd2abebf9e4529bd25f932339ff40f39899
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:42:13 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 ->bodyclasses and initialise_standard_body_classes

commit e88462a055b4e74a3680b75f45eb4a7f238df470
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:41:02 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 eliminate the two different interpretations of pagetype

commit d529807a6588142ac9bc0d8d5c3c9677a3124b39
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:38:55 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 kill $CFG->pagepath (use $PAGE->set_pagetype) deprecate $PAGE->get_format_name (use $PAGE->pagetype) deprecate page_id_and_class (use $PAGE->pagetype)

commit cd2bc3c98a18009ac0ecd146ae5646362993d212
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:36:50 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 rewrite blocks_name_allowed_in_format to improve readability

commit f73102864a78ed5bcbdd9eb14e4ef8b7a3b14bac
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:36:18 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 eliminate two old methods that were never used

commit 31940ba6228cd9ca28c2ef36736aaa894868dd4f
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:35:39 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 remove code in legacy page types that stores a course record

commit f230ce19ea4396fc968a99ba85491992311a3f4d
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:34:32 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 implement ->pagetype

commit e3e40b4333672c287127ed69c8f0f1c87b52e51a
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:31:30 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 use $PAGE->context now that it exists

commit 2afe21eea392dc46f45675f8223cf5420a45c195
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:30:25 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 implement ->context

commit c13a5e71cc9d92681d1f52b821eab585d09c274d
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:29:22 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 start of new moodle_page class * has course and status fields * $PAGE->status updated by print_header and footer * $PAGE->set_course now replace course_setup function * global $PAGE created in setup.php * unit tests for functionality so far * Moodle still seems to work after this commit!

commit de60de044ccd45fc3c1b437df4183c9c8cbc2304
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:27:12 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 deprecate page_import_types and clean up file

commit c4740390b55aa14c6c9bd26bccfa976beeb9a2cb
Author: tjhunt <tjhunt>
Date:   Wed, 06 May 2009 16:26:19 +0800
Tag:    v2.0.0-rc1

moodle_page: MDL-12212 remove useless code as a preparitory step

commit fb073f60ec8ac656e28a290728b108cfc5a1205f
Author: tjhunt <tjhunt>
Date:   Fri, 01 May 2009 18:32:12 +0800
Tag:    v2.0.0-rc1

adminlib: MDL-19038 lazy-load the list of users in admin_setting_users_with_capability

commit f0ad741e1f75c2c731745cbe3dca932756ff66e8
Author: tjhunt <tjhunt>
Date:   Thu, 30 Apr 2009 12:16:35 +0800
Tag:    v2.0.0-rc1

completion: avoid API call for performance reasons

commit e8c8cee99a9de0e920881a4196a6c1a06188a23a
Author: tjhunt <tjhunt>
Date:   Thu, 30 Apr 2009 11:50:00 +0800
Tag:    v2.0.0-rc1

blocklib: MDL-19010 add standard boilerplate at the top of the file.

commit a8320eeae9bd94be0941abae809d2a9986ff9f50
Author: tjhunt <tjhunt>
Date:   Wed, 29 Apr 2009 11:12:31 +0800
Tag:    v2.0.0-rc1

filters: MDL-19000 don't do ORDER BY in subqueries (thanks Eloy) Problem introduced by MDL-7336.

commit dc740f97882966bbae4d546f2a3a4baa24c4bcdb
Author: tjhunt <tjhunt>
Date:   Tue, 28 Apr 2009 17:55:46 +0800
Tag:    v2.0.0-rc1

MDL-18132 - fix upgrade SQL for MS SQL.

commit 54cb131f9651b3b7e4600819f00aebc1fc086554
Author: tjhunt <tjhunt>
Date:   Mon, 27 Apr 2009 12:05:28 +0800
Tag:    v2.0.0-rc1

XMLDB: MDL-18980 add missing error message lang strings

commit 2f2ade16091e543afb2cd9ac8faa5b927cddee52
Author: tjhunt <tjhunt>
Date:   Fri, 24 Apr 2009 18:00:09 +0800
Tag:    v2.0.0-rc1

quiz unit tests: remove dubious and failing test.

commit 6db66ba11c56e38082a69d4218308bb457222d25
Author: tjhunt <tjhunt>
Date:   Fri, 24 Apr 2009 17:49:43 +0800
Tag:    v2.0.0-rc1

Disable the bloody eventslib unit tests until someone fixes them!

commit 9c3ea652950b70e5cafe4f676feeae4ae7266101
Author: tjhunt <tjhunt>
Date:   Thu, 23 Apr 2009 14:25:51 +0800
Tag:    v2.0.0-rc1

XHTML strict

commit c39a46073594678095148022ea0bf4d68f7fdd4c
Author: tjhunt <tjhunt>
Date:   Mon, 20 Apr 2009 14:47:01 +0800
Tag:    v2.0.0-rc1

simpletestlib: Fix typo in error message

commit 7a9d505bb928d8249b89ce06bea22c63a57191aa
Author: tjhunt <tjhunt>
Date:   Mon, 20 Apr 2009 13:59:11 +0800
Tag:    v2.0.0-rc1

category paths: MDL-18897 call fix_course_sortorder eveywhere we insert a category to set category.path and .depth

commit 3bba572f0eb5234ba7f3a1e480e243d3065d0fb7
Author: tjhunt <tjhunt>
Date:   Mon, 20 Apr 2009 10:07:46 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 was missing the table prefix from one column. Probably does not matter, but I'm adding it in case.

commit d040f78d6d7f2b40720b2f0c633f98aa48974099
Author: tjhunt <tjhunt>
Date:   Fri, 17 Apr 2009 10:50:21 +0800
Tag:    v2.0.0-rc1

Fix trailing whitespace

commit 9434fef40183225d41e06d12a287eebb55b7e100
Author: tjhunt <tjhunt>
Date:   Fri, 17 Apr 2009 10:49:07 +0800
Tag:    v2.0.0-rc1

filters: MDL-18879 filter data not deleted when a context is deleted

commit 109bce79716eb37566f304e49109b3af99c3dcb7
Author: tjhunt <tjhunt>
Date:   Thu, 16 Apr 2009 18:44:40 +0800
Tag:    v2.0.0-rc1

filtering capability lists: MDL-16605 - followup - make it case-insensitive

commit 14d20de162c9778945c2288384a716917c6d0cf7
Author: tjhunt <tjhunt>
Date:   Thu, 16 Apr 2009 17:13:30 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 fix upgrade problem when filterall is on. Thanks Nico for finding.

commit e1d1b7968f89e95b5c764436cab2af540f8c0aa3
Author: tjhunt <tjhunt>
Date:   Thu, 16 Apr 2009 16:59:46 +0800
Tag:    v2.0.0-rc1

Improve documentation of our global variables

commit d91a4be06d5f990453e39a9b6211e9fc8f8b3374
Author: tjhunt <tjhunt>
Date:   Thu, 16 Apr 2009 16:59:23 +0800
Tag:    v2.0.0-rc1

Coding stype cleanup

commit 2f5f73d01498b8f081e097f3b0d057f9683d2b99
Author: tjhunt <tjhunt>
Date:   Thu, 16 Apr 2009 11:12:27 +0800
Tag:    v2.0.0-rc1

quiz editing: MDL-18871 logic was backwards for deciding whether to show the 'This quiz is not graded, so you cannot set overall feedback that differs by grade' warning introduced in MDL-18583.

commit 56eeebdf815038baa66bee446f20a01b355b11b6
Author: tjhunt <tjhunt>
Date:   Wed, 15 Apr 2009 11:24:25 +0800
Tag:    v2.0.0-rc1

pagelib: Fixing start-of-file comments in CVS to avoid merge problems when I switch to git.

commit 6246de9526defb12fecb1a3c505f038467564bd6
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 16:24:20 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 settings page for setting the local enabled/disabled state

commit dcdf3b2918e0c9c368c746a0a89faaa2b25c9d1f
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 15:15:50 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 separate out manage filters and common filter settings

commit 86b455cfc765586ed527c40b2cc9adab6e11d7d8
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 15:15:19 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 finish implementing delete on the admin page

commit 78ceb4d666fe046a8ad3bea05a727b46837327bd
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 15:14:54 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 fix MySQL issues

commit 604eb7be034eafe3d14153638864eae6b5f79b7a
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 15:14:27 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 code to let people edit local filter config

commit 0f74bb01ffee1465b96e71a8ce02b8c7a68c67b0
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 15:12:41 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 settings page for setting the local enabled/disabled state

commit a042675877d31944198cb544fb77cb5b3c19006b
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 15:07:03 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 function to get the information the local settings page will need.

commit 3058afd4296c7ef4638a9c1b28d7673774159120
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 15:06:44 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 performance testing script

commit 16eaf7ed3519b3263f1a5066da465cbe56ab078f
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 15:06:22 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 tweak to improve SQL performance

commit 34f07866bab2e9910e47d92d98e28872574febea
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 15:06:02 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 backup and restore of local filter settings.

commit c9a2ecfa1b938a660807aef278477a6d817ff3dc
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 15:05:33 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 more preliminary refactoring of duplicated code in restore

commit 7b8dcbc35224cb7d45d2727c5f637c27e89f2ad7
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 15:05:02 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 refactor in backup/restore ready for local filter settings.

commit 6b037e0420de28d2c1d24197fd861c5552c91f76
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 15:04:32 +0800
Tag:    v2.0.0-rc1

filters: MDL 7336 Remove remaining references to ->filters

commit 5b8fa09b00bb01898ed2dc4cdbc1c1c80a7b03b1
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 15:04:07 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 Finish admin settings page.

commit 456c8cc738dc8d244355701cb35ad23d856e9cad
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 15:03:32 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 redo global settings page to use the new libs

commit ccc161f8f0f94e0bf82cc00b1573c195cbb2974a
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 14:56:32 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 change weblib to use the new code

commit bbb459050e831ccd45fbad704449b59a895143e7
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 14:55:21 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 Set ->stringfilters on upgrade

commit d57f347420c832f74b4aab3cc173d2b19e6e78da
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 14:54:57 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 ->formatstring is not mentioned anywhere else in the code, so remove.

commit 1f8c468dbdc11b1b3374246eaa5c3ae76705c241
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 14:54:34 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 rename get_active_filters -> filter_get_active_in_context and improve auto-sorting.

commit 94211250808bbd489a823c8ac6d6168c9197d824
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 14:54:11 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 create new moodle/filter:manage capability

commit 1bd09db94763f99eb45c5c40509b8c5fef3c4f31
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 14:53:53 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 implement get_active_filters

commit 56881fdc936b5c2532a84955366f9fda5ef64543
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 14:53:33 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 functions for g/setting local filter_active overrides

commit 84e240a091009ca87a58194325c19af7652b6d4e
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 14:53:14 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 rework unit tests to use CheckSpecifiedFieldsExpectation.

commit e1a9622fadddfa875482a2d5696bb99b9890afc0
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 14:52:56 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 functions for getting and setting filter_config

commit c07e6d8da5cdc46782467d8180b23925012c70c8
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 14:51:45 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 upgrade $CFG->textfilters into filter_active table.

commit 0fc9c00901f61ea7a75f00559112a7a13625a438
Author: tjhunt <tjhunt>
Date:   Mon, 13 Apr 2009 14:42:02 +0800
Tag:    v2.0.0-rc1

filters: MDL-7336 database tables for per-context filter settings.

commit adff97c5050021ca9d620133d47a383ecd017db0
Author: tjhunt <tjhunt>
Date:   Fri, 10 Apr 2009 17:33:26 +0800
Tag:    v2.0.0-rc1

lib/dml: new compatibility method sql_cast_2signed for when MySQL thinks that 1 * -1 = 18446744073709551615

commit 3efb762e6b108c1f9686cfa811653367d6ef3410
Author: tjhunt <tjhunt>
Date:   Fri, 10 Apr 2009 17:32:53 +0800
Tag:    v2.0.0-rc1

simpletestlib: improve failure message from CheckSpecifiedFieldsExpectation

commit 7e3a668c072f062e3402ab40108d5c31f13a9e7b
Author: tjhunt <tjhunt>
Date:   Fri, 10 Apr 2009 12:59:09 +0800
Tag:    v2.0.0-rc1

get_string unit tests: Switch to inline fixture setup

commit 522a8ac88c2c197f40c0c9f23cc2377c2ddecb12
Author: tjhunt <tjhunt>
Date:   Thu, 09 Apr 2009 20:01:42 +0800
Tag:    v2.0.0-rc1

XHTML strict fix in the word censorship filter

commit 1d59689fc90e3801835751562e63be65da8cd317
Author: tjhunt <tjhunt>
Date:   Wed, 08 Apr 2009 19:46:39 +0800
Tag:    v2.0.0-rc1

ddllib.php: add required library

commit c9ec505b9ea93be017a4e7df9acb17e9f9eee5e7
Author: tjhunt <tjhunt>
Date:   Wed, 08 Apr 2009 19:46:19 +0800
Tag:    v2.0.0-rc1

weblib progress_bar: Add a comment and fix some coding style.

commit 5c2fec8b74921b501958f102dd57bdd746563a26
Author: tjhunt <tjhunt>
Date:   Wed, 08 Apr 2009 19:45:53 +0800
Tag:    v2.0.0-rc1

get_string: MDL-18813 get_string was broken for strings that were ''

commit 3fb002215f3624e78231bcd2f321a295e3ad62cf
Author: tjhunt <tjhunt>
Date:   Tue, 07 Apr 2009 15:40:40 +0800
Tag:    v2.0.0-rc1

weblib: fix bug with disabled pop_form()s

commit 0e329b2a43f2f9bdd306b03e864376efb8ccf653
Author: tjhunt <tjhunt>
Date:   Tue, 07 Apr 2009 13:20:16 +0800
Tag:    v2.0.0-rc1

fix variable name typo

commit 465d96958f04d6d29df242487197f0c30112f4a8
Author: tjhunt <tjhunt>
Date:   Tue, 07 Apr 2009 13:19:20 +0800
Tag:    v2.0.0-rc1

UnitTestCaseUsingDatabase: fix bug with install_one_table_from_xmldb_file

commit df244bbc3fe2ce64988c18fcd1c335006941b87e
Author: tjhunt <tjhunt>
Date:   Tue, 07 Apr 2009 13:17:04 +0800
Tag:    v2.0.0-rc1

qtype admin: operator precedence bug when deleting qtypes

commit a8be3f428732db45e7566d306f03489072c9c160
Author: tjhunt <tjhunt>
Date:   Tue, 07 Apr 2009 13:16:38 +0800
Tag:    v2.0.0-rc1

qtype admin: sort lang file properly

commit a4db2e7ca39648f5dd2e6fdbbf72883cf3daae69
Author: tjhunt <tjhunt>
Date:   Mon, 06 Apr 2009 10:56:37 +0800
Tag:    v2.0.0-rc1

fomslib: MDL-18735 disabledif not working in IE if depended on element was a <select>.

commit f13b675702244089d621ea27c63b953e06680a4b
Author: tjhunt <tjhunt>
Date:   Mon, 06 Apr 2009 10:03:10 +0800
Tag:    v2.0.0-rc1

shortanswer qtype: Add the problem case from http://moodle.org/mod/forum/discuss.php?d=120557 to the unit tests.

commit 7fa95ef1776a6de0cd74bc3a0d7d210bf1edad4e
Author: tjhunt <tjhunt>
Date:   Fri, 03 Apr 2009 16:38:30 +0800
Tag:    v2.0.0-rc1

simpletestlib: Fix typo in error message

commit c464eda684e50b34871cc8bcd04661b1eb1e40ce
Author: tjhunt <tjhunt>
Date:   Fri, 03 Apr 2009 15:41:40 +0800
Tag:    v2.0.0-rc1

get_string: MDL-18669 - fixing a screw-up spotted by Dongsheng. Thanks.

commit d09ef2a0efb00da68042e4782529ac606fc6ae08
Author: tjhunt <tjhunt>
Date:   Fri, 03 Apr 2009 13:47:59 +0800
Tag:    v2.0.0-rc1

Fix XHTML strict problems in XMLDB.

commit d8413bf3d2ee5e02b6f91ec46e5d6a27f2c954c7
Author: tjhunt <tjhunt>
Date:   Thu, 02 Apr 2009 17:37:29 +0800
Tag:    v2.0.0-rc1

lang editing: MDL-18776 fix regression from MDL-18669.

commit 677f62b67ab36e7c4d718152265aa9b3762c3521
Author: tjhunt <tjhunt>
Date:   Thu, 02 Apr 2009 15:50:33 +0800
Tag:    v2.0.0-rc1

Update a comment as a test of committing via git.

commit 0c34c7eb5081eab9bb1ade8bb0d95b68c7a2cbc9
Author: tjhunt <tjhunt>
Date:   Thu, 02 Apr 2009 10:42:11 +0800
Tag:    v2.0.0-rc1

translation: MDL-18766 reverting. I guess it was not yet ready for prime-time.

commit edc0c493322388f4a5754146e04b44082351b7ee
Author: tjhunt <tjhunt>
Date:   Wed, 01 Apr 2009 12:34:58 +0800
Tag:    v2.0.0-rc1

file api: MDL-18754 improve the names of some functions.

commit b4cf937102ba3117255c1920c4d364274b39d481
Author: tjhunt <tjhunt>
Date:   Wed, 01 Apr 2009 08:39:17 +0800
Tag:    v2.0.0-rc1

translation: MDL-18766 Prototype automatic translation system for Moodle.

commit 214f5850d12a94e0408e1c85138da439826c36d6
Author: tjhunt <tjhunt>
Date:   Tue, 31 Mar 2009 11:24:21 +0800
Tag:    v2.0.0-rc1

MDL-15484 Avoid JavaScript errors after a popup has been blocked.

commit 832e13f144662c104e2324caceb98cc68620374c
Author: tjhunt <tjhunt>
Date:   Mon, 30 Mar 2009 18:01:39 +0800
Tag:    v2.0.0-rc1

editor formslib element: symbolic constant EDITOR_UNLIMITED_FILES instead of hard-coded -1.

commit 50da63ebd90247819619b80de9d9e40f93e9982b
Author: tjhunt <tjhunt>
Date:   Mon, 30 Mar 2009 17:15:46 +0800
Tag:    v2.0.0-rc1

qtypes: MDL-18711 Allow qtype plugins to have custom CSS and JavaScript on the editing page.

commit b810a4d3c9099b4a22eee2fe4872ec78255850f4
Author: tjhunt <tjhunt>
Date:   Mon, 30 Mar 2009 16:33:13 +0800
Tag:    v2.0.0-rc1

filters: MDL-17684 Look for the filter name in filter_myfilter.php first.

commit 240be1d71c1de79a79ca16da1582ac70727a7d9b
Author: tjhunt <tjhunt>
Date:   Mon, 30 Mar 2009 15:05:29 +0800
Tag:    v2.0.0-rc1

DB unit tests: improve the class so it is easier to use.

commit e7b818807cd99f3e57a9137cbe5bab6766fa4f35
Author: tjhunt <tjhunt>
Date:   Mon, 30 Mar 2009 14:13:35 +0800
Tag:    v2.0.0-rc1

get_string: MDL-13816 allow third-partly modules to register sub-plugin types that have their own lang files.

commit e79079deaef9ece876dcc89519cbee1bb4540867
Author: tjhunt <tjhunt>
Date:   Mon, 30 Mar 2009 14:11:32 +0800
Tag:    v2.0.0-rc1

help.php: related to MDL-13816. Clean up the URLs used for help files by removing unused parameters.

commit bb45fe62c497f20232d722f70da0faac9fc15aba
Author: tjhunt <tjhunt>
Date:   Mon, 30 Mar 2009 10:21:27 +0800
Tag:    v2.0.0-rc1

get_string: Refactoring, performance improvements, bug fixes and unit tests

commit edbc93a7e4c1b3d893c50ed5599eb469f813ddde
Author: tjhunt <tjhunt>
Date:   Mon, 30 Mar 2009 09:57:47 +0800
Tag:    v2.0.0-rc1

Remove failing unit tests. (We are going to remove enum support from the database layer anyway.)

commit 3240fd960991daf807d69f3ee7978d8a935d926d
Author: tjhunt <tjhunt>
Date:   Thu, 26 Mar 2009 17:42:23 +0900
Tag:    v2.0.0-rc1

questions: unit tests for default_questiontype::compare_responses.

commit 574c37507f75e3c1b8f57aaea9181d2e3bd422bb
Author: tjhunt <tjhunt>
Date:   Thu, 26 Mar 2009 10:54:40 +0900
Tag:    v2.0.0-rc1

random essay questions: MDL-8648 fix merge problem.

commit dab9be1ad199be46d66339d1f3bedc67d40dfa81
Author: tjhunt <tjhunt>
Date:   Thu, 26 Mar 2009 10:50:22 +0900
Tag:    v2.0.0-rc1

quiz manual grading: MDL-17586 'Grade all 4 ungraded attempts' acutally does the opposite'

commit c468795ce9169119722d167d892632f47e8925aa
Author: tjhunt <tjhunt>
Date:   Wed, 25 Mar 2009 13:20:57 +0900
Tag:    v2.0.0-rc1

switch roles: MDL-18132 New Role allow switches page finished.

commit 91eb445ca07ec01ce3bfb2a659bcbc39f0f27fcb
Author: tjhunt <tjhunt>
Date:   Wed, 25 Mar 2009 11:17:14 +0900
Tag:    v2.0.0-rc1

switch roles: MDL-18132 Convert allow override page to use the shared code.

commit 9654643e8822a4aceda77f62da212777ff11c21b
Author: tjhunt <tjhunt>
Date:   Wed, 25 Mar 2009 10:50:55 +0900
Tag:    v2.0.0-rc1

switch roles: MDL-18132 Refactor role allow assign page

commit 72b9b786829bddc3152c28283b5d3d4a571d6782
Author: tjhunt <tjhunt>
Date:   Tue, 24 Mar 2009 13:15:49 +0900
Tag:    v2.0.0-rc1

quiz: MDL-18637 fix 1.9-style DB code merged to HEAD by mistake.

commit 82701e2443d67464314b3ea234be4fad7c6bb6c6
Author: tjhunt <tjhunt>
Date:   Mon, 23 Mar 2009 17:15:21 +0900
Tag:    v2.0.0-rc1

switch roles: MDL-18132 separate database table role_allow_switch instead of re-using role_allow_assign.

commit ffdd703a99baccb9e2192767b3c821a1566940cb
Author: tjhunt <tjhunt>
Date:   Mon, 23 Mar 2009 14:19:53 +0900
Tag:    v2.0.0-rc1

MDL-18637 fix Moodle 1.9-style {$CFG->prefix}tablename in HEAD, and a few missing $DB->s.

commit b695b4e16c00cb54e7b0393bdfa766be9b6a3d30
Author: tjhunt <tjhunt>
Date:   Mon, 23 Mar 2009 13:18:44 +0900
Tag:    v2.0.0-rc1

Make accesslib unit tests work once again using the new UnitTestCaseUsingDatabase

commit f68cb08bbe362baa8f8c7ec08a4402669f848c96
Author: tjhunt <tjhunt>
Date:   Mon, 23 Mar 2009 13:12:37 +0900
Tag:    v2.0.0-rc1

unit tests: MDL-18607 new way to do unit tests involving the database.

commit 67d5e9df3918b10806074c27600d259b02f71a3c
Author: tjhunt <tjhunt>
Date:   Mon, 23 Mar 2009 13:04:37 +0900
Tag:    v2.0.0-rc1

ddl: New method install_one_table_from_xmldb_file ready for MDL-18607 unit test changes.

commit 02193ad706d4a180bf5de93c23015c746ef14119
Author: tjhunt <tjhunt>
Date:   Mon, 23 Mar 2009 13:02:28 +0900
Tag:    v2.0.0-rc1

accesslib: MDL-18620 - followup - remove the one case of external code using one of the accesslib private globals.

commit c159da4ce59d81d6fa9da7a6f648872f8e5b1f43
Author: tjhunt <tjhunt>
Date:   Mon, 23 Mar 2009 12:57:45 +0900
Tag:    v2.0.0-rc1

Fix typo.

commit d867e696aabacf155d6f1efaaa97eaef4341ae2e
Author: tjhunt <tjhunt>
Date:   Mon, 23 Mar 2009 12:54:50 +0900
Tag:    v2.0.0-rc1

accesslib: MDL-18620 do not used static to cache things, it makes unit testing impossible.

commit 4e42a90c538551a279d5126ad856a6c7dfdd5e44
Author: tjhunt <tjhunt>
Date:   Mon, 23 Mar 2009 12:41:34 +0900
Tag:    v2.0.0-rc1

weblib: Fix test_format_text_email and unit tests.

commit 44d1cba4af9a1953caece0f734829c887d45fd24
Author: tjhunt <tjhunt>
Date:   Mon, 23 Mar 2009 10:59:30 +0900
Tag:    v2.0.0-rc1

quiz: MDL-18635 log every single hit to mod/quiz/attempts.php

commit ea26b22262e1c07540fd3151dade7e7603e2cadd
Author: tjhunt <tjhunt>
Date:   Fri, 20 Mar 2009 16:41:49 +0900
Tag:    v2.0.0-rc1

accesslib. Improve comment.

commit 1d693c8fd0144ad12d94dfa0ae747279c147e8ad
Author: tjhunt <tjhunt>
Date:   Thu, 19 Mar 2009 12:14:11 +0900
Tag:    v2.0.0-rc1

course settings: MDL-18595: Fix regression caused by switching the course settings form to use the new date selector.

commit 2d10b789807c3cd89468ddb99f4f7aa1961f6007
Author: tjhunt <tjhunt>
Date:   Wed, 18 Mar 2009 17:30:13 +0900
Tag:    v2.0.0-rc1

XHTML strict! If you must write inline JavaScript, please at least remember the CDATA tags.

commit e0b7cfcb312dcc56fd847a5fed21393e09aa4d6f
Author: tjhunt <tjhunt>
Date:   Wed, 18 Mar 2009 16:33:56 +0900
Tag:    v2.0.0-rc1

quiz settings: MDL-18583 When a quiz has no grade, make it clear that you can only enter one lot of overall feedback.

commit 414f7bee6b3b03ee9dbcb7fc45ede02c3ce8c628
Author: tjhunt <tjhunt>
Date:   Wed, 18 Mar 2009 16:08:18 +0900
Tag:    v2.0.0-rc1

formslib: MDL-15827 disabledif option to repeat_elements did not work if you depend on another repeated element.

commit 80f7bafdab9b9793e4d5bd02b24a2bf0bf2b13ec
Author: tjhunt <tjhunt>
Date:   Wed, 18 Mar 2009 14:33:56 +0900
Tag:    v2.0.0-rc1

question bank: MDL-18531 Sorry, capability name typo.

commit 5ecfab51488d4c648f3d32912ad3575f8d241b23
Author: tjhunt <tjhunt>
Date:   Wed, 18 Mar 2009 14:16:49 +0900
Tag:    v2.0.0-rc1

quiz outline report: MDL-18285 Show regrade date, not last attempt date.

commit 353b2d700db5a502369288c45f890179cf23d195
Author: tjhunt <tjhunt>
Date:   Wed, 18 Mar 2009 14:02:27 +0900
Tag:    v2.0.0-rc1

question bank: MDL-18531 if someone can use questions in the quiz context, but not the course context, choose a more sensible default category in the question bank. Merged from MOODLE_19_STABLE.

commit 3e10e4292d297b5e06c162614c7da9531a639e92
Author: tjhunt <tjhunt>
Date:   Tue, 17 Mar 2009 18:51:34 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-17454 first attemtp, and MDL-18554

commit babcc520a7b5c6a4c17c8af86f1d5901778b0ddc
Author: tjhunt <tjhunt>
Date:   Tue, 17 Mar 2009 17:34:56 +0900
Tag:    v2.0.0-rc1

Minor coding style cleanup.

commit de57941d2a864850e8d97ca0103722d526796f7b
Author: tjhunt <tjhunt>
Date:   Tue, 17 Mar 2009 17:21:37 +0900
Tag:    v2.0.0-rc1

quiz editing: unindent entire file.

commit b4a33c4ba6270212c9d25a59ad41c62ec153378e
Author: tjhunt <tjhunt>
Date:   Tue, 17 Mar 2009 16:15:51 +0900
Tag:    v2.0.0-rc1

formslib dates: MDL-16592 Forgot to commit these stylesheet changes.

commit c34760f93c72a5fcac796834badec538cff10ef7
Author: tjhunt <tjhunt>
Date:   Tue, 17 Mar 2009 16:14:14 +0900
Tag:    v2.0.0-rc1

Whitespace fix.

commit 8c87920373274d7eb3171b0cb83a2d15889ffa5a
Author: tjhunt <tjhunt>
Date:   Tue, 17 Mar 2009 16:10:45 +0900
Tag:    v2.0.0-rc1

quiz settings: MDL-17333 drat, missed one lang string.

commit eeab18f0b32753747f0071c0cd155da3535f5438
Author: tjhunt <tjhunt>
Date:   Tue, 17 Mar 2009 16:08:33 +0900
Tag:    v2.0.0-rc1

quiz settings: MDL-17333 Resolve the interrelations between shufflequestions and questionsperpage.

commit cf0e8bdba891a84e21c6786a165adbc2c41caa6e
Author: tjhunt <tjhunt>
Date:   Tue, 17 Mar 2009 13:28:47 +0900
Tag:    v2.0.0-rc1

database mod: XHTML strict!

commit 66aa084c6d5be8c66be9f82d29d71db645eeee0b
Author: tjhunt <tjhunt>
Date:   Tue, 17 Mar 2009 13:22:48 +0900
Tag:    v2.0.0-rc1

database mod: XHTML strict!

commit 8f732f2ec7be5cfaf838b7bb1ec9a2ed85b7bf0f
Author: tjhunt <tjhunt>
Date:   Mon, 16 Mar 2009 16:47:01 +0900
Tag:    v2.0.0-rc1

formslib dates: MDL-16592 Take out copy-and-paste snafu

commit b3a49376636d93aa2975b900c2ca0c87737362e3
Author: tjhunt <tjhunt>
Date:   Mon, 16 Mar 2009 16:38:27 +0900
Tag:    v2.0.0-rc1

formslib dates: MDL-16592 by popular demand, a close icon on the popup.

commit feed81934b78402ea71b199b214ea34575db8c9b
Author: tjhunt <tjhunt>
Date:   Mon, 16 Mar 2009 15:09:43 +0900
Tag:    v2.0.0-rc1

course settings: use the optional option on date selectors, rather than a manua disabled checkbox. Also use new duration element.

commit b51709c14cbbc603110ba44d94c79b5a447c7a27
Author: tjhunt <tjhunt>
Date:   Mon, 16 Mar 2009 15:09:05 +0900
Tag:    v2.0.0-rc1

formslib disabledif: MDL-18522 make it work if either end of a disabledif relationship is a set of radio buttons.

commit 562b75b21fa29ddb71e51e06f77df6e352338827
Author: tjhunt <tjhunt>
Date:   Mon, 16 Mar 2009 14:57:25 +0900
Tag:    v2.0.0-rc1

formslib durations: MDL-18500 Let the form control the default unit.

commit bd55319b37359a783af428f242a0da9f111d76c4
Author: tjhunt <tjhunt>
Date:   Mon, 16 Mar 2009 12:42:14 +0900
Tag:    v2.0.0-rc1

formslib dates: MDL-16592 fix a couple of remaining niggles.

commit 9bad31f5624bb44918873ee6ede5b0f4d559ab30
Author: tjhunt <tjhunt>
Date:   Mon, 16 Mar 2009 11:27:08 +0900
Tag:    v2.0.0-rc1

formslib dates: MDL-16592 Fix problem when trying to select a time when the calendar is not visible.

commit f6b6861d9dd4fa2150843416fab896be4f3c061a
Author: tjhunt <tjhunt>
Date:   Mon, 16 Mar 2009 11:11:15 +0900
Tag:    v2.0.0-rc1

javascript: MDL-18568 We don't need a function called uncheckall, as well as one called checknone!

commit 5995f17f72a7a437b65494af2c36e634b5967661
Author: tjhunt <tjhunt>
Date:   Mon, 16 Mar 2009 10:52:47 +0900
Tag:    v2.0.0-rc1

qtypes: MDL-18559 questions showing penalty information when they shouldn't.

commit 8e7cebb0d85a2d5e5b583e73da5a23e8d568062f
Author: tjhunt <tjhunt>
Date:   Fri, 13 Mar 2009 18:56:53 +0900
Tag:    v2.0.0-rc1

formslib dates: MDL-16592 show a pop-up calendar for picking dates.

commit 5f5b443ea8a2a635d37f199d34dafbae554eb4f7
Author: tjhunt <tjhunt>
Date:   Fri, 13 Mar 2009 18:19:01 +0900
Tag:    v2.0.0-rc1

gift import: MDL-18390 better way to get the question type name.

commit c32f2e5c64ca08b6093bb4c077cc2879e357c80c
Author: tjhunt <tjhunt>
Date:   Thu, 12 Mar 2009 15:00:55 +0900
Tag:    v2.0.0-rc1

gift import: MDL-18390 better way to get the question type name.

commit 692e0c33956fcf9d35a026bee2a4ea21c6b98097
Author: tjhunt <tjhunt>
Date:   Wed, 11 Mar 2009 16:10:57 +0900
Tag:    v2.0.0-rc1

MDL-18521 Countdown timer should be visible on the summary page

commit 1d9673b648879c903625faafad5cd16efe139618
Author: tjhunt <tjhunt>
Date:   Wed, 11 Mar 2009 16:00:36 +0900
Tag:    v2.0.0-rc1

quiz timer js: Fix typo (that was not causing problems)

commit 26da840f6ba90ce02117fa7928cf73ae7be91d00
Author: tjhunt <tjhunt>
Date:   Wed, 11 Mar 2009 15:36:25 +0900
Tag:    v2.0.0-rc1

quiz and qtypes: Regressions from MDL-7308 since '0.0000000' is not empty() in PHP.

commit f3a076ded425b9c62cb05e30453b518e8d770462
Author: tjhunt <tjhunt>
Date:   Wed, 11 Mar 2009 15:07:33 +0900
Tag:    v2.0.0-rc1

MDL-18500 New formslib element type duration for periods of time.

commit a292125f20e727a31baaaef4a9185eb116fae18a
Author: tjhunt <tjhunt>
Date:   Wed, 11 Mar 2009 14:37:22 +0900
Tag:    v2.0.0-rc1

sort lang file.

commit 84e628a027e2a7c3d0481d6f1893cd17e631d690
Author: tjhunt <tjhunt>
Date:   Tue, 10 Mar 2009 17:39:51 +0900
Tag:    v2.0.0-rc1

quiz settings: MDL-18485 Improve quiz settings form

commit 48f7eb9868c87c2a9363f75b658364ca63a6e259
Author: tjhunt <tjhunt>
Date:   Tue, 10 Mar 2009 17:01:57 +0900
Tag:    v2.0.0-rc1

ajaxlib: fix unit tests.

commit 9e0a6b950c7dc5229ae67b0bfaccd31d65362b1e
Author: tjhunt <tjhunt>
Date:   Tue, 10 Mar 2009 16:54:57 +0900
Tag:    v2.0.0-rc1

repostiory: remove blank unit tests file that otherwise registers as a fail.

commit cc3209769e37b225ebe5099c45e273db5154ad91
Author: tjhunt <tjhunt>
Date:   Tue, 10 Mar 2009 16:54:15 +0900
Tag:    v2.0.0-rc1

Unit tests: Override xmlstrictheaders for unit tests, it causes unnecessary grief here.

commit 2e710be8560c6f5722fd721f68b49add95996088
Author: tjhunt <tjhunt>
Date:   Tue, 10 Mar 2009 16:53:42 +0900
Tag:    v2.0.0-rc1

Unit tests: in recurseFolders, skip files/folders whose names begnis with '.'/

commit 3744f3770cc62e0ba8624cc45cd8085d536f5308
Author: tjhunt <tjhunt>
Date:   Tue, 10 Mar 2009 16:48:29 +0900
Tag:    v2.0.0-rc1

ajaxlib: fix unit tests.

commit 32fa2272550168571d22994bf9c532e0894e934c
Author: tjhunt <tjhunt>
Date:   Tue, 10 Mar 2009 15:46:34 +0900
Tag:    v2.0.0-rc1

duration formslib element: MDL-18500 crude initial version so I can commit some dependant quiz changes

commit 25fe66b094d19876a1ce18d3f3ac0f946ab2abd8
Author: tjhunt <tjhunt>
Date:   Tue, 10 Mar 2009 15:44:05 +0900
Tag:    v2.0.0-rc1

date form fields: MDL-18502 Change the optional 'disabled' checkbox to an 'enabled' on

commit de9c561ba948da037a58aa47748eb57d2bd7ffed
Author: tjhunt <tjhunt>
Date:   Tue, 10 Mar 2009 15:43:07 +0900
Tag:    v2.0.0-rc1

admin setting: MDL-18485 Improve the display of defaults for admin_setting_text_with_advanced

commit eba40bfe7a4e8bf3f4747ca73d685fd02865ca53
Author: tjhunt <tjhunt>
Date:   Tue, 10 Mar 2009 14:00:16 +0900
Tag:    v2.0.0-rc1

tablelib: Fix typo.

commit 15b60b640f865b7b361eb397b1b67584a40509e5
Author: tjhunt <tjhunt>
Date:   Mon, 09 Mar 2009 12:11:29 +0900
Tag:    v2.0.0-rc1

lesson upgrade: My guess at how to fix the regressions from MDL-17101.

commit 5e4d8cb404305128f7667a1e77d284b9685c3d6a
Author: tjhunt <tjhunt>
Date:   Fri, 06 Mar 2009 15:46:13 +0900
Tag:    v2.0.0-rc1

question bank: MDL-18355 Add question button did not work when the question bank was hidden.

commit f5831eeac0181f12c52525f76f265136bc74779e
Author: tjhunt <tjhunt>
Date:   Fri, 06 Mar 2009 13:06:48 +0900
Tag:    v2.0.0-rc1

quiz editing: coding style cleanup.

commit 26574bbad77d07e7d37827fd4018351f49c61501
Author: tjhunt <tjhunt>
Date:   Thu, 05 Mar 2009 20:24:41 +0900
Tag:    v2.0.0-rc1

quiz/questions: Improve documentation of database tables.

commit 790524a32e9fc0e2d7e422578891576e876da00c
Author: tjhunt <tjhunt>
Date:   Thu, 05 Mar 2009 20:24:15 +0900
Tag:    v2.0.0-rc1

quiz overview report: Fix type of the grade columns to be NUMBER(12,7). Also, improve comments.

commit 2457254946b9e79fd7f0dceb492d7782e9b4c3a4
Author: tjhunt <tjhunt>
Date:   Thu, 05 Mar 2009 17:50:01 +0900
Tag:    v2.0.0-rc1

quiz reports: Fix up unit tests.

commit c65921d4226a7be67566d6d1de302cce6a769745
Author: tjhunt <tjhunt>
Date:   Thu, 05 Mar 2009 13:19:33 +0900
Tag:    v2.0.0-rc1

Question categories. Move code to a more appropriate place.

commit 6a2084067d172980f8ca940d9b499cb72709887c
Author: tjhunt <tjhunt>
Date:   Thu, 05 Mar 2009 12:35:13 +0900
Tag:    v2.0.0-rc1

Fix comment.

commit 89f6a3544c5b568d61b4307774bc58d5bf822736
Author: tjhunt <tjhunt>
Date:   Thu, 05 Mar 2009 12:09:33 +0900
Tag:    v2.0.0-rc1

XMLDB generated docs: XHTML strictify output, and strip trailing whitespace.

commit 53004e480f9aefdf1bac9873d24a21d0f02dfe76
Author: tjhunt <tjhunt>
Date:   Wed, 04 Mar 2009 17:35:05 +0900
Tag:    v2.0.0-rc1

quiz lib: MDL-17579 should call delete_attempt from questionlib.php rather than trying to do the job itself.

commit bb0e7937ecab6746fb68ea14fbc1504051fcb3eb
Author: tjhunt <tjhunt>
Date:   Wed, 04 Mar 2009 11:46:48 +0900
Tag:    v2.0.0-rc1

roles admin: Fix notice when creating a role with no legacy type.

commit af52eceef40c7bf667d96da7a11b05ea20d52839
Author: tjhunt <tjhunt>
Date:   Tue, 03 Mar 2009 16:47:32 +0900
Tag:    v2.0.0-rc1

qtype admin: MDL-18425 also related to MDL-18355.

commit a5bc73aa74b377e844d70d62cd7ade9b0393d698
Author: tjhunt <tjhunt>
Date:   Tue, 03 Mar 2009 16:44:30 +0900
Tag:    v2.0.0-rc1

Fix unit tests.

commit 7f92f0ad3981a4d14db38b3fd1be3245f98f098a
Author: tjhunt <tjhunt>
Date:   Tue, 03 Mar 2009 14:13:53 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-18355 further refinements to the UI.

commit 47de80c701668556aae67e359f6a56ea8e83f622
Author: tjhunt <tjhunt>
Date:   Tue, 03 Mar 2009 14:11:55 +0900
Tag:    v2.0.0-rc1

Aiken question import: MDL-18423 Greater robustness when parsing.

commit 4299df1daf93e1ee71fa13a2601e5c61584e7b73
Author: tjhunt <tjhunt>
Date:   Fri, 27 Feb 2009 17:45:05 +0900
Tag:    v2.0.0-rc1

quiz editing: Refactor the editing actions to make functions in editlib.php for most of them.

commit 1fd211a7707c42de38b9c9f49a36f0eae236d391
Author: tjhunt <tjhunt>
Date:   Fri, 27 Feb 2009 17:43:28 +0900
Tag:    v2.0.0-rc1

quiz: Fix unit tests.

commit 324d65763c92ca2af060a8443e6993cfdc89d2c0
Author: tjhunt <tjhunt>
Date:   Thu, 26 Feb 2009 17:30:45 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-17284 Major coding style cleanup.

commit 8bc590f5dfff945ce3c69535f114bfbe79aa8c06
Author: tjhunt <tjhunt>
Date:   Thu, 26 Feb 2009 16:07:40 +0900
Tag:    v2.0.0-rc1

qtypes help: MDL-5106 Create questiontype help file dynamically

commit 944efb3e8b5d0ee7516773398d4883c950ba91b0
Author: tjhunt <tjhunt>
Date:   Thu, 26 Feb 2009 15:51:35 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-18376 Since there is no grading for description, we can show more question text. Thanks Olli.

commit b974f94757fea0ee9059533f5145f05382a44a56
Author: tjhunt <tjhunt>
Date:   Thu, 26 Feb 2009 15:33:18 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-18355 Try to improve the discoverability of Description again.

commit 8ed358dbca9f2b934bdcb23238e88db73447f12e
Author: tjhunt <tjhunt>
Date:   Thu, 26 Feb 2009 15:06:18 +0900
Tag:    v2.0.0-rc1

qtype admin: MDL-16412 Enforce the allowed question types when a user tries to create a question.

commit 7cf3af550c8a3a02c4edbd641bf0843918f639a2
Author: tjhunt <tjhunt>
Date:   Thu, 26 Feb 2009 14:53:31 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-18355 further refinements to the UI. Thanks Olli.

commit a781921fd0b871c0b7857bd63992943d37ec043e
Author: tjhunt <tjhunt>
Date:   Wed, 25 Feb 2009 18:31:49 +0900
Tag:    v2.0.0-rc1

question bank: MDL-16412 Allow admins to enable/disable of each question type

commit c7ecf78e5f4645d54b41ee9e8e83ccfc8c25b8e3
Author: tjhunt <tjhunt>
Date:   Wed, 25 Feb 2009 17:07:19 +0900
Tag:    v2.0.0-rc1

tablelib: MDL-18372 Let people specify a CSS class name to add to the <tr> element.

commit 8e84d9788cf78c03a82db89896297d937967bdf1
Author: tjhunt <tjhunt>
Date:   Wed, 25 Feb 2009 16:27:02 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-18173 tidy up wording and add cursor: help.

commit 63265f262f25873bb9a51c2e05ea8da3b880d874
Author: tjhunt <tjhunt>
Date:   Wed, 25 Feb 2009 16:16:57 +0900
Tag:    v2.0.0-rc1

question types: MDL-18350 oops missed a bit.

commit cd120b2344d0c9d8f8bfa20466e3abb9fe0e4c8a
Author: tjhunt <tjhunt>
Date:   Wed, 25 Feb 2009 16:14:03 +0900
Tag:    v2.0.0-rc1

quiz editing / question bank: MDL-18355 Convert the add question drop-down to be a button that pops up a YUI dialogue.

commit 4995b9c19c69648b7cc0dfec239e78a8517abb4e
Author: tjhunt <tjhunt>
Date:   Wed, 25 Feb 2009 16:01:57 +0900
Tag:    v2.0.0-rc1

question types: API cleanup.

commit 5d6f63bf7189b8b50c77dee128724fe6c6c48e6a
Author: tjhunt <tjhunt>
Date:   Wed, 25 Feb 2009 15:53:10 +0900
Tag:    v2.0.0-rc1

quiz editing: tidy up quotes.

commit f3409e53a0edbe31adf76f96e270ab1ae3c4b740
Author: tjhunt <tjhunt>
Date:   Wed, 25 Feb 2009 15:12:55 +0900
Tag:    v2.0.0-rc1

questionlib: fix typo.

commit 3cac440b7654b00a0def41515e90f3141f5852d6
Author: tjhunt <tjhunt>
Date:   Tue, 24 Feb 2009 14:16:23 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-18173 Make clear in the UI whether a random question selects from subcategories or not.

commit 60cd5b5a346283d607a93b7334df94794c4ce497
Author: tjhunt <tjhunt>
Date:   Tue, 24 Feb 2009 14:09:29 +0900
Tag:    v2.0.0-rc1

weblib: Improve PHPdoc comment and parameter names.

commit b5f22751110822e67d5daff427c9b5c8dd344bd7
Author: tjhunt <tjhunt>
Date:   Mon, 23 Feb 2009 11:59:34 +0900
Tag:    v2.0.0-rc1

upgrade: Make the environment page a bit less rediculously long. I still can't make it fit on one screen.

commit 4d41f4eee88e3e3305b72bb1a18e14d2ef94fcf6
Author: tjhunt <tjhunt>
Date:   Thu, 19 Feb 2009 10:09:44 +0900
Tag:    v2.0.0-rc1

Add missing Id tags to all files under question, to help the unmerged files script.

commit 2aef1fe52f3b734735b874fe7f88eda306072cf4
Author: tjhunt <tjhunt>
Date:   Wed, 18 Feb 2009 15:52:11 +0900
Tag:    v2.0.0-rc1

question editing: MDL-18035 Nice refactoring from Oleg Sychev that saves 50+ lines of code between the various editing forms.

commit 1bd66f39146dfd4544fed1c210b61e7e909a4761
Author: tjhunt <tjhunt>
Date:   Tue, 17 Feb 2009 16:21:56 +0900
Tag:    v2.0.0-rc1

quiz attempts: MDL-18283 add accept-charset="utf-8" to avoid encoding problems.

commit 5348b899c4701bcbe1fc5fd969666a5441f5bc3e
Author: tjhunt <tjhunt>
Date:   Tue, 17 Feb 2009 15:14:54 +0900
Tag:    v2.0.0-rc1

random question: MDL-18174 Fix notice when adding a random question to a quiz.

commit c1d9eeb920dc2b950902e8c966b3997330db1a95
Author: tjhunt <tjhunt>
Date:   Tue, 17 Feb 2009 14:24:41 +0900
Tag:    v2.0.0-rc1

tex filter: MDL-18230 ensure we always generate valid XHTML.

commit e4e5ba8c6f505b501bd2ce5ff3f90f5cd353ee43
Author: tjhunt <tjhunt>
Date:   Mon, 16 Feb 2009 13:16:10 +0900
Tag:    v2.0.0-rc1

weblib: finish documenting print_user_picture.

commit 2b6ec12cd46b17b54ed6b5992fd2343a1fcffa91
Author: tjhunt <tjhunt>
Date:   Fri, 13 Feb 2009 16:12:41 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-18016 fix regression, adding questions on the order and paging tab was broken.

commit 7b161e129039a19b9f2dea9f6547dc585e8fdc46
Author: tjhunt <tjhunt>
Date:   Fri, 13 Feb 2009 16:11:55 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-17284 improve wording for delete -> remove all selected questions.

commit d11de005c63bd1bdcdbd43d669a0ae442ec57d2a
Author: tjhunt <tjhunt>
Date:   Fri, 13 Feb 2009 15:27:08 +0900
Tag:    v2.0.0-rc1

question bank: MDL-16345 Assorted small efficiency gains.

commit 24e8b9b684f1069083086f89bcbae45504da5796
Author: tjhunt <tjhunt>
Date:   Fri, 13 Feb 2009 15:11:42 +0900
Tag:    v2.0.0-rc1

question bank: MDL-12719, MDL-15774, MDL-17105, and MDL-18174

commit 2d1e69d37bc954b2156cef5a73adbd02fe07609a
Author: tjhunt <tjhunt>
Date:   Fri, 13 Feb 2009 14:06:01 +0900
Tag:    v2.0.0-rc1

question bank: MDL-18215 select all checkbox does not always work.

commit 8915fb70b0ba77188f0e9a1e7f7c5b6e1a946cbd
Author: tjhunt <tjhunt>
Date:   Fri, 13 Feb 2009 11:49:25 +0900
Tag:    v2.0.0-rc1

admin dbtransfer: MDL-18225 also, let the caller control how transactions are used.

commit e69b06efd6c477f3397b0ce973157a5afa9dc1fc
Author: tjhunt <tjhunt>
Date:   Thu, 12 Feb 2009 17:34:35 +0900
Tag:    v2.0.0-rc1

admin dbtransfer: MDL-18225 dbtransfer script should do some output to reassure you that something is happening.

commit e82e01d1e02be4b9a93adcf094d5444776294c45
Author: tjhunt <tjhunt>
Date:   Thu, 12 Feb 2009 17:33:42 +0900
Tag:    v2.0.0-rc1

weblib: MDL-18224 Create a better mechanism for outputting progress information from batch jobs

commit 5bbdaed2a1a86adc35a415ad5ca14ba00fda9613
Author: tjhunt <tjhunt>
Date:   Thu, 12 Feb 2009 14:04:19 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-17455 fix non-unique first column in get records. Thanks Olli for spotting this.

commit 4cc11ff992fa8d9efc045132bfeb560444ec6086
Author: tjhunt <tjhunt>
Date:   Wed, 11 Feb 2009 19:35:41 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-17455 fix missing global. Oops.

commit 2a874d65ce8a22a8fbfcc88951beef0324d1116d
Author: tjhunt <tjhunt>
Date:   Wed, 11 Feb 2009 19:08:07 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-17455 refactor the editing code to use the locallib functions to print the icons.

commit 9137e95f82f769387098fad988e34ea84e1dc716
Author: tjhunt <tjhunt>
Date:   Wed, 11 Feb 2009 19:06:11 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-17296 final attempt to get the display of the open/closed state here to Olli's satisfaction wink - Oops, I missed the lang string.

commit 68b1b19b1642b8f839404961cc722cd3b6972023
Author: tjhunt <tjhunt>
Date:   Wed, 11 Feb 2009 18:48:30 +0900
Tag:    v2.0.0-rc1

quiz editing: Whitespace improvements.

commit ad041fad59b49085cd03b40b5da112433ca11d8c
Author: tjhunt <tjhunt>
Date:   Wed, 11 Feb 2009 17:12:19 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-17296 final attempt to get the display of the open/closed state here to Olli's satisfaction wink

commit 0a0cf09a6f20c665ec69ec4a7bdece9441ff8e78
Author: tjhunt <tjhunt>
Date:   Wed, 11 Feb 2009 17:08:58 +0900
Tag:    v2.0.0-rc1

moodlelib.php: Improve the phpdoc comment for userdate.

commit ad65ff47d876c78b6aa8e038330b8b8edc108c0c
Author: tjhunt <tjhunt>
Date:   Wed, 11 Feb 2009 16:52:26 +0900
Tag:    v2.0.0-rc1

quiz: MDL-17873 small efficiency gains.

commit fbcf399e69d1d28bd3a821c32f549fd11b20e69a
Author: tjhunt <tjhunt>
Date:   Wed, 11 Feb 2009 16:48:44 +0900
Tag:    v2.0.0-rc1

Typo fix in comment.

commit b81fd01dfe225f137846fc35bb3ed1af8e4c7aaa
Author: tjhunt <tjhunt>
Date:   Wed, 11 Feb 2009 16:46:53 +0900
Tag:    v2.0.0-rc1

file api: MDL-18111 Improve doc comments a bit.

commit 64ead3edee2de611a33a26b2b24672325c1fe629
Author: tjhunt <tjhunt>
Date:   Wed, 11 Feb 2009 16:24:29 +0900
Tag:    v2.0.0-rc1

Nuke irrelevant comment.

commit 625b51d4e087073741962c8488f7f0c3f55f811f
Author: tjhunt <tjhunt>
Date:   Wed, 11 Feb 2009 15:43:23 +0900
Tag:    v2.0.0-rc1

upgrade refactoring: MDL-17458 remove references to block_is_compatible, since Petr deleted that function.

commit 9cef0c27e4c1d81f5aea60947c5377ac66e33cb2
Author: tjhunt <tjhunt>
Date:   Tue, 10 Feb 2009 12:27:38 +0900
Tag:    v2.0.0-rc1

weblib: XHTML strict.

commit 265f2808a02d4228a8bb1d5bb5335e5726bc8c6a
Author: tjhunt <tjhunt>
Date:   Wed, 04 Feb 2009 18:24:56 +0900
Tag:    v2.0.0-rc1

themes / pix: MDL-10441 better up, down, left and right icons without a white fringe.

commit 8c2750934a609c591600b3c12198e1408c16a5f4
Author: tjhunt <tjhunt>
Date:   Wed, 04 Feb 2009 18:15:12 +0900
Tag:    v2.0.0-rc1

themes / participants: MDL-17526 add class name to search form on the participants page.

commit 0b5e41fa5a16a92dc97e90469509a80eb7843a36
Author: tjhunt <tjhunt>
Date:   Wed, 04 Feb 2009 17:42:41 +0900
Tag:    v2.0.0-rc1

themes / pix: MDL-18052 dmg.gif icon should not contain excessive colour profile information.

commit 7797b0df31f23c627f34e5e0f43b61d5adba64b9
Author: tjhunt <tjhunt>
Date:   Wed, 04 Feb 2009 17:21:18 +0900
Tag:    v2.0.0-rc1

weblib: MDL-17525 Give previous and next links in paging bars class names, so they can be themed.

commit 838f69de81095d5bea3cf46a27ecd474e14266a3
Author: tjhunt <tjhunt>
Date:   Wed, 04 Feb 2009 16:35:06 +0900
Tag:    v2.0.0-rc1

weblib: MDL-14901 Fix misleading comment on print_navigation

commit c5fce2fa76feb63132220592aac82a08ce2486b5
Author: tjhunt <tjhunt>
Date:   Wed, 04 Feb 2009 11:15:33 +0900
Tag:    v2.0.0-rc1

admin reports: MDL-18134 Third-party admin reports not listed with the correct name.

commit 19e12e4bd813a90c723f8dd9702cb0c6fea4ba2b
Author: tjhunt <tjhunt>
Date:   Tue, 03 Feb 2009 18:32:58 +0900
Tag:    v2.0.0-rc1

theme / navbar: MDL-14133 every link in the nav bar was getting class="first"!

commit a6ad4721844b92c1bc2ccb88de26934ac80ea00d
Author: tjhunt <tjhunt>
Date:   Tue, 03 Feb 2009 17:31:14 +0900
Tag:    v2.0.0-rc1

themes: MDL-10646 remove obsolete UPGRADE.txt file.

commit 996c1a6f868070c58df2fadbd1fb5b17291da715
Author: tjhunt <tjhunt>
Date:   Tue, 03 Feb 2009 16:47:24 +0900
Tag:    v2.0.0-rc1

theme / weblib: MDL-14400 Setting $THEME->makenavmenulist = true causes a php notice

commit 3659fcaae65d0c514243234b1d8fc74d82020225
Author: tjhunt <tjhunt>
Date:   Mon, 02 Feb 2009 13:42:07 +0900
Tag:    v2.0.0-rc1

Fix warnings and notices on plugin check page.

commit 753340867ad75c74e9f2e6c11ec70748a67ff15c
Author: tjhunt <tjhunt>
Date:   Tue, 27 Jan 2009 16:32:25 +0900
Tag:    v2.0.0-rc1

multianswer help file: Many XHTML strict issues.

commit 853a3eefd4c8969e0d32d89ea15e2a217757c185
Author: tjhunt <tjhunt>
Date:   Tue, 27 Jan 2009 15:35:56 +0900
Tag:    v2.0.0-rc1

forum rating: MDL-18044 notice sometimes when a forum is rated, also XHTML strict problems and fix incorrect help text.

commit 692d0480e0b8322343183be4c4c71d9d1be61326
Author: tjhunt <tjhunt>
Date:   Fri, 23 Jan 2009 16:29:12 +0900
Tag:    v2.0.0-rc1

question bank: MDL-16345 minor pritification.

commit bfb1691da35fd9e46b536342deff21b860645a4e
Author: tjhunt <tjhunt>
Date:   Fri, 23 Jan 2009 15:05:25 +0900
Tag:    v2.0.0-rc1

question bank: MDL-18000 Make select all work by clicking the checkbox column heading.

commit b7a9dc5193a94ba6ac3d33852fd1f4e9d93d3329
Author: tjhunt <tjhunt>
Date:   Fri, 23 Jan 2009 14:01:37 +0900
Tag:    v2.0.0-rc1

question bank: MDL-17992 and MDL-17397. Put back questiontext as a separate row option, and increase consistenscy between stand-alone qbank and the display in the quiz editing page.

commit bcda961144ce832a8b347424dd7b6ddf39ad2f1c
Author: tjhunt <tjhunt>
Date:   Fri, 23 Jan 2009 11:19:30 +0900
Tag:    v2.0.0-rc1

matching qtype: MDL-17981 extra distractors feature was not working on MS SQL server, since MDL-14420 was fixed.

commit cbe2a956eb233a2ea141a79530d5160aef7a820e
Author: tjhunt <tjhunt>
Date:   Fri, 23 Jan 2009 11:11:27 +0900
Tag:    v2.0.0-rc1

admin: xhtml strict problems.

commit 714aaf918a7942ca95cc955c908950ff6a45d130
Author: tjhunt <tjhunt>
Date:   Fri, 23 Jan 2009 10:11:21 +0900
Tag:    v2.0.0-rc1

shortanswer qtype: MDL-17800 Fix merge problem. Thanks to Oleg for spotting this.

commit e4d1d5e010e9ea63833205a2870d5a705c0d5738
Author: tjhunt <tjhunt>
Date:   Thu, 22 Jan 2009 18:19:37 +0900
Tag:    v2.0.0-rc1

question bank: MDL-17871 finish refactor of code into one class per column.

commit 971c6fca062226201a5b14e8016c52fddc4d475d
Author: tjhunt <tjhunt>
Date:   Thu, 22 Jan 2009 14:38:18 +0900
Tag:    v2.0.0-rc1

question bank: MDL-17871 Kill most of the duplicated code between mod/quiz/editlib.php and question/editlib.php

commit 0ff5afdfbf3a7b79ad7f8f687c296815f2f70b3f
Author: tjhunt <tjhunt>
Date:   Thu, 22 Jan 2009 11:32:39 +0900
Tag:    v2.0.0-rc1

question bank: MDL-17871 Possibility for tool tips on column headings.

commit babdcb40241ad6ffde78de85d5e6b737c358b7f8
Author: tjhunt <tjhunt>
Date:   Wed, 21 Jan 2009 17:52:42 +0900
Tag:    v2.0.0-rc1

question bank: MDL-17302 fix errors in the previous commit.

commit b221dc6f23e7e085b1a2daf16e4febfcf78843cc
Author: tjhunt <tjhunt>
Date:   Wed, 21 Jan 2009 17:49:15 +0900
Tag:    v2.0.0-rc1

question bank: MDL-17302 refactor question bank display code into a class.

commit 285b83adf56250f06898b4824586dc891c2f670b
Author: tjhunt <tjhunt>
Date:   Wed, 21 Jan 2009 16:41:09 +0900
Tag:    v2.0.0-rc1

Fix incorrect comment.

commit 5bd22790c4f738690afda1edebf0cff682a9cbaa
Author: tjhunt <tjhunt>
Date:   Wed, 21 Jan 2009 16:21:43 +0900
Tag:    v2.0.0-rc1

question bank: MDL-17871 refactor the code that displays particular information about each question into classes.

commit 46795afcbdd7fe43de03afb6b2b87eb5c21ea691
Author: tjhunt <tjhunt>
Date:   Tue, 20 Jan 2009 19:11:23 +0900
Tag:    v2.0.0-rc1

question bank: MDL-17871 refactor the code that displays particular information about each question into classes.

commit cf7093e4f0cfc8ae87179bca67944a676ce76fb9
Author: tjhunt <tjhunt>
Date:   Tue, 20 Jan 2009 15:56:38 +0900
Tag:    v2.0.0-rc1

upgrade reload icon MDL-17924 unobfuscate Martin's reload icon.

commit 80829be9209c8def2372136c65fbc288c28e1b0f
Author: tjhunt <tjhunt>
Date:   Tue, 20 Jan 2009 13:24:07 +0900
Tag:    v2.0.0-rc1

quiz backup: MDL-17970 MSSQL text / varchar compare issue.

commit d0b76e95d38ac75285a42727e781a4f4232ff4c0
Author: tjhunt <tjhunt>
Date:   Tue, 20 Jan 2009 12:58:35 +0900
Tag:    v2.0.0-rc1

Merge whchang's typo fix to HEAD.

commit d61f7b7641ce47a684350586b3e959f2677225f1
Author: tjhunt <tjhunt>
Date:   Tue, 20 Jan 2009 12:16:30 +0900
Tag:    v2.0.0-rc1

backup/restore: MDL-16614 more reliable test for when we are restoring a backup that was made of the same site that we are restoring to.

commit 5b5e5ab20ca72805fd112dad5309352420446d3e
Author: tjhunt <tjhunt>
Date:   Mon, 19 Jan 2009 17:50:48 +0900
Tag:    v2.0.0-rc1

question bank: MDL-17302 refactor question bank display code into a class.

commit f4b879ddeaaae4246eccbb006481b90ce9dbd86b
Author: tjhunt <tjhunt>
Date:   Mon, 19 Jan 2009 14:30:01 +0900
Tag:    v2.0.0-rc1

question bank: MDL-17302 refactor question bank display code into a class.

commit c599a68240e0e58112765947d2c636ee20c72e2c
Author: tjhunt <tjhunt>
Date:   Fri, 16 Jan 2009 17:00:06 +0900
Tag:    v2.0.0-rc1

question bank: MDL-12787, MDL-17870 field in the question editing form to tag questions, and load and save the tags from the DB.

commit 8942fd77be4ecd19ba91dddeadedb59b539d2c5f
Author: tjhunt <tjhunt>
Date:   Fri, 16 Jan 2009 16:34:29 +0900
Tag:    v2.0.0-rc1

formslib / tags: MDL-17889 debugging message if you try to create a tags field when $CFG->usertags if false.

commit c060fc6a1201399e6cee8238f490fc189ba8ffb9
Author: tjhunt <tjhunt>
Date:   Fri, 16 Jan 2009 16:14:39 +0900
Tag:    v2.0.0-rc1

blog / tags: MDL-17900 Use the new tags field type to tag users' interests.

commit fc23301cedc8c8281d2331d82cd1ddbbf295dc50
Author: tjhunt <tjhunt>
Date:   Fri, 16 Jan 2009 16:08:58 +0900
Tag:    v2.0.0-rc1

blog / tags: MDL-17900 Use the new tags field type to tag blog posts.

commit f48dccd43c6559ae8dc5f1e15fd327cc6e7d6514
Author: tjhunt <tjhunt>
Date:   Fri, 16 Jan 2009 16:07:21 +0900
Tag:    v2.0.0-rc1

formslib / tags: MDL-17889 improvements to this field type:

commit 60becebbefb224a810fdc0c4cbe090fc230f4beb
Author: tjhunt <tjhunt>
Date:   Fri, 16 Jan 2009 15:29:56 +0900
Tag:    v2.0.0-rc1

Whitespace cleanup.

commit a18ba12ca6a30d36e2a0559f5e0b1ae570a6b8fe
Author: tjhunt <tjhunt>
Date:   Fri, 16 Jan 2009 13:47:23 +0900
Tag:    v2.0.0-rc1

quiz / questions: MDL-17919 Bad link edit questions from quiz preview page.

commit c795dc78437e562fde29d254561895dbb0a0912e
Author: tjhunt <tjhunt>
Date:   Fri, 16 Jan 2009 13:24:24 +0900
Tag:    v2.0.0-rc1

questiontypes: MDL-17800

commit 815262cab6832e1d0e2f8c68780d963f3dd516de
Author: tjhunt <tjhunt>
Date:   Fri, 16 Jan 2009 13:23:21 +0900
Tag:    v2.0.0-rc1

questiontypes: MDL-17800

commit 4cfd5d4d8fe0392a000ec92925776963bc44e813
Author: tjhunt <tjhunt>
Date:   Fri, 16 Jan 2009 13:18:43 +0900
Tag:    v2.0.0-rc1

moodlelib: MDL-17761 More consistent error handling in get_string.

commit 9f1c9dfce5e9e60f284dcd449c850e957f344969
Author: tjhunt <tjhunt>
Date:   Thu, 15 Jan 2009 18:24:45 +0900
Tag:    v2.0.0-rc1

formslib / tags: MDL-17889 a new formslib field type for editing a list of tags.

commit ec6a0e700ae1ba16a6d03c1ade949dd2a03c71ef
Author: tjhunt <tjhunt>
Date:   Thu, 15 Jan 2009 17:48:17 +0900
Tag:    v2.0.0-rc1

XHTML strict.

commit c51c539d11130c1609958d825c20c0a9ec480d02
Author: tjhunt <tjhunt>
Date:   Thu, 15 Jan 2009 16:29:07 +0900
Tag:    v2.0.0-rc1

questiontypes: MDL-17800 Add extra_question_fields() support to backup/restore functions.

commit d65c238b2c162d44812e09de2c0b1ffade3fcf41
Author: tjhunt <tjhunt>
Date:   Thu, 15 Jan 2009 14:15:38 +0900
Tag:    v2.0.0-rc1

question engine: MDL-17651 this context is not used anywhere, so remove it.

commit c583482c358d2a9933306b786632edd0201d2a03
Author: tjhunt <tjhunt>
Date:   Wed, 14 Jan 2009 18:58:12 +0900
Tag:    v2.0.0-rc1

formslib: Sort list of field types, to make it easier to manage.

commit 565b14d248450ebd648590dab44e4b3147536722
Author: tjhunt <tjhunt>
Date:   Wed, 14 Jan 2009 17:49:35 +0900
Tag:    v2.0.0-rc1

tags/blog: Multiple XHTML strict problems.

commit d3542f9450f5f8bddbd1389b84be0433c467e5d9
Author: tjhunt <tjhunt>
Date:   Wed, 14 Jan 2009 17:00:48 +0900
Tag:    v2.0.0-rc1

Merging mudrd8mz's typo fix.

commit 96c7d771df88fd0aa2514ba898c89f81053c6e93
Author: tjhunt <tjhunt>
Date:   Wed, 14 Jan 2009 16:08:02 +0900
Tag:    v2.0.0-rc1

quiz: MDL-14926 New capability mod/quiz:reviewmyattempts, separate from mod/quiz:attempt. Merged from MOODLE_19_STABLE.

commit 67b0b2c5f45cca44d0fcdefb7a4420be65507044
Author: tjhunt <tjhunt>
Date:   Wed, 14 Jan 2009 13:45:19 +0900
Tag:    v2.0.0-rc1

admin settings: MDL-17877 Remember to pass u.id to get_users_by_capability.

commit fb35c0cf721b382051ac84b34e850386226e6ee9
Author: tjhunt <tjhunt>
Date:   Wed, 14 Jan 2009 13:44:20 +0900
Tag:    v2.0.0-rc1

accesslib: Nice debug developer warning if you call get_users_with_capability without including u.id in the list of fields.

commit 94c224619ce38387044217fe42884288050a0e82
Author: tjhunt <tjhunt>
Date:   Tue, 13 Jan 2009 15:03:26 +0900
Tag:    v2.0.0-rc1

edit profile: MDL-15607 Edit profile form breaks if the list of countries in the language pack is broken.

commit 940b5fbb722f3513214187b8e61a991c8ac674d3
Author: tjhunt <tjhunt>
Date:   Mon, 12 Jan 2009 16:24:03 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-17296 further improve display of open and close dates on the editing page.

commit 13267548cfe7d9b3312c332bfb84dd77bf47373a
Author: tjhunt <tjhunt>
Date:   Fri, 09 Jan 2009 15:35:21 +0900
Tag:    v2.0.0-rc1

restorelib: fix incorrect indenting.

commit 19f5b2dbeeceec32f5fca0f43df463ce72716c8a
Author: tjhunt <tjhunt>
Date:   Fri, 09 Jan 2009 15:16:36 +0900
Tag:    v2.0.0-rc1

accesslib: MDL-17626 delete the context whenever a block is deleted. This includes a new helper function blocks_delete_all_on_page.

commit a3c9960b869088e65e5570d5180ac0556c79f9ff
Author: tjhunt <tjhunt>
Date:   Fri, 09 Jan 2009 15:14:39 +0900
Tag:    v2.0.0-rc1

restorelib: MDL-17519 fix merge error.

commit df2e8971ffa00dfd3fa2ca864d6f29ce2ac23b4b
Author: tjhunt <tjhunt>
Date:   Fri, 09 Jan 2009 14:34:49 +0900
Tag:    v2.0.0-rc1

accesslib: MDL-17626 admin/modules.php should call delete_context when a module is uninstalled.

commit 06b3a6b297f9fa77a1ab459695066ef18fe8ab18
Author: tjhunt <tjhunt>
Date:   Fri, 09 Jan 2009 14:32:08 +0900
Tag:    v2.0.0-rc1

accesslib: MDL-17626 delete_course_module should call delete_context.

commit d1be90991b2948f837cbb8f33bcab9e9e2dbae65
Author: tjhunt <tjhunt>
Date:   Fri, 09 Jan 2009 14:26:26 +0900
Tag:    v2.0.0-rc1

quiz editing: XHTML strict

commit 4e7fabe6d6cda09eabf5a08aac275a15a2069757
Author: tjhunt <tjhunt>
Date:   Fri, 09 Jan 2009 14:25:50 +0900
Tag:    v2.0.0-rc1

accesslib: MDL-17626 role_names not cleaned up when a context is deleted.

commit d001dac77bf91314d1d99e572342724a421e9952
Author: tjhunt <tjhunt>
Date:   Fri, 09 Jan 2009 14:10:33 +0900
Tag:    v2.0.0-rc1

shortanswer qtype: MDL-17706 use extra_question_fields mechanism to save on code. Changes thanks to Oleg Sychev.

commit e476804cdb3002b56a8815901c0f628288e963b0
Author: tjhunt <tjhunt>
Date:   Fri, 09 Jan 2009 12:17:18 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-17296 improve display of open and closde dates on the editing page.

commit 71990c7cf6613d8b957e6abfe6e4de643c0dad4b
Author: tjhunt <tjhunt>
Date:   Thu, 08 Jan 2009 18:03:49 +0900
Tag:    v2.0.0-rc1

question preview: MDL-17418 Enable previewing of random questions.

commit d1077efebe96995c381ce6ab96088e682650ddfe
Author: tjhunt <tjhunt>
Date:   Thu, 08 Jan 2009 17:06:08 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-17594 In RTL languages, the editing UI has horizontal scrolling.

commit 4413941fee3f6aab03834705c1c2f6c0012b6cb8
Author: tjhunt <tjhunt>
Date:   Thu, 08 Jan 2009 16:07:00 +0900
Tag:    v2.0.0-rc1

course requests: MDL-6160 clean up admin option for choosing who is notified. Merged from MOODLE_19_STABLE.

commit edd5246bddb5d19b7fabef8f63e87e69e5419a87
Author: tjhunt <tjhunt>
Date:   Wed, 07 Jan 2009 18:26:47 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-17416 Clean layout when starting a new attempt.

commit 3169d49c84388c270f0cc397e0d94611fdb9960e
Author: tjhunt <tjhunt>
Date:   Wed, 07 Jan 2009 17:59:13 +0900
Tag:    v2.0.0-rc1

unit tests: MDL-17803 test Db instatiate being called from two places, which was overwriting the reference to the real DB.

commit a7b7f075df892c9044937fe6544b7ac234bcbfa1
Author: tjhunt <tjhunt>
Date:   Wed, 07 Jan 2009 17:58:41 +0900
Tag:    v2.0.0-rc1

unit tests: MDL-17803 test classes were not getting destroyed at the right time, which was breaking the code that reset the test DB to the normal DB.

commit 6fe51abe59e72fbc3b43cb75321351c15da7ea22
Author: tjhunt <tjhunt>
Date:   Wed, 07 Jan 2009 16:41:03 +0900
Tag:    v2.0.0-rc1

unit tests: Simple hack to avoid XHTML well-formedness errors during test DB upgrade.

commit b4a2e413135b947d1c9924e341edd5db5877dd3e
Author: tjhunt <tjhunt>
Date:   Wed, 07 Jan 2009 16:12:37 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-17284 fix infinite redirect bug.

commit a733c4b98b527ef66ea48eb4f0d11bc59ae89a56
Author: tjhunt <tjhunt>
Date:   Wed, 07 Jan 2009 15:32:13 +0900
Tag:    v2.0.0-rc1

mod quiz: MDL-3156 Add an option to display the current user's photo and name on the Quiz attempt and review pages.

commit efacb2242273570dedeeecd1cee16408e63f7b65
Author: tjhunt <tjhunt>
Date:   Wed, 07 Jan 2009 15:28:00 +0900
Tag:    v2.0.0-rc1

weblib: improve comment.

commit b328fec5766221f4ff7ab89e4ae03ea08d66dbce
Author: tjhunt <tjhunt>
Date:   Wed, 07 Jan 2009 15:01:59 +0900
Tag:    v2.0.0-rc1

help: XHTML strict!

commit 8d89b40183470db817d4d5d0e66356fc3434c36e
Author: tjhunt <tjhunt>
Date:   Tue, 06 Jan 2009 15:14:37 +0900
Tag:    v2.0.0-rc1

Preserve multiselect option through ajax calls.

commit 807a1a84270336d4a483b2c7b834d1118a04eda4
Author: tjhunt <tjhunt>
Date:   Tue, 06 Jan 2009 14:20:21 +0900
Tag:    v2.0.0-rc1

question bank database: MDL-17608 Drop originalquestion field from the question_states table - it was never used for anything.

commit f330327c7d51892bae99d81627fa1a0f4d088043
Author: tjhunt <tjhunt>
Date:   Tue, 06 Jan 2009 14:19:15 +0900
Tag:    v2.0.0-rc1

Fix typos.

commit ea6d9d40a61eb27ff3d669f2105564972ec63c85
Author: tjhunt <tjhunt>
Date:   Tue, 06 Jan 2009 14:04:58 +0900
Tag:    v2.0.0-rc1

XHTML strict.

commit 477c217f5c149c929f250fd07241c29035b1167e
Author: tjhunt <tjhunt>
Date:   Mon, 05 Jan 2009 14:26:08 +0900
Tag:    v2.0.0-rc1

MDL-17294 Eliminate some commented out code, and clean up the 'no questions in quiz' special case.

commit eff819c37aac3f56665ddbc9656ba5119e8a5efa
Author: tjhunt <tjhunt>
Date:   Mon, 22 Dec 2008 12:16:57 +0900
Tag:    v2.0.0-rc1

admin tree: MDL-13104 - fix another external page so there are not problems when you click the blocks editing on/off button.

commit 212235d3e23bf06decde2f10b96b57fbad46e593
Author: tjhunt <tjhunt>
Date:   Mon, 15 Dec 2008 15:22:18 +0900
Tag:    v2.0.0-rc1

accesslib: MDL-17647, MDL-17648 and MDL-17649 Bug fix, improvement and unit test.

commit 081cce73259a1a6a624497ff51fc37569298a265
Author: tjhunt <tjhunt>
Date:   Mon, 15 Dec 2008 15:08:51 +0900
Tag:    v2.0.0-rc1

forum subscriptions: MDL-14876 - followup - use the right table prefix on column names to avoid an ambiguous column name error.

commit b1bc12631980abfdaab07b4afb4d64c43198ac99
Author: tjhunt <tjhunt>
Date:   Mon, 15 Dec 2008 12:08:22 +0900
Tag:    v2.0.0-rc1

unit tests: MDL-17646 Arrgh! edited the wrong file after making testsimpletestlib.php by copying testaccesslib.php!

commit 9e8c8017141e76c273f49429a96072be3a081580
Author: tjhunt <tjhunt>
Date:   Mon, 15 Dec 2008 11:53:39 +0900
Tag:    v2.0.0-rc1

Flatfile enrolment: MDL-11418 SQL error. Thanks to Patrick Pollet.

commit 821e4ecf1619524b1f2160f08598fc3b15295301
Author: tjhunt <tjhunt>
Date:   Mon, 15 Dec 2008 11:39:55 +0900
Tag:    v2.0.0-rc1

unit tests: MDL-17646 Helper functions for loading and cleaning up test data.

commit 0e8e23cce616ba223841f6f5f32433151bb47b07
Author: tjhunt <tjhunt>
Date:   Mon, 15 Dec 2008 11:13:11 +0900
Tag:    v2.0.0-rc1

dml: MDL-17645 New database method delete_records_list.

commit acf149ad15997f80495636f6c1e73cf748a2e360
Author: tjhunt <tjhunt>
Date:   Sun, 14 Dec 2008 22:32:45 +0900
Tag:    v2.0.0-rc1

quiz: MDL-17578 Review quiz_get_view_actions and quiz_get_post_actions.

commit 83f0fef56732db6c1143fa97724841df464287ea
Author: tjhunt <tjhunt>
Date:   Fri, 12 Dec 2008 18:00:11 +0900
Tag:    v2.0.0-rc1

questions manual grading: MDL-15147 refine the logic for distinguishing '' and 0, so you can grade an essay 0 without making a comment, but also, grade some, but not all student's work in the manual grading report.

commit e285b6a8b6445693e74f8a9afad161f7e571d232
Author: tjhunt <tjhunt>
Date:   Fri, 12 Dec 2008 16:24:47 +0900
Tag:    v2.0.0-rc1

quiz info page: MDL-9542 refix: overridden grades in the gradebook not visible to students in the quiz UI,

commit 7028ab335d397f93cee46b6e9a47fa6cc37c5031
Author: tjhunt <tjhunt>
Date:   Fri, 12 Dec 2008 15:45:07 +0900
Tag:    v2.0.0-rc1

match qtype: MDL-17326 backup and restore problems

commit 2f37e1083b1e478fe3820418b6e53279bc703f03
Author: tjhunt <tjhunt>
Date:   Fri, 12 Dec 2008 15:19:01 +0900
Tag:    v2.0.0-rc1

course categories: fix typo introduced when fixing MDL-10801

commit 299d9fb8349e7abbf21fb8f8f93b4b3885396f37
Author: tjhunt <tjhunt>
Date:   Fri, 12 Dec 2008 13:39:38 +0900
Tag:    v2.0.0-rc1

matching qtype: MDL-17496 With filterall and multilang, the contents of the dropdowns was not being properly filtered

commit be8563b63a3c0c4c2d8f05602bfc3d8fb6aa8b72
Author: tjhunt <tjhunt>
Date:   Fri, 12 Dec 2008 12:48:39 +0900
Tag:    v2.0.0-rc1

numerical and shortanswer question types: problems with compare_responses and test_response.

commit 47ceac47e43b5a9cb39cb66ada44529c192b172c
Author: tjhunt <tjhunt>
Date:   Fri, 12 Dec 2008 11:50:36 +0900
Tag:    v2.0.0-rc1

questionlib: clarify a comment.

commit 04c53106744d0623ec25513f895d3cd861e4835c
Author: tjhunt <tjhunt>
Date:   Thu, 11 Dec 2008 19:47:48 +0900
Tag:    v2.0.0-rc1

course search: MDL-10801 Search terms were not being highlighted consistently in the results.

commit 9289e4c90e7b47f07bdc09b42acd3a4a58d4273d
Author: tjhunt <tjhunt>
Date:   Thu, 11 Dec 2008 19:33:57 +0900
Tag:    v2.0.0-rc1

weblib: MDL-17606 Make the highlight function better, with unit tests.

commit 92f008465c6889b485ce31b2c1e0cb30f7b75bf0
Author: tjhunt <tjhunt>
Date:   Thu, 11 Dec 2008 18:21:41 +0900
Tag:    v2.0.0-rc1

admin tree: MDL-10047 and MDL-13104 weird things happen when you turn editing on and off.

commit a90d7cf93d109743074b0aa6884947d124a077b0
Author: tjhunt <tjhunt>
Date:   Thu, 11 Dec 2008 18:08:20 +0900
Tag:    v2.0.0-rc1

roles ui: Fix notices and XHTML strict.

commit 8d8d0bfaae202de8568eab9672b8a7d30bd937c9
Author: tjhunt <tjhunt>
Date:   Thu, 11 Dec 2008 16:01:57 +0900
Tag:    v2.0.0-rc1

forum subscriptions: MDL-14876 user of deprecated functions was breaking managing subscribers.

commit 3c573960ecb23c706d35a8ff5ec5beadfd1a560b
Author: tjhunt <tjhunt>
Date:   Thu, 11 Dec 2008 14:31:33 +0900
Tag:    v2.0.0-rc1

question bank: MDL-14376 Errors deleting a course containing Cloze questions.

commit bf14070fa72524e7f128eee5c64d9fed12a9f268
Author: tjhunt <tjhunt>
Date:   Thu, 11 Dec 2008 14:14:34 +0900
Tag:    v2.0.0-rc1

multianswer qtype help: Fix HTML errors.

commit f932b819531f25c674696ae0b5468eafc505b327
Author: tjhunt <tjhunt>
Date:   Thu, 11 Dec 2008 14:01:37 +0900
Tag:    v2.0.0-rc1

matching qtype: MDL-14420 Could not use '0' as a question stem. Oops, more tests need to be corrected.

commit 9ce0983b0dd0f9789ec1a03a13d951af53a8dab6
Author: tjhunt <tjhunt>
Date:   Thu, 11 Dec 2008 13:57:39 +0900
Tag:    v2.0.0-rc1

matching qtype: MDL-14420 Could not use '0' as a question stem. Bloody PHP!

commit f8394114c35b851fda038d83c421eb293444c38d
Author: tjhunt <tjhunt>
Date:   Thu, 11 Dec 2008 13:55:41 +0900
Tag:    v2.0.0-rc1

matching qtype: whitespace cleanup.

commit 26b266625bd74f9794e24d9cbfdffe76bb998240
Author: tjhunt <tjhunt>
Date:   Thu, 11 Dec 2008 13:33:41 +0900
Tag:    v2.0.0-rc1

numerical qtype: MDL-15159 Error moving a numerical question type with no units from one category to another.

commit e8f99abc68286c00f3aa27349af9f3ddeeaafef4
Author: tjhunt <tjhunt>
Date:   Wed, 10 Dec 2008 18:11:30 +0900
Tag:    v2.0.0-rc1

quiz manual grading: MDL-5517 manual grading pop-up is too small. HTML editor does not fit. Merged from MOODLE_19_STABLE.

commit b166403f1820f4a285e63e7ca06a5a5f0240167e
Author: tjhunt <tjhunt>
Date:   Wed, 10 Dec 2008 17:57:50 +0900
Tag:    v2.0.0-rc1

javascript cleanup: MDL-16583 clean up the close_window function in weblib.php.

commit aafdb447bf6af9676faea67bd3e4e77de4e26324
Author: tjhunt <tjhunt>
Date:   Wed, 10 Dec 2008 15:26:47 +0900
Tag:    v2.0.0-rc1

quiz: MDL-6085 when editing a question from various places like a preview attempt or review screen, don't use a popup, instead take advantage of the fact that question.php now takes a returnurl. Merged from MOODLE_19_STABLE.

commit 426091ee1fdc72717b3d54750558b6b13909cc6c
Author: tjhunt <tjhunt>
Date:   Wed, 10 Dec 2008 14:32:51 +0900
Tag:    v2.0.0-rc1

Simple whitespace cleanup.

commit 7192011c259116a8445dfbf817fabcf59592219c
Author: tjhunt <tjhunt>
Date:   Wed, 10 Dec 2008 13:13:04 +0900
Tag:    v2.0.0-rc1

quiz results block: MDL-17583 notices in HEAD.

commit e452210a18f2a81ff20cf889d205c905881c9c34
Author: tjhunt <tjhunt>
Date:   Wed, 10 Dec 2008 11:57:41 +0900
Tag:    v2.0.0-rc1

course request: MDL-17575 and MDL-6160 further improvements:

commit be0ba083a08938859e0a42221baf4c7f81aa4eb3
Author: tjhunt <tjhunt>
Date:   Wed, 10 Dec 2008 11:11:42 +0900
Tag:    v2.0.0-rc1

performance: MDL-17577 only include lib/questionlib.php from the few parts of mod/quiz/lib.php that actually need it. Merged from MOODLE_19_STABLE.

commit 0a9356aad39c153dc789002e14c0da3624f72e82
Author: tjhunt <tjhunt>
Date:   Wed, 10 Dec 2008 09:54:27 +0900
Tag:    v2.0.0-rc1

truefalse qtype: MDL-12027 remove spurious alt attribute from truefalse qtype radio buttons.

commit 18af228bf26185950c2528f5cc769cd4ab7e5b0c
Author: tjhunt <tjhunt>
Date:   Tue, 09 Dec 2008 18:27:25 +0900
Tag:    v2.0.0-rc1

course categories: MDL-17502 followup. Fix notices. I'm sure I remember writing this code yesterday!

commit 44079dfe7ac0d381a3505f7d233ebc1908e8af40
Author: tjhunt <tjhunt>
Date:   Tue, 09 Dec 2008 14:14:15 +0900
Tag:    v2.0.0-rc1

define roles: MDL-16966 go back to 'Define roles' in the admin menu, rather than 'Manage roles'

commit 8a1b1c328d36fdc1d061eb932d960b758f9a8aae
Author: tjhunt <tjhunt>
Date:   Mon, 08 Dec 2008 16:28:19 +0900
Tag:    v2.0.0-rc1

course categories: MDL-17502 when deleting a category and its contents, check moodle/course:delete capability.

commit 9136a60c4693ed046cf1c231d5af8ec8a92a9c76
Author: tjhunt <tjhunt>
Date:   Mon, 08 Dec 2008 11:31:05 +0900
Tag:    v2.0.0-rc1

course settings: MDL-17501 check for moodle/course:visibility in the course settings form.

commit 77eddcd5272d502eb1f9cde929d4bdd6fd156f86
Author: tjhunt <tjhunt>
Date:   Fri, 05 Dec 2008 17:56:54 +0900
Tag:    v2.0.0-rc1

course request: MDL-9854 major cleanup to the course request code.

commit 4e6f553d433d4eded57746aa1c224b9aa2e6dce8
Author: tjhunt <tjhunt>
Date:   Fri, 05 Dec 2008 14:08:37 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-15903 fix the code that updates $quiz->sumgrades, so we only update the database when something changes, not on every page view.

commit ab652c35ee3c3761535bdd8624d671187660563e
Author: tjhunt <tjhunt>
Date:   Fri, 05 Dec 2008 13:20:26 +0900
Tag:    v2.0.0-rc1

quiz settings: MDL-16781 Avoid concatenating and calling strtolower on language strings.

commit 8ed5dd63eeba4e9fc2e290bd3b9584aed440c13c
Author: tjhunt <tjhunt>
Date:   Thu, 04 Dec 2008 17:53:10 +0900
Tag:    v2.0.0-rc1

course categories: Fix many bugs with category editing and permissions. Clean up code.

commit 2aa3baedc7337ee9e497d2e507bc017f859d0773
Author: tjhunt <tjhunt>
Date:   Wed, 03 Dec 2008 11:40:17 +0900
Tag:    v2.0.0-rc1

capability report: MDL-17410 did not work if a capability was not set anywhere.

commit 5138f9623d2d875b383b43b5eecd268e9ed5faa1
Author: tjhunt <tjhunt>
Date:   Mon, 01 Dec 2008 16:09:37 +0900
Tag:    v2.0.0-rc1

Remove unnecessary extra $Id$ tag. It messes up the unmerged files list, and makes merging extra difficult.

commit df73f8d4e198bee7749c3895f6940e4fa8e9a49f
Author: tjhunt <tjhunt>
Date:   Mon, 01 Dec 2008 15:55:11 +0900
Tag:    v2.0.0-rc1

restore: MDL-17480 Potentially expensive function user_can_create_courses called repeatedly from restore UI.

commit f24493ec9b0e46c30c5343283dd10179a0fd892e
Author: tjhunt <tjhunt>
Date:   Fri, 28 Nov 2008 15:07:11 +0900
Tag:    v2.0.0-rc1

random essay questions: MDL-8648 Allow essay questions to be selected by random question.

commit df4e224454685e551010721d2eec2c04dc96b79e
Author: tjhunt <tjhunt>
Date:   Thu, 27 Nov 2008 20:50:29 +0900
Tag:    v2.0.0-rc1

question bank: MDL-14434 Cannot edit the only question category in a context.

commit 004ff192d4a9ccdb34af195af180e714be67275e
Author: tjhunt <tjhunt>
Date:   Thu, 27 Nov 2008 19:53:46 +0900
Tag:    v2.0.0-rc1

listlib: MDL-17422 Paging in listlib was badly screwed

commit 21cbf9da8b5f71f76bcb81e5cb5af2136139c909
Author: tjhunt <tjhunt>
Date:   Thu, 27 Nov 2008 16:30:17 +0900
Tag:    v2.0.0-rc1

question bank: MDL-17078 Error after deleting a question category.

commit 9f64eef7fd12b601296b99170c1840a00ef0abc0
Author: tjhunt <tjhunt>
Date:   Thu, 27 Nov 2008 14:57:11 +0900
Tag:    v2.0.0-rc1

health centre: MDL-16935 Question categories should belong to a valid context solution has SQL that does not work in MySQL

commit 16590517fad1f3e10416929bc87120ec1c8b9671
Author: tjhunt <tjhunt>
Date:   Thu, 27 Nov 2008 14:12:11 +0900
Tag:    v2.0.0-rc1

fix notices: MDL-15974 Some systems that were upgraded have nullable columns, leading to notices

commit 1327f08eed4f3c03ed33515c4c59e470ca79f347
Author: tjhunt <tjhunt>
Date:   Thu, 27 Nov 2008 11:49:02 +0900
Tag:    v2.0.0-rc1

formslib file upload: MDL-17403 try adding accept-charset="utf-8" to forms to fix occasional upload problems.

commit e33025db6aab5ff7e208ad6572d31518f2b3558d
Author: tjhunt <tjhunt>
Date:   Wed, 26 Nov 2008 23:49:19 +0900
Tag:    v2.0.0-rc1

roles / profile: MDL-14937 remove reference to ra.active column until MDL-13240 is done.

commit 24ada7b2b616aa0820e4e886773964f21d846eb6
Author: tjhunt <tjhunt>
Date:   Wed, 26 Nov 2008 17:55:24 +0900
Tag:    v2.0.0-rc1

Yay! found a global variable that was not being used anywhere. Kill! Kill!

commit bcc234b0a7ab7043938a568f348f10b798425e74
Author: tjhunt <tjhunt>
Date:   Wed, 26 Nov 2008 14:19:34 +0900
Tag:    v2.0.0-rc1

random question editing: Don't show permission information when editing a random question. It is just confusing.

commit 2e883810d3df90d32236f0700dd9629897ee223e
Author: tjhunt <tjhunt>
Date:   Wed, 26 Nov 2008 13:52:46 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-17296 refactor print_timing_information to avoid duplicating code from mod/quiz/accessrules.php

commit 1e69a6562f3d5998ab1e00d94c72cabd15cffc55
Author: tjhunt <tjhunt>
Date:   Wed, 26 Nov 2008 13:25:42 +0900
Tag:    v2.0.0-rc1

MDL-17361 Problems with the question category editing forms.

commit cc2c4572b1ff9dd0173a3035d85693c963e53b9b
Author: tjhunt <tjhunt>
Date:   Wed, 26 Nov 2008 13:03:45 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-17396 Quiz tab icons broken in IE

commit d7129a519f7e374f7c40a58c246cf2f5a4ff543c
Author: tjhunt <tjhunt>
Date:   Tue, 25 Nov 2008 22:15:53 +0900
Tag:    v2.0.0-rc1

accessibility / lang strings: MDL-17359 remove > being used as an arrow - screen readers don't like it.

commit 4d4b70378bed9815bb2f4c0e4b81740abfdf6f15
Author: tjhunt <tjhunt>
Date:   Tue, 25 Nov 2008 22:06:57 +0900
Tag:    v2.0.0-rc1

Fix typo.

commit 1372b5d2cf6d47ef1066018bd8bdcbb61e37cecb
Author: tjhunt <tjhunt>
Date:   Tue, 25 Nov 2008 21:31:59 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-17298 We should not add JavaScript to the YAHOO namespace

Also, use the newer methods for including required JavaScript.

commit 759adfffa9dd499f47a3e471b8924deaed179165
Author: tjhunt <tjhunt>
Date:   Tue, 25 Nov 2008 16:29:14 +0900
Tag:    v2.0.0-rc1

user's role / capabiltiy report: sort the context tree.

commit e494fbf1716d18d65d67c6b6f273c05aa6a477fb
Author: tjhunt <tjhunt>
Date:   Mon, 24 Nov 2008 17:19:33 +0900
Tag:    v2.0.0-rc1

override roles: MDL-8313 followup - don't show capabilities you can't change the override of in basic mode.

commit 7da3ff2ef2981101cdecb5e58f94ad7c3be9cfd6
Author: tjhunt <tjhunt>
Date:   Mon, 24 Nov 2008 16:43:22 +0900
Tag:    v2.0.0-rc1

Spelling.

commit e86ecf1f043c8e199863a85b540efac4dbfbb1b9
Author: tjhunt <tjhunt>
Date:   Mon, 24 Nov 2008 16:27:11 +0900
Tag:    v2.0.0-rc1

Fix typo.

commit ff493b6b24dde18398982b19f2f0af9a709d3a88
Author: tjhunt <tjhunt>
Date:   Mon, 24 Nov 2008 15:33:35 +0900
Tag:    v2.0.0-rc1

roles / profile: MDL-14937 A the user's roles report from contrib to core. Finish.

commit 1bd72efa00c10654a0ff9f4c87f963593d72c23a
Author: tjhunt <tjhunt>
Date:   Mon, 24 Nov 2008 15:28:57 +0900
Tag:    v2.0.0-rc1

cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table - found another reference to the students column.

commit abfc0304e1cb538421dc8ad792ca475ffcda5980
Author: tjhunt <tjhunt>
Date:   Mon, 24 Nov 2008 13:55:57 +0900
Tag:    v2.0.0-rc1

role assign: Don't get duplicate records in potential_assignees_below_course user selector

commit 840b4f0b67d0861739576521043459aff13d2ff5
Author: tjhunt <tjhunt>
Date:   Mon, 24 Nov 2008 13:46:29 +0900
Tag:    v2.0.0-rc1

capability report: Remove unnecssary, probably wrong, line of code.

commit 1332ce5397595fc12ad9e8319be660f56c94c84a
Author: tjhunt <tjhunt>
Date:   Sun, 23 Nov 2008 21:46:51 +0900
Tag:    v2.0.0-rc1

quiz unittests: MDL-17295 start writing unit tests for some of mod/quiz/locallib.php - and fix the bugs they revealed!

commit 1499ce318566d0a51a1ffe676835c2090afd8214
Author: tjhunt <tjhunt>
Date:   Sun, 23 Nov 2008 20:53:21 +0900
Tag:    v2.0.0-rc1

unit test reliability: For some reason this does not work on my laptop. because the standard function getrempteadr returns '', so just skip this test.

commit 941e427680e1128ebfe646d1df87daa0881b86eb
Author: tjhunt <tjhunt>
Date:   Sun, 23 Nov 2008 20:39:41 +0900
Tag:    v2.0.0-rc1

unittests: MDL-17367 Fix regressions caused when admin/report/simpletest was renamed to unittest.

Why was this done anyway? Some explanation in MDL-17001 might be nice.

commit b75f0f82b49cb20834ff33214d9249c83a2ca3d4
Author: tjhunt <tjhunt>
Date:   Sun, 23 Nov 2008 20:09:28 +0900
Tag:    v2.0.0-rc1

quiz lang: MDL-17335 Alphabetize lang/en_utf8/quiz.php

commit 74f6cf8037d759502b7ea323e4206b4185f81356
Author: tjhunt <tjhunt>
Date:   Fri, 21 Nov 2008 17:23:57 +0900
Tag:    v2.0.0-rc1

roles / profile: MDL-14937 A the user's roles report from contrib to core.

commit e6a3587c597d966d45a5266691e613ce94988b83
Author: tjhunt <tjhunt>
Date:   Fri, 21 Nov 2008 15:26:42 +0900
Tag:    v2.0.0-rc1

role assign: MDL-17323 Show users from parent contexts ... Refine group labels again.

commit 490740d6cbb8a28b5af0a6a4f7a7fafc089e32ed
Author: tjhunt <tjhunt>
Date:   Fri, 21 Nov 2008 15:19:52 +0900
Tag:    v2.0.0-rc1

role assign: MDL-17323 Show users from parent contexts ... Refine group labels.

commit a792ac1d7a2c08a24f1f048ae378aa5e8c636edd
Author: tjhunt <tjhunt>
Date:   Fri, 21 Nov 2008 15:19:01 +0900
Tag:    v2.0.0-rc1

define roles: MDL-16966 etc. more UI polishing

commit 698ae7eb24301d5842565bd4f482412540811400
Author: tjhunt <tjhunt>
Date:   Fri, 21 Nov 2008 14:46:45 +0900
Tag:    v2.0.0-rc1

role assign: MDL-17323 Show users with the role in a parent context as disabled opitons in the existing users box

commit bed9cec80bd7b5401f056f365172ebbc1bd289bf
Author: tjhunt <tjhunt>
Date:   Thu, 20 Nov 2008 18:57:20 +0900
Tag:    v2.0.0-rc1

define roles: MDL-16966 etc. polishing the new roles UI following a meeting with Martin.

commit 0c90f9878889723622f15a0f86750dba1924667d
Author: tjhunt <tjhunt>
Date:   Thu, 20 Nov 2008 17:30:35 +0900
Tag:    v2.0.0-rc1

formslib: MDL-13210 - partial - try to make validation errores less annoying.

commit 8fa6c8941fbaba4d78aa3c6c5a417acdd79080e2
Author: tjhunt <tjhunt>
Date:   Thu, 20 Nov 2008 17:28:33 +0900
Tag:    v2.0.0-rc1

define roles: fix incorrect error message.

commit ecbb6ef44c6e785539819b3aa53c68eba4834b79
Author: tjhunt <tjhunt>
Date:   Thu, 20 Nov 2008 16:30:37 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-17289 copy-edit editconcepts.html

commit 75a32d81843dfeb62557e9919ec666c2a2d50c1d
Author: tjhunt <tjhunt>
Date:   Thu, 20 Nov 2008 16:03:43 +0900
Tag:    v2.0.0-rc1

general cleanup of trailing whitespace.

commit fa583f5f6eb3b4c9f624e77df0cfb9f9e705e6c3
Author: tjhunt <tjhunt>
Date:   Thu, 20 Nov 2008 15:59:11 +0900
Tag:    v2.0.0-rc1

quiz editing: MDL-17285 This is Olli Savolainen's new interface for editing quizzes.

commit 587a1ea358826b0020d60670e0e5ab0a0aac792c
Author: tjhunt <tjhunt>
Date:   Tue, 18 Nov 2008 19:33:38 +0900
Tag:    v2.0.0-rc1

manage roles: MDL-8313 face lift allow override/assign, add labels and tooltips to the checkboxes for usability and accessibility.

commit ad5616a934e3ff58583d98e10c8a7c303c97adde
Author: tjhunt <tjhunt>
Date:   Tue, 18 Nov 2008 19:18:00 +0900
Tag:    v2.0.0-rc1

manage roles: MDL-8313 face lift allow override/assign, and add securtiy checks!

commit 692103a2a5d7964112106e4302b6f966ca7f7c78
Author: tjhunt <tjhunt>
Date:   Tue, 18 Nov 2008 19:17:27 +0900
Tag:    v2.0.0-rc1

Let any table have rotated text in its headers. Stolen from sam's activity completion report.

commit 716dd16327dc3c159a5178bfdee88733916f4359
Author: tjhunt <tjhunt>
Date:   Tue, 18 Nov 2008 18:28:05 +0900
Tag:    v2.0.0-rc1

install / accesslib: Fix install problem

commit d8133c0564c7aed36c84cec37e9e224c61065beb
Author: tjhunt <tjhunt>
Date:   Tue, 18 Nov 2008 17:18:24 +0900
Tag:    v2.0.0-rc1

Fix require_js call.

commit 633918543a44579261d2b759c702477fb0afcd99
Author: tjhunt <tjhunt>
Date:   Tue, 18 Nov 2008 17:13:26 +0900
Tag:    v2.0.0-rc1

Trim trailing whitespace.

commit 4659454ac6e281d7fffb4382cca235a298d3fda7
Author: tjhunt <tjhunt>
Date:   Tue, 18 Nov 2008 17:08:18 +0900
Tag:    v2.0.0-rc1

manage roles: MDL-8313 fix bugs with safe overrides.

commit a7476c6bbd20770e26a5e3b64b0f779561494045
Author: tjhunt <tjhunt>
Date:   Tue, 18 Nov 2008 16:53:26 +0900
Tag:    v2.0.0-rc1

manage roles: MDL-8313 improve wording.

commit 40c792c3d1d6435abbe97d8ae9920c021ff19e8b
Author: tjhunt <tjhunt>
Date:   Tue, 18 Nov 2008 16:41:28 +0900
Tag:    v2.0.0-rc1

roles database: MDL-17253 add unique index to role.name and role.shortname

commit 9dbebd145d57ca920fc40948f6714aa5bc772724
Author: tjhunt <tjhunt>
Date:   Tue, 18 Nov 2008 16:36:02 +0900
Tag:    v2.0.0-rc1

xmldb: typos in generated code.

commit c51c43a092eed605b959d42247a0a83f216ea2b4
Author: tjhunt <tjhunt>
Date:   Tue, 18 Nov 2008 16:29:45 +0900
Tag:    v2.0.0-rc1

xmldb: MDL-17262 warnings and fatal error when trying to create a unique key or index.

commit bbdb7070cafead78e824b1fdada55918760ad510
Author: tjhunt <tjhunt>
Date:   Tue, 18 Nov 2008 16:10:00 +0900
Tag:    v2.0.0-rc1

manage roles: MDL-8313 Provide a basic mode for the manage roles page.

commit 34a36b2e8529a7ca039d911069a1a62f4d03a245
Author: tjhunt <tjhunt>
Date:   Tue, 18 Nov 2008 13:22:57 +0900
Tag:    v2.0.0-rc1

Improve error message.

commit d559bdc0632d2bf172640a3cc9260fd6eda2c698
Author: tjhunt <tjhunt>
Date:   Tue, 18 Nov 2008 11:49:09 +0900
Tag:    v2.0.0-rc1

Fix typo.

commit 10bd5024675dbd5078cde930bdb0185cedc8656a
Author: tjhunt <tjhunt>
Date:   Mon, 17 Nov 2008 11:29:45 +0900
Tag:    v2.0.0-rc1

Fix typo.

commit e9abdd1b84b6107fc6a772702e28ebf0826d2d93
Author: tjhunt <tjhunt>
Date:   Fri, 14 Nov 2008 20:48:29 +0900
Tag:    v2.0.0-rc1

Fix typo.

commit f4acee5d78ed04d5f3d2d28cbcd0bc60a43efb52
Author: tjhunt <tjhunt>
Date:   Fri, 14 Nov 2008 20:46:01 +0900
Tag:    v2.0.0-rc1

role manage ui: MDL-8313 First version of the basic/advanced role define page.

commit a4df1cbbe535a7b2b32ddbc732c2e16437da505d
Author: tjhunt <tjhunt>
Date:   Fri, 14 Nov 2008 19:38:06 +0900
Tag:    v2.0.0-rc1

role manage ui: MDL-8313 Refactoring and clean-up prior to basic/adv manage page.

commit 8aee9bcc27b9ce998ef04d89774d968bab1f7065
Author: tjhunt <tjhunt>
Date:   Fri, 14 Nov 2008 14:46:27 +0900
Tag:    v2.0.0-rc1

role override ui: MDL-8313 basic mode + toggle + usability improvements

commit c6505f1eaa181fb6f4418807a88672c20c92016c
Author: tjhunt <tjhunt>
Date:   Fri, 14 Nov 2008 12:28:15 +0900
Tag:    v2.0.0-rc1

role override ui: MDL-8313 refactor the page in preparation for making an non-advanced mode.

commit 258571150e4a2756f2d64b5acde8e0e8d5a21a18
Author: tjhunt <tjhunt>
Date:   Fri, 14 Nov 2008 12:27:16 +0900
Tag:    v2.0.0-rc1

formslib/theme: Make class="advancedbutton" styles generic, so the same styling can be used on non-formslib forms.

commit 9101efd3129184770b3e02dcc4235b0fd5b0cdd1
Author: tjhunt <tjhunt>
Date:   Thu, 13 Nov 2008 17:40:57 +0900
Tag:    v2.0.0-rc1

cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.

commit bef12c997af85dcce30c9f070a8058836f40b464
Author: tjhunt <tjhunt>
Date:   Thu, 13 Nov 2008 17:11:10 +0900
Tag:    v2.0.0-rc1

course settings: MDL-16327 when creating a course, the role renames were not saved.

commit 1e8e46879c50deba57cf03bb2397f9169ac24f62
Author: tjhunt <tjhunt>
Date:   Thu, 13 Nov 2008 13:07:01 +0900
Tag:    v2.0.0-rc1

roles interface: Code reorganisation and adding boilerplate comments.

commit 6a2e5bf3a3832c5d01508c2a4cfe675c24d61c9d
Author: tjhunt <tjhunt>
Date:   Thu, 13 Nov 2008 12:46:04 +0900
Tag:    v2.0.0-rc1

Kill test file that is no longer needed.

commit 40ab508a7e936b2ff994b73052b33f35cae4fbbf
Author: tjhunt <tjhunt>
Date:   Thu, 13 Nov 2008 12:06:20 +0900
Tag:    v2.0.0-rc1

Fix variable name typo.

commit dc191af610b7cc7f5688e43d2b2a31c0ba01ef82
Author: tjhunt <tjhunt>
Date:   Thu, 13 Nov 2008 10:44:29 +0900
Tag:    v2.0.0-rc1

roles explanation: MDL-13538 further interface improvements.

commit f0016b3f44c0e3ef42d3b5d15eabad02a6c6a2af
Author: tjhunt <tjhunt>
Date:   Wed, 12 Nov 2008 23:17:23 +0900
Tag:    v2.0.0-rc1

role override: Fix regression caused by MDL-17070.

commit 7554a120c29d061d82479d191787ba4aca63c61f
Author: tjhunt <tjhunt>
Date:   Wed, 12 Nov 2008 23:00:59 +0900
Tag:    v2.0.0-rc1

XHTML strict typo.

commit 8a8272b0f47060a528b1d34e685f8be13c80be73
Author: tjhunt <tjhunt>
Date:   Wed, 12 Nov 2008 19:13:43 +0900
Tag:    v2.0.0-rc1

roles explanation: MDL-13538 Integrate into the roles tab bar, and improve wording a bit.

commit e8155bc33852cbd895d7f563dbce77246929cbd5
Author: tjhunt <tjhunt>
Date:   Wed, 12 Nov 2008 19:12:33 +0900
Tag:    v2.0.0-rc1

Fix typo.

commit c04d79503e5f2b146babf97ec84e20c0bd73c2b4
Author: tjhunt <tjhunt>
Date:   Wed, 12 Nov 2008 17:28:52 +0900
Tag:    v2.0.0-rc1

Reproduce MDL-17210 in this code, until it is fixed.

commit a6e7237adc2a3c7fa2107a930a45034d29eea40c
Author: tjhunt <tjhunt>
Date:   Wed, 12 Nov 2008 16:55:09 +0900
Tag:    v2.0.0-rc1

roles explanation: MDL-13538 Make a table showing the result of has_capability for every capabiltiy in a context.

commit ad6324b33810ce0dca0dcd6d3cbfc488932054ec
Author: tjhunt <tjhunt>
Date:   Wed, 12 Nov 2008 16:43:58 +0900
Tag:    v2.0.0-rc1

Minor coding clean-ups.

commit 2e3adc25b29ebe08db802881208fd611baf453ab
Author: tjhunt <tjhunt>
Date:   Wed, 12 Nov 2008 10:26:49 +0900
Tag:    v2.0.0-rc1

moodlelib: MDL-17208 user preference caching was causing a notice.

commit 7906379c9ac6489a1e935048813e644f8b795fb8
Author: tjhunt <tjhunt>
Date:   Tue, 11 Nov 2008 16:23:25 +0900
Tag:    v2.0.0-rc1

role assign: MDL-13325 when assigning roles inside front page activites, list all users as potential users.

commit deb39f43824e5a3b118dcc8f75220f533ed09c65
Author: tjhunt <tjhunt>
Date:   Tue, 11 Nov 2008 11:26:03 +0900
Tag:    v2.0.0-rc1

user selector: MDL-16966 Nicer messages when there are too many users to show.

commit 41d3730951fa9f1f4af93c1dd8961598eeaa6f22
Author: tjhunt <tjhunt>
Date:   Mon, 10 Nov 2008 16:56:37 +0900
Tag:    v2.0.0-rc1

random questions: MDL-17185 regression from MDL-17160 random questions were no longer randomising.

commit 339ef4c24617239887c87034c57696842da3617e
Author: tjhunt <tjhunt>
Date:   Fri, 07 Nov 2008 14:50:02 +0900
Tag:    v2.0.0-rc1

random questions: MDL-17160 Adding random questions, maximum option.

commit 8f52ac3708ab5c595bc9fec867dc453e686dbe84
Author: tjhunt <tjhunt>
Date:   Fri, 07 Nov 2008 11:51:47 +0900
Tag:    v2.0.0-rc1

accesslib: MDL-17159 Fix regression I caused with MDL-8312.

commit 06de498b70949468a18714aa5c632e2653ddc741
Author: tjhunt <tjhunt>
Date:   Thu, 06 Nov 2008 17:35:23 +0900
Tag:    v2.0.0-rc1

accesslib: MDL-16549 Now that moodle/site:doanything is not editiable, reset the permissions to default on all roles.

commit 01a80f51e542c4472c9f7808675412fa200ca652
Author: tjhunt <tjhunt>
Date:   Thu, 06 Nov 2008 16:34:01 +0900
Tag:    v2.0.0-rc1

role assign: MDL-8312 Restrict which roles can be assigned at which contextlevels.

commit 37323148d933c89a125f661a00fcc3f27b9cc6d5
Author: tjhunt <tjhunt>
Date:   Thu, 06 Nov 2008 16:17:34 +0900
Tag:    v2.0.0-rc1

backup: MDL-17145 And actually copy the backup file there!

commit 23098cd956b3ef5a79dfc8515bd233c14f847531
Author: tjhunt <tjhunt>
Date:   Thu, 06 Nov 2008 15:49:33 +0900
Tag:    v2.0.0-rc1

backup: MDL-17145 When a backup completes, send users to the backup file area

commit 3d05fc13654b1948be6151e1a6804882375ba708
Author: tjhunt <tjhunt>
Date:   Thu, 06 Nov 2008 15:13:09 +0900
Tag:    v2.0.0-rc1

quiz results block: MDL-17137 block_quiz_results: manager links to group/overview are wrong.

commit 9d07ec29dc1f518151d7d0f942267b4b028fbd44
Author: tjhunt <tjhunt>
Date:   Thu, 06 Nov 2008 15:09:14 +0900
Tag:    v2.0.0-rc1

user selector: MDL-16966 Nicer handling of the situation where there are no users at all.

commit fcaa214b6ea18ae7459fd0c1f488e046be525fd8
Author: tjhunt <tjhunt>
Date:   Thu, 06 Nov 2008 14:54:46 +0900
Tag:    v2.0.0-rc1

user selector: MDL-16966 Properly preserce the enrolment start option through page reloads.

commit e98c64a6e1f6aa34b3e25c77c2e673e1906f7e43
Author: tjhunt <tjhunt>
Date:   Thu, 06 Nov 2008 13:10:22 +0900
Tag:    v2.0.0-rc1

generator: Fix to use role_assign, rather than screwing with the role_assignments table directly.

commit faf75fe715a23d9228f59c62a3a306a39af899b4
Author: tjhunt <tjhunt>
Date:   Wed, 05 Nov 2008 17:17:30 +0900
Tag:    v2.0.0-rc1

role overrides: MDL-17070 Improve override roles page to match the recent usability improvements on the assign page.

commit 4568bf99a87e3ad7788737fe9b27f2fe41dca1da
Author: tjhunt <tjhunt>
Date:   Wed, 05 Nov 2008 17:10:17 +0900
Tag:    v2.0.0-rc1

Fix misleading comment.

commit 5db2027e7bcea2c020eec6dc31ac677323eef8e7
Author: tjhunt <tjhunt>
Date:   Wed, 05 Nov 2008 12:55:44 +0900
Tag:    v2.0.0-rc1

Fix alphabetical order among the cannot... strings, and fix one typo.

commit 1acd8f50f7c2345828ac832729eec27794c03af1
Author: tjhunt <tjhunt>
Date:   Wed, 05 Nov 2008 11:16:07 +0900
Tag:    v2.0.0-rc1

user selector: MDL-16966 Work round IE bug. Also, deal with reload case.

commit 2660377f72ec22643b3fa58ad95651cd421b5b66
Author: tjhunt <tjhunt>
Date:   Tue, 04 Nov 2008 19:49:31 +0900
Tag:    v2.0.0-rc1

user preferences: MDL-17123 cope correctly with multiple sessions.

commit 2bea836d9bca3c8e9c608f2b018cae7461628656
Author: tjhunt <tjhunt>
Date:   Tue, 04 Nov 2008 19:08:37 +0900
Tag:    v2.0.0-rc1

user selector: MDL-16966 Minor code cleanup.

commit e7b7583cc372554731c9c0a2b4432c129ee26a86
Author: tjhunt <tjhunt>
Date:   Tue, 04 Nov 2008 18:14:03 +0900
Tag:    v2.0.0-rc1

user selection: MDL-17073 add options to control the search in a collapsible region - Fix IE layout glitch.

commit 1ae7210784a19e34d7bd174d387de526e5eba670
Author: tjhunt <tjhunt>
Date:   Tue, 04 Nov 2008 18:13:41 +0900
Tag:    v2.0.0-rc1

user selector: MDL-16966 use a JavaScrip event name that works cross-browser for watching the check-boxes.

commit 4099f71f12125946297f52a3b0488d1db52dfb42
Author: tjhunt <tjhunt>
Date:   Tue, 04 Nov 2008 16:51:49 +0900
Tag:    v2.0.0-rc1

user selection: MDL-17073 add options to control the search in a collapsible region - Fix JavaScript error.

commit 09c660e407e769962ac7a77642a97765a5768deb
Author: tjhunt <tjhunt>
Date:   Tue, 04 Nov 2008 16:26:32 +0900
Tag:    v2.0.0-rc1

user selection: MDL-17072 Polishing the role assign page: Do processing before print_header in line with best practice.

commit cf0a341faf9cff73bd9aeed94ca8fc47da39f490
Author: tjhunt <tjhunt>
Date:   Tue, 04 Nov 2008 16:25:43 +0900
Tag:    v2.0.0-rc1

Slight tidy up for how the JS is included and initialised.

commit cca4c120dde3e5a4990e4f5a381f3e82db415515
Author: tjhunt <tjhunt>
Date:   Tue, 04 Nov 2008 16:24:07 +0900
Tag:    v2.0.0-rc1

user selection: MDL-17073 add options to control the search in a collapsible region - fix the preserve-selected option.

commit c679952e09a3f6d84f5dbb1b6ebe2bbbfa407e84
Author: tjhunt <tjhunt>
Date:   Tue, 04 Nov 2008 16:22:23 +0900
Tag:    v2.0.0-rc1

weblib: MDL-17085 a function to print a collapsible region of the UI, with the collapsed state stored in a user_perference - minor layout improvements for IE.

commit 67c8a3e870ab2a06d1636939f50c27011bda655e
Author: tjhunt <tjhunt>
Date:   Tue, 04 Nov 2008 14:12:12 +0900
Tag:    v2.0.0-rc1

user selection: MDL-17073 add options to control the search in a collapsible region.

commit 904998d8f9ce45856a356565089cbd3854bed346
Author: tjhunt <tjhunt>
Date:   Tue, 04 Nov 2008 14:12:12 +0900
Tag:    v2.0.0-rc1

user selection: MDL-17073 add options to control the search in a collapsible region.

commit c9e4326c3944ae9609934a10332169552ea55c12
Author: tjhunt <tjhunt>
Date:   Mon, 03 Nov 2008 15:42:41 +0900
Tag:    v2.0.0-rc1

user selection: MDL-17073 Clear button next to the search box

commit c9f8e118c9b53f5a08b14f524290c907dd9ab285
Author: tjhunt <tjhunt>
Date:   Mon, 03 Nov 2008 15:06:08 +0900
Tag:    v2.0.0-rc1

user selection: MDL-17072 Polishing the role assign page: * Make the role being assigned clear in the title * Make the options in the middle of the page be in a collapsable options section, collapsed by default. * Put them in a smaller font too. * Switch the date selectors here to use a shorter date format, and change 'Course start date' to 'Course start'.

commit 5f1ae48d2c2d15ddc594c04cad0f781d062783da
Author: tjhunt <tjhunt>
Date:   Mon, 03 Nov 2008 15:04:41 +0900
Tag:    v2.0.0-rc1

weblib: MDL-17085 a function to print a collapsible region of the UI, with the collapsed state stored in a user_perference - improve the images by giving them a transparent background.

commit 512c5901fe3ea7d69c0a3e8c10cde6fbc703bd3a
Author: tjhunt <tjhunt>
Date:   Mon, 03 Nov 2008 14:27:10 +0900
Tag:    v2.0.0-rc1

weblib: MDL-17085 a function to print a collapsible region of the UI, with the collapsed state stored in a user_perference - I forgot the PHP docs before.

commit f2eb500238614fc5c0a5fb4d18f91b4318d0226a
Author: tjhunt <tjhunt>
Date:   Mon, 03 Nov 2008 14:04:23 +0900
Tag:    v2.0.0-rc1

weblib: MDL-17085 a function to print a collapsible region of the UI, with the collapsed state stored in a user_perference.

commit 71ef68225959ce04db0366234d9b007400d92c13
Author: tjhunt <tjhunt>
Date:   Mon, 03 Nov 2008 14:03:00 +0900
Tag:    v2.0.0-rc1

user selector: MDL-16996- followup - change optgroup label escaping funciton to keep Nicolas Martignoni happy. I can's say I full understand this issue.

commit 3b0bf2e4dde509ac2a781de73c399114b6b5f66a
Author: tjhunt <tjhunt>
Date:   Fri, 31 Oct 2008 17:45:35 +0900
Tag:    v2.0.0-rc1

ajax: MDL-17086 Add a CSS class name to <body> when JavaScript is enabled

commit bd1884fe6b41ed31b652176e3c5c3ea80b221ed2
Author: tjhunt <tjhunt>
Date:   Fri, 31 Oct 2008 17:25:19 +0900
Tag:    v2.0.0-rc1

ajax: MDL-17084 provide a way for JavaScript to update user preferences.

commit 6cab02ac52a1ce778c57070171c89a2ac26c366f
Author: tjhunt <tjhunt>
Date:   Thu, 30 Oct 2008 19:49:15 +0900
Tag:    v2.0.0-rc1

user selection: MDL-16993 Convert the assign roles page to use the new components.

commit 96f1a7a2657fad31483421678253f00b699dd6e3
Author: tjhunt <tjhunt>
Date:   Thu, 30 Oct 2008 15:26:18 +0900
Tag:    v2.0.0-rc1

roles admin: Improve the usability of the assign roles interface - this is the first half of the work. Part of MDL-16993.

commit c644cdb65880101183daf05b8805a8ad00f89c3c
Author: tjhunt <tjhunt>
Date:   Thu, 30 Oct 2008 15:21:38 +0900
Tag:    v2.0.0-rc1

user selection: MDL-16966 Improve some of the wording - forgot to commit the lang strings when I did the other bits.

commit 8bb8a8b43c47993bffc1fbb0514efbb71a361ff1
Author: tjhunt <tjhunt>
Date:   Thu, 30 Oct 2008 13:20:03 +0900
Tag:    v2.0.0-rc1

print_table: allow headings to span multiple columns.

commit 73064df8f71ed7b5e1cbf43eaaf70aa6d52877ca
Author: tjhunt <tjhunt>
Date:   Thu, 30 Oct 2008 12:56:48 +0900
Tag:    v2.0.0-rc1

user selection: Make inserting the search term into lang strings in JavaScript more robust.

commit 7b553c8b58fcc057c33438e6465af976d6a7b35b
Author: tjhunt <tjhunt>
Date:   Thu, 30 Oct 2008 12:00:20 +0900
Tag:    v2.0.0-rc1

course editing: MDL-17066 Assign roles icon next to activities when editing is on does not have a tool-tip

commit aa9671c9906d184c01ebf719189d5a506bc25f45
Author: tjhunt <tjhunt>
Date:   Wed, 29 Oct 2008 18:10:41 +0900
Tag:    v2.0.0-rc1

user selection: MDL-16966 Improve some of the wording.

commit 6d5a0e939f14d19825640479bf563d1969da89e9
Author: tjhunt <tjhunt>
Date:   Wed, 29 Oct 2008 17:39:33 +0900
Tag:    v2.0.0-rc1

random course generator: Helpful comment at the top of the file.

commit 9787301687423db8a4240a808728b7ac01e94c46
Author: tjhunt <tjhunt>
Date:   Wed, 29 Oct 2008 17:18:24 +0900
Tag:    v2.0.0-rc1

user selection: MDL-16994 Improve the user selector used on the assign roles and group memebers pages - Convert the group memebership page.

commit e4749fcc0843e8df218a645b3d29fb8eca2c7158
Author: tjhunt <tjhunt>
Date:   Wed, 29 Oct 2008 17:17:18 +0900
Tag:    v2.0.0-rc1

Make developer debug mode available to JavaScript.

commit 10e99feaa2869643e4dba091597b20a4d8aa4b53
Author: tjhunt <tjhunt>
Date:   Wed, 29 Oct 2008 15:54:32 +0900
Tag:    v2.0.0-rc1

Fix and improve error message.

commit f1303e9262029a9f0399865a1ce0d7ce7da91cc2
Author: tjhunt <tjhunt>
Date:   Wed, 29 Oct 2008 14:50:03 +0900
Tag:    v2.0.0-rc1

Fix whitespace.

commit f771be2787f2a8657fe56fd7da9faa4af39ec078
Author: tjhunt <tjhunt>
Date:   Wed, 29 Oct 2008 14:09:18 +0900
Tag:    v2.0.0-rc1

user selection: MDL-17053 Improve the user selector used on the assign roles and group memebers pages - Make single user select mode work properly.

commit 26b773ec53dac1b773218f24d6d44051f3e0536b
Author: tjhunt <tjhunt>
Date:   Wed, 29 Oct 2008 13:40:34 +0900
Tag:    v2.0.0-rc1

user selection: MDL-17054 Improve the user selector used on the assign roles and group memebers pages - fire an event when the selection becomes empty/not-empty.

commit 0696bafa737bc81503e2b56aa7787ac80834945a
Author: tjhunt <tjhunt>
Date:   Wed, 29 Oct 2008 10:33:26 +0900
Tag:    v2.0.0-rc1

participants list: MDL-17055 temporary fix for this regression. Do the DISTINCT bit in PHP rather than SQL.

commit d56f9e659dd921157435ad4e4e68574a687af382
Author: tjhunt <tjhunt>
Date:   Tue, 28 Oct 2008 15:51:36 +0900
Tag:    v2.0.0-rc1

user selection: MDL-16996 Improve the user selector used on the assign roles and group memebers pages - Write the JavaScript to do the Ajax requests and update the list of users.

commit b61d8ee50dbcdfd14f55af93d12e42f6751b37ff
Author: tjhunt <tjhunt>
Date:   Tue, 28 Oct 2008 15:49:58 +0900
Tag:    v2.0.0-rc1

roles interface: MDL-16965 make a view that explains the has_capability calculation for a given capability in a given context for a given user - I forgot to check in the language strings before.

commit 5e8d809bd4aa98c0a1ce3f57f105bd9781e8c0b3
Author: tjhunt <tjhunt>
Date:   Tue, 28 Oct 2008 15:48:16 +0900
Tag:    v2.0.0-rc1

xmldb checks: MDL-16975 refactor the various checks to eliminate duplicated code - I forgot to check in the language strings before.

commit da012eb63ae4b34d037d80c6370f4543fc47898e
Author: tjhunt <tjhunt>
Date:   Tue, 28 Oct 2008 08:36:07 +0900
Tag:    v2.0.0-rc1

qtype multichoice: MDL-17029 - followup - revert my overzealous copying and pasting. Thanks to Myles Carrick for noticing my mistake.

commit f05c20fb4400085381c0a17c0917997a60424cf6
Author: tjhunt <tjhunt>
Date:   Mon, 27 Oct 2008 17:37:50 +0900
Tag:    v2.0.0-rc1

user selection: MDL-16995 Improve the user selector used on the assign roles and group memebers pages - Implement search.php which does the work for ajax requests.

commit 64d2d01cfe5bfe1a4db642aec652053e472c17ad
Author: tjhunt <tjhunt>
Date:   Mon, 27 Oct 2008 16:40:57 +0900
Tag:    v2.0.0-rc1

user selection: MDL-16992 Improve the user selector used on the assign roles and group memebers pages - Create a base class.

commit bbcf5711472b2b54943a6f6e55160c5e7b4d4a40
Author: tjhunt <tjhunt>
Date:   Mon, 27 Oct 2008 16:30:44 +0900
Tag:    v2.0.0-rc1

user selection: MDL-16992 Improve the user selector used on the assign roles and group memebers pages - Create a base class.

commit 4b31ac5cd178400dc489937f5274c7f1fdcf9646
Author: tjhunt <tjhunt>
Date:   Mon, 27 Oct 2008 13:23:23 +0900
Tag:    v2.0.0-rc1

qtype multichoice: MDL-17029 answernumbering option was not being backed up or restored.

commit 6cfa5ec17da7c33582195faeb566e0314bd4c5fb
Author: tjhunt <tjhunt>
Date:   Mon, 27 Oct 2008 11:33:34 +0900
Tag:    v2.0.0-rc1

qtype match: MDL-16450 Change validation so it is possible to create matching questions with two stems and three answers.

commit 99cd2f77bb2f768091e5ea1a4768f3991b925642
Author: tjhunt <tjhunt>
Date:   Fri, 24 Oct 2008 14:41:50 +0800
Tag:    v2.0.0-rc1

user selection: MDL-16991 Improve the user selector used on the assign roles and group memebers pages - Create admin setting

commit 6ff2be37f55277d17f48142b47097b151778458e
Author: tjhunt <tjhunt>
Date:   Fri, 24 Oct 2008 10:53:51 +0800
Tag:    v2.0.0-rc1

moodlelib iprange checks: MDL-16986 If the user makes a mistake and types something like 172.16.1.143/148, with something greater than 32 after the slash, treat it as /32.

commit 41c96651b5436a657f27b191e0df7d2f995d2068
Author: tjhunt <tjhunt>
Date:   Thu, 23 Oct 2008 17:23:52 +0800
Tag:    v2.0.0-rc1

question bank category editing: To be honest, I can't rememeber exactly what bug this fixes, but it was a problem I found and fixed while preparing to demo stuff at the Brisbane Moodle Moot. In the process of fixing whatever issue it was (I think it was something to do with the permissions checks in some cases) I cleaned to code up and made it easier to understand, and I trust myself, so I am checking this in.

commit ef33a9cd374ae8e1034895fe0fa8f168953a4f7d
Author: tjhunt <tjhunt>
Date:   Thu, 23 Oct 2008 17:17:50 +0800
Tag:    v2.0.0-rc1

Question bank: error when deleting empty categories.

commit 8e2d826b1512803291eff1f3dc1a85ca93a7dde8
Author: tjhunt <tjhunt>
Date:   Thu, 23 Oct 2008 17:05:37 +0800
Tag:    v2.0.0-rc1

file/link resource: Fix notice.

commit 4f8190a59fc401e05dbe899f991b713d27bf8c1c
Author: tjhunt <tjhunt>
Date:   Thu, 23 Oct 2008 17:04:52 +0800
Tag:    v2.0.0-rc1

listlib: off-by-one error. I found this while preparing my Brisbane MoodleMoot demo. It was causing notices on the question bank page, or something like that.

commit 8c901fb816ede9a5a89c05196cfd8260265030c3
Author: tjhunt <tjhunt>
Date:   Thu, 23 Oct 2008 16:32:12 +0800
Tag:    v2.0.0-rc1

xmldb checks: MDL-16976 write a check that finds rows that violate the foreign key constraints.

commit 9f5e5dee97837d889f408f2f6eb4a491903d2eda
Author: tjhunt <tjhunt>
Date:   Thu, 23 Oct 2008 16:30:43 +0800
Tag:    v2.0.0-rc1

xmldb checks: MDL-16975 refactor the various checks to eliminate duplicated code.

commit 8409cec0dfd904bb0bcd3b0a808d6babacff3f5b
Author: tjhunt <tjhunt>
Date:   Thu, 23 Oct 2008 15:30:12 +0800
Tag:    v2.0.0-rc1

qtype database definitions: MDL-16978 Lots of foreign key definitions in install.xml files erroniously link to the questions table. It should be question.

commit 921c07e5b1e81191173a44511f84646b587d70ba
Author: tjhunt <tjhunt>
Date:   Wed, 22 Oct 2008 18:26:45 +0800
Tag:    v2.0.0-rc1

quiz attempt javascript: MDL-16833 the javascript that stops enter from submitting the forum in quiz attempts was broken in HEAD.

commit d0d2d9733702603d1e481fa9d9c152c362b8aa4d
Author: tjhunt <tjhunt>
Date:   Wed, 22 Oct 2008 18:24:26 +0800
Tag:    v2.0.0-rc1

admin tree: remove spurious space.

commit 98bcd9d1ffe24bd19a23f3d96851549a82f1a3bc
Author: tjhunt <tjhunt>
Date:   Wed, 22 Oct 2008 17:48:16 +0800
Tag:    v2.0.0-rc1

roles interface: MDL-16965 make a view that explains the has_capability calculation for a given capability in a given context for a given user, like on http://docs.moodle.org/en/How_permissions_are_calculated.

commit 03043a3313876e116d5e72b5cac178c23128c020
Author: tjhunt <tjhunt>
Date:   Tue, 21 Oct 2008 16:20:51 +0800
Tag:    v2.0.0-rc1

quiz timer: MDL-16490 stop the timer when a page is submitted, to avoid nasty double-submission problems.

commit 834f7c4a5a07e71bb526bcf943db357073377a01
Author: tjhunt <tjhunt>
Date:   Tue, 21 Oct 2008 14:34:14 +0800
Tag:    v2.0.0-rc1

qtype description: MDL-16863 Put back edit icon next to descriptions for teachers.

commit a0a88627cc79602c25710afa8dab4998d491d5b0
Author: tjhunt <tjhunt>
Date:   Tue, 21 Oct 2008 14:22:16 +0800
Tag:    v2.0.0-rc1

Remove obsolete method.

commit 78268862d303d4e9490df081e013015fc47ce107
Author: tjhunt <tjhunt>
Date:   Tue, 21 Oct 2008 13:45:39 +0800
Tag:    v2.0.0-rc1

quiz reports: MDL-16948 SQL does not work in Oracle - you are not allowed to refer to output column names in GROUP BY. Fix thanks to Francois Marier.

commit c6106dd9b7fddb26a86fe0a38b30aa5633bb41be
Author: tjhunt <tjhunt>
Date:   Sun, 28 Sep 2008 16:59:50 +0800
Tag:    v2.0.0-rc1

MDL-16720 The edit icon in the quiz preview screen pops up the edit form in a window that is too small

commit 949cf26cc2552fd4f2d425b67eaa6a2ba7ded92f
Author: tjhunt <tjhunt>
Date:   Sun, 28 Sep 2008 16:21:58 +0800
Tag:    v2.0.0-rc1

Fix comment.

commit 7a1f5e932adf3ef81b2b90f313c2d6e2ab617c67
Author: tjhunt <tjhunt>
Date:   Fri, 26 Sep 2008 19:24:52 +0800
Tag:    v2.0.0-rc1

MDL-16706 - eliminate miscellaneous inine JavaScript A few easy files in lib.

commit 293050010463553284f7a81c760c2edff01874b6
Author: tjhunt <tjhunt>
Date:   Fri, 26 Sep 2008 18:49:31 +0800
Tag:    v2.0.0-rc1

MDL-16706 - eliminate miscellaneous inine JavaScript This does the quiz (apart from the bloody 'secure' window), the question bank and a couple of others.

commit 61a828842eaac1bc42c7daf67f38ccb2b7299525
Author: tjhunt <tjhunt>
Date:   Fri, 26 Sep 2008 16:22:46 +0800
Tag:    v2.0.0-rc1

MDL-16702 Remove unnecessary JavaScript from bulk user enrol page

commit 1a22e3195468af52096bad352ffa4ca0146f259a
Author: tjhunt <tjhunt>
Date:   Fri, 26 Sep 2008 16:22:16 +0800
Tag:    v2.0.0-rc1

MDL-16583 switch to print_js_call

commit 3493eb15911fdc6a1d903fd57caf00a04fdc36b4
Author: tjhunt <tjhunt>
Date:   Fri, 26 Sep 2008 15:24:31 +0800
Tag:    v2.0.0-rc1

Fix whitespace.

commit 192a0a698b7995ec199a4a5fd766e260f362f393
Author: tjhunt <tjhunt>
Date:   Fri, 26 Sep 2008 15:17:40 +0800
Tag:    v2.0.0-rc1

Fix whitespace.

commit 1b63d34db7d3df895f202b6cf6245c39dc70da7c
Author: tjhunt <tjhunt>
Date:   Fri, 26 Sep 2008 14:50:31 +0800
Tag:    v2.0.0-rc1

MDL-16605 Add an ajaxy search box on the define/override roles screen to help find the capability you want

commit 2ddba27f0a5b6c1a587a93f71995d4ebcb2bafd2
Author: tjhunt <tjhunt>
Date:   Fri, 26 Sep 2008 13:57:55 +0800
Tag:    v2.0.0-rc1

Correct comment.

commit b1bc88dbb366c181c200e3bece129f0172a08dbe
Author: tjhunt <tjhunt>
Date:   Fri, 26 Sep 2008 13:15:39 +0800
Tag:    v2.0.0-rc1

XHTML strict.

commit 30f09308b9db2ebec3f7cc927f735a0a72371f28
Author: tjhunt <tjhunt>
Date:   Fri, 26 Sep 2008 11:14:05 +0800
Tag:    v2.0.0-rc1

MDL-16683 - add 5/6 as a grading option. Also, make all these optoins 7 decimal places, to match what we store in the DB, and explaing the 'rationale' behind the list.

commit 10e24786f9a7d5585c7df4d953084375c25941a4
Author: tjhunt <tjhunt>
Date:   Fri, 26 Sep 2008 11:10:56 +0800
Tag:    v2.0.0-rc1

Sorry, I committed some debug code yesterday.

commit 740939ec61b1ae35ff87b30ef8661da8e2be23e3
Author: tjhunt <tjhunt>
Date:   Thu, 25 Sep 2008 18:07:11 +0800
Tag:    v2.0.0-rc1

MDL-16654 Move javascript used by the emoticons help file from javascript.php to javascript-static.js. Fix it so that it actually works.

commit 16851b22ad816cd83cecf7876ac3ccf5dc3d0b96
Author: tjhunt <tjhunt>
Date:   Thu, 25 Sep 2008 18:04:01 +0800
Tag:    v2.0.0-rc1

MDL-16676 All references to the text.html and emoticons.html files need to be updated to point to text2.html and emoticons2.html

commit 90507d7ec42b871ab86fd6263d434fb8c18382e1
Author: tjhunt <tjhunt>
Date:   Thu, 25 Sep 2008 17:03:09 +0800
Tag:    v2.0.0-rc1

Fix HTML validity of some help files.

commit 2aa98ea846033569f4678e442183eb6415a85515
Author: tjhunt <tjhunt>
Date:   Thu, 25 Sep 2008 16:05:07 +0800
Tag:    v2.0.0-rc1

Fix HTML validity of some help files.

commit 59a69636999c3340b857896e566eb545bf93e106
Author: tjhunt <tjhunt>
Date:   Thu, 25 Sep 2008 15:51:31 +0800
Tag:    v2.0.0-rc1

Fix HTML validity of some help files.

commit 7e76b9e8db292315124aac327a81c0b24ad8c446
Author: tjhunt <tjhunt>
Date:   Thu, 25 Sep 2008 15:33:47 +0800
Tag:    v2.0.0-rc1

Fix HTML validity of some help files.

commit 2ca22c727b59f8026943f8ec6159574a40d8b2ca
Author: tjhunt <tjhunt>
Date:   Thu, 25 Sep 2008 15:29:32 +0800
Tag:    v2.0.0-rc1

Fix HTML validity of some help files.

commit 1f193b9f1153355af32b677f9dc8c4d827c89330
Author: tjhunt <tjhunt>
Date:   Thu, 25 Sep 2008 15:20:32 +0800
Tag:    v2.0.0-rc1

Fix HTML validity of some help files.

commit 4225e68f8839ab16a132233a0087856f1290f17f
Author: tjhunt <tjhunt>
Date:   Thu, 25 Sep 2008 15:13:46 +0800
Tag:    v2.0.0-rc1

MDL-16676 Developer debug warning if you refer to the old text.html help file.

commit 80f69dc0ee2483fa911ad261198de922188b22cb
Author: tjhunt <tjhunt>
Date:   Thu, 25 Sep 2008 15:12:46 +0800
Tag:    v2.0.0-rc1

MDL-16676 All references to the text.html and emoticons.html files need to be updated to point to text2.html and emoticons2.html

commit ac324e05ea3c44e77810249a5ac67b95610c19f7
Author: tjhunt <tjhunt>
Date:   Thu, 25 Sep 2008 14:40:52 +0800
Tag:    v2.0.0-rc1

MDL-16675 change callers to require_js to take advantage of the fact that callers no longer have to add $CFG->wwwroot themselves.

commit e874af28cea31ac551d5070aea66e42dbeaaa233
Author: tjhunt <tjhunt>
Date:   Thu, 25 Sep 2008 14:29:28 +0800
Tag:    v2.0.0-rc1

MDL-16583 Make require_js accept library names like lib/javascript-static.js without the caller having to fiddle around with $CFG->wwwroot themselves.

commit 1bab4e784d9890bff1bb2493e49e6fabc2f371b4
Author: tjhunt <tjhunt>
Date:   Thu, 25 Sep 2008 11:43:57 +0800
Tag:    v2.0.0-rc1

Delete code that has been commented out for over 18 months.

commit 77241d9bd17072a41eddce67fe8701d99c9b2af8
Author: tjhunt <tjhunt>
Date:   Thu, 25 Sep 2008 11:14:24 +0800
Tag:    v2.0.0-rc1

MDL-16671 - Move openpopup out of javascript.php and in to javascript-static.js

commit 830c58b7e344aacbd0a4a2b451bec96bf94350fe
Author: tjhunt <tjhunt>
Date:   Thu, 25 Sep 2008 11:11:33 +0800
Tag:    v2.0.0-rc1

MDL-16672 Output a standard set of config variables into JavaScript on every page.

commit c849ed1e1e82399a21c4241e9e89dc12717561f4
Author: tjhunt <tjhunt>
Date:   Wed, 24 Sep 2008 17:32:46 +0800
Tag:    v2.0.0-rc1

MDL-16583 - Clean up javascript: Move some static scripts out of javascript.php and into javascript-static.js. Also, ensure the HTML editor JS is only included if the user has chosen to use the HTML editor.

commit bef45cd3fd301f27a1b96e85864737270e4c4ff9
Author: tjhunt <tjhunt>
Date:   Tue, 23 Sep 2008 17:59:18 +0800
Tag:    v2.0.0-rc1

MDL-16630 - Change admintree JavaScript to move the code out of the page, and into a separate .js file

commit 739b07112e32142de14e32ad9e67466ef6c2f03f
Author: tjhunt <tjhunt>
Date:   Tue, 23 Sep 2008 15:18:15 +0800
Tag:    v2.0.0-rc1

MDL-16625 Detection of whether a quiz has grades was broken in HEAD. 1. Fix this by factoring out a quiz_has_grades function. 2. Fix the quiz unit tests. 3. Fix quiz_has_feedback to return false for ungraded quizzes. 4. Fix use of get_records to do record_exists in quiz reports.

commit 7264519e3f988fc4b66b067534eee0c9340076b8
Author: tjhunt <tjhunt>
Date:   Tue, 23 Sep 2008 15:00:59 +0800
Tag:    v2.0.0-rc1

MDL-16583 - Clean up some fo the places we link to javascript files, to use require_js

commit 3a4f0a34f5eb9cf1936d7499c9969ae76a06037d
Author: tjhunt <tjhunt>
Date:   Tue, 23 Sep 2008 13:18:42 +0800
Tag:    v2.0.0-rc1

MDL-13894 Impoved fix with less duplicated code, no notices displayed before you get to the 'New settings' screen, and named constants instead of magic numbers.

commit d583bff0fcd79b24f5dc4dcc0f0d505f59ac64ba
Author: tjhunt <tjhunt>
Date:   Tue, 23 Sep 2008 10:56:46 +0800
Tag:    v2.0.0-rc1

Update to use print_js_config.

commit aa41944f233cf4efd2c261122e06de0d5a6f0d7a
Author: tjhunt <tjhunt>
Date:   Fri, 19 Sep 2008 21:37:33 +0800
Tag:    v2.0.0-rc1

Commit the print_js_config, so people can see it as the read http://moodle.org/mod/forum/discuss.php?d=106312

commit ea16a91d2ef32bd53ef7d938ba383a5eaf5cca46
Author: tjhunt <tjhunt>
Date:   Fri, 19 Sep 2008 12:54:49 +0800
Tag:    v2.0.0-rc1

MDL-12391 Prevent browser autocomplete in the quiz. Acutally, there was already code trying to do that, but it was not working. Fix it in HEAD only, because it is not a big deal, and so much has changed, it is not an easy back-port.

commit ddf977898c74bb0dcc96cffbaaca0da0652fb658
Author: tjhunt <tjhunt>
Date:   Fri, 19 Sep 2008 12:53:03 +0800
Tag:    v2.0.0-rc1

Clean up code in a couple of places by using my print_js_call function.

commit 78b5eb25c8e9974ed7e2cce02de13fe8c15b3d32
Author: tjhunt <tjhunt>
Date:   Fri, 19 Sep 2008 12:51:47 +0800
Tag:    v2.0.0-rc1

New function to make it easy when you just want to call one JavaScript function, so you don't have to worry about constructing the script tag yourself. I did this in the context of MDL-12391, but I think it is generally userful.

commit a1f6db1775f1d1223d06720fa22ba10a14f3cfd1
Author: tjhunt <tjhunt>
Date:   Thu, 18 Sep 2008 20:47:12 +0800
Tag:    v2.0.0-rc1

Nasty hack fix for MDL-16567 - I am hoping Jamie will come up with a proper fix soon, but I am about to demo this.

commit e26ba4d849020aedbac1cd5a624f824ab695f5f7
Author: tjhunt <tjhunt>
Date:   Thu, 18 Sep 2008 20:45:50 +0800
Tag:    v2.0.0-rc1

MDL-6751 - qtype admin page layout improvement.

commit 1a41e80653c1546cbd9557da9634c41c6fcec4a7
Author: tjhunt <tjhunt>
Date:   Thu, 18 Sep 2008 18:23:03 +0800
Tag:    v2.0.0-rc1

MDL-16564 upate javadocs.

commit 7fb0303d8989d0bd8a4752887db7aaab16f492a0
Author: tjhunt <tjhunt>
Date:   Thu, 18 Sep 2008 17:55:04 +0800
Tag:    v2.0.0-rc1

MDL-16564 Make admin settings work better with the cnfig_plugins table. Also, take the opportunity to take the quiz-specific stuff out of adminlib.php, to make Petr happy.

commit c215d9d4f259138fbc179dddee3ee0c6c4c5367b
Author: tjhunt <tjhunt>
Date:   Thu, 18 Sep 2008 16:21:57 +0800
Tag:    v2.0.0-rc1

XHTML Strict!

commit 766df8f72b64a573d3dee3da688df0fc93f66476
Author: tjhunt <tjhunt>
Date:   Thu, 18 Sep 2008 15:39:10 +0800
Tag:    v2.0.0-rc1

MDL-16334 Convert mod/quiz/comment.php to use attemptlib.php - final part of the work on the quiz navigtion, I hope. MDL-16559 Remove question/comment.html template, and instead just have a function in questionlib.php MDL-16562 Regression from MDL-16263, notices when regrading. Sorry, the three got tangled together (coupled through questionlib) while I was fixing bugs in preparation for a demo.

commit 829eabfec2fcf31469ee0d97ad6a048984f5564a
Author: tjhunt <tjhunt>
Date:   Thu, 18 Sep 2008 15:34:45 +0800
Tag:    v2.0.0-rc1

New option on close_window_button to reload the page that opened this pop-up, as the pop-up is closed. Needed in preparation for MDL-16334.

commit 8033d8423fcbec738514910b2fa765863093c792
Author: tjhunt <tjhunt>
Date:   Thu, 18 Sep 2008 12:33:38 +0800
Tag:    v2.0.0-rc1

Minor bug fixes.

commit 1aea04dcbfbd95dfac03441e0d91f877ab7e1248
Author: tjhunt <tjhunt>
Date:   Thu, 18 Sep 2008 12:31:11 +0800
Tag:    v2.0.0-rc1

MDL-15452 quiz navigation - followup - avoid a division by 0.

commit 80f1f76e50312d5004bdf098bb2c73f3ea543033
Author: tjhunt <tjhunt>
Date:   Thu, 18 Sep 2008 10:46:06 +0800
Tag:    v2.0.0-rc1

MDL-16411 - fix qtype admin page to look in the new place for version numbers.

commit 98e82289b3ea8b42e7911154349f0034de69c671
Author: tjhunt <tjhunt>
Date:   Wed, 17 Sep 2008 13:24:29 +0800
Tag:    v2.0.0-rc1

MDL-16505 - Removing qtype_datasetdependent questiontype - finish off the database upgrade, after Pierre's previous work.

commit fa7bec7bef4413757c3f6b96f9e4093ff258be93
Author: tjhunt <tjhunt>
Date:   Mon, 15 Sep 2008 12:21:15 +0800
Tag:    v2.0.0-rc1

Turn off strict XML headers during upgrade, so if an error occurrs, you are more likely to be able to see what happened.

commit 4906997bbb214a483560ec3be820150d5bb44622
Author: tjhunt <tjhunt>
Date:   Mon, 15 Sep 2008 12:20:23 +0800
Tag:    v2.0.0-rc1

MDL-16492: the fix for MDL-16411 broke the fix for MDL-16200. Fix it.

commit 61d04bcc46b9baaaf754dff14b13b73ea0ce1d35
Author: tjhunt <tjhunt>
Date:   Fri, 12 Sep 2008 13:18:27 +0800
Tag:    v2.0.0-rc1

MDL-15632 Wrong permission in the admin tree defininition mean that people with moodle/role:manage could not define role, and people with moodle/role:assign could not assign system roles.

commit c861c8ac82f055e5bfb5834bf448aaf3716558d9
Author: tjhunt <tjhunt>
Date:   Thu, 11 Sep 2008 19:07:04 +0800
Tag:    v2.0.0-rc1

MDL-6751 improve the usability of the page a bit.

commit 4b600aa005ea8460489993d22a9e241f1e1d4e22
Author: tjhunt <tjhunt>
Date:   Thu, 11 Sep 2008 19:01:20 +0800
Tag:    v2.0.0-rc1

MDL-16410 Implement the delete question type functionality on the question type administration screen.

commit ad4cd8374aa7defe6c86b5cb24e1540c0583a618
Author: tjhunt <tjhunt>
Date:   Thu, 11 Sep 2008 18:37:50 +0800
Tag:    v2.0.0-rc1

Improve comment.

commit 0dc48e713285a62b9c17b77084fa4f64a43db40c
Author: tjhunt <tjhunt>
Date:   Thu, 11 Sep 2008 18:25:30 +0800
Tag:    v2.0.0-rc1

MDL-16456 Remove support for old-style config.html files in modules.

commit 1d1ca5ef85d1146d30f0cec44f7b1e4ca9c028b4
Author: tjhunt <tjhunt>
Date:   Thu, 11 Sep 2008 18:22:22 +0800
Tag:    v2.0.0-rc1

MDL-16457 Remove support for old-style filterconfig.html files

commit e6b6b2bb73c96cae2468d0bed871fe029af5c5c4
Author: tjhunt <tjhunt>
Date:   Thu, 11 Sep 2008 16:49:42 +0800
Tag:    v2.0.0-rc1

MDL-14129 missing language string.

commit 5f9c912241739d504f8f17909fea71a9d9f90d06
Author: tjhunt <tjhunt>
Date:   Thu, 11 Sep 2008 15:34:51 +0800
Tag:    v2.0.0-rc1

MDL-16447 move quiz-specific pictures out of theme/standard/pix/

commit dee2bdc0106a7b2477ebcee61e0d3d41fa91eed7
Author: tjhunt <tjhunt>
Date:   Thu, 11 Sep 2008 11:57:28 +0800
Tag:    v2.0.0-rc1

MDL-16449 error unexpected event exception in essay question

commit 6f49dd0f3676525fc2bd787eafa44c41601929f0
Author: tjhunt <tjhunt>
Date:   Wed, 10 Sep 2008 18:30:43 +0800
Tag:    v2.0.0-rc1

MDL-16411 Oops, I had the logic backwards.

commit d849880e565114c34241d253a190f6c71a9f1f15
Author: tjhunt <tjhunt>
Date:   Wed, 10 Sep 2008 18:15:05 +0800
Tag:    v2.0.0-rc1

MDL-16411 Move all plugintype_pluginname_version values from config to config_plugins

commit d49962135c7aedb50f181083352ff0511f4b1308
Author: tjhunt <tjhunt>
Date:   Wed, 10 Sep 2008 14:21:27 +0800
Tag:    v2.0.0-rc1

Missing global $DB; causing fatal error.

commit bdff6b85d9d02c62844ea6ac8ed09e931667c351
Author: tjhunt <tjhunt>
Date:   Wed, 10 Sep 2008 13:34:09 +0800
Tag:    v2.0.0-rc1

MDL-16409 - Finish the report.

commit cca6e300e7345aa79f44c5363c7e3d326f3a714c
Author: tjhunt <tjhunt>
Date:   Wed, 10 Sep 2008 13:28:25 +0800
Tag:    v2.0.0-rc1

Refactor getting question bank capabilties in mod/quiz/lib.php - don't hard code them.

commit a856c14ed6e106a037bb23e3afec50d1581a3553
Author: tjhunt <tjhunt>
Date:   Wed, 10 Sep 2008 13:26:35 +0800
Tag:    v2.0.0-rc1

Whitespace fix.

commit e056398a102b1bcdb8d16074936bc8bd0ae215c8
Author: tjhunt <tjhunt>
Date:   Wed, 10 Sep 2008 10:58:52 +0800
Tag:    v2.0.0-rc1

MDL-16429 Notice when previewing questions since MDL-16263 was implemented.

commit 6ab04c6e9998de6dec46f979947dcb0742acad02
Author: tjhunt <tjhunt>
Date:   Wed, 10 Sep 2008 10:45:36 +0800
Tag:    v2.0.0-rc1

MDL-16263 - followup - I forgot to commit these images before.

commit 0cd465770f75fe8f57528c362621c5774c2b2035
Author: tjhunt <tjhunt>
Date:   Wed, 10 Sep 2008 10:44:21 +0800
Tag:    v2.0.0-rc1

MDL-7010 - followup - quiz config settings were referred to in two places in the question bank. Since these settings are now in config_plugins, the references need to be update. (Of course, perhaps these should not be referred to at all ...)

commit 3041a0dfed4df43975afcf4cdfe0b850ff60ae16
Author: tjhunt <tjhunt>
Date:   Tue, 09 Sep 2008 18:16:17 +0800
Tag:    v2.0.0-rc1

MDL-16409 Make a new admin report to list all questions of a particular type, by context

commit 89ee3c7937e2878ec40b93f5029d282d5961a6a6
Author: tjhunt <tjhunt>
Date:   Tue, 09 Sep 2008 17:35:54 +0800
Tag:    v2.0.0-rc1

MDL-16348 - followup - prevent debug output when logged in as a non-admin. Thanks to Mat for ponting this out.

commit c465505849d60eadc88448a7da2167ae85cc154e
Author: tjhunt <tjhunt>
Date:   Tue, 09 Sep 2008 17:11:57 +0800
Tag:    v2.0.0-rc1

MDL-16343 - followup - HTML Strict!

commit 8df9635465bd09d9624407289f11680bbf2c5f0e
Author: tjhunt <tjhunt>
Date:   Tue, 09 Sep 2008 16:57:13 +0800
Tag:    v2.0.0-rc1

MDL-16408 Improve counting of questions of a missing type.

commit 03f3db97c31b87bb7a57264a69dd3be865320ec3
Author: tjhunt <tjhunt>
Date:   Tue, 09 Sep 2008 16:47:49 +0800
Tag:    v2.0.0-rc1

MDL-16413 admin/report/question no longer needed in head since we no longer support upgrades from before 1.9

commit 05efb0e52f12c62e281206402132a9e8665a125d
Author: tjhunt <tjhunt>
Date:   Tue, 09 Sep 2008 16:43:40 +0800
Tag:    v2.0.0-rc1

MDL-6751 Admin page for question types. This does the bulk of the work:

commit 3843d2745ea241f5b9ff08a8982577085ed5f60b
Author: tjhunt <tjhunt>
Date:   Tue, 09 Sep 2008 16:35:38 +0800
Tag:    v2.0.0-rc1

Whitespace and comment improvements.

commit 315d88b43f33cc08033727208fd3d070ddd6d4a9
Author: tjhunt <tjhunt>
Date:   Tue, 09 Sep 2008 16:31:41 +0800
Tag:    v2.0.0-rc1

MDL-16343 - followup - remove one unused line of code.

commit 0a82a1bbc4144d2071eede6e82f04f2294596522
Author: tjhunt <tjhunt>
Date:   Tue, 09 Sep 2008 16:30:54 +0800
Tag:    v2.0.0-rc1

MDL-14637 Allow modules to have a settingstree.php when they want to do something more complex that just settings.php - needs to be supported in modules.php too.

commit fec2094ee69d5f6afa12d2ff16b4c805a93bcf11
Author: tjhunt <tjhunt>
Date:   Tue, 09 Sep 2008 15:00:16 +0800
Tag:    v2.0.0-rc1

moodle_database conversion error.

commit 0acbdf846c58f6e410b54c78da105e40bede9c1f
Author: tjhunt <tjhunt>
Date:   Tue, 09 Sep 2008 10:48:54 +0800
Tag:    v2.0.0-rc1

XHTML Strict!

commit cfd24d98f97e6cc3204e346f9e4016d8b2d86731
Author: tjhunt <tjhunt>
Date:   Tue, 09 Sep 2008 10:03:28 +0800
Tag:    v2.0.0-rc1

MDL-7308 - followup - fix notices. Thanks to Pierre Pichet for the fix.

commit 770537257ab3b21274471835371fd9933262309f
Author: tjhunt <tjhunt>
Date:   Tue, 09 Sep 2008 09:50:30 +0800
Tag:    v2.0.0-rc1

MDL-16398 Remove the unused and unnecessary set_default_options method from the question type API

commit b032b49099487f4925313ce2cc282224f7a55b9b
Author: tjhunt <tjhunt>
Date:   Mon, 08 Sep 2008 19:32:31 +0800
Tag:    v2.0.0-rc1

MDL-16348 Reorganise admin tree: * New Capability report put under Users -> Permissions * Miscellaneous category renamed to Development * Unit tests and Functional DB test moved to be under Development. * The hard-coded hack that was used to change the permission that controls the Backups and stats reports replaced with settings.php files. * There were two hidden Miscellaneous things in the old category, so I moved them. Multilan upgrade now under Lanuages, and Online assignment cleanup now under Plugins -> Activity modules. Both still hidden.

commit f608aa031b82d72e83aa486b7b2147a175031d57
Author: tjhunt <tjhunt>
Date:   Mon, 08 Sep 2008 15:11:13 +0800
Tag:    v2.0.0-rc1

Tab -> spaces

commit 1ea118e4bd88d846c21c5a5ac21984337218fb3e
Author: tjhunt <tjhunt>
Date:   Mon, 08 Sep 2008 15:01:41 +0800
Tag:    v2.0.0-rc1

MDL-16343 Report showing, for a given capability, how it is set in the definition of each role, and everywhere that it is overridden.

commit ad944e78328b51ba56150328e9690521b579d696
Author: tjhunt <tjhunt>
Date:   Mon, 08 Sep 2008 15:00:49 +0800
Tag:    v2.0.0-rc1

MDL-16343 New PARAM_ type, PARAM_CAPABILITY.

commit bc59cef30292888e57bd3904905c4a1566a2882a
Author: tjhunt <tjhunt>
Date:   Mon, 08 Sep 2008 14:59:11 +0800
Tag:    v2.0.0-rc1

Comment update.

commit bced30229bff54e53e800eca18cc159063e83b69
Author: tjhunt <tjhunt>
Date:   Mon, 08 Sep 2008 10:33:24 +0800
Tag:    v2.0.0-rc1

Fix up question import. Thanks to Christopher Molnar: http://moodle.org/mod/forum/discuss.php?d=105164

commit 88f94e58821d12511cad358b5e7853bed4170c73
Author: tjhunt <tjhunt>
Date:   Fri, 05 Sep 2008 15:44:07 +0800
Tag:    v2.0.0-rc1

Fix deprecated print_simple_box calls.

commit bfaf310fe97f48b7ce328402b33c24c02ca24bac
Author: tjhunt <tjhunt>
Date:   Fri, 05 Sep 2008 15:26:01 +0800
Tag:    v2.0.0-rc1

Fix deprecated print_simple_box calls.

commit 8238f44f16c3dcb1cd811636bda67a15e9e88122
Author: tjhunt <tjhunt>
Date:   Fri, 05 Sep 2008 12:06:17 +0800
Tag:    v2.0.0-rc1

MDL-12336 Inconsistent naming of the Front page area of the question bank, and the front page context more generally.

commit 9fc523e0befde7aef8fe843c73c5a36168cb58ef
Author: tjhunt <tjhunt>
Date:   Fri, 05 Sep 2008 11:38:42 +0800
Tag:    v2.0.0-rc1

MDL-12814 typo in CSS class name.

commit 316defd2d3412940c982a7675523eb063ba009a5
Author: tjhunt <tjhunt>
Date:   Thu, 04 Sep 2008 17:27:19 +0800
Tag:    v2.0.0-rc1

MDL-3633 Further refinement.

commit 152d3c024295c271c3fea00cf2b84d6271b3aa83
Author: tjhunt <tjhunt>
Date:   Thu, 04 Sep 2008 17:22:37 +0800
Tag:    v2.0.0-rc1

MDL-3633 Don't show the attempt number column on the quiz view page if the quiz only allows one attempt.

commit f8f76d96c83cd9369d422d0e09886cb77d4d6eb1
Author: tjhunt <tjhunt>
Date:   Thu, 04 Sep 2008 15:11:45 +0800
Tag:    v2.0.0-rc1

MDL-15653 Indicate the current state of the question in the navigation panel.

commit 40d1feeb491c3652e0c48aa2bd01d38b2789d930
Author: tjhunt <tjhunt>
Date:   Thu, 04 Sep 2008 15:05:14 +0800
Tag:    v2.0.0-rc1

MDL-15540 Navigation panel did not work on the review page for multi-page quizzes because of the way states were loaded. Fix the regressions caused by the previous refactor.

commit 81d833adaa4ac66178b52d0bc4d71166bb7670ba
Author: tjhunt <tjhunt>
Date:   Thu, 04 Sep 2008 14:37:43 +0800
Tag:    v2.0.0-rc1

MDL-15540 Navigation panel did not work on the review page for multi-page quizzes because of the way states were loaded. Refactor.

commit 82ab2dcf5ce5ad09ac8e595609d436abe1de7334
Author: tjhunt <tjhunt>
Date:   Thu, 04 Sep 2008 12:55:32 +0800
Tag:    v2.0.0-rc1

MDL-15653 Indicate question state in quiz naviggation buttons - prepartiory work: make the layout of the buttons more consistent between IE and FF, and between attempt and review.

commit 70491f0658a5ff7e9934b9cdb92c1224f8434d37
Author: tjhunt <tjhunt>
Date:   Thu, 04 Sep 2008 12:53:28 +0800
Tag:    v2.0.0-rc1

Remove unnecessary div.

commit 5b3990444de2aa1b4ce60e333bacdb9e02e09481
Author: tjhunt <tjhunt>
Date:   Thu, 04 Sep 2008 12:52:54 +0800
Tag:    v2.0.0-rc1

MDL-16263 Improve comment.

commit 45da388f6da0d1df40887796f4880d754e011743
Author: tjhunt <tjhunt>
Date:   Thu, 04 Sep 2008 12:52:29 +0800
Tag:    v2.0.0-rc1

MDL-15452 - forgot to check a DB call for errors.

commit 8f95b06aabd866230198d7da5ce57f3f95c9155f
Author: tjhunt <tjhunt>
Date:   Wed, 03 Sep 2008 17:37:20 +0800
Tag:    v2.0.0-rc1

MDL-16263 Flagging questions during a quiz attempt. Submit all and finish was nuking flag states. Fix that.

commit ea435fe2fef4465d2923c4dfb3e16235464fb6e4
Author: tjhunt <tjhunt>
Date:   Wed, 03 Sep 2008 17:30:10 +0800
Tag:    v2.0.0-rc1

JS does not work in IE. Grrrr!

commit f62040ed1fa4a1330b4137a4883328fbf994de70
Author: tjhunt <tjhunt>
Date:   Wed, 03 Sep 2008 16:32:29 +0800
Tag:    v2.0.0-rc1

MDL-16263 Flagging questions during a quiz attempt. Save flag state on the review page when JS is off too.

commit 867173836021b53448d22c1ad2b87f27140acd93
Author: tjhunt <tjhunt>
Date:   Wed, 03 Sep 2008 16:31:37 +0800
Tag:    v2.0.0-rc1

Clean up whitespace.

commit 5e9170b43ec6264be6a0b2a5cdcde8ccb6ad17e4
Author: tjhunt <tjhunt>
Date:   Wed, 03 Sep 2008 15:11:59 +0800
Tag:    v2.0.0-rc1

MDL-16263 Flagging questions during a quiz attempt. Save flag state on submit when JS is off.

commit 954b73ae0df2799599fc12176c330bf9f90b108b
Author: tjhunt <tjhunt>
Date:   Wed, 03 Sep 2008 15:10:00 +0800
Tag:    v2.0.0-rc1

Clean up whitespace.

commit a905364a0a51d158f9c98019e9b807e50d1e03d2
Author: tjhunt <tjhunt>
Date:   Wed, 03 Sep 2008 14:02:38 +0800
Tag:    v2.0.0-rc1

MDL-16029 Deprecate $extralocation parameter of get_string.

commit d0dfe9491d873ebce840967f00ce0709509c27af
Author: tjhunt <tjhunt>
Date:   Wed, 03 Sep 2008 13:50:53 +0800
Tag:    v2.0.0-rc1

MDL-16263 Flagging questions during a quiz attempt. Make it work nicely with just the keyboard, no mouse, if JavaScript is on.

commit 964f488be3862a2c52d9b2e74c766a52581087ad
Author: tjhunt <tjhunt>
Date:   Wed, 03 Sep 2008 13:50:05 +0800
Tag:    v2.0.0-rc1

MDL-15452 Improved quiz navigation. The quiz now no longer requires JavaScript, unless secure mode is used.

commit c7dcecd1e4c6ba695635b98bc608026612015ca9
Author: tjhunt <tjhunt>
Date:   Wed, 03 Sep 2008 13:38:12 +0800
Tag:    v2.0.0-rc1

MDL-16263 Flagging questions during a quiz attempt. Flag updating in nav not working on the review page.

commit a282ef514e0f5fbc8453c7b89f31b76095465acf
Author: tjhunt <tjhunt>
Date:   Wed, 03 Sep 2008 13:37:46 +0800
Tag:    v2.0.0-rc1

MDL-16263 Flagging questions during a quiz attempt. IE cannot cope with an object initialiser with a trailing comma, so change how thise JS is output.

commit c752264fe1fea6a1aa1ed45acd23b1d4cedc3754
Author: tjhunt <tjhunt>
Date:   Wed, 03 Sep 2008 10:35:56 +0800
Tag:    v2.0.0-rc1

MDL-16263 Flagging questions during a quiz attempt. Update flag state in the navigtion panel when it is updated on the question.

commit 3e32a89358b3a6f77bedbe536eba8250a33bcc04
Author: tjhunt <tjhunt>
Date:   Wed, 03 Sep 2008 09:46:10 +0800
Tag:    v2.0.0-rc1

Remove call to deprecated function.

commit 630a3dc3841eeb05424c3bd6a89b6736f15f03f9
Author: tjhunt <tjhunt>
Date:   Tue, 02 Sep 2008 14:55:32 +0800
Tag:    v2.0.0-rc1

MDL-14160 SQL in get_categories_for_contexts does not work on Oracle. Thanks to Adrian Smith and Francois Marier for the fix.

commit af2f92d0887507b92fc4dffd3f8e7b6abfcca614
Author: tjhunt <tjhunt>
Date:   Mon, 01 Sep 2008 13:29:26 +0800
Tag:    v2.0.0-rc1

MDL-15605 - Fix solution SQL syntax for the "question categories must belong to a context that exists" check.

commit 1cc6b5162c1039012f42905fdf0eefd4022cd13c
Author: tjhunt <tjhunt>
Date:   Mon, 01 Sep 2008 12:17:11 +0800
Tag:    v2.0.0-rc1

MDL-15655 - address_in_subnet does not work on 64 bit architectures. Also, we found some other issues with this funtion while diagnosing the problem.

commit 444ac4b2dee36438bdceace09bfebef9a680a2e2
Author: tjhunt <tjhunt>
Date:   Fri, 29 Aug 2008 20:22:59 +0800
Tag:    v2.0.0-rc1

MDL-16263 - next bit. And display flagged questions in the navigation panel.

commit e41a7d2841e85c50820f8ccbba9e7bdce42f04ae
Author: tjhunt <tjhunt>
Date:   Fri, 29 Aug 2008 19:40:58 +0800
Tag:    v2.0.0-rc1

MDL-16263 - next bit. Flags on the quiz summary page.

commit 94eebf576eae40882ad9e2e362f2ce910fd45635
Author: tjhunt <tjhunt>
Date:   Fri, 29 Aug 2008 19:35:47 +0800
Tag:    v2.0.0-rc1

XHTML Strict!

commit 337fa7a0ef840641bbaaecc3e043d0ab6c3a8f03
Author: tjhunt <tjhunt>
Date:   Fri, 29 Aug 2008 19:30:16 +0800
Tag:    v2.0.0-rc1

MDL-16263 - followup - fix notices.

commit b5f8c377a1a00c8cadb93c98b96d52176e95309b
Author: tjhunt <tjhunt>
Date:   Fri, 29 Aug 2008 19:04:32 +0800
Tag:    v2.0.0-rc1

MDL-16219 - revert Nic's bogus change. This was already fixed by updating questionlib.php.

commit 5626f5d29669b21d926ebf23768b5b9bc4b27e1d
Author: tjhunt <tjhunt>
Date:   Fri, 29 Aug 2008 19:02:02 +0800
Tag:    v2.0.0-rc1

MDL-10682 - followup - missed another place where rounding is needed.

commit fd9f17a108883fef361420f799ea2dd4c5e9a5be
Author: tjhunt <tjhunt>
Date:   Fri, 29 Aug 2008 18:18:11 +0800
Tag:    v2.0.0-rc1

MDL-16263 - followup - fix regression.

commit 62e76c6766368de71e6a7f7cd9a7fc17be942265
Author: tjhunt <tjhunt>
Date:   Fri, 29 Aug 2008 18:08:27 +0800
Tag:    v2.0.0-rc1

MDL-16263 A way for students to flag/bookmark, particular questions during a quiz attempt for later review.

commit 57f43d239a9fa30b69e77749a8193098f3029a8d
Author: tjhunt <tjhunt>
Date:   Fri, 29 Aug 2008 18:04:15 +0800
Tag:    v2.0.0-rc1

Make comment clearer.

commit 4a9294bee42e26a823810822bafef8a8eeb8ca35
Author: tjhunt <tjhunt>
Date:   Fri, 29 Aug 2008 13:48:09 +0800
Tag:    v2.0.0-rc1

XHTML strict!

commit e1dc480c8c9f14d8aa865c367d8bafe5c601718e
Author: tjhunt <tjhunt>
Date:   Fri, 29 Aug 2008 11:34:44 +0800
Tag:    v2.0.0-rc1

MDL-16219 - followup - committing missing change in questionlib.php in head.

commit cd350b538f669d002ea2d5ddb5dca71fc6079756
Author: tjhunt <tjhunt>
Date:   Thu, 28 Aug 2008 15:52:09 +0800
Tag:    v2.0.0-rc1

MDL-16202 formslib show/hide advanced button does not work with strict XML headers

commit 68f0aac887c76fa4998d5014f4d6cc91ed82015b
Author: tjhunt <tjhunt>
Date:   Thu, 28 Aug 2008 13:06:32 +0800
Tag:    v2.0.0-rc1

MDL-16243 Implement a health-centre check that the question categories are arranged properly in tree structures.

commit e0e62023b698e854b7748fec1d665a91c60f5f2c
Author: tjhunt <tjhunt>
Date:   Thu, 28 Aug 2008 11:23:59 +0800
Tag:    v2.0.0-rc1

MDL-16204 - On an old site, there were question categories where category->parent went round in a loop. This crashed the upgrade. Change the upgrade code to make it more robust.

commit b826bcefcf0b66858cc4af7465fdeb84b05b8094
Author: tjhunt <tjhunt>
Date:   Thu, 28 Aug 2008 10:15:19 +0800
Tag:    v2.0.0-rc1

MDL-16219 - mod/quiz/reviewquestion.php does not call questiontype::get_html_head_contributions. This was missed when implementing MDL-6368.

commit 94a6d656a62a1a1c397f4dacd31ab7d7249fe1a0
Author: tjhunt <tjhunt>
Date:   Thu, 28 Aug 2008 09:48:43 +0800
Tag:    v2.0.0-rc1

MDL-8475 - Better handling of blank answer - further changes to make it even more robust. Also, make the same changes to the shortanswer question type that were already made to the numerical question type.

commit 05e312f947a9818974c32554813e7f08bac26276
Author: tjhunt <tjhunt>
Date:   Wed, 27 Aug 2008 09:03:41 +0800
Tag:    v2.0.0-rc1

MDL-16218 - Typo in lang file. Thanks to Mitsuhiro Yoshida for spotting it.

commit ed3afff95b23e7532852f015fa4534f89f8d1e2e
Author: tjhunt <tjhunt>
Date:   Tue, 26 Aug 2008 13:58:32 +0800
Tag:    v2.0.0-rc1

MDL-7010 - followup - delete file that is no longer required.

commit e4686e896e685249982424ae85521696d51db719
Author: tjhunt <tjhunt>
Date:   Tue, 26 Aug 2008 09:09:23 +0800
Tag:    v2.0.0-rc1

MDL-16200 question/type/datasetdependent/ missing version.php. This was a mistake made when fixing MDL-6095.

commit e2249afe2bd96ad218f2a0bb99bd77a415b920ab
Author: tjhunt <tjhunt>
Date:   Tue, 26 Aug 2008 09:05:01 +0800
Tag:    v2.0.0-rc1

MDL-7010 Convert mod\quiz\config.html to mod/quiz/settingstree.php using the new admin tree system.

commit 13daf6a2d6b5b2f3af60739f32a714e6f5e850a6
Author: tjhunt <tjhunt>
Date:   Fri, 22 Aug 2008 15:12:27 +0800
Tag:    v2.0.0-rc1

* Fix where quiz report lang strings are searched for. The correct prefix for this type of plugin is quiz_. * Fix a misleading comment. * Improve a bit of code in get_config by using get_records_menu.

commit 220a5c8721f56d4f821ba5f73313e84d1132176d
Author: tjhunt <tjhunt>
Date:   Fri, 22 Aug 2008 14:38:54 +0800
Tag:    v2.0.0-rc1

MDL-16171 - Allow mdd/xxx/defaults.php to load data into the config_plugins table.

commit ff4b9fcbb2fea45a0f994548860057ec8096b85b
Author: tjhunt <tjhunt>
Date:   Fri, 22 Aug 2008 11:32:49 +0800
Tag:    v2.0.0-rc1

MDL-16170 - Improve naming of the plugins category in the admin menu.

commit 9624187313a96a46c1d3a3d95c30f74c34777c3a
Author: tjhunt <tjhunt>
Date:   Fri, 22 Aug 2008 10:46:54 +0800
Tag:    v2.0.0-rc1

MDL-6353 Also make the repagination UI better by making it always visible, and convert the show/hide page breaks and reordering tool check boxes to be buttons.

commit 4c07690efc310bebb08f8edeec9e8511c84a961c
Author: tjhunt <tjhunt>
Date:   Fri, 22 Aug 2008 10:13:00 +0800
Tag:    v2.0.0-rc1

MDL-6353 Quiz questions per page setting is confusing. People expect that changing this setting will repaginate the quiz, which is not the case, so change the wording of this setting and its choices.

commit 21a4ca7d79440fe6ddc5a54ca9d7ead55b300952
Author: tjhunt <tjhunt>
Date:   Wed, 20 Aug 2008 17:46:18 +0800
Tag:    v2.0.0-rc1

MDL-15654 Incorrect escaping of HTML in the history table on the review quiz attempt page.

commit ff5328a27911995cf519b980627a60905e6144a3
Author: tjhunt <tjhunt>
Date:   Wed, 20 Aug 2008 16:53:07 +0800
Tag:    v2.0.0-rc1

MDL-15605 Convert question bank consistency checks described in MoodleDocs (http://docs.moodle.org/en/Development:Question_bank_consistency_check) to health centre checks.

commit 2e46e4610ac0ad5012f09d419211ada238dc63b5
Author: tjhunt <tjhunt>
Date:   Wed, 20 Aug 2008 16:28:07 +0800
Tag:    v2.0.0-rc1

MDL-16141 Oops, and another copy and paste error meant that there was a misleading comment.

commit 798af5f156ede3b3422c4f2eb0e67f036e2fc508
Author: tjhunt <tjhunt>
Date:   Wed, 20 Aug 2008 16:27:21 +0800
Tag:    v2.0.0-rc1

MDL-16141 Oops, copy and paste error on the method name in the subclasses. Sorry.

commit 1d861fce0692eac67b935d921194eb0ab66fb183
Author: tjhunt <tjhunt>
Date:   Wed, 20 Aug 2008 14:51:46 +0800
Tag:    v2.0.0-rc1

MDL-16141 Need an sql_position method to do POSITION(needle IN haystack) on crappy databases; and MDL-16140 Table "testtable" already exists messages when re-running dml unit tests after a crash - make it self-healing.

commit b601a27548cab48243b749ccf316156b4b6b306e
Author: tjhunt <tjhunt>
Date:   Wed, 20 Aug 2008 14:46:41 +0800
Tag:    v2.0.0-rc1

Missing langauge string from the unit test report.

commit 43ba8d1c3149f934150f3392ab6a95d8e115fa16
Author: tjhunt <tjhunt>
Date:   Tue, 19 Aug 2008 14:59:17 +0800
Tag:    v2.0.0-rc1

SCORM module XHTML strict fixes.

commit 2c746a66659d44310deb59ac4895c117d39697e9
Author: tjhunt <tjhunt>
Date:   Tue, 19 Aug 2008 13:47:06 +0800
Tag:    v2.0.0-rc1

Fix typo.

commit 4ec64b4f5edd6b5f1989a334134bd02290e1653c
Author: tjhunt <tjhunt>
Date:   Tue, 19 Aug 2008 13:17:07 +0800
Tag:    v2.0.0-rc1

Fix up XHTML strick breakage introduce during the fix for MDL-13478.

commit b3efa7078d6be5b167e7a5a3d2c6092c05252ece
Author: tjhunt <tjhunt>
Date:   Tue, 19 Aug 2008 10:36:12 +0800
Tag:    v2.0.0-rc1

MDL-14643 - Revert the hugely umpopular change from MDL-10841.

commit 9152f6a5c8f3be81b3f0a6a11bedda9414c7c608
Author: tjhunt <tjhunt>
Date:   Mon, 18 Aug 2008 16:39:31 +0800
Tag:    v2.0.0-rc1

MDL-7308 - followup change - strip unnecssary trailing 0s from the display of these numbers in the question editing form.

commit f9c90dfcba3c2ae2d2576f894bba9cd776538e3f
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 19:24:49 +0800
Tag:    v2.0.0-rc1

MDL-15750 - followup, now the timer is in the navigation block, remove the old display code.

commit c401e63272dad943985dab48b26723b23c99017e
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 19:23:28 +0800
Tag:    v2.0.0-rc1

MDL-7308 - Oops, another place where we need to change formatting as a result of this DB change.

commit f9a2cf86a9c7a77bd0be1c17eca9260f0833f45e
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 19:15:08 +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.

commit 5d6a723d40f397d9687ae31e5f713ff962e08fc4
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 19:13:54 +0800
Tag:    v2.0.0-rc1

XHTML Strrict!

commit 2a683cfb00a6286491d7616e411b46a9c955d2a0
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 19:09:45 +0800
Tag:    v2.0.0-rc1

DEVELOPER_DEBUG messages to help you diagnose broken prev/next links in XMDBD files.

commit 530d9866c41048b1236d5b04380f34b458b2a946
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 18:48:29 +0800
Tag:    v2.0.0-rc1

Unbreak quiz report graphs. lib.php, which is now required, was not being included.

commit e4d825f5437c5026aed95abd9d3343253af06c90
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 16:33:02 +0800
Tag:    v2.0.0-rc1

XMLDB, make disable 'buttons' grey, so they look more disabled. I think that this makes it more easy to skim through the list of files.

commit 6b22437658e25b609fa9e70e992caf6b4f28baf6
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 16:23:09 +0800
Tag:    v2.0.0-rc1

MDL-16058 - Remove obsolete quiz_question_versions table.

commit 4f089b2155fd7487beb99d20608975315016a5d1
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 15:23:18 +0800
Tag:    v2.0.0-rc1

MDL-6095 - Question bank tables are created by the quiz module. The really core tables are now created by lib/db, the datasetdependent tables are not created by the datasetdependent question type, and the question_numerical_units table is now created by the numerical question type. The last two are shared by the calculated question type, but there is no problem with them being created in the order they are now created in. In the past, before the policy that upgrade to 2.0 woudl have to go via 1.9, there would have been bit problems to do with the order of updates, but fortunately that is no longer an issue.

commit 8239d2c6c83413411ba72342f853dd81c46393b4
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 14:44:12 +0800
Tag:    v2.0.0-rc1

Temporary fix to the fact that the files API work has broken question import.

commit f88fb62c40249c74475de64eedeae2c3a549441c
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 14:42:38 +0800
Tag:    v2.0.0-rc1

MDL-10682 - Ensure quiz and question grades are formatted consisently and correctly. While testing, I also fixed a few XHTML Strrrict errors.

commit 7caa6bbdcbc6ea35fa5b8b0120d631ef0eee907f
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 12:41:55 +0800
Tag:    v2.0.0-rc1

MDL-14589 - XHTML Strrrict, and more consistent tool tips.

commit bd379592dfbf454486040b29b6a3b72862181e78
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 11:23:04 +0800
Tag:    v2.0.0-rc1

MDL-14431 - followup: after the rename qti2 -> qti_two, there were still some references to the old qti2 folder name.

commit 6d99cadd0f8e387f152a6c767aefeb8953abbd92
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 11:22:33 +0800
Tag:    v2.0.0-rc1

MDL-16057 - Blackboard import format relies on lib/tcpdf/html_entity_decode_php4.php, which no longer exists. This is not a fix. It just does enough so you can use other import formats.

commit 5712be1c6f3ddbb43273bbdb5eccb13f882a9d48
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 11:13:24 +0800
Tag:    v2.0.0-rc1

MDL-16056 - Aiken format should treat input as plain text, and so escape HTML special characters.

commit 6e0ddb6b71666354e741574bc3095836af9a8568
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 10:44:12 +0800
Tag:    v2.0.0-rc1

MDL-14431 - followup: after the rename qti2 -> qti_two, there were still some references to the old qti2 folder name.

commit dfe23b6e6689d033a9dcaec91a3dfbd1176c8dae
Author: tjhunt <tjhunt>
Date:   Thu, 14 Aug 2008 11:50:14 +0800
Tag:    v2.0.0-rc1

MDL-14979 - Remove the obsolete quizfile.php and associated code. This has not been used since Moodle 1.5.

commit 14d701d67eb6427593a5fe9e2eef38ed03593c3c
Author: tjhunt <tjhunt>
Date:   Wed, 13 Aug 2008 15:05:42 +0800
Tag:    v2.0.0-rc1

MDL-15819 - Review the RISK_XXX flags on all quiz and question capabilites.

commit 298daa2188f71b47b89a89261169b353609f3294
Author: tjhunt <tjhunt>
Date:   Wed, 13 Aug 2008 11:17:49 +0800
Tag:    v2.0.0-rc1

MDL-12797 - Site-wide quiz default time-limit was not working. The default was being used, but the enabled state was not being initialised correctly for the form field.

commit 552adc27d7ca75ca0d8fbd92daa61f49d90e8c07
Author: tjhunt <tjhunt>
Date:   Tue, 12 Aug 2008 12:11:36 +0800
Tag:    v2.0.0-rc1

XHTML strrrict!

commit c49f8af39b5a473f31ac9bc0e07f11299b316e78
Author: tjhunt <tjhunt>
Date:   Wed, 30 Jul 2008 18:18:25 +0800
Tag:    v2.0.0-rc1

Whitespace

commit a3b70fa923fe40c364a600e7b1131a1506a6a985
Author: tjhunt <tjhunt>
Date:   Wed, 30 Jul 2008 18:07:30 +0800
Tag:    v2.0.0-rc1

Whitespace

commit 06d1324803e7148ff209e01ef8e0fd4bd09ad5a5
Author: tjhunt <tjhunt>
Date:   Tue, 29 Jul 2008 21:56:37 +0800
Tag:    v2.0.0-rc1

Fix calculation of median with an odd number of attempts.

commit c89f2f13d86079e72a96db9eca7fed735538a0a8
Author: tjhunt <tjhunt>
Date:   Tue, 29 Jul 2008 21:32:28 +0800
Tag:    v2.0.0-rc1

Fix comment.

commit fb7396a1ff5eab06ef25b423687b51e73473d0b1
Author: tjhunt <tjhunt>
Date:   Tue, 29 Jul 2008 21:10:02 +0800
Tag:    v2.0.0-rc1

Manual grading report - change query to work on Postgres.

commit 4d9f2c368fcb7c00ee576cc13430ae4cbffff744
Author: tjhunt <tjhunt>
Date:   Tue, 29 Jul 2008 19:53:54 +0800
Tag:    v2.0.0-rc1

Remove 'regrade' report from the quiz_report table, since it no longer exists.

commit 384fe17362af432e3c4a5dbbb88c03d35b811332
Author: tjhunt <tjhunt>
Date:   Tue, 29 Jul 2008 19:53:31 +0800
Tag:    v2.0.0-rc1

Whitespace cleanup.

commit af707a64b7c5c36cf17b2dc6c08ba3e63939fe74
Author: tjhunt <tjhunt>
Date:   Mon, 28 Jul 2008 22:41:15 +0800
Tag:    v2.0.0-rc1

MDL-15542 - followup bug fixes thanks to sam.

commit 5762b36e0d57b32382df2a978e064458344818fe
Author: tjhunt <tjhunt>
Date:   Sat, 26 Jul 2008 00:20:46 +0800
Tag:    v2.0.0-rc1

MDL-15813 - correction - add missing 'return'. Again, Jamie, if you see this, please review.

commit 40ad295c25cb10e4c364295be3008a1c06662190
Author: tjhunt <tjhunt>
Date:   Sat, 26 Jul 2008 00:18:28 +0800
Tag:    v2.0.0-rc1

MDL-15818 - correction, undo a change to the admin-reports bit.

commit bd03752be8f2d3bde2a0c8900f10e16eee35957d
Author: tjhunt <tjhunt>
Date:   Fri, 25 Jul 2008 22:18:19 +0800
Tag:    v2.0.0-rc1

Fix notices.

commit 4089d9ec52debff9fdd1fce9e761f68bb61d2977
Author: tjhunt <tjhunt>
Date:   Fri, 25 Jul 2008 22:18:02 +0800
Tag:    v2.0.0-rc1

MDL-15537 - followup - don't display an error if you ask questionlib.php to load an empty list of questions.

commit 92718f4c44b8d8038e93970c8cf83b270a0c58af
Author: tjhunt <tjhunt>
Date:   Fri, 25 Jul 2008 22:11:22 +0800
Tag:    v2.0.0-rc1

No manually graded questions found is not an error contidion, so return true, not false.

commit 3f8e526ec10092043ead8b1e9121d0bb99af1a6d
Author: tjhunt <tjhunt>
Date:   Fri, 25 Jul 2008 22:05:40 +0800
Tag:    v2.0.0-rc1

Fix notices in 'Students' without attempts mode.

commit 1e98b864e5d81dafe4e5c95c68690f827f41bc0e
Author: tjhunt <tjhunt>
Date:   Thu, 24 Jul 2008 23:34:15 +0800
Tag:    v2.0.0-rc1

MDL-14216 - change query to work on Postgres.

commit 23277af8f10ccf931282837e428c5911995c9889
Author: tjhunt <tjhunt>
Date:   Thu, 24 Jul 2008 20:58:05 +0800
Tag:    v2.0.0-rc1

MDL-14216 - change query to work on Postgres.

commit bbf795dfde730fdbfd29098722f475dfee23cc29
Author: tjhunt <tjhunt>
Date:   Wed, 23 Jul 2008 18:32:35 +0800
Tag:    v2.0.0-rc1

MDL-15792 - Images in question don't display. This is a regression from MDL-14279. Fix thanks to Yolanda Ordez Rufat.

commit 5533791abce2e1970bd35e848c8bc6377e10a24e
Author: tjhunt <tjhunt>
Date:   Tue, 22 Jul 2008 19:37:01 +0800
Tag:    v2.0.0-rc1

MDL-15750 - After the close date, the teacher cannot preview a quiz becuase the timer thinks the time is already up. Also, move the timer in to the new navigation block.

commit 5bbf20b48d1a7a88da0f59646853a921319b2c67
Author: tjhunt <tjhunt>
Date:   Tue, 22 Jul 2008 19:01:56 +0800
Tag:    v2.0.0-rc1

Error with submitting quizzes - regression caused by MDL-15542.

commit 5c98fcd402198b442250f37950e36ef101125b02
Author: tjhunt <tjhunt>
Date:   Tue, 22 Jul 2008 17:03:51 +0800
Tag:    v2.0.0-rc1

Error with submitting quizzes - regression caused by MDL-15542.

commit 9824e5670714afcbcfb470d3e7e97342a8e3b118
Author: tjhunt <tjhunt>
Date:   Mon, 21 Jul 2008 21:00:41 +0800
Tag:    v2.0.0-rc1

MDL-15731 Removed default grouping for modules which do not support grouping - Commiting the merge to head on behalf of sam.

commit b9d4b0313498d77ef78e392bc902d95af191c8a2
Author: tjhunt <tjhunt>
Date:   Thu, 17 Jul 2008 20:49:25 +0800
Tag:    v2.0.0-rc1

MDL-15693 - print_question_icon does not cope with missing question types

commit 9f9eec1ef0051dd5f5addf3bec4b2b7898cd326f
Author: tjhunt <tjhunt>
Date:   Wed, 16 Jul 2008 00:46:24 +0800
Tag:    v2.0.0-rc1

MDL-15542 - Refactor quiz response processing into a separate processresponses.php.

commit ccc451557864dcc00d61c100813435412379d38a
Author: tjhunt <tjhunt>
Date:   Wed, 16 Jul 2008 00:31:22 +0800
Tag:    v2.0.0-rc1

MDL-15541 - add a comment about where this code originated.

commit b55797b8ccf5b72b77db635b4a7bcd157a6dffee
Author: tjhunt <tjhunt>
Date:   Tue, 15 Jul 2008 23:30:39 +0800
Tag:    v2.0.0-rc1

MDL-15452 - Put the OU quiz navigation improvements into the Moodle codebase. I was able to factor out some commonalities with review.php along the way.

commit e6099294d5c3ef09ade8d92f9bd532f04ca30422
Author: tjhunt <tjhunt>
Date:   Tue, 15 Jul 2008 17:18:36 +0800
Tag:    v2.0.0-rc1

MDL-14413 - Invalid function name - is_image_by_extentsion in QTI export

commit 17312b83c5264dfbae08da03cd65e6a0411c2d19
Author: tjhunt <tjhunt>
Date:   Mon, 14 Jul 2008 23:57:49 +0800
Tag:    v2.0.0-rc1

Change group-by. I know what was there was equivalent, but Postgres is pedantic about these thigns, and was reporting an error.

commit baef998bb99d63075fc4f276ce0abc13781b4182
Author: tjhunt <tjhunt>
Date:   Mon, 14 Jul 2008 23:40:24 +0800
Tag:    v2.0.0-rc1

MDL-15622 - Add the quiz navigation panel to the review page Also, improve the styling a bit.

commit cdfaa8386ed4719e46465c01342101d90b68e107
Author: tjhunt <tjhunt>
Date:   Mon, 14 Jul 2008 23:29:30 +0800
Tag:    v2.0.0-rc1

Removing calls to depricated stripslashes. It is no longer needed with dmllib 2.0.

commit 3c168fbb6691a779fbfce3479d7bbd4efd5ee221
Author: tjhunt <tjhunt>
Date:   Sat, 12 Jul 2008 01:03:43 +0800
Tag:    v2.0.0-rc1

MDL-15543 - Display the quiz navigation on the attempt.php page

commit 50819c5fa176be18ae311fb323c4490fe030647a
Author: tjhunt <tjhunt>
Date:   Fri, 11 Jul 2008 22:17:21 +0800
Tag:    v2.0.0-rc1

Document print_side_block, and eliminate a bit of duplicated code.

commit a0083206b8baa8910e36dfe8ebb762b63ace0eab
Author: tjhunt <tjhunt>
Date:   Fri, 11 Jul 2008 21:04:09 +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.

commit e153801c1ca9c8274f8b2d645a045205c69e34f4
Author: tjhunt <tjhunt>
Date:   Fri, 11 Jul 2008 01:34:18 +0800
Tag:    v2.0.0-rc1

Remove debug code.

commit 793f3a0e69484c0db36b50669284ca9f663e54b3
Author: tjhunt <tjhunt>
Date:   Fri, 11 Jul 2008 01:31:12 +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.

commit b9b3aa94594dda47955b925592d085ec0c016e17
Author: tjhunt <tjhunt>
Date:   Fri, 11 Jul 2008 01:23:56 +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.

commit 9289e44cd2218823e92665b48a1d0016b7eafe4d
Author: tjhunt <tjhunt>
Date:   Fri, 11 Jul 2008 01:20:27 +0800
Tag:    v2.0.0-rc1

Fix developer debug warning about space in popup window names.

commit b1103f2bf2079c2687f9932934a5029b77a22f75
Author: tjhunt <tjhunt>
Date:   Thu, 10 Jul 2008 01:00:26 +0800
Tag:    v2.0.0-rc1

MDL-15535 - URLs are changing from attempt.php?id=XXX to attempt.php?attempt =YYY - implement a sensible redirect if we recieve an old-style URL, since they are stored in a few places like the logs. Also update all URLs we generate that point to attempt.php.

commit 453c96f68b8ae06c7009501e4d565b793a7ee63e
Author: tjhunt <tjhunt>
Date:   Thu, 10 Jul 2008 00:58:47 +0800
Tag:    v2.0.0-rc1

Missing $this.

commit 66d07f81a17d47753b858908f7b1f71b0e71ba17
Author: tjhunt <tjhunt>
Date:   Wed, 09 Jul 2008 02:22:18 +0800
Tag:    v2.0.0-rc1

MDL-15538 - Rework attempt.php to use attemptlib.php - I had broken processing of submitted responses. Hopefully it is fixed again now.

commit 4fc3d7e5493906407ebe037b9c34e3be041bf168
Author: tjhunt <tjhunt>
Date:   Wed, 09 Jul 2008 01:47:57 +0800
Tag:    v2.0.0-rc1

MDL-15539 - Rework review.php to use attemptlib.php - the bulk of the conversion.

commit 1aab356193ae4b8d1cff6aa01e53aac278220941
Author: tjhunt <tjhunt>
Date:   Wed, 09 Jul 2008 01:46:59 +0800
Tag:    v2.0.0-rc1

MDL-15539 - Rework review.php to use attemptlib.php - clean up how review options are calculated, fix up some comments, and make some requires more robust.

commit 10440b746a820764a02102c60f272a3b614182bc
Author: tjhunt <tjhunt>
Date:   Wed, 09 Jul 2008 01:45:32 +0800
Tag:    v2.0.0-rc1

MDL-15538 - Rework attempt.php to use attemptlib.php - fix a comment.

commit 72395e60cb691524af954cfeb7242531336d566b
Author: tjhunt <tjhunt>
Date:   Wed, 09 Jul 2008 01:43:34 +0800
Tag:    v2.0.0-rc1

MDL-15541 - Refactor starting a new attempt into a new file startattempt.php - slight improvement to the code.

commit 78e7a3dd5da5d9880c2e1591064eb6d01e2ab6f4
Author: tjhunt <tjhunt>
Date:   Wed, 09 Jul 2008 00:33:47 +0800
Tag:    v2.0.0-rc1

MDL-15452 - Put the OU quiz navigation improvements into the Moodle codebase - quite a lot of progress, sorry I am committing this as a big lump, but it took me a while to get the code back to a working state.

commit 1b8b535dda7c54e9d3945006577fb2e85dedcdb2
Author: tjhunt <tjhunt>
Date:   Tue, 08 Jul 2008 19:23:31 +0800
Tag:    v2.0.0-rc1

MDL-11905 - Users with the capability to export questions may not have the capability to access backupdata. Therefore we need to change where question export files are stored. Merged from the 1.9 stable branch.

commit f38f7ff7156fc84396247267262846c9a8003837
Author: tjhunt <tjhunt>
Date:   Fri, 04 Jul 2008 20:05:04 +0800
Tag:    v2.0.0-rc1

Make a comment a bit clearer.

commit 373f0afd247b99eb0371aa9520fce6d3ffc1d488
Author: tjhunt <tjhunt>
Date:   Tue, 01 Jul 2008 21:34:09 +0800
Tag:    v2.0.0-rc1

MDL-15494 - No allowance for the possibility that something might go wrong when processing the response to a question.

commit 7ddafd1bc81082e36c279cd9e7681a9e02c7449b
Author: tjhunt <tjhunt>
Date:   Tue, 01 Jul 2008 18:54:55 +0800
Tag:    v2.0.0-rc1

Another unit test.

commit b10c38a37b46872800bb9576d464fb10759179db
Author: tjhunt <tjhunt>
Date:   Tue, 01 Jul 2008 00:56:49 +0800
Tag:    v2.0.0-rc1

MDL-15452 - ongoing - Put the OU quiz navigation improvements into the Moodle codebase

commit 36e413e38c5d04c923f62e2525b2d59767babfc8
Author: tjhunt <tjhunt>
Date:   Sat, 28 Jun 2008 02:04:48 +0800
Tag:    v2.0.0-rc1

MDL-15452 - Put the OU quiz navigation improvements into the Moodle codebase

commit ca3c89730e1a0099ce11faa64e26b40eb4993c52
Author: tjhunt <tjhunt>
Date:   Sat, 28 Jun 2008 01:28:22 +0800
Tag:    v2.0.0-rc1

Fix typo.

commit 5e581dd4877b8a07cf4e5d93d96d5c460a101498
Author: tjhunt <tjhunt>
Date:   Thu, 26 Jun 2008 21:13:06 +0800
Tag:    v2.0.0-rc1

MDL-15139 - Cannot create Random Short Answer questions becuase the validation code is buggy. Fix thanks to Paul-Andre Chasse.

commit 87b144ae93549f61578cb50b8d37994c4116787d
Author: tjhunt <tjhunt>
Date:   Tue, 24 Jun 2008 01:02:21 +0800
Tag:    v2.0.0-rc1

MDL-15372 - Links in course summary and section summaries not recoded on restore. Petr thinks it is a bad idea to recode links in course summaries, becuase he thinks there should not be links there at all, but I disagree, and as long as links are there, and we have the code to stop them breaking on backup and restore, we should fix the bug.

commit e36cd5d394f407f77137ca2656eb3179bd91e759
Author: tjhunt <tjhunt>
Date:   Mon, 23 Jun 2008 22:34:56 +0800
Tag:    v2.0.0-rc1

MDL-13229 - Cannot export group events - now make it export group events if 'all' is selected - Oops, allow for course without groups.

commit fd45e5c37bbf2798c521976e540f42ba9b5104f8
Author: tjhunt <tjhunt>
Date:   Fri, 20 Jun 2008 23:24:16 +0800
Tag:    v2.0.0-rc1

MDL-15330 - Truefalse help file not found

commit c44889c0887d72c6888da380797cea9daaeace6a
Author: tjhunt <tjhunt>
Date:   Fri, 20 Jun 2008 02:38:27 +0800
Tag:    v2.0.0-rc1

MDL-15321 - Add a class to the last column and row of the table in print_table to help theming

commit 941939ef51bfc227260d19b0692b87a60ed1f53b
Author: tjhunt <tjhunt>
Date:   Fri, 20 Jun 2008 01:57:57 +0800
Tag:    v2.0.0-rc1

MDL-13229 - Cannot export group events - now make it export group events if 'all' is selected.

commit fa200431b184a98eac80199712ab76675297a6f6
Author: tjhunt <tjhunt>
Date:   Thu, 19 Jun 2008 22:24:09 +0800
Tag:    v2.0.0-rc1

MDL-15318 - url is a reserved word in JavaScript in IE, so the Gen Calendar URL button does not work there

commit 1f5645bc574a1f9ac0fc23d1fb8d90e1b04059cf
Author: tjhunt <tjhunt>
Date:   Wed, 18 Jun 2008 22:29:37 +0800
Tag:    v2.0.0-rc1

MDL-15290 - Missing question types not handled properly on backup.

commit c0ffeb396984f71dfb375cd9b91b193a9f97e2a5
Author: tjhunt <tjhunt>
Date:   Tue, 27 May 2008 21:42:27 +0800
Tag:    v2.0.0-rc1

MDL-14764 - Imported multichoice questions may have a blank answernumbering value, which results in an "ERR" prefix to all answers' text. Thanks to Nate H for the fix.

commit 5412cd289a3505b7c8cde157d56572b43affe88d
Author: tjhunt <tjhunt>
Date:   Tue, 27 May 2008 18:35:13 +0800
Tag:    v2.0.0-rc1

MDL-14593 - delete icons in the question bank do not work. This was a regression caused by part of the fix for MDL-13982. I hvae reverted that bit for now, pending a better solution.

commit 95de57b8ac92ca4f4b4785986c2ed0ef5bb8d99a
Author: tjhunt <tjhunt>
Date:   Wed, 21 May 2008 19:10:06 +0800
Tag:    v2.0.0-rc1

Inconsistency between quiz attempt->id and attempt.uniqueid

commit 949c59ace0f0f2a4e63bb1bdd7133dd84114048e
Author: tjhunt <tjhunt>
Date:   Wed, 21 May 2008 01:09:40 +0800
Tag:    v2.0.0-rc1

MDL-14928 - Adding random questions from a category with an apostrophe in the name does not work. Stupid bloody addslashes. Roll on dmllib 2.0.

commit ed5ba2df554aa1bfdf16099261ec251f4ca8090e
Author: tjhunt <tjhunt>
Date:   Fri, 16 May 2008 00:05:47 +0800
Tag:    v2.0.0-rc1

MDL-14750 - followup - make the code robust in the case their are broken questions in the DB.

commit 994c8c35091150eba3324b0dda02411b0744ff5b
Author: tjhunt <tjhunt>
Date:   Fri, 16 May 2008 00:02:12 +0800
Tag:    v2.0.0-rc1

MDL-14835 - Grade not checked against valid range when manua grading

commit 9c22b42ef7dabbd67d7a3e3912a67d7682a3c6b1
Author: tjhunt <tjhunt>
Date:   Thu, 15 May 2008 23:32:43 +0800
Tag:    v2.0.0-rc1

MDL-14857 - Clean up summary table generation code at the top of the quiz review page - This is basically a merge of improvements we made at the OU.

commit 7453df700fd92b92b490a5d1bf4cdc7592726000
Author: tjhunt <tjhunt>
Date:   Tue, 13 May 2008 01:29:56 +0800
Tag:    v2.0.0-rc1

MDL-14804 - question_list_instances is broken - It does not include the each modules lib file before doing function_exists($module->name.'_question_list_instances').

commit e4cdf3fb2c1504a93917846bf0c3f08469b0c076
Author: tjhunt <tjhunt>
Date:   Mon, 12 May 2008 23:59:05 +0800
Tag:    v2.0.0-rc1

MDL-10899 - followup - need to move random questions too.

commit d33725bd2d7eff5d301d3e4a6a6a9adc8eb2e385
Author: tjhunt <tjhunt>
Date:   Mon, 12 May 2008 23:28:34 +0800
Tag:    v2.0.0-rc1

New convinience function in accesslib: get_parent_contextid. Also, the start of some unit tests for accesslib, but only this trivial funciton, and the get_parent_contexts function it is based on. Still, it is a start.

commit d4e5675c00ce18b78edd09c255bb41f7942bfb61
Author: tjhunt <tjhunt>
Date:   Mon, 12 May 2008 18:44:44 +0800
Tag:    v2.0.0-rc1

MDL-14797 - Error when moving a course to an empty category on Postgres

commit e2134c5ddcbf4db593d8270d4505d8743c7178c6
Author: tjhunt <tjhunt>
Date:   Fri, 09 May 2008 23:50:44 +0800
Tag:    v2.0.0-rc1

Following the fixes for MDL-14750 and MDL-10899, do a database upgrade that fixes any bogus values in the parent or category columns of multianswer questions' subquestions.

commit 9ade28e57e0fde0da2e05f4f2d314b84f3c656dc
Author: tjhunt <tjhunt>
Date:   Fri, 09 May 2008 23:10:39 +0800
Tag:    v2.0.0-rc1

MDL-14750 - Multianswer questions get broken by backup and restore becuase question->parent is not recoded properly in the database. This commit also fixes a regression introduced by the fix for MDL-5482.

commit 7fb1b88dc72489dbf7ab894f9cbe3e06fe306b0f
Author: tjhunt <tjhunt>
Date:   Fri, 09 May 2008 23:05:36 +0800
Tag:    v2.0.0-rc1

MDL-10899 - There is some data associated with some questons that needs to be udpated when moving questions between categories. This commit deals with subquestions, and lays the foundation for fixing the other problem - datasets - which is files as bug 14767.

commit 08121fadcb5a1c35a5fa15800b3ee6bee1e10aa2
Author: tjhunt <tjhunt>
Date:   Fri, 09 May 2008 23:02:24 +0800
Tag:    v2.0.0-rc1

Problem when editing calculated questions when installed on Postgres.

commit a588d813cbf6d9b034b4ddd942242f7344869a74
Author: tjhunt <tjhunt>
Date:   Fri, 09 May 2008 21:13:43 +0800
Tag:    v2.0.0-rc1

MDL-14762 - find and update links to files in answer->feedback when moving questions between contexts.

commit 994fbaabc98d7143f9db1028c9e39df6817f45ba
Author: tjhunt <tjhunt>
Date:   Wed, 07 May 2008 21:34:54 +0800
Tag:    v2.0.0-rc1

MDL-14727 - Do a database update to fix random questions with the wrong parent (there may be some of these floating around in people's databases becuase of MDL-5482.)

commit 015f926d6eb4485acbca97cf5a081f7ffe3133ee
Author: tjhunt <tjhunt>
Date:   Wed, 07 May 2008 21:04:43 +0800
Tag:    v2.0.0-rc1

MDL-14726 - rcache bit wrong in set_field

commit 3ff8a1877a71808fc407be2a17321f8757cf1aa4
Author: tjhunt <tjhunt>
Date:   Wed, 07 May 2008 20:32:03 +0800
Tag:    v2.0.0-rc1

MDL-5482 - Backup and restore problems for match, random and truefalse question types.

commit 0c9822268f4e9a1127099d46aff1b5004262630f
Author: tjhunt <tjhunt>
Date:   Tue, 06 May 2008 15:34:46 +0800
Tag:    v2.0.0-rc1

MDL-14681 - Fix package name of question/update.php.

commit 3192d014f3700581b66798251f06e161b3cd6bdd
Author: tjhunt <tjhunt>
Date:   Wed, 23 Apr 2008 22:49:22 +0800
Tag:    v2.0.0-rc1

Eliminate direct references to $_REQUEST and $_POST in the quiz code.

commit bfecee473abfa82c64eae28813280b632f2b4b84
Author: tjhunt <tjhunt>
Date:   Wed, 23 Apr 2008 22:45:45 +0800
Tag:    v2.0.0-rc1

Revert bogus error -> print_error changes that were stopping my patch from merging.

commit 97344ae331ff427b6f5fda783af2a82b1224b1b9
Author: tjhunt <tjhunt>
Date:   Wed, 23 Apr 2008 22:31:21 +0800
Tag:    v2.0.0-rc1

Improve PHPdocs on a function.

commit 8e77884c4e8d3c1538b84628acd57a351d854d9f
Author: tjhunt <tjhunt>
Date:   Wed, 23 Apr 2008 21:45:38 +0800
Tag:    v2.0.0-rc1

MDL-13982 - Performance problem when deleting questions from large question banks. Thanks to Michael Spall for this fix. Merged from MOODLE_18_STABLE.

commit 92a95034ff2628c354adf9ff8fc29853834f4b96
Author: tjhunt <tjhunt>
Date:   Wed, 23 Apr 2008 21:42:50 +0800
Tag:    v2.0.0-rc1

Revert bogus error -> print_error changes that were stopping my patch from merging.

commit d20e7029566318fcf79c9f10e98694b3f854e6eb
Author: tjhunt <tjhunt>
Date:   Wed, 23 Apr 2008 18:54:51 +0800
Tag:    v2.0.0-rc1

Tidy up whitespace.

commit e31a98a6e15626317ab61d003a7354536d8278d1
Author: tjhunt <tjhunt>
Date:   Wed, 23 Apr 2008 00:17:01 +0800
Tag:    v2.0.0-rc1

MDL-14352 - General feedback for descriptions not showing up on the review page, as it should.

commit 44847eb8689aded152d5d843b51c135647cc53c0
Author: tjhunt <tjhunt>
Date:   Tue, 22 Apr 2008 23:19:50 +0800
Tag:    v2.0.0-rc1

MDL-14363 - Fix a broken redirect from mod/quiz/ attempt.php to edit.php when the quiz has not questions.

commit 8a99f5c3fc10345837d120b619a8bec6fcf686de
Author: tjhunt <tjhunt>
Date:   Tue, 22 Apr 2008 23:15:58 +0800
Tag:    v2.0.0-rc1

MDL-14477 - Improve display of tab bars

commit 5389648d0b21bb9c9762c1c1612e9a2972827b91
Author: tjhunt <tjhunt>
Date:   Tue, 22 Apr 2008 22:40:09 +0800
Tag:    v2.0.0-rc1

MDL-14467 - qtype_multichoice help file in the wrong place - merged from 1.8/1.9 stable.

commit a56d98597e636117ced200792e35077d757eb17c
Author: tjhunt <tjhunt>
Date:   Tue, 22 Apr 2008 22:06:58 +0800
Tag:    v2.0.0-rc1

MDL-14407 - supplimental - Deal with another way the category id can be in the URL after it is deleted.

commit 84857f8ccdf0b588fbb98485bb2871d1dc23c7b4
Author: tjhunt <tjhunt>
Date:   Fri, 18 Apr 2008 01:56:41 +0800
Tag:    v2.0.0-rc1

Minor improvement to a subtle edge case of question preview that probably only affects Opaque questions.

commit 767fac29029c6330fa232f3b3a3083301b624317
Author: tjhunt <tjhunt>
Date:   Thu, 17 Apr 2008 23:59:49 +0800
Tag:    v2.0.0-rc1

MDL-14407

commit 92589cb04becccf1e1c9752b3b4a9ab6d6043796
Author: tjhunt <tjhunt>
Date:   Thu, 17 Apr 2008 21:07:36 +0800
Tag:    v2.0.0-rc1

MDL-8682 - yet another followup. The javascript still was not quite right. you cannot rely on the case of element.nodeName.

commit 096d42f47edbf78b11d7fa67847abc3307f031ab
Author: tjhunt <tjhunt>
Date:   Thu, 17 Apr 2008 00:56:33 +0800
Tag:    v2.0.0-rc1

MDL-14392 - Notice from description question types when you don't have edit permission

commit c711a7aeabba027be0b4cc7511e671bbc096c2d1
Author: tjhunt <tjhunt>
Date:   Wed, 16 Apr 2008 22:39:37 +0800
Tag:    v2.0.0-rc1

MDL-14391 - Timestart shown twice in quiz overview report, instead of timefinish

commit 20b8b489ec86f53b0cfdd9ca0e091baa83dfa106
Author: tjhunt <tjhunt>
Date:   Mon, 31 Mar 2008 23:07:14 +0800
Tag:    v2.0.0-rc1

MDL-8682 - the last commit caused a regression that stopped it working.

commit 44266ca4efa19e7ef8c0f97252972364725d0e31
Author: tjhunt <tjhunt>
Date:   Wed, 26 Mar 2008 04:40:42 +0900
Tag:    v2.0.0-rc1

MDL-13806 - supplimental - bug fixes to the previous commit.

commit b1a284b8c96ea8c2e2c6ae76f235d0a703bcc6e6
Author: tjhunt <tjhunt>
Date:   Wed, 19 Mar 2008 22:26:22 +0900
Tag:    v2.0.0-rc1

MDL-13968 - followup - fix layout regression caused in IE.

commit d45459b7c1cdbd19ac6c27967db3e492c55521ec
Author: tjhunt <tjhunt>
Date:   Wed, 19 Mar 2008 21:21:56 +0900
Tag:    v2.0.0-rc1

MDL-13978 - Notice when adding a new quiz

commit 375ba6e52b26f135cb7d5d2a5e23fd9cc81dbb06
Author: tjhunt <tjhunt>
Date:   Wed, 19 Mar 2008 03:58:29 +0900
Tag:    v2.0.0-rc1

MDL-13968 - Use h2 tag for the question number, as it is better for accessibility

commit 7d69de18304f357ea3d52f5666dd01c51e962d0a
Author: tjhunt <tjhunt>
Date:   Sat, 08 Mar 2008 02:30:54 +0900
Tag:    v2.0.0-rc1

MDL-13836 - When grades are imported, list users who had grades imported, but who are not currenly in the course.

commit 6b84dd19ac8f7cf1f82861a3f36606c007356c09
Author: tjhunt <tjhunt>
Date:   Fri, 07 Mar 2008 21:36:16 +0900
Tag:    v2.0.0-rc1

Replace some tabs that managed to slip in. What is Eclipse playing at?

commit a6a89b9eab5a512d84a63e626e2f1541199b35d7
Author: tjhunt <tjhunt>
Date:   Fri, 07 Mar 2008 21:35:10 +0900
Tag:    v2.0.0-rc1

Strip some trailing whitespace.

commit c52c62d1b1294f4c9b6fcee1ae0845fca63e5af1
Author: tjhunt <tjhunt>
Date:   Fri, 07 Mar 2008 21:33:07 +0900
Tag:    v2.0.0-rc1

MDL-13806 - Refactor all the code that implements the rules for whether students can attempt the quiz now into some classes.

commit 111ded58954f3d9ef6a97942d5518dd8f8924773
Author: tjhunt <tjhunt>
Date:   Fri, 07 Mar 2008 20:17:44 +0900
Tag:    v2.0.0-rc1

Clarify unused argument.

commit 05866d85d4155a632bb988b8c5a16252df69b7a3
Author: tjhunt <tjhunt>
Date:   Fri, 07 Mar 2008 00:11:50 +0900
Tag:    v2.0.0-rc1

MDL-13806 - Refactor all the code that implements the rules for whether students can attempt the quiz now into some classes.

commit 1ba25b68201686e9a033878ad0945e4cc66338cf
Author: tjhunt <tjhunt>
Date:   Fri, 07 Mar 2008 00:04:09 +0900
Tag:    v2.0.0-rc1

Fix typo.

commit 758c50b1cdeebcba9bc7cc437fdcfd35c9804916
Author: tjhunt <tjhunt>
Date:   Wed, 05 Mar 2008 19:16:18 +0900
Tag:    v2.0.0-rc1

MDL-13794 - Reordering tool does not work if you type the same number into two boxes.

commit f0079c3e812db7d3d30f40af87b7bb1328885b40
Author: tjhunt <tjhunt>
Date:   Sat, 01 Mar 2008 01:22:15 +0900
Tag:    v2.0.0-rc1

MDL-13738 - Invalid context developer debug notice in manual grading.

commit 255985f17b35dc59f80c98ac82bcff17d11e5afe
Author: tjhunt <tjhunt>
Date:   Fri, 29 Feb 2008 07:44:12 +0900
Tag:    v2.0.0-rc1

MDL-12776 - Quiz email notification and separate groups mode - student not in group -> all teachers get email

I have changed it so that if the quiz is set to groups mode, and if the student is not in a group, then only teachers with 'accessallgroups' get emailed.

commit 36832e1a3098c6764cbe3beff0238a3c31bd354a
Author: tjhunt <tjhunt>
Date:   Fri, 29 Feb 2008 07:41:38 +0900
Tag:    v2.0.0-rc1

MDL-13723 - Unbalanced brackets in get_users_by_capability in the groups bit.

commit 692b631d9da6d907e59a4e1f69ebb478e6dd6526
Author: tjhunt <tjhunt>
Date:   Fri, 29 Feb 2008 06:43:50 +0900
Tag:    v2.0.0-rc1

MDL-12815 - Quiz uses inconsistent class attribute for the paging bar.

I have added the standard .paging class, but I have left the old class there too, so as not to break existing themes.

commit e2ae84a29824c9ab4184a1e9aa6020ebc9fc3484
Author: tjhunt <tjhunt>
Date:   Thu, 28 Feb 2008 21:53:02 +0900
Tag:    v2.0.0-rc1

MDL-13189 - replace the $QTYPE_MENU global with a function call, so that we can set up the language strings later, after $COURSE is initialised. This ensures that the quesion names appear in the right language.

commit 694061adf4a0af7b5cd6c2413f90d718707fc0ff
Author: tjhunt <tjhunt>
Date:   Wed, 20 Feb 2008 02:14:12 +0900
Tag:    v2.0.0-rc1

Fix dangerous comment. (MDL-13536)

commit ec3fa1d8eb7f66dd6cd625a1577dbc8d4e7dd05e
Author: tjhunt <tjhunt>
Date:   Wed, 20 Feb 2008 01:21:36 +0900
Tag:    v2.0.0-rc1

MDL-13448 - missing the global $db statement. Fix thanks to Samuli Karevaara.

commit 4f67bf8c4df7bf9ce5bb67049d4b0948911f32ff
Author: tjhunt <tjhunt>
Date:   Wed, 20 Feb 2008 01:19:58 +0900
Tag:    v2.0.0-rc1

MDL-13390 - Wrong links in quiz notification emails

commit 4d526fb1a197c173e514de609ed4618652874fda
Author: tjhunt <tjhunt>
Date:   Wed, 20 Feb 2008 00:00:02 +0900
Tag:    v2.0.0-rc1

MDL-13530 - Improve words used in the gradebook plugin selector dropdown menu

commit 8bb3fac17c9470a4d64f8e8766be2f460d0bf6c7
Author: tjhunt <tjhunt>
Date:   Thu, 31 Jan 2008 03:18:36 +0900
Tag:    v2.0.0-rc1

MDL-13110 - Manually grading random questions does not work. Fix thanks to Ken Burres.

commit d343bd2114b4a08dd163126a8bb619eaa1719dab
Author: tjhunt <tjhunt>
Date:   Thu, 31 Jan 2008 01:34:04 +0900
Tag:    v2.0.0-rc1

MDL-13253 - Should use separate language strings for user and module idnumber. Merged from MOODLE_19_STABLE.

commit 9d35e66ea87b6a831bcfcc379467cbdcc1e68b95
Author: tjhunt <tjhunt>
Date:   Thu, 31 Jan 2008 01:04:09 +0900
Tag:    v2.0.0-rc1

MDL-13238 - Optionally show the user's idnumber in the grader report. Merged from MOODLE_19_STABLE.

commit 7956944f7cb1e46f537d1ccb5fbbd19e77b60250
Author: tjhunt <tjhunt>
Date:   Fri, 25 Jan 2008 02:13:30 +0900
Tag:    v2.0.0-rc1

MDL-12933 - Bug in mod/quiz/lib.php break MyMoodle - Fix thanks to Eric Merrill.

commit 9d6c4e80f919d7c2a2a54512a6db909e84c485a2
Author: tjhunt <tjhunt>
Date:   Fri, 25 Jan 2008 01:33:39 +0900
Tag:    v2.0.0-rc1

MDL-13102 - quiz_results block links to the old URL of the groups editing interface, and it links there for everyone, even if they don't have the capability to go there. Make it link to the participants page instead, if possible.

commit abd616eac40716b46d59ccdd3287a7544742caba
Author: tjhunt <tjhunt>
Date:   Fri, 25 Jan 2008 00:06:51 +0900
Tag:    v2.0.0-rc1

MDL-13150 - Remove extra <br /> tag for XHTML strict validation - Thanks to Joseph Rzeau

commit 8b66a42a967e00c90d67399fb7784745dec9779f
Author: tjhunt <tjhunt>
Date:   Wed, 16 Jan 2008 00:25:02 +0900
Tag:    v2.0.0-rc1

MDL-13011 - Improve import form layout.

commit 18159e20dbac6c05edd41768f11035620bbde14d
Author: tjhunt <tjhunt>
Date:   Fri, 11 Jan 2008 00:38:48 +0900
Tag:    v2.0.0-rc1

MDL-12913 - Error messages when doing an XML grade import are not very helpful, include the idnumber that is causing the problem in the error message.

commit 77e2e3f2b88dd7b0070d491ed60601229f8402c2
Author: tjhunt <tjhunt>
Date:   Thu, 10 Jan 2008 23:17:37 +0900
Tag:    v2.0.0-rc1

Fix notice when you try to import an empty XML file.

commit b26adbef4c05a58efd40117cc46a3e818c1bee60
Author: tjhunt <tjhunt>
Date:   Thu, 10 Jan 2008 19:58:16 +0900
Tag:    v2.0.0-rc1

MDL-12373 - More instances of links to the participants list being shown in the navigation bar to people without the necessary capability.

commit 2647f80ecd5a54432c6df83e0a47478de78ae413
Author: tjhunt <tjhunt>
Date:   Thu, 10 Jan 2008 02:23:47 +0900
Tag:    v2.0.0-rc1

MDL-12373 - If you can see your user profile, but don't have moodle/course:viewparticipants, you get a link in the nav bar that takes you to an error message - and there were also instances in blog.

commit bb9a123a73ed3dfaeecc7c492f8014770f410cb7
Author: tjhunt <tjhunt>
Date:   Thu, 10 Jan 2008 01:46:21 +0900
Tag:    v2.0.0-rc1

MDL-12373 - If you can see your user profile, but don't have moodle/course:viewparticipants, you get a link in the nav bar that takes you to an error message - this was repeated in other parts of the user profile that I had not noticed when I fixed this before.

commit 06e2b0de2ae0420e6118606353809cf22f874119
Author: tjhunt <tjhunt>
Date:   Wed, 09 Jan 2008 03:37:46 +0900
Tag:    v2.0.0-rc1

MDL-12771 - change multianswer quetsion type HTML to more closely match that of other question types, in order to fix a layout glitch in Moodle 1.9.

commit a656e0de488d2e29d8fbf533d097755e6bf72f4d
Author: tjhunt <tjhunt>
Date:   Wed, 09 Jan 2008 03:29:20 +0900
Tag:    v2.0.0-rc1

MDL-12785 - Partially correct tick icon not displayed for MULTICHOICE, single answer questions. Fix thanks to Joseph Rzeau. Merged from MOODLE_18_STABLE.

commit 003bbcc8171d2678af7634a09c07fb28bdb72b90
Author: tjhunt <tjhunt>
Date:   Wed, 09 Jan 2008 00:17:02 +0900
Tag:    v2.0.0-rc1

MDL-12875 - Hidden courses not in category list not visible to teachers on those courses in the list of courses in a category.

commit cc3d5e10ec5f5695b8b3c7a92bad5a610175abd0
Author: tjhunt <tjhunt>
Date:   Wed, 09 Jan 2008 00:04:00 +0900
Tag:    v2.0.0-rc1

Put back DEBUG_DEVELOPER sanity check in has_capability, that makes sure the capabiltiy you are asking about actually exists. I know it takes an extra DB query, but it is DEBUG_DEVELOPER only, and it is worth its weight in gold, because otherwise you get really subtle bugs that take forever to diagnose. I know, I have just been banging my head against the wall for an hour.

commit dba21d4a197c5d5cd3314a2511cce4a292e8d7ce
Author: tjhunt <tjhunt>
Date:   Tue, 08 Jan 2008 01:46:35 +0900
Tag:    v2.0.0-rc1

Use the locale to sort the list of activites everywhere. This matches a change a made in one place before christmas. If you don't do this, the PHP sorts by ASCII order, so mixed case names, or special characters, get sorted wrongly. Merged from MOODLE_19_STABLE.

commit 8cfd7faf10ff09cda6e66820ecdab85ca9e2dc86
Author: tjhunt <tjhunt>
Date:   Sat, 22 Dec 2007 00:38:36 +0900
Tag:    v2.0.0-rc1

Ensure links of the form /mod/quiz/view.php?q=332 are backed up and restored correctly.

commit 91374f3e5b396d64ef89b6312f639cef91e390f6
Author: tjhunt <tjhunt>
Date:   Sat, 22 Dec 2007 00:37:47 +0900
Tag:    v2.0.0-rc1

Sort the add activites dropdown using the locale.

commit c5f1ff788dc7ebea91e7951ad906e03e5bfc9b22
Author: tjhunt <tjhunt>
Date:   Fri, 21 Dec 2007 00:11:03 +0900
Tag:    v2.0.0-rc1

MDL-12675 - Give teachers a direct link from the quiz index page to the results.

commit cb29abc508ab8d9b230138f8975bd6c04fa61b9a
Author: tjhunt <tjhunt>
Date:   Thu, 20 Dec 2007 20:28:18 +0900
Tag:    v2.0.0-rc1

MDL-12666 - When moving questions between categories, we should default to copying amy linked files. Merged from MOODLE_19_STABLE.

commit 7588679f7a0cba4d53ac2cad9c5f03b8c4c6b250
Author: tjhunt <tjhunt>
Date:   Thu, 20 Dec 2007 00:06:51 +0900
Tag:    v2.0.0-rc1

Teach XMLDB about the local/db folder, but only include it if the local folders exists.

commit a66a929e6329d6f10b74f0c9dc308157af424737
Author: tjhunt <tjhunt>
Date:   Wed, 19 Dec 2007 22:31:03 +0900
Tag:    v2.0.0-rc1

New option on print_single_button to all printing of disabled buttons.

commit c0e9f877b40b122721046c866e612b5ec48c9830
Author: tjhunt <tjhunt>
Date:   Wed, 19 Dec 2007 21:40:00 +0900
Tag:    v2.0.0-rc1

gradebook / graded_users_iterator - Typo in conditional.

commit 9088c6e2e4daaea5a8f83bebced3dea93eb248e4
Author: tjhunt <tjhunt>
Date:   Wed, 19 Dec 2007 21:11:03 +0900
Tag:    v2.0.0-rc1

MDL-12647 - Moving multiple_choice questions between contexts breaks them.

commit b7b4f8bdc4976fb5b8e38432afeea6e12a23c5af
Author: tjhunt <tjhunt>
Date:   Wed, 19 Dec 2007 03:20:25 +0900
Tag:    v2.0.0-rc1

Improve the quiz_rescale_grade function, and call it from one other place, instead of duplicating code. Merged from MOODLE_19_STABLE.

commit f4850b7e52c35d4892a9553c0aaf1f89de365c61
Author: tjhunt <tjhunt>
Date:   Wed, 19 Dec 2007 01:12:11 +0900
Tag:    v2.0.0-rc1

MDL-12635 - Manual grading report does not check capabilites - also, only show the tabs for the reports people can access. Merged from MOODLE_19_STABLE.

commit 36ffa395f9374bdbf23cca38e3238723383b1370
Author: tjhunt <tjhunt>
Date:   Tue, 18 Dec 2007 23:57:03 +0900
Tag:    v2.0.0-rc1

MDL-12517 - fix typo in the last commit.

commit 636b8f19cb5bb8ba1f67bdaba7dd9523a9db9625
Author: tjhunt <tjhunt>
Date:   Tue, 18 Dec 2007 02:17:22 +0900
Tag:    v2.0.0-rc1

Strip out an unneccessary HTML table that way causing a 'button moves when you try to click on it' problem.

commit 7f2ec6b1476eeed54efe4cb39bb9d300f8378924
Author: tjhunt <tjhunt>
Date:   Tue, 18 Dec 2007 01:56:42 +0900
Tag:    v2.0.0-rc1

Minor quiz layout improvements. Merged from MOODLE_19_STABLE.

commit 8ad877b6ad3a70cf4011f8c23f2e22dc7d119797
Author: tjhunt <tjhunt>
Date:   Tue, 18 Dec 2007 00:29:48 +0900
Tag:    v2.0.0-rc1

Unset a meaningless id. This probably does not change anything in moodle, but it was part of a bug fix in the OU version of Moodle that seemed correct, so I am merging it over.

commit baafcd2f06601c760251a2f0d0f1dedeb5b175c8
Author: tjhunt <tjhunt>
Date:   Mon, 17 Dec 2007 23:11:55 +0900
Tag:    v2.0.0-rc1

Typo in redirect URL.

commit 46a5a85b58b88fc6f1ee3b33508ad1931c50e1ef
Author: tjhunt <tjhunt>
Date:   Mon, 17 Dec 2007 21:28:14 +0900
Tag:    v2.0.0-rc1

MDL-12616 - Improve layout so you can distinguish the student's response to an essay question from the feedback. Merged from MOODLE_19_STABLE.

commit 27cabbe626bbe63d2ce55ab5ccec72ee21be7048
Author: tjhunt <tjhunt>
Date:   Fri, 14 Dec 2007 03:48:30 +0900
Tag:    v2.0.0-rc1

MDL-12575 - Backup and restore problems with the new question bank. Merged from MOODLE_19_STABLE.

commit df06c4bb88d1192c94e1dfca93be5684609752e9
Author: tjhunt <tjhunt>
Date:   Fri, 14 Dec 2007 02:24:54 +0900
Tag:    v2.0.0-rc1

Improve error messages.

commit 0cfabab671cb2c29cdfe0212003be8c1a2091603
Author: tjhunt <tjhunt>
Date:   Thu, 13 Dec 2007 23:26:14 +0900
Tag:    v2.0.0-rc1

MDL-12517 - Further refinement. Move the processing to after print_header, so any notices do not break XHTML strict. Merged from MOODLE_19_STABLE.

commit 0a2c84851cf66e3c27642a7d9ffa03d4ea3e5e6b
Author: tjhunt <tjhunt>
Date:   Thu, 13 Dec 2007 23:19:24 +0900
Tag:    v2.0.0-rc1

MDL-12517 - Move checking code into the user interface layer where it belongs. Merged from MOODLE_19_STABLE.

commit 129b80c5927b87c66b6ce7a3aea11c06315bcdcc
Author: tjhunt <tjhunt>
Date:   Thu, 13 Dec 2007 04:13:09 +0900
Tag:    v2.0.0-rc1

MDL-11267 - follow-up - don't show the checkboxes in the overview report if you cannot do anything with them. Merged from MOODLE_19_STABLE.

commit 901e25d48195e38e43499a648dd688d1d280294a
Author: tjhunt <tjhunt>
Date:   Thu, 13 Dec 2007 04:01:59 +0900
Tag:    v2.0.0-rc1

Improve PHP doc comments.

commit d3879eafec1b3c0ee9b016b83b27736dda557879
Author: tjhunt <tjhunt>
Date:   Thu, 13 Dec 2007 03:10:48 +0900
Tag:    v2.0.0-rc1

Fix Javascript error from essay questions on the review page.

commit 5a128471cc1f59dea4a9ea52881a7f58d58cf13b
Author: tjhunt <tjhunt>
Date:   Thu, 13 Dec 2007 02:47:35 +0900
Tag:    v2.0.0-rc1

Fix notice.

commit 2a13e454f95275c0f14625c7b61cf7c1865e824d
Author: tjhunt <tjhunt>
Date:   Thu, 13 Dec 2007 02:23:55 +0900
Tag:    v2.0.0-rc1

MDL-9459 - Provide information relating to groups in the summary message "Attemts: 123". Now, depending on the situation, you see one of three messages: "Attempts: 123", "Attemtps 123 (45 from your groups)" or "Attemtps 123 (45 from this group)".

commit 3d96cba76a0b5ea213197ff7fcfa5bcf202795c5
Author: tjhunt <tjhunt>
Date:   Thu, 13 Dec 2007 02:10:48 +0900
Tag:    v2.0.0-rc1

Improve PHP doc comments.

commit 89d7d96279c700a694b4894ca8518c979492f00f
Author: tjhunt <tjhunt>
Date:   Wed, 12 Dec 2007 03:49:56 +0900
Tag:    v2.0.0-rc1

MDL-12546 - The choice module was calling get_users_by_capability, which hammers the database and returns lots of data, inside a loop over users - and it was calling it with identical parameters each time. Ouch!

commit 02e48901b4d3a60944a193f3ae335cbec74fdbe9
Author: tjhunt <tjhunt>
Date:   Wed, 12 Dec 2007 01:55:54 +0900
Tag:    v2.0.0-rc1

MDL-12543 - Quiz overview report displays a grade of 0 the same way as a missing grade for an incomplete attempt. Merged from MOODLE_19_STABLE.

commit 4adab2a4a1518fd75c1060a48a361bda2d55933f
Author: tjhunt <tjhunt>
Date:   Wed, 12 Dec 2007 01:23:54 +0900
Tag:    v2.0.0-rc1

MDL-8682 - followup. When disabling the enter key, don't disable it on links. That is bad for accessibility. Merged from MOODLE_19_STABLE.

commit 7b51c4e134013bd818a1f84e7de78b3fc0d86df8
Author: tjhunt <tjhunt>
Date:   Wed, 12 Dec 2007 00:55:25 +0900
Tag:    v2.0.0-rc1

MDL-12542 - backup_todb not called on restore on date before it is inserted into mdl_user. This would cause a backup from a pre 1.7 site (or a pre 1.7 that has been upgraded to 1.9) to a 1.9 fresh install, to fail sometimes. Merged from MOODLE_19_STABLE.

commit d8d94977199691d1ddceee2320f3b14f9a0f7dd5
Author: tjhunt <tjhunt>
Date:   Wed, 12 Dec 2007 00:04:31 +0900
Tag:    v2.0.0-rc1

MDL-12540 - Quiz sometimes outputs content before <head> when previewing - breaks HTML strict. Merged from MOODLE_19_STABLE.

commit b04ad8649b8867695f0fe7c5731f376b6836b700
Author: tjhunt <tjhunt>
Date:   Tue, 11 Dec 2007 19:37:53 +0900
Tag:    v2.0.0-rc1

Take out debugging output in role_assign. It only tells you that something has worked, and everywhere else we use debugging output to warn people they have called an API wrongly. Therefore, this is just confusing now that we trust this bit of roles code.

commit aaa6ac6f2a1b332b5e47d277ffadfb50e390df87
Author: tjhunt <tjhunt>
Date:   Tue, 11 Dec 2007 02:37:14 +0900
Tag:    v2.0.0-rc1

MDL-12512 - Gradebook calculations are broken. This was caused by == FALSE that should have been === FALSE deep in the 3rd pary maths lib. Merged from MOODLE_19_STABLE.

commit 0b942156379cd519b14e748afb343bc0afef2181
Author: tjhunt <tjhunt>
Date:   Tue, 11 Dec 2007 01:53:17 +0900
Tag:    v2.0.0-rc1

Do not suppress errors from developers! it makes debugging a nightmare!

commit c85aea03d3d554aea893d913b0d45cb5e185de93
Author: tjhunt <tjhunt>
Date:   Mon, 10 Dec 2007 20:57:24 +0900
Tag:    v2.0.0-rc1

Fix notice in numerical question.

commit 9ce2fe53cb6630a1b72247c1f5801b34559871d3
Author: tjhunt <tjhunt>
Date:   Sat, 08 Dec 2007 01:58:07 +0900
Tag:    v2.0.0-rc1

MDL-12501 - Logic for including 'Grades' link in admin block is different for the logic in grade/report/index.php. Merged from MOODLE_19_STABLE.

commit 0d7c3b78cde8e6ef312bfb3fefc4fe8e34bfb81a
Author: tjhunt <tjhunt>
Date:   Thu, 06 Dec 2007 20:38:53 +0900
Tag:    v2.0.0-rc1

MDL-12448 - Fix page_generic_activity->init_full() to use get_coursemodule_from_instance(). Merged from MOODLE_19_STABLE.

commit 36c6f4f59eb3c318746bbe895965d67da86cc749
Author: tjhunt <tjhunt>
Date:   Thu, 06 Dec 2007 02:25:25 +0900
Tag:    v2.0.0-rc1

MDL-12452 - not a fix I fear, just clarifying the comments about how this method is broken.

commit 628f99616d3a795478a60c2221e00e88c1d12c37
Author: tjhunt <tjhunt>
Date:   Thu, 06 Dec 2007 01:50:23 +0900
Tag:    v2.0.0-rc1

MDL-12438 - followup - fix typos. Thanks to Dan Poltawski.

commit 349d41f0c5fb7a543607411b481353d0d03f1188
Author: tjhunt <tjhunt>
Date:   Thu, 06 Dec 2007 01:14:29 +0900
Tag:    v2.0.0-rc1

MDL-12450 - Matching up roles on the restore settings form is broken - this is basically a complete rewrite of these two functions. Merged from MOODLE_19_STABLE.

commit ade79a47685918c94aa499f7a147c8c5ee3e9fcd
Author: tjhunt <tjhunt>
Date:   Wed, 05 Dec 2007 02:29:47 +0900
Tag:    v2.0.0-rc1

MDL-12438 - Print a develoer debug message if you call get_records with a non-unique first column. Merged from MOODLE_19_STABLE.

commit 2990e11355c6e8c2e1a6f39c54a911845e67189b
Author: tjhunt <tjhunt>
Date:   Fri, 30 Nov 2007 21:08:01 +0900
Tag:    v2.0.0-rc1

MDL-12373 - If you can see your user profile, but don't have moodle/course:viewparticipants, you get a link in the nav bar that takes you to an error message. Merged from MOODLE_19_STABLE.

commit 6e4ca69ad7e5d5b585f5a22eec43ddfd5d5334e4
Author: tjhunt <tjhunt>
Date:   Fri, 30 Nov 2007 20:00:48 +0900
Tag:    v2.0.0-rc1

MDL-12393 - Layout tweaks on question category editing page. Merged from MOODLE_19_STABLE.

commit e049dee30a86c042c6bc0f4e476baeaaa7272107
Author: tjhunt <tjhunt>
Date:   Thu, 29 Nov 2007 01:43:20 +0900
Tag:    v2.0.0-rc1

MDL-12330 - moving a question that uses an image in a subfolder of course files, where the same subfolder does not exist at the destination, fails. Merged from MOODLE_19_STABLE.

commit 556be2831b16665c38eee83daf0b5e402f7b86d8
Author: tjhunt <tjhunt>
Date:   Wed, 28 Nov 2007 21:45:57 +0900
Tag:    v2.0.0-rc1

MDL-12369 - get_actual_response should not truncate the student's response. Merged from MOODLE_19_STABLE.

commit 99731878ff550e1a6773fa0deb8c259b1a9724be
Author: tjhunt <tjhunt>
Date:   Wed, 28 Nov 2007 04:18:36 +0900
Tag:    v2.0.0-rc1

MDL-12362 - Don't show scores for incomplete attempts on the quiz view page. Merged from MOODLE_19_STABLE.

commit 6f15f244a3abe2ac97e1e708c77b16540f439a2b
Author: tjhunt <tjhunt>
Date:   Fri, 23 Nov 2007 03:14:57 +0900
Tag:    v2.0.0-rc1

MDL-12322 - Reference to incorrect language file

commit 3a513ba4dfeab6fc0dba369ffa8e84d4a7cbd1d6
Author: tjhunt <tjhunt>
Date:   Thu, 22 Nov 2007 20:51:16 +0900
Tag:    v2.0.0-rc1

MDL-12282 - fix typo in previous commit. Sorry.

commit 3db14d77eced47a776b18045b077f54b8d2b9947
Author: tjhunt <tjhunt>
Date:   Thu, 22 Nov 2007 03:09:11 +0900
Tag:    v2.0.0-rc1

MDL-12305 - Don't let the quiz reorder tool put a page break at the start of the quiz. Merged from MOODLE_19_STABLE.

commit cd6ef0a5bbf0638518906d65893206ded2764ab7
Author: tjhunt <tjhunt>
Date:   Thu, 22 Nov 2007 03:00:09 +0900
Tag:    v2.0.0-rc1

MDL-12305 - Quiz reorder tool broken. Merged from MOODLE_19_STABLE.

commit 5bf04b365ed694f9e3f34b16a9fbb3d98d97a6c8
Author: tjhunt <tjhunt>
Date:   Thu, 22 Nov 2007 01:30:25 +0900
Tag:    v2.0.0-rc1

Fix some whitespace.

commit 28a082f102fe578ed3eb121bc772ca60f5c9785e
Author: tjhunt <tjhunt>
Date:   Thu, 22 Nov 2007 01:28:45 +0900
Tag:    v2.0.0-rc1

Fix typo.

commit 75082bdd89fb26509067e26bd5d409d199693c54
Author: tjhunt <tjhunt>
Date:   Wed, 21 Nov 2007 02:52:16 +0900
Tag:    v2.0.0-rc1

MDL-12286 - 'Save as new question' button ignores the setting in the 'Save in category' dropdown. Merged from MOODLE_19_STABLE.

commit 71e197598cc8f1a21ff57f9f32dea6fd8b457df8
Author: tjhunt <tjhunt>
Date:   Wed, 21 Nov 2007 02:31:13 +0900
Tag:    v2.0.0-rc1

MDL-12172 - Sorry, more fall-out from converting continue buttons to use GET instead of POST. Sometimes, URLs were being passed in with & already repalced by &amp; and we weren't handling that properly. Should now be fixed. Merged from MOODLE_19_STABLE.

commit b4d7d27cea95bea0b90fbd6f899002862c496f5f
Author: tjhunt <tjhunt>
Date:   Wed, 21 Nov 2007 01:57:22 +0900
Tag:    v2.0.0-rc1

MDL-12282 - Numerical question type - the units are displayed on the editing form with a stupidly large number of decimal places. Merged from MOODLE_18_STABLE.

commit 987c5893ac47ee19c757b031511811326bb802df
Author: tjhunt <tjhunt>
Date:   Wed, 21 Nov 2007 00:54:34 +0900
Tag:    v2.0.0-rc1

MDL-12280 - Question bank forgets sort order when adding multiple questions to a quiz. Merged from MOODLE_19_STABLE.

commit 13ccb7bd589d046c2162a9d9b15720a8b106343b
Author: tjhunt <tjhunt>
Date:   Wed, 21 Nov 2007 00:08:05 +0900
Tag:    v2.0.0-rc1

MDL-12133 - Errors calling parent::validation in a moodle form subclass because the base class method returns true not an empty array. This patch allow subclasses to start their validate method with

commit ea16c547eea0aa7f54714767fd7f596ba5e1ec0a
Author: tjhunt <tjhunt>
Date:   Tue, 20 Nov 2007 23:46:50 +0900
Tag:    v2.0.0-rc1

Remove a developer debug notice and save a database query. Merged from MOODLE_19_STABLE.

commit fe93ba838bd2c29bcd361817d5b0a8c2e756459a
Author: tjhunt <tjhunt>
Date:   Tue, 20 Nov 2007 21:41:04 +0900
Tag:    v2.0.0-rc1

MDL-12133 - Errors calling parent::validation in a moodle form subclass because the base class method signature was changed. This patch fixes all calls to parent::validation in the question editing forms. Merged from MOODLE_19_STABLE.

commit 43457dc87cacf5c83d5c7eec2a1f88d0feeba59d
Author: tjhunt <tjhunt>
Date:   Thu, 15 Nov 2007 02:03:32 +0900
Tag:    v2.0.0-rc1

MDL-12066 - Links in the HTML block are not recoded on backup and restore.

commit 9cb69c1910a1368d8d29ab4745dd0864098a4099
Author: tjhunt <tjhunt>
Date:   Thu, 15 Nov 2007 01:34:26 +0900
Tag:    v2.0.0-rc1

MDL-12172 - print_continue should create a method="get" button, not post. Merged from MOODLE_19_STABLE.

commit 4932ccc77655c5e351871e40de996cde00d27d24
Author: tjhunt <tjhunt>
Date:   Wed, 14 Nov 2007 23:48:50 +0900
Tag:    v2.0.0-rc1

Delete commented-out code that was actually not commented out properly, and so caused warnings. Merged from MOODLE_18_STABLE.

commit 1061756d8e75be77b1472fbc541921b1cec2a54b
Author: tjhunt <tjhunt>
Date:   Thu, 08 Nov 2007 00:41:20 +0900
Tag:    v2.0.0-rc1

Minor whitespace fixup.

commit f63a4ff2cc2e05126883ea5c5b98e3e392f49c6b
Author: tjhunt <tjhunt>
Date:   Thu, 08 Nov 2007 00:26:37 +0900
Tag:    v2.0.0-rc1

Eliminate duplicate $Id$ tag. Merged from MOODLE_19_STABLE.

commit 7ca4613b85a6ca6c3cc7c1868615cd105c6febcd
Author: tjhunt <tjhunt>
Date:   Thu, 08 Nov 2007 00:20:57 +0900
Tag:    v2.0.0-rc1

Eliminate duplicate $Id$ tag. Merged from MOODLE_19_STABLE.

commit 2b3b36d0af07e6fdf214125097438f58107c90cc
Author: tjhunt <tjhunt>
Date:   Wed, 07 Nov 2007 21:35:33 +0900
Tag:    v2.0.0-rc1

Eliminate duplicate $Id$ tag. Merged from MOODLE_19_STABLE.

commit 8289cdf33ad3f7bca865d185ce02db01dc664a54
Author: tjhunt <tjhunt>
Date:   Thu, 01 Nov 2007 02:08:47 +0900
Tag:    v2.0.0-rc1

MDL-10284 - wrong language string used on the quiz view page to inform students of the quiz deadline. I took the opportunity to strip out an unnecessary HTML table, and reviewing uses of the string /quiz(open|close)s?/ found one other inconsistency on the quiz editing form. Merged from MOODLE_18_STABLE.

commit 8de9f89a568d1729fb2b94e2dba7c7dcc46abebc
Author: tjhunt <tjhunt>
Date:   Thu, 01 Nov 2007 01:42:02 +0900
Tag:    v2.0.0-rc1

MDL-11624 - /mod/quiz/index.php too dependant on individual course format names. I basically changed it to do the same as the forum module. Merged from MOODLE_18_STABLE.

commit 6c58e1985b7c754404224ce327a76c0d1358f030
Author: tjhunt <tjhunt>
Date:   Wed, 31 Oct 2007 04:29:45 +0900
Tag:    v2.0.0-rc1

MDL-6376 - fix minor errors in the previous commit.

commit 3fc3ebf26bc58db00a51a8be548a78ca6ae3c4f3
Author: tjhunt <tjhunt>
Date:   Tue, 30 Oct 2007 19:50:20 +0900
Tag:    v2.0.0-rc1

MDL-11951 - supplemental - need capability checks in the outer if of the file too. Merged from MOODLE_19_STABLE.

commit c7fd861b8e17a925110d6542e676779e06662d96
Author: tjhunt <tjhunt>
Date:   Tue, 30 Oct 2007 19:46:26 +0900
Tag:    v2.0.0-rc1

Unit tests for MDL-9295 - clean_param with PARAM_URL/PARAM_LOCALURL. Merged from MOODLE_18_STABLE.

commit 92aeab0e7c81b368b755d60ffd59a05546a00341
Author: tjhunt <tjhunt>
Date:   Tue, 30 Oct 2007 19:15:22 +0900
Tag:    v2.0.0-rc1

MDL-9295 - PARAM_URL/PARAM_LOCALURL does not accept http://localhost/ or other hosts on lans. Merged from MOODLE_18_STABLE.

commit 32712055c64e5d4e681fe7018e9c39c96261372c
Author: tjhunt <tjhunt>
Date:   Tue, 30 Oct 2007 19:10:36 +0900
Tag:    v2.0.0-rc1

Correct misleading comment. Follow-on from the fix to MDL-11462. Merged from MOODLE_19_STABLE.

commit e5a3a5176d698e28ce1e8a7aaa154ed3e6824352
Author: tjhunt <tjhunt>
Date:   Tue, 30 Oct 2007 01:58:32 +0900
Tag:    v2.0.0-rc1

MDL-11952 - In the course admin block, if the user has moodle/question:managecategory, but no other capabilites, the questions link should go to the manage categories page. Merged from MOODLE_19_STABLE.

commit 60ff0c543ad4a05925f3c7726dc5afcae3bdf6f5
Author: tjhunt <tjhunt>
Date:   Tue, 30 Oct 2007 01:54:35 +0900
Tag:    v2.0.0-rc1

MDL-11951 - Need a link to the Front Page course question bank in the admin tree. Merged from MOODLE_19_STABLE.

commit 9a41d8a1f1e1c265f43d9e7f3d23f11f429a43a6
Author: tjhunt <tjhunt>
Date:   Tue, 30 Oct 2007 00:38:46 +0900
Tag:    v2.0.0-rc1

MDL-11784 - On the role assign page, list who is assigned the role for roles with only a few assignments. Improved version. Now, it only shows the extra column if some roles have between 1 and 10 assignees, as per Martin D's request. Merged from MOODLE_19_STABLE.

commit 3a48e3da50108355915cb45d2cf08a56b45a3640
Author: tjhunt <tjhunt>
Date:   Sat, 27 Oct 2007 01:00:05 +0800
Tag:    v2.0.0-rc1

MDL-11917 - Improve the title on the assign/override roles page. Merged from MOODLE_19_STABLE.

commit 5354679f776218c8f28170a286f799c6b758927a
Author: tjhunt <tjhunt>
Date:   Thu, 25 Oct 2007 22:30:07 +0800
Tag:    v2.0.0-rc1

Fix typo. Merged from MOODLE_19_STABLE.

commit 0d4c63d7fbda648c7d48717373e9f99dccb0248e
Author: tjhunt <tjhunt>
Date:   Thu, 25 Oct 2007 17:43:06 +0800
Tag:    v2.0.0-rc1

MDL-11825 - Force penaltyfactor to 1 for truefalse questions on GIFT import, as is done on the editing form. Merged from MOODLE_18_STABLE.

commit dcd55b7e80b52a5af30af4c25d2fbf6a0fcd28c3
Author: tjhunt <tjhunt>
Date:   Wed, 24 Oct 2007 00:27:25 +0800
Tag:    v2.0.0-rc1

MDL-11784 - On the role assign page, list who is assigned the role for roles with only a few assignments. Merged from MOODLE_19_STABLE.

commit c0fa4bc84c5f42cfe98a1d33ad70e944cf0cca07
Author: tjhunt <tjhunt>
Date:   Wed, 24 Oct 2007 00:15:46 +0800
Tag:    v2.0.0-rc1

MDL-11881 - User with question permission but not mod/quiz:manage can get a nasty require_capability error. Merged from MOODLE_19_STABLE.

commit 3bdca852984ce282415660d7a07c2f492d8c50a1
Author: tjhunt <tjhunt>
Date:   Tue, 23 Oct 2007 15:48:03 +0800
Tag:    v2.0.0-rc1

MDL-11870 - Notices on the quiz view page if the corresponding grade item was deleted. Merged from MOODLE_18_STABLE.

commit ebf83e2c6f30294590eb378b78f133e23c68bf80
Author: tjhunt <tjhunt>
Date:   Tue, 23 Oct 2007 00:57:19 +0800
Tag:    v2.0.0-rc1

MDL-11708 - Zero answers are not allowed in Matching questions - sometimes I hate PHP. Merged from MOODLE_18_STABLE.

commit 9b75adc2e3338267fe262ececb90410d3d3b8ea5
Author: tjhunt <tjhunt>
Date:   Mon, 22 Oct 2007 23:37:31 +0800
Tag:    v2.0.0-rc1

MDL-11824 - Literal asterisk (\*) in shortanswer question not handled correctly by get_correct_responses + Unit tests. Merged from MOODLE_18_STABLE.

commit 93b2ed94a87279b8144262d8c43f75ae254395b3
Author: tjhunt <tjhunt>
Date:   Thu, 18 Oct 2007 04:21:16 +0800
Tag:    v2.0.0-rc1

MDL-11061 - admin notifications about $CFG->wwwroot, which sometimes lead to obscure errors. Merged from MOODLE_19_STABLE.

commit bfbef967bc21ed5bfaf6d662fcf0281a074ae02f
Author: tjhunt <tjhunt>
Date:   Wed, 17 Oct 2007 22:36:03 +0800
Tag:    v2.0.0-rc1

Fix notice. Meged from MOODLE_19_STABLE.

commit d309fd09263da611b43aa9c7ee31450431834ab2
Author: tjhunt <tjhunt>
Date:   Wed, 17 Oct 2007 05:26:50 +0800
Tag:    v2.0.0-rc1

MDL-5262 - PHP notice when sorting on R% coloumn in the Item analysis report - I adopted the simple solution of stopping people sorting on that column, since it is the same as sorting on rcount, I think. Merged from MOODLE_19_STABLE.

commit 4f189a8e172853117388100dc011f891ed4db776
Author: tjhunt <tjhunt>
Date:   Wed, 17 Oct 2007 04:52:28 +0800
Tag:    v2.0.0-rc1

Fix possible notice. Merged from MOODLE_19_STABLE.

commit 263c81b0adbc45e0863b50be6228008d82b7bf83
Author: tjhunt <tjhunt>
Date:   Wed, 17 Oct 2007 04:44:55 +0800
Tag:    v2.0.0-rc1

MDL-11794 - Blocks editing on button is not XHTML Strict when produced by page_generic_activity. Merged from MOODLE_19_STABLE.

commit 76c619ea16ffd6dc874e76550d77cf1ca590a399
Author: tjhunt <tjhunt>
Date:   Wed, 17 Oct 2007 04:29:20 +0800
Tag:    v2.0.0-rc1

MDL-11791 - Custom corners broken on the quiz view page because I missed a global declaration, and PHP empty was hiding the problem. Merged from MOODLE_19_STABLE.

commit 01b609d9fa0b420e8be5583bdc947609025e4ff3
Author: tjhunt <tjhunt>
Date:   Tue, 16 Oct 2007 22:03:23 +0800
Tag:    v2.0.0-rc1

Fix restore notice when a role has no capabilities. Merged from MOODLE_19_STABLE.

commit bddd9f6f40e96e4852c04c84587c8ea738a944c3
Author: tjhunt <tjhunt>
Date:   Mon, 15 Oct 2007 15:32:15 +0800
Tag:    v2.0.0-rc1

MDL-11762 - Navigation not set up properly for resources - $this->navlinks was not being initialised in the base class. Merged from MOODLE_19_STABLE.

commit 8bc9ebc4018698d4c3ff9234ca0e9605aa81078f
Author: tjhunt <tjhunt>
Date:   Sun, 14 Oct 2007 06:00:55 +0800
Tag:    v2.0.0-rc1

Correct misleading error message in upgrade_activity_modules. Spotted while diagnosing MDL-11732. Merged from MOODLE_19_STABLE.

commit 38e179a4edaae58506404bd310dee151fd0424e7
Author: tjhunt <tjhunt>
Date:   Fri, 12 Oct 2007 23:55:49 +0800
Tag:    v2.0.0-rc1

MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.

commit 3f544a24819213e2564b70a4111e6f753390ccdc
Author: tjhunt <tjhunt>
Date:   Fri, 12 Oct 2007 23:11:57 +0800
Tag:    v2.0.0-rc1

MDL-11699 - Making one more common case a bit nicer for callers. Merged from MOODLE_19_STABLE.

commit c04f93b092437bd509cfb86b2975b78024b60302
Author: tjhunt <tjhunt>
Date:   Fri, 12 Oct 2007 18:36:11 +0800
Tag:    v2.0.0-rc1

MDL-11699 - Further, backwards-compatible, improvement to the build navigation API to simplify a common case. Also, further improvements to the doc comment, so it is easy to use. Merged from MOODLE_19_STABLE.

commit dd9a2dcc75bb94bcee53892a703f5cbe5c123ae2
Author: tjhunt <tjhunt>
Date:   Fri, 12 Oct 2007 00:45:43 +0800
Tag:    v2.0.0-rc1

MDL-11699 - Addendum - fix typo in fixup code. Sorry.

commit 7243c7c822c5b8d5233e390ab8f2a59939a67c39
Author: tjhunt <tjhunt>
Date:   Thu, 11 Oct 2007 23:25:27 +0800
Tag:    v2.0.0-rc1

Small tidy-up in print_header_simple. Merged from MOODLE_19_STABLE.

commit 67e56c0a3c0cb412066b6960dabd106502890452
Author: tjhunt <tjhunt>
Date:   Thu, 11 Oct 2007 19:52:34 +0800
Tag:    v2.0.0-rc1

MDL-11699 - Addendum - rewrite the other half of the function too, so I can understand what it is doing, and fix a couple of minor logic errors along the way. Merged from MOODLE_19_STABLE.

commit 14e66f3bebac8c587d08e14f92d6f8332c26161d
Author: tjhunt <tjhunt>
Date:   Thu, 11 Oct 2007 19:42:49 +0800
Tag:    v2.0.0-rc1

MDL-9542 - Show final grades from new gradebook in Quiz UI - with help from Petr. Merged from MOODLE_19_STABLE.