621 Commits

Author SHA1 Message Date
Tim Hunt
ac4d91575a MDL-32322 quiz reports: name improvement attempt_report -> attempts_report. 2012-04-20 10:07:22 +01:00
Tim Hunt
dcd65f1b4f MDL-32322 quiz reports: extract a mod_quiz_attempt_report_options class.
More clean-ups are possible in the reports after this, but I am committing now, having got the code back to a working state.
2012-04-20 10:07:21 +01:00
Tim Hunt
303aa3b8d0 MDL-32322 quiz reports: killing more duplication. 2012-04-20 10:07:19 +01:00
Tim Hunt
5ca45fddab MDL-32322 quiz reports: eliminate more duplication. 2012-04-20 10:07:18 +01:00
Tim Hunt
5bf8a1695d MDL-32322 quiz reports: defines -> class constants. 2012-04-20 10:07:17 +01:00
Tim Hunt
2639a68ad5 MDL-32322 quiz reports: refactor the settings forms to eliminate duplication. 2012-04-20 10:07:15 +01:00
Tim Hunt
4747c788c0 MDL-32322 quiz reports: edit to increase duplication, before refactoring. 2012-04-20 10:07:14 +01:00
Tim Hunt
768a758854 MDL-32322 quiz reports: Appease the great god codechecker. 2012-04-20 10:07:12 +01:00
Tim Hunt
90fbad644b MDL-32322 quiz reports: fix more strict syntax issues. 2012-04-20 10:07:11 +01:00
Tim Hunt
8d76124c5b MDL-32322 quiz reports: fix up PHP doc comments. 2012-04-20 10:07:09 +01:00
Tim Hunt
6b4e2d76a3 MDL-32322 quiz reports: rename classes, and fix one strict syntax. 2012-04-20 10:07:08 +01:00
Tim Hunt
f5e42695bd MDL-32322 quiz reports: split attemptsrepor.php into one file per class. 2012-04-20 10:07:06 +01:00
Tim Hunt
26aded5581 MDL-32322 quiz reports: get_context_instance -> new classes.
Also, eliminate unnecessary use of global $COURSE.
2012-04-20 10:07:05 +01:00
Sam Hemelryk
3211569a6a Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag"
This reverts commit f9f281b8fee75c2416d71bae7583fd026b9ccabb.
2012-04-11 17:18:58 +12:00
Dan Poltawski
3d83a9f504 Merge branch 'MDL-32300' of git://github.com/timhunt/moodle 2012-04-10 17:42:28 +08:00
Tim Hunt
59ea81767e MDL-32300 quiz reports: proper frankenstyle prefixes on class names. 2012-04-10 10:04:55 +08:00
Sam Hemelryk
5bfeb5ffd3 Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle 2012-04-10 12:34:37 +12:00
Tim Hunt
7e3ac96cbe MDL-32300 quiz manual grading report: also do some other cleanup. 2012-04-05 15:33:09 +01:00
Tim Hunt
d42b8ac2f3 MDL-32300 quiz reports: proper frankenstyle prefixes on class names. 2012-04-05 15:33:07 +01:00
Petr Skoda
7fe8aac1a7 MDL-32149 add quiz unit tests 2012-04-03 22:31:02 +02:00
M Kassaei
011187104f MDL-32214 quiz regrading: with many attempts, PHP runs out of memory 2012-04-02 11:04:05 +08:00
Rossiani Wijaya
f9f281b8fe MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag 2012-03-30 16:26:58 +08:00
Aparup Banerjee
6a0d8209d1 MDL-31910 Quiz : fixed whitespace 2012-03-13 10:15:05 +08:00
M Kassaei
137d60b66f MDL-31910 Quiz : Error on Manual Grading report 2012-03-13 10:13:27 +08:00
Petr Skoda
bb88a54d06 MDL-31985 remove text sizes from all install.xml files 2012-03-11 15:55:37 +01:00
Petr Skoda
c3dd6b01fe MDL-27982 drop UNSIGNED attributes from all install.xml files 2012-03-06 12:01:10 +01:00
Eloy Lafuente (stronk7)
d8c9ff403b Merge branch 's17_MDL-30973_file_docblock_master' of git://github.com/dongsheng/moodle 2012-03-01 00:25:18 +01:00
Petr Skoda
e67bc2a410 MDL-30964 fix phpdocs in access.php files in all plugins 2012-02-27 07:23:10 +01:00
Dongsheng Cai
d2b7803e5a MDL-30973 Files API, check and update DocBlock 2012-02-15 12:48:57 +08: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
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
Tim Hunt
1be875b877 MDL-31143 quiz reports: average grade of null causes php error. 2012-01-12 16:42:19 +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
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
Petr Skoda
4034485eb7 MDL-30610 remove outdated quiz upgrade code 2011-12-23 10:38:13 +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
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
b53bea8167 Merge branch 'MDL-30758' of git://github.com/timhunt/moodle 2011-12-19 09:27:48 +13: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
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
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
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
Eloy Lafuente (stronk7)
01783c46d4 Merge branch 'MDL-27314' of git://github.com/timhunt/moodle 2011-12-08 00:45:15 +01:00