Commit graph

1541 commits

Author SHA1 Message Date
gustav_delius
7aa42eb0c8 The import tab has to provide the course id. 2006-02-18 15:11:03 +00:00
gustav_delius
c54da50b29 An additional sorting order for category question list 2006-02-18 15:09:08 +00:00
gustav_delius
a258d4fea8 Make sure teachers can only import into categories for which they have editing rights. 2006-02-18 13:09:59 +00:00
gustav_delius
39230689ef shuffleanswers is always turned on in cloze questions
Feedback popups are now sticky, see http://moodle.org/mod/forum/discuss.php?d=39983#183780
2006-02-17 18:31:15 +00:00
gustav_delius
6551bb8969 Changing headers to decoupling the question editing page from the quiz module. 2006-02-17 17:15:17 +00:00
gustav_delius
fe5a3eb249 Better prompts for multiple choice questions, see bug 2791 2006-02-17 14:14:18 +00:00
gustav_delius
997bcf0eb8 As Eloy pointed out, my recent addition for including child categories used by random questions did not restrict to the course or the instances currently being backed up. 2006-02-16 18:15:15 +00:00
gustav_delius
95ea52d41b Changed language string "Move category to" to "Parent", see bug 4727 2006-02-16 10:26:44 +00:00
gustav_delius
92c781cab3 Update the stamp each time a question is edited. This is the outcome of a long Skype discussion with Eloy on 15/02/06. A planned improvement for the future is to set the stamp to a md5 hash of the questiondata to ensure that identical questions will have identical stamps. Currently it is possible to obtain some duplication during question restore if between backup and restore the teacher clicks on the Save button on the editing page without acutally making any changes. Admittedly not a very likely scenario and hence the current system is good enough for now. 2006-02-16 10:20:27 +00:00
michaelpenne
e51b142a78 Removed changes made earlier for ungraded essay questions. Will try to find an alternate method. 2006-02-16 00:30:50 +00:00
gustav_delius
6a687a0e98 Now contains code to also backup those categories needed by random questions that recurse into child categories.
Fixed the way the $status flag is handled.
2006-02-15 22:30:54 +00:00
gustav_delius
2b9221b9ff Fixed bug leading to warnings 2006-02-15 22:18:49 +00:00
gustav_delius
f0b2c1cc2b Applied fixes from bug 4319. Thanks to Jaroslav 2006-02-15 08:59:32 +00:00
gustav_delius
03d1753c1c Renamed table quiz_newest_states to question_sessions 2006-02-15 08:38:41 +00:00
gustav_delius
832d40420c Renamed table quiz_newest_states to question_sessions 2006-02-15 08:34:36 +00:00
gustav_delius
786187cdfd Removed unnecessary code: questions are only deleted if they have no attempts. 2006-02-15 08:13:14 +00:00
gustav_delius
b2a90f76b2 Don't apply lateness check when teacher previews. 2006-02-15 00:16:57 +00:00
gustav_delius
193b283985 removed a warning, see bug 4406 2006-02-14 23:24:10 +00:00
gustav_delius
85b9b86f51 Round also the raw score. 2006-02-14 23:08:06 +00:00
gustav_delius
8c85be6698 Rounding errors could lead to "Partially correct" for correct answers, see http://moodle.org/mod/forum/discuss.php?d=39548 2006-02-14 18:37:03 +00:00
gustav_delius
24edc235c6 Fixed submit buttons 2006-02-14 18:21:06 +00:00
thepurpleblob
bfb5216f5d Format now uses defaultquestion() method. Bug #4752 2006-02-14 09:53:37 +00:00
thepurpleblob
4db0b132cb Bring formatting into line with Moodle standard (at last!) 2006-02-14 09:45:29 +00:00
moodler
40470d9349 Added new feature: time delay between quiz attempts 2006-02-14 05:12:24 +00:00
mjollnir_
347723bda2 fixing bug # 4751 - adding unique key in postgres for mod/quiz for gustav 2006-02-14 02:01:06 +00:00
gustav_delius
12318329fa Edit link in preview mode now also for descriptions, see bug 4518 2006-02-13 23:48:12 +00:00
gustav_delius
b04523d1c4 convert sequence field to text to accomodate very long sequences, see bug 4257 2006-02-13 23:34:30 +00:00
gustav_delius
a42f000635 Matching questions now no longer give away the answer in the page source, see bug 694 (that is an old bug!) 2006-02-13 23:15:40 +00:00
michaelpenne
b9376ebef0 The following changes were made to help reduce confusion for students when essay questions are being used in a quiz.
- When a essay question has been submitted or being reviewed and has not been graded by the instructor, then the Marks are not shown and displays a message to the student instead of saying Incorrect. (changes to questiontypes/questiontype.php in functions print_question and print_question_grading_details).

    - For students, in view.php, a notice is printed to inform him/her that s/he has ungraded essay question(s).
    - For teachers, in view.php, a notice is printed to inform him/her that s/he has X number of ungraded essays for X number of studnets

    - In review.php, next to the grade output, informs the viewer if X number of ungraded essays in this attempt.

    - In questiontypes/essay/questiontype.php created a utility function to generate the numbers used in the above changes.

    - In lang/en/quiz.php added new lang entries.

