1052 Commits

Author SHA1 Message Date
Ryan Wyllie
a6a277f06c MDL-57075 message: notification popover see all link
The "see all" link in the notification popover should link to the full
notifications page similar to how the "see all" link in the message
popover links to the messaging page.
2016-11-22 03:44:26 +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
David Monllao
dfe7cbe4cf Merge branch 'MDL-57036_master' of git://github.com/markn86/moodle 2016-11-21 10:51:29 +08:00
Mark Nelson
f4c39cb983 MDL-57036 core_message: always show profile picture on messaging UI 2016-11-18 11:13:36 +08:00
Dan Poltawski
486fac73f2 Merge branch 'MDL-56467_master' of git://github.com/markn86/moodle 2016-11-17 10:15:51 +00:00
Andrew Nicols
2f0cd733be Merge branch 'MDL-56822-master' of git://github.com/cameron1729/moodle 2016-11-17 14:33:39 +08:00
Cameron Ball
b5b7af96bb
MDL-56822 messaging: Hide notification icons on site policy screen
If we have the nofications and messaging popovers displaying on the
policy confirmation screen we hit an exception since the webservices
won't work if the policy hasn't been agreed to.

This patch simply stops them from showing if the site policy hasn't
been agreed to.
2016-11-17 12:10:52 +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
393eccb077 MDL-56467 message_airnotifier: fixed settings pop-up not displaying 2016-11-16 14:56:32 +08:00
Adrian Greeve
d3d0248afc MDL-56603 message: Added see all link to message popup. 2016-11-16 14:51:17 +08:00
Adrian Greeve
8151761378 MDL-56603 messaging: Add a new message link to popup.
Added a link to create a new message from the message
popup menu.
2016-11-16 14:51:17 +08:00
Mark Nelson
af5765b3fb MDL-56139 core_message: removed unused constants 2016-11-16 10:22:52 +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
Dan Poltawski
4678592332 Merge branch 'MDL-56426_master' of git://github.com/markn86/moodle 2016-11-15 09:07:29 +00:00
Mark Nelson
f34df17977 MDL-56426 core_message: prevent page jump when viewing notif. settings 2016-11-14 16:02:42 +08:00
Simey Lameze
27a5b91f45 MDL-56398 core_message: make modals consistent across themes 2016-11-14 14:35:38 +08:00
David Monllao
0cbfb7ff2a Merge branch 'MDL-56409-master' of git://github.com/ankitagarwal/moodle 2016-11-09 08:36:36 +08:00
Ankit Agarwal
20ab51fdbc MDL-56409 messages: Save one db query per page load 2016-11-08 12:50:30 +05:30
Simey Lameze
0b20349f32 MDL-56818 messages: remove duplicated messaging enabled check 2016-11-08 10:26:39 +08:00
Dan Poltawski
77b0bafa6d Merge branch 'MDL-56696-master' of git://github.com/lameze/moodle 2016-11-07 11:33:55 +00:00
Damyon Wiese
c3e7274369 MDL-56025 messages: Reduce the height on short screens
On windows shorter than 670px reduce the height of the message area.
2016-11-07 14:41:21 +08:00
Simey Lameze
b445f4b342 MDL-56696 message: link user full name to contact options 2016-11-07 14:35:13 +08:00
Ankit Agarwal
55af4309f7 MDL-56409 messages: Do not fetch notifications if they are disabled 2016-11-07 09:59:11 +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
Dan Poltawski
3a24b255ba Merge branch 'MDL-56402-master' of git://github.com/lameze/moodle 2016-11-01 21:24:57 +00:00
Simey Lameze
67c89858aa MDL-56402 core_message: remove tabindex attr of not selected users 2016-11-01 15:49:16 +08:00
Simey Lameze
56fa3e011a MDL-56514 core_message: remove messaging enabled check 2016-11-01 14:15:32 +08: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
Dan Poltawski
e90d0c90b4 MDL-56514 message: fix whitespace 2016-10-31 10:06:26 +00:00
Simey Lameze
a2c7227ab8 MDL-56514 core_message: add missing is messaging enabled checks 2016-10-31 15:06:50 +08: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
Adrian Greeve
f324957724 MDL-56138 messaging: Limit course search to enrolled courses. 2016-10-31 10:52:05 +08:00
Adrian Greeve
25ea0caaa2 MDL-44467 lib: Move lang string to admin file.
AMOS BEGIN
 MOV [allowattachments,message_email],[allowattachments,admin]
 MOV [allowusermailcharset,message_email],[allowusermailcharset,admin]
 MOV [configallowattachments,message_email],[configallowattachments,admin]
 MOV [configallowusermailcharset,message_email],[configallowusermailcharset,admin]
 MOV [configmailnewline,message_email],[configmailnewline,admin]
 MOV [confignoreplyaddress,message_email],[confignoreplyaddress,admin]
 MOV [configsitemailcharset,message_email],[configsitemailcharset,admin]
 MOV [configsmtpauthtype,message_email],[configsmtpauthtype,admin]
 MOV [configsmtphosts,message_email],[configsmtphosts,admin]
 MOV [configsmtpmaxbulk,message_email],[configsmtpmaxbulk,admin]
 MOV [configsmtpsecure,message_email],[configsmtpsecure,admin]
 MOV [configsmtpuser,message_email],[configsmtpuser,admin]
 MOV [doesnotfit,message_email],[doesnotfit,admin]
 MOV [doesnotfitdetail,message_email],[doesnotfitdetail,admin]
 MOV [mailnewline,message_email],[mailnewline,admin]
 MOV [none,message_email],[none,admin]
 MOV [noreplyaddress,message_email],[noreplyaddress,admin]
 MOV [noreplydomain,message_email],[noreplydomain,admin]
 MOV [noreplydomaindetail,message_email],[noreplydomaindetail,admin]
 MOV [sitemailcharset,message_email],[sitemailcharset,admin]
 MOV [smtp,message_email],[smtp,admin]
 MOV [smtpauthtype,message_email],[smtpauthtype,admin]
 MOV [smtpdetail,message_email],[smtpdetail,admin]
 MOV [smtphosts,message_email],[smtphosts,admin]
 MOV [smtpmaxbulk,message_email],[smtpmaxbulk,admin]
 MOV [smtppass,message_email],[smtppass,admin]
 MOV [smtpsecure,message_email],[smtpsecure,admin]
 MOV [smtpuser,message_email],[smtpuser,admin]
AMOS END
2016-10-28 13:27:00 +08:00
Adrian Greeve
9715f61a26 MDL-44467 lib: Fix return path to noreply.
Added code to show emails from users on controlled domains.
Moved admin settings from message_email to admin.
2016-10-28 13:27:00 +08:00
Simey Lameze
253ae23058 MDL-44467 core: always send email from noreplyaddress 2016-10-28 13:04:09 +08:00
Simey Lameze
ff2abc4b7d MDL-44467 core: mail settings and navigation improvements
This commit groups all mail settings under Server node, splitting into
two categories: Outgoing mail configuration and Incoming mail configuration.
Also, it make maildomain setting available on the Email settings page.
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
Simey Lameze
4a7fdb4abb MDL-56427 message: style fixes for notification and message preferences 2016-10-27 15:27:11 +08:00
Eloy Lafuente (stronk7)
6f01090159 Merge branch 'MDL-56448-master' of git://github.com/danpoltawski/moodle 2016-10-26 16:11:44 +02:00