2651 Commits

Author SHA1 Message Date
Sara Arjona
5a1ea82835 MDL-58454 badges: Fix some minor errors for Open Badges v2 2018-11-05 18:41:54 +01:00
Tung Thai
d363a5c2e6 MDL-58454 badges: Open Badges Specification Version 2.0 Changes 2018-11-05 14:20:46 +01:00
Jun Pataleta
67d2082849 Merge branch 'MDL-63725_master' of git://github.com/markn86/moodle 2018-11-01 12:39:43 +08:00
Mark Nelson
5584c48a33 MDL-63725 core_message: added get_conversation_members web service 2018-11-01 11:18:20 +08:00
Damyon Wiese
1becffad44 Merge branch 'MDL-63549-master' of https://github.com/snake/moodle 2018-11-01 09:03:06 +08:00
Jake Dallimore
eb35e0b176 MDL-63549 core_message: deprecate data_for_messagearea_conversations 2018-10-31 10:55:34 +08:00
Jake Dallimore
6f31927af8 MDL-63549 core_message: add get_conversations web service 2018-10-31 08:16:32 +08:00
Andrew Nicols
1ac8ae517d Merge branch 'MDL-63742-master' of git://github.com/jleyva/moodle 2018-10-30 07:46:00 +08:00
David Monllao
77ac4d8c31 Merge branch 'MDL-63445-master' of git://github.com/bmbrands/moodle 2018-10-29 16:47:45 +01:00
Juan Leyva
6f79370531 MDL-63742 auth: New WS core_auth_resend_confirmation_email 2018-10-29 11:04:02 +01:00
Andrew Nicols
d4274bd951 Merge branch 'MDL-60520_master' of git://github.com/dmonllao/moodle 2018-10-29 07:39:58 +08:00
Andrew Nicols
74138e927c Revert "MDL-63466 core_message: rename cache for last message time"
This reverts commit f978593d6c3b98db5b3feb29448a642b4f540edc.
2018-10-26 14:54:01 +08:00
Andrew Nicols
621e7eb022 Merge branch 'MDL-63466-master' of https://github.com/snake/moodle 2018-10-26 12:33:13 +08:00
Andrew Nicols
79b5095f28 Merge branch 'MDL-63280_master-fix' of git://github.com/markn86/moodle 2018-10-26 09:07:30 +08:00
Mark Nelson
06cdb82d23 MDL-63280 core: correct index on upgrade vs install 2018-10-26 08:52:27 +08:00
Andrew Nicols
56076d5991 Merge branch 'MDL-63280_master' of git://github.com/markn86/moodle 2018-10-26 07:49:13 +08:00
Mark Nelson
76540bec52 MDL-63280 core: removed 'message_conversation_area' table
These new fields have been added to the 'message_conversations'
table.
2018-10-25 18:05:20 +08:00
Mark Nelson
f0e137c539 MDL-63280 core: minor changes after review
- Fixed reference to non-existent column 'timeread'.
- Fixed alignment issues.
- Fixed inconsistencies between upgrade.php and install.xml.
- Cleaned unit tests of unnecessary DB calls.
- Renamed 'get_does_conversation_area_enabled' to
  'is_conversation_area_enabled' and moved to api.php.
- Replaced "$mform->elementExists('enablemessaging')"
  check with a capability check.
