Commit graph

130 commits

Author SHA1 Message Date
skodak
fd01125fc2 MDL-17547 added missing param type; merged from MOODLE_19_STABLE 2008-12-07 21:32:01 +00:00
tjhunt
ac324e05ea MDL-16675 change callers to require_js to take advantage of the fact that callers no longer have to add $CFG->wwwroot themselves. 2008-09-25 06:40:52 +00:00
tjhunt
7264519e3f MDL-16583 - Clean up some fo the places we link to javascript files, to use require_js 2008-09-23 07:00:59 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
nicolasconnault
5c75a0a3b4 MDL-14967 DB upgrades. All done. Just bug fixing now ;) 2008-06-03 16:10:57 +00:00
nicolasconnault
d24832f9af MDL-14967 DB upgrades. Not finished yet. 2008-06-02 16:06:33 +00:00
nicolasconnault
b244b9b776 MDL-14163 YUI implementation complete, new grader_report preference and admin setting for enabling ajax. 2008-04-18 19:30:28 +00:00
nicolasconnault
2ca093fa32 MDL-11924 Changed setting quickfeedback to showquickfeedback and added the toggle accordingly. Merging from MOODLE_19_STABLE 2008-02-27 17:06:06 +00:00
tjhunt
36ffa395f9 MDL-12517 - fix typo in the last commit. 2007-12-18 14:57:03 +00:00
skodak
7567447034 MDL-12517 reverting the moving of data processign, returning array of warnings instead from function; merged from MOODLE_19_STABLE 2007-12-18 13:53:18 +00:00
tjhunt
0cfabab671 MDL-12517 - Further refinement. Move the processing to after print_header, so any notices do not break XHTML strict. Merged from MOODLE_19_STABLE. 2007-12-13 14:26:14 +00:00
nicolasconnault
f9124bd22f MDL-11835 Merging from 1.9 2007-12-06 09:45:58 +00:00
toyomoyo
cc95d22fd8 MDL-12025, enable row markings via javascript to keep track of current row 2007-11-07 07:46:33 +00:00
skodak
ced5ee5921 MDL-11966 implemented dategraded and datesubmitted, tweaked altering of grades depending in hidden grades
MDL-11974 improved gradebook CSS
2007-11-01 08:25:05 +00:00
skodak
d297269d79 2007-10-19 08:51:52 +00:00
nicolasconnault
a5b8be622c MDL-11275 added (submissions). Also fixed :
Issue:
    Teachers can edit grader report preferences (including switches for quickgrading and
    quickfeedback), but do not have access to the "Turn editing on/off" button, so they
    can't do quickgrading.
Solutions:
    1.Decouple the quickgrading and quickfeedback modes from the editing mode,
        and turn them on/off through the preferences page. New capability: moodle/grade:edit
        * preferences: don't show quickgrading if no capability grade:edit
        * If quickgrading is switched off as a preference and user doesn't have manage cap, show edit icons around grades when in editing mode
2007-09-17 17:31:48 +00:00
nicolasconnault
09cef06a10 MDL-10873 If both site default and user pref are empty for studentsperpage, we assume that paging is not wanted, so all paging functionality is switched off in the report. 2007-08-16 18:09:49 +00:00
nicolasconnault
66ef0471ae MDL-10838 Applied standard table classes and scopes to tr, th and tds of the grader report. Also fixed a bug with the display of grand averages when a group is selected and the average column is set to aggregate all grades. 2007-08-15 11:15:39 +00:00
nicolasconnault
fafe1cd23e MDL-9628 Reverting to using gradebook plugin module names in navigation 2007-08-01 07:41:13 +00:00
nicolasconnault
826c5f8635 MDL-9628 Refactoring the building of navigation array for gradebook pages 2007-08-01 06:47:35 +00:00
nicolasconnault
438a5aa9ad MDL-9628 Moving Basic support for compact view from report class to grade_category class, internal to the grade_tree recursive construction 2007-07-25 15:04:31 +00:00
nicolasconnault
48b5d8f38b MDL-9628 Basic support for compact view 2007-07-25 09:33:08 +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
65dd61bda6 MDL-10579 Implement capability checks in grade import/export/report/edit pages - work in progress
refactoring - reports now use real index.php
2007-07-23 22:20:07 +00:00
moodler
e2008be287 Various language string fixes for grade reports 2007-07-23 08:13:59 +00:00
nicolasconnault
5b508a08ae MDL-10345 Refactored grade_report_grader::get_groupavghtml() and grade_report_grader::get_gradeavghtml() into one method: grade_report_grader::get_avghtml($grouponly=false) 2007-07-20 05:53:55 +00:00
skodak
d14ae855a2 MDL-10524 fixed aggregation for course item + other minor improvements 2007-07-19 17:36:36 +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
skodak
3af29899bf MDL-10438 return tracking in grading forms; new grade plugin selector 2007-07-16 18:58:09 +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
06954a036c Use a private CSS class for this table to be more flexible 2007-07-16 05:40:18 +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
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
e5161d0cdd MDL-10386 More refactoring (grade_report_grader->get_user_pref($pref_name)) 2007-07-12 17:42:23 +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
toyomoyo
15a11fe3aa adding a <br/> to offset the group selector's float left 2007-07-12 06:59:00 +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
nicolasconnault
cd20e11c28 minor fix 2007-07-10 18:41:28 +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
toyomoyo
de7d838841 MDL-10385, use langconfig specific decimal point and thousand separator when printing grades. Grade validation for grademin/grademax range 2007-07-10 09:01:19 +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
d490d87c22 MDL-10368 Finished implementation of toggle actions, and added icons near each toggle. Also added a few css rules for display. 2007-07-09 14:54:32 +00:00
nicolasconnault
73a5d828ce MDL-10368 Added quick toggles 2007-07-09 13:24:36 +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