Commit Graph

3817 Commits

Author SHA1 Message Date
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
Petr Skoda 9cc41dfd6d MDL-24058 replacing forbidden addslashes with something that is most probably completely useless 2010-09-02 12:40:34 +00:00
Petr Skoda 81457bef51 MDL-23984 no coursefile dirs exist any more 2010-08-29 10:42:45 +00:00
Petr Skoda bec167f34a MDL-16094 preventing execution of question code that is trying to access dataroot files - we must use new api instead 2010-08-29 10:00:18 +00:00
Tim Hunt de58c9c498 Make the answer entry box as big as will fit. 2010-08-25 15:21:33 +00:00
Pierre Pichet f266594ce4 MDL-23825 commented disabledif calls until this bug is solved so that calcualted and numerical questions can be edited 2010-08-24 15:32:02 +00:00
Pierre Pichet 25c9ac33fd remove no more used string 'decfractionof' 2010-08-24 15:04:26 +00:00
Pierre Pichet c28357f4bb MDL-23860 putting back code of function preparedatasets() (line 565) 2010-08-19 00:19:49 +00:00
David Mudrak ed14ad026c MDL-21695 MDL-16094 Fixing regression introduced by recent qtype conversion
This replacement had already been done in 5fcefc9 but unfortunately the
previous code was reintroduced in fe6ce23 again.
2010-08-16 14:32:28 +00:00
Petr Skoda 0c3c54934a MDL-23784 converted question types to use new pix API and locations 2010-08-12 19:01:28 +00:00
Tim Hunt 2d01a9168f question import/export MDL-23198 extra_question_fields not handling special characters properly.
Thanks to Oleg Sychev for the fix.
2010-08-11 19:05:47 +00:00
Tim Hunt fa16dd3d67 quiz editing MDL-23764 changing category sends you to the question bank page. 2010-08-11 18:41:53 +00:00
Tim Hunt e934fa008b question editing MDL-23758 notice on clicking cancel. 2010-08-11 16:37:11 +00:00
Dongsheng Cai fe6ce23489 MDL-16094 File storage conversion Quiz and Questions 2010-08-10 09:56:48 +00:00
Tim Hunt 8b7d4fb70e quiz editing MDL-19766 fixed page load flicker of things revealed later by JavaScript. 2010-08-06 17:55:33 +00:00
Tim Hunt e044ebb46e question navigation MDL-20276 make sure the current node is hilighted. 2010-08-06 15:46:19 +00:00
Tim Hunt 688d875300 qformat xml MDL-22743 questiontextformat not imported correctly since the fix for MDL-9700 went in. 2010-08-05 13:11:27 +00:00
Tim Hunt 05c3103186 qformat_multianswer NOBUG fix comment. 2010-08-05 13:04:42 +00:00
Tim Hunt 87eeac9071 multianswer question import MDL-11326 make a better question name.
Also fix coding style in this file.
2010-08-05 12:13:27 +00:00
Tim Hunt 90c7912e93 quiz editing MDL-22371 with JS off, clicking add question, then cancel, did not work.
Also, other simpilar issues with other buttons.
And, finally fix the absolute URLs being passed as returnurl. Apache mod_security did not like that.
2010-08-04 19:44:59 +00:00
Tim Hunt 613aff5053 qtype_truefalse MDL-22658 questions get marked as answered even when an answer has not been selected. 2010-08-04 17:54:55 +00:00
Tim Hunt ff065f96bc mod quiz + questions MDL-22370 convert JavaScript to YUI3 and modules.
Note, quiz editing JS has not been done yet.
2010-08-04 15:22:04 +00:00
Tim Hunt 9fb32418a7 qtype shortanswer MDL-20380 small refactoring to help subclasses. Thanks to Oleg Sychev. 2010-08-03 10:39:52 +00:00
David Mudrak 5fcefc9728 MDL-21695 question: replaced help files with new help strings
AMOS BEGIN
 HLP question/categoryparent.html,[parentcategory_help,core_question]
 HLP question/categories.html,[editcategories_help,core_question]
 HLP quiz/export.html,[exportquestions_help,core_question]
 HLP quiz/exportcategory.html,[exportcategory_help,core_question]
 HLP quiz/exportcategory.html,[exportcategory_help,core_question]
 HLP quiz/importcategory.html,[importcategory_help,core_question]
 HLP quiz/matchgrades.html,[matchgrades_help,core_question]
 HLP quiz/quiz/stoponerror.html,[stoponerror_help,core_question]
 HLP qtype_multichoice/multichoiceshuffle.html,[shuffleanswers_help,qtype_multichoice]
 HLP quiz/matchshuffle.html,[shuffle_help,qtype_match]
 HLP quiz/generalfeedback.html,[generalfeedback_help,mod_quiz]
