skodak [Thu, 28 Jun 2007 13:20:30 +0000 (13:20 +0000)]
MDL-10224 total course grade implemented + lots of other changes and improvements; there are still some regressions and bugs - going to fix them ASAP; some unit tests still missing too
nicolasconnault [Thu, 28 Jun 2007 11:15:12 +0000 (11:15 +0000)]
MDL-10209 MDL-10211
Added two tiny feedback/add_feedback icons.
Enabled feedback mode with button next to "Turn editing on".
Added tooltip (with overlib for the time being) for "Show feedback" when edit mode is off, and for "Edit feedback" when edit is on.
skodak [Sun, 24 Jun 2007 22:26:33 +0000 (22:26 +0000)]
MDL-10233 improved static factory methods of grade obejcts fetch() and fetch_all(); implemented default values of grade objects, fixed null values for some properties that are not required - unit tests included, tested with PHP4 and PHP5
skodak [Sat, 23 Jun 2007 16:33:17 +0000 (16:33 +0000)]
MDL-10231 merge grade_calculations and grade_items table + calculation improvements
MDL-10233 fixed grade_*::fetch() - does not modify $this anymore, we can now use it from normal methods to fetch other objects of the same class.
urs_hunkler [Sat, 23 Jun 2007 12:21:59 +0000 (12:21 +0000)]
Add an option $CFG->CSSEdit or $THEME->CSSEdit to Moodle. If one of both is set to true, Moodle does not write all CSS code in one single CSS file but adds CSS @include to the theme CSS file to load all single CSS files. These single CSS files can then be interactively edited and saved with CSSEdit. It's like Firebug with direct saving your changes.
tjhunt [Sat, 23 Jun 2007 10:39:28 +0000 (10:39 +0000)]
Make a library function for deleting quiz attempts, rather than having duplicated code - Followup: make sure we only delete preview attempts. Merged from OU Moodle.
nicolasconnault [Fri, 22 Jun 2007 17:34:14 +0000 (17:34 +0000)]
MDL-10207 Tabs added to category admin page and grader report page. I also changed the id URL variable to courseid. This may cause some issues as long as the current grade/lib.php library is used, but I thought we should use courseid instead of id.
tjhunt [Fri, 22 Jun 2007 13:46:00 +0000 (13:46 +0000)]
MDL-10213 - layuout problem for question in IE in Moodle 1.7. I'm taking the opportunity to clean up the CSS in 1.8 and HEAD to match what I did in 1.7. Merged from MOODLE_18_STABLE.
skodak [Fri, 22 Jun 2007 08:57:39 +0000 (08:57 +0000)]
MDL-10223 Implement locking of grades and grade items - cron support still not implemented;
this patch also contains improvements in handling of needsupdate, though it is not yet fully working for calculated grades
tjhunt [Wed, 20 Jun 2007 16:18:37 +0000 (16:18 +0000)]
Put information about which quiz and page in the URL for attempt.php, instead of in hidden form fields. Merged from OU Moodle.This makes things a little more robust in some situations, for example you can bookmark a page half way through a quiz attempt to make it easier to get back later.
tjhunt [Wed, 20 Jun 2007 15:12:36 +0000 (15:12 +0000)]
MDL-10198 - New code to allow files from quiestion attempts to be stored in moodledata and later downloaded. Code thanks to Adriane Boyd, but checked and modified by me, so we share the blame;-)
mchurch [Tue, 19 Jun 2007 20:38:27 +0000 (20:38 +0000)]
MDL-10161 - Since get_course_... (users, students, teachers) is still being used by a number of functions (such as groups), trying to make them work with the SITE course the way they did pre-1.7, with $CFG->allusersarestudents set to TRUE. This will also have a configuration option that can be used to disable returning large amounts of users for the site course, if a site happens to be using this functionality and they have a large number of users.