28866 Commits

Author SHA1 Message Date
ikawhero
91cddbc454 Only include data from field types that are "small" 2007-10-08 08:10:45 +00:00
moodler
4354a3e563 Some fixes to make preferences work correctly (if not set then they are 0) and so now ranges and averages show correctly on grader report when these are set to defaults in preferences MDL-11618 2007-10-08 07:26:29 +00:00
ikawhero
323ccc26b6 Include custom profile fields when setting up a user object 2007-10-08 07:23:18 +00:00
ikawhero
66643c0aa8 New function to return a partial user object with the custom profile fields
set.
2007-10-08 07:21:32 +00:00
moodler
d9c1a97188 Cleaner saving of grader report prefs 2007-10-08 07:11:22 +00:00
ikawhero
cfdb170609 Check to ensure custom profile fields do not have same name as current
fields in the $USER record
2007-10-08 06:59:00 +00:00
moodler
4baf254f5a Re-ordered some preferences to be a bit more logical 2007-10-08 06:55:34 +00:00
toyomoyo
f0b9c95bf7 MDL-11633, changing import to use $mform->getdata() instead of data_submitted() 2007-10-08 06:52:39 +00:00
gbateson
68a5a1244d added escaping of quotes in TimesUp message, so that apostrophes do not cause Javascript errors 2007-10-08 06:45:27 +00:00
moodler
69d0f96a53 Fixed typo from MDL-11642, thanks Gary 2007-10-08 05:11:15 +00:00
toyomoyo
1b39b03a84 MDL-11616, adding activity link back for hidden grade items 2007-10-08 02:34:04 +00:00
toyomoyo
a21fed9df5 using correct capability for displaying activity report link in print_user() 2007-10-08 00:42:41 +00:00
diml
2f33e8f031 fixes a bug in resource_get_physical_file(...) when making a ResourceDocument object. 2007-10-07 20:15:32 +00:00
diml
b0c3d06acc add an override for system limits (execution time / memory limit) for long
reindexation works (big documents). Set statically to 300 sec and 48M.

TODO : get possibly admin defined values for these limits.
2007-10-07 20:14:17 +00:00
diml
84257f3fe1 changing access resolution for buttons labels 2007-10-07 19:44:59 +00:00
diml
f651fb3980 unconsistent file 2007-10-07 19:44:18 +00:00
diml
a76b196392 string nl translations for search block 2007-10-07 19:40:47 +00:00
diml
351708dcbb string fr translations for search block 2007-10-07 19:40:15 +00:00
diml
9424e7e0b5 string en translations for search block 2007-10-07 19:39:42 +00:00
diml
404b5d334e adding dutch translation for search engine 2007-10-07 19:36:01 +00:00
diml
39cfb0b068 fix access check function for documents bug $context->instance to $context->instanceid 2007-10-07 19:34:59 +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
stronk7
f1dc7614b5 Adding some traces here and there 2007-10-07 17:28:46 +00:00
moodler
9f2ded7678 More passing around of context information to speed up things 2007-10-07 14:53:13 +00:00
moodler
63a11f3c95 Added some hooks to increase debugging in admin/cron.php
$CFG->showcronsql
$CFG->showcrondebugging
2007-10-07 14:52:29 +00:00
skodak
e5245c73a5 MDL-11448 FirstClass Authentication does not hold settings and has cosmetic and info leakage issues, patch by Dan Trockman 2007-10-07 14:08:37 +00:00
skodak
1bc8aab1c5 fixed defaults and hardcoded lang strings in performance settings 2007-10-07 14:01:36 +00:00
skodak
1d19804aa3 MDL-11568 prevent warning from $USER->mnehostid when not logged in 2007-10-07 13:46:46 +00:00
skodak
8ce8fc85fc MDL-11304 remerging fixes 2007-10-07 13:31:41 +00:00
moodler
4924f1d280 Removed some blank lines MDL-11632 2007-10-07 13:18:05 +00:00
skodak
8108909a60 MDL-9636 grade import fixes - allow null grades, no importcode collisions and stealing, more validation and other bugfixes 2007-10-07 13:04:49 +00:00
skodak
fa234b6739 MDL-11611 reimplemented displaytype and decimals disabling logic in grade item edit form for dispa - now works for new items too 2007-10-07 10:51:52 +00:00
skodak
3405820739 MDL-11622, MDL-11623 xml import/export now uses user idnumber; feedback optional; related bugfixing 2007-10-07 10:22:21 +00:00
moodler
673bc55dc2 Merged blog theme/lang fixes from MDL-10833 2007-10-07 09:27:13 +00:00
pichetp
4bc4ca50a6 checking that there remain $oldwrappedids before deleting them lines 87-..
add         if(is_array($oldwrappedids) && count($oldwrappedids)){
2007-10-06 20:51:28 +00:00
pichetp
aa78ab4cb3 missing global $CFG ; line 577
function save_dataset_items($question, $fromform){
global $CFG;
2007-10-06 19:02:26 +00:00
stronk7
d9420631b8 ORPHAN_USER_LASTACCESS_PROBLEM . MDL-11604 2007-10-05 22:27:55 +00:00
skodak
5c8e6cb179 MDL-11621 removed recursion from create_contexts() 2007-10-05 20:47:08 +00:00
skodak
9a81a6060a MDL-11621 new create_contexts() function that makes sure all contexts exist, optionally initialises the paths and depths too 2007-10-05 20:16:51 +00:00
skodak
7d0c81b3ba MDL-11521 fixed problems when creating contexts and aprents does not exist yet
MDL-11527 fixed warning from $CFG->defaultuserroleid when installing and upgrading
+ removed reusing of previous contexts in has_capability() and get_context_instance()  because it was hiding critical errors when context was false, not specified, etc.
+ tweaked roles defaults - faster and defaults are applied when roles exist
+ SYSCONTEXTID may be specified in config.php to eliminate 1 db query
+ static context cache is now reset after rebuilding of context paths
+ path field in context table is now nullable - pg compatibility requirement
+ other minor fixes
2007-10-05 15:06:38 +00:00
skodak
bb49f77b84 fixed whitespace 2007-10-05 14:31:57 +00:00
moodler
5b1dbd5cd7 Some SQL fixes to avoid putting 'quotes' around integers (performance) 2007-10-05 13:34:28 +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
moodler
c15b86dc95 Pass $modcontext down through the functions so that print_post is more efficient MDL-11606 2007-10-05 07:26:02 +00:00
moodler
2106444076 Get imagealt during outer loops so that print_user_picture is more efficient MDL-11606 2007-10-05 06:47:14 +00:00
moodler
2c894bb92d Efficiency improvements to bring some SQL statements out of loops MDL-11606 2007-10-05 06:36:31 +00:00
moodler
b649ef92e3 Small efficiency improvement for print_user_picture() when it does access the db 2007-10-05 06:32:53 +00:00
toyomoyo
d292d1d2b0 MDL-11549, print_user() should also check user context when printing activity report link 2007-10-05 06:31:11 +00:00
nicolasconnault
5a81060351 MDL-11500 Catching empty $coursemod when viewhiddensection is false, + corrected type $coursemode => $coursemod 2007-10-05 05:40:56 +00:00
nicolasconnault
323956abd9 MDL-11519 Commented out the Ajax option 2007-10-05 05:37:55 +00:00