moodle.git
6 years agoMDL-58857 admin: Terminate the session if a major upgrade is required
Andrew Nicols [Tue, 9 May 2017 07:00:00 +0000 (15:00 +0800)]
MDL-58857 admin: Terminate the session if a major upgrade is required

6 years agoMoodle release 3.3rc1 v3.3.0-rc1
Eloy Lafuente (stronk7) [Fri, 5 May 2017 15:40:04 +0000 (17:40 +0200)]
Moodle release 3.3rc1

6 years agoNOBUG: Fixed SVG browser compatibility
Eloy Lafuente (stronk7) [Fri, 5 May 2017 15:40:00 +0000 (17:40 +0200)]
NOBUG: Fixed SVG browser compatibility

6 years agoMerge branch 'MDL-58535-fix-c' of http://github.com/damyon/moodle
Jun Pataleta [Fri, 5 May 2017 08:48:23 +0000 (16:48 +0800)]
Merge branch 'MDL-58535-fix-c' of github.com/damyon/moodle

6 years agoMDL-58535 onedrive: Try the upload twice
Damyon Wiese [Fri, 5 May 2017 06:43:40 +0000 (14:43 +0800)]
MDL-58535 onedrive: Try the upload twice

For work accounts we need to specify the auth headers, for personal accounts we cannot specify the auth headers.
We don't know which is which so we have to try both cases.

6 years agoMerge branch 'wip-MDL-50670-master-fix' of https://github.com/marinaglancy/moodle
Andrew Nicols [Fri, 5 May 2017 06:55:22 +0000 (14:55 +0800)]
Merge branch 'wip-MDL-50670-master-fix' of https://github.com/marinaglancy/moodle

6 years agoMDL-50670 course: apply defaults when format was switched
Marina Glancy [Fri, 5 May 2017 06:47:27 +0000 (14:47 +0800)]
MDL-50670 course: apply defaults when format was switched

6 years agoMerge branch 'MDL-56251_master' of git://github.com/markn86/moodle
Jake Dallimore [Fri, 5 May 2017 05:39:57 +0000 (13:39 +0800)]
Merge branch 'MDL-56251_master' of git://github.com/markn86/moodle

6 years agoMDL-56251 format_weeks: fixed broken upgrade when using CLI
Mark Nelson [Fri, 5 May 2017 04:55:06 +0000 (12:55 +0800)]
MDL-56251 format_weeks: fixed broken upgrade when using CLI

6 years agoMerge branch 'MDL-56251_master' of git://github.com/markn86/moodle
Jake Dallimore [Fri, 5 May 2017 04:29:44 +0000 (12:29 +0800)]
Merge branch 'MDL-56251_master' of git://github.com/markn86/moodle

6 years agoMDL-56251 core: fixed failing unit tests
Mark Nelson [Thu, 4 May 2017 05:08:31 +0000 (13:08 +0800)]
MDL-56251 core: fixed failing unit tests

6 years agoMDL-56251 format_weeks: handle restore of < 3.3 backups
Mark Nelson [Wed, 3 May 2017 07:49:37 +0000 (15:49 +0800)]
MDL-56251 format_weeks: handle restore of < 3.3 backups

6 years agoMDL-56251 format_weeks: add upgrade for new 'automaticenddate' setting
Mark Nelson [Wed, 3 May 2017 03:26:12 +0000 (11:26 +0800)]
MDL-56251 format_weeks: add upgrade for new 'automaticenddate' setting

6 years agoMDL-56251 backup: trigger course_section_created/updated events
Mark Nelson [Tue, 2 May 2017 05:26:39 +0000 (13:26 +0800)]
MDL-56251 backup: trigger course_section_created/updated events

6 years agoMDL-56251 format_weeks: do not use caches in event observers
Marina Glancy [Wed, 26 Apr 2017 02:32:32 +0000 (10:32 +0800)]
MDL-56251 format_weeks: do not use caches in event observers

6 years agoMerge branch 'MDL-58807-activities-result-title-multilang' of https://github.com...
Jun Pataleta [Fri, 5 May 2017 04:09:29 +0000 (12:09 +0800)]
Merge branch 'MDL-58807-activities-result-title-multilang' of https://github.com/lucaboesch/moodle

