Commit Graph

108 Commits

Author SHA1 Message Date
Sara Arjona f471a7d23a MDL-71473 message: Remove jabber output notification
Jabber is not widely used these days so message_jabber has been removed
from Moodle core.
2021-09-13 08:32:47 +02:00
Andrew Nicols 8662be1d85 MDL-58579 core_message: Refine behat steps to use message drawer 2021-08-25 14:01:57 +08:00
Mihail Geshoski 5c91e63f54 MDL-44613 core_message: Update datetime format usages to strftime
Updates all existing datetime format usages to strftime in the
'time to timestamp' transformation in core_message behat tests.
2021-03-15 08:22:12 +08:00
Andrew Nicols ba34d6e225 MDL-70148 behat: Update steps for keyboard 2020-11-17 15:14:43 +08:00
Andrew Nicols 7afd16ad84 MDL-66109 behat: Require newline at EOF
This change enables the gherkinlint rule to require a new line at the
end of the file. This change is in keeping with existing Moodle coding
style guidelines.
2020-05-11 11:07:49 +08:00
Jwalit Shah d743aaf262 MDL-66035 message: Restore missing message preferences files 2020-04-27 09:48:41 +10:00
Bas Brands 77e5b4462e MDL-67577 core_message: navbar_output order
* moved the logic from core_message_popup_render_navbar_output to
message_popup_render_navbar_output in message/output/popup/lib.php

