stable
Clone or download
Read-only
Part of story #9892: notify group of people in addition to individuals Run forgeupgrade, hack your database and insert an entry in the table plugin_git_post_receive_notification_user. You need a repository id, and a user_id. Then push a commit in the given repository. The given user should receive an email. No changes from the user interface. Change-Id: I31f5db7fc1a697164ab6797e781fe422054a2fb3
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/db/install.sql | +6 | −0 | Go to diff View file |
A | plugins/git/db/mysql/updates/2017/201702151712_create_table_to_notify_user.php | +51 | −0 | Go to diff View file |
M | plugins/git/hooks/post-receive.php | +3 | −1 | Go to diff View file |
M | plugins/git/include/Git/Hook/PostReceiveMailsRetriever.php | +17 | −1 | Go to diff View file |
A | plugins/git/include/Git/Notifications/UsersToNotifyDao.php | +42 | −0 | Go to diff View file |
M | plugins/git/include/autoload.php | +3 | −2 | Go to diff View file |
M | plugins/git/tests/Git/Hook/PostReceiveMailsRetrieverTest.php | +29 | −9 | Go to diff View file |