6 years agoMerge branch 'MDL-58796-master' of git://github.com/lameze/moodle
Jake Dallimore [Fri, 5 May 2017 04:01:06 +0000 (12:01 +0800)]
Merge branch 'MDL-58796-master' of git://github.com/lameze/moodle

6 years agoMDL-58259 mod_forum: Check create attachment cap in forum_add_attachment
Juan Leyva [Tue, 14 Mar 2017 14:43:11 +0000 (15:43 +0100)]
MDL-58259 mod_forum: Check create attachment cap in forum_add_attachment

We should add the permission check there because this function is used
indirectly by the external API that is not checking for this capability.

6 years agoMerge branch 'MDL-55371-master' of git://github.com/jleyva/moodle
Andrew Nicols [Fri, 5 May 2017 01:57:40 +0000 (09:57 +0800)]
Merge branch 'MDL-55371-master' of git://github.com/jleyva/moodle

6 years agoMerge branch 'MDL-58772' of git://github.com/stronk7/moodle
Andrew Nicols [Fri, 5 May 2017 00:26:26 +0000 (08:26 +0800)]
Merge branch 'MDL-58772' of git://github.com/stronk7/moodle

6 years agoMerge branch 'MDL-58749' of git://github.com/stronk7/moodle
Andrew Nicols [Fri, 5 May 2017 00:23:27 +0000 (08:23 +0800)]
Merge branch 'MDL-58749' of git://github.com/stronk7/moodle

6 years agoMDL-58772 behat: change step to 3.2 and up alternative
Eloy Lafuente (stronk7) [Thu, 4 May 2017 22:14:31 +0000 (00:14 +0200)]
MDL-58772 behat: change step to 3.2 and up alternative

6 years agoMDL-58749 lang: fix couple of scenarios to use new lang string
Eloy Lafuente (stronk7) [Thu, 4 May 2017 21:46:46 +0000 (23:46 +0200)]
MDL-58749 lang: fix couple of scenarios to use new lang string

6 years agoMerge branch 'MDL-58725_master' of git://github.com/markn86/moodle
Dan Poltawski [Thu, 4 May 2017 14:15:35 +0000 (15:15 +0100)]
Merge branch 'MDL-58725_master' of git://github.com/markn86/moodle

6 years agoMerge branch 'MDL-58709-master' of git://github.com/jleyva/moodle
Dan Poltawski [Thu, 4 May 2017 14:13:05 +0000 (15:13 +0100)]
Merge branch 'MDL-58709-master' of git://github.com/jleyva/moodle

6 years agoMDL-58807 block_activity_results: Use multilang in block title
Luca Bösch [Wed, 3 May 2017 15:49:25 +0000 (17:49 +0200)]
MDL-58807 block_activity_results: Use multilang in block title

The title passes format_string now.

6 years agoMerge branch 'MDL-58800-master' of git://github.com/damyon/moodle
Dan Poltawski [Thu, 4 May 2017 09:00:37 +0000 (10:00 +0100)]
Merge branch 'MDL-58800-master' of git://github.com/damyon/moodle

6 years agoMDL-55371 mod_assign: Do not return empty users in get_participant WS
Juan Leyva [Thu, 4 May 2017 08:09:35 +0000 (10:09 +0200)]
MDL-55371 mod_assign: Do not return empty users in get_participant WS

The WS was returning null users making the WS to fail.

6 years agoMDL-58725 course: include selector change notes in format/upgrade.txt
Mark Nelson [Thu, 4 May 2017 07:40:51 +0000 (15:40 +0800)]
MDL-58725 course: include selector change notes in format/upgrade.txt

6 years agoMerge branch 'MDL-58749-master-enfix' of git://github.com/mudrd8mz/moodle
Jun Pataleta [Thu, 4 May 2017 06:45:08 +0000 (14:45 +0800)]
Merge branch 'MDL-58749-master-enfix' of git://github.com/mudrd8mz/moodle

6 years agoMerge branch 'MDL-58736-master' of git://github.com/cameron1729/moodle
Andrew Nicols [Thu, 4 May 2017 06:33:27 +0000 (14:33 +0800)]
Merge branch 'MDL-58736-master' of git://github.com/cameron1729/moodle

