4987 Commits

Author SHA1 Message Date
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
nicolasconnault
bb384a8e29 MDL-10477 Mainly the percentage grade display type 2007-07-16 19:46:54 +00:00
tjhunt
efe256e4a9 Stop the 'remove rqp' environment message from appearing after the question type is gone. 2007-07-16 13:23:13 +00:00
skodak
b8e9305e70 use min max bounds in update_final_grade() 2007-07-16 07:16:08 +00:00
jamiesensei
bb90bf3fb2 when element is frozen should not escape html entities in htmleditor. 2007-07-16 06:04:20 +00:00
skodak
8ce0363638 MDL-8096 fixed & in htmlarea httpsrequired parameter - xhtml strict fix 2007-07-15 15:15:30 +00:00
skodak
76a50d1767 fix for upgrade trouble caused by recen grade import table changes - it was IMO easier to recreate the tables instead of fixing the upgrade code 2007-07-15 13:38:39 +00:00
stronk7
e9371f46d1 Most probable default value for applicationid is 1 (moodle). 2007-07-14 22:40:41 +00:00
stronk7
3fd7eae4c9 Deleting duplicate applicationid field, adding one missing fk and
minor reordering of logic of mnet stuff.
2007-07-14 22:38:35 +00:00
stronk7
6392a62dad Moving mnet_application somewhere before mnet_host
and creating missing FK in mnet_host
2007-07-14 22:29:17 +00:00
mjollnir_
808fae8f05 fixing a small syntax oddity that breaks get_my_courses in postgres. quoting " means escape table, not string 2007-07-14 19:36:59 +00:00
stronk7
d3f31bf2d9 Big reordering of table creation, following all dependencies (FKs)
Small fix in some FKs pointing to wrong tables. Nothing else changed.
2007-07-14 19:20:43 +00:00