moodle.git
3 years agoMDL-63303 message: add fields to send_instant_message
Ryan Wyllie [Tue, 16 Oct 2018 03:44:02 +0000 (11:44 +0800)]
MDL-63303 message: add fields to send_instant_message

3 years agoMDL-63303 message: add fields to contact requests
Ryan Wyllie [Tue, 30 Oct 2018 07:10:05 +0000 (15:10 +0800)]
MDL-63303 message: add fields to contact requests

3 years agoMDL-63303 message: add get_member_info external function
Ryan Wyllie [Mon, 5 Nov 2018 07:30:59 +0000 (15:30 +0800)]
MDL-63303 message: add get_member_info external function

3 years agoMDL-63303 message: fix get_member_info iscontact check
Ryan Wyllie [Tue, 6 Nov 2018 06:14:29 +0000 (14:14 +0800)]
MDL-63303 message: fix get_member_info iscontact check

3 years agoMDL-63303 message: fix mark_all_conversation_messages_as_read ext func
Ryan Wyllie [Tue, 6 Nov 2018 06:03:11 +0000 (14:03 +0800)]
MDL-63303 message: fix mark_all_conversation_messages_as_read ext func

3 years agoMDL-63303 message: fix get_conversation_messages
Ryan Wyllie [Mon, 5 Nov 2018 06:13:54 +0000 (14:13 +0800)]
MDL-63303 message: fix get_conversation_messages

3 years agoMDL-63303 core_favourites: add get and count functions
Ryan Wyllie [Mon, 29 Oct 2018 06:57:48 +0000 (14:57 +0800)]
MDL-63303 core_favourites: add get and count functions

3 years agoMDL-63303 theme_bootstrapbase: add bs4 compat classes
Ryan Wyllie [Tue, 16 Oct 2018 03:32:12 +0000 (11:32 +0800)]
MDL-63303 theme_bootstrapbase: add bs4 compat classes

3 years agoMDL-63303 theme_boost: add switch styling for checkbox
Ryan Wyllie [Tue, 16 Oct 2018 03:31:27 +0000 (11:31 +0800)]
MDL-63303 theme_boost: add switch styling for checkbox

3 years agoMDL-63303 core: add new icons for messaging
Ryan Wyllie [Tue, 16 Oct 2018 03:30:22 +0000 (11:30 +0800)]
MDL-63303 core: add new icons for messaging

3 years agoMDL-63303 core: allow subsystems to add nav bar and top of body content
Ryan Wyllie [Tue, 16 Oct 2018 03:27:50 +0000 (11:27 +0800)]
MDL-63303 core: allow subsystems to add nav bar and top of body content

3 years agoMDL-63303 core: add debug info to exceptions
Ryan Wyllie [Thu, 25 Oct 2018 02:07:52 +0000 (10:07 +0800)]
MDL-63303 core: add debug info to exceptions

3 years agoMDL-63303 javascript: fix bug in auto_rows.js allowing it to shrink
Ryan Wyllie [Tue, 16 Oct 2018 03:24:07 +0000 (11:24 +0800)]
MDL-63303 javascript: fix bug in auto_rows.js allowing it to shrink

3 years agoMerge branch 'MDL-63974-master' of https://github.com/snake/moodle
Jun Pataleta [Thu, 15 Nov 2018 03:22:16 +0000 (11:22 +0800)]
Merge branch 'MDL-63974-master' of https://github.com/snake/moodle

3 years agoMerge branch 'MDL-63283-master-2' of https://github.com/snake/moodle
Damyon Wiese [Thu, 15 Nov 2018 02:43:03 +0000 (10:43 +0800)]
Merge branch 'MDL-63283-master-2' of https://github.com/snake/moodle

3 years agoMDL-63283 core_message: skip processors in non-individual conversations
Jake Dallimore [Wed, 14 Nov 2018 03:01:26 +0000 (11:01 +0800)]
MDL-63283 core_message: skip processors in non-individual conversations

