forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'MDL-69600-divertemails' of https://github.com/brendanhe…
- Loading branch information
Showing
4 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -499,6 +499,15 @@ | |
$string['disableuserimages'] = 'Disable user profile images'; | ||
$string['displayerrorswarning'] = 'Enabling the PHP setting <em>display_errors</em> is not recommended on production sites because some error messages may reveal sensitive information about your server.'; | ||
$string['displayloginfailures'] = 'Display login failures'; | ||
$string['divertallemails'] = 'Email diverting'; | ||
$string['divertallemailsdetail'] = 'Used as a safeguard in development environments when testing emails and should not be used in production.'; | ||
$string['divertallemailsexcept'] = 'Email diversion exceptions'; | ||
$string['divertallemailsexcept_desc'] = 'A list of email exception rules separated by either commas or new lines. Each rule is interpreted as a regular expression, eg<pre>[email protected] | ||
.*@acme.com | ||
fred(\\+.*)[email protected] | ||
</pre>'; | ||
$string['divertallemailsto'] = 'Divert all emails'; | ||
$string['divertallemailsto_desc'] = 'If set then all emails will be diverted to this single email address instead.'; | ||
$string['dndallowtextandlinks'] = 'Drag and drop upload of text/links'; | ||
$string['doclang'] = 'Language for docs'; | ||
$string['docroot'] = 'Moodle Docs document root'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3297,6 +3297,26 @@ public function diverted_emails_provider() { | |
), | ||
false, | ||
), | ||
'divertsexceptionsnewline' => array( | ||
'divertallemailsto' => '[email protected]', | ||
'divertallemailsexcept' => "@dev.com\nfred(\+.*)[email protected]", | ||
array( | ||
'[email protected]', | ||
'[email protected]', | ||
'[email protected]', | ||
), | ||
false, | ||
), | ||
'alsodivertsnewline' => array( | ||
'divertallemailsto' => '[email protected]', | ||
'divertallemailsexcept' => "@dev.com\nfred(\+.*)[email protected]", | ||
array( | ||
'[email protected]', | ||
'[email protected]', | ||
'[email protected]', | ||
), | ||
true, | ||
), | ||
); | ||
} | ||
|
||
|