moodle.git
10 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

10 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)

10 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!!

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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)

10 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

10 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

10 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

10 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

10 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.

10 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'

10 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

10 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

10 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

10 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

10 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'

10 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'

10 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'

10 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

10 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

10 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'

10 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

10 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

10 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'

10 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'

10 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'

10 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'

10 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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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]

10 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

10 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

10 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

10 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

10 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

10 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.

10 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

10 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

10 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

10 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.

10 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

10 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

10 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()

10 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.

10 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.

10 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

10 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

10 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()

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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.

10 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

10 years agoMDL-31143 quiz reports: average grade of null causes php error.
Tim Hunt [Thu, 12 Jan 2012 16:42:19 +0000 (16:42 +0000)]
MDL-31143 quiz reports: average grade of null causes php error.

10 years agoMDL-31135 question instances report: 'All' option broken
Tim Hunt [Thu, 12 Jan 2012 12:43:22 +0000 (12:43 +0000)]
MDL-31135 question instances report: 'All' option broken

10 years agoMDL-31130 question bank: toggling show all / 20 per page broken.
Jonathon Fowler [Thu, 12 Jan 2012 12:41:25 +0000 (12:41 +0000)]
MDL-31130 question bank: toggling show all / 20 per page broken.

10 years agoMDL-31102 question preview: fix HTML validation errors.
Tim Hunt [Tue, 10 Jan 2012 15:39:37 +0000 (15:39 +0000)]
MDL-31102 question preview: fix HTML validation errors.

10 years agoMDL-31100 unit tests: don't mangle UTF-8 in failure messages.
Tim Hunt [Tue, 10 Jan 2012 13:59:40 +0000 (13:59 +0000)]
MDL-31100 unit tests: don't mangle UTF-8 in failure messages.

10 years agoMDL-31095 quiz editing: only set quiz->grade to 0 if really necessary.
Tim Hunt [Wed, 11 Jan 2012 16:21:47 +0000 (16:21 +0000)]
MDL-31095 quiz editing: only set quiz->grade to 0 if really necessary.

It is only necessary when there are (non-preview) attempts. However,
after making this change we have to ensure users cannot start attempts
when ->grade > 0 and ->sumgrades = 0.

Display ->grade on the order and paging tab of edit.php, so it is clear
what is going on when you are using that tab.

Finally, improve the error message a student gets if they try to start a
quiz with no questions.

10 years agoMDL-31095 quiz: fix bug in quiz::has_questions.
Tim Hunt [Wed, 11 Jan 2012 16:19:30 +0000 (16:19 +0000)]
MDL-31095 quiz: fix bug in quiz::has_questions.

10 years agoMDL-31080 quiz editing, must be able to see and delete missing questions
Tim Hunt [Mon, 9 Jan 2012 16:33:53 +0000 (16:33 +0000)]
MDL-31080 quiz editing, must be able to see and delete missing questions

10 years agoweekly release 2.3dev (blame stronk7 for 0202 mistake)
Eloy Lafuente (stronk7) [Thu, 12 Jan 2012 10:34:20 +0000 (11: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).

10 years agoMerge branch 'install_master' of git://github.com/amosbot/moodle
Eloy Lafuente (stronk7) [Thu, 12 Jan 2012 10:24:39 +0000 (11:24 +0100)]
Merge branch 'install_master' of git://github.com/amosbot/moodle

10 years agoMerge branch 'w02_MDL-29684_m23_metaenrol' of git://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Wed, 11 Jan 2012 22:48:06 +0000 (23:48 +0100)]
Merge branch 'w02_MDL-29684_m23_metaenrol' of git://github.com/skodak/moodle

10 years agoMDL-26469 upgrade: cope with modules that do not set $module->cron.
Tim Hunt [Wed, 11 Jan 2012 15:42:23 +0000 (15:42 +0000)]
MDL-26469 upgrade: cope with modules that do not set $module->cron.

10 years agoMDL-26469 upgrade: module cron setting not updated.
Tim Hunt [Wed, 11 Jan 2012 14:04:09 +0000 (14:04 +0000)]
MDL-26469 upgrade: module cron setting not updated.

10 years agoMDL-30635 quiz cron: fixup - enable in version.php & fn name quiz_statistics_cron
Tim Hunt [Wed, 11 Jan 2012 10:09:30 +0000 (10:09 +0000)]
MDL-30635 quiz cron: fixup - enable in version.php & fn name quiz_statistics_cron

10 years agoMDL-31040 Correct LTR language issue and inconsistency in display
Andrew Robert Nicols [Fri, 6 Jan 2012 08:58:56 +0000 (08:58 +0000)]
MDL-31040 Correct LTR language issue and inconsistency in display

10 years agoAutomatically generated installer lang files
AMOS bot [Wed, 11 Jan 2012 00:31:15 +0000 (00:31 +0000)]
Automatically generated installer lang files

10 years agoMerge branch 'MDL-31101' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Tue, 10 Jan 2012 22:34:56 +0000 (23:34 +0100)]
Merge branch 'MDL-31101' of git://github.com/timhunt/moodle