Commit graph

1611 commits

Author SHA1 Message Date
michaelpenne
2f6f0b8ce2 [Fixed] In function save_session_and_responses, now checks to makes sure $state->options->graded is set. 2006-02-13 17:41:19 +00:00
thepurpleblob
5744931aa2 Format now uses defaultquestion() method. Bug #4752 2006-02-13 16:24:05 +00:00
thepurpleblob
d3ca8695cb Now used defaultquestion() method. Bug #4752 2006-02-13 16:17:22 +00:00
thepurpleblob
2ad273d70b Format now uses defaultquestion(). Bug #4752 2006-02-13 16:11:17 +00:00
thepurpleblob
cb04e0d664 Now picks up default $question object. Bug #4752 2006-02-13 15:48:48 +00:00
thepurpleblob
42e5993199 Added initialisation method for question object. Permits setting of default
values for required (but not imported) database fields.
Bug #4752
2006-02-13 14:46:26 +00:00
gustav_delius
acb0c2d93e fixing hardcoded string, see bug 4432 2006-02-13 13:28:40 +00:00
gustav_delius
353138dc11 Added a unique index for attempt->uniqueid 2006-02-13 13:20:57 +00:00
gustav_delius
6d08ff4f01 Fixing javascript, see bug 4418 2006-02-13 11:23:47 +00:00
moodler
fd198b8776 Adding new feature: Time delay between quiz attempts 2006-02-13 01:49:52 +00:00
moodler
e61eab5a83 Adding new feature: delay between quiz attempts 2006-02-13 01:45:29 +00:00
gustav_delius
41323dff31 Added missing percentages to the grade selector, closing bug 4250 2006-02-12 22:38:13 +00:00
gustav_delius
aa960f6b04 Edit link in preview window now says 'Edit'. 2006-02-12 22:26:53 +00:00
gustav_delius
0b72ce2051 Made page compatible with new tabbed interface and removed continue button as requested in bug 2919 2006-02-12 21:50:38 +00:00
gustav_delius
721b5b28c9 Stopped using the language strings for the assignment module because that was requested in bug 4558. 2006-02-12 21:23:54 +00:00
gustav_delius
8779eab55d Avoid error messages in case $quiz->sumgrades is zero, closing bug 4454. Merged from STABLE 2006-02-12 21:08:43 +00:00
gustav_delius
162cbee229 Added field to versioning table needed by new versioning table (to be committed later) 2006-02-12 15:28:17 +00:00
gustav_delius
d40d8ef7b1 quiz_delete_question() now recursively also deletes data associated with newer versions of the question. 2006-02-12 15:24:45 +00:00
gustav_delius
5a981c9480 shuffleanswers option can now also be set at the question level, see http://moodle.org/mod/forum/discuss.php?d=39371 2006-02-12 09:46:34 +00:00
gustav_delius
906935f3b0 Put the default grade option onto question edit forms, see http://moodle.org/mod/forum/discuss.php?d=39371#181767 2006-02-11 22:37:30 +00:00
gustav_delius
7c4127efad Put the default grade option onto question edit forms, see http://moodle.org/mod/forum/discuss.php?d=39371#181767 2006-02-11 21:07:08 +00:00
gustav_delius
90ec0c2fc7 removed two method definitions that are used for the editing form 2006-02-11 16:40:09 +00:00
gustav_delius
6f51aa2e5b get_actual_response() method for cloze question type contributed by Jean-Michel, see http://moodle.org/mod/forum/discuss.php?d=27730#181773 2006-02-11 16:13:21 +00:00
gustav_delius
c4adc2c493 Added a second row of tabs to the Edit tab: Questions, Categories, Import, Export, Settings
Added phpdoc header to some files
Improved language string and help file for decimal digits on grades
2006-02-09 13:57:22 +00:00
gustav_delius
4eedc50cbc Excluded the description questiontypes from random questions
Fixed a warning message when there are no questions