* using float: left instead of float: right in theme
2020-01-27 12:14:16 +01:00
Amaia Anabitarte 82ed7b3867 MDL-65620 core_message: Notification preferences behat tests 2019-12-04 10:30:36 +01:00
Andrew Nicols 5c783f140e MDL-66559 message: Move behat selectors to message subsystem 2019-10-11 12:58:16 +08:00
Andrew Nicols 2cd63188aa MDL-65493 message: The execute wrapper MUST be used 2019-09-06 08:40:56 +08:00
Eloy Lafuente (stronk7) 1bf2b6d52a MDL-66504 lang: Apply cantblockuser changes to behat tests 2019-09-02 19:00:28 +02:00
Sara Arjona b5b11a1543 Merge branch 'MDL-63458' of https://github.com/rlorenzo/moodle 2019-07-30 11:59:18 +08:00
Mark Nelson 66fffdbce5 MDL-65093 core_message: dont show users with cap as blocked
It is possible that before this patch the user blocked a
teacher from messaging them, even though this would have
no effect. It is also possible for a user to block a user,
then that user gets 'promoted' to a teacher role and the
block becoming ineffective. In these cases we dont show the
user's status as blocked.
2019-07-29 10:39:57 +08:00
Mark Nelson 90403c5d9d MDL-65093 core_message: users can't block any user they want
If blocking will have no effect (ie. you are attempting to block
the admin) the 'Block' button will not be shown and instead a
message will be shown explaining why you can not block the user.
2019-07-29 10:39:57 +08:00
Mark Nelson 4ad162667d MDL-65101 core_message: add Behat test 2019-06-28 18:12:05 +08:00
Nicolas Dunand 713934f9b4 MDL-63458 core_user: Remove send message if messaging is disabled 2019-06-26 11:24:08 -07:00
Amaia Anabitarte 8c933bde87 MDL-65336 core_message: Behat tests for mute/unmute conversations 2019-06-07 10:38:49 +02:00
Ryan Wyllie 95a445b360 MDL-65657 message: reduce message poll timer for behat tests 2019-05-28 13:33:31 +08:00
Amaia Anabitarte 6d96a3dc33 MDL-65060 core_message: Delete messages behat test 2019-05-24 12:16:37 +02:00
Amaia Anabitarte c8d51ae41a MDL-64993 core_message: Behat test for self conversation 2019-05-06 00:47:52 +02:00
Amaia Anabitarte 86463d5056 MDL-64993 core_message: Adding self-conversations to behat tests 2019-05-06 00:47:52 +02:00
Jake Dallimore 3edac09063 MDL-65169 core_message: user search respects profile visibility
Two modes of visibility checking are supported, depending on the value
of the 'messagingallusers' site setting (site-wide messaging):
- If site-wide messaging is enabled, a user may only be returned in
search results if the searching user can view their profile somewhere
(either the site profile or any course profile).
- If site-wide messaging is disabled, a user may only be returned in
search results if the searching user shares a course with them and can
view their course profile in the shared course.
2019-04-30 11:25:46 +08:00
Jake Dallimore 31d3c76602 MDL-65169 core_message: add behat step allowing searching for a string
New step: 'I search for "xx" in messaging'.
2019-04-29 13:45:52 +08:00
Jake Dallimore ca264ee670 MDL-64676 core_message: fix legacy behat step which failed on firefox
Old step was looking for a link, which didn't exist. Now, we use image.
2019-04-26 15:22:43 +08:00
David Monllaó 2fbc2e4589 Merge branch 'MDL-64673-master' of git://github.com/aanabit/moodle 2019-04-25 18:40:49 +02:00
David Monllaó 76023e44d0 Merge branch 'MDL-64672-master' of git://github.com/aanabit/moodle 2019-04-24 20:06:13 +02:00
David Monllaó c7f11fab18 Merge branch 'MDL-64665-master' of git://github.com/cescobedo/moodle 2019-04-24 20:00:03 +02:00
cescobedo 9a497f8bbc MDL-64665 core_message: Behat tests for manage preferences 2019-04-24 18:33:12 +02:00
cescobedo 5d0119772b MDL-64665 core_message: New step to open settings preferences 2019-04-24 18:33:12 +02:00
David Monllaó c3f1ee9517 Merge branch 'MDL-64666-master' of git://github.com/aanabit/moodle 2019-04-24 18:07:22 +02:00
Amaia Anabitarte 536c19ddd2 MDL-64673 core_message: Starring conversations behat test 2019-04-24 17:59:56 +02:00
Amaia Anabitarte 01973d34a1 MDL-64666 core_message: New behat test for delete conversation 2019-04-24 17:42:14 +02:00
Amaia Anabitarte fe00d14d7e MDL-64672 core_message: Behat tests for unread messages 2019-04-24 09:55:17 +02:00
Eloy Lafuente (stronk7) ac753bdd29 Merge branch 'MDL-64676-master' of https://github.com/aanabit/moodle 2019-04-23 19:45:18 +02:00
David Monllaó 080fb03d25 Merge branch 'MDL-64924' of git://github.com/Chocolate-lightning/moodle 2019-04-23 13:44:12 +02:00
Amaia Anabitarte 06b028103e MDL-64676 core_message: Fix old behat tests affected by new messaging 2019-04-08 18:45:23 +02:00
Mathew May d566aabac3 MDL-64924 behat: Move Boost specific scenarios to Core 2019-04-08 09:46:12 +08:00
Sara Arjona 199167f590 MDL-65213 core_message: fix random failures when declining contacts 2019-04-02 20:26:26 +02:00
cescobedo 994b006421 MDL-64664 core_message: Create more specific selector to contact menu 2019-03-27 13:43:09 +01:00
Amaia Anabitarte fce10f0e95 MDL-64669 core_message: Waiting for buttons to hide before login out 2019-04-08 10:21:07 +02:00
Amaia Anabitarte fd72e75443 MDL-64669 core_message: Behat tests for send messages 2019-04-08 09:48:51 +02:00
Amaia Anabitarte d624c13542 MDL-64669 core_message: New steps and selectors for messaging 2019-04-08 09:48:51 +02:00
cescobedo 67251e316d MDL-64664 core_message: Behat tests to manage contacts 2019-03-15 13:42:05 +01:00
cescobedo 2cc0330576 MDL-64664 core_message: New step for open contact menu 2019-03-15 13:42:05 +01:00
Amaia Anabitarte 75e7553aa3 MDL-64670 core_message: behat tests for group conversations
Co-authored-by: Mathew May <mathew@moodle.com>
Co-authored-by: Amaia Anabitarte <amaia@moodle.com>
2019-03-01 14:14:32 +01:00
Amaia Anabitarte 65f631c5bc MDL-64670 core_message: New steps and selectors for message drawer
Co-authored-by: Mathew May <mathew@moodle.com>
Co-authored-by: Amaia Anabitarte <amaia@moodle.com>
2019-03-01 14:14:32 +01:00
Amaia Anabitarte 504a5de320 MDL-64663 core_message: Behat to test admin settings 2019-02-25 10:13:20 +01:00
Ryan Wyllie f074d6f086 MDL-63303 message: remove behat tests for messaging 2018-11-15 14:43:21 +08:00
Amaia Anabitarte 36e23989b0 MDL-63282 core_message: Setting messagingallusers = 1 for behat tests
Default setting value for new instances is 0
Default setting value for existing instances is 1
to get same search results than before this setting exists

Setting messagingallusers = 1 for behat tests to simulate old versions functionality

Followup: MDL-63911
2018-11-08 13:11:28 +08:00
Mark Nelson 27024d830c MDL-63839 core_message: use component name for Behat tag 2018-11-05 10:35:51 +08:00