Commit graph

1161 commits

Author SHA1 Message Date
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
f0b9c95bf7 MDL-11633, changing import to use $mform->getdata() instead of data_submitted() 2007-10-08 06:52:39 +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
moodler
4924f1d280 Removed some blank lines MDL-11632 2007-10-07 13:18:05 +00:00
skodak
8108909a60 MDL-9636 grade import fixes - allow null grades, no importcode collisions and stealing, more validation and other bugfixes 2007-10-07 13:04:49 +00:00
skodak
fa234b6739 MDL-11611 reimplemented displaytype and decimals disabling logic in grade item edit form for dispa - now works for new items too 2007-10-07 10:51:52 +00:00
skodak
3405820739 MDL-11622, MDL-11623 xml import/export now uses user idnumber; feedback optional; related bugfixing 2007-10-07 10:22:21 +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
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
6f0078e5a0 moving the class instantiation a bit earlier so that we can safely modify it 2007-10-04 08:48:04 +00:00
skodak
3e0e2436de MDL-11582 switch category item only if it is really there 2007-10-04 08:36:34 +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
9f2e50fc0f Instantiating a full $grade_item object, otherwise the get_displaytype() method is not available and causes a fatal error 2007-10-04 07:44:13 +00:00
nicolasconnault
a7c3671a92 MDL-11581 Implemented gradedisplaytype in user reports 2007-10-04 07:02:44 +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
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
skodak
dafbc521ba MDL-11495 removed GRADE_DECIMALS_DEFAULT null constant, is_null() used instead for tests, -1 used in menu options 2007-09-28 11:08:44 +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
skodak
662a057c77 MDL-11451 adding default ipaddress restriction and 7 days lifetime for user key 2007-09-27 07:06:17 +00:00
skodak
d0cbeafbcb MDL-11451 fixing silly typo in cap name 2007-09-27 06:56:51 +00:00
skodak
0a3bdfaf79 MDL-11451 grade publishing security/privacy improved - new capabilities needed for publishing, by default allowed only for admins; added warning to publishing option 2007-09-27 06:51:54 +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
skodak
d7a61f65c1 MDL-10985 improved form validation in xml grade import 2007-09-26 19:34:54 +00:00
skodak
1843999a77 MDL-10985 merged the xml and xmlurl grade import plug-in 2007-09-26 18:11:48 +00:00
skodak
8925adab08 fix of disabledIf fix :-( 2007-09-26 17:30:24 +00:00
skodak
4b282c641f fixed disabledif conditions 2007-09-26 16:49:37 +00:00
nicolasconnault
206f995349 Fixing OU report issues 2007-09-26 12:25:16 +00:00
skodak
c22e335d80 MDL-9636 fixed many sql injections in grade import code 2007-09-26 11:02:36 +00:00
skodak
235b07fb64 MDL-9636 grade_items are now limited to current course only - can not import into other courses anymore 2007-09-26 10:54:09 +00:00
skodak
e9dea7af66 MDL-9636 corrected the creation of new manual grade items, added source parameter 2007-09-26 10:00:51 +00:00
skodak
a700b5deee MDL-10985 import from remote xml file with key login option 2007-09-26 09:42:28 +00:00