nicolasconnault
9cf4a18b41
MDL-15113 Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing.
...
MDL-15100 Fixed a bug in gradelib.php
Plus edited tablelib.php for table_sql upgrade to dmllib 2.0
2008-06-09 10:00:35 +00:00
tjhunt
97344ae331
Improve PHPdocs on a function.
2008-04-23 14:31:21 +00:00
jamiesensei
58ffdbb883
MDL-14471 - when attempt data is generated by a script then sometimes quiz_get_latest_attempt_by_user fetches the wrong attempt since timestart for the attempt is not a second apart from the last attempt - "patch to quiz/locallib.php function quiz_get_latest_attempt_by_user which makes the query simpler and also makes it more robust.
...
In the case that there are two attempts started in the same second, which can happen if you are generating random attempt data then the id field is used to tell which is the later attempt."
2008-04-23 06:45:11 +00:00
jamiesensei
e89e09d21d
MDL-14283 attempt in mdl_question_states is always 1 - typo in attempt.php introduced in Tim's access rules refactor meant that attempt in quiz_attempts table was always set to 1. This meant that only one attempt was shown on the quiz/view.php page as well as causing other problems.
2008-04-09 13:01:40 +00:00
dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
tjhunt
6b84dd19ac
Replace some tabs that managed to slip in. What is Eclipse playing at?
2008-03-07 12:36:16 +00:00
tjhunt
c52c62d1b1
MDL-13806 - Refactor all the code that implements the rules for whether students can attempt the quiz now into some classes.
...
Resource page now done as well. That should be everything.
2008-03-07 12:33:07 +00:00
tjhunt
f0079c3e81
MDL-13738 - Invalid context developer debug notice in manual grading.
2008-02-29 16:22:15 +00:00
tjhunt
255985f17b
MDL-12776 - Quiz email notification and separate groups mode - student not in group -> all teachers get email
I have changed it so that if the quiz is set to groups mode, and if the student is not in a group, then only teachers with 'accessallgroups' get emailed.
2008-02-28 22:44:12 +00:00
tjhunt
692b631d9d
MDL-12815 - Quiz uses inconsistent class attribute for the paging bar.
I have added the standard .paging class, but I have left the old class there too, so as not to break existing themes.
2008-02-28 21:43:50 +00:00
tjhunt
4f67bf8c4d
MDL-13390 - Wrong links in quiz notification emails
2008-02-19 16:19:58 +00:00
tjhunt
b7b4f8bdc4
Improve the quiz_rescale_grade function, and call it from one other place, instead of duplicating code. Merged from MOODLE_19_STABLE.
2007-12-18 18:20:25 +00:00
tjhunt
5a128471cc
Fix notice.
2007-12-12 17:47:35 +00:00
stronk7
87c06e6ebd
Using new cross-db sql_isnotempty() function. MDL-12084
2007-12-07 15:58:04 +00:00
tjhunt
f63a4ff2cc
Eliminate duplicate $Id$ tag. Merged from MOODLE_19_STABLE.
2007-11-07 15:26:37 +00:00
tjhunt
8289cdf33a
MDL-10284 - wrong language string used on the quiz view page to inform students of the quiz deadline. I took the opportunity to strip out an unnecessary HTML table, and reviewing uses of the string /quiz(open|close)s?/ found one other inconsistency on the quiz editing form. Merged from MOODLE_18_STABLE.
2007-10-31 17:08:47 +00:00
tjhunt
e2833e8700
MDL-11617 - 'Student may review' heading on quiz settings form is now misleading. I have fixed some lang strings and improved the help. Also, finish off the clarification of how various capabilites affect quiz review that was started in MDL-11580.
2007-10-09 15:19:07 +00:00
tjhunt
01600b5190
MDL-11580 - refinement to Yu's checkin, including removing the $CFG->openuniversityhacks.
...
Also, reviewing the new code made me realise that the code in mod/quiz/report/overview/report.php was a mess, so I cleaned it up a bit.
2007-10-04 15:57:09 +00:00
toyomoyo
fb72e817d9
MDL-11580, hide quiz grades when user has no grade:viewhidden capability and quiz is still open, need $CFG->openuniversityhacks flag set
2007-10-04 08:22:55 +00:00
tjhunt
a4faed6925
MDL-10030 - the logic controlling whether students were allowed to see the review screen was wrong.
2007-09-21 16:01:40 +00:00
tjhunt
b5a16eb72e
MDL-6376 - Include quizzes on the MyMoodle page. Initial implementation by Stephen Bourget, with refinements by Tim Hunt. The logic for which quizzes are listed is very similar to the lesson module.
2007-09-21 11:05:04 +00:00
tjhunt
07a7d85924
MDL-11267 - Anywone who can view quiz reports can delete student attempts. Merged from MOODLE_18_STABLE.
2007-09-17 16:17:24 +00:00
mattc-catalyst
5ada3c8e3a
MDL-10888: groupings - mod/quiz - add groupings support
2007-08-27 03:56:39 +00:00
skodak
5bf243d131
MDL-10383 - groups/groupings refactoring nearly finished ;-)
2007-08-16 11:06:48 +00:00
jamiesensei
e7e62d45be
Fix for MDL-10823 Access to question edit page denied from quiz preview screen.
2007-08-14 04:22:05 +00:00
jamiesensei
271e6decda
merging MOODLE_19_QUESTIONS with HEAD
2007-08-09 21:51:09 +00:00
tjhunt
0675e5eb8f
MDL-9519 - incorrectuse of language strings in quiz. Merged from MOODLE_18_STABLE.
2007-08-06 13:22:59 +00:00
tjhunt
de266537a7
MDL-10300 - cleaning incorrectly applied to overall feedback.
2007-07-30 10:33:43 +00:00
tjhunt
00719c02d6
MDL-10656 - Way to control when Overall feedback is displayed, independantly of the other sorts of feedback. Also, improve the layout of those settings on the quiz editing form.
2007-07-30 10:05:11 +00:00
tjhunt
ed8bebce5a
MDL-10452 - start quiz UI is confusing if you have quiz:preview capability. Change the 'start/continue attempt button' to say 'start/continue preview' in this case. Merged from MOODLE_17_STABLE.
2007-07-13 15:58:42 +00:00
tjhunt
b0972c0593
MDL-648 - minor corrections.
2007-07-06 08:20:07 +00:00
tjhunt
ac48e43a89
MDL-648 - Email notification and confirmation when quizzes are submitted. Thanks to Graham Miller for implementing this to my design.
2007-06-26 16:34:05 +00:00
tjhunt
ff51d64621
Make a library function for deleting quiz attempts, rather than having duplicated code. Merged from OU Moodle.
2007-06-18 16:19:00 +00:00
skodak
d6dd21084b
MDL-9551 Implemented calls of grade_update() function in Quiz
2007-06-10 22:52:41 +00:00
tjhunt
7d87171ba9
MDL-9565 - Question preview links don't work in developer debug mode, and not XHTML strict. Merged from OU Moodle.
2007-04-24 16:59:32 +00:00
tjhunt
26d12a0c16
quiz/locallib.php clean up:
...
* Tidy up comment layout.
* Strip trailing whitespace.
2007-04-10 14:37:36 +00:00
tjhunt
7d014bf582
MDL-9224 - Score sometimes relealed, even when the quiz settings say it should not be. Merged from OU Moodle.
2007-04-05 13:54:20 +00:00
mchurch
7c4b621a20
Fixing bug where quizzes from 1.4 will lose their answers when upgraded to later versions.
...
Fixes MDL-8207.
2007-01-16 22:02:07 +00:00
vyshane
0927589412
Xhtml fixes for MDL-7861.
2007-01-09 09:07:16 +00:00
skodak
0f13ec8f9b
MDL-8105 some more icon class fixes including new .iconhelp for help and docs icon
2007-01-08 20:30:38 +00:00
tjhunt
77ed3ba5fd
MDL-8002 - Don't show overall feedback for incomplete quiz attempts.
...
Also, cleanup of mod/quiz/index.php
2006-12-22 12:52:13 +00:00
tjhunt
8ff134db82
Typo.
2006-10-06 17:20:37 +00:00
tjhunt
b22fc90182
MDL-6814 - Can't change "maximum grade" value on a quiz. Now you can.
2006-10-04 10:21:23 +00:00
tjhunt
a4514d91de
Renamed new commentary feature to 'general feedback'.
2006-09-19 13:35:42 +00:00
tjhunt
cd06115fa7
Convert mod/quiz/view.php to roles, and further tidy up the code flow in there. This touches other files because I had to change a function in locallib that had an $isteacher parameter.
...
I have not converted the rest of the quiz, and I don't intend to. I am hoping Moodle.com will do it.
I hope this does not introduce any bugs, but view.php is so complicate (at least it is less complicated than it was) and the quiz has so many options, that it is hard to be sure. This needs lots of testing before 1.7 is released.
2006-08-25 16:03:54 +00:00
tjhunt
212b7b8cd9
MDL-5270 - give students a feeback comment for their performance in the entire quiz.
...
Also, along the way I noticed and fixed MDL-6290 student grades not rescaled when quiz maximum grade changed.
2006-08-22 17:31:26 +00:00
tjhunt
1b8a7434e2
Bug 6239 - Allow questions to have some teacher-supplied commentary.
...
While implementing this, I removed the ~100 lines of very similar code from the top of each question type's editquestion.html template, and moved this to a the function print_question_form_start() in the base class, which uses the template question/type/editquestionstart.html. This is described in more detail here: http://moodle.org/mod/forum/discuss.php?d=51590 , and is why this patch makes the codebase 523 lines smaller.
2006-08-11 14:59:18 +00:00
thepurpleblob
f6beb499b6
Now includes question/editlib.php
...
NOTE: This might well be the wrong thing to do and need
backed out, but until I hear otherwise it gets quiz working again!!
2006-05-03 12:27:06 +00:00
mjollnir_
eb55a1bfb9
Avoiding warning in last commit:
...
mod/quiz/index changes to only display quiz grades when teacher allows
Changes to index.php to only allow student to view overall quiz scores when
teacher has not set options forbidding this, and it can't give away what
scores were for attempts where results should still be hidden.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz
2006-04-18 22:57:28 +00:00
mjollnir_
40377b188b
mod/quiz/index changes to only display quiz grades when teacher allows
...
Changes to index.php to only allow student to view overall quiz scores when
teacher has not set options forbidding this, and it can't give away what
scores were for attempts where results should still be hidden.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz
2006-04-18 22:55:28 +00:00