moodle.git
9 years agoMDL-40035: Avoid rebuild_course_cache always for empty course
Tony Levi [Thu, 6 Jun 2013 04:41:19 +0000 (14:11 +0930)]
MDL-40035: Avoid rebuild_course_cache always for empty course

9 years agoMDL-31776 - lib: Alternate name fields
Adrian Greeve [Wed, 24 Apr 2013 02:12:42 +0000 (10:12 +0800)]
MDL-31776 - lib: Alternate name fields

Add support for additional name fields and flexible formating of
user names.

9 years agoMerge branch 'MDL-40318' of git://github.com/timhunt/moodle
Damyon Wiese [Tue, 9 Jul 2013 03:11:42 +0000 (11:11 +0800)]
Merge branch 'MDL-40318' of git://github.com/timhunt/moodle

9 years agoMerge branch 'MDL-40562_master' of git://github.com/dmonllao/moodle
Damyon Wiese [Tue, 9 Jul 2013 03:04:58 +0000 (11:04 +0800)]
Merge branch 'MDL-40562_master' of git://github.com/dmonllao/moodle

9 years agoMerge branch 'wip-MDL-40368-m26' of git://github.com/samhemelryk/moodle
Damyon Wiese [Tue, 9 Jul 2013 02:48:47 +0000 (10:48 +0800)]
Merge branch 'wip-MDL-40368-m26' of git://github.com/samhemelryk/moodle

Conflicts:
admin/tool/capability/index.php

9 years agoMerge branch 'MDL-40402-master2' of git://github.com/ankitagarwal/moodle
Sam Hemelryk [Tue, 9 Jul 2013 02:42:03 +0000 (14:42 +1200)]
Merge branch 'MDL-40402-master2' of git://github.com/ankitagarwal/moodle

9 years agoMerge branch 'wip-MDL-40490-master' of git://github.com/abgreeve/moodle
Damyon Wiese [Tue, 9 Jul 2013 02:03:22 +0000 (10:03 +0800)]
Merge branch 'wip-MDL-40490-master' of git://github.com/abgreeve/moodle

9 years agoMerge branch 'MDL-40434' of git://github.com/timhunt/moodle
Marina Glancy [Tue, 9 Jul 2013 01:30:42 +0000 (11:30 +1000)]
Merge branch 'MDL-40434' of git://github.com/timhunt/moodle

9 years agoMDL-40436: auth_ldap: Fixed warning when adding new LDAP users
Tim Lock [Thu, 27 Jun 2013 00:52:28 +0000 (10:22 +0930)]
MDL-40436: auth_ldap: Fixed warning when adding new LDAP users

9 years agoMerge branch 'MDL-40561-master' of git://github.com/FMCorz/moodle
Damyon Wiese [Mon, 8 Jul 2013 14:28:21 +0000 (22:28 +0800)]
Merge branch 'MDL-40561-master' of git://github.com/FMCorz/moodle

9 years agoMDL-40562 behat: Catch NoSuchElement exception
David Monllao [Mon, 8 Jul 2013 08:58:30 +0000 (10:58 +0200)]
MDL-40562 behat: Catch NoSuchElement exception

9 years agoMDL-40561 phpunit: Return the right guessed class
Frederic Massart [Mon, 8 Jul 2013 09:58:38 +0000 (17:58 +0800)]
MDL-40561 phpunit: Return the right guessed class

9 years agoMerge branch 'MDL-38314-master' of git://github.com/FMCorz/moodle
Damyon Wiese [Mon, 8 Jul 2013 07:10:58 +0000 (15:10 +0800)]
Merge branch 'MDL-38314-master' of git://github.com/FMCorz/moodle

Conflicts:
version.php

9 years agoMerge branch 'w28_MDL-40415_m26_opcache' of https://github.com/skodak/moodle
Damyon Wiese [Mon, 8 Jul 2013 05:40:09 +0000 (13:40 +0800)]
Merge branch 'w28_MDL-40415_m26_opcache' of https://github.com/skodak/moodle

9 years agoMDL-40415 add explicit OPcache support
Petr Škoda [Mon, 1 Jul 2013 19:06:44 +0000 (21:06 +0200)]
MDL-40415 add explicit OPcache support

