Commit graph

1419 commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
f706dabd50 Merge branch 'MDL-63785-master' of git://github.com/rezaies/moodle 2019-02-06 00:04:14 +01:00
Mark Nelson
fc2664501b MDL-64632 core_message: fixed PHP error when users are deleted from DB 2019-02-04 12:36:22 +08:00
Sara Arjona
e042dc5395 Merge branch 'MDL-64566_master' of git://github.com/markn86/moodle 2019-01-30 09:31:56 +01:00
Sara Arjona
f0919712ba Merge branch 'MDL-64143-master' of https://github.com/ryanwyllie/moodle 2019-01-30 09:22:23 +01:00
Ryan Wyllie
dea0c9dcdf MDL-64143 message: make message drawer contacts bold 2019-01-30 08:58:57 +08:00
Sara Arjona
b594c853b9 Merge branch 'MDL-64144-master' of https://github.com/ryanwyllie/moodle 2019-01-29 16:08:10 +01:00
Sara Arjona
21a43e5508 Merge branch 'MDL-63168_master' of git://github.com/markn86/moodle 2019-01-29 13:00:47 +01:00
Eloy Lafuente (stronk7)
9bc4dc79cb Merge branch 'MDL-60913-search-tabs-master' of https://github.com/dmitriim/moodle 2019-01-23 18:55:47 +01:00
Mark Nelson
05aa320bd2 MDL-63168 core_message: added unit test 2019-01-23 13:23:33 +08:00
eWallah
7ef5409b1b MDL-63168 core_message: fix failures in migrate_message_data task. 2019-01-23 12:45:40 +08:00
Dmitrii Metelkin
e9074ee381 MDL-60913 search: add search area categories 2019-01-23 10:28:43 +11:00
Eloy Lafuente (stronk7)
f7ff96c24f Merge branch 'MDL-64412-master' of https://github.com/snake/moodle 2019-01-22 23:46:45 +01:00
Sara Arjona
2a2fa61025 Merge branch 'MDL-64134-master' of git://github.com/ryanwyllie/moodle 2019-01-16 13:06:57 +01:00
Sara Arjona
c13387eeff Merge branch 'MDL-64166-master' of https://github.com/ryanwyllie/moodle 2019-01-16 08:48:29 +01:00
Mark Nelson
4cec9fca96 MDL-64566 core_message: removed unnecessary DB call 2019-01-14 09:45:38 +08:00
Sara Arjona
c2fc318d4e Merge branch 'MDL-64043-master' of git://github.com/ryanwyllie/moodle 2019-01-09 17:55:34 +01:00
Eloy Lafuente (stronk7)
c7f9834e29 MDL-64426 core_message: fix context::instance_by_id() wrong use 2019-01-08 23:01:52 +01:00
Eloy Lafuente (stronk7)
2c4463bf0f Merge branch 'MDL-64509-master-enfix' of git://github.com/mudrd8mz/moodle 2019-01-08 16:17:06 +01:00
Andrew Nicols
50466ac4e4 Merge branch 'MDL-64426-master-2' of https://github.com/snake/moodle 2019-01-08 15:58:40 +08:00
Jake Dallimore
e66e867f6e MDL-64426 core_message: fix filter support in api::get_conversations()
Conversation name and subname should support filters, so the data should
be passed through format_string, and advertised in the external params
as PARAM_TEXT.
2019-01-08 15:50:43 +08:00
Andrew Nicols
8feef7308a Merge branch 'MDL-64400-master' of git://github.com/aanabit/moodle 2019-01-08 08:27:06 +08:00
Helen Foster
65d70aa81b MDL-64509 lang: Import fixed English strings (en_fix)
Significant string change: enablerunnow_desc,tool_task - including
mention of pathtophp requirement
2019-01-07 14:40:34 +01:00
Ryan Wyllie
dc10aa06d9 MDL-64166 message: reduce size of conversation counts in overview 2019-01-04 12:12:54 +08:00
Ryan Wyllie
13d09efb8e MDL-64144 message: show message date in message search results 2019-01-04 11:43:04 +08:00
Eloy Lafuente (stronk7)
a12207be25 MDL-63276 upgrade: clean < 3.2.0 upgrade steps
3.7 (min PHP 7.1) requires 3.2 (first version supporting PHP 7.1)

This just deletes all the upgrade steps previous to 3.2.0. Some
small adjustments, like adding missing MOODLE_INTERNAL or tweaking
globals can also be applied when needed.

