stable

Clone or download

Read-only

update notification send when users have only status change preference

this is part of story #11647 reduce notifications tracker users receive How to test: - Add entry in new table tracker_only_status_change_notification_subscribers Update an artifact and changes its status: => user should receive the email Update an artifact without and don't update its status => user does not receive email Change-Id: I3a41282333ee42d6fbe9e759c8fe5addc4c954fd

Modified Files

Name
M plugins/tracker/db/install.sql +6 −0 Go to diff View file
A plugins/tracker/db/mysql/updates/2018/201806151413_add_table_user_notify_status_change.php +43 −0 Go to diff View file
M plugins/tracker/db/uninstall.sql +1 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/Notification/Notifier.php +3 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/Notification/RecipientsManager.php +24 −2 Go to diff View file
A plugins/tracker/include/Tracker/Notifications/UserNotificationOnlyStatusChangeDAO.php +36 −0 Go to diff View file
M plugins/tracker/tests/Artifact/Changeset/Notification/RecipientsManagerTest.php +71 −1 Go to diff View file