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_ugroup. You need a repository id, and a ugroup_id (dynamic or static). Then push a commit in the given repository. The members of the ugroup should receive an email. No changes from the user interface. Change-Id: I78061dbaefbf83902943c4186428ce06350f4e79
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/db/install.sql | +6 | −0 | Go to diff View file |
A | plugins/git/db/mysql/updates/2017/201702161651_create_table_to_notify_ugroup.php | +51 | −0 | Go to diff View file |
M | plugins/git/db/uninstall.sql | +2 | −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 | +47 | −4 | Go to diff View file |
A | plugins/git/include/Git/Notifications/UgroupsToNotifyDao.php | +41 | −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 | +41 | −1 | Go to diff View file |
M | tests/simpletest/common/project/aMockUGroup.php | +23 | −12 | Go to diff View file |