9 years agoMDL-40500 move MOODLE_INTERNAL define before core_component include
Petr Škoda [Thu, 4 Jul 2013 17:04:23 +0000 (19:04 +0200)]
MDL-40500 move MOODLE_INTERNAL define before core_component include

This resolves problems with MOODLE_INTERNAL in db/subplugins.php

9 years agoMDL-40318 quiz intro comprising just an impage was not shown
Tim Hunt [Tue, 2 Jul 2013 09:43:41 +0000 (10:43 +0100)]
MDL-40318 quiz intro comprising just an impage was not shown

Also, ensure that we don't output an empty box if there are no access
messages.

9 years agoMDL-40402 libraries: update the mistake in comment
Ankit Agarwal [Wed, 3 Jul 2013 06:51:56 +0000 (14:51 +0800)]
MDL-40402 libraries: update the mistake in comment

9 years agoMDL-40402 libraries: Deprecate get_system_context()
Ankit Agarwal [Wed, 3 Jul 2013 06:35:44 +0000 (14:35 +0800)]
MDL-40402 libraries: Deprecate get_system_context()

9 years agoMDL-40402 unittests: Make sure get_system_context() throws a deprecated warning
Ankit Agarwal [Wed, 3 Jul 2013 06:32:22 +0000 (14:32 +0800)]
MDL-40402 unittests: Make sure get_system_context() throws a deprecated warning

