moodle.git
9 years agoMerge branch 'MDL-31013-master-1' of git://git.luns.net.uk/moodle
Sam Hemelryk [Mon, 23 Jan 2012 03:08:22 +0000 (11:08 +0800)]
Merge branch 'MDL-31013-master-1' of git://git.luns.net.uk/moodle

9 years agoMerge branch 'wip-MDL-31179-master' of github.com:marinaglancy/moodle
Eloy Lafuente (stronk7) [Mon, 23 Jan 2012 00:19:18 +0000 (01:19 +0100)]
Merge branch 'wip-MDL-31179-master' of github.com:marinaglancy/moodle

9 years agoMerge branch 'w04_MDL-31180_m23_closedproperty' of git://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Mon, 23 Jan 2012 00:10:38 +0000 (01:10 +0100)]
Merge branch 'w04_MDL-31180_m23_closedproperty' of git://github.com/skodak/moodle

9 years agoMerge branch 'w04_MDL-31181_m23_fitlertestcfg' of git://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Mon, 23 Jan 2012 00:04:00 +0000 (01:04 +0100)]
Merge branch 'w04_MDL-31181_m23_fitlertestcfg' of git://github.com/skodak/moodle

9 years agoMerge branch 'MDL-31058' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Sun, 22 Jan 2012 23:56:08 +0000 (00:56 +0100)]
Merge branch 'MDL-31058' of git://github.com/timhunt/moodle

9 years agoMerge branch 'w04_MDL-31185_m23_postscfg' of git://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Sun, 22 Jan 2012 23:28:08 +0000 (00:28 +0100)]
Merge branch 'w04_MDL-31185_m23_postscfg' of git://github.com/skodak/moodle

9 years agoMDL-31180 fix coding error in fake_recordset iterator
Petr Skoda [Sat, 21 Jan 2012 16:13:39 +0000 (17:13 +0100)]
MDL-31180 fix coding error in fake_recordset iterator

9 years agoMDL-31181 fix missing global $CFG that was breaking unit test teardown
Petr Skoda [Sat, 21 Jan 2012 16:07:59 +0000 (17:07 +0100)]
MDL-31181 fix missing global $CFG that was breaking unit test teardown

9 years agoMDL-31185 fix missing CFG in forum_get_posts_by_user()
Petr Skoda [Sat, 21 Jan 2012 15:17:06 +0000 (16:17 +0100)]
MDL-31185 fix missing CFG in forum_get_posts_by_user()

9 years agoMDL-31208 fix obsolete get_record_sql() parameter
Petr Skoda [Sat, 21 Jan 2012 10:36:10 +0000 (11:36 +0100)]
MDL-31208 fix obsolete get_record_sql() parameter

Credit goes to Rajesh Taneja.

9 years agoMDL-31058 qtype match 1.9 restore: fix restore of dodgy questions.
Tim Hunt [Wed, 11 Jan 2012 17:36:30 +0000 (17:36 +0000)]
MDL-31058 qtype match 1.9 restore: fix restore of dodgy questions.

9 years agoMDL-31179: added missing global
Marina Glancy [Tue, 17 Jan 2012 05:55:10 +0000 (13:55 +0800)]
MDL-31179: added missing global

9 years agoweekly release 2.3dev (blame stronk7 for 0202 mistake)
Eloy Lafuente (stronk7) [Thu, 19 Jan 2012 12:34:40 +0000 (13:34 +0100)]
weekly release 2.3dev (blame stronk7 for 0202 mistake)

On 20120102 version was incorrectly bumped to 2012-02-02. So,
until then (< 1mo) we are going to be incrementing decimal digits
only and not date ones (first 8).

9 years agoMerge branch 'install_master' of git://github.com/amosbot/moodle
Eloy Lafuente (stronk7) [Thu, 19 Jan 2012 12:28:00 +0000 (13:28 +0100)]
Merge branch 'install_master' of git://github.com/amosbot/moodle

