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
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
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
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
Jun Pataleta
941b90a509
Merge branch 'MDL-63211_master' of git://github.com/markn86/moodle
2018-10-03 13:45:52 +08:00
Mark Nelson
be016b0144
MDL-63211 core: added notification when contact request is made
2018-10-03 11:58:39 +08:00
Mark Nelson
522841861f
MDL-63211 core_message: added new web services
2018-10-03 11:35:26 +08:00
Mark Nelson
0b3eadcd96
MDL-63211 core_message: deprecated functions and added new API
2018-10-03 11:35:26 +08:00
Juan Leyva
bb96ff716d
MDL-60425 core_blog: New WS core_blog_get_entries
2018-10-02 14:49:48 +02:00
Jun Pataleta
b79482f5d7
MDL-63493 core_question: Fix field parameters for the index definitions
...
* The fields for the ID number-related indexes that were created for
the question and question_categories tables in MDL-62708 should not
be in comma-separated strings.
2018-10-02 11:31:36 +08:00
Jun Pataleta
0410cee69e
MDL-63493 core_message: Fix field parameters for the index definitions
...
* The fields for the ID number-related indexes that were created for
the messages and message_user_actions tables in MDL-36941 should not
be in comma-separated strings.
2018-10-02 11:31:36 +08:00
Mark Nelson
b65bfc8ab4
MDL-63211 core: upgrade to remove duplicate contacts
...
Remove any duplicate rows - from now on adding contacts just requires 1 row.
The person who made the contact request (userid) and the person who approved
it (contactid). Upgrade the table so that the first person to add the contact
was the one who made the request.
2018-09-28 10:19:57 +08:00
Mark Nelson
3ec5c7701c
MDL-63211 core: upgrade to remove non-mutual contacts
2018-09-28 10:19:56 +08:00
Mark Nelson
4428b042cb
MDL-63211 core: upgrade to move blocked contacts to new table
2018-09-28 09:16:31 +08:00
Mark Nelson
d842d9a90a
MDL-63211 core: added new database tables
...
Allow NULL values for timecreated in both message_contacts
and message_users_blocked because there is existing data
that has no timecreated value associated with it.
2018-09-28 09:15:52 +08:00
Andrew Nicols
20f9b981f9
Merge branch 'dashboard-split-overview-block' of https://github.com/ryanwyllie/moodle
2018-09-27 14:08:55 +08:00
Ryan Wyllie
2c1d19fde6
MDL-63044 course: add get_enrolled_courses_by_timeline_classification
2018-09-27 13:10:44 +08:00
John Beedell
6189fda47f
MDL-62708 question: Add idnumbers to question and question category
2018-09-21 12:26:24 +01:00
David Monllao
0e5144fe24
Merge branch 'MDL-63333_master' of git://github.com/markn86/moodle
2018-09-18 12:17:46 +02:00
Mark Nelson
cbc3833d27
MDL-63333 core: removed unused setting 'messaginghidereadnotifications'
2018-09-17 10:02:37 +08:00
Amaia Anabitarte
fdb45f7943
MDL-63279 messaging: Add admin setting for toggling site-wide messaging
2018-09-14 13:20:18 +02:00
Andrew Nicols
666196271f
MDL-60630 cachestore: Remove memcache plugin
2018-09-12 21:07:01 +08:00
Mihail Geshoski
c69a43f2fc
MDL-56998 blog: Remove associated blog posts when module is deleted
2018-09-03 08:33:38 +08:00
Marina Glancy
442f12f81a
MDL-62742 core: rename coursecat->core_course_category
...
Also rename course_in_list -> core_course_list_element
Deprecate class coursecat_sortable_records
2018-08-28 11:36:23 +02:00
Eloy Lafuente (stronk7)
20c7822f6d
Merge branch 'MDL-57244-master' of git://github.com/abgreeve/moodle
2018-08-02 00:24:14 +02:00
Eloy Lafuente (stronk7)
1ffa22bbc7
Merge branch 'MDL-61041-master' of git://github.com/damyon/moodle
2018-08-01 16:36:12 +02:00
Adrian Greeve
b41e1d7c55
MDL-55188 events: Final deprecation of part of events 1 API.
2018-07-30 09:25:06 +08:00
Damyon Wiese
3412b12c22
MDL-61041 assign: Remove assignment 2.2 upgrader
2018-07-25 14:11:10 +08:00