- Removed the change of [] to array() in unrelated to upgrade code.
- Updated conversation 'timemodified' field when updating name.
- Bumped version based on latest master.
2018-10-25 17:51:04 +08:00
cescobedo
55fda006e3 MDL-63280 core_message: Create conversation area 2018-10-25 12:20:00 +08:00
Andrew Nicols
2263bbdfce Merge branch 'MDL-63058-master' of git://github.com/bmbrands/moodle 2018-10-25 11:49:45 +08:00
Mark Nelson
f978593d6c MDL-63466 core_message: rename cache for last message time 2018-10-24 09:39:42 +08:00
Sara Arjona
fb04293bb1 MDL-63466 core_message: Add conversation support to get_messages
- The get_conversation_messages has been added to the API and the WS
with the conversation identifier (convid) instead of the userto,
to let get conversation messages and the members involved.
- The cache has been also reviewed, to use the convid instead of the
[userfrom, userto] keys.
- The get_most_recent_conversation_messages has been added to the API
to update the cache when needed.
2018-10-24 09:39:05 +08:00
Bas Brands
a7712a9851 MDL-63445 core_renderer: display course image in context header 2018-10-23 09:41:26 +02:00
Andrew Nicols
0ff384dbf1 Merge branch 'MDL-63548_master' of git://github.com/markn86/moodle 2018-10-23 10:25:54 +08:00
Mark Nelson
09ec501781 MDL-63548 core_message: added mark_all_conversation_messages_as_read WS 2018-10-23 09:52:43 +08:00
Mark Nelson
e4c3099444 MDL-63548 core_message: deprecated mark_all_messages_as_read web service 2018-10-23 09:52:05 +08:00
David Monllao
ed12ba6ba8 MDL-60520 analytics: Per-model ml backend 2018-10-22 13:58:33 +02:00
Andrew Nicols
9c6ccfd93b Merge branch 'MDL-63213-master-2' of https://github.com/snake/moodle 2018-10-22 10:54:56 +08:00
Andrew Nicols
7b73fd183c Merge branch 'MDL-63691_master' of git://github.com/markn86/moodle 2018-10-22 10:52:13 +08:00
Mark Nelson
59f98779fb MDL-63691 core: added capability for creating group conversations 2018-10-22 10:21:27 +08:00
Jake Dallimore
5b367baef8 MDL-63213 core_message: add web services for set/unset favourites 2018-10-22 09:56:06 +08:00
Amaia Anabitarte
e2a687f689 MDL-63691 core: Column 'convhash' now accepts null
Index 'convhash' also changed to non-unique.
2018-10-22 09:47:19 +08:00
Bas Brands
3cfff88516 MDL-63058 block_myoverview: starring and storing preferences 2018-10-20 17:53:35 +02:00
Sara Arjona
7983fb830e MDL-63289 message: Bypass privacy user preferences for teachers
Created capability 'moodle/site:messageanyuser' to allow
bypass user privacy preferences for messaging participants in a course,
even when some of them has blocked the teacher.
2018-10-20 08:35:17 +02:00
Mark Nelson
59fa0137b2 MDL-63691 core: updated 'message_conversations' table 2018-10-20 13:36:29 +08:00
Eloy Lafuente (stronk7)
a2d2ed90c2 Merge branch 'MDL-63465-master' of git://github.com/jleyva/moodle 2018-10-18 12:22:42 +02:00
Juan Leyva
0f8b26043f MDL-63465 blocks: New WS core_blocks_get_dashboard_blocks 2018-10-18 09:17:24 +02:00
Andrew Nicols
3212e7aaef Merge branch 'MDL-63658-master-2' of https://github.com/snake/moodle 2018-10-18 10:06:14 +08:00
Jake Dallimore
1f3c76f0ec MDL-63658 core_favourites: fix differences between install and upgrade 2018-10-18 09:40:07 +08:00
Andrew Nicols
2ac4ea89d9 Merge branch 'MDL-63658-master-2' of https://github.com/snake/moodle 2018-10-18 09:08:22 +08:00
Jake Dallimore
1cb94eabb4 MDL-63658 core_favourites: add tables to the subsystem 2018-10-18 08:22:05 +08:00
David Monllao
32b01d2b02 Merge branch 'MDL-63214-master' of git://github.com/sarjona/moodle 2018-10-17 15:55:44 +02:00
Sara Arjona
f7dfa9ba3e MDL-63214 message: Add privacy preferences to filter who can message
Add new messaging profile preferences to allow users to choose who
can message them:
- By default, users can select between 'My contacts only' and 'My
contacts and anyone in my courses'
- When $CFG->messagingallusers is enabled, a new option is displayed
also: 'Anyone on the site'. For users who have selected this option,
if $CFG->messagingallusers is disabled, the behaviour will be changed
to 'My contacts and anyone in my courses'
2018-10-17 11:52:57 +02:00
Sara Arjona
327914160f MDL-63214 message: Add setting to force enabling messagingallusers 2018-10-17 11:52:57 +02:00
Mark Nelson
60b67bbcf7 MDL-63547 core_message: web service can delete multiple conversations 2018-10-17 12:05:16 +08:00
Mark Nelson
26f39c8861 MDL-63547 core_message: added delete_conversation_by_id web service 2018-10-17 12:05:16 +08:00
Mark Nelson
fa024820f2 MDL-63547 core_message: deprecate delete_conversation web service 2018-10-17 12:05:16 +08:00
Eloy Lafuente (stronk7)
6db31715b3 Merge branch 'MDL-61245-master' of git://github.com/jleyva/moodle 2018-10-10 11:14:57 +02:00
Juan Leyva
ca48cc915b MDL-61245 core_blog: New Web Service core_blog_view_entries 2018-10-10 09:58:08 +02:00
David Monllao
92adfa3cd2 Merge branch 'MDL-60425-master' of git://github.com/jleyva/moodle 2018-10-08 12:51:05 +02:00