643 Commits

Author SHA1 Message Date
jamiesensei
0647e82b57 check for viewall / viewmine permission for each question in a category selected for export. 2007-08-29 03:04:01 +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
f3771632e8 MDL-10849 "During question bank upgrade, add course shortname to category name, if it is moved to the site level" 2007-08-22 08:22:06 +00:00
jamiesensei
afb36bca44 MDL-10938. 'only strings from lang files can be used as feedback in environment check. Some way is needed to include data from custom check function - a $a param to pass to get_string'. Custom check for questions uses new functionality to print more complex strings as feedback. 2007-08-22 04:28:26 +00:00
thepurpleblob
13e88db4a2 MDL-10819:
GIFT now exports grade fractions for numeric questions

Merged from STABLE_18
2007-08-20 10:36:30 +00:00
thepurpleblob
c1828e0b19 MDL-10689:
No questions imported if "stop on error" selected and there are invalid grades.

Merged from STABLE_18
2007-08-20 10:06:57 +00:00
jamiesensei
688cc5d01c Fix for MDL-10776 "Moodle Faulty navigation in questions categories when editing questions or exporting/importing categories" 2007-08-20 03:36:07 +00:00
thepurpleblob
d510ec64b6 MDL-10902:
Whoops! Overwrote question object. Variable name changed
Thanks to Adriane Boyd for spotting that one.

Merged from STABLE_18
2007-08-18 09:33:45 +00:00
thepurpleblob
45b68eef6c MDL-10876:
Import/Export format select list is now a (required) list of radio
buttons, with no default
2007-08-17 15:15:21 +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
thepurpleblob
4433fff5a8 Moved check for plugin import/export to the start rather than the end
Merged from STABLE_18
2007-08-17 09:47:51 +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
610ef0930f oops. Removed stray die; that was in the code for debug purposes. 2007-08-16 10:44:07 +00:00
jamiesensei
ba18b21d2e Fix for MDL-10852 Cannot edit existing questions 2007-08-16 05:25:00 +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
0cbddd850b MDL-10857 broken link in navlinks for question bank pointing to mod/modname/view.php with cmid param instead of id param 2007-08-15 11:36:01 +00:00
jamiesensei
20f500dc4d Fix for MDL-10847 No categories showing in category tab when editing a quiz / questions on PHP 4 2007-08-15 11:04:35 +00:00
jamiesensei
00de7c984c fix for notice about undefined urls property. 2007-08-14 11:50:57 +00:00
jamiesensei
a54fd2dd4d fix for notice about undefined urls property. 2007-08-14 11:41:47 +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
jamiesensei
af49b38948 small fix for breadcrumbs link 2007-08-14 02:56:43 +00:00
thepurpleblob
83601351d7 Should be $COURSE not $course 2007-08-13 13:26:16 +00:00
thepurpleblob
a1bed32fa5 Typo: should be $COURSE not $course it seems 2007-08-13 13:21:22 +00:00
thepurpleblob
7cb30aca20 Typo, should be $COURSE not $course 2007-08-13 13:19:42 +00:00
jamiesensei
fd3772dc94 MDL-10805 custom check was causing error on installation because dmllib functions are not available yet. 2007-08-12 15:07:08 +00:00
stronk7
4aa8037436 Finally, the parenthesis were causing problems too. MDL-10808 2007-08-11 22:58:17 +00:00
moodler
c9bd927055 Fixed the comparison of text to integer (Eloy's credit, see MDL-10808 ) 2007-08-11 14:33:55 +00:00
moodler
871ab9a3e2 Removed usage of table aliases with "as" as per MDL-10808 2007-08-11 14:28:36 +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
tjhunt
37d00ed467 Fix notice. 2007-08-10 10:00:06 +00:00
thepurpleblob
228b6f6b1d MDL-10785:
empty() changed to !isset()

Merged from STABLE_18
2007-08-10 07:17:46 +00:00
jamiesensei
515ed4c3ee merging MOODLE_19_QUESTIONS with HEAD 2007-08-09 22:44:14 +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
thepurpleblob
64de04fb09 Added hooks to qtype import/export 2007-08-09 14:12:12 +00:00
tjhunt
215bd82630 Fix typo. Thanks to Adriane Boyd. 2007-08-09 09:00:30 +00:00
thepurpleblob
392238d626 Was not checking error return from plugin export properly 2007-08-08 15:23:11 +00:00
thepurpleblob
a41e328736 MDL-6367:
First shot at import/export support in plugins.
2007-08-08 10:45:09 +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
thepurpleblob
c56abad900 MDL-10680:
subquestions/subanswers needed swapped for matching questions

Merged from STABLE_18
2007-08-01 13:44:35 +00:00
tjhunt
d349d4f0e1 MDL-10661 - another bloody invisiblefieldset bug. Merged from MOODLE_18_STABLE. 2007-07-30 22:14:32 +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
thepurpleblob
1b36a58597 MDL-10239:
Improper check for correct answer in true/false questions
2007-07-26 15:08:16 +00:00
thepurpleblob
46d798182a This new moodle_url thing (which is really confusing by the way)
had broken the page. The selected category was being ignored.
Fixed, but possibly not in the most elegant way!!
2007-07-26 13:50:59 +00:00