Commit graph

1251 commits

Author SHA1 Message Date
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
ikawhero
89c870e7b2 Quiz summary text shouldn't be cleaned as only entered by teacher
Merged from stable
2006-01-16 06:29:51 +00:00
mjollnir_
f90666aa5c Abstracted a bit of the restore procedure to allow for silent restoring.
Added new function, import_backup_file_silently
Changed everything that prints stuff to check for a constant first.
Backup_flush checks a different constant, this is so that output can still
get flushed to the browser when necessary but not print <li>s everywhere.
Please test this!
2006-01-15 21:09:13 +00:00
toyomoyo
e8f7b20f9a more bug fixes =( 2006-01-13 07:24:43 +00:00
mjollnir_
20258a2e43 Added in a check for php5 before including uni_soap.php5 - for some reason it was getting through and being included in my php 4.3 something 2006-01-13 04:51:39 +00:00
mjollnir_
1ecea97679 Granular backup & restore:
This patch allows the much requested selection of individual instances of modules within a course to backup and restore.
It needs A LOT of testing and probably some prettyifying too.
2006-01-13 03:45:31 +00:00
toyomoyo
7c5406967d some bug fixes 2006-01-12 02:39:13 +00:00
toyomoyo
c8ee027b0e added 2 fields in xml, addindex and dropindex, and bug fixes 2006-01-11 01:46:22 +00:00
mjollnir_
2422dc936a Quiz confirmation popup is now for limited attempts and/or timelimit, or a combination of the above 2006-01-11 01:00:34 +00:00
toyomoyo
1e4d9ff6dc utf8 migration support scripts 2006-01-09 06:06:49 +00:00
toyomoyo
fed1f84eac bug fix for #4504 2006-01-09 01:25:11 +00:00