Tim Hunt
f484a62984
MDL-30137 question engine: Ugglify the SQL to appease MS SQL server.
2011-11-04 15:02:29 +00:00
Tim Hunt
987c2d491e
MDL-29627 quiz access refactor password check into a generic check page.
2011-10-13 11:13:20 +01:00
Tim Hunt
4344c5d5d9
MDL-29627 quiz old popup int column => new browsersecurity column.
...
The new column store more meaningful string constants.
2011-10-13 11:13:18 +01:00
Tim Hunt
d755b0f577
MDL-29627 quiz_access_manager move all output code to the renderer.
...
This achieves a massive clean-up. It simplifies comples code in a number
of places. It allows some methods and functions to be moved to a more
appropriate home (for example cannot_review_message to the quiz class).
It moves more logic out of the renderer.
2011-10-13 11:13:12 +01:00
Tim Hunt
ea38245cfb
MDL-29627 quiz access: move the unit tests into the relevant plugins.
2011-10-13 11:13:04 +01:00
Tim Hunt
73a7a0c90d
MDL-29360 quiz comment.php has broken JS for the Cancel button.
...
This swtichest it to more modern YUI3 approach.
2011-09-16 12:03:46 +01:00
Tim Hunt
13bbfebc75
MDL-28226 quiz locallib. Fix PHPdoc comment and code to make the API clearer.
2011-08-18 13:58:14 +01:00
Tim Hunt
effc982b1e
MDL-21934 Removing all questions from the quiz should not delet overall feedback.
...
Overall feedback was being wiped because the quiz max grade was being set to zero when sumgrades was set to 0. The correct logic is to only set maxgrade to 0 if there are questions in the quiz and sumgrades is 0.
2011-08-15 18:47:03 +01:00
Eloy Lafuente (stronk7)
cf5b3dad05
Merge branch 'MDL-27483' of git://github.com/timhunt/moodle
2011-07-11 16:25:42 +02:00
Tim Hunt
7bf53cf233
MDL-27483 make quiz repagination more robust.
2011-07-07 12:38:06 +01:00
Tim Hunt
81522abd63
MDL-28166 fix some more instances of my favourite becuase typo.
2011-07-06 14:19:25 +01:00
Tim Hunt
cbb8b55c33
MDL-28166 send quiz event notifications asynchronously.
...
This avoids the problem that you cannot send messages in transactions.
It also means that the quiz submission will not be prevented, and the
message will still be sent eventually, if any part of the messaging
system is giving intermittent errors when the student wants to submit
their quiz.
2011-07-06 14:16:30 +01:00
Tim Hunt
56a4ae4673
MDL-28074 question preview should set context/course/cm properly.
...
1. We need this so that, for example, when previewing a question from
the quiz editing page, the preview uses the filter settings, theme and
language set for that quiz and course.
2011-06-29 21:25:56 +01:00
Eloy Lafuente (stronk7)
92f753eb99
Merge branch 'MDL-27860' of git://github.com/timhunt/moodle
2011-06-22 02:57:50 +02:00
Tim Hunt
3461dbad9e
MDL-27860 count quiz attempts properly when checking if a new attempt is allowed.
2011-06-18 18:23:49 +01:00
Tim Hunt
e50a5813b7
MDL-27910 quiz stupid typo in a DB query
2011-06-18 11:37:08 +01:00
Tim Hunt
47678d60f8
MDL-27747 quiz_statistics fix edit question icons. #737
2011-06-07 16:46:30 +01:00
Tim Hunt
0f1c59c552
MDL-27747 quiz locallib remove unnecessary try/catch. #475
...
delegated_transaction just does the right thing. Thanks to Justin Wyllie for spotting this.
2011-06-07 16:27:49 +01:00
Tim Hunt
612106b3a4
MDL-20636 fix URL handling for previews to always use Moodle URL.
...
Also, make the preview window big enough. #367
2011-05-27 11:49:23 +01:00
Tim Hunt
39759ac468
MDL-27408 fix a few minor bugs with the upgrade from 2.0.
...
More testing, and adaptive mode, still to come.
2011-05-12 21:03:24 +01:00
Tim Hunt
bb28e3bc5e
MDL-27408 Moved the question engine install/upgrade code into the proper place.
...
I have tested upgrade from the previous development version, and a clean install. Upgrade from 2.0 still needs more work.
2011-05-12 18:58:50 +01:00
Tim Hunt
25a03faaca
MDL-20636 fix many code-checker issues in mod/quiz.
2011-05-12 00:30:25 +01:00
tjh238
7c85d7c871
MDL-20636 Bug 11493 can't show marks available for deferred feedback summative iCMAs
2011-04-08 17:16:55 +01:00
Tim Hunt
6b5f24d376
MDL-20636 Handle deleting response files when the usage is deleted. #216
2011-03-31 12:45:17 +01:00
Tim Hunt
8d13ea834c
MDL-20636 Another little bug found by Jamie.
2011-03-30 14:30:40 +01:00
Tim Hunt
e65f89b914
MDL-20636 Fix typo. Thanks Jamie.
2011-03-30 11:00:33 +01:00
Tim Hunt
6d03fd9830
MDL-20636 Fix for Bug 11593 merged from our 1.9 version. #268
2011-03-16 14:34:19 +00:00
Tim Hunt
e2cba246b7
MDL-20636 Merge vle/master into ouqe2
...
Conflicts:
mod/quiz/locallib.php
mod/quiz/report/overview/overview_table.php
mod/quiz/report/overview/report.php
mod/quiz/report/responses/report.php
question/type/random/questiontype.php
2011-03-02 17:34:18 +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
0ff4bd0877
MDL-20636 Fix new stdClass -> stdClass(), and trailing whitespace.
2011-02-21 18:10:19 +00:00
Tim Hunt
ba6438471b
MDL-20636 Fix top of file boilerplate in mod/quiz.
2011-02-21 16:13:25 +00:00
Petr Skoda
d83bad412a
MDL-26119 fixing regression caused by previous merge in PULL-294
...
We can not use empty() on function directly, the PHP docs were incorrect.
2011-02-15 15:06:24 +01:00
Petr Skoda
64529cb6d2
Merge branch 'MDL-26119_message_logging' of git://github.com/andyjdavis/moodle
2011-02-15 10:39:54 +01:00
andyjdavis
3a00a167c6
message MDL-26119 fixed up the logged URL
2011-02-15 14:24:13 +08:00
Tim Hunt
2709ee45d3
MDL-20636 Working on converting the reports, starting with the manual grading report. Very much a work-in-progress.
...
Also, some random bug-fixing.
2011-02-11 18:47:08 +00:00
Tim Hunt
a13d4fbd20
MDL-20636 Fix lots of minor quiz editing glitches.
2011-02-11 17:36:30 +00:00
Tim Hunt
2e5ce83f11
MDL-26369 fix notice caused by the fix for MDL-26098.
2011-02-11 14:15:43 +00:00
Tim Hunt
f9b0500f7f
MDL-20636 Quiz editing now works, as does the random question type.
...
However, all this needs more testing.
Also, a bit of a purge of training whitespace and global .
2011-02-10 20:50:18 +00:00
Tim Hunt
56e82d993d
MDL-20636 Images in questions now work in quiz attempts.
2011-02-09 20:33:51 +00:00
Tim Hunt
7ee80cab53
MDL-20636 Manual comment popup comment.php now works.
2011-02-09 20:29:59 +00:00
Tim Hunt
b2607ccc19
MDL-20636 Now the quiz review page works.
2011-02-09 20:18:24 +00:00
Tim Hunt
167f1562f8
MDL-20636 Merge and fix quiz unit tests.
2011-02-09 20:18:21 +00:00
Tim Hunt
7c5bd5bfab
MDL-20636 Working towards being able to attempt a quiz.
2011-02-09 20:18:12 +00:00
Tim Hunt
25302dee78
MDL-20636 Started work converting the quiz.
2011-02-09 20:18:03 +00:00
Tim Hunt
74c479f212
MDL-20636 Merge branch 'master' into qe2_wip
...
Conflicts:
lib/questionlib.php
question/type/calculated/lang/en/qtype_calculated.php
question/type/questiontype.php
2011-02-03 11:18:40 +00:00
Tim Hunt
3fa5724a1f
javascript MDL-26098 manual grading was not working when quiz_attempts.id and question_attempts.id were out of synch.
2011-01-29 14:03:02 +00:00
Petr Skoda
99d19c13ae
MDL-25855 some more missing filelib includes
2011-01-23 18:34:41 +01:00