25186 Commits

Author SHA1 Message Date
Ryan Wyllie
a111ab44af MDL-63303 message: fix bugs in message drawer part 2
* Added missing icon mappings for font-awesome
* Fixed focus on dialogue button when it opens
* Fixed UI updates on user block / unblock
* Fix jQuery syntax error when sending message with quotes
* Fix message/index.php opening drawer when no conversation found
* Fix placeholders rendered for new requests
2018-11-15 14:43:21 +08:00
Ryan Wyllie
f074d6f086 MDL-63303 message: remove behat tests for messaging 2018-11-15 14:43:21 +08:00
Ryan Wyllie
5005d8cfb4 MDL-63303 message: add message drawer (boost only) 2018-11-15 14:43:21 +08:00
Ryan Wyllie
b3bbd4a0e1 MDL-63303 message: fix get_conversations external func 2018-11-15 14:40:12 +08:00
Ryan Wyllie
569c0bae9c MDL-63303 message: add get_conversation_between_users external func 2018-11-15 14:40:12 +08:00
Ryan Wyllie
4e3130269c MDL-63303 message: add get_conversation to message api 2018-11-15 14:40:12 +08:00
Ryan Wyllie
8350978aa1 MDL-63303 message: add get_member_info external function 2018-11-15 14:40:12 +08:00
Ryan Wyllie
9e189a914d MDL-63303 core_favourites: add get and count functions 2018-11-15 14:40:11 +08:00
Ryan Wyllie
7b91dcf264 MDL-63303 core: add new icons for messaging 2018-11-15 14:40:11 +08:00
Ryan Wyllie
456e6d8145 MDL-63303 core: allow subsystems to add nav bar and top of body content 2018-11-15 14:40:11 +08:00
Ryan Wyllie
c912cd7324 MDL-63303 core: add debug info to exceptions 2018-11-15 14:40:11 +08:00
Ryan Wyllie
9d199fd2e7 MDL-63303 javascript: fix bug in auto_rows.js allowing it to shrink 2018-11-15 14:40:11 +08:00
Damyon Wiese
02c4de86ea Merge branch 'MDL-63283-master-2' of https://github.com/snake/moodle 2018-11-15 10:43:03 +08:00
Jake Dallimore
267b4f03e7 MDL-63283 core_message: skip processors in non-individual conversations
Disable the processor for messages being sent to conversation types
other than individual.
2018-11-15 10:37:33 +08:00
Andrew Nicols
46b9a5c49c MDL-53566 core: Make context freeze test compat with clean 2018-11-15 07:39:23 +08:00
David Monllao
f2d83f50e1 Merge branch 'MDL-61990' of https://github.com/timhunt/moodle 2018-11-14 12:09:34 +01:00
Damyon Wiese
89ffc1ee0e Merge branch 'MDL-53566-master' of git://github.com/andrewnicols/moodle 2018-11-14 15:04:01 +08:00
Andrew Nicols
9d76566ffc MDL-53566 core: Rename locking to freezing in UI 2018-11-14 12:37:56 +08:00
Eloy Lafuente (stronk7)
b4c33348ff MDL-53566 core: add back upgrade code removed @ 0616f04 by mistake 2018-11-14 01:04:46 +01:00
Eloy Lafuente (stronk7)
d27e49448f Merge branch 'MDL-53566-master' of git://github.com/andrewnicols/moodle 2018-11-13 23:55:38 +01:00
Tim Hunt
166c43d86c MDL-61990 outputrequirementslib: improve debug message 2018-11-13 17:11:17 +00:00
Andrew Nicols
bb41db9ce0 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.
2018-11-13 21:17:40 +08:00
Andrew Nicols
6a89b6c8f0 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.
2018-11-13 21:17:40 +08:00
Andrew Nicols
56db1a2d7c 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.
2018-11-13 21:17:40 +08:00
Andrew Nicols
0333213585 MDL-53566 core: Add behat test for context loking 2018-11-13 21:17:40 +08:00
Andrew Nicols
3a8cf5e67d MDL-53566 core: Add UI for context locking 2018-11-13 21:17:40 +08:00
Andrew Nicols
0616f045c3 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.
2018-11-13 21:17:40 +08:00
Andrew Nicols
ba20486ffe Merge branch 'MDL-63716-master' of git://github.com/damyon/moodle 2018-11-13 11:20:54 +08:00
David Monllao
e1266eaf4b MDL-63724 messaging: Prefix field with the table alias 2018-11-12 16:26:14 +01:00
Eloy Lafuente (stronk7)
610883c007 Merge branch 'MDL-63929-master' of git://github.com/jleyva/moodle 2018-11-12 12:02:51 +01:00
David Monllao
f04e51cfca Merge branch 'MDL-63940-master-recaptchaurl' of git://github.com/mudrd8mz/moodle 2018-11-12 10:42:36 +01:00
Damyon Wiese
160e77f9d0 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.
2018-11-12 16:11:15 +08:00
Damyon Wiese
b0f45a8b8f Merge branch 'MDL-63724-master-3' of https://github.com/snake/moodle 2018-11-12 14:16:31 +08:00
Damyon Wiese
75e6661940 Merge branch 'MDL-63909_master' of git://github.com/markn86/moodle 2018-11-12 14:01:01 +08:00
Andrew Nicols
6d0a43deb9 Merge branch 'MDL-63763-master' of https://github.com/nwp90/moodle 2018-11-12 10:32:32 +08:00
Jake Dallimore
2553e9db8e MDL-63724 core_message: add send_messages_to_conversation() web service 2018-11-12 10:09:27 +08:00
Jake Dallimore
86e274d929 MDL-63724 core_message: move message redirection into helper function 2018-11-12 10:09:27 +08:00
Jake Dallimore
52f9cf205e MDL-63724 core_message: add send_message_to_conversation() to api 2018-11-12 10:09:27 +08:00
Jake Dallimore
b30f4d6d58 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.
2018-11-12 10:09:27 +08:00
Jake Dallimore
0eddf920be 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.
2018-11-12 10:09:27 +08:00
Jake Dallimore
9581bc3c00 MDL-63724 core_message: add send_message_to_conversation() to manager 2018-11-12 10:09:27 +08:00
Jake Dallimore
aa083ab95f MDL-63724 core_message: add new group_message_sent event 2018-11-12 10:09:27 +08:00
Jake Dallimore
947d32895e 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.
2018-11-12 10:09:27 +08:00
Juan Leyva
2979ca1175 MDL-63929 user: Support unsetting prefs in update_user_preferences WS 2018-11-09 09:28:23 +01:00
Jun Pataleta
1d2adca39b Merge branch 'MDL-63924-master' of git://github.com/andrewnicols/moodle 2018-11-09 11:57:38 +08:00
David Mudrák
b207af3b48 MDL-63940 recaptcha: Use www.recaptcha.net in the service endpoint URL
There are countries where www.google.com is a being blocked and
recaptcha does not work there. As shown at
https://developers.google.com/recaptcha/docs/faq#can-i-use-recaptcha-globally
it is enough to simply use www.recaptcha.net in the service endpoint
URL.
2018-11-08 22:55:33 +01:00
Jun Pataleta
3bc9a0b2e2 Merge branch 'MDL-63836-master' of git://github.com/damyon/moodle 2018-11-09 00:21:19 +08:00
Andrew Nicols
c96cd71102 MDL-63924 privacy: Add shared user providers to subsytsems 2018-11-08 21:26:18 +08:00
Mark Nelson
a6049a7960 MDL-63909 core_message: deprecated web services not used in new UI 2018-11-08 18:22:00 +08:00
Amaia Anabitarte
548cac7dbf MDL-63282 core_message: New Search API function 2018-11-08 13:11:28 +08:00