9 years agoMDL-31242 Prevent redefinition of MOODLE_INTERNAL when loading multiple YUI modules...
Andrew Robert Nicols [Wed, 18 Jan 2012 12:29:26 +0000 (12:29 +0000)]
MDL-31242 Prevent redefinition of MOODLE_INTERNAL when loading multiple YUI modules from Moodle

9 years agoMDL-31006 revert partially @ get_config()
Eloy Lafuente (stronk7) [Wed, 18 Jan 2012 01:09:46 +0000 (02:09 +0100)]
MDL-31006 revert partially @ get_config()

The change from null to stdClass() in get_config() was leading to:

1) unit tests not passing.
2) non-equivalent evaluation in conditions (null evals false,
   stdClassi() evals true)

9 years agoAutomatically generated installer lang files
AMOS bot [Wed, 18 Jan 2012 00:31:32 +0000 (00:31 +0000)]
Automatically generated installer lang files

9 years agoMDL-31006 some more PHP54 notices
Petr Skoda [Sun, 15 Jan 2012 20:49:30 +0000 (21:49 +0100)]
MDL-31006 some more PHP54 notices

PHP54 compatibility - PhpStorm IDE is the best tool for this kind of work!!

9 years agoMDL-31006 fix various notices in PHP54
Petr Skoda [Sun, 15 Jan 2012 12:37:53 +0000 (13:37 +0100)]
MDL-31006 fix various notices in PHP54

PHP54 compatibility

9 years agoMerge branch 'w03_MDL-31213_m23_attributesmess' of git://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Tue, 17 Jan 2012 11:32:47 +0000 (12:32 +0100)]
Merge branch 'w03_MDL-31213_m23_attributesmess' of git://github.com/skodak/moodle

9 years agoMDL-31213 fix incorrect modifications of quickforms attributes
Petr Skoda [Tue, 17 Jan 2012 10:17:35 +0000 (11:17 +0100)]
MDL-31213 fix incorrect modifications of quickforms attributes

9 years agoMerge branch 'w03_MDL-31053_m23_contextpreloading' of git://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Tue, 17 Jan 2012 01:18:46 +0000 (02:18 +0100)]
Merge branch 'w03_MDL-31053_m23_contextpreloading' of git://github.com/skodak/moodle

9 years agoMerge branch 'w03_MDL-31127_m23_switchaccessinit' of git://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Tue, 17 Jan 2012 01:10:41 +0000 (02:10 +0100)]
Merge branch 'w03_MDL-31127_m23_switchaccessinit' of git://github.com/skodak/moodle

9 years agoMerge branch 'w03_MDL-31161_m23_reqpluginnotice' of git://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Tue, 17 Jan 2012 01:05:53 +0000 (02:05 +0100)]
Merge branch 'w03_MDL-31161_m23_reqpluginnotice' of git://github.com/skodak/moodle

9 years agoMerge branch 'MDL-31080' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Tue, 17 Jan 2012 00:58:51 +0000 (01:58 +0100)]
Merge branch 'MDL-31080' of git://github.com/timhunt/moodle

9 years agoMerge branch 'MDL-30408-master' of git://github.com/sammarshallou/moodle
Eloy Lafuente (stronk7) [Tue, 17 Jan 2012 00:43:19 +0000 (01:43 +0100)]
Merge branch 'MDL-30408-master' of git://github.com/sammarshallou/moodle

9 years agoMerge branch 'w03_MDL-31142_m23_slowiconv' of git://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Tue, 17 Jan 2012 00:36:03 +0000 (01:36 +0100)]
Merge branch 'w03_MDL-31142_m23_slowiconv' of git://github.com/skodak/moodle

9 years agoMerge branch 'w03_MDL-31171_m23_blogattachment' of git://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Tue, 17 Jan 2012 00:31:59 +0000 (01:31 +0100)]
Merge branch 'w03_MDL-31171_m23_blogattachment' of git://github.com/skodak/moodle

9 years agoAutomatically generated installer lang files
AMOS bot [Tue, 17 Jan 2012 00:31:09 +0000 (00:31 +0000)]
Automatically generated installer lang files

