974 Commits

Author SHA1 Message Date
sam_marshall
96463e677e Another Postgres install fix (this time it was using mdl_ instead of prefix_) 2006-04-10 09:55:31 +00:00
gustav_delius
cf156ab045 Taking out random question hack that is no longer needed. 2006-04-09 22:43:22 +00:00
mark-nielsen
a472184c7b Updated questiontype.php to make essay compatible with manual grading (aka removed a lot of code).
Adding display.html as a display html template for the essay question type

TODO: drop the question_essay_states table and migrate comments to question_sessions
2006-04-08 21:51:29 +00:00
mark-nielsen
dbb3c4c6ea Added $prefix to form fields so that this code could be used with manual grading 2006-04-08 21:48:31 +00:00
gustav_delius
7c404f9b2b Fixed some small xhtml problems and removed a warning 2006-04-08 14:20:52 +00:00
mark-nielsen
6e49714287 Changed the Make comment or override grade link display the comment field and grade field in review.php instead of popup 2006-04-08 10:29:25 +00:00
mark-nielsen
42b245d1ca Moved the submit button to question_print_comment_box in lib/questionlib.php 2006-04-08 08:16:04 +00:00
gustav_delius
b6e907a245 Manual grading 2006-04-07 16:00:29 +00:00
gustav_delius
03c541cb9a class clearfix is the medicine against collapsing divs, see bug 5119 2006-04-07 07:55:48 +00:00
gustav_delius
5f4f608811 Replaced layout table around question by div. Doesn't display right in firefox yet. 2006-04-07 06:08:55 +00:00
gustav_delius
6463e8a6b6 Fixing a large number of tidy warnings 2006-04-06 20:35:49 +00:00
gustav_delius
755bddf118 Improvements to response history. Three small bug fixes. 2006-04-06 19:59:02 +00:00
gustav_delius
01bd54e0cb Jean-Michel's fix to the get_actual_responses() method 2006-04-06 16:43:41 +00:00
gustav_delius
3a5a6f59a3 Introduce field for teacher comments, in preparation for manual grading 2006-04-06 16:42:00 +00:00
gustav_delius
e49a8d099e Supply default values for more arguments of question_list() 2006-04-06 12:54:48 +00:00
gustav_delius
22c08850d7 Fixing stupid typos from previous commit 2006-04-05 20:02:37 +00:00
gustav_delius
4feb8730d7 Fix to make it work without globals hack 2006-04-05 19:43:42 +00:00
gustav_delius
ded180686e Fix to make it work without globals hack 2006-04-05 19:35:51 +00:00
gustav_delius
7baa9c8016 Fixing the name of the PostgreSQL files 2006-04-05 06:11:40 +00:00
gustav_delius
0a5b58af89 Many bugfixes accummulated during CVS outage, more to come. 2006-04-05 05:53:18 +00:00
stronk7
1f1e3288ca Only decode from utf8 if we aren't running under utf8.
Please test it. Thanks!
2006-03-28 19:22:35 +00:00
stronk7
ef138cea77 Only convert to UTF8 if we aren't running under UTF8.
Please, test this is correct, thanks!
2006-03-28 18:53:16 +00:00
gustav_delius
8cc274defc Changed the get_actual_responses() method to truncate at 40 characters, contributed by Jean-Michel. 2006-03-28 08:27:56 +00:00
gustav_delius
223ad0b94b Better fix for bug 3225 that is reading the precision setting from php.ini, contributed by Paulo 2006-03-28 07:39:36 +00:00
gustav_delius
66125eda14 Fixed incorrect use of quiz_get_renderoptions. This quiz-specific function should in future be removed from this question code 2006-03-28 07:37:51 +00:00
gustav_delius
5eae68aa2a Fixed tolerance problem, see bug 3225 2006-03-27 16:38:44 +00:00
gustav_delius
ffa1f07890 Removed notices caused by empty responses 2006-03-27 08:38:55 +00:00
moodler
6be88c6af0 Shortanswers can now be '0' 2006-03-26 15:03:08 +00:00
gustav_delius
a239d1d92c Renamed the question style class from question to que, see bug 4904 2006-03-26 11:11:29 +00:00
gustav_delius
f1b50ee94c Use existing language string for correct answer 2006-03-25 21:36:00 +00:00
gustav_delius
d7bc70247c Fixed typo 2006-03-25 21:04:44 +00:00
gustav_delius
4eda4eecbd Added question type that is used if a question of unknown type is encountered.
Also removed some of the unnecessary calls to name()
2006-03-24 21:21:59 +00:00
gustav_delius
5c2447494d These are no longer needed because the backup functions are part of the questiontype classes now. 2006-03-24 20:44:13 +00:00
gustav_delius
aaae75b04f Renaming question/questiontypes/ to question/types/ as requested by Martin 2006-03-24 19:54:13 +00:00
gustav_delius
1fc29d8a1e Taking out help button from the grade option, there is really no help required. 2006-03-23 19:51:58 +00:00
thepurpleblob
51bcdf28b3 Added support for matching questions. Bug #3901 2006-03-23 11:13:50 +00:00
thepurpleblob
2d52056f79 Not all questions have grades/fractions. Added check. 2006-03-23 11:12:54 +00:00
gustav_delius
76de2cdf1a Putting the "Save as new question" button back. 2006-03-22 22:37:27 +00:00
gustav_delius
7518b645b9 Removed some more references to quiz from the questiontype code. 2006-03-22 21:51:33 +00:00
gustav_delius
fe9b5cfd0b Fixed the links to the question review script. 2006-03-22 21:30:00 +00:00
gustav_delius
0429cd86c3 Deleting attempts properly now 2006-03-22 18:27:28 +00:00
gustav_delius
4dca7e51ca Some minor improvements in the handling of review options, the setting of timestamp, and improvements to the documentation 2006-03-22 17:22:36 +00:00
thepurpleblob
76f0a33403 Grades in imported questions must match grades option list.
Added option to either generate error or match to nearest valid value if they don't
2006-03-22 16:30:14 +00:00
thepurpleblob
b4db945e40 Grade option list generation now out to library 2006-03-22 14:44:33 +00:00
gustav_delius
dfa47f965c Cleanup: don't use questiontype constants within questiontypes 2006-03-22 13:51:25 +00:00
gustav_delius
76a1cf366e Don't name script files after the plugin, makes it more difficult to base a new plugin on an old one. 2006-03-22 12:19:40 +00:00
gustav_delius
e08eba6a66 These are no longer needed because the restore functions are part of the questiontype classes now. 2006-03-22 11:56:04 +00:00
gustav_delius
18cbc9683d rqp questions set the type to rqp_nn where nn is the rqp_type id 2006-03-22 11:19:26 +00:00
gustav_delius
ead293420d Questiontypes are doing their own database upgrade now.
I modified the enrollment plugin mechanism to work for any type of plugin
2006-03-22 10:44:54 +00:00
gustav_delius
ea889e7744 Recode qtypes during restore of old backups. 2006-03-22 10:32:29 +00:00