]> git.mjollnir.org Git - moodle.git/log
moodle.git
17 years agoMDL-11633, changing import to use $mform->getdata() instead of data_submitted()
toyomoyo [Mon, 8 Oct 2007 06:52:39 +0000 (06:52 +0000)]
MDL-11633, changing import to use $mform->getdata() instead of data_submitted()

17 years agoadded escaping of quotes in TimesUp message, so that apostrophes do not cause Javascr...
gbateson [Mon, 8 Oct 2007 06:45:27 +0000 (06:45 +0000)]
added escaping of quotes in TimesUp message, so that apostrophes do not cause Javascript errors

17 years agoFixed typo from MDL-11642, thanks Gary
moodler [Mon, 8 Oct 2007 05:11:15 +0000 (05:11 +0000)]
Fixed typo from MDL-11642, thanks Gary

17 years agoMDL-11616, adding activity link back for hidden grade items
toyomoyo [Mon, 8 Oct 2007 02:34:04 +0000 (02:34 +0000)]
MDL-11616, adding activity link back for hidden grade items

17 years agousing correct capability for displaying activity report link in print_user()
toyomoyo [Mon, 8 Oct 2007 00:42:41 +0000 (00:42 +0000)]
using correct capability for displaying activity report link in print_user()

17 years agofixes a bug in resource_get_physical_file(...) when making a ResourceDocument object.
diml [Sun, 7 Oct 2007 20:15:32 +0000 (20:15 +0000)]
fixes a bug in resource_get_physical_file(...) when making a ResourceDocument object.

17 years agoadd an override for system limits (execution time / memory limit) for long
diml [Sun, 7 Oct 2007 20:14:17 +0000 (20:14 +0000)]
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.

17 years agochanging access resolution for buttons labels
diml [Sun, 7 Oct 2007 19:44:59 +0000 (19:44 +0000)]
changing access resolution for buttons labels

17 years agounconsistent file
diml [Sun, 7 Oct 2007 19:44:18 +0000 (19:44 +0000)]
unconsistent file

17 years agostring nl translations for search block
diml [Sun, 7 Oct 2007 19:40:47 +0000 (19:40 +0000)]
string nl translations for search block

17 years agostring fr translations for search block
diml [Sun, 7 Oct 2007 19:40:15 +0000 (19:40 +0000)]
string fr translations for search block

17 years agostring en translations for search block
diml [Sun, 7 Oct 2007 19:39:42 +0000 (19:39 +0000)]
string en translations for search block

17 years agoadding dutch translation for search engine
diml [Sun, 7 Oct 2007 19:36:01 +0000 (19:36 +0000)]
adding dutch translation for search engine

17 years agofix access check function for documents bug $context->instance to $context->instanceid
diml [Sun, 7 Oct 2007 19:34:59 +0000 (19:34 +0000)]
fix access check function for documents bug $context->instance to $context->instanceid

17 years agoMDL-11618 removed the inherit override from decimals and gradetype used on grader...
skodak [Sun, 7 Oct 2007 18:15:57 +0000 (18:15 +0000)]
MDL-11618 removed the inherit override from decimals and gradetype used on grader report preferences + several bug fixes + settings improvements

17 years agoAdding some traces here and there
stronk7 [Sun, 7 Oct 2007 17:28:46 +0000 (17:28 +0000)]
Adding some traces here and there

17 years agoMore passing around of context information to speed up things
moodler [Sun, 7 Oct 2007 14:53:13 +0000 (14:53 +0000)]
More passing around of context information to speed up things

17 years agoAdded some hooks to increase debugging in admin/cron.php
moodler [Sun, 7 Oct 2007 14:52:29 +0000 (14:52 +0000)]
Added some hooks to increase debugging in admin/cron.php

$CFG->showcronsql
$CFG->showcrondebugging

17 years agoMDL-11448 FirstClass Authentication does not hold settings and has cosmetic and info...
skodak [Sun, 7 Oct 2007 14:08:37 +0000 (14:08 +0000)]
MDL-11448 FirstClass Authentication does not hold settings and has cosmetic and info leakage issues, patch by Dan Trockman