6 years agoMerge branch 'MDL-58803-master-fix' of git://github.com/junpataleta/moodle
Andrew Nicols [Thu, 4 May 2017 06:11:23 +0000 (14:11 +0800)]
Merge branch 'MDL-58803-master-fix' of git://github.com/junpataleta/moodle

6 years agoMDL-58796 mod_quiz: add handling for fontawesome icons
Simey Lameze [Wed, 3 May 2017 08:50:49 +0000 (16:50 +0800)]
MDL-58796 mod_quiz: add handling for fontawesome icons

6 years agoMerge branch 'MDL-56675-master' of git://github.com/andrewnicols/moodle
David Monllao [Thu, 4 May 2017 05:32:59 +0000 (13:32 +0800)]
Merge branch 'MDL-56675-master' of git://github.com/andrewnicols/moodle

6 years agoMDL-56675 cachestore_memcached: Check all connected servers for support
Andrew Nicols [Thu, 4 May 2017 05:09:13 +0000 (13:09 +0800)]
MDL-56675 cachestore_memcached: Check all connected servers for support

6 years agoMDL-56251 format_weeks: added observers for updating the course end date
Mark Nelson [Wed, 19 Apr 2017 04:19:14 +0000 (12:19 +0800)]
MDL-56251 format_weeks: added observers for updating the course end date

6 years agoMDL-58803 calendar: Require calendar/lib.php
Jun Pataleta [Thu, 4 May 2017 03:49:53 +0000 (11:49 +0800)]
MDL-58803 calendar: Require calendar/lib.php

6 years agoMDL-58800 repository_googledocs: Switch oauth clients
Damyon Wiese [Thu, 4 May 2017 04:57:23 +0000 (12:57 +0800)]
MDL-58800 repository_googledocs: Switch oauth clients

We need to ensure we use the correct oauth client to download files. This change
is the same as the one made to the onedrive repository where a usesystem flag
is added to the file reference if the file has been copied to the system account.

6 years agoMerge branch 'wip-MDL-58594-v2' of https://github.com/marinaglancy/moodle
David Monllao [Thu, 4 May 2017 04:38:04 +0000 (12:38 +0800)]
Merge branch 'wip-MDL-58594-v2' of https://github.com/marinaglancy/moodle

6 years agoMDL-58736 core_calendar: Revert calendar_get_events to 3.2 implementation
Cameron Ball [Thu, 4 May 2017 04:09:21 +0000 (12:09 +0800)]
MDL-58736 core_calendar: Revert calendar_get_events to 3.2 implementation

We modified calendar_get_events in a non backwards compatible way
so instead of fixing that, an easier approch is to simply revert
it to the 3.2 implementation. This should be fine since the way
to get events is going to change in an upcomming release, and we
had to swap all occurences of calendar_get_events in core with
calendar_get_legacy_events to make sure the calendar and overview match.

6 years agoMerge branch 'MDL-58707-master' of git://github.com/jleyva/moodle
Andrew Nicols [Thu, 4 May 2017 03:42:38 +0000 (11:42 +0800)]
Merge branch 'MDL-58707-master' of git://github.com/jleyva/moodle

6 years agoMerge branch 'MDL-58803-master' of git://github.com/junpataleta/moodle
Andrew Nicols [Thu, 4 May 2017 03:07:37 +0000 (11:07 +0800)]
Merge branch 'MDL-58803-master' of git://github.com/junpataleta/moodle

6 years agoMerge branch 'MDL-58431-master' of git://github.com/jleyva/moodle
Andrew Nicols [Thu, 4 May 2017 03:01:39 +0000 (11:01 +0800)]
Merge branch 'MDL-58431-master' of git://github.com/jleyva/moodle

6 years agoMerge branch 'MDL-58497-master' of git://github.com/ankitagarwal/moodle
David Monllao [Thu, 4 May 2017 02:58:36 +0000 (10:58 +0800)]
Merge branch 'MDL-58497-master' of git://github.com/ankitagarwal/moodle