9 years agoMDL-40402 libraries: Replace get_system_context() with context_system::instance(...
Ankit Agarwal [Wed, 3 Jul 2013 06:39:10 +0000 (14:39 +0800)]
MDL-40402 libraries: Replace get_system_context() with context_system::instance() in core

9 years agoweekly release 2.6dev
Damyon Wiese [Thu, 4 Jul 2013 07:28:10 +0000 (15:28 +0800)]
weekly release 2.6dev

9 years agoMDL-40401 Libraries: load_temp_role() and remove_temp_roles() can not be used any...
Rajesh Taneja [Wed, 3 Jul 2013 08:26:08 +0000 (16:26 +0800)]
MDL-40401 Libraries: load_temp_role() and remove_temp_roles() can not be used any more.

9 years agoMDL-40490 - database: Fixed a check on database port options.
Adrian Greeve [Thu, 4 Jul 2013 07:01:53 +0000 (15:01 +0800)]
MDL-40490 - database: Fixed a check on database port options.

The addition of a port for the database means that an array
would be set regardless of whether it had any information or not.
The isset() function sees an array as being set and follows through
with the rest of the if statement concatenating a colon to the end
of the database host name and throwing a connection problem if no port
number is supplied.

The if statement has now been changed to if not empty. The empty
function does see zero as an empty value, but a port shouldn't have
a value of zero anyway.

9 years agoMDL-40131 theme_bootstrapbase: added missing grader table css to less/moodle/grade...
Mary Evans [Fri, 28 Jun 2013 01:33:42 +0000 (02:33 +0100)]
MDL-40131 theme_bootstrapbase: added missing grader table css to less/moodle/grade.less

Conflicts:

theme/bootstrapbase/style/moodle.css

9 years agoMDL-40308: Fix javascript for lti mod_form
Damyon Wiese [Thu, 4 Jul 2013 05:20:01 +0000 (13:20 +0800)]
MDL-40308: Fix javascript for lti mod_form

It was toggling the state of the hidden input - not the checkbox.

9 years agoMDL-40039 phpunit: Test core_files_external::upload() without the new params
Ankit Agarwal [Thu, 4 Jul 2013 02:47:38 +0000 (10:47 +0800)]
MDL-40039 phpunit: Test core_files_external::upload() without the new params

9 years agoMDL-39813 behat: fixed up behat expectations
Sam Hemelryk [Wed, 3 Jul 2013 21:22:54 +0000 (09:22 +1200)]
MDL-39813 behat: fixed up behat expectations

9 years agoMDL-40376 Fix copy/paste typo
Eloy Lafuente (stronk7) [Wed, 3 Jul 2013 15:53:01 +0000 (17:53 +0200)]
MDL-40376 Fix copy/paste typo

9 years agoMerge branch 'moduleuninstallfix' of https://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Wed, 3 Jul 2013 09:36:29 +0000 (11:36 +0200)]
Merge branch 'moduleuninstallfix' of https://github.com/skodak/moodle

9 years agoMerge branch 'w27_MDL-39088_m26_uninstall' of https://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Wed, 3 Jul 2013 09:34:55 +0000 (11:34 +0200)]
Merge branch 'w27_MDL-39088_m26_uninstall' of https://github.com/skodak/moodle

9 years agoMDL-38314 repository: Improving performance of upgrade script
Frederic Massart [Wed, 3 Jul 2013 08:03:46 +0000 (16:03 +0800)]
MDL-38314 repository: Improving performance of upgrade script

9 years agoMDL-39088 fix incorrect module count SQL
Petr Škoda [Wed, 3 Jul 2013 07:40:07 +0000 (09:40 +0200)]
MDL-39088 fix incorrect module count SQL

9 years agoMDL-38314 repository: Unit Tests for delete_all_for_context()
Frederic Massart [Thu, 6 Jun 2013 07:36:42 +0000 (15:36 +0800)]
MDL-38314 repository: Unit Tests for delete_all_for_context()

9 years agoMDL-38314 repository: Delete repository instances on context deletion
Frederic Massart [Thu, 6 Jun 2013 03:50:58 +0000 (11:50 +0800)]
MDL-38314 repository: Delete repository instances on context deletion

9 years agoMDL-38314 repository: Remove orphan repository instances
Frederic Massart [Tue, 4 Jun 2013 07:56:25 +0000 (15:56 +0800)]
MDL-38314 repository: Remove orphan repository instances

9 years agoMDL-39986 badges: Show badge navigation to users with awardbadge capability
Yuliya Bozhko [Wed, 12 Jun 2013 04:07:49 +0000 (16:07 +1200)]
MDL-39986 badges: Show badge navigation to users with awardbadge capability

Also fixes an arror when a user with this capability tries to award a badge,
but their role is not among the criteria set up for a badge

9 years agoMDL-39813 recompile less for bootstrapbase
Damyon Wiese [Wed, 3 Jul 2013 03:38:21 +0000 (11:38 +0800)]
MDL-39813 recompile less for bootstrapbase

9 years agoMerge branch 'MDL-39813_login' of git://github.com/andyjdavis/moodle
Damyon Wiese [Wed, 3 Jul 2013 03:35:53 +0000 (11:35 +0800)]
Merge branch 'MDL-39813_login' of git://github.com/andyjdavis/moodle

9 years agoMDL-39813 added some white space above the cookie message
Andrew Davis [Wed, 3 Jul 2013 03:07:35 +0000 (11:07 +0800)]
MDL-39813 added some white space above the cookie message

9 years agoMDL-39558 badges: Prevent backup of badges without user information
Damyon Wiese [Wed, 3 Jul 2013 02:52:50 +0000 (10:52 +0800)]
MDL-39558 badges: Prevent backup of badges without user information

9 years agoMDL-39558 badges: Add backup/restore of manually awarded badges
Yuliya Bozhko [Tue, 2 Jul 2013 05:19:27 +0000 (17:19 +1200)]
MDL-39558 badges: Add backup/restore of manually awarded badges

9 years agoMDL-39558 badges: Add backup/restore to course badges
Yuliya Bozhko [Fri, 14 Jun 2013 04:35:34 +0000 (16:35 +1200)]
MDL-39558 badges: Add backup/restore to course badges

9 years agoMerge branch 'MDL-40275-m' of git://github.com/micaherne/moodle
Eloy Lafuente (stronk7) [Tue, 2 Jul 2013 19:52:17 +0000 (21:52 +0200)]
Merge branch 'MDL-40275-m' of git://github.com/micaherne/moodle

9 years agoMDL-35009 Normalize deprecation (also MDL-34472)
Eloy Lafuente (stronk7) [Tue, 2 Jul 2013 19:40:16 +0000 (21:40 +0200)]
MDL-35009 Normalize deprecation (also MDL-34472)

- Use same deprecation phrases style.
- Use same upgrade.txt phrases style.
- Add unit test covering the deprecation.

See the issue for some more rationale / comments.

9 years agoMerge branch 'wip-mdl-35009' of git://github.com/rajeshtaneja/moodle
Eloy Lafuente (stronk7) [Tue, 2 Jul 2013 19:22:30 +0000 (21:22 +0200)]
Merge branch 'wip-mdl-35009' of git://github.com/rajeshtaneja/moodle

Conflicts:
lib/accesslib.php
lib/deprecatedlib.php
lib/upgrade.txt

9 years agoMerge branch 'MDL-40376-m' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Tue, 2 Jul 2013 19:11:49 +0000 (21:11 +0200)]
Merge branch 'MDL-40376-m' of git://github.com/andrewnicols/moodle