AMOS END
2010-08-02 21:24:32 +00:00
David Mudrak 7292c11f51 MDL-21695 quiz: deprecated setHelpButton() and old_help_icon() replaced with new calls
Some help icons dropped without replacement as suggested by Helen, the
Help Writer. Some strings moved to core_question.

AMOS BEGIN
 HLP quiz/timelimit.html,[timelimit_help,mod_quiz]
 HLP quiz/grademethod.html,[grademethod_help,mod_quiz]
 HLP quiz/questionsperpage.html,[newpage_help,mod_quiz]
 HLP quiz/shufflewithin.html,[shufflewithin_help,mod_quiz]
 HLP quiz/penaltyscheme.html,[penaltyscheme_help,mod_quiz]
 HLP quiz/repeatattempts.html,[eachattemptbuildsonthelast_help,mod_quiz]
 HLP quiz/reviewoptions.html,[reviewoptionsheading_help,mod_quiz]
 HLP quiz/showuserpicture.html,[showuserpicture_help,mod_quiz]
 HLP quiz/decimalpoints.html,[decimalplaces_help,mod_quiz]
 HLP quiz/decimalplacesquestion.html,[decimalplacesquestion_help,mod_quiz]
 HLP quiz/requirepassword.html,[requirepassword_help,mod_quiz]
 HLP quiz/requiresubnet.html,[requiresubnet_help,mod_quiz]
 HLP quiz/timedelay1.html,[delay1st2nd_help,mod_quiz]
 HLP quiz/timedelay2.html,[delaylater_help,mod_quiz]
 HLP quiz/overallfeedback.html,[overallfeedback_help,mod_quiz]
 HLP quiz_statistics/negcovar.html,[negcovar_help,quiz_statistics]
 MOV [penaltyfactor,mod_quiz],[penaltyfactor,core_question]
 MOV [penaltyfactor_help,mod_quiz],[penaltyfactor_help,core_question]
 HLP quiz/penalty.html,[penaltyfactor_help,core_question]
AMOS END
2010-08-02 20:56:15 +00:00
Tim Hunt d8011b7bde NOBUG quiz summary Align the submit all and finish button properly. 2010-07-28 15:04:26 +00:00
Tim Hunt c95ce1dc52 NOBUG qtype numerical fix unit test. 2010-07-28 15:03:04 +00:00
Petr Skoda 0384043b59 MDL-23450 moving question/format/hotpot to contrib for now, because it is not ready for Moodle 2.0 yet 2010-07-24 17:30:46 +00:00
Petr Skoda 8b59e62e2d MDL-19698 deprecated assign new by ref in questions 2010-07-19 08:34:24 +00:00
Petr Skoda 2e69d93048 MDL-16094 temporary workaround for removed textformat field 2010-07-14 16:47:54 +00:00
Petr Skoda f728d49b00 MDL-19380 uploadlib cleanup before readding of antivirus integration 2010-07-14 08:40:48 +00:00
Petr Skoda 2e0406a53a repeating upgrade typo fixed 2010-07-06 16:10:17 +00:00