122 Commits

Author SHA1 Message Date
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
skodak
3f7ebaf5bd item and category edit forms minor improvements 2007-07-12 09:20:08 +00:00
toyomoyo
9c25957a13 fixing formslib usage and locked implementation 2007-07-12 08:48:02 +00:00
toyomoyo
15a11fe3aa adding a <br/> to offset the group selector's float left 2007-07-12 06:59:00 +00:00
toyomoyo
7e3c9767db grade edit form, and adding set_locktime for grade_grades and grade_item 2007-07-12 06:42:44 +00:00
nicolasconnault
474bad4698 MDL-9628 Enabling multiple feedback and grades update. Feedbacks now working, but grades don't (at least scales don't) 2007-07-11 16:54:11 +00:00
toyomoyo
2054475538 non-working edit_grade_form 2007-07-11 09:01:55 +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
toyomoyo
38b9e8a8ed moving some functions out to lib so they can be used in other reports 2007-07-11 05:07:39 +00:00