442 Commits

Author SHA1 Message Date
skodak
8fafbc0ea3 MDL-11296 fixed incorrect detection of duplicate scales in course 2007-09-15 21:17:11 +00:00
skodak
31314c1270 fixed wrong $options - this->keepdrop_options used instead 2007-09-15 13:23:28 +00:00
nicolasconnault
e171963b3e MDL-11278 Implementation is complete, but grade_categories records in DB are not affected by global settings. This way, when global settings are switched back to "Do not Force", the original category settings will be in place. 2007-09-14 17:21:30 +00:00
toyomoyo
00374cc5f0 MDL-11274, hide grades in the grader report if the current grades has no viewhidden capability 2007-09-14 08:43:10 +00:00
nicolasconnault
098042baea Issue:
The number of submissions in the Group average and Course average calculations
    should be shown in brackets. (submissions) should be added after the Group average
    and Course average labels.
Solution:
    new grader report preference (Display number of grades in average cells).
2007-09-14 06:57:30 +00:00
moodler
2c7a9bd2af Fix the location of the link to the site-wide grading preferences 2007-09-14 06:51:57 +00:00
moodler
6308b91c13 Changing string for Overall average (was logged under MDL-11233 even though that's not strictly the correct bug) 2007-09-14 05:45:38 +00:00
nicolasconnault
aae94377b7 Issue:
Only students should appear in the tutor report, however
    sorting by Surname results in the tutor being included, which we don't want.
Solution:
    Confirmed as a bug and filed in tracker: http://tracker.moodle.org/browse/MDL-11233

Issue:
    Clicking on Hide Groups reveals the results for all students
    and all tutors and course staff appear. A tutor should only be able to see
    the results for their tutor group
Solution:
    Prevent tutors from ever seeing student grades from other groups: use existing capabilities
        moodle/site:accessallgroups = off AND moodle/grade:viewall = on

Issue:
    Preferences tab should not be available to users without gradereport/grader:manage capability
Solution:
    Hide the tab completely

Issue:
    Apply different style to average cells
Solution:
    Add css classes to the different average cells, and write a default style in css file.

Issue:
    The Average under group average might be better labelled Course average.
Solution:
    Rename to "Complete average"
2007-09-13 15:11:16 +00:00
nicolasconnault
c421ad4b2e MDL-11233 Corrected typo in grader report lib, and added a second sort parameter for lastname and firstname sorts, to add consistency to result sets. Non-students no longer appear in the list 2007-09-13 13:44:35 +00:00
nicolasconnault
83d387c290 MDL-11238 Removed reference to $grade_grade->feedback and replaced with grade_grade_text->feedback. Also instantiated the $grade_grade object properly instead of just get_record(), so that its set_hidden() method could be accessible. 2007-09-13 04:02:55 +00:00
nicolasconnault
b1b6ebf437 Replacing the capability gradereport/grader:manage with moodle/grade:manage 2007-09-12 15:02:06 +00:00
skodak
b2bc96d10b MDL-7380 added new groups API functions for use in course related pages (very similar to functions for activities) + fixed grade code to use these new functions 2007-09-06 10:19:24 +00:00
skodak
c2efb50142 MDL-11130 added aggregation inside all subcategories + added graded/all aggregation option 2007-09-05 19:15:21 +00:00
toyomoyo
6ef84f6f48 some fixes for user report 2007-09-05 04:39:07 +00:00
skodak
eb8599199e MDL-11069 reimplemented grade export flag handling 2007-09-04 21:56:30 +00:00
moodler
d3d0e9a43e Fix a string 2007-09-03 02:56:07 +00:00
skodak
9c8d38fa97 MDL-11092 events are not used for changed raw grades anymore + minor cleanup in handling of raw grades (now used only for modules or other external plugins that produce grades) 2007-08-31 22:42:05 +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
nicolasconnault
76ca1ff134 MDL-11075 Now saving to temp file, then outputting using filelib's readfile_chunked() method. Also cleaned up whitespace in filelib.php (blame vim!). 2007-08-31 13:54:13 +00:00
skodak
1e12457560 adding current groupid to grade_export class - soon to be used in plugins 2007-08-31 12:22:58 +00:00
toyomoyo
fc69d5577a MDL-10933, only 1 manual grade item can be added 2007-08-31 08:41:04 +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
0e2d708efc MDL-11034 Implemented the global enablepublishing and refactored the handling of userkey for each export plugin. Also added a dump.php file in each plugin directory, although this could easily be refactored into 1 file in the parent folder, pointing to each plugin's export.php file for output differences. 2007-08-31 05:55:30 +00:00
skodak
11745964a5 MDL-11069 grade export refactoring + removing internally calculated totals (we have already various totals in categories and calculations can be used too for that) 2007-08-30 15:03:51 +00:00
skodak
0bfbab47e6 minor refactoring in grade export lib - part 2 2007-08-30 08:26:04 +00:00
skodak
350770f466 minor refactoring in grade export lib 2007-08-30 08:24:07 +00:00
skodak
c901b7a652 fixing regressions in grade export 2007-08-30 08:19:44 +00:00
nicolasconnault
74af2ea5ef MDL-10984 Adding publishing switch to txt and ods export formats 2007-08-30 07:44:42 +00:00
moodler
91e7ad594b Tidy up the link display page a bit 2007-08-30 07:12:03 +00:00
skodak
ca82569b5b grade export form refactoring 2007-08-29 16:47:16 +00:00
skodak
d93d67b7ac MDL-11051 grade export - do not use quickforms elements directly 2007-08-29 13:00:10 +00:00
skodak
a5bc4e6ef5 MDL-11050 grade export must use formslib properly - no data_submitted()! 2007-08-29 12:38:23 +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
toyomoyo
f8ae1f86c5 MDL-10963, group average code broken, count_ungraded is ignoring groups altogether. 2007-08-29 04:05:56 +00:00
skodak
d575afb836 MDL-11027 user key manager for grade exports - adding forgotten ownership test 2007-08-28 21:57:34 +00:00
skodak
eed8e3054b MDL-11027 user key manager for grade exports 2007-08-28 21:54:18 +00:00
skodak
61c6071f40 MDL-10984 support for user private keys when accession scripts without normal sessions 2007-08-28 08:29:40 +00:00
nicolasconnault
97599c0a38 MDL-10984 Added 3 elements to the Grade Export GUIs, and a stub for action to be taken when the 'publish' checkbox is ticked (for xml export only ATM). 2007-08-27 12:23:50 +00:00
toyomoyo
3c334a7a81 hide hidden grades from users with no capability in user report 2007-08-24 07:14:23 +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
toyomoyo
b01d6b4cfa rounding to the correct decimal places 2007-08-24 05:40:28 +00:00
toyomoyo
4c8d9481df display a grade item's category 2007-08-24 05:02:51 +00:00
toyomoyo
157ed1d1e5 links gradeitems to activities 2007-08-24 04:55:54 +00:00
Martin Langhoff
13534ef716 cvsimport fixups 2007-08-29 13:10:11 +12:00
nicolasconnault
33a34cd4d0 MDL-10875 Corrected bug in averaging plus a couple of typos 2007-08-20 07:29:05 +00:00
toyomoyo
d8c684de7e replacing round() with number_format (for a number betweem 0-100), because round does not respect decimal places, e.g. round(90.50, 2) = 90.5 2007-08-17 06:28:12 +00:00
toyomoyo
54c7e5e064 removing old broken sql 2007-08-17 06:15:35 +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
4f8783fe91 MDL-10873 Now deleting the preference from user_preferences if the value submitted is empty. The grader report will then revert to the site default 2007-08-16 17:53:08 +00:00
skodak
2c386f82e5 MDL-10383 - deprecated get_groups(), user_group() and ismember() 2007-08-15 20:21:01 +00:00