177 Commits

Author SHA1 Message Date
tjhunt
7baff8aa1a Fix for bug 5379: Item analysis report should not have a hard coded list of question types.
Please test this if you have a moodle install with some unusual question types. Thanks.

Merged from 1.6stable.
2006-05-31 15:58:39 +00:00
skodak
8af190b388 fixed typo - randomsmatch notice bug 5652; merged from MOODLE_16_STABLE 2006-05-30 06:29:07 +00:00
skodak
b01a2fcd0f proper initialisation of $oldquestionid; merged from MOODLE_16_STABLE 2006-05-23 09:32:26 +00:00
tjhunt
5bbca3a4cb Fix for Bug #5588 - Editing a question after sorting leads to an error. Merged from 1.6stable. 2006-05-22 15:43:53 +00:00
tjhunt
971cd5082a Fix an undefined variable notice. Merged from 1.6stable. 2006-05-22 13:06:36 +00:00
tjhunt
656ee8c6a1 Fix an undefined variable notice. Merged from 1.6stable. 2006-05-22 11:20:51 +00:00
tjhunt
9bd76b32f3 Merge from 1.6 branch. Fix URL syntax error when slasharguments is off. 2006-05-17 11:40:37 +00:00
thepurpleblob
36e2232e27 Merged from STABLE. 2006-05-13 08:49:46 +00:00
thepurpleblob
6cb4910c58 Merged from STABLE 2006-05-08 10:39:14 +00:00
thepurpleblob
c0724bdce2 Merging from STABLE 2006-05-04 11:17:50 +00:00
toyomoyo
3925a20afe fix for 5409 2006-05-03 08:05:58 +00:00
mjollnir_
d57cf4c132 question/type/qtype hide scores when requested by teacher
Changed question/type/questiontype.php such that when review.php
displays a state-by-state review of answers submitted,
scores are not displayed unless allowed by quiz options.

Credit: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2006-05-03 02:44:25 +00:00
thepurpleblob
4267f47b49 Changed require due to moved category functions 2006-05-02 15:23:48 +00:00
thepurpleblob
4fbfd9711c Bunch of category functions moved from lib/questionlib.php 2006-05-02 12:26:03 +00:00
gustav_delius
0c1e3a145f Changing the category on the import or export page also changes it on the question edit page, closing bug 5348 again 2006-05-01 22:26:06 +00:00
paca70
e7226b2bc8 Removed comma 2006-05-01 12:56:57 +00:00
thepurpleblob
6e5a360ad1 Question object not always initialised. Bug #5369 2006-05-01 07:35:33 +00:00
mark-nielsen
53354ec03c Due to changes in Quiz which allows commenting and manual grading of all question types, essay no longer needs its two tables: question_essay and question_essay_states
backuplib.php removed backup code related to question_essay_states
type/essay/db/mysql.sql and postgres7.sql removed all SQL
type/essay/display.html improved essay display
type/essay/questiontype.php, editquestion.php, and editquestion.html removed all uses
of the two tables - this resulted in a great simplification of the essay question type
2006-05-01 02:56:06 +00:00
gustav_delius
f57c624262 Use the missingtype question type to print the explanation message when a random question is missing 2006-04-30 17:31:33 +00:00
gustav_delius
2be604b665 Missingtype now also works without notices when the missing question has no answers. 2006-04-30 17:30:22 +00:00
gustav_delius
ed28abca24 Don't throw a php error when there are no question answers in the default question type. 2006-04-30 17:13:44 +00:00
gustav_delius
4572d78f71 When a teacher deletes a question that was already used as a random question in a quiz the student now gets a useful message about the fact rather than just a php error. 2006-04-30 16:59:23 +00:00
gustav_delius
1a1293edd7 Making sure grading and feedback use the same way of testing responses, thanks to Joseph, bug 5134 2006-04-30 15:11:13 +00:00
gustav_delius
b518c69e3b Question preview now handles duplicate responses properly 2006-04-30 12:07:08 +00:00
gustav_delius
3f13e16094 Removed the answershuffle field from the random short answer question because in a random question this options is irrelevant. 2006-04-28 09:44:13 +00:00
thepurpleblob
c515fcf73e Removed mystery (probably diagnostic) message 2006-04-28 09:39:13 +00:00
thepurpleblob
a9b16aff8d Now ignore hidden questions. Bug #4988 2006-04-28 09:36:17 +00:00
gustav_delius
125bb7003e sortorder is now remembered between pages, fixing bug 5328 2006-04-27 07:46:34 +00:00
gustav_delius
239d373ff9 Had to change attribute of select tag from disabled to readonly in order to get the feedback popups to work, see bug 5338 2006-04-27 07:21:55 +00:00
gustav_delius
a60a7b0d21 Fixing filtering of category names, now using PARAM_NOTAGS. Fixing bug 5349 2006-04-27 06:55:38 +00:00
gustav_delius
dc454ef428 question category is not remembered correctly by import and export pages, fixing bug 5348 2006-04-27 06:42:10 +00:00
gustav_delius
754d6f1bb3 Corrected location of restorelibpre15.php, see http://moodle.org/mod/forum/discuss.php?d=44156 2006-04-26 20:32:54 +00:00
gustav_delius
50530eb782 The information from question_rqp_types table should not be loaded every time questionlib.php is loaded but only when the questiontype menu is actually needed. 2006-04-26 20:29:32 +00:00
moodler
5ae598c757 Use the fullclone function instead of clone() because objects are in an array bug 5339 2006-04-26 04:40:14 +00:00
moodler
f4e7407d42 *** empty log message *** 2006-04-24 06:12:32 +00:00
thepurpleblob
d08e16b2a5 Moodle xml format can now export and import the actual image files, encoding
in 'base64' format.
2006-04-21 12:35:57 +00:00
gustav_delius
4111194d9e Use delete_question() to delete question, bug 5275 2006-04-21 06:50:51 +00:00
thepurpleblob
d17bee46ce Fixed typo preventing images being displayed. 2006-04-20 12:36:31 +00:00
gustav_delius
f7fccc0362 Make sure category from correct course is shown. 2006-04-18 22:53:38 +00:00
thepurpleblob
2c49e71073 Paramater cleaning for category name too restrictive for non-ascii
language encodings. Bug #5224
2006-04-18 14:20:02 +00:00
gustav_delius
54b3626b9f Moved all question deletion code to showbank.php. Fixed bug 5186 2006-04-17 05:31:21 +00:00
moodler
d87a9d7338 Fixed the upgrade_plugins function so that it automatically
handles the .sql file for first installation (just like activities)
2006-04-16 16:50:55 +00:00
gustav_delius
bd9964841d Fixed bug 5187 that led to error when creating cloze question 2006-04-13 21:23:15 +00:00
thepurpleblob
296cb5b57b More logical wording on button to import from local file 2006-04-13 12:10:28 +00:00
thepurpleblob
25ee4157c8 missing courseid parameter in "grades not not add up to 100%" check. 2006-04-13 08:45:11 +00:00
gustav_delius
da1cc5a44e Fixed problem with slashes, bug 5177 2006-04-13 00:37:14 +00:00
gustav_delius
89a6e4358a Fixed parameter type for $confirm 2006-04-11 22:22:31 +00:00
gustav_delius
44582764af Fixed recoding of parent field for random questions 2006-04-11 21:40:28 +00:00
gustav_delius
ab620fbf2b Added call to optional_param() 2006-04-11 20:42:31 +00:00
gustav_delius
424dba12cf Fixed typo preventing the editing of multianswer questions. 2006-04-11 07:16:10 +00:00