Git commits in Moodle 1.7.4 by tjhunt

commit 3e2d9e95675c764248cc7b89fab2131489d49741
Author: tjhunt <tjhunt>
Date:   Wed, 19 Dec 2007 01:12:36 +0900
Tag:    v1.7.4

MDL-12635 - Manual grading report does not check capabilites - also, only show the tabs for the reports people can access. Backported from MOODLE_19_STABLE.

commit 1bc05922bc72ec582be9f984c2275a0586011d58
Author: tjhunt <tjhunt>
Date:   Thu, 13 Dec 2007 03:10:46 +0900
Tag:    v1.7.4

Fix Javascript error from essay questions on the review page.

commit fb18d9cab72309ac22db4fa46d36ec58bb0d77d4
Author: tjhunt <tjhunt>
Date:   Wed, 12 Dec 2007 00:55:38 +0900
Tag:    v1.7.4

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. Backported from MOODLE_19_STABLE.

commit 8d9e5477a48b213c888d157e9738aff415f0c93c
Author: tjhunt <tjhunt>
Date:   Wed, 31 Oct 2007 03:22:21 +0900
Tag:    v1.7.4

MDL-9375 (and dups) - Each attempt builds on last with multi-page quizzes gives the wrong score on the second attempt. It turns out that this was already fixed in Moodle 1.9 (part of commit 1.115 -> 1.116) so I have just backported the relevant changes. I have tested that this fixes the reported problem. I have not had time to test that it does not break one of the other billion possible combinations of settings possible with the quiz. Code review and testing welcome.

commit ce26bd19ea2cc546620d75d8a7c4316240fdc24b
Author: tjhunt <tjhunt>
Date:   Tue, 30 Oct 2007 00:25:05 +0900
Tag:    v1.7.4

MDL-11416 - Support for nonsortable columns in table lib. Backported from MOODLE_19_STABLE so that the fix for MDL-5262 works.

commit 40cc3341ad19f0287abf84f3ee6110c6379af38f
Author: tjhunt <tjhunt>
Date:   Mon, 22 Oct 2007 23:38:10 +0800
Tag:    v1.7.4

MDL-11824 - Literal asterisk (\*) in shortanswer question not handled correctly by get_correct_responses + Unit tests. Backported from MOODLE_18_STABLE.

commit d7414e9068c7e80c0f198c059b5ab9704778adf5
Author: tjhunt <tjhunt>
Date:   Mon, 22 Oct 2007 23:37:32 +0800
Tag:    v1.7.4

file testquestiontype.php was added on branch MOODLE_17_STABLE on 2007-10-22 15:38:10 +0000

commit d01b47381b79eef698a7a050cf5d060ac552a45f
Author: tjhunt <tjhunt>
Date:   Wed, 17 Oct 2007 05:26:46 +0800
Tag:    v1.7.4

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. Backported from MOODLE_19_STABLE.