431 Commits

Author SHA1 Message Date
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
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
7d7029f57d MDL-9137 Changed course names to links to the user reports for each course, and changed grade to rounded percentage. 2007-08-15 07:19:20 +00:00
nicolasconnault
92df185d85 MDL-10837 Added the export_letters checkbox to the txt export form (it was the only one overriding the grade_export form) 2007-08-15 06:40:55 +00:00
toyomoyo
8c40e0919d fixing grader report paging bar when groups are present 2007-08-15 05:47:34 +00:00
nicolasconnault
89f33581ba MDL-9628 At the suggestion of Tim Hunt, interchanged the position of grade letter select elements with percentage selectors, in the grader report preferences form. 2007-08-14 11:54:44 +00:00
nicolasconnault
4ccb300e63 MDL-10829 Help page for the calculation field and interface 2007-08-14 08:30:10 +00:00
nicolasconnault
b31a9f3dbb MDL-10829 Added get_grade_item() to the grade_item class, for cases when we don't whether an object is a category or a grade_item. The new interface for viewing and adding idnumbers (no editing) is 99% finished. Help strings still to do. 2007-08-14 06:05:07 +00:00
toyomoyo
ab3444d79d fixed a warning when group members have no grades 2007-08-14 02:13:08 +00:00
nicolasconnault
d638075d2a Fixed a little typo 2007-08-13 18:35:28 +00:00
toyomoyo
0da010f792 grade items in xml export should not be checkable if they have no idnumbers 2007-08-13 09:29:12 +00:00
toyomoyo
f6eb15ade1 adding preview rows for export 2007-08-13 08:50:17 +00:00