2837 Commits

Author SHA1 Message Date
Sam Hemelryk
8d624631c5 Merge branch 'MDL-31205' of git://github.com/timhunt/moodle 2012-01-24 11:29:08 +08:00
Tim Hunt
ee664a16f2 MDL-31205 quiz 'secure' window: scrollbars missing.
Embarrassing type in the arguments to openpopup
2012-01-20 17:28:26 +00:00
Tim Hunt
b7ab57f3af MDL-30033 quiz overall feedback not show for attempts with a -ve grade
This can happen, for example, if a student does really badly on a CBM quiz.
2012-01-20 17:12:43 +00:00
Petr Skoda
927010240f MDL-31006 some more PHP54 notices
PHP54 compatibility - PhpStorm IDE is the best tool for this kind of work!!
2012-01-18 01:17:25 +01:00
Eloy Lafuente (stronk7)
2176ed55e9 Merge branch 'MDL-31080' of git://github.com/timhunt/moodle 2012-01-17 01:58:51 +01:00
Eloy Lafuente (stronk7)
325f3addf2 Merge branch 'MDL-3054' of git://github.com/nebgor/moodle 2012-01-16 12:24:35 +01:00
Eloy Lafuente (stronk7)
b3bc81893e Merge branch 'MDL-31196' of git://github.com/stronk7/moodle 2012-01-16 12:16:42 +01:00
Eloy Lafuente (stronk7)
273a432956 MDL-31196 quiz stats - fix version out of sync introduced recently
Pointing to current master version as requirement (2012020200)
2012-01-16 11:16:59 +01:00
Aparup Banerjee
b3f8559ebc MDL-3054 quiz : correcting currentpage to unsigned 2012-01-16 17:35:57 +08:00
Sam Hemelryk
d36b5d1177 Merge branch 'MDL-31095' of git://github.com/timhunt/moodle 2012-01-16 16:58:32 +08:00
Aparup Banerjee
025ce406e7 Merge branch 'MDL-31143' of https://github.com/timhunt/moodle 2012-01-16 15:29:05 +08:00
Aparup Banerjee
c5fd16826a MDL-3054 quiz : cleaned whitespaces. 2012-01-16 13:41:12 +08:00
Aparup Banerjee
8e9e623e79 Merge branch 'MDL-3054' of git://github.com/mackensen/moodle 2012-01-16 13:38:49 +08:00
Dan Poltawski
a530d4a93b MDL-29091 quiz - switch to use moodle_url::out_as_local_url 2012-01-13 10:16:52 +00:00
Charles Fulton
5db8294940 MDL-3054 record the current page of a quiz attempt 2012-01-12 09:15:37 -08:00
Tim Hunt
1be875b877 MDL-31143 quiz reports: average grade of null causes php error. 2012-01-12 16:42:19 +00:00
Tim Hunt
18dff75754 MDL-31095 quiz editing: only set quiz->grade to 0 if really necessary.
It is only necessary when there are (non-preview) attempts. However,
after making this change we have to ensure users cannot start attempts
when ->grade > 0 and ->sumgrades = 0.

Display ->grade on the order and paging tab of edit.php, so it is clear
what is going on when you are using that tab.