9 years agoMerge branch 'w03_MDL-31170_m23_blogblocks' of git://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Mon, 16 Jan 2012 23:55:31 +0000 (00:55 +0100)]
Merge branch 'w03_MDL-31170_m23_blogblocks' of git://github.com/skodak/moodle

9 years agoMerge branch 'MDL-3054' of git://github.com/nebgor/moodle
Eloy Lafuente (stronk7) [Mon, 16 Jan 2012 11:24:35 +0000 (12:24 +0100)]
Merge branch 'MDL-3054' of git://github.com/nebgor/moodle

9 years agoMerge branch 'MDL-31196' of git://github.com/stronk7/moodle
Eloy Lafuente (stronk7) [Mon, 16 Jan 2012 11:16:42 +0000 (12:16 +0100)]
Merge branch 'MDL-31196' of git://github.com/stronk7/moodle

9 years agoMDL-31196 quiz stats - fix version out of sync introduced recently
Eloy Lafuente (stronk7) [Mon, 16 Jan 2012 10:11:16 +0000 (11:11 +0100)]
MDL-31196 quiz stats - fix version out of sync introduced recently

Pointing to current master version as requirement (2012020200)

9 years agoMDL-3054 quiz : correcting currentpage to unsigned
Aparup Banerjee [Mon, 16 Jan 2012 09:35:57 +0000 (17:35 +0800)]
MDL-3054 quiz : correcting currentpage to unsigned

9 years agoMerge branch 'MDL-31095' of git://github.com/timhunt/moodle
Sam Hemelryk [Mon, 16 Jan 2012 08:58:32 +0000 (16:58 +0800)]
Merge branch 'MDL-31095' of git://github.com/timhunt/moodle

9 years agoMerge branch 'MDL-31135' of https://github.com/timhunt/moodle
Sam Hemelryk [Mon, 16 Jan 2012 08:40:33 +0000 (16:40 +0800)]
Merge branch 'MDL-31135' of https://github.com/timhunt/moodle

9 years agoMerge branch 'MDL-31102' of git://github.com/timhunt/moodle
Sam Hemelryk [Mon, 16 Jan 2012 08:30:48 +0000 (16:30 +0800)]
Merge branch 'MDL-31102' of git://github.com/timhunt/moodle

9 years agoMDL-30929 fixed spelling mistake in string.
Aparup Banerjee [Mon, 16 Jan 2012 08:22:49 +0000 (16:22 +0800)]
MDL-30929 fixed spelling mistake in string.

9 years agoMerge remote-tracking branch 'skodak/w03_MDL-27165_m23_confirmed'
Sam Hemelryk [Mon, 16 Jan 2012 08:17:28 +0000 (16:17 +0800)]
Merge remote-tracking branch 'skodak/w03_MDL-27165_m23_confirmed'

9 years agoMDL-31142 fix textlib::substr() performance, invalid length in iconv_substr; use...
Petr Skoda [Sat, 14 Jan 2012 19:55:02 +0000 (20:55 +0100)]
MDL-31142 fix textlib::substr() performance, invalid length in iconv_substr; use mbstring by default

9 years agoMerge branch 'w03_MDL-30929_m23_stalefiles' of https://github.com/skodak/moodle
Aparup Banerjee [Mon, 16 Jan 2012 08:15:04 +0000 (16:15 +0800)]
Merge branch 'w03_MDL-30929_m23_stalefiles' of https://github.com/skodak/moodle

9 years agoMDL-30929 detect incorrect major version upgrades
Petr Skoda [Sun, 1 Jan 2012 16:24:36 +0000 (17:24 +0100)]
MDL-30929 detect incorrect major version upgrades

9 years agoMerge branch 'MDL-31143' of https://github.com/timhunt/moodle
Aparup Banerjee [Mon, 16 Jan 2012 07:29:05 +0000 (15:29 +0800)]
Merge branch 'MDL-31143' of https://github.com/timhunt/moodle

9 years agoMerge remote-tracking branch 'skodak/w03_MDL-29102_m23_autogrouping'
Sam Hemelryk [Mon, 16 Jan 2012 07:12:02 +0000 (15:12 +0800)]
Merge remote-tracking branch 'skodak/w03_MDL-29102_m23_autogrouping'

