Commit Graph

3817 Commits

Author SHA1 Message Date
tjhunt 2c89cfb533 Matching qestion type was failing to correctly determine wheterh the student had changed their answer - further improvements. Merged from MOODLE_18_STABLE. 2007-05-04 10:04:20 +00:00
jamiesensei 9ab3847595 tightening up reg expressions used for submitted data a bit 2007-05-04 08:33:28 +00:00
jamiesensei 1d88985787 removing TODO comment as the question.php script no longer treats quiz as special. 2007-05-04 06:09:37 +00:00
jamiesensei c65b63deb6 removed global var declaration for var that wasn't used in function 2007-05-04 05:51:59 +00:00
jamiesensei 9ab75b2bcc passing cmid to question.php and removed use of session modform var. Question.php now independent of quiz module. Small improvement to displayed breadcrumbs. 2007-05-04 05:47:59 +00:00
jamiesensei e22618dd73 deleted redundant method which was just calling the parent method. 2007-05-04 05:30:03 +00:00
jamiesensei b72ff47685 moved question sort order and paging params to be passed from page to page as get params instead of being saved in session var. 2007-05-03 10:10:01 +00:00
jamiesensei 86909ce047 small fix to get question code to return to correct place after creating a new question. 2007-05-03 05:17:07 +00:00
jamiesensei 71e0eda8f7 standardizing params for edit question page. All pages now use courseid instead of course or id. 2007-04-30 06:48:57 +00:00
tjhunt bac40536f4 MDL-9616 - Custom checks in environment.xml 2007-04-27 17:15:24 +00:00
jamiesensei efe839dc12 Removed 'edit category' redundant button 2007-04-27 11:27:57 +00:00
tjhunt 8e652f025b Insufficient error checking was causing problems. 2007-04-27 11:05:57 +00:00
jamiesensei f3ba642c5c forget to pass page parameter during redirects. 2007-04-27 05:48:12 +00:00
tjhunt 27987cbb78 Eliminate support for old-style question editing forms. 2007-04-25 18:20:04 +00:00
tjhunt e3aea79afe MDL-9565 - Fix error in previous commit. Merged from MOODLE_18_STABLE. 2007-04-25 17:59:53 +00:00
pichetp 56e248a086 MDL-9657 cleaning abstractype code. 2007-04-25 16:48:33 +00:00
jamiesensei a982d582c4 Added redirects after all actions.
Added methods to category class to generate a url from an array of parameters stored in the object.
Cleaned up some old redundant code for actions now processed in list class.
2007-04-25 14:06:37 +00:00
thepurpleblob fa5cb18b74 MDL-9577:
Fixing change of name (answer => correctanswer) for true/false questions.
2007-04-25 09:43:37 +00:00
pichetp d77def3e74 MDL-9657 cleaning abstractype code. 2007-04-25 09:06:35 +00:00
pichetp 81c6503ec4 removing comments and print_r 2007-04-25 08:52:47 +00:00
pichetp a6d46515f1 MDL-9496 Adding multianswer to calculated and MDL-9657 cleaning abstractype code. 2007-04-25 08:15:50 +00:00
tjhunt 7375c542cf Clean up whitespace. 2007-04-24 23:39:22 +00:00
tjhunt ed0ba6da04 Occasional unique-key violations were caused by some really weird code to do with units in numerical questions. This cleans it up. 2007-04-24 23:37:32 +00:00
tjhunt 295043c21c Base class methods preparitory to deleting a lot of essentially duplicated code from the various question types. 2007-04-24 23:31:41 +00:00
tjhunt 53a4d39f1c Clean up whitespace. 2007-04-24 23:26:48 +00:00
tjhunt 06d20c2429 Clean up trailing whitespace. 2007-04-24 23:25:33 +00:00
tjhunt cb354a653c Fix comedy require_once. Merged from MOODLE_16_STABLE. 2007-04-24 21:16:14 +00:00
tjhunt 7d87171ba9 MDL-9565 - Question preview links don't work in developer debug mode, and not XHTML strict. Merged from OU Moodle. 2007-04-24 16:59:32 +00:00
tjhunt fe76ab5006 MDL-9389 - True / False penalty factor field redundant. Merged from MOODLE_18_STABLE. 2007-04-23 16:23:17 +00:00
tjhunt fe6480283c MDL-9447 - Default grade field is redundant in embeded answer (Cloze) question. Merged from MOODLE_18_STABLE. 2007-04-23 13:55:22 +00:00
pichetp 1d9bc9a60d add string of Update the category button 2007-04-20 02:43:28 +00:00
tjhunt e3b2eb60e1 MDL-9432 - Forgot to return success/failure in two places. 2007-04-19 17:37:14 +00:00
pichetp 0dd3e11c8c add an update category submit button to update the display of shareable wild cards 2007-04-19 16:49:25 +00:00
jamiesensei dac786f300 MDL-9437 lib/listlib.php for displaying and editing a nested list of items. And changes to question\category.php to use the new lists. 2007-04-19 08:57:54 +00:00
tjhunt c85607f0be MDL-9432 - When restoring questions, links are not recoded. Merged from OU moodle. 2007-04-18 15:56:21 +00:00
tjhunt 3e0647ffaf MDL-9342 - Let the question author choose how the options are numbered in Multiple choices questions. 2007-04-13 21:16:04 +00:00
tjhunt 3509094e65 Remove blank line at start of file. 2007-04-13 16:25:10 +00:00
tjhunt 99ba746d29 MDL-6368 and MDL-6369 - allow question type plugins to easily provide some bits of Javascript and CSS.
If there are any of the files styles.css, styles.php, script.js or script.php in the plugin folder, they will be linked to in the head of the quiz attempt page (only for the question types used on that page).