9 years agoMDL-37516 Translate fieldnames on output only.
Eloy Lafuente (stronk7) [Tue, 2 Jul 2013 18:28:34 +0000 (20:28 +0200)]
MDL-37516 Translate fieldnames on output only.

This reverts a change performed by the previous commit where user
fieldnames were being translated (and cached) when fetched,
causing the information to remain static later, not responding
to language switches (and perhaps leading to other problems if those
structures are used lated for DB / $USER comparisons.

With the commit, the translation happens on output, so no
potential interferences will happen and, also, the information
changes dynamically on lang switching.

9 years agoMDL-37516 Conditional activities: user field condition display fixes
sam marshall [Wed, 15 May 2013 12:11:51 +0000 (13:11 +0100)]
MDL-37516 Conditional activities: user field condition display fixes

9 years agoMerge branch 'MDL-40314_M26' of git://github.com/lazydaisy/moodle
Eloy Lafuente (stronk7) [Tue, 2 Jul 2013 17:41:44 +0000 (19:41 +0200)]
Merge branch 'MDL-40314_M26' of git://github.com/lazydaisy/moodle

9 years agoMerge branch 'MDL-40246_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Tue, 2 Jul 2013 12:27:34 +0000 (14:27 +0200)]
Merge branch 'MDL-40246_master' of git://github.com/dmonllao/moodle

9 years agoMerge branch 'MDL-34472-master' of git://github.com/ankitagarwal/moodle
Eloy Lafuente (stronk7) [Tue, 2 Jul 2013 12:09:11 +0000 (14:09 +0200)]
Merge branch 'MDL-34472-master' of git://github.com/ankitagarwal/moodle

Conflicts:
lib/upgrade.txt

9 years agoMerge branch 'MDL-40439-en_fix' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Tue, 2 Jul 2013 11:47:09 +0000 (13:47 +0200)]
Merge branch 'MDL-40439-en_fix' of git://github.com/mudrd8mz/moodle

9 years agoMDL-40439 Merge English strings from the en_fix language pack
Helen Foster [Tue, 2 Jul 2013 09:42:10 +0000 (11:42 +0200)]
MDL-40439 Merge English strings from the en_fix language pack

9 years agoMerge branch 'w27_MDL-40337_m26_rolescleanup' of https://github.com/skodak/moodle
Dan Poltawski [Tue, 2 Jul 2013 09:09:38 +0000 (17:09 +0800)]
Merge branch 'w27_MDL-40337_m26_rolescleanup' of https://github.com/skodak/moodle

9 years agoMerge branch 'MDL-40389' of git://github.com/stronk7/moodle
Dan Poltawski [Tue, 2 Jul 2013 07:52:58 +0000 (15:52 +0800)]
Merge branch 'MDL-40389' of git://github.com/stronk7/moodle

9 years agoMerge branch 'w27_MDL-40299_m26_textlib' of https://github.com/skodak/moodle
Damyon Wiese [Tue, 2 Jul 2013 07:23:38 +0000 (15:23 +0800)]
Merge branch 'w27_MDL-40299_m26_textlib' of https://github.com/skodak/moodle

9 years agoMDL-40434 calculatedmulti multiple-response questions not randomised
Tim Hunt [Tue, 2 Jul 2013 07:21:42 +0000 (08:21 +0100)]
MDL-40434 calculatedmulti multiple-response questions not randomised

