264 Commits

Author SHA1 Message Date
skodak
55231be044 MDL-13943 improved perf when sending multiple grades into grade_update(); merged from MOODLE_19_STABLE 2008-03-16 23:22:47 +00:00
skodak
5048575d7e MDL-13920 assignment without grades now sets text grade type, fixed overriding of feedback and overriding logic in general on grade edit page; merged from MOODLE_19_STABLE 2008-03-15 14:54:43 +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
9c9a3259ee MDL-13863 detect missing idnumbers in formulas after restore; merged from MOODLE_19_STABLE 2008-03-10 09:35:42 +00:00
skodak
076aeb01a6 MDL-13850 fix automatic creation of course grade item; merge dfrom MOODLE_19_STABLE 2008-03-08 15:34:39 +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
skodak
52e95845e7 MDL-13695 precreating grades in grade calculation if needed; merged from MOODLE_19_STABLE 2008-02-27 10:01:46 +00:00
skodak
b45d83916f MDL-13269 fixed regrading of activity raw grades; merged from MOODLE_19_STABLE 2008-02-17 16:01:24 +00:00
skodak
cba498f090 MDL-12518 fixed restore of grade calculations; merged from MOODLE_19_STABLE 2008-02-05 13:11:48 +00:00
skodak
92b0d47c20 MDL-12900 prevent fatal errors when incorrect scale id specified in grade_item; mergedfrom MOODLE_19_STABLE 2008-02-02 21:34:08 +00:00
nicolasconnault
a7bea6c875 Merging from 1.9 2008-01-24 19:46:27 +00:00
tjhunt
0a2c84851c MDL-12517 - Move checking code into the user interface layer where it belongs. Merged from MOODLE_19_STABLE. 2007-12-13 14:19:24 +00:00
toyomoyo
56af043f38 MDL-12517, notify when grades entered into gradebook is out of bounds 2007-12-13 07:09:27 +00:00
skodak
f0362b5db2 MDL-7028 gradebook related changes for course reset; merged from MOODLE_19_STABLE 2007-11-28 09:43:47 +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
nicolasconnault
dea2f0d945 MDL-12182 Only testgradeitem.php isn't yet completed. 2007-11-15 06:44:26 +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
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
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
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
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
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
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
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
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
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
eedae98ef2 MDL-11357 removed _grade_updated() from activities and grade_item class 2007-09-20 07:43:57 +00:00