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
717f432f2d
MDL-12154 used proper cast to float before !== comparison merged from MOODLE_19_STABLE
2007-11-13 16:47:33 +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
skodak
1ee0df067f
MDL-10365 grade history can be turned off + lifetime
2007-11-08 08:59:26 +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
nicolasconnault
a8caf69d3a
Minor changes in unit tests
2007-10-31 14:55:23 +00:00
skodak
597f50e616
MDL-11973 Improved showing of hidden items in ouuser and user report
2007-10-30 21:25:50 +00:00
skodak
a677165290
fixing previous merge
2007-10-30 11:55:49 +00:00
skodak
0f392ff4f0
MDL-11957 improving and cleanup in grade overriding
2007-10-30 11:40:50 +00:00
nicolasconnault
1994d890c9
Fixing unit test failures
2007-10-27 10:13:25 +00:00
toyomoyo
26d7de8bfe
merged fix for MDL-11902, gradebook formula dereferencing problem
2007-10-26 02:30:04 +00:00
toyomoyo
3c2e81ee49
proper copy and format, sorry
2007-10-26 02:28:47 +00:00
toyomoyo
e6acec95f2
fixing previous commit
2007-10-26 02:21:26 +00:00
toyomoyo
2f289fea5f
adding back
2007-10-26 02:15:58 +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
78358cd6a1
MDL-11718 fixed incorrect bounds when altering aggregates for hidden grades
2007-10-20 15:48:46 +00:00
skodak
89a5f82768
MDL-11278 improved forced category settings - refactoring + regrading forced + new setting to hide forced settings in UI
2007-10-20 15:00:31 +00:00
skodak
d297269d79
2007-10-19 08:51:52 +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
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