3277 Commits

Author SHA1 Message Date
stronk7
adc7ade8c6 Disable temporary the restore of quiz questions and attempts
to avoid moodlers filling their DBs (not always test servers!)
with non-consistent data.

Can be enabled by setting $CFG->enablerestorequiz = true;

(while working on it both Gustav's team and I, obviously this will be
removed once stabilished)
2005-05-09 13:33:18 +00:00
thepurpleblob
23cd73acbc Show a link to edit the questions in categories if the quiz has already
been attempted.
2005-05-09 13:07:11 +00:00
gbateson
a38b77368d corrected spelling of "supprot forum" to "support forum" 2005-05-09 11:57:20 +00:00
gbateson
a06ade94b4 corrected version number to 2.0.7 2005-05-09 11:52:47 +00:00
gbateson
9736716d4a removed reference to install.php from README.TXT 2005-05-09 11:48:42 +00:00
stronk7
0ce57ae1e2 Splitted restorelib.php to work together
in both 1.5 and pre 1.5 restore code.
Gustav's team is goingo to handle 1.5 whereas
I'm going to handle old backups.

I'll try to change every function name to be able
to merge both libs again at the end of the process.
2005-05-09 11:07:37 +00:00
thepurpleblob
2e2183688a Export now works with objects generated in questiontype classes. 2005-05-09 10:24:18 +00:00
thepurpleblob
683f250a40 Removed functions that build objects for question export. Now done
using existing functions in questiontype classes.
2005-05-09 10:20:19 +00:00
thepurpleblob
d8bb6c3587 get_question_options() function now adds subquestions to $question object. 2005-05-09 10:18:35 +00:00
bobopinna
5f18d4e79a Added sco frame size
Completed compliance for scorm 1.2
2005-05-09 09:50:37 +00:00
bobopinna
b3df3a0d71 Popup window icon 2005-05-09 09:46:29 +00:00
thepurpleblob
161568f72c Oops! It's a call by reference! 2005-05-09 08:40:37 +00:00
thepurpleblob
7132ca0146 Now calls get_question_option() in appropriate question_type to get question
objects for quiz export. Bad news is that format is different, so all export
classes will need modifying. Will remove old code when complete.
2005-05-09 08:28:09 +00:00
gustav_delius
2b4d7d1495 took out call by reference in an addslashes to fix warning reported at http://moodle.org/mod/forum/discuss.php?d=23288#110511. 2005-05-09 05:47:21 +00:00
gustav_delius
90c7675076 reverted back to restorelib from before the merge. Removes the duplicate function definitions reported on the forums. Also I think this is the best version to start with. 2005-05-09 05:34:20 +00:00
michaelpenne
98dd2c00f4 FIXED: loss content on editing a page 2005-05-09 02:29:35 +00:00
mjollnir_
124dabc799 Updating postgres.php to match mysql.php with max-min/2 rather than min+max/2 2005-05-08 21:28:37 +00:00
gustav_delius
d6516d90e1 removed spurious <tr> 2005-05-08 21:11:05 +00:00
gustav_delius
4165bd36fc fixed problem with update of tolerance reported by Miles, see http://moodle.org/mod/forum/discuss.php?d=23288#110469 2005-05-08 21:06:14 +00:00
gustav_delius
14a02d9595 updated the database diagrams 2005-05-08 15:11:31 +00:00
gustav_delius
57ddd6adba upgraded backuplib.php. Outstanding issues: quiz_rqp_type table and all of Julian's question-type specific stuff. 2005-05-08 14:33:34 +00:00
gustav_delius
bacd044d45 fixed bug 3146 about secure popup window for review screen. 2005-05-08 11:24:03 +00:00
mjollnir_
9c05be5508 Change new to newest for quiz_newest_states (reserved word) 2005-05-08 10:38:56 +00:00
gustav_delius
3e34b1dc14 Changed table field name 'new' to 'newest' for postgres compatibility 2005-05-08 10:35:47 +00:00
gbateson
299716a664 added hotpot/install.php to simplify installation and upgrade
modified README.TXT explaining how to use install.php
2005-05-08 02:36:53 +00:00
gustav_delius
75e1df6fd2 "Attempt builds on last" feature reenabled 2005-05-07 18:50:32 +00:00
defacer
fee287f3e7 Random change while searching for something:
Removing border attribute from <img>, these are handled through CSS
(a img {border: none;})
2005-05-07 17:46:20 +00:00
gustav_delius
89cae10a6e Some corrections in the documentation 2005-05-07 17:18:53 +00:00
gustav_delius
a5c53187cc enabled penalties for all question types 2005-05-07 14:29:42 +00:00
gustav_delius
f370553ef3 this got a bit messed up in the merge 2005-05-07 14:28:22 +00:00
gustav_delius
1105b32da0 Use round() instead of format_float() to limit decimal points to a MAXIMUM of $quiz->decimalpoints. format_float() always displays EXACTLY that number of digits after the decimal point which is not really desirable. 2005-05-07 13:48:25 +00:00
gustav_delius
ef76e0326d Some work on the penalty mechanism. Took out the multiplicative scheme because it is just too difficult to understand. Made all question types print grading details when quiz is in adaptive mode. Made improvements to the presentation of the grading details. Enabled the penalty mechanism in a few more (on my way towards doing it for all). 2005-05-07 13:30:35 +00:00
mjollnir_
2a8057e7ef Porting quiz upgrade to postgres. Still one bug remains - see 3148 2005-05-07 02:38:42 +00:00
mjollnir_
a35ee52017 Please don't put 1 into the where part of get_records_select, it causes postgres-invalid sql 2005-05-07 02:36:45 +00:00
mjollnir_
730e965b17 New postgres7.sql for quiz -- There is a bug in this to do with reserved words (see bug #3148) but committing anyway as is clean apart from this. 2005-05-07 00:23:50 +00:00
michaelpenne
1db0647ccd highscores will not display with practice lesson on because no grade records are entered. Also, on teacher view, when the question content is printed it uses FORMAT_HTML now 2005-05-06 23:57:20 +00:00
stronk7
9f7fa650a5 Now resource autolinking filter is optimised too, so all the autolinking
filters are using latest improvements.
Only Bug 3138 remains open and is important. I've its solution at home and
I'll post it in some hours. Just testing it against PHP4 and PHP5.
(http://moodle.org/bugs/bug.php?op=show&bugid=3138)
2005-05-06 18:15:21 +00:00
stronk7
26ccd11c60 New lightspeed wiki filter (using the static and nothingtodo technologies now) 2005-05-06 17:57:08 +00:00
gustav_delius
ab4f562bb2 Make it impossible to create a category in one course as the child of a category in another course, fixing bug 2940 2005-05-06 17:07:27 +00:00
gustav_delius
e303a824ff Use the grade highlighting only if the maximum grade scheme is used, see bug 2545 2005-05-06 16:43:28 +00:00
gustav_delius
47d726e9ae Fixed error message that created a warning 2005-05-06 16:27:30 +00:00
gustav_delius
15f3e35a48 One line to do with the multianswer upgrade that I forgot to merge 2005-05-06 16:25:55 +00:00
bobopinna
d5a62d972f fixed some typos and fixed some datamodel element 2005-05-06 13:29:59 +00:00
moodler
b1dc6929bc 10 per page by default 2005-05-06 12:50:49 +00:00
gustav_delius
c14199770b Fix tooltip on question edit link, see bug 3139 2005-05-06 11:21:00 +00:00
gustav_delius
dea537e55e loops in upgrade script no longer produce output 2005-05-06 10:50:59 +00:00
gustav_delius
43bc8c2929 In non-adaptive mode the mark is printed as in the old days and not as --/n 2005-05-06 07:36:54 +00:00
gustav_delius
978f438893 "Go" buttons are now enclosed in <noscript> tags. 2005-05-06 07:03:14 +00:00
gustav_delius
ee1fb969c8 Merging in from the MOODLE_15_QUIZREFACTOR branch.
The quiz module now can handle adaptive questions and can render remote questions via RQP web services.
2005-05-06 06:24:04 +00:00
moodler
51e041f42e Prettied up choice with some styles (could use work) 2005-05-05 18:34:20 +00:00