moodle.git
2 years agoMDL-61326 repository_equella: Pass proper labels for roles with no name
Peter [Mon, 3 Dec 2018 05:36:40 +0000 (13:36 +0800)]
MDL-61326 repository_equella: Pass proper labels for roles with no name

2 years agoweekly back-to-dev release 3.7dev
Eloy Lafuente (stronk7) [Sat, 1 Dec 2018 23:25:11 +0000 (00:25 +0100)]
weekly back-to-dev release 3.7dev

2 years agoNOBUG: Change travis.yml back to master
Eloy Lafuente (stronk7) [Sat, 1 Dec 2018 23:18:46 +0000 (00:18 +0100)]
NOBUG: Change travis.yml back to master

2 years agoMoodle release 3.6 v3.6.0
Eloy Lafuente (stronk7) [Sat, 1 Dec 2018 23:18:45 +0000 (00:18 +0100)]
Moodle release 3.6

2 years agoNOBUG: Change travis.yml to MOODLE_36_STABLE
Eloy Lafuente (stronk7) [Sat, 1 Dec 2018 23:18:45 +0000 (00:18 +0100)]
NOBUG: Change travis.yml to MOODLE_36_STABLE

2 years agoMoodle release 3.6rc3 v3.6.0-rc3
Eloy Lafuente (stronk7) [Fri, 30 Nov 2018 17:02:17 +0000 (18:02 +0100)]
Moodle release 3.6rc3