If you need to do something more complicated in your question type, you can override the get_html_head_contributions method instead.
2007-04-12 15:58:32 +00:00
tjhunt dcc2ffde63 MDL-9082 - moodle/question:manage does not let you create questions. Also: * remove useless option from print_question_icon * use the right module context in question_list * a bit of XHTML strrrict in question_list Merged from MOODLE_18_STABLE. 2007-04-11 22:57:46 +00:00
tjhunt add2d7acdf MDL-9244 - From Moodle 1.9 onwards, don't support question types that have not updated and provided a moodleform for editing. 2007-04-11 21:21:06 +00:00
tjhunt 54074fb872 MDL-9303 - General Feedback not shown for essay questions on review screen. Merged from MOODLE_17_STABLE. 2007-04-11 19:04:52 +00:00
thepurpleblob d19d228e7c MDL-9123:
Added language string for error message
2007-04-11 12:18:28 +00:00
thepurpleblob 22afe6d699 MDL-9123:
No check was made of the validity of the category id read from the form.
So it could theoretically have been spoofed.
2007-04-11 11:00:26 +00:00
tjhunt 1b16ecd1ca MDL-9208 - Only hightlight the correct answer if that option is set. 2007-04-04 18:01:36 +00:00
tjhunt 288731fa09 Bug 2951 - correct PARAM_ types for answers to multichoice and shortanswer questions. Merged from OU Moodle. 2007-04-04 16:51:10 +00:00
tjhunt d95c82ab59 MDL-9173 - Can't create match anything answer to numerical question type. Merged from OU Moodle. 2007-04-02 13:02:09 +00:00
moodler 782573e86d Merged solution for MDL-6458 typo 2007-03-31 05:25:41 +00:00
tjhunt b63c5b5905 MDL-9094 - Penalty factor is meaningless for Essay questions, so remove it from the editing form. Manual merge of the corresponding change from MOODLE_17_STABLE. 2007-03-29 23:00:48 +00:00
pichetp c9e4ba362d integrate the new $question->export_process parameter for export 2007-03-29 09:09:16 +00:00
thepurpleblob fccf96bdeb Mmm... bit of comment oddness crept in. Don't know if it was a slip of an
editor key by yours truly!
2007-03-28 12:04:08 +00:00