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
4ab4dcb27a
MDL-10916 - Import and Export of Cloze question misses out "generalfeedback" column. Merged from MOODLE_17_STABLE.
2007-09-24 14:17:23 +00:00
jamiesensei
87dfa4d26f
MDL-11423 removed a stray print_object call
2007-09-24 13:23:58 +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
8cf0f100b8
MDL-11392 - Stupid bloody requirement to call addslashes between loading data from the database and saving it back, because we don't use placeholder. Was breaking question bank upgrade.
2007-09-21 17:10:39 +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
314fc083d9
MDL-10824 - spaces in javascript URLs are not strictly valid. Merged from MOODLE_18_STABLE.
2007-09-19 17:44:52 +00:00
thepurpleblob
ad2cd664d7
Typo!
...
Merged from STABLE_18
2007-09-18 12:30:19 +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
jamiesensei
8f0f605ddf
moved question_make_default_categories function to questionlib.php since it is needed by other modules outside the question bank editing interface.
2007-09-18 11:23:29 +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
thepurpleblob
8cc7d98a31
Forgot to take out duplicate question count check.
...
Merged from STABLE_18
2007-09-17 11:01:53 +00:00
thepurpleblob
2c6d2c888c
MDL-11279:
...
Code was not properly checking for empty category.
Check moved to right place and proper print_error() function called as appropriate
Merged from STABLE_18
2007-09-17 10:57:49 +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
15822170d4
removing require that is not needed
2007-09-11 09:01:21 +00:00
jamiesensei
479cca8a1e
fix to make breadcrumbs module independent
2007-09-11 08:23:00 +00:00
jamiesensei
15b83581ce
test for has_capability before displaying choosecoursefile control as if user does not have permission then control is useless.
2007-09-10 13:28:18 +00:00
pichetp
7ba1111637
Correcting a little error: datesetitem = array(); instead of datasetitem = array();
...
line +-550 $question->dataset[$datasetname]->datasetitem = array();
2007-09-07 02:38:02 +00:00
jamiesensei
9fc3100f27
fix for MDL-11106 Images not showing up in shared categories
2007-09-04 11:55:10 +00:00
jamiesensei
3a4a9233ce
fix for some problems with page params
2007-09-04 05:44:14 +00:00
jamiesensei
0d6e8291a0
MDL-11108 some PHP notices on upgrade of sites to 1.9 where there are no question categories set up
2007-09-03 11:51:25 +00:00
jamiesensei
35241c761a
MDL-10952 update help files for new question code
2007-09-03 05:30:38 +00:00
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