Finally, improve the error message a student gets if they try to start a
quiz with no questions.
2012-01-12 12:10:08 +00:00
Tim Hunt
389cb58948 MDL-31095 quiz: fix bug in quiz::has_questions. 2012-01-12 12:10:06 +00:00
Tim Hunt
068384ce65 MDL-31080 quiz editing, must be able to see and delete missing questions 2012-01-12 12:09:45 +00:00
Tim Hunt
26756d9c6f MDL-30635 quiz cron: fixup - enable in version.php & fn name quiz_statistics_cron 2012-01-11 14:02:57 +00:00
Sam Hemelryk
44577c96d0 Merge branch 'MDL-31019' of git://github.com/timhunt/moodle 2012-01-10 14:26:08 +13:00
Tim Hunt
d89eb938fd MDL-31019 quiz secure mode. Fix typo that breaks submit. 2012-01-09 17:09:11 +00:00
Tim Hunt
c2f5e2ab81 MDL-30635 enable standard cron for all question and quiz plugin types.
* Support for old non-standard cron for quiz reports dropped. (Standard
cron support was added in 2.2

* Cron support added for qbehaviour, qformat and quizacces plugins.

* qtypes were already supported in the standard way.
2012-01-06 18:42:35 +00:00
Sam Hemelryk
929ea9ed6b Merge branch 'MDL-30766' of git://github.com/timhunt/moodle 2012-01-03 11:23:13 +13:00
Eloy Lafuente (stronk7)
2a297e537d Merge branch 'MDL-30873' of git://github.com/timhunt/moodle 2012-01-02 20:16:02 +01:00
Tim Hunt
ce70117bba MDL-30873 quiz: display an overall grade for preview users.
Also, don't display an overall grade unless there is at least one finished attempt.
2011-12-23 12:54:50 +00:00
Tim Hunt
0c5abe6c3e MDL-30766 mod_quiz: fix edge cases of repaginate function. 2011-12-23 12:54:08 +00:00
Petr Skoda
4034485eb7 MDL-30610 remove outdated quiz upgrade code 2011-12-23 10:38:13 +01:00
Petr Skoda
40e4cd435b MDL-30610 remove outdated mod upgrade code 2011-12-23 10:38:11 +01:00
Tim Hunt
9f0f486935 MDL-30704 quiz_overview: fixup, add missing rescaling.
Thanks Micheal de Raadt for catching this in testing.
2011-12-21 18:33:18 +01:00
Sam Hemelryk
aaee11b85d Merge branch 'MDL-30704' of git://github.com/timhunt/moodle 2011-12-21 14:30:15 +13:00
Sam Hemelryk
eae0b9a9e3 Merge branch 'MDL-30646' of git://github.com/timhunt/moodle 2011-12-20 13:23:45 +13:00
Tim Hunt
7ddfd168ac MDL-30704 Quiz grades report shows inconsistent averages.
Previously, for the overall grade, we averaged the final marks for each
student; while for the individual question grades, we averaged all
grades.

The report now works consistently on the principle that the averages
should include exactly what is currenlty being shown in the report. This
is more logical, and so should be easier for users to understand.

If you want to see the averages that are currently shown (e.g. just the
average of each student's highers grade) then the report options let you
do that.
2011-12-19 14:59:36 +00:00
Sam Hemelryk
92e72b0a86 Merge branch 'MDL-30683' of git://github.com/timhunt/moodle 2011-12-19 14:17:20 +13:00
Sam Hemelryk
d0fe873623 Merge branch 'MDL-29176' of git://github.com/timhunt/moodle 2011-12-19 12:28:52 +13:00
Sam Hemelryk
b53bea8167 Merge branch 'MDL-30758' of git://github.com/timhunt/moodle 2011-12-19 09:27:48 +13:00
Tim Hunt
800944b015 MDL-29176 quiz editing: can't move questions onto a new page. 2011-12-15 19:32:37 +00:00
Tim Hunt
29ded2d68a MDL-30646 default qbank sort should only use visible columns. 2011-12-15 18:39:21 +00:00
Tim Hunt
41d5cbc1cd MDL-30758 quiz_statistics report fails if all 1st attempts require grading 2011-12-15 12:51:20 +00:00
Tim Hunt
490668bbe1 MDL-30592 / MDL-27183 quiz statistics: fix merge problem.
These two fixes changes the same file in different ways, causing breakage.
2011-12-15 11:21:56 +00:00
Eloy Lafuente (stronk7)
12727710d4 Merge branch 'MDL-30592' of git://github.com/timhunt/moodle 2011-12-14 22:03:26 +01:00
Sam Hemelryk
cd3061294a Merge branch 'MDL-27183' of git://github.com/timhunt/moodle 2011-12-14 17:17:10 +13:00
Tim Hunt
6d54b0f77f MDL-30683 don't show overall feedback in the quiz grades report.
The grades are small, while the feedback can be big, which breaks the table layout.
2011-12-13 16:50:19 +00:00
Tim Hunt
fdb5bc03f5 MDL-30592 quiz statistics, ensure images in the question text appear. 2011-12-09 19:23:46 +00:00
Tim Hunt
3f11d7f923 MDL-30677 quiz: fix attempt counts when a student is in several groups. 2011-12-09 18:46:47 +00:00
Tim Hunt
e4977ba5c6 MDL-27183 quiz reports: don't show data to users not in any group
if the quiz is set to separate groups, and the user does not have access all groups.
2011-12-09 18:04:22 +00:00
Aparup Banerjee
29459d8e15 Merge branch 'MDL-30558' of git://github.com/timhunt/moodle 2011-12-09 10:46:23 +08:00
Tim Hunt
554de0d73a MDL-27314 quiz reports: fix JS confirmation before deleting attempts. 2011-12-09 02:33:47 +01:00
Aparup Banerjee
46f2a9366a MDL-30604 Added upgrade lines to upgrade.php(s) 2011-12-09 01:28:59 +01:00
Eloy Lafuente (stronk7)
bc4869a828 Merge branch 'MDL-29579' of git://github.com/timhunt/moodle 2011-12-08 23:36:49 +01:00