2 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Fri, 30 Nov 2018 17:02:15 +0000 (18:02 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

2 years agoMerge branch 'MDL-64282' of git://github.com/stronk7/moodle
David Monllao [Fri, 30 Nov 2018 12:02:47 +0000 (13:02 +0100)]
Merge branch 'MDL-64282' of git://github.com/stronk7/moodle

2 years agoMerge branch 'MDL-64000-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Fri, 30 Nov 2018 08:13:38 +0000 (16:13 +0800)]
Merge branch 'MDL-64000-master' of git://github.com/andrewnicols/moodle

2 years agoMDL-64000 usertours: Add final step to new tours
Andrew Nicols [Fri, 30 Nov 2018 07:12:00 +0000 (15:12 +0800)]
MDL-64000 usertours: Add final step to new tours

AMOS BEGIN
  CPY [tour_2_title_end,tool_usertours],[tour_final_step_title,tool_usertours]
AMOS END

2 years agoMerge branch 'MDL-64000-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Fri, 30 Nov 2018 05:46:09 +0000 (13:46 +0800)]
Merge branch 'MDL-64000-master' of git://github.com/andrewnicols/moodle

2 years agoMDL-64000 usertours: Add tours for key 3.6 features
Elizabeth Dalton [Fri, 30 Nov 2018 00:16:17 +0000 (08:16 +0800)]
MDL-64000 usertours: Add tours for key 3.6 features

Tours originally written by Elizabeth Dalton, Mangled a little by Andrew
Nicols and Sander Bangma, and language tweaks by Helen Foster.

AMOS BEGIN
 CPY [pluginname,block_recentlyaccessedcourses],[tour3_title_recentcourses,tool_usertours]
 CPY [pluginname,block_myoverview],[tour3_title_overview,tool_usertours]
 CPY [groupmessages,core_message],[tour4_title_groupconvo,tool_usertours]
 CPY [favourites,moodle,core_message],[tour4_title_starred,tool_usertours]
AMOS END

Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
Co-authored-by: Sander Bangma <sander@moodle.com>
Co-authored-by: Helen Foster <helen@moodle.org>
2 years agoMerge branch 'MDL-64214-master' of git://github.com/junpataleta/moodle
Jun Pataleta [Fri, 30 Nov 2018 01:53:34 +0000 (09:53 +0800)]
Merge branch 'MDL-64214-master' of git://github.com/junpataleta/moodle

2 years agoMDL-64214 calendar: Populate the groups select box on page load
Jun Pataleta [Thu, 29 Nov 2018 11:49:51 +0000 (19:49 +0800)]
MDL-64214 calendar: Populate the groups select box on page load

2 years agoAutomatically generated installer lang files
AMOS bot [Fri, 30 Nov 2018 00:07:31 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 years agoMDL-64282 versions: main version bump
Eloy Lafuente (stronk7) [Thu, 29 Nov 2018 17:28:33 +0000 (18:28 +0100)]
MDL-64282 versions: main version bump

2 years agoMDL-64282 versions: bump all versions and requires near release
Eloy Lafuente (stronk7) [Thu, 29 Nov 2018 17:24:08 +0000 (18:24 +0100)]
MDL-64282 versions: bump all versions and requires near release

version = 2018120300 release version
requires= 2018112800 current rc2 (week7roll1) version

2 years agoMerge branch 'MDL-64228-master' of git://github.com/jleyva/moodle
Jun Pataleta [Thu, 29 Nov 2018 12:51:52 +0000 (20:51 +0800)]
Merge branch 'MDL-64228-master' of git://github.com/jleyva/moodle

2 years agoMerge branch 'MDL-64264_master' of git://github.com/markn86/moodle
Damyon Wiese [Thu, 29 Nov 2018 06:46:55 +0000 (14:46 +0800)]
Merge branch 'MDL-64264_master' of git://github.com/markn86/moodle

2 years agoMerge branch 'MDL-64227-master' of git://github.com/damyon/moodle
Jun Pataleta [Thu, 29 Nov 2018 06:07:26 +0000 (14:07 +0800)]
Merge branch 'MDL-64227-master' of git://github.com/damyon/moodle

2 years agoMDL-64214 calendar: fix failing unit tests
Simey Lameze [Thu, 29 Nov 2018 02:31:05 +0000 (10:31 +0800)]
MDL-64214 calendar: fix failing unit tests

2 years agoMDL-64214 core_calendar: fix event types form element handling
Simey Lameze [Tue, 27 Nov 2018 01:22:06 +0000 (09:22 +0800)]
MDL-64214 core_calendar: fix event types form element handling

2 years agoMDL-64264 core_message: use non-deprecated WS for deletion
Mark Nelson [Thu, 29 Nov 2018 04:19:03 +0000 (12:19 +0800)]
MDL-64264 core_message: use non-deprecated WS for deletion

Also fixed typo in function name.

2 years agoMerge branch 'MDL-64245-master-fix-1' of git://github.com/ryanwyllie/moodle
Damyon Wiese [Thu, 29 Nov 2018 03:04:38 +0000 (11:04 +0800)]
Merge branch 'MDL-64245-master-fix-1' of git://github.com/ryanwyllie/moodle

2 years agoMDL-64245 message: fix scrollback for conversation loaded via contact
Ryan Wyllie [Thu, 29 Nov 2018 02:16:45 +0000 (10:16 +0800)]
MDL-64245 message: fix scrollback for conversation loaded via contact

2 years agoMDL-64245 message: Ditch sender+lastmessage lang string for simplicity
Jun Pataleta [Wed, 28 Nov 2018 08:55:13 +0000 (16:55 +0800)]
MDL-64245 message: Ditch sender+lastmessage lang string for simplicity

Passing the last message (which can virtually contain any character) as
a parameter for the {{#str}} mustache helper can break the JSON parsing
which eventually leads to the breakage of the messaging UI.
So for simplicity, revert the addition of the 'conversationlastmessage'
language string and render the sender and the last message as separate
elements.

2 years agoMDL-64245 message: fix contacts list height on Safari 10
Ryan Wyllie [Wed, 28 Nov 2018 07:34:34 +0000 (15:34 +0800)]
MDL-64245 message: fix contacts list height on Safari 10

2 years agoMDL-64245 message: fix loading convo by id with lots of messages
Ryan Wyllie [Wed, 28 Nov 2018 07:17:23 +0000 (15:17 +0800)]
MDL-64245 message: fix loading convo by id with lots of messages

2 years agoAutomatically generated installer lang files
AMOS bot [Thu, 29 Nov 2018 00:08:12 +0000 (00:08 +0000)]
Automatically generated installer lang files

2 years agoMerge branch 'MDL-63988-master' of git://github.com/bmbrands/moodle
Andrew Nicols [Wed, 28 Nov 2018 23:26:45 +0000 (07:26 +0800)]
Merge branch 'MDL-63988-master' of git://github.com/bmbrands/moodle

2 years agoMDL-63988 core_my: always honour showshortname and summary heading
Bas Brands [Wed, 28 Nov 2018 09:39:11 +0000 (10:39 +0100)]
MDL-63988 core_my: always honour showshortname and summary heading

* make the summaryview heading semantically correct for boost where titles
are h5 and headings within the blocks should have h6
* style the heading to use h5
* add clean theme .h5 class for dashboard blocks

2 years agoMDL-63988 core_my: add course shortname to dashboard blocks …
Bas Brands [Mon, 26 Nov 2018 15:10:09 +0000 (16:10 +0100)]
MDL-63988 core_my: add course shortname to dashboard blocks  …

* all dashboard card templates moved to /course/templates/
* added aria labels for course short name
* removed ":" from other course aria strings to improve screenreader output

2 years agoMoodle release 3.6rc2 v3.6.0-rc2
David Monllao [Wed, 28 Nov 2018 10:23:40 +0000 (11:23 +0100)]
Moodle release 3.6rc2

2 years agoNOBUG: Fixed SVG browser compatibility
David Monllao [Wed, 28 Nov 2018 10:23:38 +0000 (11:23 +0100)]
NOBUG: Fixed SVG browser compatibility

2 years agoMDL-64228 nextcloud: Handle the offline parameter in send_file
Juan Leyva [Wed, 28 Nov 2018 09:21:27 +0000 (10:21 +0100)]
MDL-64228 nextcloud: Handle the offline parameter in send_file

This will neew a follow-up issue.
This patch is just preventing downloading the HTML popup code when a file is not found.
Ideally, we should be able to serve the original file using the system OAuth.

2 years agoMerge branch 'MDL-64223-master' of https://github.com/snake/moodle
Jun Pataleta [Wed, 28 Nov 2018 05:59:50 +0000 (13:59 +0800)]
Merge branch 'MDL-64223-master' of https://github.com/snake/moodle

2 years agoMDL-64227 nextcloud: Small layout for login links
Damyon Wiese [Wed, 28 Nov 2018 04:34:02 +0000 (12:34 +0800)]
MDL-64227 nextcloud: Small layout for login links

When we need to show a login link, we don't want the normal page layout because we are in an iframe
already. Use the embedded layout to reduce the clutter of the page.

2 years agoMerge branch 'MDL-64224-master' of https://github.com/snake/moodle
Andrew Nicols [Wed, 28 Nov 2018 04:02:34 +0000 (12:02 +0800)]
Merge branch 'MDL-64224-master' of https://github.com/snake/moodle

2 years agoMerge branch 'MDL-64217-master' of git://github.com/ryanwyllie/moodle
Andrew Nicols [Wed, 28 Nov 2018 03:08:22 +0000 (11:08 +0800)]
Merge branch 'MDL-64217-master' of git://github.com/ryanwyllie/moodle

2 years agoMerge branch 'MDL-64207-master' of git://github.com/mihailges/moodle
Andrew Nicols [Wed, 28 Nov 2018 02:39:38 +0000 (10:39 +0800)]
Merge branch 'MDL-64207-master' of git://github.com/mihailges/moodle

2 years agoMDL-64099 message: fix lazy load list overflow
Ryan Wyllie [Wed, 28 Nov 2018 01:56:28 +0000 (09:56 +0800)]
MDL-64099 message: fix lazy load list overflow

2 years agoMerge branch 'MDL-64099-master-fix' of git://github.com/junpataleta/moodle
Damyon Wiese [Wed, 28 Nov 2018 02:15:35 +0000 (10:15 +0800)]
Merge branch 'MDL-64099-master-fix' of git://github.com/junpataleta/moodle

2 years agoMDL-64099 message: Show last message for individual messages
Jun Pataleta [Wed, 28 Nov 2018 01:27:06 +0000 (09:27 +0800)]
MDL-64099 message: Show last message for individual messages

2 years agoMDL-64224 core_message: fix for isfavourite in api::get_conversation()
Jake Dallimore [Wed, 28 Nov 2018 00:48:14 +0000 (08:48 +0800)]
MDL-64224 core_message: fix for isfavourite in api::get_conversation()

2 years agoMerge branch 'MDL-64220-master' of git://github.com/damyon/moodle
Eloy Lafuente (stronk7) [Tue, 27 Nov 2018 15:47:10 +0000 (16:47 +0100)]
Merge branch 'MDL-64220-master' of git://github.com/damyon/moodle

2 years agoMDL-64099 message: group conversation heading html
Bas Brands [Tue, 27 Nov 2018 11:19:58 +0000 (12:19 +0100)]
MDL-64099 message: group conversation heading html

* Fix for IE11 group conversation header image sticking to group name

2 years agoMDL-64099 message: last message container minimum size
Bas Brands [Tue, 27 Nov 2018 09:36:04 +0000 (10:36 +0100)]
MDL-64099 message: last message container minimum size

* empty last message containers should have a minimum size
to ensure list-group-item element are in the right place.

2 years agoMDL-64223 libraries: PHP7.1 compatibility fixes for Jabber lib
Jake Dallimore [Tue, 27 Nov 2018 08:35:56 +0000 (16:35 +0800)]
MDL-64223 libraries: PHP7.1 compatibility fixes for Jabber lib

2 years agoMerge branch 'MDL-64161-master' of git://github.com/abgreeve/moodle
Andrew Nicols [Tue, 27 Nov 2018 07:13:16 +0000 (15:13 +0800)]
Merge branch 'MDL-64161-master' of git://github.com/abgreeve/moodle

2 years agoMDL-64220 privacy: Clean path params
Damyon Wiese [Tue, 27 Nov 2018 01:42:53 +0000 (09:42 +0800)]
MDL-64220 privacy: Clean path params

We need to consistently clean the path params before we use them. This
shows a difference on windows where dir separators are different.

2 years agoMDL-64161 gradereport_singleview: Single updates reported correctly.
Adrian Greeve [Tue, 27 Nov 2018 05:42:48 +0000 (13:42 +0800)]
MDL-64161 gradereport_singleview: Single updates reported correctly.

If there is an error with the update of individual entries this is
also correctly displayed as not being updated.

2 years agoMerge branch 'MDL-64181-master-fix' of git://github.com/andrewnicols/moodle
Jun Pataleta [Tue, 27 Nov 2018 06:44:30 +0000 (14:44 +0800)]
Merge branch 'MDL-64181-master-fix' of git://github.com/andrewnicols/moodle

2 years agoMDL-64181 core: Ensure that self is included in parentage
Andrew Nicols [Tue, 27 Nov 2018 06:31:55 +0000 (14:31 +0800)]
MDL-64181 core: Ensure that self is included in parentage

2 years agoMDL-64217 bootstrapbase: add icon-size- class to undo.less
Ryan Wyllie [Tue, 27 Nov 2018 05:51:22 +0000 (13:51 +0800)]
MDL-64217 bootstrapbase: add icon-size- class to undo.less

2 years agoMerge branch 'MDL-64047-master' of https://github.com/snake/moodle
Andrew Nicols [Tue, 27 Nov 2018 03:51:48 +0000 (11:51 +0800)]
Merge branch 'MDL-64047-master' of https://github.com/snake/moodle

2 years agoMerge branch 'MDL-64181-master' of git://github.com/damyon/moodle
Jun Pataleta [Tue, 27 Nov 2018 03:47:15 +0000 (11:47 +0800)]
Merge branch 'MDL-64181-master' of git://github.com/damyon/moodle

2 years agoMerge branch 'MDL-64161-master' of git://github.com/abgreeve/moodle
Andrew Nicols [Tue, 27 Nov 2018 03:36:42 +0000 (11:36 +0800)]
Merge branch 'MDL-64161-master' of git://github.com/abgreeve/moodle

2 years agoMerge branch 'MDL-64170-master-fix' of git://github.com/junpataleta/moodle
Andrew Nicols [Tue, 27 Nov 2018 03:07:13 +0000 (11:07 +0800)]
Merge branch 'MDL-64170-master-fix' of git://github.com/junpataleta/moodle

2 years agoMDL-64170 block_myoverview: Behat fix
Jun Pataleta [Tue, 27 Nov 2018 02:37:05 +0000 (10:37 +0800)]
MDL-64170 block_myoverview: Behat fix

2 years agoMerge branch 'MDL-64099-master' of git://github.com/ryanwyllie/moodle
Jun Pataleta [Tue, 27 Nov 2018 02:53:04 +0000 (10:53 +0800)]
Merge branch 'MDL-64099-master' of git://github.com/ryanwyllie/moodle

2 years agoMDL-64099 message: fix last message and date in group conversations
Ryan Wyllie [Mon, 26 Nov 2018 06:28:10 +0000 (14:28 +0800)]
MDL-64099 message: fix last message and date in group conversations

2 years agoMDL-64099 message: correct dropdown container html
Bas Brands [Fri, 23 Nov 2018 14:40:36 +0000 (15:40 +0100)]
MDL-64099 message: correct dropdown container html

in the bootstrapbase overridden template <ul> should
be used for the dropdown container

2 years agoMDL-64099 message: Hide scrollbar on section collapsing
Bas Brands [Thu, 22 Nov 2018 17:02:19 +0000 (18:02 +0100)]
MDL-64099 message: Hide scrollbar on section collapsing

2 years agoMDL-64099 message: Highlight the collapsible header on hover
Bas Brands [Thu, 22 Nov 2018 16:33:50 +0000 (17:33 +0100)]
MDL-64099 message: Highlight the collapsible header on hover

2 years agoMDL-64099 message: Make collapsible headers bold
Bas Brands [Thu, 22 Nov 2018 16:22:05 +0000 (17:22 +0100)]
MDL-64099 message: Make collapsible headers bold

2 years agoMDL-64099 message: Move timestamps all the way to the right
Bas Brands [Thu, 22 Nov 2018 16:00:47 +0000 (17:00 +0100)]
MDL-64099 message: Move timestamps all the way to the right

2 years agoMDL-64099 message: conversation long sender names truncate
Bas Brands [Thu, 22 Nov 2018 13:50:37 +0000 (14:50 +0100)]
MDL-64099 message: conversation long sender names truncate

2 years agoMDL-64099 message: Align group image to container top
Bas Brands [Thu, 22 Nov 2018 13:29:56 +0000 (14:29 +0100)]
MDL-64099 message: Align group image to container top

2 years agoMDL-64099 message: Replace badge with rectangular shape
Bas Brands [Thu, 22 Nov 2018 13:08:49 +0000 (14:08 +0100)]
MDL-64099 message: Replace badge with rectangular shape

2 years agoMDL-64099 message: Add a border in between messages and contacts
Bas Brands [Thu, 22 Nov 2018 13:03:12 +0000 (14:03 +0100)]
MDL-64099 message: Add a border in between messages and contacts

2 years agoMDL-64099 message: Add sender name to conversation preview in overview
Bas Brands [Thu, 22 Nov 2018 11:09:42 +0000 (12:09 +0100)]
MDL-64099 message: Add sender name to conversation preview in overview

2 years agoMDL-64099 message: Change icons for select and selected messages
Ryan Wyllie [Wed, 21 Nov 2018 06:53:24 +0000 (14:53 +0800)]
MDL-64099 message: Change icons for select and selected messages

2 years agoMDL-64099 message: move delete messages icon to the right
Ryan Wyllie [Wed, 21 Nov 2018 04:04:20 +0000 (12:04 +0800)]
MDL-64099 message: move delete messages icon to the right

2 years agoMDL-64099 message: Align the icons and avatar at the top of the header
Ryan Wyllie [Wed, 21 Nov 2018 03:29:58 +0000 (11:29 +0800)]
MDL-64099 message: Align the icons and avatar at the top of the header

2 years agoMDL-64099 message: remove conversation name link underline
Ryan Wyllie [Wed, 21 Nov 2018 02:17:46 +0000 (10:17 +0800)]
MDL-64099 message: remove conversation name link underline

2 years agoMDL-64099 message: de-emphasize participant count in group conversation
Ryan Wyllie [Wed, 21 Nov 2018 02:02:23 +0000 (10:02 +0800)]
MDL-64099 message: de-emphasize participant count in group conversation

2 years agoMDL-64099 message: increase margins between messages in conversations
Ryan Wyllie [Wed, 21 Nov 2018 02:01:38 +0000 (10:01 +0800)]
MDL-64099 message: increase margins between messages in conversations

2 years agoMDL-64099 message: bold senders name in message
Ryan Wyllie [Wed, 21 Nov 2018 01:29:16 +0000 (09:29 +0800)]
MDL-64099 message: bold senders name in message

2 years agoMerge branch 'MDL-64139-master' of git://github.com/ryanwyllie/moodle
Andrew Nicols [Tue, 27 Nov 2018 01:17:18 +0000 (09:17 +0800)]
Merge branch 'MDL-64139-master' of git://github.com/ryanwyllie/moodle

2 years agoMDL-64047 core_message: test get_contact_requests() with blocked users
Jake Dallimore [Tue, 27 Nov 2018 00:51:40 +0000 (08:51 +0800)]
MDL-64047 core_message: test get_contact_requests() with blocked users

2 years agoMDL-64047 core_message: contact request count must exclude blocked users
Jake Dallimore [Mon, 26 Nov 2018 07:14:54 +0000 (15:14 +0800)]
MDL-64047 core_message: contact request count must exclude blocked users

2 years agoMDL-64181 javascript: Recursive template fix
Damyon Wiese [Mon, 26 Nov 2018 02:17:35 +0000 (10:17 +0800)]
MDL-64181 javascript: Recursive template fix

This change prevents template rendering from waiting for itself, but does
allow it to wait for another async call to render.

2 years agoMerge branch 'MDL-64205-master-sarunconfirmeduser' of git://github.com/mudrd8mz/moodle
David Monllao [Mon, 26 Nov 2018 14:42:26 +0000 (15:42 +0100)]
Merge branch 'MDL-64205-master-sarunconfirmeduser' of git://github.com/mudrd8mz/moodle

2 years agoMDL-64205 privacy: Delete orphaned data request records on upgrade
David Mudrák [Sun, 25 Nov 2018 06:17:54 +0000 (07:17 +0100)]
MDL-64205 privacy: Delete orphaned data request records on upgrade

As a result of the bug, some requests can be orphaned - the linked user
record may not exist any more. This is a cleanup of such records.

2 years agoMerge branch 'MDL-64140-master' of https://github.com/snake/moodle
David Monllao [Mon, 26 Nov 2018 12:27:24 +0000 (13:27 +0100)]
Merge branch 'MDL-64140-master' of https://github.com/snake/moodle

2 years agoMDL-64139 message: load conversation counts async
Ryan Wyllie [Wed, 21 Nov 2018 08:18:05 +0000 (16:18 +0800)]
MDL-64139 message: load conversation counts async

2 years agoMDL-64170 block_myoverview: Extend fix to aria label
David Monllao [Mon, 26 Nov 2018 04:44:00 +0000 (05:44 +0100)]
MDL-64170 block_myoverview: Extend fix to aria label

2 years agoMerge branch 'MDL-64170-master' of git://github.com/bmbrands/moodle
David Monllao [Mon, 26 Nov 2018 04:43:02 +0000 (05:43 +0100)]
Merge branch 'MDL-64170-master' of git://github.com/bmbrands/moodle

2 years agoMerge branch 'MDL-64173-master' of git://github.com/bmbrands/moodle
David Monllao [Mon, 26 Nov 2018 04:36:57 +0000 (05:36 +0100)]
Merge branch 'MDL-64173-master' of git://github.com/bmbrands/moodle

2 years agoMerge branch 'MDL-64172-master' of git://github.com/bmbrands/moodle
David Monllao [Mon, 26 Nov 2018 03:52:34 +0000 (04:52 +0100)]
Merge branch 'MDL-64172-master' of git://github.com/bmbrands/moodle

2 years agoMDL-64161 gradereport_singleview: Behat test for out of bounds grade.
Adrian Greeve [Mon, 26 Nov 2018 03:22:58 +0000 (11:22 +0800)]
MDL-64161 gradereport_singleview: Behat test for out of bounds grade.

2 years agoMDL-64161 gradereport_singleview: Stop updating grades with errors.
Adrian Greeve [Mon, 26 Nov 2018 02:56:28 +0000 (10:56 +0800)]
MDL-64161 gradereport_singleview: Stop updating grades with errors.

2 years agoMDL-64140 core_message: test unread counts with dataprovider in api
Jake Dallimore [Mon, 26 Nov 2018 02:54:29 +0000 (10:54 +0800)]
MDL-64140 core_message: test unread counts with dataprovider in api

The 3 methods used to test this function are superceded by the cases in
the dataprovider, so let's remove these and use the provider instead.

2 years agoMDL-64140 core_message: add get_unread_conversation_counts() web service
Jake Dallimore [Mon, 26 Nov 2018 02:54:18 +0000 (10:54 +0800)]
MDL-64140 core_message: add get_unread_conversation_counts() web service

2 years agoMDL-64207 gradebook: Fix grader report misalignment
Mihail Geshoski [Mon, 26 Nov 2018 02:43:25 +0000 (10:43 +0800)]
MDL-64207 gradebook: Fix grader report misalignment

2 years agoMerge branch 'MDL-64167-master-2' of https://github.com/snake/moodle
Andrew Nicols [Mon, 26 Nov 2018 01:07:38 +0000 (09:07 +0800)]
Merge branch 'MDL-64167-master-2' of https://github.com/snake/moodle

2 years agoMDL-64167 core_message: fix counts to exclude 'self' conversations
Jake Dallimore [Fri, 23 Nov 2018 05:45:09 +0000 (13:45 +0800)]
MDL-64167 core_message: fix counts to exclude 'self' conversations

2 years agoMDL-64167 core_message: get_conversations() excludes self conversations
Jake Dallimore [Fri, 23 Nov 2018 04:39:23 +0000 (12:39 +0800)]
MDL-64167 core_message: get_conversations() excludes self conversations

The UI can't handle these, so for now, let's not return them.

2 years agoMDL-64167 core_message: get_conversations() handles self conversations
Jake Dallimore [Fri, 23 Nov 2018 04:28:06 +0000 (12:28 +0800)]
MDL-64167 core_message: get_conversations() handles self conversations

Those individual conversations created with one's self (via admin user
bulk actions) are now supported in get_conversations(). These had two
records with the same userid in the message_conversation_members table.
The following adjustments have been made to accomodate these:
- Member count adjusted to read 1, not 2 for 'self' conversations.
- Member information for the current user now returned for 'self'
conversations.
- The method now tracks 'self' conversations via $selfconversations.

2 years agoMDL-64167 core_message: fix for sending bulk messages from site admin
Jake Dallimore [Fri, 23 Nov 2018 02:25:46 +0000 (10:25 +0800)]
MDL-64167 core_message: fix for sending bulk messages from site admin

This ensures the following:
- An admin/manager can send a message to all users, including themself,
without any errors.