moodle.git
8 years agoMDL-19270 core_text: added unit tests for strrev
Sam Hemelryk [Tue, 8 Jul 2014 02:14:51 +0000 (14:14 +1200)]
MDL-19270 core_text: added unit tests for strrev

8 years agoMerge branch 'MDL-19270_master' of https://github.com/nadavkav/moodle
Sam Hemelryk [Tue, 8 Jul 2014 01:53:40 +0000 (13:53 +1200)]
Merge branch 'MDL-19270_master' of https://github.com/nadavkav/moodle

8 years agoMerge branch 'MDL-46200-master' of git://github.com/danpoltawski/moodle
Sam Hemelryk [Tue, 8 Jul 2014 01:38:04 +0000 (13:38 +1200)]
Merge branch 'MDL-46200-master' of git://github.com/danpoltawski/moodle

8 years agoMerge branch 'mdl45982-master' of https://github.com/tlock/moodle
Sam Hemelryk [Tue, 8 Jul 2014 01:26:36 +0000 (13:26 +1200)]
Merge branch 'mdl45982-master' of https://github.com/tlock/moodle

8 years agoMerge branch 'm28_MDL-46144' of https://github.com/totara/moodle
Sam Hemelryk [Tue, 8 Jul 2014 01:10:30 +0000 (13:10 +1200)]
Merge branch 'm28_MDL-46144' of https://github.com/totara/moodle

8 years agoMerge branch 'MDL-46193' of git://github.com/mr-russ/moodle
Sam Hemelryk [Tue, 8 Jul 2014 01:10:24 +0000 (13:10 +1200)]
Merge branch 'MDL-46193' of git://github.com/mr-russ/moodle

8 years agoMerge branch '46208-28' of git://github.com/samhemelryk/moodle
Eloy Lafuente (stronk7) [Tue, 8 Jul 2014 00:13:35 +0000 (02:13 +0200)]
Merge branch '46208-28' of git://github.com/samhemelryk/moodle

8 years agoMerge branch 'MDL-46212' of git://github.com/timhunt/moodle
Sam Hemelryk [Mon, 7 Jul 2014 23:43:09 +0000 (11:43 +1200)]
Merge branch 'MDL-46212' of git://github.com/timhunt/moodle

Conflicts:
question/type/calculated/question.php

8 years agoMerge branch 'm28_MDL-46225' of https://github.com/totara/moodle
Sam Hemelryk [Mon, 7 Jul 2014 22:36:10 +0000 (10:36 +1200)]
Merge branch 'm28_MDL-46225' of https://github.com/totara/moodle

8 years agoMerge branch 'MDL-46240-master' of git://github.com/danpoltawski/moodle
Sam Hemelryk [Mon, 7 Jul 2014 22:34:28 +0000 (10:34 +1200)]
Merge branch 'MDL-46240-master' of git://github.com/danpoltawski/moodle

8 years agoMerge branch 'wip_MDL-45945_m28_mssqlcol' of https://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Mon, 7 Jul 2014 22:31:54 +0000 (00:31 +0200)]
Merge branch 'wip_MDL-45945_m28_mssqlcol' of https://github.com/skodak/moodle

8 years agoMDL-45678 cache: renamed new cache and better comments
Sam Hemelryk [Mon, 7 Jul 2014 21:52:41 +0000 (09:52 +1200)]
MDL-45678 cache: renamed new cache and better comments

8 years agoMerge branch 'MDL-45678-006-master' of https://github.com/dbezborodovrp/moodle
Sam Hemelryk [Mon, 7 Jul 2014 21:42:35 +0000 (09:42 +1200)]
Merge branch 'MDL-45678-006-master' of https://github.com/dbezborodovrp/moodle

8 years agoMerge branch 'wip_MDL-46126_m28_passnulls' of https://github.com/skodak/moodle
Sam Hemelryk [Mon, 7 Jul 2014 21:37:08 +0000 (09:37 +1200)]
Merge branch 'wip_MDL-46126_m28_passnulls' of https://github.com/skodak/moodle

