3160 Commits

Author SHA1 Message Date
gbateson
dde7cceda0 modified $moodle->requires to 2003091111 (Moodle v1.1.1) 2005-05-14 02:43:36 +00:00
gustav_delius
5b6e1eebd7 Fixed the mess I made with a type in version.php. Thanks Eloy. 2005-05-13 15:49:15 +00:00
gbateson
1fb986d10c setting of path templates directory no longer depends on strings "v6", "v5", etc in language pack 2005-05-13 12:39:47 +00:00
gbateson
c3d987648a removed install.php script because it is non-standard and not required in Moodle 1.5 2005-05-13 02:39:02 +00:00
moodler
acb50c1bf8 Don't save Guest forum mode to database (just session) 2005-05-13 02:06:16 +00:00
mindforge
1febe9d825 Fixes for bigs 3143 and 3144. 2005-05-12 17:25:09 +00:00
gustav_delius
93210cdfdb fixed my careless search and replace that got rid of all question_datasets 2005-05-12 16:51:41 +00:00
stronk7
a63ae8e9b2 Work in progress!!
I doesn't work at all but near every question type has been checked and
changed if needed. Tomorrow I'll start with the quiz->attempts... part

Anyway I've some IMPORTANT doubts about how this questions are currently
implemented:

- NUMERICAL: Can the answer field have more than one answer?
- MULTIANSWER: What are the differences. Why, in the upgrade process,
     all of them are deleted and recreated? Why some fields have been
     deleted? Why the questiontext for this type is set to '' in the
     upgrade processs
- CALCULATED: Why the quiz_question_datasets table is now simply "s" in
     the restore process? A typo, I hope.

I've written this here to avoid forgetting it and, if someone in the
quiz's team can answer me...

Now, just zzzZZZzzzZZZ. Ciao :-)
2005-05-11 23:13:03 +00:00
stronk7
8636eb6560 Changed backup of numerical questions to use the new DB model 2005-05-11 21:54:21 +00:00
stronk7
4cae7b0b85 Avoid recode of category->parent from quiz/restorelib.php because it's
done globally after restoring all the categories by restore_create_questions()
in backup/restorelib.php

Modify the restore of numericalquestions to work with its new 1.5 structure.
2005-05-11 21:45:04 +00:00
stronk7
cb3270aeb5 We must have editing rights in existing course, owner of the
published cat, not it the one being restored. ;-)
2005-05-11 16:47:50 +00:00
thepurpleblob
665f61dcdb Compatible with newly introduced question options. 2005-05-11 13:57:43 +00:00
thepurpleblob
0f7a2885a0 Questions with parents are no longer exported. 2005-05-11 09:56:35 +00:00
thepurpleblob
ab83607e8b Altered quiz export get_category_questions function to (optionally)
reject questions with parents.
2005-05-11 09:55:48 +00:00
stronk7
9e72253b32 Hooks to call pre15 restore included.
(not working yet)
Hard work starts now! ;-)
2005-05-10 19:48:17 +00:00
gustav_delius
bae2f74800 grading details should be shown in non-adaptive mode 2005-05-10 15:51:15 +00:00
gustav_delius
9b1a258947 just fixing my earlier fix 2005-05-10 15:34:08 +00:00
gustav_delius
c4aff6543c Fixed bug reported at http://moodle.org/mod/forum/discuss.php?d=23526 2005-05-10 15:00:27 +00:00
thepurpleblob
e7a27eeb87 fixed typo. 2005-05-10 10:31:41 +00:00
gustav_delius
b8897e49a8 fixed bug 3191 2005-05-10 10:12:24 +00:00
gustav_delius
9f9265f302 fixed bug 3190 2005-05-10 09:59:51 +00:00
gustav_delius
9a62a7634b Made sure the questions that can be parent questions are backed up and restored first so that the recoding of the parent field will work. 2005-05-10 09:49:58 +00:00
gustav_delius
2e1111c5b1 Towards a Moodle 1.5 quiz backup and restore. Not tested yet.
I moved some quiz speicific functions out of backup/backuplib.php into mod/quiz/backuplib.php
2005-05-10 09:37:09 +00:00
thepurpleblob
135973fb1c Export now uses functions in questiontype classes. Changes in this file
reflect slightly different question object layout.
2005-05-10 09:23:10 +00:00
thepurpleblob
835ee89f1c Refactored to use functions in questiontypes classes, which have slightly
different object structure.
2005-05-10 09:07:21 +00:00
bobopinna
9c28a7c06e Fixed report counter 2005-05-10 07:09:54 +00:00
bobopinna
8afadf947c Fixed a problem with Safari 2005-05-10 06:54:49 +00:00
moodler
ddff098403 Fixed typo 2005-05-10 03:36:57 +00:00
moodler
fd8585a08d Modification to forum post headers to make filtering a bit easier,
and also to support more of RFC2919 and RFC2369
2005-05-10 03:34:43 +00:00
martinlanghoff
57472983bb Merged from MOODLE_14_STABLE - SQL fixes in GROUP BY clause in SCORM module -- merged patch from Patrick Li 2005-05-10 00:31:34 +00:00
stronk7
d2ed94bcba Simply rename everyfunction.
Some of them will be deleted later...but from now...
2005-05-09 19:46:08 +00:00
thepurpleblob
6b0ec8d155 Missing get_answers() function looks tricky to work-around. Have
completely disabled MULTIANSWER questions from qti2 export. One for
another day!
2005-05-09 15:37:09 +00:00
thepurpleblob
7ea81728c3 Brought into line with changed object layouts after Gustav's update.
Doesn't work for cloze questions at the moment due to vanished function
in quiz_embedded_cloze_qtype
2005-05-09 15:28:34 +00:00
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