272 Commits

Author SHA1 Message Date
skodak
26ed030543 MDL-11718 course settings for reports - for now only user report (rank and showing of hidden items) 2007-10-27 15:33:43 +00:00
skodak
57068674c6 MDL-11718 grader report now does not show column totals if user does not have view hidden grades capability because we can not calculate the totals depending on altered aggregates 2007-10-27 13:13:47 +00:00
skodak
4c8893ed88 MDL-11718 fixed altered aggregation of overridden and locked grades + some speedup and corrections 2007-10-21 13:22:07 +00:00
skodak
029735054a MDL-11859 student rank and showing of hidden grade items are now configurable + fixed some incorrect include_once 2007-10-21 12:56:19 +00:00
skodak
d297269d79 2007-10-19 08:51:52 +00:00
skodak
3b34f698b5 userid must be set in new grade too 2007-10-18 10:08:26 +00:00
toyomoyo
478f4322fa grade_grade does not have itemid initialized in grader report 2007-10-18 07:09:31 +00:00
skodak
b89a70ce8a MDL-11718 aggregated grades which depend on hidden grades are now hidden too + cleanup in grader report 2007-10-17 20:38:52 +00:00
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
toyomoyo
9a10e2d8e9 MDL-11679, merged fix grade overview report should only show 'mycourses' 2007-10-16 05:35:24 +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
skodak
f2e4a0818a preparation for 1.9 beta 2 - setting correct requires in mods and plugins 2007-10-10 16:09:17 +00:00
nicolasconnault
8ad36f4cc3 Added copyright notice 2007-10-10 06:34:20 +00:00
nicolasconnault
b7064779f5 Updated copyright notice in header 2007-10-10 05:25:14 +00:00
skodak
d763511fdd inherit by default decimal points in ranges and averages on grader report 2007-10-09 09:29:45 +00:00
moodler
dff9d94d6e Added CSS classes to totals columns (cat and course) so that styles can be applied.
Made them bold by default in standard anc custom_corners.

MDL-11666
2007-10-09 09:16:44 +00:00
toyomoyo
b11d9a9139 MDL-11665, users with no grade:viewhidden capability gets a wrong upgrade count because after deletion of a grade, the grade can be NULL and not hidden at the same time 2007-10-09 05:43:35 +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
nicolasconnault
e699389e47 Creating course grade_category and course grade_item when not yet created and overview report is accessed 2007-10-08 09:54:51 +00:00
nicolasconnault
d0b83b0033 Making the overview report viewable by student role by default 2007-10-08 09:53:43 +00:00
moodler
4354a3e563 Some fixes to make preferences work correctly (if not set then they are 0) and so now ranges and averages show correctly on grader report when these are set to defaults in preferences MDL-11618 2007-10-08 07:26:29 +00:00
moodler
d9c1a97188 Cleaner saving of grader report prefs 2007-10-08 07:11:22 +00:00
moodler
4baf254f5a Re-ordered some preferences to be a bit more logical 2007-10-08 06:55:34 +00:00
toyomoyo
1b39b03a84 MDL-11616, adding activity link back for hidden grade items 2007-10-08 02:34:04 +00:00
skodak
d622930b39 MDL-11618 removed the inherit override from decimals and gradetype used on grader report preferences + several bug fixes + settings improvements 2007-10-07 18:15:57 +00:00
skodak
bb49f77b84 fixed whitespace 2007-10-05 14:31:57 +00:00
skodak
0dba6cb2c5 MDL-11576 grader report - if user can not see hidden grades they are treated as NULLs and column totals 2007-10-05 09:47:31 +00:00
nicolasconnault
323956abd9 MDL-11519 Commented out the Ajax option 2007-10-05 05:37:55 +00:00
skodak
4f30c61dc8 MDL-11599 missing return statement 2007-10-04 17:09:34 +00:00
nicolasconnault
3126103b74 Re-enabling inherit options for range and average rows in grader report 2007-10-04 15:07:08 +00:00
nicolasconnault
78a2d9f05f Re-enabling inherit options for range and average rows in grader report 2007-10-04 09:30:16 +00:00
nicolasconnault
5961dbfb10 MDL-11576 Added the groupsql clause to has_hidden_grades 2007-10-04 08:16:13 +00:00
nicolasconnault
6df5b04ec7 MDL-11576 New grade_item method has_hidden_grades(), which returns a simple count of hidden grades for the item. 2007-10-04 08:02:00 +00:00
nicolasconnault
a7c3671a92 MDL-11581 Implemented gradedisplaytype in user reports 2007-10-04 07:02:44 +00:00
skodak
8dd5c1ee2f MDL-11585 false is not allowed default in admin_setting_configselect constructor 2007-10-03 20:02:12 +00:00
skodak
0e4da9e34f fixed context parameter in has_capability() call 2007-10-03 14:16:04 +00:00
nicolasconnault
ece966f06e MDL-11482 Resolved the sum icon issue (added a new x-bar icon) and resolved a dependency problem in moodlelib 2007-10-03 12:22:25 +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
e9096dc2ca MDL-11480 Reviewed, tested, and pplied Petr's patch. 2007-09-28 07:55:51 +00:00
toyomoyo
e5ea84faba MDL-11478, fixing a notice 2007-09-28 01:53:45 +00:00
nicolasconnault
9fa46707f3 MDL-11456 the .grade-report-grader table {} style was cascading down to the popups (which use tables, alas...), so I created a number of css classes which now control color, font etc for caption and feedback cells of the popup. 2007-09-27 18:00:25 +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
d32100a522 Fixing OU report issues 2007-09-25 19:32:29 +00:00
nicolasconnault
31a6c06c46 MDL-11433 Implemented grade_items.decimals instead of user preference in grader report. 2007-09-25 14:40:49 +00:00
nicolasconnault
1796708d81 Replacing GRADE_REPORT_GRADE_DISPLAY_TYPE... by GRADE_DISPLAY_TYPE... 2007-09-25 08:22:20 +00:00
skodak
465b310d2b prevent error when somebody changes scale or grading type - old value does not fit the new scale 2007-09-23 12:09:16 +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
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
nicolasconnault
dbdffd2c96 MDL-11340 Almost complete: Just need the "Add grade letter" button 2007-09-19 12:45:44 +00:00