179 Commits

Author SHA1 Message Date
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
nicolasconnault
5ff96295e6 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. 2007-06-22 17:34:14 +00:00
toyomoyo
d9a3e38b3a bits of the grader report 2007-06-22 09:18:31 +00:00
toyomoyo
b5fc272c3c fixed a warning 2007-06-22 08:35:23 +00:00
toyomoyo
16501647cd some grader report code 2007-06-21 09:23:57 +00:00
toyomoyo
e41c30a25e fixing export to use get_final 2007-06-21 02:45:04 +00:00
skodak
ac9b080524 MDL-10202 merge raw and final grade tables 2007-06-20 23:06:29 +00:00
nicolasconnault
6500f2807f First draft of the grader report 2007-06-20 11:56:51 +00:00
toyomoyo
62cb266e97 extraction of gradeitems to use grade_tree for handling of sortorder 2007-06-19 07:52:55 +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
toyomoyo
1e0503f602 flexitable for user report 2007-06-18 08:05:53 +00:00
moodler
90dcbeccd4 Whoops, checked in wrong file before 2007-06-18 07:35:14 +00:00
moodler
2de494a5a1 First pass at grader report capabilities 2007-06-18 07:24:03 +00:00
toyomoyo
dfbec4d492 user grade report development code 2007-06-15 09:13:13 +00:00
moodler
0a6695f696 Added two capabilities for the grader report 2007-06-15 08:29:23 +00:00
moodler
4b98acca96 SOme dummy report pages 2007-06-15 08:24:45 +00:00
moodler
4fcdf5001d Simple framework interface for grades reports 2007-06-15 08:12:11 +00:00
toyomoyo
870a603f9c previews specified number of lines for grade imports 2007-06-13 09:07:39 +00:00
moodler
f1efbe0a07 Adding a stub to start copying the report GUI into 2007-06-12 09:31:19 +00:00
toyomoyo
f115f8c858 adding some strings and checks for grade book import/export 2007-06-12 09:12:07 +00:00
toyomoyo
741bde47c3 some fixes for gradebook imports 2007-06-11 09:00:17 +00:00
toyomoyo
ce40b7935e gradebook import fixes to use grade_update function 2007-06-08 09:01:19 +00:00
skodak
b67ec72f57 MDL-9516 update_grade(); now required $source of grading to allow modification of original grades in activities through grade_updated event 2007-06-06 23:04:24 +00:00
toyomoyo
b89ef1db2a fixes to use temp buffer table for gradebook import 2007-06-06 08:51:58 +00:00
skodak
e9c04db4ba fixed event name 2007-06-06 07:06:22 +00:00
toyomoyo
4d40aa144a grade import temporary buffer tables and encoding/import form changes 2007-06-05 09:28:15 +00:00
nicolasconnault
210611f6ee MDL-9629 Changed grade_item.gradetype default to 1, added GRADE_TYPE_NONE constant = 0, incrementing existing constants by 1. Set up auto-generation of idnumber for grade_item if itemmodule and iteminstance are set, only a temporary stub if they are not set (must be replaced by correct generation code). New category form now has server-side validation (not using formslib) 2007-06-05 08:50:24 +00:00
nicolasconnault
ffa6e8d3c0 MDL-9629 Category edit page now supports creation of a new category for selected items or categories. 2007-06-05 00:39:01 +00:00
poltawski
2d9a41ee1f MDL-8080 Grade exceptions broken for teacher by invalid capability check.
Thanks to Paul Ortman for the patch. Merged from MOODLE_17_STABLE
2007-06-04 22:53:50 +00:00
nicolasconnault
de5284f26d MDL-9137 Almost finished the edit category page. The only remaining issue is some sort of endless loop starting in grade_category::set_as_parent. Big issue... 2007-06-01 08:01:47 +00:00
nicolasconnault
5fad506139 MDL-9629 Category edit page now implements delete, show/hide, lock/unlock, moveup/movedown and move actions. The edit icon is also shown but not yet implemented. 2007-06-01 04:02:37 +00:00
toyomoyo
83a021c10a adding some form headers to help read 2007-06-01 02:44:34 +00:00
nicolasconnault
88e794d6c8 MDL-9628 Move work on the category edit page 2007-05-31 08:57:05 +00:00
nicolasconnault
5bfa0d793a Implemented a test version of the gradebook category edit page, and developed the get_edit_tree method in grade_tree. Items can be successfully moved up and down, and a "move" button lets the user select a source element, then a destination box. All actions use POST. 2007-05-30 08:48:11 +00:00
nicolasconnault
de420c11c5 MDL-9317 Applying Petr's second patch 2007-05-29 00:56:44 +00:00
toyomoyo
3f8bcf7c72 grade import/export fixes to use forms lib 2007-05-24 08:57:36 +00:00
toyomoyo
ce34ed3a76 fix for MDL-9137, adding support for gradebook plugins for db, cron, events, permission structures etc 2007-05-24 02:16:31 +00:00
skodak
d46306de6a MDL-9848 eventslib improvements and cleanup 2007-05-22 10:26:29 +00:00
toyomoyo
f5f4967e7d some clean ups for gradebook import/export 2007-05-22 02:05:00 +00:00
toyomoyo
d961705032 bug fixes for gradebook import/export 2007-05-18 08:49:00 +00:00
toyomoyo
85e287deaa development code, missing GUI and formslib for second form 2007-05-17 08:55:29 +00:00
toyomoyo
2becf502b3 fixing footer 2007-05-17 08:53:56 +00:00
skodak
68d0c80c21 MDL-9761 Student's Gradebook view doesn't follow defaults establ;ished by the Instructor; patch by Jason Skinner; merged from MOODLE_18_STABLE 2007-05-16 20:25:12 +00:00
toyomoyo
985d1ee11b new grade book export plugins development 2007-05-16 08:21:46 +00:00
toyomoyo
a2422359a0 fixing grade exports 2007-05-15 08:49:49 +00:00
toyomoyo
7f999ccbdc adding csv plug in code, with no event handler 2007-05-14 09:24:09 +00:00
toyomoyo
1b07462560 added code to write back timestamp 2007-05-11 09:08:30 +00:00
toyomoyo
a216f661d6 grade export plugins 2007-05-10 09:29:58 +00:00
toyomoyo
f67e327e37 adding support for specific item ids and text feedbacks 2007-05-09 08:45:25 +00:00
toyomoyo
c10ddfb3c0 Adding gradebook base class and export plugins. Refactored from old gradebook. Untested code. 2007-05-08 08:59:41 +00:00