148 Commits

Author SHA1 Message Date
Andrew Davis
79b260cc88 gradebook MDL-21596 altered grade_category::set_properties() to try to intelligently set a default for weight and extra credit as a work around for those two properties sharing a single column 2010-06-08 02:10:21 +00:00
Petr Skoda
f7d515b6d3 fixed silly comment typos 2010-05-21 18:57:05 +00:00
David Mudrak
3869ab1ac6 MDL-21695 gradebook: Extra credit help strings
String aggregationcoefextraweight is used when editing an item which is
aggregated by Mean of grades (with extra credit) and was reworded to
Extra credit weight (because in fact it is the weight of the extra
credit - if it equals zero, the grade is not extra)

String aggregationcoefextrasum is used for Sum of grades and Simple
weighted mean of grades, meaning a checkbox extra credit yes/no

String aggregationcoefextra is used in the header of table Categories
and items (either Simple view or Full view). It must contain the information
about both meanings of aggregation.

AMOS BEGIN
 HLP grade/aggregationcoefcombo.html,[aggregationcoefextra_help,core_grades]
 HLP grade/aggregationcoefextra.html,[aggregationcoefextraweight_help,core_grades]
 HLP grade/aggregationcoefextrasum.html,[aggregationcoefextrasum_help,core_grades]
AMOS END
2010-05-21 13:46:28 +00:00
Andrew Davis
1762a2642a gradebook MDL-21514 Ironed out a bug with hiding course totals 2010-02-12 03:39:40 +00:00
Andrew Davis
d90aa63419 grader report MDL-21367 when an item is unhidden its category should unhide to 2010-02-03 02:31:46 +00:00
Andrew Davis
a25bb902f0 grader report MDL-19704 Added ability to hide course and category totals without hiding anything else 2010-01-11 07:35:40 +00:00
nicolasconnault
b79fe1899c MDL-19247 Few minor adjustments and cleanup of grade_category 2009-05-21 13:30:02 +00:00
skodak
793253ae05 MDL-19218 fixed missing method grade_category::is_extracredit_used() - not merged to HEAD 2009-05-17 19:19:33 +00:00
skodak
a9e38ac8a7 MDL-19008 extra credis should not be dropped when drop low or keep high specified (including unit tests) 2009-04-29 13:42:03 +00:00
skodak
b9b199beba MDL-18993 implemented frull support for droplow and keephigh in sum aggregation type 2009-04-29 10:05:55 +00:00
skodak
59080eee21 MDL-18993 implemented frull support for droplow and keephigh in sum aggregation type 2009-04-29 08:55:25 +00:00
skodak
b3d965212e MDL-17248 fixed incorrect sum when scales involved; merged from MOODLE_19_STABLE (regrading will be forced later) 2009-04-27 15:21:09 +00:00
skodak
d9ae2ab53b MDL-12942 new extra credit option for simple mean agg; merged from MOODLE_19_STABLE 2009-04-24 16:24:49 +00:00
skodak
121d8006e4 MDL-18927 fixed performance regression 2009-04-22 19:40:21 +00:00
nicolasconnault
653a86489e MDL-18083 Committing gradebook improvements to head 2009-04-16 07:16:44 +00:00
skodak
3a03653edf MDL-18772 fixed aut oupdating of grademax for SUM aggregation type 2009-04-05 20:17:04 +00:00
nicolasconnault
54c4a2cb4f MDL-18004 Separated gradebook course settings from report preferences 2009-02-17 09:01:48 +00:00
nicolasconnault
0198929cdb MDL-17825 Converting float grades to string when counting values using the Mode of Grades aggregation. Merging from MOODLE_19_STABLE 2009-01-08 16:02:11 +00:00
skodak
4e9ca99131 MDL-15007 is_aggregationcoef_used should be public 2008-05-27 09:34:03 +00:00
nicolasconnault
5b0af8c5e3 MDL-14967 More upgrades 2008-05-26 05:06:01 +00:00
nicolasconnault
da3801e84b MDL-14967 Upgraded gradebook code and unit tests. 4 failing tests in grade_item to fix. 2008-05-23 14:52:50 +00:00
dongsheng
2f137aa130 "MDL-14129, fix print_error" 2008-05-20 02:53:46 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak
25bcd90821 MDL-13845 rewritten rounding in grades classes again - rounding done also before storage into db so that we can compare the values properly and skip db updates if possible + some more optimisations; merged from MOODLE_19_STABLE 2008-03-12 19:45:17 +00:00
skodak
ec3717e1bd MDL-13853 automatic fixing of incorrect grade category paths; merged from MOODLE_19_STABLE 2008-03-08 23:23:41 +00:00
skodak
1909a12760 MDL-13853 incorrect paths when moving grade categories - affects aggregation in subcategories; merged from MOODLE_19_STABLE 2008-03-08 22:38:11 +00:00
skodak
6537035609 MDL-13851 fixed disappearing grade categories in PHP4; merged from MOODLE_19_STABLE 2008-03-08 22:12:45 +00:00
skodak
a450311936 add debug code for missing course id when getting course grading category; merged from MOODLE_19_STABLE 2008-03-08 15:10:35 +00:00
skodak
66690b6914 MDL-13845 major performance problems when regrading course; merged from MOODLE_19_STABLE 2008-03-08 12:51:16 +00:00
skodak
91f9a62c3f MDL-13730 site setting for aggregation of scales; merged from MOODLE_19_STABLE 2008-03-03 11:03:54 +00:00
nicolasconnault
8f6fdf4335 MDL-13674 Course category fullname field is no longer required. If set to empty it will be recorded in the DB as ?, and the course name will be used instead wherever the category name is displayed. Merging from MOODLE_19_STABLE. 2008-02-27 12:48:20 +00:00
skodak
d28f25a493 MDL-13653 droplow not ignoring ungraded items un sum aggregation; merged from MOODLE_19_STABLE 2008-02-25 12:17:46 +00:00
skodak
2e0d37fe41 MDL-12942 extra credit implemented in sum aggregation type; fixed sum aggregation; fixed division by zero in item grade min==max; merged from MOODLE_19_STABLE 2008-02-18 19:10:44 +00:00
nicolasconnault
0c87b5aac0 MDL-11835 Changing default aggregateonlygraded back to true, but set this value to false for upgraded course categories. Also set grade display type to percentage for upgraded items, since this is the default setting in 1.8. Site default is Real display type. 2007-12-07 09:14:51 +00:00
nicolasconnault
f3ac8eb40c MDL-12182 Reverting to pre-upgrade in order to prepare a patch instead 2007-11-22 05:42:46 +00:00
skodak
1426edacd9 MDL-12096 new simple weighted mean aggregation type; merged from MOODLE_18_STABLE 2007-11-15 22:30:01 +00:00
skodak
190af29fef MDL-12146 grade category defaults, forced settings and advanced options, merged from MOODLE_19_STABLE 2007-11-14 11:52:21 +00:00
nicolasconnault
b7cf8eac52 Fixing a few bugs identified by Petr and attacking grade_item unit tests 2007-11-13 19:12:37 +00:00
skodak
4ac209d5bd MDL-12154 used proper cast to float before !== comparison 2007-11-13 16:08:39 +00:00
skodak
f1ad9e042a MDL-10901 new SUM aggregation type
MDL-12154 used proper cast to float before !== comparison

