87 Commits

Author SHA1 Message Date
skodak
bbadce5351 fixed groups property typo; merged from MOODLE_19_STABLE 2008-03-01 16:20:30 +00:00
skodak
b9f49659b6 MDL-12822 removing some unused grade functions (obsoleted by format grade function), renaming PUBLIC API to activity communication API and adding new querylib.php with useful functions (requested by other devs); merged from MOODLE_19_STABLE 2008-01-09 18:19:42 +00:00
skodak
dde8e5488b MDL-12659 fixed warning; merged from MOODLE_19_STABLE 2007-12-20 09:01:44 +00:00
skodak
6cc3e350d4 MDL-11966 fixed typo in grader report causing fatal errors
MDL-11993 refactored code for item headers and icons
2007-11-01 11:42:31 +00:00
skodak
28bcbc3868 added groups param to get_numusers() - to be used in oureport; might be handy elsewhere too 2007-10-27 22:05:58 +00:00
toyomoyo
548bf94678 merged fix for MDL-11717, adding dimmed_text a, to dim links as well 2007-10-15 02:08:03 +00:00
toyomoyo
c1d0d07eff merged fix for MDL-11717, dimmed_text class for hidden grade items in grader report 2007-10-12 07:18:41 +00:00
nicolasconnault
8ad36f4cc3 Added copyright notice 2007-10-10 06:34:20 +00:00
toyomoyo
1b39b03a84 MDL-11616, adding activity link back for hidden grade items 2007-10-08 02:34:04 +00:00
skodak
4f30c61dc8 MDL-11599 missing return statement 2007-10-04 17:09:34 +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
toyomoyo
0893aa30e8 when no gradebook roles is set, there are lots of sql breakages so we should check gradebookroles first 2007-09-27 02:29:46 +00:00
nicolasconnault
41f22daa71 MDL-11353 Completed the implementation. This included a new method in grade_item: get_displaytype(), since that value could be set to default, and we must then look up to course, then site values. And the get_letter() method in grade_grade has been modified to first check the grade_letters table. All works like a dream! 2007-09-19 15:37:46 +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
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
toyomoyo
8c40e0919d fixing grader report paging bar when groups are present 2007-08-15 05:47:34 +00:00
skodak
76317c73a2 MDL-10791 improve handling of localised floating point numbers in moodle; replaced/fixed some float_format() that were used instead of round(); expect some more patches soon 2007-08-10 15:00:35 +00:00
nicolasconnault
859c72599f MDL-9628 Fixed sorting 2007-08-06 08:10:37 +00:00
nicolasconnault
ca145cc84e MDL-9628 Removed superfluous & in URL (part of $report->baseurl) and reversed the default sortitem order from ASC to DESC (highest grade first). 2007-08-06 06:07:23 +00:00
nicolasconnault
1815b45c1b MDL-10676 Added linking activity icons to grader report headers, based on user preference /config setting. 2007-08-01 14:52:14 +00:00
nicolasconnault
2e3987a935 MDL-10674 and MDL-10675 finished 2007-08-01 14:08:50 +00:00
skodak
4faf5f99be MDL-10478 reworked collapse/expand for grade categories 2007-07-25 19:57:47 +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
skodak
2cc773f5fa MDL-10579 implemented capability checks in grader report, minor refactoring, whitespace cleanup 2007-07-24 21:20:29 +00:00
nicolasconnault
90d3960c6d MDL-9633 Fixed ranking in user report. Also enabled group mode on/off to alter total users. This required a refactoring of the grouping code into grade_report abstract class. 2007-07-20 09:34:35 +00:00
nicolasconnault
d5f0aa0196 MDL-9628 Fixed typos and added language strings. Corrected a bug that prevented a decimalpoints of 0 from being used (empty($decimalpoints)) -> is_null 2007-07-20 07:31:13 +00:00
nicolasconnault
8c5a416edd MDL-10478 Added category preference aggregationview. This one is linked with the more global preferences and $CFG. However, a category-specific preference needs implementing: grade_report_categorystate{$catid}, which equals GRADE_CATEGORY_EXPANDED or GRADE_CATEGORY_CONTRACTED. I've written a stub in grade/report/grader/lib.php around line 492 for pruning out the grade_tree according to these prefs.
We'll also need to implement the actions for the -/+ icons.
2007-07-18 14:54:35 +00:00
nicolasconnault
32b97bb24a MDL-10490 Letter type implemented 2007-07-18 11:34:55 +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
skodak
d30c44814b MDL-10438 inline docs added, moved $gpr into grade class 2007-07-17 06:09:03 +00:00
nicolasconnault
bb384a8e29 MDL-10477 Mainly the percentage grade display type 2007-07-16 19:46:54 +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
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
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
toyomoyo
38b9e8a8ed moving some functions out to lib so they can be used in other reports 2007-07-11 05:07:39 +00:00