nicolasconnault
|
2c72af1f08
|
MDL-9506 Stuck on grade_category->generate_grades. I cannot figure out how to recursively generate raw grades for each category's associated grade_item based on that category's children categories and items. Heaps of other changes with this commit, including a new grade_object::update_from_db() method, which uses the state of the record in DB to update the current object with a matching id (useful when you insert an incomplete object in the DB and want to get the default values as set up in the DB).
|
2007-05-08 08:01:55 +00:00 |
|
nicolasconnault
|
46566dd8c6
|
MDL-9506 Moved unit tests in a simpletest subfolder so they can be automatically grouped. Added grade_history and grade_text object and another heap of small implementations.
|
2007-05-04 07:40:51 +00:00 |
|
toyomoyo
|
967f222f55
|
MDL-9510, cron job support of legacy grade functions in modules. Implementation is not finished as the gradebook grade_added event is not complete
|
2007-05-04 02:15:46 +00:00 |
|
nicolasconnault
|
5501446df5
|
MDL-9506 Added grade_outcome.php. Also added unit test for creation of log in history table when grade_raw is updated.
|
2007-05-03 08:51:48 +00:00 |
|
nicolasconnault
|
27f95e9b47
|
MDL-9506 Upgraded grade_item::adjust_grade with Darlene's more elegant formula. Completed grade_category::get_children($depth, $arraytype). Added 4 constants to help that method. Added and passed all unit tests (111 now).
|
2007-05-03 07:10:22 +00:00 |
|
nicolasconnault
|
d5bdb228a5
|
MDL-9506 Finished grade_item::adjust_grade, which now also adjusts scale grades correctly. Added grade_scale object to wrap around the current non-normalized scale DB table. When/if we upgrade to grade_scales and grade_scale_items DB tables, changing the grade_scale class will be easy.
|
2007-05-01 05:45:54 +00:00 |
|
nicolasconnault
|
869807d8e4
|
MLD-9506 Corrected update_final_grades() in grade_item, which was updating the grade_raw table
instead of grade_final. Made a few other adjustments.
|
2007-04-30 05:25:19 +00:00 |
|
nicolasconnault
|
a8995b34df
|
MDL-9506 Added grade_grades_raw as a proper object used by grade_item. Also added a global function in gradelib for updating grade_grades_raw objects.
|
2007-04-30 04:49:25 +00:00 |
|
nicolasconnault
|
3058964f85
|
MDL-9506 Number of important changes, restored unit test stability, on to next changes...
|
2007-04-27 07:28:41 +00:00 |
|
nicolasconnault
|
60cf74305d
|
MDL-9506 More work in the unit tests
|
2007-04-26 08:29:30 +00:00 |
|
nicolasconnault
|
f9f4a93b4e
|
MDL-9506 Refactored gradelib.php: an abstract class (php5 in mind) holds data and methods common
to all grade_* objects. The unit test file has also been refactored to improve clarity.
|
2007-04-26 07:14:12 +00:00 |
|
nicolasconnault
|
27fbffb62b
|
MDL-9506 More implementation of gradebook API and more unit tests.
|
2007-04-26 04:39:40 +00:00 |
|
nicolasconnault
|
619a59a70f
|
MDL-9506 Set up the unit test bed and continued to implement gradebook API.
|
2007-04-24 08:50:19 +00:00 |
|
nicolasconnault
|
42bbccd722
|
MDL-9506 Finished initial draft of gradebook API.
|
2007-04-24 05:41:28 +00:00 |
|
nicolasconnault
|
5834dcdb1d
|
MDL-9506 First draft of gradelib, and the stubs for the unit tests.
|
2007-04-23 09:00:32 +00:00 |
|