118 Commits

Author SHA1 Message Date
Tim Hunt
7dbde4ed3b MDL-38557 quiz install.php code should actually be in reports.
I think it is worth moving this code to its correct home in master.
2013-03-22 10:36:15 +00:00
Tim Hunt
a4768fe290 MDL-38412 fix quiz reports group mode weirdness.
Moodle currently selected group uses the session. This can cause weird
effects when you have two tabs open. This is particularly weird in the
quiz reports, where some actions like delete attempt are checked against
the currently selected group.

The solution is to put the currently selected group into the URL for all
actions like delete/regrade attempt, regrade all attempts, download and
sort table.
2013-03-15 11:58:06 +00:00
Eloy Lafuente (stronk7)
663dbbc2e6 MDL-36933 Bump everything to 2012112900
(versions, requires and dependencies)
2012-11-30 03:30:09 +01:00
Tim Hunt
698c42ee61 MDL-34937 quiz responses reports: attempt grade not shown. 2012-08-16 21:34:17 +01:00
Eloy Lafuente (stronk7)
c5e783e512 MDL-33794 version.php: Bump all versions, requires and dependencies to 2012061700 2012-06-18 02:37:00 +02:00
Tim Hunt
a558acf93f MDL-32739 quiz reports: process_actions broken. Regression from MDL-3030 2012-05-03 12:02:29 +01:00
Tim Hunt
be18f589e2 MDL-3030 quiz overdue handling: test state, not timefinish where applicable. 2012-04-27 15:07:40 +01:00
Tim Hunt
863872e3e7 MDL-3030 quiz overdue handling: show the attempt state in the reports. 2012-04-27 15:07:33 +01:00
Tim Hunt
c547514a9e MDL-3030 quiz overdue handling: show attempt state in the reports. 2012-04-27 15:07:31 +01:00
Tim Hunt
9d58dae33b MDL-32322 quiz reports: fix PHPdoc comments. Thanks Smurf. 2012-04-20 11:34:56 +01:00
Tim Hunt
c0270961a8 MDL-32322 more changes to make the code more similar before refactoring. 2012-04-20 10:07:28 +01:00
Tim Hunt
361cf27d7f MDL-32322 quiz reports: refactor processing actions. 2012-04-20 10:07:26 +01:00
Tim Hunt
e97d60adce MDL-32322 quiz reports: pass options object -> table, not separate args. 2012-04-20 10:07:25 +01:00
Tim Hunt
9e67e357eb MDL-32322 quiz_reports: move some more options into the options class. 2012-04-20 10:07:23 +01:00
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
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
Tim Hunt
59ea81767e MDL-32300 quiz reports: proper frankenstyle prefixes on class names. 2012-04-10 10:04:55 +08: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
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
Petr Skoda
11106669a1 MDL-30007 standardise quiz report version files 2011-11-29 22:19:05 +01:00
Tim Hunt
0eafc98852 MDL-29627 fix code-checker issues throughout the quiz code. 2011-10-13 11:13:16 +01:00
Sam Hemelryk
8ebbb06adf MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently 2011-09-08 09:30:27 +12:00
Petr Skoda
18bd7573d6 MDL-26796 convert array parameter cleaning to new functions 2011-08-18 08:40:33 +02:00
Eloy Lafuente (stronk7)
8b95f430b5 MDL-28036 quiz - add some missing (reports) lang strings 2011-06-26 18:22:23 +02:00
Eloy Lafuente (stronk7)
5abfa6a930 MDL-20636 changes to quiz and quiz reports upgrade code 2011-06-06 17:16:22 +01:00
Tim Hunt
d3bab68c78 MDL-27408 update all question and quiz plugin version.php files. 2011-05-12 23:18:47 +01:00
Tim Hunt
25a03faaca MDL-20636 fix many code-checker issues in mod/quiz. 2011-05-12 00:30:25 +01:00
Tim Hunt
55ca80edde MDL-20636 Fix lots of problems found by the new improved codechecker. 2011-04-04 20:11:29 +01:00
Tim Hunt
c7df5006b9 MDL-20636 Add lots of missing public/protected/private. 2011-03-23 16:22:25 +00:00
Tim Hunt
3c6185e979 MDL-20636 Move restart preview button into the quiz nav block & remove unnecessary titles.
Also, remove automatic redirects to the quiz edit page. Show a message and a button instead.
2011-02-25 12:12:09 +00:00
Tim Hunt
2daffca554 MDL-20636 Fix 30 TODOs 2011-02-24 17:47:51 +00:00
Tim Hunt
f7970e3ca7 MDL-20636 Eliminate integer and boolean in PHPdoc comments. should be int and bool. 2011-02-23 16:25:25 +00:00
Tim Hunt
a17b297d60 MDL-20636 Add missing defined('MOODLE_INTERNAL') || die(); 2011-02-23 16:00:20 +00:00
Tim Hunt
ba6438471b MDL-20636 Fix top of file boilerplate in mod/quiz. 2011-02-21 16:13:25 +00:00
Tim Hunt
e24ee794b2 MDL-20636 Convert the overview report. 2011-02-16 17:33:51 +00:00
Tim Hunt
9b40c540ee MDL-20636 Responses report mostly working. 2011-02-14 17:57:47 +00:00
Tim Hunt
7ee80cab53 MDL-20636 Manual comment popup comment.php now works. 2011-02-09 20:29:59 +00:00
Helen Foster
82b15e2811 MDL-21250 capital letters removal
Also some spotted leading and trailing whitespace was removed from some
strings.
2011-01-27 16:24:30 +01:00
Tim Hunt
6577832390 quiz reports MDL-25206 Make it more obvious how to review the students responses. 2010-11-15 16:41:42 +00:00