4998 Commits

Author SHA1 Message Date
nicolasconnault
acdc8e8a9c MDL-10550 Refactoring, fixing a few bugs in edit/item_form.php and more work into the outcome report 2007-07-24 14:26:05 +00:00
skodak
89bd8357e9 MDL-10579 capabilities for grade export plugins 2007-07-24 08:51:45 +00:00
skodak
7a6b7acf76 MDL-10579 more capability checks in grades code + refactoring of grade_tree 2007-07-24 07:45:15 +00:00
stronk7
b264019bcb Drop the latest TEXT default existing since XMLDB debut. MDL-6218 2007-07-23 23:28:26 +00:00
stronk7
7229af7890 Re-applying one fix that was fixed some time ago (rev 1.52) and
lost 2 revisions later (rev 1.54). It's only HEAD and not critical.
Now there aren't TEXT columns with DEFAULT clauses at all in xml files!
2007-07-23 19:58:06 +00:00
skodak
2a55410b18 MDL-10576 two new lang pack editing capabilities 2007-07-23 19:50:20 +00:00
skodak
dd45888a24 MDL-9511 adding/renaming grading capabilities 2007-07-23 19:22:48 +00:00
tjhunt
9d308cb4d0 Improve javadocs. 2007-07-23 16:54:16 +00:00
tjhunt
5aed30094d Fix whitespace, and round times to the previous multiple of the 'step' option, if necessary. 2007-07-23 14:55:35 +00:00
nicolasconnault
ba92364c8b MDL-10550 2007-07-23 14:33:02 +00:00
toyomoyo
bdf3bbd198 if limit is specified on first call, ignore it, retrieve all, so that we can cache all entries, but only return the required number of entries at the end 2007-07-23 08:56:26 +00:00
toyomoyo
182c21f139 making get_my_courses() respect $limit 2007-07-23 08:38:07 +00:00
skodak
42ff9ce68b MDL-10111 migration of data into new gradebook; added new lib/db/upgradelib.php file (should be used by new groups upgrade code too) 2007-07-22 21:43:47 +00:00
skodak
d049fd45a5 MDL-10566 do not redirect when dubug message printed; do not redirect also in DEBUG_ALL mode when error found - the DEBUG_DEVELOPER is not used by all developers all the time ;-) 2007-07-22 17:34:41 +00:00
skodak
31a170930d added proper rs_close($rs) 2007-07-22 16:02:57 +00:00
stronk7
ae7dc0d1e0 New cross-db version of the big union query used by get_my_courses() function.
I've tested both the "IN" subquery and the "FROM" subquery and, under sites
with more courses, the "FROM" one seems to perform slightly better. MDL-9381

Merged from MOODLE_18_STABLE
2007-07-22 00:56:42 +00:00
skodak
23207a1a6a MDL-10563 item excluding implemented;
improved/fixed grade edit page;
some other improvements and cleanup
2007-07-21 14:24:39 +00:00
skodak
eacd3700f4 aggregation improvements; fixed aggregation of course category when changing type; old gradebook upgrade wip (untested) 2007-07-21 10:09:57 +00:00
skodak
9acbd7269c MDL-10364 improved internal formula format 2007-07-21 08:43:51 +00:00
skodak
c186c7b2cb MDL-10524 minor simplification of median aggregation + fixed aggregation names in lang 2007-07-20 13:54:58 +00:00
nicolasconnault
d5f0aa0196 MDL-9628 Fixed typos and added language strings. Corrected a bug that prevented a decimalpoints of 0 from being used (empty($decimalpoints)) -> is_null 2007-07-20 07:31:13 +00:00
mattc-catalyst
cd54510d42 lib/accesslib: Performance optimisation
- On postgres query time drops from ~600ms to ~35ms in some
  instances, in other instances performance is around the same
  as old the implementation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-20 04:05:34 +00:00
