moodle.git
4 years agoMerge branch 'MDL-57751-master' of https://github.com/xow/moodle
Andrew Nicols [Tue, 14 Mar 2017 05:31:43 +0000 (13:31 +0800)]
Merge branch 'MDL-57751-master' of https://github.com/xow/moodle

4 years agoMerge branch 'MDL-57583-master' of https://github.com/snake/moodle
Andrew Nicols [Tue, 14 Mar 2017 04:28:52 +0000 (12:28 +0800)]
Merge branch 'MDL-57583-master' of https://github.com/snake/moodle

4 years agoMerge branch 'MDL-58217-master' of git://github.com/jleyva/moodle
Andrew Nicols [Tue, 14 Mar 2017 04:10:56 +0000 (12:10 +0800)]
Merge branch 'MDL-58217-master' of git://github.com/jleyva/moodle

4 years agoMerge branch 'wip-mdl-58250' of https://github.com/rajeshtaneja/moodle
Andrew Nicols [Tue, 14 Mar 2017 03:25:01 +0000 (11:25 +0800)]
Merge branch 'wip-mdl-58250' of https://github.com/rajeshtaneja/moodle

4 years agoMerge branch 'MDL-57915-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Mon, 13 Mar 2017 21:39:38 +0000 (22:39 +0100)]
Merge branch 'MDL-57915-master' of git://github.com/jleyva/moodle

4 years agoMDL-58250 behat: Status should be new exit code
Rajesh Taneja [Mon, 13 Mar 2017 22:58:55 +0000 (06:58 +0800)]
MDL-58250 behat: Status should be new exit code

Oring should not be done with old status,
as it will always return failure.

4 years agoMDL-57915 mod_data: New Web Service mod_data_view_database
Juan Leyva [Thu, 9 Feb 2017 14:06:16 +0000 (15:06 +0100)]
MDL-57915 mod_data: New Web Service mod_data_view_database

4 years agoMDL-57915 mod_data: Move view completion and event code to function
Juan Leyva [Thu, 9 Feb 2017 14:04:17 +0000 (15:04 +0100)]
MDL-57915 mod_data: Move view completion and event code to function

4 years agoMDL-51853 calendar: Whitespace fix
Andrew Nicols [Mon, 13 Mar 2017 01:18:07 +0000 (09:18 +0800)]
MDL-51853 calendar: Whitespace fix

4 years agoMDL-57583 completion: fix bug with advcheckbox in course completion form
Jake Dallimore [Thu, 2 Mar 2017 06:34:37 +0000 (14:34 +0800)]
MDL-57583 completion: fix bug with advcheckbox in course completion form

Added the appropriate checks to handle the advcheckbox post data.

4 years agoMerge branch 'MDL-51853_m33v3' of https://github.com/sbourget/moodle
Andrew Nicols [Mon, 13 Mar 2017 00:40:45 +0000 (08:40 +0800)]
Merge branch 'MDL-51853_m33v3' of https://github.com/sbourget/moodle

4 years agoweekly release 3.3dev
Eloy Lafuente (stronk7) [Fri, 10 Mar 2017 19:59:40 +0000 (20:59 +0100)]
weekly release 3.3dev

4 years agoNOBUG: Fixed SVG browser compatibility
Eloy Lafuente (stronk7) [Fri, 10 Mar 2017 19:59:35 +0000 (20:59 +0100)]
NOBUG: Fixed SVG browser compatibility

