Ryan Wyllie
b1e6f1a8fb
MDL-57370 message: deprecate message_get_recent_conversations
2017-02-07 01:40:47 +00:00
Ryan Wyllie
4d146f1a45
MDL-57370 message: unit tests for get_conversations
2017-02-07 01:04:11 +00:00
Andrew Nicols
ea6eb1cc48
Merge branch 'MDL-57630-m' of https://github.com/micaherne/moodle
2017-02-02 09:18:17 +08:00
Andrew Nicols
81c226d451
Merge branch 'MDL-57634-m' of https://github.com/micaherne/moodle
2017-01-18 12:36:45 +08:00
Michael Aherne
55b2a33ce1
MDL-57634 messaging: Ensure test uses a configured plugin
2017-01-12 12:30:39 +00:00
Michael Aherne
46c5c88321
MDL-57630 messaging: Pass unit test with third-party plugins
2017-01-11 16:37:46 +00:00
Rajesh Taneja
57bee542ab
MDL-56519 behat: Fixed lint errors
2017-01-03 09:12:54 +08:00
David Monllao
ff8b71ef7b
Merge branch 'MDL-56871_master' of git://github.com/markn86/moodle
2016-11-24 09:53:45 +08:00
Mark Nelson
cb8057531f
MDL-56871 core_message: fix inconsistent online status between panels
2016-11-23 16:32:46 +08:00
Dan Poltawski
73430100ff
Merge branch 'MDL-57042-master' of git://github.com/damyon/moodle
2016-11-22 18:00:45 +00:00
Andrew Nicols
727145bf1c
MDL-56407 message: Additional unit test for unblocked user
2016-11-22 09:45:52 +08:00
Andrew Nicols
d10ca75b8c
Merge branch 'MDL-56407-master-2' of git://github.com/junpataleta/moodle
2016-11-22 09:06:09 +08:00
Damyon Wiese
9741087ffd
MDL-57042 messaging: When selecting a user, go to send message
...
This is the whole point of this UI - make it the default action after
searching and selecting a user. You can still get to their profile by
clicking their name in the header of the messaging pane.
2016-11-21 12:22:30 +08:00
Jun Pataleta
26dca05d02
MDL-56407 message: Indicate user is blocked in message area
2016-11-17 09:11:37 +08:00
Rajesh Taneja
d48c0a1d9a
MDL-56603 behat: Fixed search messages string to use id
2016-11-17 08:46:32 +08:00
Mark Nelson
ffd7798c96
MDL-56139 core: changes after peer review
...
- No longer use the Fibonacci sequence for delaying the timeout.
It is too aggressive.
- The backoff_timer AMD module now expects the callback AND the
backoff function to be passed to the constructor.
- Added ability to specify polling frequency in config.php.
- Added helper function to return the cache key.
- Reworded the parameters for clarity.
2016-11-16 10:22:52 +08:00
Ryan Wyllie
fb1469d84f
MDL-56139 message: ajax poll for new messages in message area
2016-11-16 10:22:33 +08:00
Ankit Agarwal
20ab51fdbc
MDL-56409 messages: Save one db query per page load
2016-11-08 12:50:30 +05:30
Andrew Nicols
bc378b50ec
Merge branch 'wip-MDL-44467-master' of git://github.com/abgreeve/moodle
2016-11-03 14:08:21 +08:00
David Monllao
5d0299e275
Merge branch 'MDL-56666-master' of git://github.com/jleyva/moodle
2016-11-03 10:28:59 +08:00
Juan Leyva
2521afd2e8
MDL-56666 message: New WS core_message_get_user_message_preferences
2016-11-02 12:16:23 +00:00
Eloy Lafuente (stronk7)
a1f6a27c80
Merge branch 'MDL-47162' of git://github.com/merrill-oakland/moodle
2016-10-31 22:45:37 +01:00
Eric Merrill
880fc15bf0
MDL-47162 core_message: Updating all uses of messaging to add courseid
2016-10-31 14:13:13 -04:00
Simey Lameze
343ba16c31
MDL-56501 message: introduce new manageallmessaging capability
2016-10-31 14:09:03 +08:00
Andrew Nicols
09a05b798b
MDL-56138 messaging: Add tests for viewparticipants search restriction
2016-10-31 11:58:29 +08:00
Adrian Greeve
87d4ab654b
MDL-56138 messaging: Update to messaging unit tests.
2016-10-31 10:52:05 +08:00
Simey Lameze
253ae23058
MDL-44467 core: always send email from noreplyaddress
2016-10-28 13:04:09 +08:00
Eloy Lafuente (stronk7)
a29bcf7819
MDL-47162 core_message: debug whenever courseid is missing
...
Instead of silently defaulting to SITEID when courseid (coming
from message_send()/\core\message\manager::send_message()) is missing,
now a debugging message is shown to allow developers to fix their
messages to, always, include courseid.
Raw creation of events via message_sent::create() missing other[courseid]
leads to coding exception since now (there shouldn't be any legacy use, as far as
they are always created via create_from_ids() when sending a message.
Updated upgrade.txt notes a little bit, added references the 3.6 final
deprecation issue (MDL-55449) and covered with unit tests.
2016-10-28 00:30:02 +02:00
Eric Merrill
0e8b51607b
MDL-47162 core_message: Cleanup of messaging course ids code
2016-10-27 18:12:42 +02:00
Amanda Doughty
cc350fd9c8
MDL-47162 core_message: Add course id to message eventdata
2016-10-27 18:11:27 +02:00
Andrew Nicols
ebc746dcc2
MDL-56090 message: Make key in union unique
...
This also fixes the unit test to use the correct indices.
2016-10-26 15:43:56 +08:00
Mark Nelson
1f64514def
MDL-56090 core_message: added API unit tests
2016-10-21 16:22:03 +08:00
Dan Poltawski
2d13900f6d
Merge branch 'MDL-55823_master' of git://github.com/markn86/moodle
2016-10-19 10:47:35 +01:00
Mark Nelson
6aa019682c
MDL-55823 core_message: added WS unit tests
2016-10-19 17:07:58 +08:00
Ryan Wyllie
f05c1013de
MDL-55926 message: add behat tests for message ui
2016-10-18 00:26:21 +00:00
Juan Leyva
e86f0cb4a1
MDL-55393 message: New WS get_user_notification_preferences
2016-10-13 19:32:06 +02:00
Mark Nelson
16f91ae12a
MDL-56299 core: fixed failing Behat tests
...
This also involved removing legacy Behat tests.
2016-10-11 14:39:24 +08:00
Ryan Wyllie
7d69958e6b
MDL-56292 message: move popover code into output plugin
2016-10-11 14:39:23 +08:00
Ryan Wyllie
5cdebf2d7e
MDL-56292 message: simplify get_popup_notifications function
2016-10-10 12:48:51 +08:00
Mark Nelson
5b0769db68
MDL-54744 core_message: deprecated functions in message/lib.php
...
Also -
1) Made note of the deprecation as well as the functions and
files that were removed earlier in upgrade.txt.
2) Added new functions to api.php to replace the deprecated ones
that were being used in unit tests.
3) Removed files that are no longer being used.
2016-10-07 16:35:25 +08:00
Mark Nelson
7b55aaa12e
MDL-55942 core: obey the mighty CiBoT
2016-10-07 16:26:40 +08:00
Mark Nelson
79f6c36c12
MDL-55942 core_message: moved added functionality from message/lib.php
2016-10-07 16:26:40 +08:00
Ryan Wyllie
0b19d04836
MDL-55812 message: simplify notification popover items
2016-10-07 16:26:40 +08:00
Mark Nelson
658d0b2fd7
MDL-55770 core_message: remove the send message pop-up
...
Revert "MDL-48933 core_message: New dialog to send a message to a user"
Revert "MDL-48933 core_message: Behat tests to cover messenger dialogs"
2016-10-07 16:26:40 +08:00
Ryan Wyllie
ada7695d7c
MDL-54708 message: notification popover respects message preferences
2016-10-07 16:26:40 +08:00
Ryan Wyllie
3274d5ca66
MDL-54708 message: add backend APIs for notifications popover
2016-10-07 16:26:40 +08:00
Devang Gaur
26c0d75f3e
MDL-54973 message: added messages to globalsearch
2016-08-15 11:27:25 +05:30
Rajesh Taneja
52f3e060e4
MDL-55091 phpunit: Following has been deprecated.
...
1. getMock()
2. setExpectedException()
3. checkForUnintentionallyCoveredCode renamed to beStrictAboutCoversAnnotation
4. beStrictAboutTestSize renamed to enforceTimeLimit
5. UnitTestCase class is now fully removed.
2016-07-26 10:11:30 +08:00
Rajesh Taneja
eb9ca848fa
MDL-53381 behat: Replaced chained steps with api.
...
Behat 3.x doesn't support chained steps and hence
this is first step to get rid of chained steps in core.
2016-04-06 11:32:49 +08:00
Rajesh Taneja
e01012e96d
MDL-46891 behat: Driver specific fixes.
...
1. Browserkit doesn't handle [] in name
2. Grades are not visible in viewport and might fail
with few drivers, increasing size of window to ensure
grades are visible and can be modified.
3. Click edit first to see grade link
4. Expand fields before setting value
5. Updated xpath, as crawler update it.
6. Hover fails to show icon
2016-03-11 10:51:16 +08:00