Disable the processor for messages being sent to conversation types
other than individual.

3 years agoMDL-63974 core_message: fix logic for non-contacts in user search
Jake Dallimore [Mon, 12 Nov 2018 09:51:33 +0000 (17:51 +0800)]
MDL-63974 core_message: fix logic for non-contacts in user search

This should depend on the messagingallusers setting and, if false,
should only return those users having a profile the searcher can see.
If true, then any user can be returned. There is no requirement to
have a conversation with the user.

3 years agoMDL-63974 core_message: restore legacy behaviour for search_users()
Jake Dallimore [Mon, 12 Nov 2018 08:12:08 +0000 (16:12 +0800)]
MDL-63974 core_message: restore legacy behaviour for search_users()

3 years agoMerge branch 'MDL-53566-master-fix' of git://github.com/andrewnicols/moodle
Jun Pataleta [Thu, 15 Nov 2018 01:49:56 +0000 (09:49 +0800)]
Merge branch 'MDL-53566-master-fix' of git://github.com/andrewnicols/moodle

3 years agoMDL-53566 core: Make context freeze test compat with clean
Andrew Nicols [Wed, 14 Nov 2018 23:33:30 +0000 (07:33 +0800)]
MDL-53566 core: Make context freeze test compat with clean

3 years agoMerge branch 'MDL-63653-master' of https://github.com/lucaboesch/moodle
Eloy Lafuente (stronk7) [Wed, 14 Nov 2018 15:22:44 +0000 (16:22 +0100)]
Merge branch 'MDL-63653-master' of https://github.com/lucaboesch/moodle

3 years agoMerge branch 'MDL-63842-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Wed, 14 Nov 2018 15:03:16 +0000 (16:03 +0100)]
Merge branch 'MDL-63842-master' of git://github.com/andrewnicols/moodle

3 years agoMerge branch 'MDL-61990' of https://github.com/timhunt/moodle
David Monllao [Wed, 14 Nov 2018 11:09:34 +0000 (12:09 +0100)]
Merge branch 'MDL-61990' of https://github.com/timhunt/moodle

3 years agoMerge branch 'MDL-63991-master' of git://github.com/crazyserver/moodle
David Monllao [Wed, 14 Nov 2018 10:57:57 +0000 (11:57 +0100)]
Merge branch 'MDL-63991-master' of git://github.com/crazyserver/moodle

3 years agoMerge branch 'MDL-63488-master' of git://github.com/peterRd/moodle
David Monllao [Wed, 14 Nov 2018 10:22:06 +0000 (11:22 +0100)]
Merge branch 'MDL-63488-master' of git://github.com/peterRd/moodle

3 years agoMerge branch 'MDL-64005-master' of git://github.com/abgreeve/moodle
Damyon Wiese [Wed, 14 Nov 2018 08:00:14 +0000 (16:00 +0800)]
Merge branch 'MDL-64005-master' of git://github.com/abgreeve/moodle

3 years agoMerge branch 'MDL-53566-master' of git://github.com/andrewnicols/moodle
Damyon Wiese [Wed, 14 Nov 2018 07:04:01 +0000 (15:04 +0800)]
Merge branch 'MDL-53566-master' of git://github.com/andrewnicols/moodle

3 years agoMerge branch 'MDL-63926-master' of git://github.com/mickhawkins/moodle
Jun Pataleta [Wed, 14 Nov 2018 06:23:06 +0000 (14:23 +0800)]
Merge branch 'MDL-63926-master' of git://github.com/mickhawkins/moodle

3 years agoMDL-53566 core: Rename locking to freezing in UI
Andrew Nicols [Wed, 14 Nov 2018 04:37:56 +0000 (12:37 +0800)]
MDL-53566 core: Rename locking to freezing in UI

3 years agoMerge branch 'MDL-63868-master' of git://github.com/abgreeve/moodle
Damyon Wiese [Wed, 14 Nov 2018 04:11:12 +0000 (12:11 +0800)]
Merge branch 'MDL-63868-master' of git://github.com/abgreeve/moodle

