Commit Graph

755 Commits

Author SHA1 Message Date
Pierre Pichet 22f17bcaff MDL-25086 numerical options for numerical questions, calculated and 1,9 import without images... 2010-11-06 15:38:36 +00:00
Dongsheng Cai cde2709a88 MDL-15573, question export rewrite 2010-11-05 06:34:00 +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
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
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
Eloy Lafuente 41941110fd MDL-22138 backup - I know smaller cathedrals than this, yay quizzes! 2010-10-24 10:43:42 +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
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 caad849b33 fixed missing userid 2010-09-18 11:40:52 +00:00
Pierre Pichet 82d7795c96 MDL-24261 Remove $question->correctanswer = ($falseanswer->fraction != 0); 2010-09-18 02:24:09 +00:00
Pierre Pichet b555ce76ae MDL-24241 replacing !empty() by isset() 2010-09-16 23:01:27 +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 de08803f6c MDL-24058 removing unnecessary addslashes 2010-09-02 12:41:30 +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
Dongsheng Cai fe6ce23489 MDL-16094 File storage conversion Quiz and Questions 2010-08-10 09:56:48 +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