1081 Commits

Author SHA1 Message Date
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
moodler
ed55f76bb5 Nicer presentation of quiz questions (merged from stable) 2006-01-06 07:26:25 +00:00
stronk7
8867a3bb88 Now Quiz is using the new Excel generation API.
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:43:05 +00:00
moodler
39ee02a3b1 Various old fixes that had not been checked in 2006-01-05 07:09:35 +00:00
gbateson
69407d9549 allow import from HP5 quizzes (including JBC and old JQuiz) 2006-01-02 14:33:29 +00:00
gbateson
b18fd5ca39 added unicode support (all Hot Potatoes quiz types) 2006-01-01 12:03:51 +00:00
gbateson
2072cc7100 for JCloze import, defaultgrade (per gap)= 1, and defaultgrade (per exercise) = number of gaps 2005-12-31 14:52:18 +00:00
gbateson
2ccf56f90d fixed import of JCloze into quiz module as a MULTIANSWER question 2005-12-31 10:38:57 +00:00
toyomoyo
d8688c0d26 cookieless patch for quiz 2005-12-23 06:29:39 +00:00
moodler
aa8139414e Replaced optional_var with optional_param 2005-12-07 06:21:58 +00:00
patrickslee
7352cd1caa Fixed an SQL query compatibility issue in quiz module
Merged form MOODLE_15_STABLE
2005-12-06 21:13:20 +00:00
patrickslee
a935cf4cdf Fixed a typo in quiz_category_object->output_edit_single_table()
Merged from MOODLE_15_STABLE
2005-12-06 21:01:54 +00:00
moodler
7f8edff98c Merged from stable, added autocomplete=off
(Bug #4423 - Short Answer Quiz Q's Saving Form Entries)
2005-12-05 06:15:53 +00:00
moodler
f8432d2500 Merged from stable (Bug #4423 - Short Answer Quiz Q's Saving Form Entries) 2005-12-05 06:11:26 +00:00
moodler
0bfa18bce2 Added extra CSS hooks to distinguish different correctness responses 2005-11-28 04:33:08 +00:00
defacer
64f36986b6 The bug where an event was not created for closing-time-only-supplied
quizzes also existed when updating a quiz instance (not only adding)...
2005-11-23 22:22:44 +00:00
defacer
001996c2f2 Fix for bug 4358:
No "Quiz closes" event was created for quizzes which ONLY had a closing date
2005-11-23 21:34:48 +00:00
defacer
9173a5671c Searching around in the langfile, it seems that these are the correct
strings for the helpbuttons' title attribute. I added the first helpbutton
back in as well (exists in 1.5.3+ but not in HEAD???).
2005-11-23 21:16:47 +00:00
defacer
8635a2824a Fixing one get_string() that didn't specify the Quiz langfile, and changing
another to be uniform with the help file title.

Some things in the langfile need fixing too, coming right up.
2005-11-23 21:00:40 +00:00
stronk7
140b7eb5db Log actions must be strored to DB without &amp;
print_log() takes care of it! Bug 3853.
(http://moodle.org/bugs/bug.php?op=show&bugid=3853)

Merged from MOODLE_15_STABLE
2005-11-23 09:46:25 +00:00
mjollnir_
e366107f67 Merged from MOODLE_15_STABLE: Fixing bug 4345: merging problem when fixing bug 4303 2005-11-18 21:03:05 +00:00