9 years agoMerge branch 'MDL-40282' of github.com:colchambers/moodle
Dan Poltawski [Tue, 2 Jul 2013 07:15:04 +0000 (15:15 +0800)]
Merge branch 'MDL-40282' of github.com:colchambers/moodle

9 years agoMDL-34472 phpunit: Make sure a debugging is thrown when get_context_instance() is...
Ankit Agarwal [Tue, 2 Jul 2013 07:08:14 +0000 (15:08 +0800)]
MDL-34472 phpunit: Make sure a debugging is thrown when get_context_instance() is called

9 years agoMDL-40127 Enrolments: Updated version and update.txt
Rajesh Taneja [Tue, 25 Jun 2013 06:39:36 +0000 (14:39 +0800)]
MDL-40127 Enrolments: Updated version and update.txt

9 years agoMDL-40127 Enrolments: Added unit test
Rajesh Taneja [Tue, 25 Jun 2013 03:17:50 +0000 (11:17 +0800)]
MDL-40127 Enrolments: Added unit test

9 years agoMDL-40127 Enrolments: Added status to instance info and removed displaying of enrolme...
Rajesh Taneja [Mon, 17 Jun 2013 03:07:51 +0000 (11:07 +0800)]
MDL-40127 Enrolments: Added status to instance info and removed displaying of enrolment form with notice

get_enrol_info will return status of enrolment instance, to notify webservice if enrolment is possible or not
If enrolment is not possible then don't show enrolment form
show_enrolme_link will use can_self_enrol to varify if enrolment link should be shown or not.

9 years agoMDL-40127 Enrolments: Abstracted self_enrolment code so as to be used by webservices
Rajesh Taneja [Fri, 14 Jun 2013 07:35:53 +0000 (15:35 +0800)]
MDL-40127 Enrolments: Abstracted self_enrolment code so as to be used by webservices

9 years agoMerge branch 'wip-MDL-40353-master' of git://github.com/marinaglancy/moodle
Damyon Wiese [Tue, 2 Jul 2013 06:28:46 +0000 (14:28 +0800)]
Merge branch 'wip-MDL-40353-master' of git://github.com/marinaglancy/moodle

9 years agoMerge branch 'MDL-40039-master' of git://github.com/ankitagarwal/moodle
Dan Poltawski [Tue, 2 Jul 2013 06:27:49 +0000 (14:27 +0800)]
Merge branch 'MDL-40039-master' of git://github.com/ankitagarwal/moodle

9 years agoMerge branch 'MDL-40297' of git://github.com/stronk7/moodle
Dan Poltawski [Tue, 2 Jul 2013 05:43:40 +0000 (13:43 +0800)]
Merge branch 'MDL-40297' of git://github.com/stronk7/moodle

9 years agoMDL-39570 mod_feedback - Missing privilege check
Andreas Grabs [Tue, 2 Jul 2013 05:12:27 +0000 (13:12 +0800)]
MDL-39570 mod_feedback - Missing privilege check

9 years agoMerge branch 'w27_MDL-40399_m26_msarrayshift' of https://github.com/skodak/moodle
Dan Poltawski [Tue, 2 Jul 2013 05:34:09 +0000 (13:34 +0800)]
Merge branch 'w27_MDL-40399_m26_msarrayshift' of https://github.com/skodak/moodle

9 years agoMDL-39088 fix admin/localplugins.php uninstall url
Petr Škoda [Tue, 2 Jul 2013 05:24:33 +0000 (07:24 +0200)]
MDL-39088 fix admin/localplugins.php uninstall url

9 years agoMDL-39628 Chat: check mod/chat:chat capability when using daemon.
Dan Marsden [Sun, 12 May 2013 22:41:27 +0000 (10:41 +1200)]
MDL-39628 Chat: check mod/chat:chat capability when using daemon.

Thanks to Francois Gauthier for report/fix.

9 years agoMDL-26943 Add db/subplugins.php to the local plugin readme.txt
Damyon Wiese [Tue, 2 Jul 2013 04:02:33 +0000 (12:02 +0800)]
MDL-26943 Add db/subplugins.php to the local plugin readme.txt

