mjollnir_ [Mon, 15 May 2006 21:52:18 +0000 (21:52 +0000)]
mod/quiz/view No-longer display final grade when quiz settings forbid it.
Changed view.php so that it checked if there were any attempts with
concealed grades before printing the student's overall score.
Credit: Peter Bulmer <peter.bulmer@catalyst.net.nz>
Merged from MOODLE_16_STABLE
mark-nielsen [Mon, 15 May 2006 19:14:22 +0000 (19:14 +0000)]
[BugFix] Bug 5505 - function lesson_print_tree now checks for teacher editing priv before printing editing icons. Had to change arguments for this function as well which is the edit in view.php.
lesson.php how checks for teacher editing priv for all actions except for continue. This is just in case the user hacks the URL.
vyshane [Mon, 15 May 2006 05:01:00 +0000 (05:01 +0000)]
Added option to download logs in excel or csv formats. Merged in code contributed by
Daniele Cordella <d.cordella@iss.it>. Originally posted as bug 5024.
skodak [Sun, 14 May 2006 17:23:29 +0000 (17:23 +0000)]
I hope final fix for warnings when using error() after print_header() with buffering on, solution was to flush all buffers and reenable SID rewrite when needed; merged from MOODLE_16_STABLE
gustav_delius [Sat, 13 May 2006 16:57:17 +0000 (16:57 +0000)]
Introduce question_attempts table, closing bug 5468
Fixed incorrect check for whether to update state or insert new one in save_question_session()
Deal with manually graded states correctly during regrading
Increase state sequence number during manual grading
Supplied missing userid to quiz_save_best_grade() during manual grading
ethem [Fri, 12 May 2006 19:56:02 +0000 (19:56 +0000)]
Fix: Don't show newly created orders prior to 2 minutes.
They may be still in proggress and these aren't test transacions(transid=0).
We check timecreated field to prevent this.
MERGED FROM MOODLE_16_STABLE.
vyshane [Mon, 8 May 2006 03:16:04 +0000 (03:16 +0000)]
Changed the 'module' field length to 20 in the log_display table (Bug #5419).
Previous commit message in 1.6 stable should read 'log_display table' instead
of 'log' table. Both fixes are identical and carried over to HEAD via a merge.
stronk7 [Sat, 6 May 2006 16:58:36 +0000 (16:58 +0000)]
Now, when a single forum is restored and no user data was created,
the initial discussion/post is automatically generated. Bug 5418.
(http://moodle.org/bugs/bug.php?op=show&bugid=5418)
thepurpleblob [Wed, 3 May 2006 12:27:06 +0000 (12:27 +0000)]
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!!
mjollnir_ [Wed, 3 May 2006 02:44:25 +0000 (02:44 +0000)]
question/type/qtype hide scores when requested by teacher
Changed question/type/questiontype.php such that when review.php
displays a state-by-state review of answers submitted,
scores are not displayed unless allowed by quiz options.
Credit: Peter Bulmer <peter.bulmer@catalyst.net.nz>
mark-nielsen [Tue, 2 May 2006 17:05:29 +0000 (17:05 +0000)]
[BugFix] Bug #5396 - Found that the css float was causing the odd problem. Removed extra styles for the button layout and changed the divs around the buttons to spans
Also improved some logic in the button processing for branch tables
martinlanghoff [Tue, 2 May 2006 05:20:35 +0000 (05:20 +0000)]
mod/chat - fix another instance where empty $USER->lastIP was affecting us
The original commit was:
mod/chat - use empty value instead of erroring out if $USER->lastIP and getremoteaddr() don't yield any interesting value
Sometimes we can't get any useful IP for the user -- and this may even be a
valid situation. So fudge an empty value -- the DB needs it as the IP field
is NOT NULL.
stronk7 [Mon, 1 May 2006 23:26:12 +0000 (23:26 +0000)]
Now, hidden courses that haven't been modified in the last month
are skipped by the scheduled backup. Credit goes to James. Bug 4694.
(http://moodle.org/bugs/bug.php?op=show&bugid=4694)