Eloy Lafuente (stronk7) [Fri, 10 Mar 2017 19:59:40 +0000 (20:59 +0100)]
weekly release 3.3dev
Eloy Lafuente (stronk7) [Fri, 10 Mar 2017 19:59:35 +0000 (20:59 +0100)]
NOBUG: Fixed SVG browser compatibility
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
Andrew Nicols [Fri, 10 Mar 2017 05:27:49 +0000 (13:27 +0800)]
MDL-55956 mod_assign: Do not use API constant in upgrade
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
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.
Jun Pataleta [Fri, 10 Mar 2017 02:50:07 +0000 (10:50 +0800)]
MDL-55956 mod_assign: Set priorities of old assign event overrides
Marina Glancy [Sun, 5 Mar 2017 05:20:03 +0000 (13:20 +0800)]
MDL-58010 user: allow to update only whitelisted user preferences
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.
Jun Pataleta [Thu, 9 Mar 2017 01:30:49 +0000 (09:30 +0800)]
MDL-55956 core: Update major db change version
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
Andrew Nicols [Wed, 8 Mar 2017 07:59:25 +0000 (15:59 +0800)]
Merge branch 'MDL-57914-master' of git://github.com/jleyva/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
Andrew Nicols [Wed, 8 Mar 2017 03:54:24 +0000 (11:54 +0800)]
Merge branch 'MDL-57975-master' of git://github.com/ryanwyllie/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
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
Dan Poltawski [Tue, 7 Mar 2017 17:49:42 +0000 (14:49 -0300)]
Merge branch 'MDL-58035' of git://github.com/timhunt/moodle
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
Ankit Agarwal [Wed, 15 Feb 2017 07:59:21 +0000 (13:29 +0530)]
MDL-56526 globalsearch: Fix bug in phpdocs
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.
AMOS bot [Thu, 9 Mar 2017 16:04:10 +0000 (00:04 +0800)]
Automatically generated installer lang files
Jun Pataleta [Wed, 8 Mar 2017 07:30:04 +0000 (15:30 +0800)]
MDL-55956 calendar: Include courses parameter in subquery conditions
Ryan Wyllie [Wed, 22 Feb 2017 05:55:26 +0000 (05:55 +0000)]
MDL-57975 core: version bump
Part of MDL-55611
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
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
Ryan Wyllie [Tue, 21 Feb 2017 05:32:12 +0000 (05:32 +0000)]
MDL-57975 javascript: add user_date.js
Part of MDL-55611
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
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
Dan Poltawski [Tue, 7 Mar 2017 17:00:07 +0000 (14:00 -0300)]
Merge branch 'MDL-57990-master' of git://github.com/crazyserver/moodle
AMOS bot [Tue, 7 Mar 2017 16:05:35 +0000 (00:05 +0800)]
Automatically generated installer lang files
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
Dan Poltawski [Tue, 7 Mar 2017 14:12:32 +0000 (11:12 -0300)]
Merge branch 'MDL-57999_2' of https://github.com/zoebogner/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
Dan Poltawski [Tue, 7 Mar 2017 14:07:47 +0000 (11:07 -0300)]
Merge branch 'MDL-57361-master' of git://github.com/jleyva/moodle
Tim Hunt [Tue, 7 Mar 2017 13:35:06 +0000 (13:35 +0000)]
MDL-58035 tool_templatelibrary: fix unit test using removed base theme
Tim Hunt [Tue, 21 Feb 2017 11:50:47 +0000 (11:50 +0000)]
MDL-58035 lib: log when the expected theme cannot be initialised
David Monllao [Tue, 7 Mar 2017 12:37:24 +0000 (13:37 +0100)]
Merge branch 'MDL-58106' of git://github.com/timhunt/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
David Monllao [Tue, 7 Mar 2017 12:13:51 +0000 (13:13 +0100)]
Merge branch 'MDL-57280-master' of git://github.com/ryanwyllie/moodle
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.
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
David Monllao [Tue, 7 Mar 2017 11:09:00 +0000 (12:09 +0100)]
Merge branch 'MDL-58057-master' of https://github.com/snake/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
Dan Poltawski [Tue, 7 Mar 2017 10:46:38 +0000 (07:46 -0300)]
MDL-58040 blocks: add upgrade.txt note
Dan Poltawski [Tue, 7 Mar 2017 10:43:46 +0000 (07:43 -0300)]
Merge branch 'MDL-58040' of git://github.com/timhunt/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
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
Dan Poltawski [Tue, 7 Mar 2017 09:47:38 +0000 (06:47 -0300)]
Merge branch 'MDL-57362-master' of git://github.com/ankitagarwal/moodle
Ankit Agarwal [Tue, 7 Mar 2017 07:13:30 +0000 (12:43 +0530)]
MDL-57362 assign: Fix permission checks
Andrew Nicols [Tue, 7 Mar 2017 06:35:00 +0000 (14:35 +0800)]
Merge branch 'MDL-57972-master' of git://github.com/ryanwyllie/moodle
Ryan Wyllie [Fri, 17 Feb 2017 01:15:46 +0000 (01:15 +0000)]
MDL-57972 mustache: add shortentext template helper
Part of MDL-55611
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
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
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
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
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.
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.
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.
Jake Dallimore [Thu, 23 Feb 2017 03:01:58 +0000 (11:01 +0800)]
MDL-58057 core_files: properly trim curl whitelist config when fetching
Ryan Wyllie [Wed, 22 Feb 2017 02:33:39 +0000 (02:33 +0000)]
MDL-57975 javascript: add sessionstorage.js
Part of MDL-55611
Dan Poltawski [Mon, 6 Mar 2017 16:54:32 +0000 (13:54 -0300)]
MDL-57932 version: bump for new icon
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
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
Dan Poltawski [Mon, 6 Mar 2017 13:27:10 +0000 (10:27 -0300)]
Merge branch 'MDL-57362-master' of git://github.com/ankitagarwal/moodle
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.
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.
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.
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>
gthomas2 [Mon, 27 Feb 2017 15:04:37 +0000 (15:04 +0000)]
MDL-58052 behat: user session function - use to edit current profile
Pau Ferrer Ocaña [Thu, 16 Feb 2017 14:57:05 +0000 (15:57 +0100)]
MDL-57990 course: Add sortorder as public field
Eloy Lafuente (stronk7) [Fri, 3 Mar 2017 09:33:35 +0000 (10:33 +0100)]
weekly release 3.3dev
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
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.
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
Juan Leyva [Fri, 10 Feb 2017 09:11:36 +0000 (10:11 +0100)]
MDL-57914 mod_data: Allow to export properties for external_files
Tim Hunt [Wed, 1 Mar 2017 12:43:50 +0000 (12:43 +0000)]
MDL-58106 random Q restore: avoid MySQL performance issues
Ankit Agarwal [Mon, 27 Feb 2017 05:15:52 +0000 (10:45 +0530)]
MDL-55859 assign_editpdf: cleanup htmlfile in case of errors
Cameron Ball [Thu, 2 Mar 2017 07:59:46 +0000 (15:59 +0800)]
MDL-57321 theme_boost: Remove extra quotation mark
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.
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
Andrew Nicols [Thu, 2 Mar 2017 01:15:33 +0000 (09:15 +0800)]
MDL-53978 tool_usertours: No tours for guest or no user
Andrew Nicols [Thu, 2 Mar 2017 01:15:10 +0000 (09:15 +0800)]
MDL-53978 core: Do not run callbacks if upgrade is running
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
Juan Leyva [Mon, 12 Dec 2016 14:44:56 +0000 (14:44 +0000)]
MDL-57361 auth_email: Force policy agreed on sign-up
Cameron Ball [Fri, 16 Dec 2016 04:25:29 +0000 (12:25 +0800)]
MDL-57321 theme_boost: Remove duplicate aria-labelledby attribute
Cameron Ball [Thu, 15 Dec 2016 04:43:25 +0000 (12:43 +0800)]
MDL-57321 theme_boost: Fix improperly nested ul elements in footer
Cameron Ball [Fri, 16 Dec 2016 04:24:19 +0000 (12:24 +0800)]
MDL-57321 theme_boost: Use div instead of span for dropdown items
Cameron Ball [Wed, 14 Dec 2016 06:03:59 +0000 (14:03 +0800)]
MDL-57321 theme_boost: Consistently apply attributes on elements
Andrew Nicols [Wed, 1 Mar 2017 03:09:38 +0000 (11:09 +0800)]
Merge branch 'MDL-58072_master_tabtree_mustache' of https://github.com/mchurchward/moodle
Eloy Lafuente (stronk7) [Wed, 1 Mar 2017 01:56:56 +0000 (02:56 +0100)]
Merge branch 'wip-MDL-48228-master-v2' of git://github.com/abgreeve/moodle
Eloy Lafuente (stronk7) [Wed, 1 Mar 2017 01:46:06 +0000 (02:46 +0100)]
Merge branch 'MDL-53978-master-fix' of https://github.com/andrewnicols/moodle
Andrew Nicols [Wed, 1 Mar 2017 01:31:45 +0000 (09:31 +0800)]
Merge branch 'm33_MDL-57789_Add_Cache_Control_Immutable_Support' of https://github.com/scara/moodle
Andrew Nicols [Wed, 1 Mar 2017 01:18:08 +0000 (09:18 +0800)]
MDL-53978 core: Improve cache usage when no callbacks are defined
Adrian Greeve [Tue, 10 Jan 2017 06:50:18 +0000 (14:50 +0800)]
MDL-48228 database: Unit test addition and update.
Adrian Greeve [Tue, 10 Jan 2017 06:50:35 +0000 (14:50 +0800)]
MDL-48228 database: Make utf8mb4 the default character set for mysql.
Thanks to Jetha Chan for providing the initial patch that this is
based on.
Eloy Lafuente (stronk7) [Tue, 28 Feb 2017 21:57:09 +0000 (22:57 +0100)]
Merge branch 'MDL-58071-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Tue, 28 Feb 2017 21:11:16 +0000 (22:11 +0100)]
Merge branch 'MDL-55980-master' of https://github.com/sammarshallou/moodle
Eloy Lafuente (stronk7) [Tue, 28 Feb 2017 19:38:56 +0000 (20:38 +0100)]
Merge branch 'MDL-55762-master' of git://github.com/ankitagarwal/moodle
Zoe Bogner [Tue, 28 Feb 2017 07:12:52 +0000 (17:42 +1030)]
MDL-57999 grades: Add itemname to gradereport_user_get_grade_items
David Monllao [Tue, 28 Feb 2017 10:29:33 +0000 (11:29 +0100)]
Merge branch 'wip-MDL-51833-master' of git://github.com/abgreeve/moodle