9 years agoMerge remote-tracking branch 'skodak/w03_MDL-30891_m23_repository'
Sam Hemelryk [Mon, 16 Jan 2012 07:01:36 +0000 (15:01 +0800)]
Merge remote-tracking branch 'skodak/w03_MDL-30891_m23_repository'

9 years agoMerge remote-tracking branch 'skodak/w03_MDL-30958_m23_yuissl'
Sam Hemelryk [Mon, 16 Jan 2012 06:55:52 +0000 (14:55 +0800)]
Merge remote-tracking branch 'skodak/w03_MDL-30958_m23_yuissl'

9 years agoMerge branch 'w03_MDL-31166_m23_clipath' of https://github.com/skodak/moodle
Aparup Banerjee [Mon, 16 Jan 2012 06:52:23 +0000 (14:52 +0800)]
Merge branch 'w03_MDL-31166_m23_clipath' of https://github.com/skodak/moodle

9 years agoMDL-31011 course: Fixed typo in comment
Sam Hemelryk [Mon, 16 Jan 2012 06:44:57 +0000 (14:44 +0800)]
MDL-31011 course: Fixed typo in comment

9 years agoMerge remote-tracking branch 'skodak/w03_MDL-31011_m23_loglinks'
Sam Hemelryk [Mon, 16 Jan 2012 06:49:55 +0000 (14:49 +0800)]
Merge remote-tracking branch 'skodak/w03_MDL-31011_m23_loglinks'

9 years agoMerge branch 'w03_MDL-21992_m23_customscripts' of https://github.com/skodak/moodle
Aparup Banerjee [Mon, 16 Jan 2012 06:46:39 +0000 (14:46 +0800)]
Merge branch 'w03_MDL-21992_m23_customscripts' of https://github.com/skodak/moodle

9 years agoMerge branch 'wip-MDL-31025-m23' of https://github.com/samhemelryk/moodle
Aparup Banerjee [Mon, 16 Jan 2012 06:40:46 +0000 (14:40 +0800)]
Merge branch 'wip-MDL-31025-m23' of https://github.com/samhemelryk/moodle

9 years agoMerge remote-tracking branch 'skodak/w03_MDL-31035_m23_identitynotice'
Sam Hemelryk [Mon, 16 Jan 2012 06:38:47 +0000 (14:38 +0800)]
Merge remote-tracking branch 'skodak/w03_MDL-31035_m23_identitynotice'

9 years agoMerge remote-tracking branch 'skodak/w03_MDL-31117_m23_grouptodo'
Sam Hemelryk [Mon, 16 Jan 2012 06:35:30 +0000 (14:35 +0800)]
Merge remote-tracking branch 'skodak/w03_MDL-31117_m23_grouptodo'

9 years agoMerge remote-tracking branch 'skodak/w03_MDL-31109_m23_maintenance'
Sam Hemelryk [Mon, 16 Jan 2012 06:33:40 +0000 (14:33 +0800)]
Merge remote-tracking branch 'skodak/w03_MDL-31109_m23_maintenance'

9 years agoMerge remote-tracking branch 'skodak/w03_MDL-31092_m23_emailpass'
Sam Hemelryk [Mon, 16 Jan 2012 06:30:43 +0000 (14:30 +0800)]
Merge remote-tracking branch 'skodak/w03_MDL-31092_m23_emailpass'

9 years agoMDL-29724-update login page layout for all themes
Mary Evans [Tue, 10 Jan 2012 01:21:22 +0000 (01:21 +0000)]
MDL-29724-update login page layout for all themes

9 years agoMDL-3054 quiz : cleaned whitespaces.
Aparup Banerjee [Mon, 16 Jan 2012 05:41:12 +0000 (13:41 +0800)]
MDL-3054 quiz : cleaned whitespaces.

9 years agoMerge branch 'MDL-3054' of git://github.com/mackensen/moodle
Aparup Banerjee [Mon, 16 Jan 2012 05:38:49 +0000 (13:38 +0800)]
Merge branch 'MDL-3054' of git://github.com/mackensen/moodle

