119 Commits

Author SHA1 Message Date
skodak
6391ebe7da MDL-11718 aggregated grades which depend on hidden grades are now hidden too; cleanup in user report 2007-10-17 09:45:14 +00:00
skodak
03cedd6283 MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-) 2007-10-10 12:19:27 +00:00
nicolasconnault
8ad36f4cc3 Added copyright notice 2007-10-10 06:34:20 +00:00
skodak
e072450699 MDL-11578 , MDL-11578 , MDL-11573 :
* renamed Preferences to "My report preferences"
* renamed Site defaults to "Report defaults"
* rename Change site defaults to "Change report defaults"
* reintroduced Inherit option to Grader preferences - Nicolas was right, it is not possible to implement preference overrides without it with our current get_pref inplementation
* new separate option in plugin selector "Course settings"
* moved displaytype, decimals and aggregation position to "Course settings"
* created new table grade_settings + related functions grade_get/set_preference()
* user report now uses grade_seq class instead of grade_item::fetch_all(); added preloading of grade items into grade_grade instances
* other minor bugfixing/cleanup/improvements

Please note that the Grader report preferences and its defaults must be resaved again - sorry.
2007-10-08 23:09:10 +00:00
skodak
4a3dfd9af1 MDL-11582 switch category item only if it is really there - forgot to add courseitem into condition 2007-10-04 09:00:29 +00:00
skodak
3e0e2436de MDL-11582 switch category item only if it is really there 2007-10-04 08:36:34 +00:00
skodak
e98871a2c2 MDL-11587 new grade_seq class similar to grade_tree but flat 2007-10-03 21:14:58 +00:00
skodak
9376f5a66a MDL-11583 fixed use of capability moodle/grade:manageletters - now works in plugin selector 2007-10-03 20:24:59 +00:00
skodak
284abb0925 MDL-11495 grade letter setting improvements:
* in_null for decimals defaults checks
* store letter settings only in database - no cfg settings
* separate configuration page for letters only - pluginselector+admin tree
* new capability to manage grade letters - similar to scales and outcomes
* added grade_letters db index
* grade letters related minor bugfixing
2007-09-28 20:12:43 +00:00
nicolasconnault
206f995349 Fixing OU report issues 2007-09-26 12:25:16 +00:00
skodak
9a9b501187 MDL-11422 fixed duplicate title attribute 2007-09-24 11:11:48 +00:00
skodak
3f2b0c8aba MDL-11363 merged tables grade_grades with grade_grades_text - it is now possible to define fields as required and optional
finally fixed formula validation in calculation edit form
2007-09-22 11:39:59 +00:00
nicolasconnault
dbdffd2c96 MDL-11340 Almost complete: Just need the "Add grade letter" button 2007-09-19 12:45:44 +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
skodak
caffc55a84 MDL-11082 big refactoring in grade export - export tracking and grade formatting still not finished 2007-08-31 18:42:50 +00:00
skodak
0f5660f721 MDL-11069 new graded_users_iterator - should later improve memory use + performance 2007-08-31 07:33:45 +00:00
nicolasconnault
0f78c4de3d MDL-11028 GUI complete, language strings complete, user key creation done. Validation is not yet coded. 2007-08-29 11:43:48 +00:00
nicolasconnault
3565ff92e4 MDL-10970 Someone was using
$locations = array('location1');
$locations += array('location2', 'location3', 'location4');

to save the hassle of doing one $locations[] = 'location1'; for each location.

But += doesn't add any entry if the key of the new array already exists in the original array. So, using my example, the resulting array would be:

$locations: array('location1', 'location3', 'location4');
2007-08-24 06:01:15 +00:00
nicolasconnault
33a34cd4d0 MDL-10875 Corrected bug in averaging plus a couple of typos 2007-08-20 07:29:05 +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
3cf6a6d5a4 MDL-10725 Fixed breadcrumb 2007-08-13 02:48:39 +00:00
nicolasconnault
c30fafbf16 MDL-9628 Added a bit of informational verbose to the hiddenuntil and locktime icons in the grader report. 2007-08-09 16:57:26 +00:00
nicolasconnault
384960dd68 MDL-9628 Simplified and improved the expanding/collapsing of categories. There are now three view types: full, aggregates only and grades only. 2007-08-09 16:41:39 +00:00
skodak
f60c61b1b2 improved hiding support in grade/ 2007-08-09 16:19:06 +00:00
skodak
fb0e357051 various locking improvements and fixes, cron locktime support stilll missing 2007-08-09 09:03:14 +00:00
nicolasconnault
d4795a0792 MDL-9628 When a timestamp is selected for locktime or hiddenuntil, the grader report now shows a new icon (lock or eye in front of a calendar), with a tooltip showing the selected date. Very useful :-) 2007-08-08 15:48:20 +00:00
skodak
aea4df411e MDL-10544 support for outcomes showing/hiding in grader report 2007-08-08 08:31:04 +00:00
skodak
27b1735bf9 adding more capability checks into grade edit form and grader - should be finished now; TODO: group access for teachers 2007-08-07 20:33:09 +00:00
skodak
d3c3da1b77 MDL-9628 non-existent grades can be locked/hidden/edited :-) 2007-08-07 08:30:25 +00:00
skodak
2b0f65e23c MDL-10223 module grades are now refreshed after unlocking 2007-08-06 15:18:54 +00:00
moodler
2a598439eb Change the default tab of outcomes page 2007-08-02 05:34:48 +00:00
skodak
9127bc5dbf outcome related fixes 2007-08-01 12:40:38 +00:00
nicolasconnault
826c5f8635 MDL-9628 Refactoring the building of navigation array for gradebook pages 2007-08-01 06:47:35 +00:00
moodler
9988d1b7a7 When editing old outcomes when outcomes are switched off, just treat them like an ordinary scale item 2007-08-01 04:50:39 +00:00
moodler
a2a136b8ad Hide some outcomes stuff when $CFG->enableoutcomes is off 2007-08-01 04:34:08 +00:00
skodak
042596946b tabbed Edit/Outcomes interface, link from course admin block, added manage outcomes capability, other cleanup 2007-07-31 09:10:35 +00:00
toyomoyo
014834e40b fixing print_grade_plugin_selector() to point to edit/courseoutcomes 2007-07-31 03:28:30 +00:00
skodak
173a9d21ea various grade outcomes and scales improvements, fixes, changes and refactoring
added new favoutcomes plugin settings page - to be used later, this replaces the grade_outcomes_grades table
admin settings - outcomes and scales both have settings page now
2007-07-30 22:56:45 +00:00
skodak
78ad5f3ff0 MDL-10544 placeholder for outcome edit forms grade/edit/outcome/
MDL-10650 scales code moved to grade/edit/scale/
refactoring in grade/edit/
2007-07-29 23:02:03 +00:00
skodak
f10fac9669 MDL-10544 basic UI for outcome item adding/editing implemented - todo: calculation support, lang strings, bugfixing...
whitespace cleanup
2007-07-25 22:12:17 +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
moodler
0c811aa77a Changing string from "select a plugin" whcih is developer specific 2007-07-24 16:29:18 +00:00
skodak
0a89e2a003 MDL-10579 fixed comment 2007-07-24 07:46:58 +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
skodak
0610812aca MDL-10438 inline docs added 2007-07-17 05:52:42 +00:00
skodak
3af29899bf MDL-10438 return tracking in grading forms; new grade plugin selector 2007-07-16 18:58:09 +00:00
toyomoyo
f115f8c858 adding some strings and checks for grade book import/export 2007-06-12 09:12:07 +00:00