9 years agoMerge branch 'w27_MDL-26943_m26_localsubplugins' of https://github.com/skodak/moodle
Damyon Wiese [Tue, 2 Jul 2013 03:00:33 +0000 (11:00 +0800)]
Merge branch 'w27_MDL-26943_m26_localsubplugins' of https://github.com/skodak/moodle

9 years agoMDL-37818 - RSS - Prevent access to blocks while RSS context errors are displayed
Jason Fowler [Mon, 18 Mar 2013 08:02:58 +0000 (16:02 +0800)]
MDL-37818 - RSS - Prevent access to blocks while RSS context errors are displayed

9 years agoMerge branch 'w27_MDL-40266_m26_arrayshift' of https://github.com/skodak/moodle
Dan Poltawski [Tue, 2 Jul 2013 01:55:20 +0000 (09:55 +0800)]
Merge branch 'w27_MDL-40266_m26_arrayshift' of https://github.com/skodak/moodle

9 years agoMDL-40368 tool_capability: clean up as per notes from peer-review.
Sam Hemelryk [Mon, 1 Jul 2013 23:34:11 +0000 (11:34 +1200)]
MDL-40368 tool_capability: clean up as per notes from peer-review.

* Coding style clean up.
* SQL indentation
* Removal of non-matching capabilities when searching.
* Fixed notices/warnings when hitting enter on search.

9 years agoMerge branch 'get_users_by_capability_fix_master' of http://github.com/timgus/moodle
Eloy Lafuente (stronk7) [Mon, 1 Jul 2013 22:46:30 +0000 (00:46 +0200)]
Merge branch 'get_users_by_capability_fix_master' of github.com/timgus/moodle

9 years agoMerge branch 'w27_MDL-39088_m26_uninstall' of https://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Mon, 1 Jul 2013 22:43:31 +0000 (00:43 +0200)]
Merge branch 'w27_MDL-39088_m26_uninstall' of https://github.com/skodak/moodle

9 years agoMerge branch 'MDL-39733' of git://github.com/stronk7/moodle
Sam Hemelryk [Mon, 1 Jul 2013 22:31:48 +0000 (10:31 +1200)]
Merge branch 'MDL-39733' of git://github.com/stronk7/moodle

9 years agoMDL-39733 xhprof: implement import of runs
Eloy Lafuente (stronk7) [Sun, 16 Jun 2013 15:02:27 +0000 (17:02 +0200)]
MDL-39733 xhprof: implement import of runs

9 years agoMDL-39546 Lesson module: removed duplicate to decode special characters
Rossiani Wijaya [Tue, 28 May 2013 04:25:29 +0000 (12:25 +0800)]
MDL-39546 Lesson module: removed duplicate to decode special characters

9 years agoMDL-39546 Lesson module: fixed matching question issues.
Rossiani Wijaya [Mon, 1 Jul 2013 03:25:32 +0000 (11:25 +0800)]
MDL-39546 Lesson module: fixed matching question issues.

9 years agoMerge branch 'w27_MDL-39754_m26_evn26' of https://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Mon, 1 Jul 2013 21:13:39 +0000 (23:13 +0200)]
Merge branch 'w27_MDL-39754_m26_evn26' of https://github.com/skodak/moodle

9 years agoMerge branch 'MDL-40370' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Mon, 1 Jul 2013 15:59:06 +0000 (17:59 +0200)]
Merge branch 'MDL-40370' of git://github.com/timhunt/moodle

9 years agoMDL-40370 qtype_shortanswer: unique index upgrade problem.
Tim Hunt [Mon, 1 Jul 2013 10:18:16 +0000 (11:18 +0100)]
MDL-40370 qtype_shortanswer: unique index upgrade problem.

Eliminate duplicate rows before we try to add a unique index. We
arbitrarily keep the duplicate row with the lowest id.

9 years agoMDL-39754 copy 2.5 requirements to Moodle 2.6
Petr Škoda [Mon, 1 Jul 2013 07:44:02 +0000 (09:44 +0200)]
MDL-39754 copy 2.5 requirements to Moodle 2.6

Optional features and warnings may be added later,
but we need at least required environment for 2.5.1

This includes database family cleanup and more realistic memory requirement.

