Commit Graph

312 Commits

Author SHA1 Message Date
skodak f2e4a0818a preparation for 1.9 beta 2 - setting correct requires in mods and plugins 2007-10-10 16:09:17 +00:00
tjhunt 3270033ab8 MDL-11703 - escaped *'s in shortanswer answers were not matching properly. Merged from MOODLE_18_STABLE. 2007-10-10 15:26:45 +00:00
jamiesensei 6f9ce92696 fix for MDL-11692. There were notices about subquestions not being defined. This seems to indicate that there is a problem elsewhere that somehow matching questions without subquestions are in the site db. But suppressed the notice by testing to see if subquestions is set before looping through the questions. 2007-10-10 15:23:24 +00:00
pichetp 4bc4ca50a6 checking that there remain $oldwrappedids before deleting them lines 87-..
add         if(is_array($oldwrappedids) && count($oldwrappedids)){
2007-10-06 20:51:28 +00:00
pichetp aa78ab4cb3 missing global $CFG ; line 577
function save_dataset_items($question, $fromform){
global $CFG;
2007-10-06 19:02:26 +00:00
jamiesensei cb14dd6316 modifiedby and timemodified is now set when a question is created as well as createdby and timecreated instead of being left as zero 2007-09-27 07:41:58 +00:00
tjhunt 411efaee25 MDL-5327 - When making up a default question name from the question text, strip any HTML tags. Merged from MOODLE_18_STABLE. 2007-09-27 06:54:17 +00:00
tjhunt f59dba8497 MDL-11398 - Random questions sometimes ended up with names different from the cateogry they were actually picking from. Also, the same random questoin could be used in more than one quiz, in which case editing that question would change two quizzes unexpectedly. The fix is:
* Don't let the user set the name for random questions.
* Instead force the name to be "Random (catname)" (localised) whever the question is created or saved.
* When a category is renamed, rename all the random questions in it.
* Remove the restriction that Jamie seems to have added in 1.9 that was preventing the category of random questions from being edited.
2007-09-26 16:10:38 +00:00
stronk7 126984a047 Second pass. Questions. Some more default comments are out. MDL-11385 2007-09-24 22:20:37 +00:00
tjhunt b92ffdf9ac Whitespace cleanup. 2007-09-24 15:45:29 +00:00
tjhunt 80fdc53efd Related to MDL-10916 - saving Cloze questions in Moodle 1.9 generates Notices because of changes to questionstupe_base::save_question. 2007-09-24 14:18:47 +00:00
tjhunt ec2692a699 MDL-11316 - Extra slashes appearing in the correct answer of shortanswer questions when they contain a slash. Merged from MOODLE_18_STABLE. 2007-09-21 18:28:45 +00:00
tjhunt 095b599a7f MDL-9952 - Cant escape # by using \ in a Cloze question. Merged from MOODLE_18_STABLE. 2007-09-21 16:18:06 +00:00
tjhunt c033e37f16 Notices on restore. 2007-09-20 15:57:02 +00:00
tjhunt c5ccb82c61 XHTML Strict in question state history table. Merged from MOODLE_18_STABLE. 2007-09-20 15:10:04 +00:00
tjhunt c767d3b7d3 MDL-11317 - Slashes displayed in incorrect responses for short answer questions. Fix by adding stripslashes in the appropriate place. Merged from MOODLE_18_STABLE. 2007-09-18 12:15:22 +00:00
tjhunt 4da81e7342 MDL-11310 - Multichoice edititing form should have space for 5 answers by default. Merged from MOODLE_18_STABLE. 2007-09-17 14:39:52 +00:00
tjhunt 83d22f7064 MDL-11271 - The closing bracket "}" can't be used in cloze question type. Now, you can excape a closing } with a backslash. Do feedback, as well as answer. Merged from MOODLE_18_STABLE. 2007-09-14 09:42:53 +00:00
tjhunt 9c61c44fc1 MDL-11271 - The closing bracket "}" can't be used in cloze question type. Now, you can excape a closing } with a backslash. Merged from MOODLE_18_STABLE. 2007-09-14 09:34:52 +00:00
tjhunt ace1bf9d8e MDL-11284 - Can't save edited questions 2007-09-14 09:33:30 +00:00
tjhunt d9935f2985 MDL-11231 - Missing "correct" tick in Close question with answer '0'. Merged from MOODLE_18_STABLE. 2007-09-13 10:47:05 +00:00
jamiesensei 9fc3100f27 fix for MDL-11106 Images not showing up in shared categories 2007-09-04 11:55:10 +00:00
nicolasconnault 29e959a581 MDL-9005 Fixed this and another multilang issue (module name in preview didn't filter multilang tags either). 2007-08-28 13:21:15 +00:00
jamiesensei 522b89d1aa allow selection of category in any context when adding a question in question_form 2007-08-28 03:36:17 +00:00
jamiesensei 88c8015ea0 fixing some problems with multichoice file link find and replace code for multichoice qtype. 2007-08-17 10:50:52 +00:00
tjhunt c389b50482 MDL-10863 - multichoice question type won't upgrade to 1.9 beta because MySQL sometimes treats enum constants case-insensitively. 2007-08-17 10:01:34 +00:00
jamiesensei 79bb720200 Fixed MDL-10855 'Calculated question error: undefined stdClass::$nextpageparam' and some other calculated question bugs. 2007-08-17 01:06:02 +00:00
jamiesensei ffba1f0bec added some comments 2007-08-16 05:20:35 +00:00
tjhunt 2288211e7c MDL-10841 - show all feedback to multiple choice questions on the review page. 2007-08-15 16:22:54 +00:00
jamiesensei e7e62d45be Fix for MDL-10823 Access to question edit page denied from quiz preview screen. 2007-08-14 04:22:05 +00:00
tjhunt ceeae340f9 MDL-10799 - Question types do not accurately determine whether their state has changed or not. Merged from MOODLE_18_STABLE. 2007-08-10 15:21:29 +00:00
tjhunt da3802dbae MDL-10786 - Short Answer questions will not allow 0 as the sole answer. Merged from MOODLE_18_STABLE. 2007-08-10 10:48:58 +00:00
jamiesensei 271e6decda merging MOODLE_19_QUESTIONS with HEAD 2007-08-09 21:51:09 +00:00
tjhunt e3fa6587ee Helper method to help when calling print_error from a question type. 2007-08-09 15:38:35 +00:00
tjhunt 215bd82630 Fix typo. Thanks to Adriane Boyd. 2007-08-09 09:00:30 +00:00
tjhunt 727e38b0b2 MDL-10737 - Increase size of short answer text entry box. Merged from MOODLE_18_STABLE. 2007-08-07 12:39:32 +00:00
tjhunt 3d3867b69a MDL-10730 - After submitting a question in adaptive mode, go back to that question, not the top of the page. Code thanks to Tony Gardner-Medwin, based on my suggestion. 2007-08-06 14:10:46 +00:00
tjhunt 90a36f8cdf MDL-10709 - Shortanswer resonses should be trimmed before being saved in the database. Merged from MOODLE_18_STABLE. 2007-08-03 14:26:46 +00:00
tjhunt 5fceb049cc Use of get_html_head_contributions was causing unwanted interaction bewteen question types. Switched to using a class variable. 2007-07-30 17:04:46 +00:00
poltawski c31f631baa MDL-9742 - converting tabs to spaces 2007-07-23 15:38:31 +00:00
tjhunt bfbafdfe74 MDL-7925 - it happened again. Stupid bloodly forms lib. I have no idea what it was playing at. Merged from MOODLE_18_STABLE. 2007-07-20 17:10:35 +00:00
tjhunt b60af635df MDL-10515 - Change HTML to make it easier to style multiple choice questions. Merged from MOODLE_18_STABLE 2007-07-18 13:57:24 +00:00
Martin Langhoff 08103c9364 cvsimport fixups 2007-07-07 14:18:30 +12:00
tjhunt 99a1bf3d9c MDL-10374 - Quiz layout improvements, selectively merged from OU-moodle. 2007-07-06 16:37:06 +00:00
tjhunt 604a618428 Fix notice in essay question. 2007-07-06 13:30:16 +00:00
tjhunt 0ec4fb87e3 Improve and simplify question layout. 2007-06-22 14:07:35 +00:00
tjhunt 4a5b91b48f Improved the HTML for essay questions. 2007-06-21 15:46:26 +00:00
tjhunt 38dbf2c4ed Notices from T/F question is you submit without answering in adaptive mode. Merged from OU Moodle. 2007-06-19 16:35:54 +00:00
tjhunt ca9000df6f Fix typo in a comment. 2007-06-19 16:33:16 +00:00
tjhunt eedb2494ed Fix whitespace. 2007-06-15 10:24:29 +00:00