3 years agoMDL-63926 block_recentlyaccesseditems: Add privacy provider unit tests
Michael Hawkins [Mon, 12 Nov 2018 06:33:09 +0000 (14:33 +0800)]
MDL-63926 block_recentlyaccesseditems: Add privacy provider unit tests

3 years agoMDL-63926 block_recentlyaccesseditems: Support user removal by context
Michael Hawkins [Mon, 12 Nov 2018 04:19:51 +0000 (12:19 +0800)]
MDL-63926 block_recentlyaccesseditems: Support user removal by context

Also fixed the provider interface type. This is self contained, so is
not a subsystem provider. It was also already set up as a plugin
provider, just not defined as such.

3 years agoMerge branch 'MDL-63901-master' of git://github.com/sarjona/moodle
Damyon Wiese [Wed, 14 Nov 2018 03:14:18 +0000 (11:14 +0800)]
Merge branch 'MDL-63901-master' of git://github.com/sarjona/moodle

3 years agoMDL-63926 block_recentlyaccesseditems: Improved get_contexts_for_userid
Michael Hawkins [Mon, 12 Nov 2018 04:24:52 +0000 (12:24 +0800)]
MDL-63926 block_recentlyaccesseditems: Improved get_contexts_for_userid

Updated the provider::get_contexts_for_userid method, to prevent false
positives. Previously, the user context would always be returned, now
the method checks data exists for the block first.

3 years agoMDL-64005 gradebook: Fix to remove debugging message.
Adrian Greeve [Wed, 14 Nov 2018 02:39:57 +0000 (10:39 +0800)]
MDL-64005 gradebook: Fix to remove debugging message.

The progress bar is being used when there are a large amount
of grades being recalculated. This was throwing a debugging message
about NO_OUTPUT_BUFFERING being unset.

3 years agoMerge branch 'MDL-63923-master' of git://github.com/bmbrands/moodle
Andrew Nicols [Wed, 14 Nov 2018 01:54:40 +0000 (09:54 +0800)]
Merge branch 'MDL-63923-master' of git://github.com/bmbrands/moodle

3 years agoMDL-63488 core_grade: Use the rewrite_pluginurls to handle files
Peter [Wed, 7 Nov 2018 05:32:22 +0000 (13:32 +0800)]
MDL-63488 core_grade: Use the rewrite_pluginurls to handle files

* Use the rewrite_plugin_urls to handled embedded files
* Add phpunit tests for default and updated functionality of format_text

3 years agoMDL-63488 grade: Add tests for format_feedback
Andrew Nicols [Mon, 12 Nov 2018 06:54:36 +0000 (14:54 +0800)]
MDL-63488 grade: Add tests for format_feedback

Signed-off-by: Peter <peter@moodle.com>
3 years agoMDL-53566 core: add back upgrade code removed @ 0616f04 by mistake
Eloy Lafuente (stronk7) [Wed, 14 Nov 2018 00:04:46 +0000 (01:04 +0100)]
MDL-53566 core: add back upgrade code removed @ 0616f04 by mistake

3 years agoMerge branch 'MDL-53566-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Tue, 13 Nov 2018 22:55:38 +0000 (23:55 +0100)]
Merge branch 'MDL-53566-master' of git://github.com/andrewnicols/moodle

3 years agoMDL-63653 tool_xmldb: style form elements
Luca Bösch [Sun, 14 Oct 2018 11:01:29 +0000 (13:01 +0200)]
MDL-63653 tool_xmldb: style form elements

3 years agoMDL-61990 outputrequirementslib: improve debug message
Tim Hunt [Tue, 13 Nov 2018 17:11:17 +0000 (17:11 +0000)]
MDL-61990 outputrequirementslib: improve debug message

3 years agoMerge branch 'MDL-63882-master' of git://github.com/damyon/moodle
David Monllao [Tue, 13 Nov 2018 15:07:14 +0000 (16:07 +0100)]
Merge branch 'MDL-63882-master' of git://github.com/damyon/moodle