9 years agoMDL-34472 libraries: Remove usage of get_context_instance() from core
Ankit Agarwal [Mon, 1 Jul 2013 06:03:35 +0000 (14:03 +0800)]
MDL-34472 libraries: Remove usage of get_context_instance() from core

9 years agoMDL-34472 libraries: add deprecated warning to get_context_instance()
Ankit Agarwal [Mon, 1 Jul 2013 03:54:21 +0000 (11:54 +0800)]
MDL-34472 libraries: add deprecated warning to get_context_instance()

9 years agoMDL-35009 Libraries: Deprecated get_context_instance_by_id
Rajesh Taneja [Mon, 1 Jul 2013 06:43:48 +0000 (14:43 +0800)]
MDL-35009 Libraries: Deprecated get_context_instance_by_id

9 years agoMDL-40266 improve emulate_bound_params() for mssql driver
Petr Škoda [Mon, 1 Jul 2013 06:52:03 +0000 (08:52 +0200)]
MDL-40266 improve emulate_bound_params() for mssql driver

Looping over large numbers of items with array_shift() is expensive.
Reverse the array and fetch items from the top of the pile.

Credit goes to Martin Langhoff for original mysqli fix.

9 years agoMDL-40266 improve emulate_bound_params() for sqlsrv driver
Petr Škoda [Mon, 1 Jul 2013 06:50:51 +0000 (08:50 +0200)]
MDL-40266 improve emulate_bound_params() for sqlsrv driver

Looping over large numbers of items with array_shift() is expensive.
Reverse the array and fetch items from the top of the pile.

Credit goes to Martin Langhoff for original mysqli fix.

9 years agoMerge branch 'wip-MDL-39212-m26' of git://github.com/samhemelryk/moodle
Dan Poltawski [Mon, 1 Jul 2013 03:55:45 +0000 (11:55 +0800)]
Merge branch 'wip-MDL-39212-m26' of git://github.com/samhemelryk/moodle

9 years agoMDL-40308: Privacy settings do not change
Mark Nielsen [Mon, 1 Jul 2013 03:26:48 +0000 (11:26 +0800)]
MDL-40308: Privacy settings do not change

Update LTI mod form so checkboxes always submit their value.

9 years agoMerge branch 'wip-MDL-40344-m26' of git://github.com/samhemelryk/moodle
Dan Poltawski [Mon, 1 Jul 2013 03:21:47 +0000 (11:21 +0800)]
Merge branch 'wip-MDL-40344-m26' of git://github.com/samhemelryk/moodle

9 years agoMerge branch 'MDL-40069' of git://github.com/timhunt/moodle
Sam Hemelryk [Mon, 1 Jul 2013 01:48:05 +0000 (13:48 +1200)]
Merge branch 'MDL-40069' of git://github.com/timhunt/moodle

9 years agoNOBUG: fixed whitespace
Sam Hemelryk [Mon, 1 Jul 2013 01:23:29 +0000 (13:23 +1200)]
NOBUG: fixed whitespace

9 years agoMerge branch 'wip-MDL-39741-master' of git://github.com/marinaglancy/moodle
Sam Hemelryk [Mon, 1 Jul 2013 01:22:27 +0000 (13:22 +1200)]
Merge branch 'wip-MDL-39741-master' of git://github.com/marinaglancy/moodle

Conflicts:
theme/bootstrapbase/style/moodle.css

9 years agoMerge branch 'MDL-35206-email-links' of git://github.com/mudrd8mz/moodle
Sam Hemelryk [Mon, 1 Jul 2013 01:08:31 +0000 (13:08 +1200)]
Merge branch 'MDL-35206-email-links' of git://github.com/mudrd8mz/moodle

9 years agoMDL-19390 user: fixed typo during integration
Sam Hemelryk [Sun, 30 Jun 2013 21:16:59 +0000 (09:16 +1200)]
MDL-19390 user: fixed typo during integration

9 years agoMDL-40376 Themes: Remove padding from course/manage page
Andrew Nicols [Fri, 28 Jun 2013 13:32:54 +0000 (14:32 +0100)]
MDL-40376 Themes: Remove padding from course/manage page