8 years agoMerge branch 'MDL-43347-master' of https://github.com/mackensen/moodle
Sam Hemelryk [Mon, 7 Jul 2014 21:28:20 +0000 (09:28 +1200)]
Merge branch 'MDL-43347-master' of https://github.com/mackensen/moodle

8 years agoMerge branch 'MDL-16474-master' of git://github.com/FMCorz/moodle
Sam Hemelryk [Mon, 7 Jul 2014 20:29:45 +0000 (08:29 +1200)]
Merge branch 'MDL-16474-master' of git://github.com/FMCorz/moodle

8 years agoMDL-46201 events: Sanitization of username before returning the description.
Adrian Greeve [Tue, 1 Jul 2014 05:46:25 +0000 (13:46 +0800)]
MDL-46201 events: Sanitization of username before returning the description.

8 years agoMDL-46042 badges: Clean up external badge data
Yuliya Bozhko [Wed, 18 Jun 2014 22:54:11 +0000 (10:54 +1200)]
MDL-46042 badges: Clean up external badge data

Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
8 years agoMerge branch 'MDL-42393-master' of git://github.com/FMCorz/moodle
Dan Poltawski [Mon, 7 Jul 2014 15:27:29 +0000 (16:27 +0100)]
Merge branch 'MDL-42393-master' of git://github.com/FMCorz/moodle

8 years agoMDL-45683 user: Escaping Skype ID used in profile
Osanda Malith Jayathissa [Wed, 4 Jun 2014 05:55:11 +0000 (13:55 +0800)]
MDL-45683 user: Escaping Skype ID used in profile

8 years agoMDL-45760 make sure to check permission before setting header
Marina Glancy [Mon, 30 Jun 2014 08:36:49 +0000 (16:36 +0800)]
MDL-45760 make sure to check permission before setting header

8 years agoMDL-46148 qtype_calculated: validate formulas everywhere.
Tim Hunt [Thu, 26 Jun 2014 14:37:33 +0000 (15:37 +0100)]
MDL-46148 qtype_calculated: validate formulas everywhere.

8 years agoMDL-46148 qtype_calculated: function to validate equations in text.
Tim Hunt [Thu, 26 Jun 2014 13:54:52 +0000 (14:54 +0100)]
MDL-46148 qtype_calculated: function to validate equations in text.

8 years agoMDL-46148 qtype_calculated: Remove unused function.
Tim Hunt [Thu, 26 Jun 2014 09:51:28 +0000 (10:51 +0100)]
MDL-46148 qtype_calculated: Remove unused function.

8 years agoMDL-46148 qtype_calculated: unit tests + fixes for validation
Tim Hunt [Thu, 26 Jun 2014 09:48:02 +0000 (10:48 +0100)]
MDL-46148 qtype_calculated: unit tests + fixes for validation

8 years agoMDL-45417 mod_imscp: Prevent entity injections from package content
Frederic Massart [Fri, 13 Jun 2014 07:40:15 +0000 (15:40 +0800)]
MDL-45417 mod_imscp: Prevent entity injections from package content

8 years agoMDL-45463 mod_lti: Prevent XML entity injections from provider
Frederic Massart [Tue, 10 Jun 2014 04:53:43 +0000 (12:53 +0800)]
MDL-45463 mod_lti: Prevent XML entity injections from provider

8 years agoMDL-45616 repositories: API changes to avoid serialized data in user input
Marina Glancy [Wed, 25 Jun 2014 06:46:13 +0000 (14:46 +0800)]
MDL-45616 repositories: API changes to avoid serialized data in user input

8 years agoMDL-45616 repositories: use json encoding instead of serialization
Marina Glancy [Thu, 26 Jun 2014 00:53:25 +0000 (08:53 +0800)]
MDL-45616 repositories: use json encoding instead of serialization

8 years agoMDL-45616 repositories: more clearly distinguish when we use source and when reference
Marina Glancy [Wed, 25 Jun 2014 06:40:27 +0000 (14:40 +0800)]
MDL-45616 repositories: more clearly distinguish when we use source and when reference

Function repository::get_moodle_file() should always be called on packed reference and not on the source received from user.
Also added phpdocs to some other methods that were confusing source and reference