9 years agoMerge branch 'MDL-31144' of git://github.com/lazydaisy/moodle
Sam Hemelryk [Mon, 16 Jan 2012 05:16:44 +0000 (13:16 +0800)]
Merge branch 'MDL-31144' of git://github.com/lazydaisy/moodle

9 years agoMerge branch 'MDL-31164' of git://github.com/lazydaisy/moodle
Sam Hemelryk [Mon, 16 Jan 2012 05:08:39 +0000 (13:08 +0800)]
Merge branch 'MDL-31164' of git://github.com/lazydaisy/moodle

9 years agoMerge branch 'wip-MDL-31060-master' of git://github.com/marinaglancy/moodle
Sam Hemelryk [Mon, 16 Jan 2012 03:58:16 +0000 (11:58 +0800)]
Merge branch 'wip-MDL-31060-master' of git://github.com/marinaglancy/moodle

9 years agoMerge branch 'MDL-31130' of git://github.com/timhunt/moodle
Sam Hemelryk [Mon, 16 Jan 2012 03:49:33 +0000 (11:49 +0800)]
Merge branch 'MDL-31130' of git://github.com/timhunt/moodle

9 years agoMerge branch 'wip-MDL-31072-master' of github.com:marinaglancy/moodle
Aparup Banerjee [Mon, 16 Jan 2012 03:39:05 +0000 (11:39 +0800)]
Merge branch 'wip-MDL-31072-master' of github.com:marinaglancy/moodle

9 years agoMerge branch 'moodleurl_out_as_local_url' of git://git.luns.net.uk/moodle
Sam Hemelryk [Mon, 16 Jan 2012 03:31:24 +0000 (11:31 +0800)]
Merge branch 'moodleurl_out_as_local_url' of git://git.luns.net.uk/moodle

9 years agoMerge branch 'MDL-31018-master-1' of git://git.luns.net.uk/moodle
Sam Hemelryk [Mon, 16 Jan 2012 03:11:17 +0000 (11:11 +0800)]
Merge branch 'MDL-31018-master-1' of git://git.luns.net.uk/moodle

9 years agoMerge branch 'MDL-31040-master-2' of git://git.luns.net.uk/moodle
Sam Hemelryk [Mon, 16 Jan 2012 02:54:08 +0000 (10:54 +0800)]
Merge branch 'MDL-31040-master-2' of git://git.luns.net.uk/moodle

9 years agoMerge branch 'master_MDL-30578' of git://github.com/mayankgupta/moodle
Aparup Banerjee [Mon, 16 Jan 2012 02:14:23 +0000 (10:14 +0800)]
Merge branch 'master_MDL-30578' of git://github.com/mayankgupta/moodle

9 years agoMerge branch 'w03_MDL-31165_m23_innodbconv' of git://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Mon, 16 Jan 2012 01:06:27 +0000 (02:06 +0100)]
Merge branch 'w03_MDL-31165_m23_innodbconv' of git://github.com/skodak/moodle

9 years agoMerge branch 'MDL-31100' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Mon, 16 Jan 2012 00:02:29 +0000 (01:02 +0100)]
Merge branch 'MDL-31100' of git://github.com/timhunt/moodle

9 years agoMDL-30578, Updating CMILongIdentifer read comments at tracker
Mayank Gupa [Wed, 11 Jan 2012 20:02:51 +0000 (01:32 +0530)]
MDL-30578, Updating CMILongIdentifer read comments at tracker

9 years agoMDL-30578, Updating CMILongIdentifer to check for valid URI (RFC 3986 [6]) and URN...
Mayank Gupa [Sun, 4 Dec 2011 23:23:25 +0000 (04:53 +0530)]
MDL-30578, Updating CMILongIdentifer to check for valid URI (RFC 3986 [6]) and URN syntax as per RFC 2141 [3]

9 years agoMDL-29102 fix notice when auto-creating groups in existing grouping
Petr Skoda [Sun, 15 Jan 2012 18:26:43 +0000 (19:26 +0100)]
MDL-29102 fix notice when auto-creating groups in existing grouping

