Petr Skoda
2338458ac5
MDL-32569 drop all migrated question simpletests
2012-04-21 16:43:34 +02:00
Sam Hemelryk
3211569a6a
Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag"
...
This reverts commit f9f281b8fe
.
2012-04-11 17:18:58 +12:00
Dan Poltawski
7a1ed64587
Merge branch 'w15_MDL-32323_m23_phpunit3' of git://github.com/skodak/moodle
2012-04-11 09:32:58 +08:00
Petr Skoda
603bd00112
MDL-32323 convert question tests
...
1/ type/match/tests/walkthrough_test.php - tests are failing randomly, looks like some weird randomisation is going on there - see TODOs
2/ type/multianswer/tests/upgradelibnewqe_test.php contains invalid expected value - see TODO
2012-04-10 15:27:11 +02:00
Sam Hemelryk
5bfeb5ffd3
Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle
2012-04-10 12:34:37 +12: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
Petr Skoda
caee6e6c26
MDL-32251 E_STRICT fixes part 3
2012-03-29 15:24:30 +02:00
Petr Skoda
072db71c90
MDL-32094 fix question related E_STRICT problems
2012-03-18 18:33:54 +01:00
Tim Hunt
3159bf92e0
MDL-31065 qtype shortanswer: refactor the unit tests to use a proper helper.
2012-01-20 17:27:55 +00:00
Petr Skoda
927010240f
MDL-31006 some more PHP54 notices
...
PHP54 compatibility - PhpStorm IDE is the best tool for this kind of work!!
2012-01-18 01:17:25 +01:00
Eloy Lafuente (stronk7)
30c99be2f0
Merge branch 'MDL-30031' of git://github.com/bostelm/moodle
2012-01-09 02:14:20 +01: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
Henning Bostelmann
096c30165b
MDL-30031 Adaptive question behaviour: ignore invalid answers without penalty
2011-12-28 17:17:52 +00:00
Henning Bostelmann
4c0b36283a
MDL-29772 Adaptive question behaviour: improve penalty information
...
also fixes MDL-29780: suppress penalty information if question penalty is 0
2011-12-06 10:46:50 +00:00
Tim Hunt
3d17cd3f1c
MDL-30300 qbehaviours: convert to the new is_compatible_question API.
2011-11-16 11:11:10 +00:00
Tim Hunt
15d660a8fd
MDL-30300 question behaviours: improve q compatibility API.
2011-11-16 10:52:19 +00:00
Tim Hunt
75a31c9039
MDL-29808 qbehaviours: update to use ->dependencies in version.php
2011-11-10 19:12:25 +00:00
Tim Hunt
78f8261f6e
MDL-29879 qbehaviour missing. Fix bad lang string.
2011-11-01 10:37:48 +00:00
Henning Bostelmann
cc9fc649a1
MDL-28219 QE2 adaptive behaviour: fix scores and penalties
2011-10-12 23:27:10 +01:00
Tim Hunt
9d1658a07e
MDL-29571 qtype description refactor unit test code a bit.
2011-10-04 11:50:12 +02:00
Tim Hunt
05a5c2f9a2
MDL-28108 oops! I got the cut-off percentage wrong.
2011-06-29 22:02:59 +01:00
Tim Hunt
5cc532e8e9
MDL-28024 adaptive qbehaviour. Displayed penalties not rounded correctly.
2011-06-24 14:26:49 +01:00
Tim Hunt
35d5f1c28d
MDL-27948 The question engine should use recordsets to load attempt data
...
This should be good for performance (memory usage). It also avoids having to construct a meaningless, unique, first column, which is a pain on MyQSL.
2011-06-22 18:53:15 +01:00
Sam Hemelryk
8a322fc19b
Merge branch 'MDL-24255' of git://github.com/timhunt/moodle
2011-06-20 15:51:59 +08:00
Tim Hunt
2d6829727d
MDL-24255 Use the proper editor element for manual grading comments.
...
It would be nice if someone imporoved the API for using the HTML editor outside formslib.
2011-06-18 21:15:40 +01:00
Tim Hunt
88ef9d0b2b
MDL-27916 Question state was described wrongly in adaptive and immediate feedback behaviours.
2011-06-18 13:29:39 +01:00
Tim Hunt
fde4560dae
MDL-27490 Implement a manage question behaviours admin page
...
While doing this, I found various bugs in the manages question types admin page, and so fixed them, and updated the code
there to use $OUTPUT and html_writer.
AMOS BEGIN
MOV [cannotdeletemissingqtype,admin],[cannotdeletemissingqtype,question]
MOV [cannotdeleteqtypeinuse,admin],[cannotdeleteqtypeinuse,question]
MOV [cannotdeleteqtypeneeded,admin],[cannotdeleteqtypeneeded,question]
MOV [deleteqtypeareyousure,admin],[deleteqtypeareyousure,question]
MOV [deleteqtypeareyousuremessage,admin],[deleteqtypeareyousuremessage,question]
MOV [deletingqtype,admin],[deletingqtype,question]
MOV [numquestions,admin],[numquestions,question]
MOV [numquestionsandhidden,admin],[numquestionsandhidden,question]
MOV [qtypedeletefiles,admin],[qtypedeletefiles,question]
MOV [uninstallqtype,admin],[uninstallqtype,question]
AMOS END
2011-06-17 16:21:32 +01:00
David Mudrak
d1c77ac372
MDL-27789 The new question plugins reported as standard ones
2011-06-09 14:29:27 +02:00
Eloy Lafuente (stronk7)
36e91f1de1
MDL-20636 Whitespace fixes
2011-06-06 16:38:46 +01:00
Tim Hunt
a4c982917e
MDL-20636 truefalse qtype clean up other unit tests to use the new way of making test tf questions.
2011-05-27 14:43:28 +01:00
Tim Hunt
1da821bbde
MDL-27649 support question variants as a first-class concept in the question engine.
2011-05-26 21:23:56 +01:00
Tim Hunt
8f9145bb52
MDL-27505 Remove the ou-specific question types from the main branch.
...
The OU question types are now available from https://github.com/timhunt .
2011-05-16 08:30:44 +01:00
Tim Hunt
9c197f4445
MDL-20636 Fix some more codechecker issues.
2011-05-14 22:53:25 +01:00
Tim Hunt
5d2465c3f4
MDL-20636 numerical qtype: assorted changes
...
1. database upgrade to merge instructions into the questiontext field,
and remove the UNITDISPLAY option.
2. Changes to the validation in deferred feedback mode, so students
are warned about incomplete answers.
3. Using this to wark students if they enter an answer that is not
recognised as a number.
2011-04-28 20:06:47 +01:00
Tim Hunt
1631ceeaec
MDL-20636 Fix codechecker issues in the question behaviours.
2011-04-08 07:24:24 +01:00
Tim Hunt
c7df5006b9
MDL-20636 Add lots of missing public/protected/private.
2011-03-23 16:22:25 +00: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
ef31a28343
MDL-20636 Split question_definition::init_first_step into start_attempt and apply_attempt_state.
2011-02-24 19:12:42 +00:00
Tim Hunt
2daffca554
MDL-20636 Fix 30 TODOs
2011-02-24 17:47:51 +00:00
Tim Hunt
88f0eb1546
MDL-20636 Reveiw all throw statements.
2011-02-23 16:50:09 +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
017bc1d9f3
MDL-20636 Fix @package names in question/behaviour, question/engine and question top level.
2011-02-22 20:50:18 +00:00
Tim Hunt
0ff4bd0877
MDL-20636 Fix new stdClass -> stdClass(), and trailing whitespace.
2011-02-21 18:10:19 +00:00
Tim Hunt
aa9bdbe31c
MDL-20636 Boilerplate and other cleanup in the question core code.
...
This includes converting behaviours to pluginname strings.
2011-02-21 18:00:15 +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
7ee80cab53
MDL-20636 Manual comment popup comment.php now works.
2011-02-09 20:29:59 +00:00
Tim Hunt
3d0b815cb1
MDL-20636 Try to allow Opaque questions to work in deferred feedback mode, if they want.
2011-02-09 20:18:00 +00:00
Tim Hunt
d4d64ee3f1
MDL-20636 Bug 11406 Opaque gives radio groups name _rg by default, which QE cannot handle.
...
As a work around, we specifically look for this variable, and if it is present, include it in the sumbitted data.
2011-01-24 14:54:21 +00:00
Tim Hunt
2eeb76f845
MDL-20636 Finish conversion of the Opaque qtype/behaviour.
2011-01-18 17:35:03 +00:00