Tim Hunt
698c42ee61
MDL-34937 quiz responses reports: attempt grade not shown.
2012-08-16 21:34:17 +01:00
Dan Poltawski
b6582000f5
Merge branch 'MDL-34905' of git://github.com/timhunt/moodle
2012-08-15 17:53:55 +08:00
Tim Hunt
4be550c57d
MDL-34905 quiz: missing global $DB;
...
This code normally only runs when JS is disabled, which is why this was
not noticed before.
2012-08-15 10:25:25 +01:00
Petr Škoda
f387bb9bb7
MDL-34741 use 2in3 in mod_quiz
2012-08-11 20:40:09 +02:00
Dan Poltawski
a8b8f472bd
MDL-34599 mod_quiz: optional $thispage & $nextpage
...
The previous change making the params required was a regression.
2012-08-01 09:05:32 +08:00
Dan Poltawski
66146ffcf7
Merge branch 'MDL-32791' of git://github.com/timhunt/moodle
2012-07-31 17:46:13 +08:00
Dan Poltawski
0f6cdc519a
Merge branch 'MDL-34599' of git://github.com/timhunt/moodle
2012-07-31 17:42:19 +08:00
Dan Poltawski
8ba2123739
Merge branch 'MDL-34532' of git://github.com/timhunt/moodle
2012-07-31 10:42:55 +08:00
Dan Poltawski
82ee961aca
Merge branch 'MDL-34589' of git://github.com/timhunt/moodle
2012-07-30 13:55:43 +08:00
Tim Hunt
f8b665224f
MDL-34532 quiz reports: error when showing users without attempts.
...
We were not checking if attempt state was null before trying to convert it to a string.
2012-07-27 23:21:32 +01:00
Tim Hunt
7e48778b87
MDL-31509 quiz outcomes: let people associate quizzes with outcomes.
...
The quiz does not really support outcomes, but even so in 1.9 you could
select outcomes on the quiz edit form, and apparently this was useful to
some people, therefore we should re-enable it.
2012-07-27 18:06:24 +01:00
Tim Hunt
4b6ad1e79b
MDL-32791 quiz db: clean up garbage data that was causing problems.
...
Melinda Kraft reported having rows in their quiz_question_instances
table which caused various problems. These rows are meaningless, so I
have done a DB upgrade step to clean them up, which should deal with the
bad side-effets they were causing.
2012-07-27 16:41:28 +01:00
Tim Hunt
ff2ec2cb95
MDL-34599 quiz attempts: more robust if page number out of range.
...
Rather than throwing an exception, we should just show the first/last
page of the quiz if the page number is out-of-range.
2012-07-27 11:42:03 +01:00
Tim Hunt
6200f70c5e
MDL-34589 quiz report graphs: PHP5.4 issue with unset($array[$float]).
...
Thanks to Matthew Davidson for diagnosing the problem.
2012-07-26 18:47:57 +01:00
Dan Poltawski
6d2cd4368a
Merge branch 'MDL-34468-master' of git://github.com/ankitagarwal/moodle
2012-07-24 17:53:50 +08:00
Ankit Agarwal
c492a78ee2
MDL-34468 quiz: Replace all instances of get_context_instance() with respective context_XXXX class in mod/quiz
2012-07-24 17:08:05 +08:00
Dan Poltawski
5082d87c03
Merge branch 'wip-mdl-32940' of git://github.com/rajeshtaneja/moodle
2012-07-24 13:39:59 +08:00
Rajesh Taneja
61cca0b7fc
MDL-32940 libraries: Replaced deprecated PARAM_NUMBER with PARAM_FLOAT
2012-07-23 17:21:05 +08:00
Dan Poltawski
052f346105
Merge branch 'MDL-34379' of git://github.com/timhunt/moodle
2012-07-23 14:13:58 +08:00
Dan Poltawski
bc659e5284
Merge branch 'MDL-34351' of git://github.com/timhunt/moodle
2012-07-23 14:09:16 +08:00
Dan Poltawski
a5c8e33122
Merge branch 'wip-mdl-32945' of git://github.com/rajeshtaneja/moodle
2012-07-23 13:35:24 +08:00
Dan Poltawski
ed25f64642
Merge branch 'wip-mdl-30651' of git://github.com/rajeshtaneja/moodle
2012-07-23 11:22:06 +08:00
Sam Hemelryk
4c21d0da95
Merge branch 'wip-mdl-19430' of git://github.com/rajeshtaneja/moodle
2012-07-23 13:36:45 +12:00
Eric Merrill
478067dbfb
MDL-34451 quiz Fixed problem where attempt page is updated for ALL attempts, not just current.
2012-07-22 12:22:28 -04:00
Tim Hunt
c33d527833
MDL-34351 quiz cron: one broken overdue attempt should not kill cron
...
It seems that sometimes trying to process an overdue quiz attempt can
throw an exception. In that case, we need to catch it and report it
nicely, and then carry on processing the rest of the attempts, rather
than just killing the whole of cron processing.
Also, there may be garbage quiz attempts where the associated quiz or
course has been deleted. Skip those too.
2012-07-19 15:21:05 +01:00
Tim Hunt
7326b7e247
MDL-34379 quiz reports: timetaken 'open' for never submitted attempts
2012-07-19 12:51:55 +01:00
Rajesh Taneja
071e68f93e
MDL-32945 libraries: Replaced deprecated PARAM_MULTILANG with PARAM_TEXT
2012-07-19 15:44:40 +08:00
Rajesh Taneja
1e12c1203b
MDL-30651 libraries: Replaced deprecated PARAM_INTEGER with PARAM_INT
2012-07-19 15:37:46 +08:00
Rajesh Taneja
37b5e8fee8
MDL-19430 My Moodle: Polished course_over view code of netspot
2012-07-19 15:30:37 +08:00
Dan Poltawski
648c1ad194
Merge branch 'MDL-34187' of git://github.com/timhunt/moodle
2012-07-16 15:57:21 +08:00
Tim Hunt
2cdcb90553
MDL-34164 quiz reports: only try to show graphs if GD is installed.
...
if (empty($CFG->gdversion)) { seems to be the common idiom for this.
I refactored the graph output into the renderer, to avoid having to
duplicate that test three times.
2012-07-14 09:20:04 +01:00
Tim Hunt
ddda79ca5f
MDL-34257 quiz 'secure' window: does not close automatically.
2012-07-13 18:02:20 +01:00
Dan Poltawski
2c0c3379fc
Merge branch 'MDL-30844-master' of https://github.com/FMCorz/moodle
2012-07-10 14:47:35 +08:00
Dan Poltawski
4e85084148
Merge branch 'MDL-18301-master' of git://github.com/FMCorz/moodle
2012-07-09 14:27:10 +08:00
Frederic Massart
455dc0de61
MDL-18301 Gradebook: Added feature for components to control grade visibility
2012-07-06 09:52:46 +08:00
Eloy Lafuente (stronk7)
f1d9ceb0e4
Merge branch 'wip-MDL-33521-m24' of git://github.com/samhemelryk/moodle
2012-07-03 01:58:48 +02:00
Dan Poltawski
0acd31fba8
Merge branch 'MDL-34109' of git://github.com/timhunt/moodle
2012-07-02 16:42:56 +08:00
Dan Poltawski
73c672f593
Merge branch 'MDL-34025_master' of https://github.com/markn86/moodle
2012-07-02 16:28:05 +08:00
Dan Poltawski
bfcc865709
Merge branch 'MDL-33924' of git://github.com/timhunt/moodle
2012-07-02 16:19:14 +08:00
Dan Poltawski
337b34fac0
Merge branch 'MDL-34054' of git://github.com/timhunt/moodle
2012-07-02 14:56:50 +08:00
Sam Hemelryk
d75e8e3ac8
MDL-33521 css: Fixed invalid CSS in core CSS and plugin styles.css files
2012-07-02 11:34:44 +12:00
Tim Hunt
fff85efe4b
MDL-34054 quiz reports: missing context.
...
quiz_report_should_show_grades needs to know the context, so pass it
through.
2012-06-29 16:09:20 +01:00
Tim Hunt
0f525225a1
MDL-34109 quiz cron: timelimit are timeclose of 0 are special.
...
If the timelimit or timeclose of a quiz are 0, this means 'no
restriction', rather than '1970' or '0 seconds'. We need to handle these
special cases correctly in the code that looks for quiz attempts that
might be in the wrong state.
2012-06-29 11:07:21 +01:00
Tim Hunt
240db6d8f7
MDL-34109 quiz cron: change whitespace before applying the fix.
...
This commit just changes the white-space, but does not change any of the
actual code. This is so that the commit I am about to make, which will
change the code, will be easier to understand.
2012-06-29 11:02:30 +01:00
Aparup Banerjee
99c3c503e0
MDL-34096 Installation : Added 2.3 upgrade line to db upgrade scripts.
2012-06-29 11:41:09 +08:00
Tim Hunt
df217fd7d0
MDL-33924 quiz: incorrect foreign key definition.
...
Thanks to Jean-Michel Vedrine for spotting this.≈
2012-06-27 08:08:10 +01:00
Mark Nelson
f28da7fcc7
MDL-34025 - quiz secure window: fix popup closing
2012-06-27 15:00:23 +08:00
Frederic Massart
95114b18e5
MDL-30844 Accessibility: orphan label in form action buttons
2012-06-25 10:18:42 +08:00
Eloy Lafuente (stronk7)
e165512d3a
Merge branch 'MDL-33778' of git://github.com/timhunt/moodle
2012-06-19 00:54:39 +02:00
Tim Hunt
72f2e13d04
MDL-33778 quiz statistics: part and class ids can be strings, not just ints.
2012-06-18 14:39:21 +01:00