- Added new config entris for messaging: ou_receivers_no_notice and ou_receivers_private

- MessageLib:
	- Renamed method sendAllNotices to sendAllEmailNotices
	- Renamed method _sendOneNotice to _sendNoticeEmails
	- Renamed method _sendNotice to _sendNoticeEmail
	- If the recipient contact is empty is not anymore a blocking error
- Recipient_model->getMessageById renamed to getMessagesById, not it accepts an array of message ids, could return more results
- Fixed bug in public/js/messaging/writeReply.js to send subject value
This commit is contained in:
Paolo
2020-02-17 18:29:07 +01:00
parent 11f3fad1f7
commit b94aad14fb
5 changed files with 151 additions and 141 deletions
+3 -3
View File
@@ -12,11 +12,11 @@ $config['message_html_view_url'] = '/system/messages/ViewMessage/toHTML/';
// Change this to CIS Server (https://cis.example.com/index.ci.php) if you are sending Messages from Vilesci
$config['message_server'] = site_url();
// Organisation unit function that are allowed to read messages for the organisation unit
// Organization unit function that are allowed to read messages for the organisation unit
$config['ou_receivers'] = array('ass');
// Organisation units that will never receive notice emails
// Organization units that will never receive notice emails
$config['ou_receivers_no_notice'] = array('infocenter');
// Organisation units that will not send the notice email to the internal account, but to the private one
// Organization units that will not send the notice email to the internal account, but to the private one
$config['ou_receivers_private'] = array('eac', 'ewu', 'scs');
$config['message_redirect_url'] = array();