nicolasconnault
9aa1e44853
MDL-9268
2007-07-08 14:51:41 +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
nicolasconnault
d2e87c0c39
MDL-10364 Added calculation icon, changed customdata to set_data for feedback form.
2007-07-06 12:41:33 +00:00
nicolasconnault
657e52d4da
MDL-10286 Implementing the view feedback page. Added links to the user, module and scale when applicable.
2007-07-05 07:01:48 +00:00
nicolasconnault
13b1072464
More language strings, minor edits.
2007-07-03 17:54:56 +00:00
skodak
739196ba10
MDL-10224 fixing some more regressions in grade reports; adding proper CSS; more fixes and improvements
2007-07-01 19:45:13 +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
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
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
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
skodak
f89526e044
fixed typo
2007-06-25 08:13:54 +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
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
skodak
f70152b7bb
MDL-10104 grade_create_item() in gradelib.php was obsoleted by grade_update() function which does the creation and update of grade_items
2007-06-12 20:19:38 +00:00
skodak
d185c3ee5d
MDL-9516 improved support for activities with legacy grading
2007-06-12 10:33:52 +00:00
skodak
e648f890ef
grade_update now supports more grade_item properties
2007-06-11 10:55:31 +00:00
skodak
34e67f76a8
MDL-10076 finalize grade_is_locked() and implement grade item locking in assignment
2007-06-10 20:34:07 +00:00
skodak
4cf1b9be9d
MDL-10062 - changes in raw grade handling of feedback and information
...
improved grade_update() function
2007-06-09 14:16:20 +00:00
skodak
c5b5f18dc1
MDL-9516 update_grade() inline docs
2007-06-07 08:34:04 +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
skodak
b919d68049
fixed mnod typo
2007-06-06 07:59:55 +00:00
skodak
612607bd47
MDL-9516 new central grading function update_grade(); to be improved/tested more tomorrow
2007-06-05 22:58:37 +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
de420c11c5
MDL-9317 Applying Petr's second patch
2007-05-29 00:56:44 +00:00
skodak
7bddd4b787
MDL-9632; MDL-9545 basic assignment grading support - event triggers implemented + some minor cleanup
2007-05-28 08:55:15 +00:00
nicolasconnault
d990776605
MDL-9137 Applied parts of Petr's patch on the gradebook objects. Unit tests unaffected.
2007-05-28 02:05:21 +00:00
toyomoyo
3abe994563
fixing a typo
2007-05-24 03:07:27 +00:00
toyomoyo
5283e9598d
correcting handling of scales
2007-05-23 07:26:38 +00:00
toyomoyo
9d5c91b111
fixing scale for grade_grab_grades()
2007-05-23 06:25:13 +00:00
skodak
d46306de6a
MDL-9848 eventslib improvements and cleanup
2007-05-22 10:26:29 +00:00
toyomoyo
9fffb69162
MDL-8877, specify time of manual enrolments and related improvements for changing enrolment period from user/index.php. Thanks Andrei!
2007-05-22 02:08:22 +00:00
nicolasconnault
8ff4550af2
MDL-9506 Refactored some of the category methods into grade_tree, same for unit tests.
2007-05-17 02:22:32 +00:00
toyomoyo
85ac09edc6
taking out a debugging line
2007-05-15 03:39:20 +00:00
toyomoyo
9492291c82
some changes to events to make grade_added work
2007-05-15 03:19:01 +00:00
moodler
bfe7297e47
First rough cut at a grade_handler for Yu to continue with
2007-05-14 09:38:41 +00:00
nicolasconnault
096858ffcf
MDL-9506 Finally cracked the category aggregation. However, more thorough unit tests need to be written, with exact expectations instead of ranges, as currently used. All unit tests pass.
2007-05-14 04:14:22 +00:00
nicolasconnault
2df712352d
MDL-9506 Almost completed category aggregation, including generation of raw and final grades held by these categories. Only a few small glitches remain, that cause these grades not to be generated properly. This is the last critical element of the gradebook API, so I'm looking forward to finishing it :-)
2007-05-11 08:46:34 +00:00
nicolasconnault
6527197b4e
MDL-9506 Unit test tables are now created and emptied using XMLDB. raw.gradescale and final.gradescale have been removed in favour of a single gradevalue. Scale value is no longer rounded until moment of display. A number of other changes which you can look at by browsing the diff :-)
2007-05-09 07:50:28 +00:00
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