8 years agoMDL-43848 message: remove unused strings
Dan Poltawski [Fri, 4 Jul 2014 11:15:23 +0000 (12:15 +0100)]
MDL-43848 message: remove unused strings

8 years agoMDL-43848 messages: do not display message content in popups
Dan Poltawski [Thu, 3 Jul 2014 14:18:39 +0000 (15:18 +0100)]
MDL-43848 messages: do not display message content in popups

The user is not in control of when these popups show up and it
may not be appropiate to have part of this content display whilst
in the presence of other users.

8 years agoMDL-19270 - Quiz graph - Fix reverse display of Hebrew legend text in RTL mode
Nadav Kavalerchik [Sun, 6 Jul 2014 15:46:45 +0000 (18:46 +0300)]
MDL-19270 - Quiz graph - Fix reverse display of Hebrew legend text in RTL mode

8 years agoMDL-46200 fix missing space in failed login message
Dan Poltawski [Fri, 4 Jul 2014 13:48:10 +0000 (14:48 +0100)]
MDL-46200 fix missing space in failed login message

8 years agoMDL-46240 atto_collapse: fix icon url
Dan Poltawski [Fri, 4 Jul 2014 13:33:39 +0000 (14:33 +0100)]
MDL-46240 atto_collapse: fix icon url

8 years agoMDL-46193 phpunit: Use random starting value on initialization.
Russell Smith [Tue, 24 Jun 2014 09:25:51 +0000 (19:25 +1000)]
MDL-46193 phpunit: Use random starting value on initialization.

8 years agoMDL-45678 assignsubmission_comments: Improve performance for permissions checking
Damien Bezborodov [Wed, 25 Jun 2014 08:03:10 +0000 (17:33 +0930)]
MDL-45678 assignsubmission_comments: Improve performance for permissions checking

8 years agoMDL-46126 upgrade: fix bogus nulls in user.password before changing precission
Petr Skoda [Fri, 4 Jul 2014 04:28:59 +0000 (16:28 +1200)]
MDL-46126 upgrade: fix bogus nulls in user.password before changing precission

Note: there is no need to deal with Oracle empty strings here
because only MySQL running in non-strict mode is affected.

8 years agoMDL-45945 mssql: force default database collation in all tables including temp table
Petr Skoda [Fri, 4 Jul 2014 03:04:50 +0000 (15:04 +1200)]
MDL-45945 mssql: force default database collation in all tables including temp table

8 years agoMDL-46208 cachestore_mongo: fixed invalid collection name use
Sam Hemelryk [Tue, 1 Jul 2014 03:40:28 +0000 (15:40 +1200)]
MDL-46208 cachestore_mongo: fixed invalid collection name use

8 years agoMDL-46212 questions: add {} whenver vars are put into "" strings
Tim Hunt [Mon, 30 Jun 2014 18:09:54 +0000 (19:09 +0100)]
MDL-46212 questions: add {} whenver vars are put into "" strings

Having had one subtle bug cased be this, I decided to do a search and
fix all of these.

8 years agoMDL-46212 question editing: extra answer fields notice.
Tim Hunt [Mon, 30 Jun 2014 17:58:50 +0000 (18:58 +0100)]
MDL-46212 question editing: extra answer fields notice.

It turns out that PHP does not interpret "$field[$key]" the way we were
expecting.

8 years agoweekly release 2.8dev
Dan Poltawski [Thu, 3 Jul 2014 09:53:14 +0000 (10:53 +0100)]
weekly release 2.8dev