6 years agoMerge branch 'MDL-56675-master' of git://github.com/andrewnicols/moodle
David Monllao [Thu, 4 May 2017 02:56:29 +0000 (10:56 +0800)]
Merge branch 'MDL-56675-master' of git://github.com/andrewnicols/moodle

6 years agoMerge branch 'MDL-58684-master-2' of https://github.com/snake/moodle
Andrew Nicols [Thu, 4 May 2017 02:14:41 +0000 (10:14 +0800)]
Merge branch 'MDL-58684-master-2' of https://github.com/snake/moodle

6 years agoMDL-58684 portfolio: use file id instead of stored_file
Jake Dallimore [Mon, 24 Apr 2017 02:20:19 +0000 (10:20 +0800)]
MDL-58684 portfolio: use file id instead of stored_file

6 years agoMDL-56251 format_weeks: add new 'automaticenddate' setting
Damyon Wiese [Tue, 11 Apr 2017 08:10:45 +0000 (16:10 +0800)]
MDL-56251 format_weeks: add new 'automaticenddate' setting

6 years agoMDL-58803 calendar: Use fully qualified name for call to rrule_manager
Jun Pataleta [Thu, 4 May 2017 00:58:11 +0000 (08:58 +0800)]
MDL-58803 calendar: Use fully qualified name for call to rrule_manager

6 years agoMerge branch 'MDL-58514-master' of git://github.com/cameron1729/moodle
Andrew Nicols [Thu, 4 May 2017 00:49:48 +0000 (08:49 +0800)]
Merge branch 'MDL-58514-master' of git://github.com/cameron1729/moodle

6 years agoMDL-58749 lang: Change "inline text" to "online text" in qtype_essay
David Mudrák [Wed, 3 May 2017 19:28:23 +0000 (21:28 +0200)]
MDL-58749 lang: Change "inline text" to "online text" in qtype_essay

This change has been agreed by Helen and Tim in MDL-49208.

6 years agoMDL-58749 lang: Merge English strings from the en_fix language pack
Helen Foster [Wed, 3 May 2017 15:32:23 +0000 (17:32 +0200)]
MDL-58749 lang: Merge English strings from the en_fix language pack

Significant string changes:

* errorinvalidbyhour,core_calendar - correcting number from 59 to 23
* cron_help,core_admin - updated recommendation to run cron every minute
* tour1_content_end, tour1_content_welcome, tour2_content_end,
  tour2_content_welcome all in tool_usertours - removing reference to
  3.2
* invalidsesskey,core_error and invalidsesskey,mod_wiki - more
  understandable error message
* pluginname_help and pluginnamesummary in qtype_essay - explaining that
  the question type can be used for file uploads
* formatnoinline, mustattach and mustrequire in qtype_essay - changing
  the word 'inline' to 'online'

6 years agoMerge branch 'MDL-58754-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Wed, 3 May 2017 17:32:45 +0000 (19:32 +0200)]
Merge branch 'MDL-58754-master' of git://github.com/andrewnicols/moodle

6 years agoMerge branch 'MDL-58788-master' of git://github.com/danpoltawski/moodle
Eloy Lafuente (stronk7) [Wed, 3 May 2017 16:44:38 +0000 (18:44 +0200)]
Merge branch 'MDL-58788-master' of git://github.com/danpoltawski/moodle

6 years agoMerge branch 'MDL-58772' of git://github.com/aolley/moodle
Dan Poltawski [Wed, 3 May 2017 15:50:29 +0000 (16:50 +0100)]
Merge branch 'MDL-58772' of git://github.com/aolley/moodle

6 years agoMerge branch 'MDL-35913-master' of git://github.com/jleyva/moodle
Dan Poltawski [Wed, 3 May 2017 13:15:11 +0000 (14:15 +0100)]
Merge branch 'MDL-35913-master' of git://github.com/jleyva/moodle

6 years agoMerge branch 'MDL-58434-master' of git://github.com/jleyva/moodle
Dan Poltawski [Wed, 3 May 2017 13:01:59 +0000 (14:01 +0100)]
Merge branch 'MDL-58434-master' of git://github.com/jleyva/moodle

6 years agoMerge branch 'MDL-50670_master' of git://github.com/markn86/moodle
Dan Poltawski [Wed, 3 May 2017 12:30:43 +0000 (13:30 +0100)]
Merge branch 'MDL-50670_master' of git://github.com/markn86/moodle

