5005 Commits

Author SHA1 Message Date
skodak
314c433698 MDL-10224 some more improvements in grader report related to total course grade and category grade + other bugfixes 2007-06-28 22:55:46 +00:00
skodak
a9f16da37d fixed grade tree sortorder generation 2007-06-28 20:04:19 +00:00
skodak
82bf496e9c MDL-10224 finishing the commit, grrr 2007-06-28 19:18:52 +00:00
mchurch
89676f4dea Bug MDL-8520. Adding target= to the prev/next and logs buttons. 2007-06-28 19:18:11 +00:00
skodak
b3ac6c3ef0 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 2007-06-28 13:20:30 +00:00
nicolasconnault
8ace7bf75f MDL-10211 Added all icons. 2007-06-28 12:40:11 +00:00
nicolasconnault
1ec74ea5aa 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.
2007-06-28 11:15:12 +00:00
nicolasconnault
a9d5bde75d MDL-10211 Show/hide and lock/unlock of final grades 2007-06-28 05:54:01 +00:00
nicolasconnault
0a1ef2f264 MDL-10211 First set of icons 2007-06-27 16:15:23 +00:00
skodak
a33c44c4b9 MDL-10276 Text cleaning trouble 2007-06-27 11:58:33 +00:00
toyomoyo
6a61f741e6 testing patch for MDL-9238 Arnaud's patch 2007-06-27 09:07:47 +00:00
poltawski
4fa94a5639 MDL-10264 - fixed typo 2007-06-26 21:17:56 +00:00
tjhunt
d53587d822 MDL-10250 - Extend get_users_by_capability to have a $useviewallgroups parameter. 2007-06-26 16:16:46 +00:00
nicolasconnault
8178f34c56 MDL-10211 Added edit, show/hide and lock/unlock icons and links, with corresponding page-level actions to headers of grader report. 2007-06-26 09:59:18 +00:00
moodler
db48c57c3c Merged fix for MDL-10254, thanks Valery! 2007-06-26 09:09:39 +00:00
nicolasconnault
97d608ba05 Changed grade_item so that its grademax is count(scale_items) and grademin is 1, to be consistent with use of scales throughout Moodle. 2007-06-26 08:50:22 +00:00
nicolasconnault
8161dbb6fc MDL-10210 MDL-10207 Fixed small issues in tabs. Removed HTML-producing code from grade_tree and put it into category.php. 2007-06-26 07:45:40 +00:00
mchurch
12c1f0abea Fixing update_group_button and update_groups_button. They were no longer calling valid URL's. 2007-06-25 20:50:17 +00:00
skodak
22e23c78a0 MDL-10251 finished hiding implementation for grades, items and categories + unit tests 2007-06-25 15:29:31 +00:00
sam_marshall
7470d6de7a MDL-10249 Created addonload JavaScript function that can be used to add onload handlers, instead of using <body onload> which breaks things. 2007-06-25 14:38:02 +00:00
skodak
79f2b1ef1c fixed locking problem in update_raw_grade() 2007-06-25 08:30:03 +00:00
skodak
f89526e044 fixed typo 2007-06-25 08:13:54 +00:00
skodak
93def7683e removing itemnumber generation for now 2007-06-25 08:01:04 +00:00
skodak
c4e4068fa2 moving event trigger from update_grade() to grade_item->update_raw_grade(); removing itemnumber generation for now 2007-06-25 07:56:25 +00:00
skodak
f92dcad81a 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 2007-06-24 22:26:33 +00:00
skodak
772ddfbfce trailing whitespace cleanup in new grade libraries 2007-06-23 16:51:09 +00:00
skodak
61c33818d5 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.
2007-06-23 16:33:17 +00:00
urs_hunkler
d0c92410ef 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. 2007-06-23 12:21:59 +00:00
skodak
2e53372c37 MDL-10226 regrading of final grades improved, calculation cleanup before MDL-10231 2007-06-22 18:33:32 +00:00
toyomoyo
2f2d4fb53f adding limits to get_role_users() to enable extracting specific users 2007-06-22 09:03:03 +00:00
skodak
2cc4b0f90d 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
2007-06-22 08:57:39 +00:00
skodak
578075c615 MDL-10202 fixed locktime trouble 2007-06-21 07:30:30 +00:00
skodak
ac9b080524 MDL-10202 merge raw and final grade tables 2007-06-20 23:06:29 +00:00
nicolasconnault
0936f59b63 MDL-9629 Added student names at left of grades table. 2007-06-20 20:10:19 +00:00
nicolasconnault
6500f2807f First draft of the grader report 2007-06-20 11:56:51 +00:00
nicolasconnault
561d406ba7 Started adding PHPDoc to flexible_table 2007-06-20 03:52:59 +00:00
mchurch
b069fbd9b3 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. 2007-06-19 20:38:27 +00:00
moodler
3f59a54e0c Added support for xxxxx_install() hooks for generic plugins too 2007-06-19 16:35:41 +00:00
moodler
05f167f421 Only print notice when debugging MDL-10170 2007-06-19 16:27:04 +00:00
moodler
f11b9a9ed4 Fix for plugin directories with no plugins MDL-10170 2007-06-19 16:18:35 +00:00
jamiesensei
770fef0a3c MDL-10168 improvements to display of results from environment checks 2007-06-19 15:52:19 +00:00
jamiesensei
4579011918 elaborated phpdoc comment slightly for doc_link 2007-06-19 15:21:27 +00:00
jamiesensei
84e3d2ccf5 refactored page_doc_link into two functions. doc_link returns a link to docs. page_doc_link returns the link for this page. 2007-06-19 14:44:02 +00:00
skodak
df3cb76fc4 MDL-9137 calculated grades should work now, some other minor cleanup 2007-06-18 22:52:55 +00:00
skodak
c2a897b044 MDL-9137 removing obsoleted function, finals now processed only by update_final_grade() 2007-06-18 20:14:16 +00:00
skodak
95affb8a35 MDL-9137 readding GRADE_AGGREGATE_MODE 2007-06-18 15:29:20 +00:00
skodak
b8ff92b66b MDL-9137 various grading improvements
1/ initial support for migration of old grade_items and categories (not tested)
2/ rewritten grade update and calculation logic
3/ initial support for calculation formulas
4/ minor API refactoring and cleanup
5/ various small bugfixes
6/ fixed use of grademax with scales
7/ fixed some unit tests

TODO:
* implement proper locking of grades - needs discussion
* force recalculation of all formulas after adding/removing/changing of grade items
* better delete flag support
* support for NULLs n backup - Eloy already proposed a solution
* support for NULLs in set_field()
* speedup
* more unit tests nd functional tests
2007-06-18 13:43:40 +00:00
moodler
11e4a24ba9 Added an install hook ... any function called modulename_install() will be run when the module is installed
MDL-10108
2007-06-18 03:59:47 +00:00
nicolasconnault
4a490db004 MDL-9506 MDL-9629 Added code to grade_category::delete so that its children have their categoryid/parent field updated. However, the query used sets the fields to an empty string instead of a null value. The unit test for grade_categories fails. 2007-06-16 21:20:57 +00:00
nfreear
751457e6e4 Fixes bug MDL-10138 build_navigation needs hidden "You are here" heading. Also, white space. 2007-06-15 15:15:29 +00:00