Removed the category id number from the message shown to users when there are not enough random questions because this id number does not mean anything to the user.
2006-02-09 13:46:05 +00:00
thepurpleblob
716a508520 parameters all go through required_param() and optional_param() 2006-02-09 11:50:25 +00:00
moodler
72ef06cfe5 Added new feature, the time enforced delay on attempting quizzes 2006-02-08 04:44:57 +00:00
moodler
cab300a85f Add two new fields for time enforced delay between two quizzes 2006-02-08 04:41:31 +00:00
moodler
401c3496ae Adding two new fields for time enforced delay between quiz 2006-02-08 04:37:22 +00:00
gustav_delius
bfb55c1870 now loading central soap library 2006-02-07 01:13:20 +00:00
gustav_delius
cd00e988bb Introduced function quiz_delete_question() and questiontype methods delete_question() 2006-02-07 00:44:27 +00:00
stronk7
de4217730a Deleted soap libraries from quiz. Now they are part of the central libraries
(lib/soaplib.php and lib/soap). Bug 4646.
(http://moodle.org/bugs/bug.php?op=show&bugid=4646)
2006-02-07 00:26:54 +00:00
gustav_delius
c9dfed37c2 Silenced notices produced by flush() and ob_flush() in regrading code. 2006-02-06 23:28:30 +00:00
gustav_delius
3bf0212c24 Another improvement on regrading. The code thought that grading for a question changed if the grade was like 1/3. The precision in the database is different than the newly calculated grade, so now we round both values to 5 decimal places, which should fix this problem. This was committed to STABLE by Julian a long time ago 2006-02-06 23:25:15 +00:00
gustav_delius
27aa2243ea I was adding the slashes twice 2006-02-06 23:15:59 +00:00
gustav_delius
46fbd65ab7 Show grading details only if $options->scores is true 2006-02-06 22:52:05 +00:00
gustav_delius
adce1ab5c1 Fixing problem from earlier merge 2006-02-06 21:22:07 +00:00
mjollnir_
f90672bf85 Added back a field I missed when reworking the sql for quiz reports - qa.uniqueid as attemptuniqueid - after skype discussion with gustav 2006-02-06 20:58:27 +00:00
gustav_delius
668bc1f3a6 reverting change made by Martin D when going to version 1.230 2006-02-06 20:44:43 +00:00
gustav_delius
0e2057cb17 Added essay question to list of excluded types for random questions
Also fixed type on previous commit
2006-02-05 22:55:09 +00:00
gustav_delius
5e468d30e1 Fixed a potential bug that would have hit if one quiz would have had two random questions for the same category, one of which was set to recurse into subcategories and the other not.
At the same time this improves performance because no longer all the potential questions are loaded from the database but only their ids.
2006-02-05 22:51:32 +00:00
gustav_delius
d28ca2be6f Fixing image link, closing bug 4489 2006-02-05 18:58:49 +00:00
gustav_delius
205e0e2dd6 Some comments added and fixed small potential bug in get_correct_responses() 2006-02-05 18:45:31 +00:00
gustav_delius
fb06b99b78 Reverting a change which Martin made in an attempt to encrypt information in the matching questiontype which unfortunately broke a lot of other question types. 2006-02-05 18:31:23 +00:00
gustav_delius
2b0906805b Fix for bug 4678 contributed by rwmoore 2006-02-05 00:35:51 +00:00
moodler
136b6ab33f changed to use utfconvert function 2006-01-31 02:15:21 +00:00
gustav_delius
a445d5e8b2 shortened language string name as requested in bug 4568 2006-01-30 23:17:47 +00:00
gustav_delius
6e218d24ce Fixed alignment of form elements in IE 2006-01-30 21:09:48 +00:00
moodler
0e15269a94 bug fixing 2006-01-23 05:41:51 +00:00
moodler
f6691427d9 Added default values where needed for columns in the MySQL creation script mysql.sql.
Added default values to migrate2utf8.xml, for any varchar and text field types, if the default values for these fields were not defined as '' in the MySQL table creation script.

Committed by vyshane
2006-01-17 07:37:29 +00:00