3090 Commits

Author SHA1 Message Date
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
toyomoyo
076eede396 gradebook user report fix for total grade 2007-06-27 03:48:56 +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
f9016aefca Fixed some notices when there are no activities 2007-06-26 09:21:52 +00:00
moodler
8ace2060a8 Fixing a few notices when there are no users 2007-06-26 09:18:50 +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
toyomoyo
9c8157b170 fixing typo 2007-06-26 07:35:30 +00:00
toyomoyo
7f331f8914 some fixes for grader report 2007-06-26 07:32:31 +00:00
nicolasconnault
3969778b76 MDL-10210 MDL-10207 Tabs implemented. 2007-06-26 06:19:45 +00:00
nicolasconnault
b78bb4f7a0 MDL-10210 MDL-10207 Tabs implemented. 2007-06-25 09:37:26 +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
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