Commit graph

142 commits

Author SHA1 Message Date
skodak
c2efb50142 MDL-11130 added aggregation inside all subcategories + added graded/all aggregation option 2007-09-05 19:15:21 +00:00
moodler
d61d8c09ce Removed hardcoded string 'course grades category' 2007-09-05 09:17:19 +00:00
skodak
9c8d38fa97 MDL-11092 events are not used for changed raw grades anymore + minor cleanup in handling of raw grades (now used only for modules or other external plugins that produce grades) 2007-08-31 22:42:05 +00:00
nicolasconnault
be7c069360 MDL-10829 Added get_idnumber() for both category and item classes 2007-08-13 18:34:57 +00:00
skodak
f60c61b1b2 improved hiding support in grade/ 2007-08-09 16:19:06 +00:00
skodak
fb0e357051 various locking improvements and fixes, cron locktime support stilll missing 2007-08-09 09:03:14 +00:00
skodak
410753fbb0 course name used if name given to course category 2007-08-08 12:28:15 +00:00
skodak
2b0f65e23c MDL-10223 module grades are now refreshed after unlocking 2007-08-06 15:18:54 +00:00
skodak
29d509f59a MDL-10109 optional aggregation of outcomes together with grades 2007-08-06 12:05:45 +00:00
skodak
f615fbaba0 MDL-10711 adding deleting of grade data when deleting module or course 2007-08-03 19:25:22 +00:00
nicolasconnault
f2c883562d Gradebook unit tests review 2007-08-03 15:10:25 +00:00
skodak
31fa03861f fixed grade category unit tests 2007-07-29 13:58:57 +00:00
skodak
514a3467a4 MDL-10636 reverting last commit 2007-07-29 13:22:50 +00:00
nicolasconnault
f04873a9ea MDL-10636
Attempting to fix a number of bugs related to backup/restore for gradebook
2007-07-28 09:23:32 +00:00
skodak
4faf5f99be MDL-10478 reworked collapse/expand for grade categories 2007-07-25 19:57:47 +00:00
nicolasconnault
438a5aa9ad MDL-9628 Moving Basic support for compact view from report class to grade_category class, internal to the grade_tree recursive construction 2007-07-25 15:04:31 +00:00
skodak
42ff9ce68b MDL-10111 migration of data into new gradebook; added new lib/db/upgradelib.php file (should be used by new groups upgrade code too) 2007-07-22 21:43:47 +00:00
skodak
31a170930d added proper rs_close($rs) 2007-07-22 16:02:57 +00:00
skodak
23207a1a6a MDL-10563 item excluding implemented;
improved/fixed grade edit page;
some other improvements and cleanup
2007-07-21 14:24:39 +00:00
skodak
eacd3700f4 aggregation improvements; fixed aggregation of course category when changing type; old gradebook upgrade wip (untested) 2007-07-21 10:09:57 +00:00
skodak
c186c7b2cb MDL-10524 minor simplification of median aggregation + fixed aggregation names in lang 2007-07-20 13:54:58 +00:00
nicolasconnault
d5f0aa0196 MDL-9628 Fixed typos and added language strings. Corrected a bug that prevented a decimalpoints of 0 from being used (empty($decimalpoints)) -> is_null 2007-07-20 07:31:13 +00:00
skodak
3ee5c20149 MDL-10525 renaming class grade_grades and grade_grades_text - singulars for all grade class names 2007-07-19 08:15:19 +00:00
skodak
ba74762bda regular whitespace cleanup in grade code 2007-07-18 19:56:07 +00:00
skodak
9580a21f1c MDL-9137 added new aggregation needed for upgrade - weighted + extra credit
minor item edit form cleanup
fixed minor bug in grader/lib.php
2007-07-18 19:29:32 +00:00
skodak
2a8c101f69 MDL-10065 move lib/simpletest/grade/simpletest elsewhere
+ fixed categroy locking unittest and minor problem with return value
2007-07-17 14:25:20 +00:00
skodak
b121b54432 one more category locking fix 2007-07-13 09:12:23 +00:00
skodak
7a7a53d32a updated category locking to work the same as hiding - locking of category now locks all children too 2007-07-13 09:05:36 +00:00
skodak
938e00b6cb grade_tree minor cleanup - grades not included anymore; fixed categroy item position in grader report 2007-07-13 08:59:46 +00:00
skodak
79eabc2ab2 major grade editing fixes and improvements - grader form now knows if grade is editable; fixed broken quickgrading; feedback format is handled the same way as in the rest of moodle - automatically converted to FORMAT_HTML when editor enabled; fixed calculation of grades that was breaking locking 2007-07-12 22:31:20 +00:00
skodak
c86caae78a MDL-9137 new grade_grades field overridden; item edit form fixes; other minor fixes and improvements 2007-07-10 18:08:24 +00:00
skodak
d5fab31f08 grade category edit form improved, fixed aggregation 2007-07-08 21:37:55 +00:00
skodak
15b462da4b MDL-10226 fixed breakage in grade computing 2007-07-08 15:03:46 +00:00
skodak
f8e6e4dbea MDL-10226 improved regrading of final grades - optimised db access, partial regrading when raw grade updated 2007-07-08 14:57:19 +00:00
skodak
aaff71daf4 MDL-10365 Improved handling of history when inserting/updating/deleting in new grade reports;first part 2007-07-06 12:49:28 +00:00
skodak
6639ead31e complete unit tests for grade_category, minor API cleanup, fixed forced regrading in grade_category 2007-07-03 10:06:08 +00:00
skodak
f13002d53e MDL-9629 fixed regressions in grade reports caused by my previous commits, added unfinished forms for category and item edit 2007-06-30 21:12:47 +00:00
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
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
skodak
22e23c78a0 MDL-10251 finished hiding implementation for grades, items and categories + unit tests 2007-06-25 15:29:31 +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
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
skodak
2e53372c37 MDL-10226 regrading of final grades improved, calculation cleanup before MDL-10231 2007-06-22 18:33:32 +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
ac9b080524 MDL-10202 merge raw and final grade tables 2007-06-20 23:06:29 +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
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
skodak
9b7e5a3772 MDL-10103 grade_object:insert() now fetches the fresh data from db and updates itself; update_from_db() now uses the same process as new grade_object() for consistency 2007-06-12 20:16:49 +00:00