28686 Commits

Author SHA1 Message Date
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
nicolasconnault
05a334392c MDL-11525 When courseid is not present in the log entry, showing "Site" instead of $log->info 2007-10-05 04:24:42 +00:00
toyomoyo
2cc649ee22 merged fix for MDL-10353, calendar export not handing course variable correctly 2007-10-05 03:52:17 +00:00
skodak
1223d24a73 MDL-11580 support for hidden state modification in gradebook from activities (quiz now only) - part 1
the hiding/unhiding should be IMO locked in gradebook UI when activity overrides it
2007-10-04 22:57:14 +00:00
wildgirl
452b14b131 MDL-11492 help file re-write 2007-10-04 20:32:09 +00:00
stronk7
44853b8182 Reset possible changes by blocks to time_limit. MDL-11597 2007-10-04 17:55:59 +00:00
stronk7
5e867b23b9 Reset possible changes by modules to time_limit. MDL-11597 2007-10-04 17:42:30 +00:00
skodak
4f30c61dc8 MDL-11599 missing return statement 2007-10-04 17:09:34 +00:00
tjhunt
01600b5190 MDL-11580 - refinement to Yu's checkin, including removing the $CFG->openuniversityhacks.
Also, reviewing the new code made me realise that the code in mod/quiz/report/overview/report.php was a mess, so I cleaned it up a bit.
2007-10-04 15:57:09 +00:00
moodler
0371f8e52f Added some default roles that should have moodle/grade:viewhidden
related to MDL-11580
2007-10-04 15:45:37 +00:00
nicolasconnault
3126103b74 Re-enabling inherit options for range and average rows in grader report 2007-10-04 15:07:08 +00:00
nicolasconnault
78a2d9f05f Re-enabling inherit options for range and average rows in grader report 2007-10-04 09:30:16 +00:00
moodler
c727acb64b Just a little tidying up in the user report (padding) 2007-10-04 09:21:23 +00:00
skodak
4a3dfd9af1 MDL-11582 switch category item only if it is really there - forgot to add courseitem into condition 2007-10-04 09:00:29 +00:00
skodak
6f0078e5a0 moving the class instantiation a bit earlier so that we can safely modify it 2007-10-04 08:48:04 +00:00
skodak
3e0e2436de MDL-11582 switch category item only if it is really there 2007-10-04 08:36:34 +00:00
toyomoyo
fb72e817d9 MDL-11580, hide quiz grades when user has no grade:viewhidden capability and quiz is still open, need $CFG->openuniversityhacks flag set 2007-10-04 08:22:55 +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
nicolasconnault
9f2e50fc0f Instantiating a full $grade_item object, otherwise the get_displaytype() method is not available and causes a fatal error 2007-10-04 07:44:13 +00:00
toyomoyo
7f0648510a MDL-11544, tags migrate script postgres db problem 2007-10-04 07:06:54 +00:00
nicolasconnault
a7c3671a92 MDL-11581 Implemented gradedisplaytype in user reports 2007-10-04 07:02:44 +00:00
moodler
0b38a2a330 Latest tags file 2007-10-04 06:44:51 +00:00
moodler
4533997ff7 FIxed a string name which changed 2007-10-04 06:06:07 +00:00
gbateson
b3687f28f1 use target="$CFG->framename" instead of $CFG->frametarget when HotPot navigation is set to "Moodle navigation frame"so that Moodle does not get stuck in sub frame 2007-10-04 05:32:27 +00:00
toyomoyo
d9a23b785f merged fix for MDL-10353, after setting preferences user should return to same course view 2007-10-04 05:13:28 +00:00
moodler
c5ebd94b29 Automatic installer.php lang files by installer_builder (20071004) 2007-10-04 05:12:43 +00:00
skodak
d75731c6ac prevent returning of invalid array from get_course_managers() 2007-10-03 22:26:05 +00:00
skodak
e98871a2c2 MDL-11587 new grade_seq class similar to grade_tree but flat 2007-10-03 21:14:58 +00:00
skodak
9376f5a66a MDL-11583 fixed use of capability moodle/grade:manageletters - now works in plugin selector 2007-10-03 20:24:59 +00:00
skodak
8dd5c1ee2f MDL-11585 false is not allowed default in admin_setting_configselect constructor 2007-10-03 20:02:12 +00:00