886 Commits

Author SHA1 Message Date
mindforge
28c6786b49 Modified DB update to adapt multianswer states to the new storage.
ATTENTION: This currently only works for upgrades that upgrade from quiz versions pre 2005042900!
2005-05-16 17:01:21 +00:00
thepurpleblob
875c308e6c Added an example of specifying questiontext text format 2005-05-16 12:38:21 +00:00
thepurpleblob
0f27fa6bda Now allows questiontext text format to be specified. 2005-05-16 12:35:46 +00:00
thepurpleblob
ba67d803f0 Fix bug #3264 2005-05-16 09:17:21 +00:00
thepurpleblob
691d06114e Added support for Examview import. 2005-05-16 08:12:40 +00:00
thepurpleblob
88e24f3a0f File is not used or required. 2005-05-16 07:50:50 +00:00
gustav_delius
3ab87ece98 Some explanation of the paging mechanism. 2005-05-16 05:55:03 +00:00
gustav_delius
3bac7ecaf8 removed doubled-up code, thanks Eloy 2005-05-16 05:26:09 +00:00
stronk7
8465c58a8d STEP 2 seems to be working relatively nice!!
quizzes, instances, versions, attempts, states and grades for pre15
are now restored. Not fully tested, so I'm sure it will need some
adjustments but, basically, it's done.
 CVS: ----------------------------------------------------------------------
2005-05-16 00:05:50 +00:00
stronk7
ce12d03e71 Now STEP1 is 100% completed.
Remap of multianswers isn't necessary because, under Moodle 1.5, it seems
to be always a  1..n collection of pairs and responses pairs are always
ordered from {#1} to {#n}.

If this isn't true we should look for an alternatice method of restore
attempts... :-(

For more info, bug 3252 has more info
(http://moodle.org/bugs/bug.php?op=show&bugid=3252)
2005-05-15 21:40:59 +00:00
gustav_delius
1b6fe5003a Removed some notices, some polishing.
No need to load all users and then remove teachers, can simply load all students.
2005-05-15 19:37:37 +00:00
gustav_delius
af4ed42f9f fixed bug 3258 2005-05-15 16:06:17 +00:00
gustav_delius
57a41f7f3e Put help icon on types.php 2005-05-15 15:43:58 +00:00
gustav_delius
0fc5939983 item analysis report contributed by Enrique Castro 2005-05-15 14:40:38 +00:00
gustav_delius
f7cb98c5ed changed string 'penalty' to 'penaltyfactor' 2005-05-15 14:21:11 +00:00
gustav_delius
488cf46b65 Cleaned up issues to do with timing. So for example late submissions are now detected correctly. 2005-05-15 11:45:12 +00:00
gustav_delius
9402459460 improved display of paging bar on edit page 2005-05-15 08:02:45 +00:00
gustav_delius
a5389464d7 edit page now remembers the paging for the question list 2005-05-15 07:54:31 +00:00
gustav_delius
b4096d4c0b remove an old line and thus a notice 2005-05-15 07:44:31 +00:00
gustav_delius
8e0fe8a5b4 fixing bug 3256 2005-05-15 07:42:51 +00:00
gustav_delius
db357168b9 correcting typos in help file 2005-05-15 06:44:27 +00:00
gustav_delius
19ea2bad55 Improvements to the language and help files for penalties and adaptive questions. 2005-05-15 06:36:25 +00:00
gustav_delius
c5ea7a3a17 Finally I am making a start on the developer docs, prompted by a question from Eloy about penalties. 2005-05-15 05:56:11 +00:00
stronk7
4544d0727f Latest change of function name solved ! 2005-05-14 23:44:37 +00:00
stronk7
86f00bcf98 Now the restore of quiz_categories use the new
restore_get_best_category() function.
2005-05-14 23:43:04 +00:00
gustav_delius
8f015ea595 my stupid editor has been eating whitespace 2005-05-14 20:16:31 +00:00
gustav_delius
a0a3649235 Don't show penalty info if penaltyscheme is off. 2005-05-14 19:20:36 +00:00
mindforge
01a7ef8f20 Removed some debugging code. 2005-05-14 17:30:11 +00:00
mindforge
e81abe1e3e The remaining DB files for the previous fix. 2005-05-14 17:28:17 +00:00
mindforge
f2a06b873d Reverted some changes to the numerical questiontype and adapted the update script accordingly.
Fixes bugs 3168, 3225 and 3226.
2005-05-14 17:08:15 +00:00
stronk7
359d007b0b Some debug is out and the missing decode of answers->question
has been included.
2005-05-14 16:38:52 +00:00
gustav_delius
815bb0cf32 There can now be an arbitrary number of rqp servers of each type.
The remote question types do show up on the editing drop-down like any other question type.
I have disabled rqp on php < 5 for the time being.
2005-05-14 16:21:11 +00:00
stronk7
7aaffc3a55 Not finished but multianswer questions are now properly converted
to their new schema. Good milestone to save changes to CVS.
2005-05-14 16:07:37 +00:00
mindforge
eacb775c8c Fixed bug #3242 2005-05-14 14:30:59 +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
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