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
a472ce5960
New version of item analysis from Enrique
2005-05-23 07:25:33 +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
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
278553ffdc
Avoid break between answer and feedback in multiple choice question
2005-05-18 03:00:55 +00:00
stronk7
87dddc1445
Replaced some (not all) tabs to spaces.
...
I've leave unmodified formats and nusoap library
2005-05-16 22:51:16 +00:00
gustav_delius
1f48479ebf
quiz_upgrade_states() now creates entries in the quiz_newest_states table only for states that are associated to those questions that are listed in $attempt->layout.
2005-05-16 19:21:34 +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
0fc5939983
item analysis report contributed by Enrique Castro
2005-05-15 14:40:38 +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
a0a3649235
Don't show penalty info if penaltyscheme is off.
2005-05-14 19:20:36 +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
thepurpleblob
ab83607e8b
Altered quiz export get_category_questions function to (optionally)
...
reject questions with parents.
2005-05-11 09:55:48 +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
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
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
3e34b1dc14
Changed table field name 'new' to 'newest' for postgres compatibility
2005-05-08 10:35:47 +00:00
gustav_delius
75e1df6fd2
"Attempt builds on last" feature reenabled
2005-05-07 18:50:32 +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
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
gustav_delius
c14199770b
Fix tooltip on question edit link, see bug 3139
2005-05-06 11:21:00 +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
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
thepurpleblob
0ae982231f
Import/export changed so that available formats are automatically detected.
...
Classes now have discrete names and methods to identify import/export
capability added. Detecting function factored out into locallib.php
2005-04-20 09:08:25 +00:00
mjollnir_
9058e785cb
Small fixes to quiz for postgres compatibility
2005-04-19 00:41:13 +00:00
stronk7
b681000402
Now quiz->name supports filterall.
2005-04-03 00:19:11 +00:00
defacer
5d38e78fdf
Fixing the behavior of (de)select all javascript links, closing bug 2688.
...
Also, some very slight HTML improvements on the way there.
2005-03-18 14:46:11 +00:00
gustav_delius
7760f60e69
Select all / Deselect all look better as links
2005-03-18 09:21:26 +00:00
gustav_delius
19201c8dac
called table column 'Action' consistently, fixing bug 2698
2005-03-08 09:31:20 +00:00
gustav_delius
9274189f25
small fix to the versioning code
2005-03-07 19:45:39 +00:00
gustav_delius
03f9425fd2
The teacher can now move selected questions to a chosen category or delete them, see http://moodle.org/mod/forum/discuss.php?d=16239 and http://moodle.org/mod/forum/discuss.php?d=19734
...
There is also a 'Deselect all' button which I implemented provisionally by putting an extra function checknone() into javascript-static.js. This should be cleaned up by someone who knows javascript.
2005-03-06 12:00:46 +00:00
gustav_delius
1997f36731
Questions that are in use are now only deleted from the category list but not from quizzes or old attempts.
2005-03-05 16:03:59 +00:00
gustav_delius
fef9b51dac
Now can add a single question to quiz with a single click.
2005-03-05 12:55:26 +00:00
gustav_delius
c6bfdec3fc
Versioning of questions: when editing questions the teacher is told about the quizzes in which the question is used and is asked whether to replace them with the new version or not. If there are already attempts at a question than the original version is always kept in the database for audit purposes. More details at http://moodle.org/mod/forum/discuss.php?d=16479
2005-03-03 15:17:45 +00:00
thepurpleblob
6e31897b2d
Export know knows about random questions so it can ignore them
2005-03-03 11:52:02 +00:00
stronk7
e37da3a536
Now decimalpoints is used to show grades
...
(I had to modify quiz_get_best_grade() slighty)
2005-02-14 19:41:52 +00:00
gustav_delius
2f945146d7
Made the quiz paging bar look more like the standard one, see bug 2443.
2005-02-13 14:58:45 +00:00
gustav_delius
0726eb27bb
replaced href="#" by href="javascript:void()" as suggested in bug #1980
2005-02-06 15:18:09 +00:00
gustav_delius
2b6271fccc
I have changed the icon for removing a question from a quiz from X to >> and changed the label from 'Delete' to 'Remove' because it does not delete the question but only removes it from the quiz.
2005-02-06 10:42:31 +00:00
gustav_delius
51d0c8b0bd
edit column in question tables on edit.php are now wide enough to hold all icons without line break
2005-02-06 07:55:05 +00:00
gustav_delius
b37cacae47
It is now no longer possible to add or delete questions in a quiz that students have already attempted, see http://moodle.org/mod/forum/discuss.php?d=16479#86488
2005-02-05 21:03:04 +00:00
gustav_delius
6f7970138a
Taken out some $THEME
2005-02-05 17:28:06 +00:00
thepurpleblob
bb5e13d514
factored out function to see if question is used in quiz into the library
2005-01-27 16:10:25 +00:00
defacer
7a652b5f2b
Switching back to an interger-rounded retrieved best grade. Will probably
...
be more human-friendly on screen.
e.g. "What does 66.67 out of 100 mean?"
2005-01-27 03:14:56 +00:00