3077 Commits

Author SHA1 Message Date
Dan Poltawski
afbdebee62 Merge branch 'MDL-35698' of git://github.com/timhunt/moodle 2012-10-02 11:40:16 +08:00
Dan Poltawski
49ab2d5fb2 Merge branch 'WIP-MDL-35708-master_quiz' of git://github.com/nadavkav/moodle 2012-10-02 11:36:49 +08:00
Sam Hemelryk
e737ad93a1 Merge branch 'MDL-34257' of git://github.com/timhunt/moodle 2012-10-02 10:46:01 +13:00
Sam Hemelryk
cf45206006 Merge branch 'MDL-30885' of git://github.com/timhunt/moodle 2012-10-02 10:31:13 +13:00
Nadav Kavalerchik
993dde5107 MDL-35708 - Right align user's information in quiz attempt review page , when in RTL mode (theme/standard & base) 2012-09-30 16:46:19 +02:00
Tim Hunt
efe5a53ede MDL-35698 quiz cron: group overrides not computed correctly
Thanks to Matt Petro for finding the bug in this monster SQL statement.
2012-09-29 09:34:29 +01:00
Tim Hunt
a957e97f2f MDL-34657 user sorting: minor niggles found while testing. 2012-09-27 17:44:38 +01:00
Tim Hunt
aebbfb7bf9 MDL-30885 quiz: use formchangechecker during quiz attempts.
To avoid the possiblity of dataloss if a student tries to navigate away
having changed some answers.
2012-09-27 14:13:24 +01:00
Tim Hunt
9695ff811b MDL-34657 user sorting: consistent sorting everywhere.
This commit coverts everything in the codebase to use the new
users_order_by_sql function when sorting lists of users. More details in
the bug.

Note that this does not change places where users are displayed in a
sortable table, and the sort order comes from the table.
2012-09-27 12:41:42 +01:00
Tim Hunt
e3b2e1a4f4 MDL-34257 quiz 'secure' mode: PAGE initialisation order issues. 2012-09-27 12:41:00 +01:00
Michael Aherne
8d9abcf02d MDL-35163 quiz Make quiz report options available to attempts form 2012-09-14 10:03:20 +01:00
Sam Hemelryk
4b7377847f MDL-34568 mod_quiz: Fixed up whitespace issue 2012-09-12 11:20:35 +12:00
Rajesh Taneja
0465ef6e31 MDL-34568: Accessibility: Added missing lables in quiz section
AMOS BEGIN
 CPY [pluginname,grade_export_xls],[downloadexcel,table]
 CPY [pluginname,grade_export_ods],[downloadods,table]
AMOS END
2012-09-07 10:18:15 +08:00
Aparup Banerjee
7183a1f4a4 Revert "MDL-34257 quiz 'secure' mode: PAGE initialisation order issues."
This reverts commit 0e708c34760ee274990e1c5bad96583301a6cc79.

note : there is another commit prefixed with MDL-34257 hash 'ddda79c' which was really for MDL-34187. 'ddda79c' is not being reverted as its not really about MDL-34257.
2012-09-06 17:35:40 +08:00
Eloy Lafuente (stronk7)
393cadf205 MDL-29662 quiz overrides: use proper course value (was php notice). 2012-09-05 18:01:24 +02:00
Tim Hunt
0e708c3476 MDL-34257 quiz 'secure' mode: PAGE initialisation order issues. 2012-09-04 11:39:38 +08:00
Aparup Banerjee
8f8e28c0b6 Merge branch 'MDL-31365_master' of https://github.com/birdy1976/moodle 2012-09-04 11:38:11 +08:00
Eloy Lafuente (stronk7)
b448cf475e Merge branch 'MDL-29662' of git://github.com/timhunt/moodle 2012-09-04 01:14:06 +02:00
Eloy Lafuente (stronk7)
a39c97ca4a Merge branch 'MDL-33306' of git://github.com/timhunt/moodle 2012-09-04 00:30:35 +02:00
Martin Vögeli
2d0e682d8b MDL-31365 Fix for safebrowser and securewindow 2012-09-03 07:25:30 +02:00
Tim Hunt
2079c732f9 MDL-29662 quiz overrides: update dates during course reset.
Also, fix duplicate SQL clause in similar code in lib,
and fix error when saving overrides.
2012-08-29 18:41:37 +01:00
Tim Hunt
89269fc2c8 MDL-33306 qtype multichoice: fix display of right answer.
Also, fix  higlighing of last edited question in the qeustion bank, when
it co-incides with a grey row.
2012-08-29 17:47:48 +01:00
Aparup Banerjee
9455f48280 Merge branch 'MDL-34549-master' of git://github.com/ankitagarwal/moodle 2012-08-28 11:45:11 +08:00
Ankit Agarwal
d197ea4300 MDL-34549 libraries: Replace get_context_instance_by_id() by context::instance_by_id() 2012-08-24 11:30:10 +08:00
Tim Hunt
f8d354282c MDL-35038 quiz reports: clarify the API changes docs.
Also re-organise the file to put the most recent changes at the top.
2012-08-23 19:29:14 +01:00
M Kassaei
940f7b9171 MDL-35038 quiz reports: document the API changes in 2.3. 2012-08-23 19:29:13 +01:00
Dan Poltawski
8b63e25692 Merge branch 'MDL-35000' of git://github.com/timhunt/moodle 2012-08-22 10:25:26 +08:00
Dan Poltawski
23b5bbf49d Merge branch 'MDL-34733' of git://github.com/timhunt/moodle 2012-08-22 09:16:10 +08:00
Eloy Lafuente (stronk7)
b85b7b34b2 Merge branch 'MDL-34702' of git://github.com/timhunt/moodle 2012-08-22 02:10:22 +02:00
Tim Hunt
172238f435 MDL-35000 quiz: Complete activity report broken by bad require.
Fix the stupid error that caused this. Also, make all the other
require_once calls in the file consistent.
2012-08-21 18:01:32 +01:00
Tim Hunt
d869de66a6 MDL-34733 quiz 'secure' mode: finish review link broken in previews
This fix a small API change in mod_quiz_renderer::finish_review_link.
At least the required change is an improvement, since it gives the
renderer more flexibility.
2012-08-21 12:08:57 +01:00
Tim Hunt
698c42ee61 MDL-34937 quiz responses reports: attempt grade not shown. 2012-08-16 21:34:17 +01:00
Tim Hunt
6df46aea1d MDL-34702 quiz DB: questiondecimalpoints has wrong default.
Thanks to the folks at UCL for tracking down this problem. It has only
hidden for 2+ years!
2012-08-16 17:33:08 +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