6 years agoMerge branch 'MDL-58794-master' of git://github.com/junpataleta/moodle
Dan Poltawski [Wed, 3 May 2017 12:19:19 +0000 (13:19 +0100)]
Merge branch 'MDL-58794-master' of git://github.com/junpataleta/moodle

6 years agoMerge branch 'MDL-58798-master' of git://github.com/junpataleta/moodle
Dan Poltawski [Wed, 3 May 2017 11:17:13 +0000 (12:17 +0100)]
Merge branch 'MDL-58798-master' of git://github.com/junpataleta/moodle

6 years agoMerge branch 'MDL-58692-master-authcfgnames' of git://github.com/mudrd8mz/moodle
Dan Poltawski [Wed, 3 May 2017 10:17:45 +0000 (11:17 +0100)]
Merge branch 'MDL-58692-master-authcfgnames' of git://github.com/mudrd8mz/moodle

6 years agoMDL-58692 auth: Improve the migration of auth setting names
David Mudrák [Tue, 2 May 2017 14:50:08 +0000 (16:50 +0200)]
MDL-58692 auth: Improve the migration of auth setting names

Some auth plugins used to have a mix of the legacy style of plugin names
in config_plugins table (such as 'auth/mnet') and the new correct
style (such as 'auth_mnet'). Attempting to rename the setting plugin via
low level SQL UPDATE could lead to duplicate key violation.

The patch introduces a new helper function to safely migrate the old
settings to the new ones, eventually informing the admin about the
values mismatch.

6 years agoMerge branch 'wip-MDL-58661-master' of git://github.com/marinaglancy/moodle
Dan Poltawski [Wed, 3 May 2017 09:39:51 +0000 (10:39 +0100)]
Merge branch 'wip-MDL-58661-master' of git://github.com/marinaglancy/moodle

6 years agoMDL-58788 docs: Note new behat compatibility page
Dan Poltawski [Wed, 3 May 2017 08:14:38 +0000 (09:14 +0100)]
MDL-58788 docs: Note new behat compatibility page

6 years agoMDL-58514 mod_assign: Apply consistent logic for overrides
Cameron Ball [Wed, 12 Apr 2017 09:31:00 +0000 (17:31 +0800)]
MDL-58514 mod_assign: Apply consistent logic for overrides

Previously the assign submission page was using "lenient" logic
for overrides when more than one group override applied to a user
(i.e., use the earliest "open" date and the latest "due" date)
when really it should be using the sortorder as per the assign
grading table.

6 years agoMerge branch 'MDL-58535-master' of git://github.com/damyon/moodle
Jun Pataleta [Wed, 3 May 2017 08:41:38 +0000 (16:41 +0800)]
Merge branch 'MDL-58535-master' of git://github.com/damyon/moodle

6 years agoMerge branch 'MDL-58650_master' of git://github.com/markn86/moodle
Jake Dallimore [Wed, 3 May 2017 07:56:55 +0000 (15:56 +0800)]
Merge branch 'MDL-58650_master' of git://github.com/markn86/moodle

6 years agoMDL-58794 core_course: Use a simpler future timestamp for test
Jun Pataleta [Wed, 3 May 2017 02:55:54 +0000 (10:55 +0800)]
MDL-58794 core_course: Use a simpler future timestamp for test

6 years agoMDL-58798 theme_boost: Override font size for big icon fonts
Jun Pataleta [Wed, 3 May 2017 06:41:13 +0000 (14:41 +0800)]
MDL-58798 theme_boost: Override font size for big icon fonts

6 years agoMDL-58670 blog: respect capability to search entries
Marina Glancy [Wed, 26 Apr 2017 07:04:25 +0000 (15:04 +0800)]
MDL-58670 blog: respect capability to search entries

6 years agoMDL-58635 blogs: check edited blog belongs to current user
Marina Glancy [Wed, 19 Apr 2017 04:04:47 +0000 (12:04 +0800)]
MDL-58635 blogs: check edited blog belongs to current user