9 years agoMDL-31171 fix blog attachment serving in BLOG_USER_LEVEL
Petr Skoda [Sun, 15 Jan 2012 18:11:16 +0000 (19:11 +0100)]
MDL-31171 fix blog attachment serving in BLOG_USER_LEVEL

9 years agoMDL-31011 fix report links in logs
Petr Skoda [Sun, 15 Jan 2012 18:02:08 +0000 (19:02 +0100)]
MDL-31011 fix report links in logs

9 years agoMDL-31035 fix showuseridentity notice before settings upgrade
Petr Skoda [Sun, 15 Jan 2012 16:12:35 +0000 (17:12 +0100)]
MDL-31035 fix showuseridentity notice before settings upgrade

9 years agoMDL-21992 fix custom scripts on https pages and CLI
Petr Skoda [Sun, 15 Jan 2012 14:51:55 +0000 (15:51 +0100)]
MDL-21992 fix custom scripts on https pages and CLI

9 years agoMDL-31161 fix notice when checking plugin requirements
Petr Skoda [Sun, 15 Jan 2012 14:34:56 +0000 (15:34 +0100)]
MDL-31161 fix notice when checking plugin requirements

Credit goes to Joseph R├ęzeau, thanks.

9 years agoMDL-30958 do not use Yahoo CDN on https sites
Petr Skoda [Sun, 15 Jan 2012 14:24:34 +0000 (15:24 +0100)]
MDL-30958 do not use Yahoo CDN on https sites

Browsers do not like mixing of ssl and non-use content on one page. Unfortunately YAHOO does not provide the files over SSL yet - see http://yuilibrary.com/yui/docs/tutorials/faq/#does-yahoos-cdn-support-ssl

9 years agoMDL-31170 fix automatic blog blocks hiding/unhiding after blog level change
Petr Skoda [Sun, 15 Jan 2012 12:40:12 +0000 (13:40 +0100)]
MDL-31170 fix automatic blog blocks hiding/unhiding after blog level change

9 years agoMDL-31092 send localised new account emails
Petr Skoda [Sun, 15 Jan 2012 10:33:08 +0000 (11:33 +0100)]
MDL-31092 send localised new account emails

9 years agoMDL-31166 do not try to cleanup data root paths in CLI install script
Petr Skoda [Sun, 15 Jan 2012 10:05:00 +0000 (11:05 +0100)]
MDL-31166 do not try to cleanup data root paths in CLI install script

PARAM_TYPE can not be used for full OS paths. Admins have to enter correct data there, if not they get directory creation error.

9 years agoMDL-31165 fix InnoDB conversion query to use ENGINE parameter instead of legacy TYPE
Petr Skoda [Sat, 14 Jan 2012 21:52:46 +0000 (22:52 +0100)]
MDL-31165 fix InnoDB conversion query to use ENGINE parameter instead of legacy TYPE

9 years agoAutomatically generated installer lang files
AMOS bot [Sun, 15 Jan 2012 00:31:08 +0000 (00:31 +0000)]
Automatically generated installer lang files

9 years agoMDL-31164-Fixes Sky High theme truncates report-Part2
Mary Evans [Sun, 15 Jan 2012 00:09:20 +0000 (00:09 +0000)]
MDL-31164-Fixes Sky High theme truncates report-Part2

9 years agoMDL-31109 fix maintenance link value in get_string()
Petr Skoda [Sat, 14 Jan 2012 23:56:01 +0000 (00:56 +0100)]
MDL-31109 fix maintenance link value in get_string()

9 years agoMDL-31117 delete obsolete TODO
Petr Skoda [Sat, 14 Jan 2012 23:43:28 +0000 (00:43 +0100)]
MDL-31117 delete obsolete TODO

This TODO was added when we were still using moodledata folder for group images, it is not relevant any more because group images are in new file API which supports DB transaction rollbacks.

9 years agoMDL-31127 init USER->access when switching roles
Petr Skoda [Sat, 14 Jan 2012 23:14:44 +0000 (00:14 +0100)]
MDL-31127 init USER->access when switching roles