Also includes an upgrade step to prevent upgrading from any
version < 2016120500 (v3.2.0) as anti-cheating measure.

Next commit will get rid of/deprecate all the upgradelib functions
not used anymore in codebase. (note there isn't any this time).
2019-01-03 01:17:17 +01:00
Jake Dallimore
a3a6e3c905 MDL-64412 core_message: remove ordering code from message_search_users()
This code is no longer needed as get_member_info() now respects the
ordering of the $userids param.
2019-01-02 15:21:07 +08:00
Jake Dallimore
9e6734a790 MDL-64412 core_message: get_member_info() respects provided ordering
This change makes sure the function returns the member information in
the same order as those users provided in the $userids param.
2019-01-02 15:21:06 +08:00
Amaia Anabitarte
0f38e62970 MDL-64400 core_messages: Mark notifications sent via email as read 2018-12-27 09:15:53 +01:00
Andrew Nicols
13bd9babb4 Merge branch 'MDL-64038-master' of git://github.com/bmbrands/moodle 2018-12-20 13:53:51 +08:00
Jake Dallimore
57e94e365e Merge branch 'MDL-64229_master' of git://github.com/markn86/moodle 2018-12-19 11:37:15 +08:00
Jake Dallimore
1c30321e7f Merge branch 'MDL-64309_master' of git://github.com/markn86/moodle 2018-12-18 11:11:23 +08:00
Bas Brands
442f142522 MDL-64038 core_message: add default group image
add default group image to improve the alignment
of group names in the message drawer group messages section
2018-12-14 14:09:28 +01:00
Mark Nelson
9b39f28214 MDL-64229 core_message: ensure profile pic links to profile 2018-12-13 12:01:06 +08:00
Jake Dallimore
bf4205ea78 Merge branch 'MDL-64003-master' of https://github.com/aanabit/moodle 2018-12-12 10:02:55 +08:00
Amaia Anabitarte
f8b46dabe8 MDL-64003 core_message: Use sql_like_escape() in message_search_users 2018-12-11 11:52:18 +01:00
Jun Pataleta
9da570bde0 Merge branch 'MDL-64275-master' of git://github.com/ryanwyllie/moodle 2018-12-10 15:04:01 +08:00
Shamim Rezaie
ab29f4815b MDL-63785 message_airnotifier: performance improvement 2018-12-10 14:52:11 +11:00
Ryan Wyllie
9acc0bc6ec MDL-64134 message: hide empty sections in search results 2018-12-07 10:56:56 +08:00
Ryan Wyllie
e79a79ad83 MDL-64275 message: fix update unread conversation counts 2018-12-07 09:22:24 +08:00
Ryan Wyllie
f12864eb0e MDL-64043 message: stop group conversation header re-rendering 2018-12-06 14:51:20 +08:00
Mark Nelson
0db6fd3603 MDL-64309 core_message: minor string changes to drawer 2018-12-05 18:18:46 +08:00
Ryan Wyllie
a2bce0d0d8 MDL-64274 message: deleteMessages in message_repository return promise 2018-12-05 14:43:21 +08:00
Mark Nelson
7c8ba89d5e MDL-64307 core_message: do not include disabled conversations in count 2018-12-04 11:48:16 +08:00
Eloy Lafuente (stronk7)
f47c8f3525 MDL-64300 upgrade: add 3.6.0 separation line to all upgrade scripts 2018-12-02 18:36:40 +01:00
David Monllao
823fc75421 Merge branch 'MDL-64282' of git://github.com/stronk7/moodle 2018-11-30 13:02:47 +01:00
Eloy Lafuente (stronk7)
085353b315 MDL-64282 versions: bump all versions and requires near release
version = 2018120300 release version
requires= 2018112800 current rc2 (week7roll1) version
2018-11-29 18:24:08 +01:00
Damyon Wiese
1a368ec351 Merge branch 'MDL-64264_master' of git://github.com/markn86/moodle 2018-11-29 14:46:55 +08:00
Mark Nelson
44b92ecdfc MDL-64264 core_message: use non-deprecated WS for deletion
Also fixed typo in function name.
2018-11-29 12:41:57 +08:00
Ryan Wyllie
9aaf61346f MDL-64245 message: fix scrollback for conversation loaded via contact 2018-11-29 10:46:13 +08:00
Jun Pataleta
7d82e35e39 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.
2018-11-29 10:45:22 +08:00