223 Commits

Author SHA1 Message Date
nicolasconnault
761447651e Minor changes related to unit testing 2007-10-11 09:15:57 +00:00
skodak
03cedd6283 MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-) 2007-10-10 12:19:27 +00:00
nicolasconnault
b7064779f5 Updated copyright notice in header 2007-10-10 05:25:14 +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
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
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
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
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
skodak
95aa0af862 MDL-11472 fixed harcoded mdl_ prefix in sql queries 2007-09-27 08:41:19 +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
b0eb99121f MDL-11417 usermodified now stored properly in grade_grades table when update_(raw|final)_grade() used 2007-09-23 15:57:36 +00:00
skodak
bff475e412 overridden flag is now used to track the last time of modification - going to use it in assignments to print the correct time/date 2007-09-22 21:39:28 +00:00
skodak
fcac8e513a MDL-11357, MDL-11358 cleanup and improvements in public grade API - new function grade_get_grades() that returns all grading information (grade item data, outcomes and user grades); other minor improvements and bugfixes; updated assignment to use new grade API 2007-09-22 20:21:44 +00:00
skodak
9f01047ae9 MDL-11363 minor doc improvement 2007-09-22 18:50:46 +00:00
skodak
3ab3dfd562 MDL-11363 fixing defaults of new optional fields of grade classes - now properly applied when creating new instances too 2007-09-22 18:46:51 +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
skodak
4bf0d891f9 removing bosoleted unit tests: manual grade items do not use item numbers, id number is not generated automatically 2007-09-20 12:30:24 +00:00
skodak
eedae98ef2 MDL-11357 removed _grade_updated() from activities and grade_item class 2007-09-20 07:43:57 +00:00
toyomoyo
163a5eee2c MDL-11356, set display of grade items to database default (-1) 2007-09-20 02:39:25 +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
skodak
06ea7db0c3 MDL-1883 info for 3rd party developers in DEBUG_DEVELOPER mode 2007-09-18 18:50:14 +00:00
skodak
85c9ebb926 MDL-1883 improved perf when editing scales - new function xxx_scale_used_anywhere() 2007-09-18 18:37:58 +00:00
nicolasconnault
e480c18cf1 MDL-11312 Added new grade_letters table, and new grade_items.display field. 2007-09-18 14:26:15 +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
nicolasconnault
cd9e4ec472 MDL-11278 Admin settings page completed, implementation of settings in the gradebook coming up next. 2007-09-14 10:40:49 +00:00
skodak
c2efb50142 MDL-11130 added aggregation inside all subcategories + added graded/all aggregation option 2007-09-05 19:15:21 +00:00
moodler
d61d8c09ce Removed hardcoded string 'course grades category' 2007-09-05 09:17:19 +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
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
nicolasconnault
be7c069360 MDL-10829 Added get_idnumber() for both category and item classes 2007-08-13 18:34:57 +00:00
nicolasconnault
98240e51a6 MDL-10797 Merged lang strings into lang/en_utf8/admin.php and error.php 2007-08-13 08:58:37 +00:00
skodak
e8a46dcc2c MDL-10109 fixed aggregate outcomes depends_on() incorrect condition 2007-08-09 21:37:28 +00:00
skodak
f60c61b1b2 improved hiding support in grade/ 2007-08-09 16:19:06 +00:00
skodak
1827c8264d hmm, now it should be final - forgotten part 2 2007-08-09 12:52:15 +00:00
skodak
ddc2098247 final locking API cleanup 2007-08-09 12:44:10 +00:00
skodak
fb0e357051 various locking improvements and fixes, cron locktime support stilll missing 2007-08-09 09:03:14 +00:00
skodak
410753fbb0 course name used if name given to course category 2007-08-08 12:28:15 +00:00
skodak
d7ef47b3f1 removing $grade_item param from grade_grde methods - not needed anymore, assignment to grade_item property used instead
fixed typo in grade refresh code
2007-08-08 10:27:29 +00:00
skodak
0658afc9a1 fixes for overriding of scales, outcomes and minor access control tweak 2007-08-07 22:50:32 +00:00
moodler
aac4c3807f Fixed names of total columns 2007-08-07 09:03:53 +00:00
skodak
2b0f65e23c MDL-10223 module grades are now refreshed after unlocking 2007-08-06 15:18:54 +00:00
skodak
29d509f59a MDL-10109 optional aggregation of outcomes together with grades 2007-08-06 12:05:45 +00:00
skodak
f615fbaba0 MDL-10711 adding deleting of grade data when deleting module or course 2007-08-03 19:25:22 +00:00
nicolasconnault
f2c883562d Gradebook unit tests review 2007-08-03 15:10:25 +00:00
skodak
1eb05d980c improved aggregation - items without value (none + text) are not aggregated; faster regrading of categroies with no grades; lang typo fixed 2007-08-03 08:41:20 +00:00