stable

Clone or download

Read-only

Database + send to user

This is a part of story #9892: notify group of people in addition to individuals Run forgeupgrade, hack your database and insert an entry in the table tracker_global_notification_users. You need a notification_id, and a user_id. Then update an artifact. The given user should receive an email. No changes from the user interface. Change-Id: I17697be7624aea269bf89c4f7b5b7e2f9f5b9b30

Modified Files

Name
M plugins/tracker/db/install.sql +6 −0 Go to diff View file
A plugins/tracker/db/mysql/updates/2017/201703091758_add_table_global_notification_users.php +48 −0 Go to diff View file
M plugins/tracker/db/uninstall.sql +1 −0 Go to diff View file
A plugins/tracker/include/Tracker/Notifications/GlobalNotificationsEmailRetriever.php +60 −0 Go to diff View file
A plugins/tracker/include/Tracker/Notifications/UsersToNotifyDao.php +45 −0 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +10 −5 Go to diff View file
M plugins/tracker/include/Tracker/Tracker_GlobalNotification.class.php +24 −16 Go to diff View file
M plugins/tracker/include/Tracker/Tracker_NotificationsManager.class.php +10 −1 Go to diff View file
M plugins/tracker/include/autoload.php +5 −2 Go to diff View file
A plugins/tracker/tests/Tracker/Notifications/GlobalNotificationsEmailRetrieverTest.php +80 −0 Go to diff View file
A plugins/tracker/tests/builders/aGlobalNotification.php +88 −0 Go to diff View file