Dongsheng Cai
cde2709a88
MDL-15573, question export rewrite
2010-11-05 06:34:00 +00:00
Sam Hemelryk
367a75fae4
themes lib MDL-24895 Multiple fixes to better handle overflow.
...
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Tim Hunt
93971a3b0f
question type upgrade MDL-24863 Fix broken upgrade on MSSQL.
...
Thanks to mark williams for the report.
2010-11-04 09:49:00 +00:00
Tim Hunt
20d891228f
MDL-24256 question category editing was messed up.
...
The unerlying problem seemed to be too many uses of pass-by-reference in listlib, where it was not necessary.
In investigating this code, I ended up doing a fair bit of cleaning up. Apologies that it leads to an unclear changeset.
2010-11-02 18:38:50 +00:00
Pierre Pichet
d8741145e8
MDL-24503 eliminating diagnostic echo or print_r()
2010-11-02 13:28:06 +00:00
Eloy Lafuente
d0ff90ed4f
MDL-25000 backup - prevent calling get_mapping() with empty ids. Yay, 25000!
2010-11-02 01:05:43 +00:00
Tim Hunt
f2ca88b07f
qtype_multichoice MDL-24937 multichoice questions were getting marked as answered even when they weren't.
2010-11-01 18:14:27 +00:00
Tim Hunt
157434a522
quiz/question javascript MDL-24170 Enter in a shortanswer question preview should not flag the question.
...
That bit of JavaScript from mod/quiz/attempt.php is needed in question preview too, so refactor a bit.
I was disappointed to find that the
$PAGE->requires->js_module('core_question_engine');
line was needed in quiz_get_js_module, but it seems to be.
Also change non-Moodle-y string "End test..." to "Finish attempt..."
2010-11-01 17:44:59 +00:00
Tim Hunt
48c19b2551
quiz lang MDL-24170 move an old string to a more logical name, before making the real change.
...
AMOS BEGIN
MOV [finishattempt,mod_quiz],[submitallandfinish,mod_quiz]
AMOS END
2010-11-01 17:36:15 +00:00
Eloy Lafuente
9f68f2d5a6
MDL-24817 backup - added support for decode contents in plugins (and qtypes)
2010-11-01 15:49:01 +00:00
Sam Marshall
152f2c0777
Unit tests MDL-24994 Numerical question unit test was broken
2010-11-01 15:46:58 +00:00
Pierre Pichet
8f609a37cf
MDL-10110 MDL-20296 improve grading when unit input is empty
2010-10-31 13:27:58 +00:00
Pierre Pichet
e8a67abab4
MDL-10110 Eliminating references to question_numerical_options table
2010-10-30 15:36:23 +00:00
Pierre Pichet
92b3600575
MDL-24503 recoding unit grading options
2010-10-30 15:14:57 +00:00
Tim Hunt
1f0fdc4018
quiz editing MDL-23761 $PAGE->set_heading should be set_header
...
Thanks to Derek Woolhead for the fix.
2010-10-25 16:17:57 +00:00
Eloy Lafuente
41941110fd
MDL-22138 backup - I know smaller cathedrals than this, yay quizzes!
2010-10-24 10:43:42 +00:00
Tim Hunt
fde29fa59c
quiz & qbank MDL-24453 some more return URLs that I missed the first time.
...
Also, fix a double-escaping bug when cancelling the form.
2010-10-18 15:53:54 +00:00
Tim Hunt
fb6dcdab11
quiz & qbank MDL-24453 fix all the ways you can edit a question, so that that returnurl paramterer acutally works.
...
I hope. Please test thoroughly.
2010-10-18 15:28:59 +00:00
Dongsheng Cai
c27353510d
"MDL-15573, question bank the php4 compatiable code will broke in php5"
2010-10-13 04:13:46 +00:00
Dongsheng Cai
5b9199a04b
"MDL-15573, fixed essey question type feedback text"
2010-10-12 10:29:50 +00:00
Petr Skoda
4756e9c9e2
MDL-21915 fixing remaining chmod and mkdir to use moodle file permissions
2010-10-06 19:06:52 +00:00
Pierre Pichet
5fe5e8ac5b
MDL-23825 reactivating disabledif calls as they are working again
2010-10-02 01:59:17 +00:00
Petr Skoda
6bdfef5da9
MDL-24321 switching to standard stdClass()
2010-09-21 08:54:01 +00:00
Petr Skoda
7f38934243
MDL-24321 switching to stdClass in /question/ - I am sure Tim will be very happy
2010-09-21 08:20:46 +00:00
Eloy Lafuente
e3c3b72ad7
MDL-22138 backup - rest of qtypes backup landed
2010-09-21 01:47:56 +00:00
Eloy Lafuente
1eb2aa184a
MDL-22138 backup - calculated and numericals
2010-09-21 01:44:35 +00:00
Eloy Lafuente
7660715f65
MDL-22164 backup - finished cleaning of questions backup code
2010-09-21 00:23:26 +00:00
Eloy Lafuente
a0dc1293d1
MDL-22164 backup - more cleaning of old questions backup code
2010-09-21 00:08:52 +00:00
Eloy Lafuente
215bfaf369
MDL-22164 backup - cleaning questions from old backup code
2010-09-20 21:30:01 +00:00
Pierre Pichet
61dfe97e36
MDL-24168 questions can be created and edited (some commented // echo left for further testing)
2010-09-20 15:57:22 +00:00
Pierre Pichet
0bc0a26502
MDL-24168 questions can be created and edited
2010-09-20 15:55:45 +00:00
Pierre Pichet
bd806d55c8
MDL-24268 removing direct call to defaultquestion
2010-09-19 16:04:12 +00:00
Petr Skoda
042a84038c
fixed missing globals
2010-09-18 11:45:59 +00:00
Petr Skoda
676a5e6a88
bad luck, qti_two needs to be converted to new file api
2010-09-18 11:43:59 +00:00
Petr Skoda
672945b489
PHP4 not used any more
2010-09-18 11:42:02 +00:00
Petr Skoda
07ea95609a
fixed time limit
2010-09-18 11:41:16 +00:00
Petr Skoda
caad849b33
fixed missing userid
2010-09-18 11:40:52 +00:00
Petr Skoda
2be77520c9
fixed unterminated JS statements
2010-09-18 11:36:48 +00:00
Pierre Pichet
82d7795c96
MDL-24261 Remove $question->correctanswer = ($falseanswer->fraction != 0);
2010-09-18 02:24:09 +00:00
Pierre Pichet
99d671ebd3
MDL-24249 adding an else if ($originalreturnurl && $wizardnow !== '') for multipage question edition
2010-09-17 16:33:23 +00:00
Pierre Pichet
b555ce76ae
MDL-24241 replacing !empty() by isset()
2010-09-16 23:01:27 +00:00
Petr Skoda
adb5ad7c93
MDL-24139 fixed regression in prev commit, thanks Eloy
2010-09-09 06:53:01 +00:00
Dongsheng Cai
b666481576
"MDL-16094, fixed file server function in match type question"
2010-09-08 14:37:22 +00:00
Pierre Pichet
0cd89526dc
MDL-24105 adding parameters to optional_param() calls
2010-09-07 20:45:01 +00:00
Pierre Pichet
d85a7d09a5
MDL-24061 adding only one dataset item working correctly
2010-09-07 06:21:32 +00:00
Petr Skoda
ef14c1e724
MDL-24090 new detection of plugins that were not upgraded to work with Moodle 2.x (uses $plugin->requires) + bumping ancient versions of plugins
2010-09-05 20:36:18 +00:00
Petr Skoda
f685e83030
MDL-14679 fixed remaining old style set_field()s
2010-09-03 18:14:55 +00:00
Petr Skoda
dd88de0ebd
MDL-14679 fixed remaining old style update_record()s
2010-09-03 18:01:25 +00:00
Petr Skoda
aab03169d7
MDL-24058 fixing docs
2010-09-02 12:41:58 +00:00
Petr Skoda
de08803f6c
MDL-24058 removing unnecessary addslashes
2010-09-02 12:41:30 +00:00