Only admins were affected by this problem because has_capability() does not init USER->access for them.

9 years agoMDL-27165 fix broken confirmed user filtering
Petr Skoda [Sat, 14 Jan 2012 21:14:26 +0000 (22:14 +0100)]
MDL-27165 fix broken confirmed user filtering

9 years agoMDL-30891 fix invalid hardcoded capability check when disable legacy files repo
Petr Skoda [Sat, 14 Jan 2012 20:57:01 +0000 (21:57 +0100)]
MDL-30891 fix invalid hardcoded capability check when disable legacy files repo

9 years agoMDL-31053 fix invalid context preloading in get_user_capability_course()
Petr Skoda [Sat, 14 Jan 2012 20:36:02 +0000 (21:36 +0100)]
MDL-31053 fix invalid context preloading in get_user_capability_course()

9 years agoMDL-31124 reinstroduce accidentally removed restore code for 1.9 backups
Petr Skoda [Sat, 14 Jan 2012 20:17:50 +0000 (21:17 +0100)]
MDL-31124 reinstroduce accidentally removed restore code for 1.9 backups

9 years agoMDL-31144-fixes hidden Navigation block menu items when docked
Mary Evans [Sat, 14 Jan 2012 01:16:29 +0000 (01:16 +0000)]
MDL-31144-fixes hidden Navigation block menu items when docked

9 years agoMDL-29091 quiz - switch to use moodle_url::out_as_local_url
Dan Poltawski [Wed, 24 Aug 2011 14:31:56 +0000 (15:31 +0100)]
MDL-29091 quiz - switch to use moodle_url::out_as_local_url

9 years agoMDL-29091 weblib - Introduce out_as_local_url() method to moodle_url
Dan Poltawski [Wed, 24 Aug 2011 14:20:46 +0000 (15:20 +0100)]
MDL-29091 weblib - Introduce out_as_local_url() method to moodle_url

This can be used for passing around PARAM_LOCALURL's where necessary
stripping the wwwroot

9 years agoMDL-31072: Added indexes to table role_assignments to speed up work in many-users...
Marina Glancy [Tue, 10 Jan 2012 06:57:05 +0000 (14:57 +0800)]
MDL-31072: Added indexes to table role_assignments to speed up work in many-users-many-contexts environments

9 years agoMDL-31072: Fixed bug causing memory overflow for many-user systems:
Marina Glancy [Tue, 10 Jan 2012 06:39:06 +0000 (14:39 +0800)]
MDL-31072: Fixed bug causing memory overflow for many-user systems:

when function find_users was supposed to be used for user validation but no userids were passed to it, it retrieved all users in the system.
This caused memory overflow on systems with too many users (like moodle.org).
Now we make sure that find_users is not called for validation if there is nobody to validate.

Also improved query inside find_users to make it work faster

9 years agoMDL-31060: removed unnecessary fields from query which also caused problems in MSSQL
Marina Glancy [Tue, 10 Jan 2012 02:03:43 +0000 (10:03 +0800)]
MDL-31060: removed unnecessary fields from query which also caused problems in MSSQL

9 years agoMDL-31025 navigation: When calling load_section_activities you must provide an array...
Sam Hemelryk [Thu, 5 Jan 2012 01:29:44 +0000 (14:29 +1300)]
MDL-31025 navigation: When calling load_section_activities you must provide an array of activities not course_modinfo

9 years agoMDL-30408 Allow modules the choice to not appear on 'Add a...' lists
sam marshall [Tue, 22 Nov 2011 16:16:23 +0000 (16:16 +0000)]
MDL-30408 Allow modules the choice to not appear on 'Add a...' lists

This is useful for modules which are created by the system and are not supposed to be created by users. There are various reasons for doing this in third-party modules.

9 years agoMDL-3054 record the current page of a quiz attempt
Charles Fulton [Sun, 8 Jan 2012 22:14:09 +0000 (14:14 -0800)]
MDL-3054 record the current page of a quiz attempt