4 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Fri, 10 Mar 2017 19:59:34 +0000 (20:59 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

4 years agoMDL-55956 mod_assign: Do not use API constant in upgrade
Andrew Nicols [Fri, 10 Mar 2017 05:27:49 +0000 (13:27 +0800)]
MDL-55956 mod_assign: Do not use API constant in upgrade

4 years agoMerge branch 'MDL-55956-master-integration' of git://github.com/junpataleta/moodle
Andrew Nicols [Fri, 10 Mar 2017 04:18:20 +0000 (12:18 +0800)]
Merge branch 'MDL-55956-master-integration' of git://github.com/junpataleta/moodle

4 years agoMDL-57596 forms: CLEANHTML in persistent forms
Damyon Wiese [Tue, 7 Mar 2017 03:19:00 +0000 (11:19 +0800)]
MDL-57596 forms: CLEANHTML in persistent forms

Add special handling for text fields with the CLEANHTML type. This should
be used when students and teachers can edit the same field (you can't trust those students).

Applies cleaning on submitted data, and on data stored in the DB before it is put back in an editing form.

4 years agoMDL-55956 mod_assign: Set priorities of old assign event overrides
Jun Pataleta [Fri, 10 Mar 2017 02:50:07 +0000 (10:50 +0800)]
MDL-55956 mod_assign: Set priorities of old assign event overrides

4 years agoMDL-58010 user: allow to update only whitelisted user preferences
Marina Glancy [Sun, 5 Mar 2017 05:20:03 +0000 (13:20 +0800)]
MDL-58010 user: allow to update only whitelisted user preferences

4 years agoMDL-57557 theme_boost: tweak js popover settings
Ryan Wyllie [Thu, 9 Mar 2017 06:11:35 +0000 (06:11 +0000)]
MDL-57557 theme_boost: tweak js popover settings

Added the focus trigger to non hover popovers so that they close when
they lose focus.

Also added a 500ms delay to hiding the hover triggered popover to give
time for clicking on the contents.

4 years agoMDL-55956 core: Update major db change version
Jun Pataleta [Thu, 9 Mar 2017 01:30:49 +0000 (09:30 +0800)]
MDL-55956 core: Update major db change version

4 years agoMerge branch 'MDL-55956-master-5' of git://github.com/junpataleta/moodle
Andrew Nicols [Wed, 8 Mar 2017 08:32:33 +0000 (16:32 +0800)]
Merge branch 'MDL-55956-master-5' of git://github.com/junpataleta/moodle

4 years agoMerge branch 'MDL-57914-master' of git://github.com/jleyva/moodle
Andrew Nicols [Wed, 8 Mar 2017 07:59:25 +0000 (15:59 +0800)]
Merge branch 'MDL-57914-master' of git://github.com/jleyva/moodle

4 years agoMerge branch 'wip-mdl-57940' of https://github.com/rajeshtaneja/moodle
Andrew Nicols [Wed, 8 Mar 2017 04:02:17 +0000 (12:02 +0800)]
Merge branch 'wip-mdl-57940' of https://github.com/rajeshtaneja/moodle

4 years agoMerge branch 'MDL-57975-master' of git://github.com/ryanwyllie/moodle
Andrew Nicols [Wed, 8 Mar 2017 03:54:24 +0000 (11:54 +0800)]
Merge branch 'MDL-57975-master' of git://github.com/ryanwyllie/moodle

4 years agoMerge branch 'MDL-58123-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Tue, 7 Mar 2017 19:45:55 +0000 (20:45 +0100)]
Merge branch 'MDL-58123-master' of git://github.com/junpataleta/moodle

4 years agoMerge branch 'MDL-57557-master' of git://github.com/danpoltawski/moodle
Eloy Lafuente (stronk7) [Tue, 7 Mar 2017 19:23:41 +0000 (20:23 +0100)]
Merge branch 'MDL-57557-master' of git://github.com/danpoltawski/moodle

4 years agoMerge branch 'MDL-58035' of git://github.com/timhunt/moodle
Dan Poltawski [Tue, 7 Mar 2017 17:49:42 +0000 (14:49 -0300)]
Merge branch 'MDL-58035' of git://github.com/timhunt/moodle

4 years agoMDL-56526 userlib: Do not allow not loggedin users if forceloginforprofile is set
Ankit Agarwal [Tue, 28 Feb 2017 16:31:49 +0000 (22:01 +0530)]
MDL-56526 userlib: Do not allow not loggedin users if forceloginforprofile is set

4 years agoMDL-56526 globalsearch: Fix bug in phpdocs
Ankit Agarwal [Wed, 15 Feb 2017 07:59:21 +0000 (13:29 +0530)]
MDL-56526 globalsearch: Fix bug in phpdocs

4 years agoMDL-57597 competency: Fix serving of prior learning evidence files
David Mudrák [Mon, 13 Feb 2017 21:49:33 +0000 (22:49 +0100)]
MDL-57597 competency: Fix serving of prior learning evidence files

For security reasons, all files submitted by students must be disposed
as attachments, not inline contents.

4 years agoMDL-58217 mod_feedback: Add data generators for items
Juan Leyva [Fri, 10 Mar 2017 09:51:51 +0000 (10:51 +0100)]
MDL-58217 mod_feedback: Add data generators for items

4 years agoMDL-58217 mod_feedback: API changes to allow generators
Juan Leyva [Fri, 10 Mar 2017 09:51:32 +0000 (10:51 +0100)]
MDL-58217 mod_feedback: API changes to allow generators

We include a new function set_date at item level so we can add the data
instead using the forms.

4 years agoAutomatically generated installer lang files
AMOS bot [Thu, 9 Mar 2017 16:04:10 +0000 (00:04 +0800)]
Automatically generated installer lang files

4 years agoMDL-55956 calendar: Include courses parameter in subquery conditions
Jun Pataleta [Wed, 8 Mar 2017 07:30:04 +0000 (15:30 +0800)]
MDL-55956 calendar: Include courses parameter in subquery conditions

4 years agoMDL-57975 core: version bump
Ryan Wyllie [Wed, 22 Feb 2017 05:55:26 +0000 (05:55 +0000)]
MDL-57975 core: version bump

Part of MDL-55611

4 years agoMDL-57975 core: add userdate mustache php helper
Ryan Wyllie [Tue, 21 Feb 2017 05:44:57 +0000 (05:44 +0000)]
MDL-57975 core: add userdate mustache php helper

Part of MDL-55611

4 years agoMDL-57975 javascript: add userdate mustache js helper
Ryan Wyllie [Tue, 21 Feb 2017 05:34:33 +0000 (05:34 +0000)]
MDL-57975 javascript: add userdate mustache js helper

Part of MDL-55611

4 years agoMDL-57975 javascript: add user_date.js
Ryan Wyllie [Tue, 21 Feb 2017 05:32:12 +0000 (05:32 +0000)]
MDL-57975 javascript: add user_date.js

Part of MDL-55611

4 years agoMDL-57975 core: test for user date external function
Ryan Wyllie [Wed, 22 Feb 2017 05:53:46 +0000 (05:53 +0000)]
MDL-57975 core: test for user date external function

Part of MDL-55611

4 years agoMDL-57975 core: add get user date external function
Ryan Wyllie [Tue, 21 Feb 2017 05:31:18 +0000 (05:31 +0000)]
MDL-57975 core: add get user date external function

Part of MDL-55611

4 years agoMDL-57751 libraries: Remove <2.6 only check from load_installed_plugins
John Okely [Thu, 22 Dec 2016 08:14:11 +0000 (16:14 +0800)]
MDL-57751 libraries: Remove <2.6 only check from load_installed_plugins

4 years agoMerge branch 'MDL-57990-master' of git://github.com/crazyserver/moodle
Dan Poltawski [Tue, 7 Mar 2017 17:00:07 +0000 (14:00 -0300)]
Merge branch 'MDL-57990-master' of git://github.com/crazyserver/moodle

4 years agoAutomatically generated installer lang files
AMOS bot [Tue, 7 Mar 2017 16:05:35 +0000 (00:05 +0800)]
Automatically generated installer lang files

4 years agoMerge branch 'MDL-58064-master-enfix' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Tue, 7 Mar 2017 15:36:54 +0000 (16:36 +0100)]
Merge branch 'MDL-58064-master-enfix' of git://github.com/mudrd8mz/moodle

4 years agoMerge branch 'MDL-57999_2' of https://github.com/zoebogner/moodle
Dan Poltawski [Tue, 7 Mar 2017 14:12:32 +0000 (11:12 -0300)]
Merge branch 'MDL-57999_2' of https://github.com/zoebogner/moodle

4 years agoMerge branch 'wip-mdl-58056' of https://github.com/rajeshtaneja/moodle
Dan Poltawski [Tue, 7 Mar 2017 14:08:24 +0000 (11:08 -0300)]
Merge branch 'wip-mdl-58056' of https://github.com/rajeshtaneja/moodle

4 years agoMerge branch 'MDL-57361-master' of git://github.com/jleyva/moodle
Dan Poltawski [Tue, 7 Mar 2017 14:07:47 +0000 (11:07 -0300)]
Merge branch 'MDL-57361-master' of git://github.com/jleyva/moodle

4 years agoMDL-58035 tool_templatelibrary: fix unit test using removed base theme
Tim Hunt [Tue, 7 Mar 2017 13:35:06 +0000 (13:35 +0000)]
MDL-58035 tool_templatelibrary: fix unit test using removed base theme

4 years agoMDL-58035 lib: log when the expected theme cannot be initialised
Tim Hunt [Tue, 21 Feb 2017 11:50:47 +0000 (11:50 +0000)]
MDL-58035 lib: log when the expected theme cannot be initialised

4 years agoMerge branch 'MDL-58106' of git://github.com/timhunt/moodle
David Monllao [Tue, 7 Mar 2017 12:37:24 +0000 (13:37 +0100)]
Merge branch 'MDL-58106' of git://github.com/timhunt/moodle

4 years agoMerge branch 'wip-mdl-58091' of https://github.com/rajeshtaneja/moodle
David Monllao [Tue, 7 Mar 2017 12:15:55 +0000 (13:15 +0100)]
Merge branch 'wip-mdl-58091' of https://github.com/rajeshtaneja/moodle

4 years agoMerge branch 'MDL-57280-master' of git://github.com/ryanwyllie/moodle
David Monllao [Tue, 7 Mar 2017 12:13:51 +0000 (13:13 +0100)]
Merge branch 'MDL-57280-master' of git://github.com/ryanwyllie/moodle

4 years agoMDL-58064 lang: Clarify the PHP 7.x limitations
David Mudrák [Tue, 7 Mar 2017 12:01:27 +0000 (13:01 +0100)]
MDL-58064 lang: Clarify the PHP 7.x limitations

These are related to SQL*Server support only and affect all PHP 7
versions, not just 7.0.x. Credit goes to Eloy Lafuente for spotting
this.

4 years agoMerge branch 'wip-MDL-57485-master' of git://github.com/abgreeve/moodle
David Monllao [Tue, 7 Mar 2017 11:15:46 +0000 (12:15 +0100)]
Merge branch 'wip-MDL-57485-master' of git://github.com/abgreeve/moodle

4 years agoMerge branch 'MDL-58057-master' of https://github.com/snake/moodle
David Monllao [Tue, 7 Mar 2017 11:09:00 +0000 (12:09 +0100)]
Merge branch 'MDL-58057-master' of https://github.com/snake/moodle

4 years agoMerge branch 'MDL-45584_master' of git://github.com/markn86/moodle
David Monllao [Tue, 7 Mar 2017 11:00:01 +0000 (12:00 +0100)]
Merge branch 'MDL-45584_master' of git://github.com/markn86/moodle

4 years agoMDL-58040 blocks: add upgrade.txt note
Dan Poltawski [Tue, 7 Mar 2017 10:46:38 +0000 (07:46 -0300)]
MDL-58040 blocks: add upgrade.txt note

4 years agoMerge branch 'MDL-58040' of git://github.com/timhunt/moodle
Dan Poltawski [Tue, 7 Mar 2017 10:43:46 +0000 (07:43 -0300)]
Merge branch 'MDL-58040' of git://github.com/timhunt/moodle

4 years agoMerge branch 'MDL-55859-master' of git://github.com/ankitagarwal/moodle
Dan Poltawski [Tue, 7 Mar 2017 10:02:33 +0000 (07:02 -0300)]
Merge branch 'MDL-55859-master' of git://github.com/ankitagarwal/moodle

4 years agoMerge branch 'MDL-58052_behat_get_session_user' of https://github.com/gthomas2/moodle
Dan Poltawski [Tue, 7 Mar 2017 09:54:37 +0000 (06:54 -0300)]
Merge branch 'MDL-58052_behat_get_session_user' of https://github.com/gthomas2/moodle

4 years agoMerge branch 'MDL-57362-master' of git://github.com/ankitagarwal/moodle
Dan Poltawski [Tue, 7 Mar 2017 09:47:38 +0000 (06:47 -0300)]
Merge branch 'MDL-57362-master' of git://github.com/ankitagarwal/moodle

4 years agoMDL-57362 assign: Fix permission checks
Ankit Agarwal [Tue, 7 Mar 2017 07:13:30 +0000 (12:43 +0530)]
MDL-57362 assign: Fix permission checks

4 years agoMerge branch 'MDL-57972-master' of git://github.com/ryanwyllie/moodle
Andrew Nicols [Tue, 7 Mar 2017 06:35:00 +0000 (14:35 +0800)]
Merge branch 'MDL-57972-master' of git://github.com/ryanwyllie/moodle

4 years agoMDL-57972 mustache: add shortentext template helper
Ryan Wyllie [Fri, 17 Feb 2017 01:15:46 +0000 (01:15 +0000)]
MDL-57972 mustache: add shortentext template helper

Part of MDL-55611

4 years agoMDL-57972 javascript: add upgrade instructions for truncate.js
Ryan Wyllie [Tue, 7 Mar 2017 05:21:47 +0000 (05:21 +0000)]
MDL-57972 javascript: add upgrade instructions for truncate.js

Part of MDL-55611

4 years agoMDL-57972 javascript: Change truncate.js behaviour
Ryan Wyllie [Mon, 20 Feb 2017 07:47:40 +0000 (07:47 +0000)]
MDL-57972 javascript: Change truncate.js behaviour

Updated truncate.js to behave closer to the moodle implementation of
shorten_text.

Part of MDL-55611

4 years agoMDL-57972 javascript: Add truncate.js third party lib
Ryan Wyllie [Mon, 20 Feb 2017 07:45:43 +0000 (07:45 +0000)]
MDL-57972 javascript: Add truncate.js third party lib

Part of MDL-55611

4 years agoMerge branch 'MDL-55956-master-5' of git://github.com/junpataleta/moodle
Andrew Nicols [Tue, 7 Mar 2017 04:07:50 +0000 (12:07 +0800)]
Merge branch 'MDL-55956-master-5' of git://github.com/junpataleta/moodle

4 years agoMDL-55956 mod_assign: Remove calendar events with 'open' eventtype
Jun Pataleta [Fri, 3 Mar 2017 08:19:49 +0000 (16:19 +0800)]
MDL-55956 mod_assign: Remove calendar events with 'open' eventtype

Remove creation of calendar events for mod_assign with
eventtype = 'open'. Since mod_assign instance creation only creates a
calendar event for the due date, there's no point in creating an override
event for an event type that does not exist.

4 years agoMDL-55956 calendar: Show only one of duplicate events relevant to user
Jun Pataleta [Wed, 11 Jan 2017 08:25:38 +0000 (16:25 +0800)]
MDL-55956 calendar: Show only one of duplicate events relevant to user

If there are multiple, non-repeating events with the same module name,
instance and event type. The most specific event or the event with the
highest priority will be shown.
The ordering of event priorities:
  User override events > Group override events > Course events.
If there are no user override events and there are multiple group
overrides for an event, then the one with the highest priority will be
shown.

4 years agoMDL-55956 mod: Set event priority for activity overrides
Jun Pataleta [Wed, 11 Jan 2017 03:16:03 +0000 (11:16 +0800)]
MDL-55956 mod: Set event priority for activity overrides

Set the event priority of the following activity overrides:
* mod_assign
* mod_lesson
* mod_quiz
Always create separate events for start and end dates of activities.

4 years agoMDL-58057 core_files: properly trim curl whitelist config when fetching
Jake Dallimore [Thu, 23 Feb 2017 03:01:58 +0000 (11:01 +0800)]
MDL-58057 core_files: properly trim curl whitelist config when fetching

4 years agoMDL-57975 javascript: add sessionstorage.js
Ryan Wyllie [Wed, 22 Feb 2017 02:33:39 +0000 (02:33 +0000)]
MDL-57975 javascript: add sessionstorage.js

Part of MDL-55611

4 years agoMDL-57932 version: bump for new icon
Dan Poltawski [Mon, 6 Mar 2017 16:54:32 +0000 (13:54 -0300)]
MDL-57932 version: bump for new icon

4 years agoMerge branch 'MDL-57932-core-moodle-logo-svg' of https://github.com/lucaboesch/moodle
Dan Poltawski [Mon, 6 Mar 2017 16:51:07 +0000 (13:51 -0300)]
Merge branch 'MDL-57932-core-moodle-logo-svg' of https://github.com/lucaboesch/moodle

4 years agoMerge branch 'MDL-57887-nginx-username-logging' of https://github.com/brendanheywood...
Dan Poltawski [Mon, 6 Mar 2017 16:43:38 +0000 (13:43 -0300)]
Merge branch 'MDL-57887-nginx-username-logging' of https://github.com/brendanheywood/moodle

4 years agoMerge branch 'MDL-57362-master' of git://github.com/ankitagarwal/moodle
Dan Poltawski [Mon, 6 Mar 2017 13:27:10 +0000 (10:27 -0300)]
Merge branch 'MDL-57362-master' of git://github.com/ankitagarwal/moodle

4 years agoMDL-55956 db: Add priority column for event table
Jun Pataleta [Wed, 11 Jan 2017 03:25:02 +0000 (11:25 +0800)]
MDL-55956 db: Add priority column for event table

* New priority column in order to enable the rendering of a single,
relevant calendar event for a module that has user/group overrides.
* Insert refresh_mod_calendar_events_task record to task_adhoc
table to upgrade existing calendar events for mod plugins via cron
after upgrade process.

4 years agoMDL-55956 core: New adhoc task refresh_mod_calendar_events_task
Jun Pataleta [Fri, 3 Mar 2017 07:22:27 +0000 (15:22 +0800)]
MDL-55956 core: New adhoc task refresh_mod_calendar_events_task

* New adhoc task that loops over mod plugins and calls the
<modname>_refresh_events() hook, if available.

4 years agoMDL-55956 mod: New function *_get_group_override_priorities()
Jun Pataleta [Thu, 12 Jan 2017 06:28:36 +0000 (14:28 +0800)]
MDL-55956 mod: New function *_get_group_override_priorities()

New module functions quiz_get_group_override_priorities() and
lesson_get_group_override_priorities() to calculate the priorities
of group overrides for a quiz/lesson activity.

4 years agoMDL-57932 core: Serve the Moodle logo as SVG
Luca Bösch [Thu, 9 Feb 2017 12:29:08 +0000 (13:29 +0100)]
MDL-57932 core: Serve the Moodle logo as SVG

The Moodle logo in the login page footer is served in SVG format.

Signed-off-by: Luca Bösch <luca.beosch@bfh.ch>
4 years agoMDL-58052 behat: user session function - use to edit current profile
gthomas2 [Mon, 27 Feb 2017 15:04:37 +0000 (15:04 +0000)]
MDL-58052 behat: user session function - use to edit current profile

4 years agoMDL-57990 course: Add sortorder as public field
Pau Ferrer Ocaña [Thu, 16 Feb 2017 14:57:05 +0000 (15:57 +0100)]
MDL-57990 course: Add sortorder as public field

4 years agoweekly release 3.3dev
Eloy Lafuente (stronk7) [Fri, 3 Mar 2017 09:33:35 +0000 (10:33 +0100)]
weekly release 3.3dev

4 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Fri, 3 Mar 2017 09:33:30 +0000 (10:33 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

4 years agoMDL-57485 themes: Set images to default display type.
Adrian Greeve [Thu, 2 Mar 2017 08:56:26 +0000 (16:56 +0800)]
MDL-57485 themes: Set images to default display type.

Imported images in atto would no longer hold a URL
tag around it. display: block was the culprit.

4 years agoMDL-57914 mod_data: Refactor get_databases_by_courses
Juan Leyva [Thu, 9 Feb 2017 12:32:26 +0000 (13:32 +0100)]
MDL-57914 mod_data: Refactor get_databases_by_courses

- Use a exporter
- Return more fields for users with the view entry capability enabled

4 years agoMDL-57914 mod_data: Allow to export properties for external_files
Juan Leyva [Fri, 10 Feb 2017 09:11:36 +0000 (10:11 +0100)]
MDL-57914 mod_data: Allow to export properties for external_files

4 years agoMDL-58106 random Q restore: avoid MySQL performance issues
Tim Hunt [Wed, 1 Mar 2017 12:43:50 +0000 (12:43 +0000)]
MDL-58106 random Q restore: avoid MySQL performance issues

4 years agoMDL-55859 assign_editpdf: cleanup htmlfile in case of errors
Ankit Agarwal [Mon, 27 Feb 2017 05:15:52 +0000 (10:45 +0530)]
MDL-55859 assign_editpdf: cleanup htmlfile in case of errors

4 years agoMDL-57321 theme_boost: Remove extra quotation mark
Cameron Ball [Thu, 2 Mar 2017 07:59:46 +0000 (15:59 +0800)]
MDL-57321 theme_boost: Remove extra quotation mark

4 years agoMDL-45584 cache: Make identifiers part of the cache creation.
Russell Smith [Tue, 7 Jun 2016 05:15:46 +0000 (15:15 +1000)]
MDL-45584 cache: Make identifiers part of the cache creation.

It is now safe to cache a reference to a cache and expect consistent results.

Changing identifiers altered cache results where a reference was
held to the cache. Identifiers have been set to be cached with
identifiers included so the caches are separate.

As a consequence of this it was identified that invalidation events
and identifiers don't easily work together as an event can't determine
which identifiers should be used for cache invalidation.  So invalidation
events have been made incompatible with identifiers being set.  No core
code used this combination as it's not possible to understand any expected
behaviour.

Event invalidation for application and session caches was centralised to the same
location.  The only difference was the name of the lastinvalidation variable. This
improves support and consistency of invalidation code.

4 years agoMDL-58123 mod_lesson: Fix lesson table name in refresh_events DB query
Jun Pataleta [Thu, 2 Mar 2017 02:54:49 +0000 (10:54 +0800)]
MDL-58123 mod_lesson: Fix lesson table name in refresh_events DB query

4 years agoMDL-53978 tool_usertours: No tours for guest or no user
Andrew Nicols [Thu, 2 Mar 2017 01:15:33 +0000 (09:15 +0800)]
MDL-53978 tool_usertours: No tours for guest or no user

4 years agoMDL-53978 core: Do not run callbacks if upgrade is running
Andrew Nicols [Thu, 2 Mar 2017 01:15:10 +0000 (09:15 +0800)]
MDL-53978 core: Do not run callbacks if upgrade is running

4 years agoMerge branch 'MDL-57321-master' of git://github.com/cameron1729/moodle
Eloy Lafuente (stronk7) [Wed, 1 Mar 2017 23:00:37 +0000 (00:00 +0100)]
Merge branch 'MDL-57321-master' of git://github.com/cameron1729/moodle

4 years agoMDL-57361 auth_email: Force policy agreed on sign-up
Juan Leyva [Mon, 12 Dec 2016 14:44:56 +0000 (14:44 +0000)]
MDL-57361 auth_email: Force policy agreed on sign-up

4 years agoMDL-57321 theme_boost: Remove duplicate aria-labelledby attribute
Cameron Ball [Fri, 16 Dec 2016 04:25:29 +0000 (12:25 +0800)]
MDL-57321 theme_boost: Remove duplicate aria-labelledby attribute

4 years agoMDL-57321 theme_boost: Fix improperly nested ul elements in footer
Cameron Ball [Thu, 15 Dec 2016 04:43:25 +0000 (12:43 +0800)]
MDL-57321 theme_boost: Fix improperly nested ul elements in footer