3 years agoMDL-63991 badges: Translate notification on endorsement
Pau Ferrer Ocaña [Tue, 13 Nov 2018 14:51:53 +0000 (15:51 +0100)]
MDL-63991 badges: Translate notification on endorsement

3 years agoMDL-63991 badges: Fix links on badge render
Pau Ferrer Ocaña [Tue, 13 Nov 2018 11:09:03 +0000 (12:09 +0100)]
MDL-63991 badges: Fix links on badge render

3 years agoMDL-53566 tool_monitor: Fix context preload
Andrew Nicols [Tue, 13 Nov 2018 13:15:10 +0000 (21:15 +0800)]
MDL-53566 tool_monitor: Fix context preload

3 years agoMDL-53566 core: Allow admins more control over locking
Andrew Nicols [Tue, 13 Nov 2018 01:14:34 +0000 (09:14 +0800)]
MDL-53566 core: Allow admins more control over locking

This change allows sites to configure locking such that it does not
apply to administrators at all.

3 years agoMDL-53566 core: Move managecontextlocking to module
Andrew Nicols [Tue, 13 Nov 2018 00:06:25 +0000 (08:06 +0800)]
MDL-53566 core: Move managecontextlocking to module

This will allow the capability to be applied at a range of contexts and
not just the system, making the system much more definable to a range of
users.

3 years agoMDL-53566 core: Remove unused ancestorlocked field
Andrew Nicols [Tue, 13 Nov 2018 00:03:49 +0000 (08:03 +0800)]
MDL-53566 core: Remove unused ancestorlocked field

This was originalyl intended as a performance improvement, but the
parent is already stored, and once calculated the value of locked is
already returned.

3 years agoMDL-53566 core: Add behat test for context loking
Andrew Nicols [Fri, 2 Nov 2018 07:31:51 +0000 (15:31 +0800)]
MDL-53566 core: Add behat test for context loking

3 years agoMDL-53566 mod_forum: Correct captype for writeable capabilities
Andrew Nicols [Thu, 7 Jun 2018 06:35:45 +0000 (14:35 +0800)]
MDL-53566 mod_forum: Correct captype for writeable capabilities

3 years agoMDL-53566 core: Add UI for context locking
Andrew Nicols [Fri, 8 Jun 2018 03:37:43 +0000 (11:37 +0800)]
MDL-53566 core: Add UI for context locking

3 years agoMDL-53566 core: Add support for context locking
Andrew Nicols [Thu, 7 Jun 2018 06:35:26 +0000 (14:35 +0800)]
MDL-53566 core: Add support for context locking

This chagne adds support for a new feature known as Context Locking.
This allows a context to be locked, thereby removing all write
capabilities for all users (including admin) for that context, and all
child contexts.

3 years agoon-demand release 3.6dev+
David Monllao [Tue, 13 Nov 2018 12:11:07 +0000 (13:11 +0100)]
on-demand release 3.6dev+