6 years agoMDL-58172 mod_choice: Make export choice respect id fields
Andrew Hancox [Tue, 7 Mar 2017 09:59:55 +0000 (09:59 +0000)]
MDL-58172 mod_choice: Make export choice respect id fields

6 years agoon-demand release 3.3beta+
David Monllao [Wed, 3 May 2017 02:28:52 +0000 (10:28 +0800)]
on-demand release 3.3beta+

6 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
David Monllao [Wed, 3 May 2017 02:28:51 +0000 (10:28 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

6 years agoMDL-56675 cachestore_memcached: Disable store if not purgeable
Andrew Nicols [Wed, 2 Nov 2016 01:41:14 +0000 (09:41 +0800)]
MDL-56675 cachestore_memcached:  Disable store if not purgeable

If the store is shared and the getAllKeys function is broken due to an
incompatability between libmemcached and memcached >= 1.4.23, then it is
not possible to purge the cache, and we cannot support the plugin.

This patch adjusts the isready check to additionally check if the
combination of libmemcached and memcached is affected by this issue.

6 years agoMDL-58746 core: Simplify environment check
Andrew Nicols [Wed, 3 May 2017 00:32:04 +0000 (08:32 +0800)]
MDL-58746 core: Simplify environment check

6 years agoMDL-58434 mod_lesson: Display invalid responses in detailed report
Juan Leyva [Wed, 19 Apr 2017 11:02:34 +0000 (13:02 +0200)]
MDL-58434 mod_lesson: Display invalid responses in detailed report

In the detailed statistics view for one user attempt, the user response
for numerical question types was not being displayed.
This was only happening for incorrect responses.

6 years agoAutomatically generated installer lang files
AMOS bot [Tue, 2 May 2017 16:05:36 +0000 (00:05 +0800)]
Automatically generated installer lang files

6 years agoMDL-50670 course: correctly apply defaults for format options
Marina Glancy [Tue, 23 Jun 2015 02:09:32 +0000 (10:09 +0800)]
MDL-50670 course: correctly apply defaults for format options

6 years agoMDL-58650 core_message: always use 'popup' processor for messages
Mark Nelson [Mon, 1 May 2017 05:12:47 +0000 (13:12 +0800)]
MDL-58650 core_message: always use 'popup' processor for messages

6 years agoMDL-58754 competency: Change query for DISTINCT COUNT
Andrew Nicols [Tue, 2 May 2017 06:48:35 +0000 (14:48 +0800)]
MDL-58754 competency: Change query for DISTINCT COUNT

6 years agoMDL-58535 oauth: Make the refreshtoken protected
Damyon Wiese [Tue, 2 May 2017 04:21:36 +0000 (12:21 +0800)]
MDL-58535 oauth: Make the refreshtoken protected

It is set in subclasses so it should be protected (it was working regardless).

6 years agoMDL-58535 repository_onedrive: Use correct user
Damyon Wiese [Tue, 2 May 2017 03:45:57 +0000 (11:45 +0800)]
MDL-58535 repository_onedrive: Use correct user

If the file was copied to a system account, we need to use the system oauth when accessing it.

6 years agoMDL-58772 mod_feedback: Dont overwrite anonymous entries
Adam Olley [Tue, 2 May 2017 03:11:51 +0000 (12:41 +0930)]
MDL-58772 mod_feedback: Dont overwrite anonymous entries

The feedback module lets you alternate between responses being anonymised and
not anonymised. When the module is in anonymous mode, its possible for a single
user to make multiple responses.

However when the activity is switched to non-anon mode, if a user leaves a
follow up feedback, one of their previously anonymous responses is used, so
their new response stays anonymous and their old anon response is lost.

This change lets them leave a new non-anonymised feedback entry and retains all
previous anonymous responses instead of incorrectly reusing one of their anon
ones at random.

6 years agoMerge branch 'MDL-57704-master' of https://github.com/xow/moodle
Andrew Nicols [Tue, 2 May 2017 02:35:46 +0000 (10:35 +0800)]
Merge branch 'MDL-57704-master' of https://github.com/xow/moodle

6 years agoMDL-58535 oauth2: Don't rely on the return scopes
Damyon Wiese [Tue, 2 May 2017 02:03:58 +0000 (10:03 +0800)]
MDL-58535 oauth2: Don't rely on the return scopes

MS makes a big mess of returning scopes from oauth requests. They only return the custom MS scopes like
User.Read and they never return non-MS scopes (like openid, profile, email).

6 years agoMDL-57704 ltiprovider: Don't force SSLv3
John Okely [Tue, 2 May 2017 01:11:23 +0000 (09:11 +0800)]
MDL-57704 ltiprovider: Don't force SSLv3

6 years agoMerge branch 'wip-MDL-58665-master' of git://github.com/marinaglancy/moodle
Andrew Nicols [Tue, 2 May 2017 01:00:07 +0000 (09:00 +0800)]
Merge branch 'wip-MDL-58665-master' of git://github.com/marinaglancy/moodle

6 years agoMDL-55468 mod_feedback: revive export analysis to excel
Marina Glancy [Thu, 6 Apr 2017 03:40:31 +0000 (11:40 +0800)]
MDL-55468 mod_feedback: revive export analysis to excel

6 years agoMerge branch 'MDL-58760-master-pixescape' of git://github.com/mudrd8mz/moodle
Dan Poltawski [Mon, 1 May 2017 10:25:39 +0000 (11:25 +0100)]
Merge branch 'MDL-58760-master-pixescape' of git://github.com/mudrd8mz/moodle

6 years agoMDL-58594 backup: setting locked by permission can not be overriden
Marina Glancy [Thu, 20 Apr 2017 03:00:57 +0000 (11:00 +0800)]
MDL-58594 backup: setting locked by permission can not be overriden

6 years agoMDL-58665 dashboard: use bigger course object for completion
Marina Glancy [Fri, 28 Apr 2017 02:36:53 +0000 (10:36 +0800)]
MDL-58665 dashboard: use bigger course object for completion

class completion_info will make an extra DB query to retrieve the course if course->enablecompletion is not present

6 years agoMDL-58665 mod_scorm: cache times in modinfo for performance
Marina Glancy [Fri, 28 Apr 2017 02:35:29 +0000 (10:35 +0800)]
MDL-58665 mod_scorm: cache times in modinfo for performance

6 years agoMDL-58497 forum: Show correct itemcount on action events
Ankit Agarwal [Mon, 1 May 2017 07:58:37 +0000 (13:28 +0530)]
MDL-58497 forum: Show correct itemcount on action events

6 years agoMDL-58535 repository_onedrive: Use the weblink
Damyon Wiese [Mon, 1 May 2017 05:59:15 +0000 (13:59 +0800)]
MDL-58535 repository_onedrive: Use the weblink

The permission has it's own weblink which is different from the link on the original doc.

6 years agoMDL-58535 repository_onedrive: Better error
Damyon Wiese [Mon, 1 May 2017 02:48:06 +0000 (10:48 +0800)]
MDL-58535 repository_onedrive: Better error

When OneDrive has never been initialised the Graph API returns an error. Detect this and
direct the user to log in to OneDrive.

6 years agoMDL-58535 repository_onedrive: Integration review fixes
Damyon Wiese [Mon, 1 May 2017 02:26:00 +0000 (10:26 +0800)]
MDL-58535 repository_onedrive: Integration review fixes

Fixes for some missing imports and unused variables.

6 years agoMDL-58535 onedrive: Fix upload to system account
Damyon Wiese [Thu, 27 Apr 2017 06:58:33 +0000 (14:58 +0800)]
MDL-58535 onedrive: Fix upload to system account

This was failing for personal accounts (but was fine for business).

6 years agoMDL-58535 assign: Always pass file serving options.
Damyon Wiese [Mon, 10 Apr 2017 02:31:03 +0000 (10:31 +0800)]
MDL-58535 assign: Always pass file serving options.

This allows the mobile app to pass offline=1 in urls to files to force export/download of the source file
for controlled links.

6 years agoMDL-58535 repository_onedrive: Controlled link fixes
Damyon Wiese [Fri, 7 Apr 2017 04:10:00 +0000 (12:10 +0800)]
MDL-58535 repository_onedrive: Controlled link fixes

It is impossible to reliable copy a file between users without downloading and uploading the file.

This sucks but it's true...