Commit graph

1541 commits

Author SHA1 Message Date
thepurpleblob
8cedc8a7f5 Merged changes from STABLE 2005-05-31 10:12:13 +00:00
stronk7
ca653ec706 Added the sort_categories_by_tree() function that
returns an ordered array of categories following
the parent-child relationships. It doesn't forget
any category and returns all the categories passed
although their parent were incorrect. Try to build
as much tree structure as possible.

Merged from MOODLE_15_STABLE
2005-05-30 23:59:42 +00:00
stronk7
b5b6aa75a1 Now the quizzes_category_used() function supports searching
for uses recursively plus an array of excluded categories.

Needed to solve bug 2459...in progress.

Merged from MOODLE_15_STABLE
2005-05-30 22:29:47 +00:00
ecastrolt
083fc55c3e *** empty log message *** 2005-05-29 23:53:50 +00:00
stronk7
0ca4fa367c Added the quizzes_category_used() to detect the list of
quizzes that are using questions from one category.

It relies in the quizzes_question_used() function. Will
be use in the 'orphan_categories' bug (#2459)

(http://moodle.org/bugs/bug.php?op=show&bugid=2459)

Merged from MOODLE_15_STABLE

With some previously unmerged changes added too!! Please check them
Gustav!!
2005-05-29 19:02:51 +00:00
gustav_delius
5ecf32ebf2 update of versioning doc 2005-05-26 07:54:48 +00:00
gustav_delius
a2bb02cce2 updates to versioning documentation 2005-05-25 22:23:17 +00:00
defacer
46bba3597c Merging bugfix for 3334 (if at first you don't succeed edition) 2005-05-25 17:57:53 +00:00
mindforge
1e726a9645 Versioning documentation continued. Issues raised inside the document. 2005-05-25 17:48:23 +00:00
defacer
a058decd5e Merging fix for bug 3334 from 1.5 STABLE branch. 2005-05-25 14:38:06 +00:00
gustav_delius
c724f48209 updated database creation by exporting from my database that was created by updating from 1.4. Merge from 1.5 2005-05-25 06:15:21 +00:00
gustav_delius
ee68029a88 merged fix for bug 3329 2005-05-24 16:11:55 +00:00
thepurpleblob
2df4f2f5eb Merged changes to HEAD 2005-05-24 15:42:30 +00:00
mindforge
53b45aca11 Started documenting the versioning feature. 2005-05-24 10:00:08 +00:00
gustav_delius
b3ccc054e7 Upgrade all attempts at a quiz to the Moodle 1.5 model on attempts.php and report.php 2005-05-23 20:52:55 +00:00
mindforge
d7df8b06ae Fix for bug 3311 in review.php 2005-05-23 10:48:05 +00:00
mindforge
2af152cf52 Fix to feedback/highlighting in the multianswer questiontype. 2005-05-23 09:18:27 +00:00
gustav_delius
a472ce5960 New version of item analysis from Enrique 2005-05-23 07:25:33 +00:00
gustav_delius
cf74468046 Forgot to commit this earlier 2005-05-23 07:16:08 +00:00
defacer
254e5a22a9 Fixed invalid use of GROUP BY and (mostly) fixed sorting by question grade.
There was a compatibility break before/after the Big Quiz Refactor it seems
that won't allow before/after attempts to coexist in the same table sorted
as they should. Will open a bug.
2005-05-22 21:43:12 +00:00
stronk7
000b822e54 Now restore code for quizzes is enabled again. pre15 restore
seems to work and 1.5 backup 1.5 is in being done by Gustav's team.
2005-05-22 19:25:48 +00:00
stronk7
e5acc2e61b Being a bit more exact, I've replaced the 1, 2, .... n
ordered asumption when restoring multianswer responses and
now it checks for the real positionky (like the upgrade)
2005-05-20 22:56:20 +00:00
gustav_delius
081d3a9647 Fixed bug 3295 2005-05-20 21:56:55 +00:00
gustav_delius
5913c377ea implemented Eloy's fix to the duplicate records problem, closing bug 3293 2005-05-20 21:39:34 +00:00
mindforge
920fb237c4 In locallib the function quiz_restore_question_sessions did not load the timestamp field for states. This was fixed by replacing the list of fields in the query by a s.* 2005-05-20 11:44:59 +00:00
mindforge
ee676b5ace Fixed typo. 2005-05-20 10:36:27 +00:00
mindforge
405464d38d Fix for bug 3129. 2005-05-20 09:25:07 +00:00
gustav_delius
1ddb7f4efc Printing of header moved into plugins themselves to allow them to provide export functionality which does not want a header printed. Thanks to Enrique for doing this. 2005-05-20 08:52:33 +00:00
mindforge
356d829527 Fix for bug 3288. 2005-05-19 16:13:18 +00:00
mindforge
bfeb5f257d Fix for bug 3294. 2005-05-19 10:36:36 +00:00
gustav_delius
97f0cb15f1 Questoin edit popup window now closes itself automatically, see bug 3140. Thank you Eloy for the lesson in javascript. 2005-05-19 08:05:58 +00:00
gustav_delius
be34c2948d Improved reporting during upgrade, see bug 3297 2005-05-19 07:54:29 +00:00
stronk7
e44f2f92b0 Now length is correctly set and stored to DB (bug 3290)
(http://moodle.org/bugs/bug.php?op=show&bugid=3290)

plus some added bits to handle the hidden field properly
2005-05-18 23:53:36 +00:00
gustav_delius
67f74fec53 Some code cleanup: the function extract_response() is not used any more 2005-05-18 19:59:12 +00:00
gustav_delius
43f14820fd Updated version of item analysis report from Enrique 2005-05-18 19:52:21 +00:00
gustav_delius
5144dc4aba Shortened length of answer field for numerical questions to 20, closing bug 1508 2005-05-18 15:43:37 +00:00
mindforge
5b572cc887 Fix for bug 3253. 2005-05-18 14:13:46 +00:00
gustav_delius
f19360ff41 Switched off the verbose feedback and removed some old code 2005-05-18 03:34:44 +00:00
gustav_delius
278553ffdc Avoid break between answer and feedback in multiple choice question 2005-05-18 03:00:55 +00:00
gustav_delius
6c6d199c48 temporary fix to bug 3140 2005-05-17 22:22:29 +00:00
gustav_delius
54b3f8eb85 fixed typo in the wiki to markdown upgrade 2005-05-17 22:18:17 +00:00
mjollnir_
f010d33875 Merged from MOODLE_14_STABLE. Merging in my last unmerged patch. Corrects a bad constraint name in postgres for quiz. Bumped quiz version 2005-05-17 21:51:29 +00:00
thepurpleblob
b98af62708 Now correctly handles changes in database format of numerical questions.
Also now properly supports numerical questions with multiple answers.
2005-05-17 15:47:31 +00:00
thepurpleblob
c4f9996d64 Numerical questions now work with recent database changes. 2005-05-17 14:49:55 +00:00
thepurpleblob
73ffd0ac03 Allow tolerance to be specified as array (like fraction and feedback) to
improve GIFT format compatibility.
2005-05-17 14:29:28 +00:00
thepurpleblob
b5abaacf51 Sorted hard coded string. 2005-05-17 14:12:42 +00:00
mindforge
16d85f5712 Fixed problem in random qtype (incorrect selection of state).
Fixed bug 3129. Randomsamatch now reports a propper error if not enogh SA questions are available.
2005-05-17 13:59:58 +00:00
mindforge
57b77d43d9 Reverted the random question type to the old storage model to make life easier in the upgrade, backup and restore scripts. 2005-05-17 13:33:53 +00:00
gustav_delius
b43757dbfa language strings and help files have now been moved to the main language directory 2005-05-17 13:25:40 +00:00
mindforge
de7df51644 The truefalse qtype now stores responses as it did in moodle 1.4. This fixes bug 3252. 2005-05-17 11:32:44 +00:00