3 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
David Monllao [Tue, 13 Nov 2018 12:11:05 +0000 (13:11 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

3 years agoMerge branch 'MDL-63729-master' of git://github.com/dpalou/moodle
David Monllao [Tue, 13 Nov 2018 10:13:37 +0000 (11:13 +0100)]
Merge branch 'MDL-63729-master' of git://github.com/dpalou/moodle

3 years agoMDL-63729 badges: Fix course badge test
dpalou [Tue, 13 Nov 2018 09:40:27 +0000 (10:40 +0100)]
MDL-63729 badges: Fix course badge test

3 years agoMDL-63901 core_message: Avoid duplicate last message
Sara Arjona [Fri, 9 Nov 2018 11:15:36 +0000 (12:15 +0100)]
MDL-63901 core_message: Avoid duplicate last message

3 years agoMDL-63868 core_calendar: Clicking link leads to events.
Adrian Greeve [Tue, 13 Nov 2018 07:28:03 +0000 (15:28 +0800)]
MDL-63868 core_calendar: Clicking link leads to events.

The mini calendar did not link to the daily events properly.

3 years agoMerge branch 'MDL-63927' of git://github.com/stronk7/moodle
Damyon Wiese [Tue, 13 Nov 2018 03:57:12 +0000 (11:57 +0800)]
Merge branch 'MDL-63927' of git://github.com/stronk7/moodle

3 years agoMerge branch 'MDL-63716-master' of git://github.com/damyon/moodle
Andrew Nicols [Tue, 13 Nov 2018 03:20:54 +0000 (11:20 +0800)]
Merge branch 'MDL-63716-master' of git://github.com/damyon/moodle

3 years agoMDL-63882 core_message: Use validate_parameters
Damyon Wiese [Tue, 6 Nov 2018 06:06:49 +0000 (14:06 +0800)]
MDL-63882 core_message: Use validate_parameters

external_api::validate_parameters() sets defaults, and does cleaning and sanitisation of the
inputs. It returns the cleaned params. We can't be re-using the arguments to this function
instead of the results, because they have not been cleaned.

3 years agoMerge branch 'MDL-63834_master' of git://github.com/markn86/moodle
Jun Pataleta [Tue, 13 Nov 2018 01:35:23 +0000 (09:35 +0800)]
Merge branch 'MDL-63834_master' of git://github.com/markn86/moodle

3 years agoMDL-63834 core_message: validate conversation type before creating
Mark Nelson [Tue, 13 Nov 2018 00:37:09 +0000 (08:37 +0800)]
MDL-63834 core_message: validate conversation type before creating

3 years agoAutomatically generated installer lang files
AMOS bot [Tue, 13 Nov 2018 00:07:31 +0000 (00:07 +0000)]
Automatically generated installer lang files

3 years agoMerge branch 'master_MDL-63953' of https://github.com/danmarsden/moodle
Andrew Nicols [Mon, 12 Nov 2018 23:47:45 +0000 (07:47 +0800)]
Merge branch 'master_MDL-63953' of https://github.com/danmarsden/moodle

3 years agoMerge branch 'MDL-63729-master' of git://github.com/dpalou/moodle
David Monllao [Mon, 12 Nov 2018 16:44:18 +0000 (17:44 +0100)]
Merge branch 'MDL-63729-master' of git://github.com/dpalou/moodle

3 years agoMDL-63724 messaging: Prefix field with the table alias
David Monllao [Mon, 12 Nov 2018 15:26:14 +0000 (16:26 +0100)]
MDL-63724 messaging: Prefix field with the table alias

3 years agoMerge branch 'MDL-63855-master' of git://github.com/bmbrands/moodle
David Monllao [Mon, 12 Nov 2018 12:27:08 +0000 (13:27 +0100)]
Merge branch 'MDL-63855-master' of git://github.com/bmbrands/moodle

3 years agoMerge branch 'MDL-63907-master' of git://github.com/cescobedo/moodle
Eloy Lafuente (stronk7) [Mon, 12 Nov 2018 11:07:45 +0000 (12:07 +0100)]
Merge branch 'MDL-63907-master' of git://github.com/cescobedo/moodle

3 years agoMerge branch 'MDL-63929-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Mon, 12 Nov 2018 11:02:51 +0000 (12:02 +0100)]
Merge branch 'MDL-63929-master' of git://github.com/jleyva/moodle

3 years agoMerge branch 'MDL-63925-master' of git://github.com/mickhawkins/moodle
David Monllao [Mon, 12 Nov 2018 10:57:42 +0000 (11:57 +0100)]
Merge branch 'MDL-63925-master' of git://github.com/mickhawkins/moodle

3 years agoMerge branch 'MDL-63940-master-recaptchaurl' of git://github.com/mudrd8mz/moodle
David Monllao [Mon, 12 Nov 2018 09:42:36 +0000 (10:42 +0100)]
Merge branch 'MDL-63940-master-recaptchaurl' of git://github.com/mudrd8mz/moodle

3 years agoMDL-63901 core_message: Fix error when the conversation does not exist
Sara Arjona [Thu, 8 Nov 2018 09:30:42 +0000 (10:30 +0100)]
MDL-63901 core_message: Fix error when the conversation does not exist

Create a conversation instead of throwing an exception to get the
behaviour working as it was before.
The string lang 'conversationdoesntexist' can be removed because
it was added in MDL-63466 and it's not used anywhere more.

3 years agoMerge branch 'MDL-63823-master' of git://github.com/lameze/moodle
David Monllao [Mon, 12 Nov 2018 09:09:33 +0000 (10:09 +0100)]
Merge branch 'MDL-63823-master' of git://github.com/lameze/moodle

3 years agoMDL-63855 core_my: no vertical scroll card blocks
Bas Brands [Mon, 12 Nov 2018 09:03:34 +0000 (10:03 +0100)]
MDL-63855 core_my: no vertical scroll card blocks

card desks using class .dashboard-card-deck.one-row should not
show a vertical scrollbar

3 years agoMerge branch 'MDL-63968-master' of git://github.com/andrewnicols/moodle
David Monllao [Mon, 12 Nov 2018 09:02:17 +0000 (10:02 +0100)]
Merge branch 'MDL-63968-master' of git://github.com/andrewnicols/moodle

3 years agoMerge branch 'MDL-63945_master' of git://github.com/markn86/moodle
Damyon Wiese [Mon, 12 Nov 2018 08:36:57 +0000 (16:36 +0800)]
Merge branch 'MDL-63945_master' of git://github.com/markn86/moodle

3 years agoMDL-63716 course: less user_accesstime_log() calls
Damyon Wiese [Fri, 9 Nov 2018 05:09:54 +0000 (13:09 +0800)]
MDL-63716 course: less user_accesstime_log() calls

We should only call this function when a user actually views a course. It is not called
automatically when a course context is validated from a webservice. It is called directly
from the core_course_view_course webservice.

3 years agoMDL-63923: core_my: card sizes clean and boost
Bas Brands [Thu, 8 Nov 2018 09:24:50 +0000 (10:24 +0100)]
MDL-63923: core_my: card sizes clean and boost

Cards should have a minimum size of 250px wide

3 years agoMDL-63945 core_message: fixed discrepancy between helpers
Mark Nelson [Mon, 12 Nov 2018 07:29:41 +0000 (15:29 +0800)]
MDL-63945 core_message: fixed discrepancy between helpers

3 years agoMerge branch 'MDL-63724-master-3' of https://github.com/snake/moodle
Damyon Wiese [Mon, 12 Nov 2018 06:16:31 +0000 (14:16 +0800)]
Merge branch 'MDL-63724-master-3' of https://github.com/snake/moodle

3 years agoMerge branch 'MDL-63909_master' of git://github.com/markn86/moodle
Damyon Wiese [Mon, 12 Nov 2018 06:01:01 +0000 (14:01 +0800)]
Merge branch 'MDL-63909_master' of git://github.com/markn86/moodle

3 years agoMDL-63864 message: Contact request fix
Damyon Wiese [Mon, 12 Nov 2018 05:37:46 +0000 (13:37 +0800)]
MDL-63864 message: Contact request fix

The contactrequestid was removed from the api, so now we search by both
the userid from and the userid to.

3 years agoMerge branch 'MDL-63763-master' of https://github.com/nwp90/moodle
Andrew Nicols [Mon, 12 Nov 2018 02:32:32 +0000 (10:32 +0800)]
Merge branch 'MDL-63763-master' of https://github.com/nwp90/moodle

3 years agoMDL-63968 message: Correct use of get_in_or_equal
Andrew Nicols [Mon, 12 Nov 2018 00:36:23 +0000 (08:36 +0800)]
MDL-63968 message: Correct use of get_in_or_equal

3 years agoMDL-63724 core_message: add send_messages_to_conversation() web service
Jake Dallimore [Mon, 5 Nov 2018 06:28:00 +0000 (14:28 +0800)]
MDL-63724 core_message: add send_messages_to_conversation() web service

3 years agoMDL-63724 core_message: move message redirection into helper function
Jake Dallimore [Mon, 12 Nov 2018 01:11:48 +0000 (09:11 +0800)]
MDL-63724 core_message: move message redirection into helper function

3 years agoMDL-63724 core_message: add send_message_to_conversation() to api
Jake Dallimore [Mon, 12 Nov 2018 02:05:17 +0000 (10:05 +0800)]
MDL-63724 core_message: add send_message_to_conversation() to api

3 years agoMDL-63724 core_message: buffering support for conv messages in manager
Jake Dallimore [Thu, 8 Nov 2018 14:26:36 +0000 (22:26 +0800)]
MDL-63724 core_message: buffering support for conv messages in manager

We need to be able to delay calling all member processors with localised
event data if a DB transaction is taking place. This code treats a
conversation message as a single item of work to be buffered, and stores
all localised eventdata, and processorlists for later reference. When
processing the buffer, we pass off all localised eventdata items to
their respective member's processors, before firing a single event.

3 years agoMDL-63724 core_message: add conversation support to message_send()
Jake Dallimore [Thu, 8 Nov 2018 10:07:00 +0000 (18:07 +0800)]
MDL-63724 core_message: add conversation support to message_send()

Added a test confirming that processors are called for each member
and that a single event is fired.

3 years agoMDL-63724 core_message: add send_message_to_conversation() to manager
Jake Dallimore [Thu, 8 Nov 2018 05:31:36 +0000 (13:31 +0800)]
MDL-63724 core_message: add send_message_to_conversation() to manager

3 years agoMDL-63724 core_message: add new group_message_sent event
Jake Dallimore [Thu, 8 Nov 2018 06:53:25 +0000 (14:53 +0800)]
MDL-63724 core_message: add new group_message_sent event

3 years agoMDL-63724 core_message: split up event and processor code in the manager
Jake Dallimore [Thu, 8 Nov 2018 03:23:33 +0000 (11:23 +0800)]
MDL-63724 core_message: split up event and processor code in the manager

This was couple before, but we're going to want this to be separate for
group conversation messages, where we'll call many users' processors,
but only create a single 'group_message_sent' event.

3 years agoMDL-63724 core_message: fix method signature for can_contact_user()
Jake Dallimore [Mon, 5 Nov 2018 08:08:48 +0000 (16:08 +0800)]
MDL-63724 core_message: fix method signature for can_contact_user()

This method required objects, but only used their ids, so has been
changed to require only ids.

3 years agoMDL-63724 core_message: add can_send_message_to_conversation() to api
Jake Dallimore [Thu, 1 Nov 2018 02:26:28 +0000 (10:26 +0800)]
MDL-63724 core_message: add can_send_message_to_conversation() to api

3 years agoMerge branch 'MDL-63864_master' of git://github.com/markn86/moodle
Damyon Wiese [Mon, 12 Nov 2018 02:02:25 +0000 (10:02 +0800)]
Merge branch 'MDL-63864_master' of git://github.com/markn86/moodle

3 years agoMerge branch 'MDL-63838-master' of git://github.com/vmdef/moodle
Andrew Nicols [Mon, 12 Nov 2018 01:54:59 +0000 (09:54 +0800)]
Merge branch 'MDL-63838-master' of git://github.com/vmdef/moodle

3 years agoMDL-63823 tool_lpimportcsv: supress progress bar debugging
Simey Lameze [Mon, 12 Nov 2018 01:53:07 +0000 (09:53 +0800)]
MDL-63823 tool_lpimportcsv: supress progress bar debugging

3 years agoMerge branch 'MDL-63850_master' of git://github.com/markn86/moodle
Andrew Nicols [Sun, 11 Nov 2018 23:53:09 +0000 (07:53 +0800)]
Merge branch 'MDL-63850_master' of git://github.com/markn86/moodle