skodak
d14ae855a2 MDL-10524 fixed aggregation for course item + other minor improvements 2007-07-19 17:36:36 +00:00
skodak
3ee5c20149 MDL-10525 renaming class grade_grades and grade_grades_text - singulars for all grade class names 2007-07-19 08:15:19 +00:00
toyomoyo
2717b64523 adding the grade_outcomes_courses table 2007-07-19 07:35:21 +00:00
toyomoyo
6ad71d66c8 merged fix for MDL-10445, adding of blocks on user blog page not possible 2007-07-19 06:06:28 +00:00
moodler
759bc3c89a Added support for flv 2007-07-19 05:43:33 +00:00
toyomoyo
60ace1e114 merged fix for MDL-10149, preventing the deletion of the last admin role 2007-07-19 05:19:05 +00:00
toyomoyo
69b0088cd9 merged fix for MDL-10461, timemodied in role assignments not preserved 2007-07-19 03:37:53 +00:00
urs_hunkler
7784025672 added returns to make debugging easier 2007-07-18 21:08:21 +00:00
urs_hunkler
e1d02e7e0f corrected an error in the sideblock structure for custom corners 2007-07-18 21:06:40 +00:00
skodak
ba74762bda regular whitespace cleanup in grade code 2007-07-18 19:56:07 +00:00
skodak
e1d2692a73 fixed problem with quickgrading overriding nonexistent grades with no grade 2007-07-18 19:53:24 +00:00
urs_hunkler
966c9a686c corrected a wrong closing div 2007-07-18 19:51:11 +00:00
skodak
9580a21f1c MDL-9137 added new aggregation needed for upgrade - weighted + extra credit
minor item edit form cleanup
fixed minor bug in grader/lib.php
2007-07-18 19:29:32 +00:00
urs_hunkler
53c914f8e2 added a wrapper div to be able to handle content shorter than the side columns 2007-07-18 15:41:26 +00:00
nicolasconnault
8c5a416edd MDL-10478 Added category preference aggregationview. This one is linked with the more global preferences and $CFG. However, a category-specific preference needs implementing: grade_report_categorystate{$catid}, which equals GRADE_CATEGORY_EXPANDED or GRADE_CATEGORY_CONTRACTED. I've written a stub in grade/report/grader/lib.php around line 492 for pruning out the grade_tree according to these prefs.
We'll also need to implement the actions for the -/+ icons.
2007-07-18 14:54:35 +00:00
nicolasconnault
32b97bb24a MDL-10490 Letter type implemented 2007-07-18 11:34:55 +00:00
skodak
af15f9cc53 MDL-10439 yet another attempt to fix definition_after_data() - see the bug report for sample usage 2007-07-18 08:48:28 +00:00
toyomoyo
61f774e8f6 merged fix for MDL-10469, users with doanything has no courses showing 2007-07-18 07:02:54 +00:00
nicolasconnault
5e623a335f MDL-10345 Fixed bug that changed a null scale finalgrade to 1 due to passing through bounded_number(1, null, 3) 2007-07-18 05:17:45 +00:00
nicolasconnault
db4c796818 MDL-9628 Refactored display "Raw" string into "Real" to avoid confusion with raw vs final grades 2007-07-17 19:04:50 +00:00
stronk7
01516fd39a And key fields are lowercased too. End of MDL-10413
Merged from MOODLE_18_STABLE
2007-07-17 18:57:31 +00:00
stronk7
470617ba0a And index fields are lowercased too. Part of MDL-10413
Merged from MOODLE_18_STABLE
2007-07-17 18:55:51 +00:00
nicolasconnault
e50ce569d9 MDL-10481
Two new preferences: averagesdecimalpoints and rangesdecimalpoints
Two new constants: GRADE_REPORT_PREFERENCE_INHERIT and GRADE_REPORT_PREFERENCE_DEFAULT with string values
removed GRADE_REPORT_GRADE_DISPLAY_TYPE_INHERIT in favour of the above
Added a number of language strings.
2007-07-17 18:46:21 +00:00
tjhunt
4f2c86ad81 OU bug 3463 - warnings when you start an attempt in 'each attempt builds on last' mode. 2007-07-17 15:27:59 +00:00
skodak
2a8c101f69 MDL-10065 move lib/simpletest/grade/simpletest elsewhere
+ fixed categroy locking unittest and minor problem with return value
2007-07-17 14:25:20 +00:00
thepurpleblob
d717df34e0 MDL-10495:
Course Managers role's now in same order as Manage Roles screen.
2007-07-17 13:13:35 +00:00
skodak
128c87a442 MDL-10439 call definition_after_data() from moodleform constructor only when form submitted 2007-07-17 07:48:58 +00:00
skodak
cea2542bfe MDL-10111 aggragationcof for weighted categories and extra items in old gradebook 2007-07-17 07:24:35 +00:00