251 Commits

Author SHA1 Message Date
Didier 'OdyX' Raboud
b7d80e9450
MDL-67491 core_message: Primary'fy the contact request counts 2019-12-20 15:16:24 +01:00
Bas Brands
dc38af73e6 MDL-66883 theme_boost: use bootstrap native switches 2019-12-19 13:03:24 +01:00
Bas Brands
9396731e94 MDL-66999 theme_boost: @extend replace .col-xs-*
Remove legacy col-xs-* classes. They are changed in upstream
Bootstrap 4 stable with just col-*.
2019-12-09 10:49:39 +01:00
Bas Brands
f2ace4d45a MDL-66812 core_message: update custom checkbox for message dialogue 2019-11-11 15:06:47 +01:00
Jun Pataleta
b6fcec009e Merge branch 'MDL-65896-master' of https://github.com/ryanwyllie/moodle 2019-10-23 11:13:27 +08:00
Ryan Wyllie
4060fcc662 MDL-65896 admin: add admin setting to show emoji picker
Added an admin setting to show/hide the emoji picker in messaging
because some versions of MySQL don't have full unicode support so
emojis won't save in the dabase.

If we detect that the site is running an unsupported version of MySQL
then the setting can not be enabled. Instead the admin will see a
message explaining that they will need to upgrade their database
before they can enable the emoji picker.
2019-10-23 10:59:59 +08:00
Ryan Wyllie
9f536ec696 MDL-65896 message: add emoji auto complete to message app 2019-10-23 10:59:59 +08:00
Ryan Wyllie
8f80d18766 MDL-65896 message: add emoji picker to message app 2019-10-23 10:59:58 +08:00
Jun Pataleta
c2e4e6d588 Merge branch 'MDL-66226-master-2' of https://github.com/snake/moodle 2019-10-15 11:56:05 +08:00
Michael Hawkins
fb599f32d6 MDL-66076 message: Add copy of template plus JS comment fix 2019-10-11 11:09:50 +08:00
Eloy Lafuente (stronk7)
f3bb36720b Merge branch 'MDL-66749-master' of git://github.com/bmbrands/moodle 2019-10-07 22:03:08 +02:00
Jake Dallimore
545e8988c3 MDL-66226 core_message: don't display html as text in overview section
Instead of displaying the source code, as text, display a content
indicator which tells the user what sort of content the message might
contain.
2019-10-04 14:34:19 +08:00
Ryan Wyllie
6d9c93560b MDL-66477 core: remove snakeCase block regions from drawer.mustache 2019-09-27 15:46:15 +08:00
Jun Pataleta
8aca1807ae MDL-66477 message: Use the generic drawer for the message drawer 2019-09-27 15:38:54 +08:00
Bas Brands
736faf86c5 MDL-66749 core_message: remove background from notifications 2019-09-25 12:46:32 +02:00
Bas Brands
a4ae06306d MDL-65205 themes: message interface message styles
* change shadow for hovering over messages
* remove dependancy on the sass secondary color
2019-09-05 10:47:43 +02:00
Adrian Greeve
9f236d63e6 Merge branch 'MDL-65093_master-deprecate' of git://github.com/markn86/moodle 2019-07-29 10:43:52 +08:00
Mark Nelson
386634bab3 MDL-65093 core_message: show 'OK' dialogue 2019-07-29 10:39:57 +08:00
Ryan Wyllie
6cb33ce774 MDL-65219 message: add message/pendingcontactrequests.php page back
We previously had this page when contact requests were first introduced
and unfortunately we created a bunch of notifications that reference
this URL directly which now won't work because the page has been removed.