17 years agofixed defaults and hardcoded lang strings in performance settings
skodak [Sun, 7 Oct 2007 14:01:36 +0000 (14:01 +0000)]
fixed defaults and hardcoded lang strings in performance settings

17 years agoMDL-11568 prevent warning from $USER->mnehostid when not logged in
skodak [Sun, 7 Oct 2007 13:46:46 +0000 (13:46 +0000)]
MDL-11568 prevent warning from $USER->mnehostid when not logged in

17 years agoMDL-11304 remerging fixes
skodak [Sun, 7 Oct 2007 13:31:41 +0000 (13:31 +0000)]
MDL-11304 remerging fixes

17 years agoRemoved some blank lines MDL-11632
moodler [Sun, 7 Oct 2007 13:18:05 +0000 (13:18 +0000)]
Removed some blank lines  MDL-11632

17 years agoMDL-9636 grade import fixes - allow null grades, no importcode collisions and stealin...
skodak [Sun, 7 Oct 2007 13:04:49 +0000 (13:04 +0000)]
MDL-9636 grade import fixes - allow null grades, no importcode collisions and stealing, more validation and other bugfixes

17 years agoMDL-11611 reimplemented displaytype and decimals disabling logic in grade item edit...
skodak [Sun, 7 Oct 2007 10:51:52 +0000 (10:51 +0000)]
MDL-11611 reimplemented displaytype and decimals disabling logic in grade item edit form for dispa - now works for new items too

17 years agoMDL-11622, MDL-11623 xml import/export now uses user idnumber; feedback optional...
skodak [Sun, 7 Oct 2007 10:22:21 +0000 (10:22 +0000)]
MDL-11622, MDL-11623 xml import/export now uses user idnumber; feedback optional; related bugfixing

17 years agoMerged blog theme/lang fixes from MDL-10833
moodler [Sun, 7 Oct 2007 09:27:13 +0000 (09:27 +0000)]
Merged blog theme/lang fixes from MDL-10833

