]> git.ipfire.org Git - thirdparty/bugzilla.git/commit
Bug 1398889 - Add param 'silent_users' that never trigger sending bugmail
authorDylan William Hardison <dylan@hardison.net>
Wed, 13 Sep 2017 13:03:50 +0000 (09:03 -0400)
committerGitHub <noreply@github.com>
Wed, 13 Sep 2017 13:03:50 +0000 (09:03 -0400)
commit5c003fcc3ee164e92295f8518ca90eec0196a30c
treed92254cd59e3f97f4b3fcf42e09715c0ccd286b4
parent90757225b25c4eab4b4f4b9296c63746c710721d
Bug 1398889 - Add param 'silent_users' that never trigger sending bugmail

* Add param silent_users
* Add method is_silent_user to User class, which returns true if the login name matches an entry in silent_users.
* Change user_wants_mail() to return false if the changer is a silent user.
* Change is_global_watcher() in User class code to use any instead of grep
* Change regex used to parse param 'globalwatchers' to use consistent regex in BugMail.pm and User.pm
Bugzilla/BugMail.pm
Bugzilla/Config/MTA.pm
Bugzilla/User.pm
template/en/default/admin/params/mta.html.tmpl