I've added it back but set it to redirect to the message/index.php page
and load the contact requests page there.
2019-07-23 11:37:55 +08:00
Ryan Wyllie
18cb44460b MDL-64002 message: add error handling for failed messages
Add inline error messages when messages fail to send. Also add
support for deleting messages that failed to send.
2019-07-09 13:49:24 +08:00
Ryan Wyllie
485ebc9b67 MDL-64002 message: buffer send messages in UI for slow connections 2019-07-05 10:10:08 +08:00
Ryan Wyllie
8be24909bc MDL-65657 message: revert polling timeout back to old algorithm 2019-05-27 11:57:22 +08:00
Bas Brands
c516fc1105 MDL-65596 core_message: dropdown menu blocked by contact request message 2019-05-14 13:17:40 +02:00
cescobedo
37a653cff9 MDL-65132 core_message: Update message drawer to delete message for all
Update JS message drawer to allow delete message for all showing a new
checkbox in the confirm dialogue.
2019-05-06 09:48:26 +02:00
David Monllaó
3c48793849 Merge branch 'MDL-64985-master' of git://github.com/sarjona/moodle 2019-04-24 18:13:21 +02:00
Sara Arjona
d03f037431 MDL-64985 message: display aria label to the mute icon 2019-04-24 17:53:50 +02:00
Sara Arjona
43825b428a MDL-64985 message: display aria label in user profile link
Remove the aria-hidden label to display the label/text in
the user profile link.
2019-04-24 17:53:32 +02:00
Sara Arjona
2e9a457330 MDL-64985 message: add better aria labels to the actions menu
Add better aria labels to the action menus in messaging, renaming
some labels and declaring it as a menu.
2019-04-24 17:53:23 +02:00
Sara Arjona
13fe002e8e MDL-64985 message: add aria label to cancel selection button
Add aria labels for cancel edit message button (the little cross
when selecting messages).
2019-04-24 17:53:15 +02:00
Bas Brands
929706015b MDL-64267 core_message: sticky positioning of contact request info 2019-04-24 09:27:37 +02:00
Tobias Reischmann
6d2b7d5028 MDL-64267 core_message: Removed pb-2 from message-container
The padding at the bottom broke layout in clean theme since it caused an
overflow, which resulted in a second scrollbar on the message-drawer.
2019-04-24 09:17:32 +02:00
Tobias Reischmann
28c007b2e7 MDL-64267 core_message: Moved contact-request to dont cause scrollbar
The contact-request-sent-message-container was outside of the
conversation body and caused multiple overflows and thus multiple
scrollbars. Moving it inside does not have an effect on the layout
except one scrollbar is enough now.
2019-04-24 09:16:29 +02:00
Ryan Wyllie
fcf393a100 MDL-64703 message: fix group conversation heading alignment 2019-04-23 14:00:33 +02:00
David Monllaó
04f41dc247 Merge branch 'MDL-64102-master' of git://github.com/bmbrands/moodle 2019-04-23 13:44:08 +02:00
Jun Pataleta
da5a90a822 Merge branch 'MDL-64137-master' of git://github.com/bmbrands/moodle 2019-04-18 14:55:20 +08:00
Adrian Greeve
862a9b1d60 Merge branch 'MDL-64715-master-self-starred-pr-ryan' of git://github.com/sarjona/moodle 2019-04-18 11:06:57 +08:00
Sara Arjona
734b198fd3 MDL-64715 message: add support for self conversations
Added new MESSAGE_CONVERSATION_TYPE_SELF type for self-conversations
and upgraded legacy self-conversations to the new type, removing
repeated members in the message_conversation_members table.
Besides, from now, a self-conversation will be created by default for
all the existing users.

All the self-conversations have been also starred and a default message
will be displayed always to explain how to use them.
2019-04-15 20:17:54 +02:00
Bas Brands
a4300f3eaf MDL-64102 core_message: add message tails to match ux design 2019-04-08 12:25:56 +02:00
Bas Brands
7cbea16001 MDL-64703 core_message: 2 column message index page 2019-04-08 11:05:08 +02:00
Eloy Lafuente (stronk7)
cd44336505 Merge branch 'MDL-65127-master' of git://github.com/sarjona/moodle 2019-04-05 00:21:20 +02:00
Eloy Lafuente (stronk7)
d52f83a37a Merge branch 'MDL-65114-master' of https://github.com/snake/moodle 2019-04-04 20:41:40 +02:00
Bas Brands
2b83a0613c MDL-64137 core_message: highlight message search results 2019-04-04 12:01:12 +02:00
Sara Arjona
86c3df962f Merge branch 'MDL-64506' of git://github.com/Chocolate-lightning/moodle 2019-04-03 19:30:28 +02:00
Mathew May
5db1ce5331 MDL-64506 templates: BS2 pull-x -> BS4 float-x 2019-04-03 19:47:13 +08:00
Mathew May
6ecc445939 MDL-64506 templates: Remove BS2 spans from elements. 2019-04-03 19:34:20 +08:00
Sara Arjona
ccd4752356 MDL-65127 message: add aria-labels to the numbers in the overview
Add aria-label to the unread message and notification icons.
Add aria-label to the total conversations, unread conversations
and unread messages in the overview.
Add aria-label to the pending contact requests in the overview
and also in the contacts tab.
Add aria-hidden to the last message date.
2019-03-29 09:38:22 +01:00
Sara Arjona
67855b3b4e MDL-65087 message: add aria-label to search, settings and starred 2019-03-29 09:33:35 +01:00
Sara Arjona
c0d2558c43 MDL-65087 message: add button role to all the links that perfom actions
For accessibility reasons, add the role="button" attribute to the links
with href="#" performing actions, like the icon to open the messaging
drawer.
2019-03-29 09:33:35 +01:00
Jake Dallimore
51be3bf18d MDL-65114 core_message: date format depends on message age
Messages sent today are displayed using 24 hour time, e.g. "14:21".
Older messages are displayed using the format, e.g. "31/01/2019".
2019-03-29 09:18:09 +08:00
Jan Dageförde
f422e24d9c MDL-65059 messaging: don't refer to block plugin type
AMOS BEGIN
 CPY [block,core],[blockuserconfirmbutton,core_message]
AMOS END
2019-03-20 22:23:12 +01:00