8 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Dan Poltawski [Thu, 3 Jul 2014 09:53:11 +0000 (10:53 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

8 years agoMDL-46163 question/quiz: fix elements ids and their labels
Marina Glancy [Thu, 3 Jul 2014 06:00:40 +0000 (14:00 +0800)]
MDL-46163 question/quiz: fix elements ids and their labels

8 years agoMDL-46225 core_admin: Changed heading to add a new user to a button
Brian Barnes [Tue, 1 Jul 2014 23:54:54 +0000 (11:54 +1200)]
MDL-46225 core_admin: Changed heading to add a new user to a button

8 years agoMDL-46163 quiz/questions: fix missing hidden fields.
Tim Hunt [Wed, 2 Jul 2014 13:26:59 +0000 (14:26 +0100)]
MDL-46163 quiz/questions: fix missing hidden fields.

I have done this by eliminating the duplication between the base class
and the subclass.

This was a regression introdcued by MDL-40313.

8 years agoMDL-46163 question: fix missing ;
Dan Poltawski [Wed, 2 Jul 2014 06:22:15 +0000 (07:22 +0100)]
MDL-46163 question: fix missing ;

8 years agoMerge branch '41663-28' of git://github.com/samhemelryk/moodle
Marina Glancy [Wed, 2 Jul 2014 03:52:12 +0000 (11:52 +0800)]
Merge branch '41663-28' of git://github.com/samhemelryk/moodle

8 years agoMerge branch 'MDL-42071_MK3' of https://github.com/merrill-oakland/moodle
Sam Hemelryk [Wed, 2 Jul 2014 03:13:18 +0000 (15:13 +1200)]
Merge branch 'MDL-42071_MK3' of https://github.com/merrill-oakland/moodle

8 years agoMDL-41663 output: fix for methods with _renderable suffix
Sam Hemelryk [Wed, 2 Jul 2014 01:51:45 +0000 (13:51 +1200)]
MDL-41663 output: fix for methods with _renderable suffix

8 years agoMDL-42071 caching Validate setservers correctly for php pre 5.5
Eric Merrill [Wed, 2 Jul 2014 02:28:22 +0000 (22:28 -0400)]
MDL-42071 caching Validate setservers correctly for php pre 5.5

8 years agoAutomatically generated installer lang files
AMOS bot [Wed, 2 Jul 2014 00:44:32 +0000 (00:44 +0000)]
Automatically generated installer lang files

8 years agoMerge branch 'wip-mdl-45889' of https://github.com/rajeshtaneja/moodle
Eloy Lafuente (stronk7) [Tue, 1 Jul 2014 22:21:21 +0000 (00:21 +0200)]
Merge branch 'wip-mdl-45889' of https://github.com/rajeshtaneja/moodle

8 years agoMerge branch 'MDL-45379' of https://github.com/totara/openbadges
Eloy Lafuente (stronk7) [Tue, 1 Jul 2014 21:59:31 +0000 (23:59 +0200)]
Merge branch 'MDL-45379' of https://github.com/totara/openbadges

8 years agoMerge branch '45209-28' of git://github.com/samhemelryk/moodle
Eloy Lafuente (stronk7) [Tue, 1 Jul 2014 21:49:58 +0000 (23:49 +0200)]
Merge branch '45209-28' of git://github.com/samhemelryk/moodle

8 years agoMerge branch 'wip-MDL-46147-master' of git://github.com/marinaglancy/moodle
Sam Hemelryk [Tue, 1 Jul 2014 21:31:34 +0000 (09:31 +1200)]
Merge branch 'wip-MDL-46147-master' of git://github.com/marinaglancy/moodle

8 years agoMerge branch 'wip-MDL-45507_master' of git://github.com/lazydaisy/moodle
Sam Hemelryk [Tue, 1 Jul 2014 21:21:29 +0000 (09:21 +1200)]
Merge branch 'wip-MDL-45507_master' of git://github.com/lazydaisy/moodle

8 years agoMDL-45961 user profile: track user on reset
Eloy Lafuente (stronk7) [Tue, 1 Jul 2014 17:19:59 +0000 (19:19 +0200)]
MDL-45961 user profile: track user on reset

It seems that redirect (after reset button) was also
missing the userid so the user track was lost.

8 years agoMerge branch 'MDL-45961' of https://github.com/NeillM/moodle
Eloy Lafuente (stronk7) [Tue, 1 Jul 2014 17:13:43 +0000 (19:13 +0200)]
Merge branch 'MDL-45961' of https://github.com/NeillM/moodle

8 years agoMerge branch 'MDL-46063_master' of git://github.com/schach/moodle
Dan Poltawski [Tue, 1 Jul 2014 16:29:14 +0000 (17:29 +0100)]
Merge branch 'MDL-46063_master' of git://github.com/schach/moodle

8 years agoMerge branch 'MDL-46036_survey' of https://github.com/andyjdavis/moodle
Dan Poltawski [Tue, 1 Jul 2014 14:58:11 +0000 (15:58 +0100)]
Merge branch 'MDL-46036_survey' of https://github.com/andyjdavis/moodle

8 years agoMerge branch 'MDL-42071_MK3' of https://github.com/merrill-oakland/moodle
Dan Poltawski [Tue, 1 Jul 2014 14:41:04 +0000 (15:41 +0100)]
Merge branch 'MDL-42071_MK3' of https://github.com/merrill-oakland/moodle

8 years agoMDL-42071 caching Skip memcache(d) tests if no servers defined
Eric Merrill [Tue, 1 Jul 2014 14:25:10 +0000 (10:25 -0400)]
MDL-42071 caching Skip memcache(d) tests if no servers defined

8 years agoMerge branch 'MDL-46107_master' of https://github.com/totara/openbadges
Dan Poltawski [Tue, 1 Jul 2014 13:20:44 +0000 (14:20 +0100)]
Merge branch 'MDL-46107_master' of https://github.com/totara/openbadges

8 years agoMerge branch 'MDL-46163_category_selector_renders_as_nested_form' of https://github...
Dan Poltawski [Tue, 1 Jul 2014 13:16:04 +0000 (14:16 +0100)]
Merge branch 'MDL-46163_category_selector_renders_as_nested_form' of https://github.com/MorrisR2/moodle

8 years agoMerge branch 'MDL-46161_files_reference_index' of git://github.com/davosmith/moodle
Dan Poltawski [Tue, 1 Jul 2014 12:37:56 +0000 (13:37 +0100)]
Merge branch 'MDL-46161_files_reference_index' of git://github.com/davosmith/moodle

Conflicts:
lib/db/upgrade.php
version.php

8 years agoMerge branch 'MDL-46093' of git://github.com/timhunt/moodle
Dan Poltawski [Tue, 1 Jul 2014 09:53:59 +0000 (10:53 +0100)]
Merge branch 'MDL-46093' of git://github.com/timhunt/moodle

8 years agoMerge branch 'wip_MDL-46099_m28_userglobal' of https://github.com/skodak/moodle
Dan Poltawski [Tue, 1 Jul 2014 09:39:14 +0000 (10:39 +0100)]
Merge branch 'wip_MDL-46099_m28_userglobal' of https://github.com/skodak/moodle

8 years agoMerge branch 'MDL-32450_master' of https://github.com/markn86/moodle
Dan Poltawski [Tue, 1 Jul 2014 09:37:50 +0000 (10:37 +0100)]
Merge branch 'MDL-32450_master' of https://github.com/markn86/moodle

8 years agoMerge branch 'MDL-40457-question_bank_plugins_columns' of git://github.com/MorrisR2...
Dan Poltawski [Tue, 1 Jul 2014 09:12:52 +0000 (10:12 +0100)]
Merge branch 'MDL-40457-question_bank_plugins_columns' of git://github.com/MorrisR2/moodle

8 years agoMDL-46147 modinfo: performance improvement for course page (check filterall)
Marina Glancy [Tue, 1 Jul 2014 07:28:54 +0000 (15:28 +0800)]
MDL-46147 modinfo: performance improvement for course page (check filterall)

8 years agoMDL-46147 modinfo: performance improvement for course page
Damyon Wiese [Thu, 26 Jun 2014 04:15:37 +0000 (12:15 +0800)]
MDL-46147 modinfo: performance improvement for course page

This is a big win in a specific situation, ie filters enabled for content+headings,
and no activity descriptions visible on the course page.

8 years agoMDL-42393 calendar: Preventing open/close loop in events overlay
Frederic Massart [Tue, 1 Jul 2014 03:20:33 +0000 (11:20 +0800)]
MDL-42393 calendar: Preventing open/close loop in events overlay

8 years agoMDL-46144 core_calendar: Fixed linking of labels on calendar pages
Brian Barnes [Wed, 25 Jun 2014 23:27:09 +0000 (11:27 +1200)]
MDL-46144 core_calendar: Fixed linking of labels on calendar pages

8 years agoMerge branch 'MDL-42071_MK3' of https://github.com/merrill-oakland/moodle
Sam Hemelryk [Mon, 30 Jun 2014 23:27:53 +0000 (11:27 +1200)]
Merge branch 'MDL-42071_MK3' of https://github.com/merrill-oakland/moodle

8 years agoMerge branch 'MDL-40805-master' of git://github.com/lameze/moodle
Sam Hemelryk [Mon, 30 Jun 2014 21:06:12 +0000 (09:06 +1200)]
Merge branch 'MDL-40805-master' of git://github.com/lameze/moodle

8 years agoMDL-46099 session: fix use of references for session globals
Petr Skoda [Mon, 23 Jun 2014 22:48:28 +0000 (10:48 +1200)]
MDL-46099 session: fix use of references for session globals

This reverses the references used for global $USER and $SESSION,
the reason is that PHP does not allow references to references.
$USER is a reference to $GLOBALS['USER'] which means we cannot
put any references to it. Solution is to store the current user and session
objects in $GLOBALS['USER'] and $GLOBALS['SESSIOn'] are reference
them in $_SESSION.

This patch makes the session code behave the same way in CLI,
phpunit and normal web requests - this allows use to finally
unit test most aspects of the session code in Moodle.

8 years agoMerge branch 'MDL-46118_master' of git://github.com/dmonllao/moodle
Sam Hemelryk [Mon, 30 Jun 2014 20:33:13 +0000 (08:33 +1200)]
Merge branch 'MDL-46118_master' of git://github.com/dmonllao/moodle

8 years agoMDL-32450 editor_tinymce: documented removal of DragMath
Mark Nelson [Mon, 23 Jun 2014 20:28:19 +0000 (13:28 -0700)]
MDL-32450 editor_tinymce: documented removal of DragMath

8 years agoMDL-32450 editor_tinymce: removed DragMath from the 'customtoolbar' setting
Mark Nelson [Mon, 23 Jun 2014 20:34:48 +0000 (13:34 -0700)]
MDL-32450 editor_tinymce: removed DragMath from the 'customtoolbar' setting

8 years agoMerge branch 'wip-mdl-45641' of https://github.com/rajeshtaneja/moodle
Dan Poltawski [Mon, 30 Jun 2014 14:12:30 +0000 (15:12 +0100)]
Merge branch 'wip-mdl-45641' of https://github.com/rajeshtaneja/moodle

8 years agoMerge branch 'MDL-42467_database' of https://github.com/andyjdavis/moodle
Dan Poltawski [Mon, 30 Jun 2014 14:08:59 +0000 (15:08 +0100)]
Merge branch 'MDL-42467_database' of https://github.com/andyjdavis/moodle

8 years agoMerge branch 'MDL-45833_master' of git://github.com/dmonllao/moodle
Dan Poltawski [Mon, 30 Jun 2014 12:27:14 +0000 (13:27 +0100)]
Merge branch 'MDL-45833_master' of git://github.com/dmonllao/moodle

8 years agoMerge branch 'MDL-46044-master' of git://github.com/damyon/moodle
Dan Poltawski [Mon, 30 Jun 2014 10:45:29 +0000 (11:45 +0100)]
Merge branch 'MDL-46044-master' of git://github.com/damyon/moodle

8 years agoMDL-46063 feedback: Fix user pictures
Heiko Schach [Tue, 24 Jun 2014 12:45:24 +0000 (15:45 +0300)]
MDL-46063 feedback: Fix user pictures

8 years agoMerge branch 'MDL-41663-master' of git://github.com/damyon/moodle
Dan Poltawski [Mon, 30 Jun 2014 08:24:39 +0000 (09:24 +0100)]
Merge branch 'MDL-41663-master' of git://github.com/damyon/moodle

8 years agoMerge branch 'MDL-40228-master' of git://github.com/FMCorz/moodle
Dan Poltawski [Mon, 30 Jun 2014 07:55:35 +0000 (08:55 +0100)]
Merge branch 'MDL-40228-master' of git://github.com/FMCorz/moodle

8 years agoMDL-16474 scale: Allow scales with 1 item
Frederic Massart [Mon, 30 Jun 2014 02:15:12 +0000 (10:15 +0800)]
MDL-16474 scale: Allow scales with 1 item

8 years agoMDL-42071 caching Support for clustered memcache caching
Eric Merrill [Mon, 30 Jun 2014 02:28:14 +0000 (22:28 -0400)]
MDL-42071 caching Support for clustered memcache caching

For stores where there is a very high rate of sets compared to gets, it
is beneficial to retrieve from the local server, skipping the network
overhead, at the expense of having to set many severs when a key is set.

This patch adds a memcache option to enable clustering. When on, only
one "server" is allowed, which will be where fetches are from, while
sets/updates/deletes/purges will occur to the all the servers in the
"set server" list.

To run unit tests, define TEST_CACHESTORE_MEMCACHE_TESTSERVERS with
multiple (return delimited) servers.

8 years agoMDL-42071 caching Support for clustered memcached caching
Eric Merrill [Thu, 1 May 2014 21:00:26 +0000 (17:00 -0400)]
MDL-42071 caching Support for clustered memcached caching

For stores where there is a very high rate of sets compared to gets, it
is beneficial to retrieve from the local server, skipping the network
overhead, at the expense of having to set many severs when a key is set.

This patch adds a memcached option to enable clustering. When on, only
one "server" is allowed, which will be where fetches are from, while
sets/updates/deletes/purges will occur to the all the servers in the
"set server" list.

To run unit tests, define TEST_CACHESTORE_MEMCACHED_TESTSERVERS with
multiple (return delimited) servers.

8 years agoMDL-40457 Question Bank: Allow plugins to add columns to question bank view
Ray Morris [Tue, 11 Mar 2014 14:16:33 +0000 (09:16 -0500)]
MDL-40457 Question Bank: Allow plugins to add columns to question bank view

Allows plugins to add columns to the question bank view by extending core_question\bank\column_base
Columns to display are set in $CFG->questionbankcolumns. Columns are namespaced and autoloaded to support this.

8 years agoMDL-32450 upgrade: do not remove DragMath settings if the files still exist
Mark Nelson [Thu, 19 Jun 2014 01:54:44 +0000 (18:54 -0700)]
MDL-32450 upgrade: do not remove DragMath settings if the files still exist

8 years agoMDL-32450 delete Dragmath plugin and library because it is not compatible with GPL
Petr Skoda [Thu, 1 May 2014 06:00:15 +0000 (14:00 +0800)]
MDL-32450 delete Dragmath plugin and library because it is not compatible with GPL

8 years agoAutomatically generated installer lang files
AMOS bot [Sun, 29 Jun 2014 00:42:43 +0000 (00:42 +0000)]
Automatically generated installer lang files

8 years agoMDL-46093 quiz review should default to showing everything on one page
Tim Hunt [Sun, 22 Jun 2014 10:03:03 +0000 (11:03 +0100)]
MDL-46093 quiz review should default to showing everything on one page

... as long as the quiz is not too big. At the moment, that limit is
set to 50 questions.

8 years agoMDL-46161 switch the field order of the index on mdl_files_reference to improve perfo...
Davo Smith [Fri, 27 Jun 2014 08:38:38 +0000 (09:38 +0100)]
MDL-46161 switch the field order of the index on mdl_files_reference to improve performance of file_storage::search_references

8 years agoMDL-45961 Customise this page button on user profile page only works correctly for...
NeillM [Tue, 24 Jun 2014 09:02:56 +0000 (10:02 +0100)]
MDL-45961 Customise this page button on user profile page only works correctly for users own profile

8 years agoMDL-45641 event: Ldap user_signup unit test added
Rajesh Taneja [Mon, 23 Jun 2014 06:31:58 +0000 (14:31 +0800)]
MDL-45641 event: Ldap user_signup unit test added

8 years agoMDL-45641 event: Manually trigger event where needed.
Rajesh Taneja [Tue, 10 Jun 2014 02:38:11 +0000 (10:38 +0800)]
MDL-45641 event: Manually trigger event where needed.

Some places, user_created_user and user_updated_user
events should be triggred after profile data is saved.