Commit graph

680 commits

Author SHA1 Message Date
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
e1d2692a73 fixed problem with quickgrading overriding nonexistent grades with no grade 2007-07-18 19:53:24 +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
8c5a416edd MDL-10478 Added category preference aggregationview. This one is linked with the more global preferences and $CFG. However, a category-specific preference needs implementing: grade_report_categorystate{$catid}, which equals GRADE_CATEGORY_EXPANDED or GRADE_CATEGORY_CONTRACTED. I've written a stub in grade/report/grader/lib.php around line 492 for pruning out the grade_tree according to these prefs.
We'll also need to implement the actions for the -/+ icons.
2007-07-18 14:54:35 +00:00
nicolasconnault
32b97bb24a MDL-10490 Letter type implemented 2007-07-18 11:34:55 +00:00
moodler
939b226a2b Fixed up help button texts MDL-9628 2007-07-18 09:07:50 +00:00
toyomoyo
5ea4345b72 fixing 2 typos 2007-07-18 08:39:50 +00:00
toyomoyo
3446013d45 MDL-10480, implement average grade selection 2007-07-18 08:03:38 +00:00
toyomoyo
1ad2f41253 negative grades might be used so use null check instead. might break other db so might need a sql_null() function or something similar 2007-07-18 06:21:55 +00:00
nicolasconnault
5e623a335f MDL-10345 Fixed bug that changed a null scale finalgrade to 1 due to passing through bounded_number(1, null, 3) 2007-07-18 05:17:45 +00:00
nicolasconnault
e7536c9222 MDL-10479 Done, but would be nice to middle-align the user names vertically. 2007-07-18 03:34:55 +00:00
nicolasconnault
eff97ae081 minor edit 2007-07-17 19:28:22 +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
501e0e346e MDL-10481 Elements added to form. item preferences not yet recognised by report. 2007-07-17 14:53:10 +00:00
moodler
7396696823 Moving simpletest to grade directory 2007-07-17 08:50:34 +00:00
nicolasconnault
2f61fc0ee6 MDL-10477 Implementing rangesdisplaytype, finishing off this task 2007-07-17 07:41:52 +00:00
skodak
d30c44814b MDL-10438 inline docs added, moved $gpr into grade class 2007-07-17 06:09:03 +00:00
nicolasconnault
32ec523e68 removed accidentally added backup file 2007-07-17 05:25:31 +00:00
nicolasconnault
bb384a8e29 MDL-10477 Mainly the percentage grade display type 2007-07-16 19:46:54 +00:00
skodak
3af29899bf MDL-10438 return tracking in grading forms; new grade plugin selector 2007-07-16 18:58:09 +00:00
nicolasconnault
02d1e2cfa9 MDL-9629 New setting and language strings. Also using constants from gradelib in settings.php and preferences_form.php for grader report. 2007-07-16 09:18:02 +00:00
toyomoyo
66b9da277c average class/group should not take non-graded students into consideration 2007-07-16 09:03:23 +00:00
toyomoyo
ccb3f9d984 MDL-10474, fixing division by 0 2007-07-16 07:14:40 +00:00
moodler
36e53792c5 Changed "Grand totals" to "averages" everywhere 2007-07-16 07:04:52 +00:00
moodler
fbb004324a SOme tidying upup of CSS MDL-9628 2007-07-16 06:24:09 +00:00
toyomoyo
622474db27 page param should not be in the baseurl for group selector, otherwise when you go to page x and switch groups you can end up being on a blank page with no paging navigation 2007-07-16 06:20:03 +00:00
moodler
6164921133 Changes "show scales" everywhere to "show ranges" 2007-07-16 06:17:45 +00:00
toyomoyo
e242040e3d putting a clear div 2007-07-16 06:10:50 +00:00
toyomoyo
ac04f85d82 fix for MDL-10345, use averages instead of totals 2007-07-16 06:01:19 +00:00
moodler
63d6efa23e Restored a glovbal declaration for SESSION (to make sortoder work again) 2007-07-16 05:56:52 +00:00
moodler
06954a036c Use a private CSS class for this table to be more flexible 2007-07-16 05:40:18 +00:00
nicolasconnault
f7998fbc55 MDL-9633 Added report class for user report 2007-07-16 04:09:00 +00:00
nicolasconnault
1a61400873 Optimising the grader report 2007-07-14 04:18:35 +00:00
nicolasconnault
1fdab481c2 MDL-9633 Refactored the index.php page into a child class of grade_report 2007-07-14 03:46:24 +00:00
nicolasconnault
388234f4c5 Optimising the grader report 2007-07-13 19:02:40 +00:00
nicolasconnault
18effef46b MDL-10414 Implemented tab indices (student_grades, then student_feedbacks, from left to right and top to bottom) 2007-07-13 11:24:13 +00:00
nicolasconnault
bd6c9ddb46 MDL-10286 Updated overlib.js (2 years diff!) and enabled overlib for HTML feedback format 2007-07-13 10:09:51 +00:00
skodak
938e00b6cb grade_tree minor cleanup - grades not included anymore; fixed categroy item position in grader report 2007-07-13 08:59:46 +00:00
nicolasconnault
4256a13437 MDL-10386 Quickfeedback and quickgrading fixed! It wasn't setting $needsupdate to true when the grade_grades didn't yet exist in DB. 2007-07-13 08:08:53 +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
e662a443e7 MDL-9628 Renamed edit_* to * and updated links to these files 2007-07-13 05:54:30 +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
skodak
79eabc2ab2 major grade editing fixes and improvements - grader form now knows if grade is editable; fixed broken quickgrading; feedback format is handled the same way as in the rest of moodle - automatically converted to FORMAT_HTML when editor enabled; fixed calculation of grades that was breaking locking 2007-07-12 22:31:20 +00:00
skodak
920a0fb2eb MDL-10437 moved editing forms to grade/edit/ directory - these should be shared by all reports, there were too many files in grader directory anyway 2007-07-12 19:40:28 +00:00
skodak
95d6df779c MDL-10364 calcualtion icon fix 2007-07-12 17:46:38 +00:00
nicolasconnault
e5161d0cdd MDL-10386 More refactoring (grade_report_grader->get_user_pref($pref_name)) 2007-07-12 17:42:23 +00:00
skodak
9d452f139f MDL-10364 calcualtion validation improvements 2007-07-12 17:36:18 +00:00
skodak
9029762c3c MDL-10364 calcualtion validation improvements 2007-07-12 17:23:29 +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