So, hopefully the student will now understand that their grade does not include the ungraded essay questions.  Modification of lang entries might be needed to further drive this point.
2006-02-13 20:27:34 +00:00
michaelpenne
d8ed413b92 Converted tabs to spaces 2006-02-13 17:44:50 +00:00
michaelpenne
2f6f0b8ce2 [Fixed] In function save_session_and_responses, now checks to makes sure $state->options->graded is set. 2006-02-13 17:41:19 +00:00
thepurpleblob
5744931aa2 Format now uses defaultquestion() method. Bug #4752 2006-02-13 16:24:05 +00:00
thepurpleblob
d3ca8695cb Now used defaultquestion() method. Bug #4752 2006-02-13 16:17:22 +00:00
thepurpleblob
2ad273d70b Format now uses defaultquestion(). Bug #4752 2006-02-13 16:11:17 +00:00
thepurpleblob
cb04e0d664 Now picks up default $question object. Bug #4752 2006-02-13 15:48:48 +00:00
thepurpleblob
42e5993199 Added initialisation method for question object. Permits setting of default
values for required (but not imported) database fields.
Bug #4752
2006-02-13 14:46:26 +00:00
gustav_delius
acb0c2d93e fixing hardcoded string, see bug 4432 2006-02-13 13:28:40 +00:00
gustav_delius
353138dc11 Added a unique index for attempt->uniqueid 2006-02-13 13:20:57 +00:00
gustav_delius
6d08ff4f01 Fixing javascript, see bug 4418 2006-02-13 11:23:47 +00:00
moodler
fd198b8776 Adding new feature: Time delay between quiz attempts 2006-02-13 01:49:52 +00:00
moodler
e61eab5a83 Adding new feature: delay between quiz attempts 2006-02-13 01:45:29 +00:00
gustav_delius
41323dff31 Added missing percentages to the grade selector, closing bug 4250 2006-02-12 22:38:13 +00:00
gustav_delius
aa960f6b04 Edit link in preview window now says 'Edit'. 2006-02-12 22:26:53 +00:00
gustav_delius
0b72ce2051 Made page compatible with new tabbed interface and removed continue button as requested in bug 2919 2006-02-12 21:50:38 +00:00
gustav_delius
721b5b28c9 Stopped using the language strings for the assignment module because that was requested in bug 4558. 2006-02-12 21:23:54 +00:00
gustav_delius
8779eab55d Avoid error messages in case $quiz->sumgrades is zero, closing bug 4454. Merged from STABLE 2006-02-12 21:08:43 +00:00
gustav_delius
162cbee229 Added field to versioning table needed by new versioning table (to be committed later) 2006-02-12 15:28:17 +00:00
gustav_delius
d40d8ef7b1 quiz_delete_question() now recursively also deletes data associated with newer versions of the question. 2006-02-12 15:24:45 +00:00
gustav_delius
5a981c9480 shuffleanswers option can now also be set at the question level, see http://moodle.org/mod/forum/discuss.php?d=39371 2006-02-12 09:46:34 +00:00
gustav_delius
906935f3b0 Put the default grade option onto question edit forms, see http://moodle.org/mod/forum/discuss.php?d=39371#181767 2006-02-11 22:37:30 +00:00