17 years agochecking that there remain $oldwrappedids before deleting them lines 87-..
pichetp [Sat, 6 Oct 2007 20:51:28 +0000 (20:51 +0000)]
checking that there remain $oldwrappedids before deleting them lines 87-..
add         if(is_array($oldwrappedids) && count($oldwrappedids)){

17 years agomissing global $CFG ; line 577
pichetp [Sat, 6 Oct 2007 19:02:26 +0000 (19:02 +0000)]
missing    global $CFG ; line 577
  function save_dataset_items($question, $fromform){
global $CFG;

17 years agoORPHAN_USER_LASTACCESS_PROBLEM . MDL-11604
stronk7 [Fri, 5 Oct 2007 22:27:55 +0000 (22:27 +0000)]
ORPHAN_USER_LASTACCESS_PROBLEM . MDL-11604

17 years agoMDL-11621 removed recursion from create_contexts()
skodak [Fri, 5 Oct 2007 20:47:08 +0000 (20:47 +0000)]
MDL-11621 removed recursion from create_contexts()

17 years agoMDL-11621 new create_contexts() function that makes sure all contexts exist, optional...
skodak [Fri, 5 Oct 2007 20:16:51 +0000 (20:16 +0000)]
MDL-11621 new create_contexts() function that makes sure all contexts exist, optionally initialises the paths and depths too

17 years agoMDL-11521 fixed problems when creating contexts and aprents does not exist yet
skodak [Fri, 5 Oct 2007 15:06:38 +0000 (15:06 +0000)]
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

17 years agofixed whitespace
skodak [Fri, 5 Oct 2007 14:31:57 +0000 (14:31 +0000)]
fixed whitespace

17 years agoSome SQL fixes to avoid putting 'quotes' around integers (performance)
moodler [Fri, 5 Oct 2007 13:34:28 +0000 (13:34 +0000)]
Some SQL fixes to avoid putting 'quotes' around integers  (performance)

17 years agoMDL-11576 grader report - if user can not see hidden grades they are treated as NULLs...
skodak [Fri, 5 Oct 2007 09:47:31 +0000 (09:47 +0000)]
MDL-11576 grader report - if user can not see hidden grades they are treated as NULLs and column totals

17 years agoPass $modcontext down through the functions so that print_post is more efficient...
moodler [Fri, 5 Oct 2007 07:26:02 +0000 (07:26 +0000)]
Pass $modcontext down through the functions so that print_post is more efficient   MDL-11606

17 years agoGet imagealt during outer loops so that print_user_picture is more efficient MDL...
moodler [Fri, 5 Oct 2007 06:47:14 +0000 (06:47 +0000)]
Get imagealt during outer loops so that print_user_picture is more efficient   MDL-11606

17 years agoEfficiency improvements to bring some SQL statements out of loops MDL-11606
moodler [Fri, 5 Oct 2007 06:36:31 +0000 (06:36 +0000)]
Efficiency improvements to bring some SQL statements out of loops  MDL-11606

17 years agoSmall efficiency improvement for print_user_picture() when it does access the db
moodler [Fri, 5 Oct 2007 06:32:53 +0000 (06:32 +0000)]
Small efficiency improvement for print_user_picture() when it does access the db

17 years agoMDL-11549, print_user() should also check user context when printing activity report...
toyomoyo [Fri, 5 Oct 2007 06:31:11 +0000 (06:31 +0000)]
MDL-11549, print_user() should also check user context when printing activity report link

17 years agoMDL-11500 Catching empty $coursemod when viewhiddensection is false, + corrected...
nicolasconnault [Fri, 5 Oct 2007 05:40:56 +0000 (05:40 +0000)]
MDL-11500 Catching empty $coursemod when viewhiddensection is false, + corrected type $coursemode => $coursemod

17 years agoMDL-11519 Commented out the Ajax option
nicolasconnault [Fri, 5 Oct 2007 05:37:55 +0000 (05:37 +0000)]
MDL-11519 Commented out the Ajax option

17 years agoMDL-11525 When courseid is not present in the log entry, showing "Site" instead of...
nicolasconnault [Fri, 5 Oct 2007 04:24:42 +0000 (04:24 +0000)]
MDL-11525 When courseid is not present in the log entry, showing "Site" instead of $log->info

17 years agomerged fix for MDL-10353, calendar export not handing course variable correctly
toyomoyo [Fri, 5 Oct 2007 03:52:17 +0000 (03:52 +0000)]
merged fix for MDL-10353, calendar export not handing course variable correctly

17 years agoMDL-11580 support for hidden state modification in gradebook from activities (quiz...
skodak [Thu, 4 Oct 2007 22:57:14 +0000 (22:57 +0000)]
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

17 years agoMDL-11492 help file re-write
wildgirl [Thu, 4 Oct 2007 20:32:09 +0000 (20:32 +0000)]
MDL-11492 help file re-write

17 years agoReset possible changes by blocks to time_limit. MDL-11597
stronk7 [Thu, 4 Oct 2007 17:55:59 +0000 (17:55 +0000)]
Reset possible changes by blocks to time_limit. MDL-11597

17 years agoReset possible changes by modules to time_limit. MDL-11597
stronk7 [Thu, 4 Oct 2007 17:42:30 +0000 (17:42 +0000)]
Reset possible changes by modules to time_limit. MDL-11597

17 years agoMDL-11599 missing return statement
skodak [Thu, 4 Oct 2007 17:09:34 +0000 (17:09 +0000)]
MDL-11599 missing return statement

17 years agoMDL-11580 - refinement to Yu's checkin, including removing the $CFG->openuniversityhacks.
tjhunt [Thu, 4 Oct 2007 15:57:09 +0000 (15:57 +0000)]
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.

17 years agoAdded some default roles that should have moodle/grade:viewhidden
moodler [Thu, 4 Oct 2007 15:45:37 +0000 (15:45 +0000)]
Added some default roles that should have moodle/grade:viewhidden

related to MDL-11580

17 years agoRe-enabling inherit options for range and average rows in grader report
nicolasconnault [Thu, 4 Oct 2007 15:07:08 +0000 (15:07 +0000)]
Re-enabling inherit options for range and average rows in grader report

17 years agoRe-enabling inherit options for range and average rows in grader report
nicolasconnault [Thu, 4 Oct 2007 09:30:16 +0000 (09:30 +0000)]
Re-enabling inherit options for range and average rows in grader report

17 years agoJust a little tidying up in the user report (padding)
moodler [Thu, 4 Oct 2007 09:21:23 +0000 (09:21 +0000)]
Just a little tidying up in the user report (padding)

17 years agoMDL-11582 switch category item only if it is really there - forgot to add courseitem...
skodak [Thu, 4 Oct 2007 09:00:29 +0000 (09:00 +0000)]
MDL-11582 switch category item only if it is really there - forgot to add courseitem into condition

17 years agomoving the class instantiation a bit earlier so that we can safely modify it
skodak [Thu, 4 Oct 2007 08:48:04 +0000 (08:48 +0000)]
moving the class instantiation a bit earlier so that we can safely modify it

17 years agoMDL-11582 switch category item only if it is really there
skodak [Thu, 4 Oct 2007 08:36:34 +0000 (08:36 +0000)]
MDL-11582 switch category item only if it is really there

17 years agoMDL-11580, hide quiz grades when user has no grade:viewhidden capability and quiz...
toyomoyo [Thu, 4 Oct 2007 08:22:55 +0000 (08:22 +0000)]
MDL-11580, hide quiz grades when user has no grade:viewhidden capability and quiz is still open, need $CFG->openuniversityhacks flag set

17 years agoMDL-11576 Added the groupsql clause to has_hidden_grades
nicolasconnault [Thu, 4 Oct 2007 08:16:13 +0000 (08:16 +0000)]
MDL-11576 Added the groupsql clause to has_hidden_grades

17 years agoMDL-11576 New grade_item method has_hidden_grades(), which returns a simple count...
nicolasconnault [Thu, 4 Oct 2007 08:02:00 +0000 (08:02 +0000)]
MDL-11576 New grade_item method has_hidden_grades(), which returns a simple count of hidden grades for the item.

17 years agoInstantiating a full $grade_item object, otherwise the get_displaytype() method is...
nicolasconnault [Thu, 4 Oct 2007 07:44:13 +0000 (07:44 +0000)]
Instantiating a full $grade_item object, otherwise the get_displaytype() method is not available and causes a fatal error

17 years agoMDL-11544, tags migrate script postgres db problem
toyomoyo [Thu, 4 Oct 2007 07:06:54 +0000 (07:06 +0000)]
MDL-11544, tags migrate script postgres db problem

17 years agoMDL-11581 Implemented gradedisplaytype in user reports
nicolasconnault [Thu, 4 Oct 2007 07:02:44 +0000 (07:02 +0000)]
MDL-11581 Implemented gradedisplaytype in user reports

17 years agoLatest tags file
moodler [Thu, 4 Oct 2007 06:44:51 +0000 (06:44 +0000)]
Latest tags file

17 years agoFIxed a string name which changed
moodler [Thu, 4 Oct 2007 06:06:07 +0000 (06:06 +0000)]
FIxed a string name which changed

17 years agouse target="$CFG->framename" instead of $CFG->frametarget when HotPot navigation...
gbateson [Thu, 4 Oct 2007 05:32:27 +0000 (05:32 +0000)]
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

17 years agomerged fix for MDL-10353, after setting preferences user should return to same course...
toyomoyo [Thu, 4 Oct 2007 05:13:28 +0000 (05:13 +0000)]
merged fix for MDL-10353, after setting preferences user should return to same course view

17 years agoAutomatic installer.php lang files by installer_builder (20071004)
moodler [Thu, 4 Oct 2007 05:12:43 +0000 (05:12 +0000)]
Automatic installer.php lang files by installer_builder (20071004)

17 years agoprevent returning of invalid array from get_course_managers()
skodak [Wed, 3 Oct 2007 22:26:05 +0000 (22:26 +0000)]
prevent returning of invalid array from get_course_managers()

17 years agoMDL-11587 new grade_seq class similar to grade_tree but flat
skodak [Wed, 3 Oct 2007 21:14:58 +0000 (21:14 +0000)]
MDL-11587 new grade_seq class similar to grade_tree but flat

17 years agoMDL-11583 fixed use of capability moodle/grade:manageletters - now works in plugin...
skodak [Wed, 3 Oct 2007 20:24:59 +0000 (20:24 +0000)]
MDL-11583 fixed use of capability moodle/grade:manageletters - now works in plugin selector

17 years agoMDL-11585 false is not allowed default in admin_setting_configselect constructor
skodak [Wed, 3 Oct 2007 20:02:12 +0000 (20:02 +0000)]
MDL-11585 false is not allowed default in admin_setting_configselect constructor

17 years agoMoving some uses of deprecated functions to recordsets
stronk7 [Wed, 3 Oct 2007 18:39:38 +0000 (18:39 +0000)]
Moving some uses of deprecated functions to recordsets
in cron. MDL-11571 and MDL-11487.
Fixed wrong call to cleanup_dirty_contexts() and changed
to gc_cache_flags(). Please review. MDL-11347

17 years agoMDL-11344 Reverting commit 1.145 and keeping deprecated $string['editlang'] for backw...
mudrd8mz [Wed, 3 Oct 2007 16:39:08 +0000 (16:39 +0000)]
MDL-11344 Reverting commit 1.145 and keeping deprecated $string['editlang'] for backwards compatibility.

17 years agoMoving 3 functions from datalib to deprecatedlib. Only used
stronk7 [Wed, 3 Oct 2007 16:31:20 +0000 (16:31 +0000)]
Moving 3 functions from datalib to deprecatedlib. Only used
by admin/cron.php. First step of MDL-11571 and MDL-11487

17 years agoMDL-11143 fixed defaultfrongpageroleid typo and fixed notices during install and...
skodak [Wed, 3 Oct 2007 14:38:55 +0000 (14:38 +0000)]
MDL-11143 fixed defaultfrongpageroleid typo and fixed notices during install and upgrade cause by undefined $CFG->defaultfrontpageroleid

17 years agofixed context parameter in has_capability() call
skodak [Wed, 3 Oct 2007 14:16:04 +0000 (14:16 +0000)]
fixed context parameter in has_capability() call

17 years agofixed incorrect use of forum contexts in search/documents/*
skodak [Wed, 3 Oct 2007 14:13:13 +0000 (14:13 +0000)]
fixed incorrect use of forum contexts in search/documents/*

17 years agoAdapted README due to attribute requirement change
exe-cutor [Wed, 3 Oct 2007 12:36:48 +0000 (12:36 +0000)]
Adapted README due to attribute requirement change

17 years agoFixed longtimenosee unenrolments. user_lastaccess and role_assignments were growing...
moodler [Wed, 3 Oct 2007 12:24:06 +0000 (12:24 +0000)]
Fixed longtimenosee unenrolments.  user_lastaccess and role_assignments were growing with uneccessary entries, to the point where memory limits were reached and in the end NO unenrolments were happening at all.

See  MDL-11571

17 years agoMDL-11482 Resolved the sum icon issue (added a new x-bar icon) and resolved a depende...
nicolasconnault [Wed, 3 Oct 2007 12:22:25 +0000 (12:22 +0000)]
MDL-11482 Resolved the sum icon issue (added a new x-bar icon) and resolved a dependency problem in moodlelib

17 years agoDon't use the 100 limit for debugging in anything lower than DEBUG_DEVELOPER mode
moodler [Wed, 3 Oct 2007 12:04:02 +0000 (12:04 +0000)]
Don't use the 100 limit for debugging in anything lower than DEBUG_DEVELOPER mode

17 years agoMDL-11566 site summary now optional
skodak [Wed, 3 Oct 2007 10:35:34 +0000 (10:35 +0000)]
MDL-11566 site summary now optional

17 years agoFixed some notices but this needs review from Petr MDL-10383
moodler [Wed, 3 Oct 2007 09:12:01 +0000 (09:12 +0000)]
Fixed some notices but this needs review from Petr   MDL-10383

17 years agoMDL-11553, bulk user actions selection buttons do not work as expected
toyomoyo [Wed, 3 Oct 2007 08:26:13 +0000 (08:26 +0000)]
MDL-11553, bulk user actions selection buttons do not work as expected

17 years agoMDL-11535, error in block sql group by clause
toyomoyo [Wed, 3 Oct 2007 06:20:23 +0000 (06:20 +0000)]
MDL-11535, error in block sql group by clause

17 years agoAutomatic installer.php lang files by installer_builder (20071003)
moodler [Wed, 3 Oct 2007 05:07:25 +0000 (05:07 +0000)]
Automatic installer.php lang files by installer_builder (20071003)

17 years agoMDL-11139 "Need to pass courseid or cmid to this script when moving questions between...
jamiesensei [Wed, 3 Oct 2007 04:42:57 +0000 (04:42 +0000)]
MDL-11139 "Need to pass courseid or cmid to this script when moving questions between categories "  added COURSE to globals in function that redirects browser to contextmoveq page.

17 years agoMDL-10353, in view.php we should not supply default course, otherwise calendar filter...
toyomoyo [Wed, 3 Oct 2007 04:21:53 +0000 (04:21 +0000)]
MDL-10353, in view.php we should not supply default course, otherwise calendar filters will not be set up properly (course filter wrong)

17 years agoMake sure that the role names gets filtered in get_assignable_roles()
moodler [Wed, 3 Oct 2007 03:33:57 +0000 (03:33 +0000)]
Make sure that the role names gets filtered in get_assignable_roles()

17 years agoFixed the list of role names (order and filters) MDL-11143
moodler [Wed, 3 Oct 2007 03:31:31 +0000 (03:31 +0000)]
Fixed the list of role names (order and filters)   MDL-11143

17 years agofix for fatal error in tabs.php because of missing global var contexts.
jamiesensei [Wed, 3 Oct 2007 03:16:27 +0000 (03:16 +0000)]
fix for fatal error in tabs.php because of missing global var contexts.

17 years agoMDL-11568 warnings - can not use $USER->property when not logged in - quick fix,...
skodak [Tue, 2 Oct 2007 23:08:00 +0000 (23:08 +0000)]
MDL-11568 warnings - can not use $USER->property when not logged in - quick fix, please review last commits

17 years agoMDL-11523 fixed - moving categories and courses around breaks paths and depths in...
skodak [Tue, 2 Oct 2007 22:34:12 +0000 (22:34 +0000)]
MDL-11523 fixed - moving categories and courses around breaks paths and depths in context table + some notice fixes

17 years agoonly whitespace beautification
skodak [Tue, 2 Oct 2007 21:45:49 +0000 (21:45 +0000)]
only whitespace beautification

17 years agoMDL-11143 unimportant change
skodak [Tue, 2 Oct 2007 21:45:02 +0000 (21:45 +0000)]
MDL-11143 unimportant change

17 years agoMDL-11562 supportname and supportemail are are now initialized after admin user setup
skodak [Tue, 2 Oct 2007 21:38:53 +0000 (21:38 +0000)]
MDL-11562 supportname and supportemail are are now initialized after admin user setup
MDL-11566 only site shortname, fullname and desc are required/displayed during installation
MDL-11567 fixed upgradesettings redirects if error in settings
MDL-11143 defaultfrontpageroleid moved to Frontpage settings page (easier to find), speedup

17 years agoPHP docs for choose_from_menu function. Merged from MOODLE_18_STABLE.
tjhunt [Tue, 2 Oct 2007 18:49:04 +0000 (18:49 +0000)]
PHP docs for choose_from_menu function. Merged from MOODLE_18_STABLE.

17 years agoadded missing string definition for sectionerror. Fixed MDL-10766
whchuang [Tue, 2 Oct 2007 17:59:06 +0000 (17:59 +0000)]
added missing string definition for sectionerror. Fixed MDL-10766