part 2
2007-11-13 15:32:16 +00:00
skodak
0758a08e2a MDL-10901 new SUM aggregation type
MDL-12154 used proper cast to float before !== comparison
2007-11-13 15:08:59 +00:00
nicolasconnault
9a68cffcbb Restoring some of the static calls which were converted unnecessarily 2007-11-13 13:44:27 +00:00
nicolasconnault
aaefeda438 More fine-tuning of gradebook classes 2007-11-13 10:31:08 +00:00
nicolasconnault
795bee3460 Managed to remove static calls from the core gradebook classes without removing support for such calls in gradebook interface code. I used a singleton pattern for this (get_instance in grade_object). 2007-11-13 09:08:43 +00:00
nicolasconnault
4fc9ec1ec0 Managed to remove static calls from the core gradebook classes without removing support for such calls in gradebook interface code. I used a singleton pattern for this (get_instance in grade_object). 2007-11-13 07:36:00 +00:00
toyomoyo
cee037c660 MDL-12138, set aggregate graded only as default 2007-11-13 03:07:48 +00:00
nicolasconnault
1f0e492171 Unit test refactoring using mock objects. NOT FINISHED: testgradecategory and testgradeitem are incomplete. The other tests work great however, and no longer a need for DB data 2007-11-07 17:59:33 +00:00
skodak
ced5ee5921 MDL-11966 implemented dategraded and datesubmitted, tweaked altering of grades depending in hidden grades
MDL-11974 improved gradebook CSS
2007-11-01 08:25:05 +00:00
skodak
597f50e616 MDL-11973 Improved showing of hidden items in ouuser and user report 2007-10-30 21:25:50 +00:00
nicolasconnault
1994d890c9 Fixing unit test failures 2007-10-27 10:13:25 +00:00