150 Commits

Author SHA1 Message Date
skodak
fed7cdc9c4 hmm, now it should be final 2007-08-09 12:45:36 +00:00
skodak
1f4a032092 fixed minor problems in prev commit 2007-08-09 11:10:13 +00:00
skodak
26101be8e0 improved grade locking cron 2007-08-09 10:07:47 +00:00
skodak
2650c51ef4 locktime cron support - not much efficient though :-( 2007-08-09 09:38:14 +00:00
skodak
fb0e357051 various locking improvements and fixes, cron locktime support stilll missing 2007-08-09 09:03:14 +00:00
skodak
e46f4d110d MDL-10549 fixed outcoems appearing in assingment when not used 2007-08-07 07:25:06 +00:00
skodak
2b0f65e23c MDL-10223 module grades are now refreshed after unlocking 2007-08-06 15:18:54 +00:00
skodak
f615fbaba0 MDL-10711 adding deleting of grade data when deleting module or course 2007-08-03 19:25:22 +00:00
skodak
602433133e MDL-10105 idnumber uniqueness tested before insert in UI now - both modedit and item edit pages 2007-08-02 10:38:18 +00:00
skodak
11a149995e MDL-10364 improved calculation form 2007-08-01 21:48:10 +00:00
skodak
3a5ae6602b MDL-10544 basic support for outcomes grading in modules - implemented in assignment popup grading (TODO: fix html and css there) 2007-07-31 22:56:29 +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
skodak
2cc773f5fa MDL-10579 implemented capability checks in grader report, minor refactoring, whitespace cleanup 2007-07-24 21:20:29 +00:00
skodak
7a6b7acf76 MDL-10579 more capability checks in grades code + refactoring of grade_tree 2007-07-24 07:45:15 +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
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
d14ae855a2 MDL-10524 fixed aggregation for course item + other minor improvements 2007-07-19 17:36:36 +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
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
nicolasconnault
32b97bb24a MDL-10490 Letter type implemented 2007-07-18 11:34:55 +00:00
nicolasconnault
db4c796818 MDL-9628 Refactored display "Raw" string into "Real" to avoid confusion with raw vs final grades 2007-07-17 19:04:50 +00:00
nicolasconnault
e50ce569d9 MDL-10481
Two new preferences: averagesdecimalpoints and rangesdecimalpoints
Two new constants: GRADE_REPORT_PREFERENCE_INHERIT and GRADE_REPORT_PREFERENCE_DEFAULT with string values
removed GRADE_REPORT_GRADE_DISPLAY_TYPE_INHERIT in favour of the above
Added a number of language strings.
2007-07-17 18:46:21 +00:00
nicolasconnault
bb384a8e29 MDL-10477 Mainly the percentage grade display type 2007-07-16 19:46:54 +00:00
skodak
fb46b5b6ef fixed == typo, thanks Nicolas and Yu 2007-07-13 07:51:10 +00:00
nicolasconnault
eea6690ac0 MDL-9628 Refactored variables and method from grader_report into grade/report/lib.php, and renamed grade_report.php to grade/report/grader/lib.php. Updated links to these files. 2007-07-13 07:05:04 +00:00
nicolasconnault
8ba894e049 renaming constant 2007-07-13 05:41:04 +00:00
nicolasconnault
936f135023 MDL-9628 New constants in gradelib.php: GRADE_EDIT_URL and GRADE_EDIT_DIR
Also renamed $report->get_user_pref() to $report->get_pref() , because the returned preference may come from $CFG if it isn't defined as a user preference.
2007-07-13 05:26:45 +00:00
nicolasconnault
4ba9941c4b MDL-10386 Refactored the grader report file (index.php), and extracted the grade_report_grader class out of it. The index file now only calls upon the class' main methods. Certain elements and code blocks in the class can be abstracted for other reports (such as the paging, sorting arrows and several general purpose variables). 2007-07-12 16:36:38 +00:00
nicolasconnault
6e30bd442d MDL-10392 updated links to edit_grade form, corrected the loop for table rows, which only initialised the $element object at the end of the loop
MDL-10211  Removed showfeedback preference
MDL-10286 Changed tooltip so that it surrounds the grade in a span when edit mode is off, and surrounds the edit icon otherwise
MDL-10287 Deleted edit_feedback and edit_feedback files and links to this form
MDL-10368 Removed show/hide feedback toggle
2007-07-11 07:30:04 +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
nicolasconnault
ce0c946a1f MDL-10386
- Renamed grade_report_shownotes preference to grade_report_showfeedback
- Added grade_report_quickgrading and grade_report_quickfeedback preferences
- Re-organised the grade_get_icons() function: The icons are all prepared first,
    then the preferences and conditions are applied to the selection of icons.
    This allows for a third $icons parameter, an array of icon names, which
    explicitly sets which icons should be returned by the function, regardless
    of preferences and options.
- Identified and fixed MDL-10391 bug with updating boolean user preferences (advcheckbox used)
2007-07-09 19:59:45 +00:00
nicolasconnault
27626e7147 MDL-9268 Removing "turn feedback on" button in favour of the new user/cfg preference grade_report_shownotes; Re-displaying the calculation icons 2007-07-09 11:58:24 +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
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