* finish task #3560.

This commit is contained in:
wangyidong
2018-01-11 11:05:50 +08:00
parent 6301f40a61
commit bd1ea46a9c
45 changed files with 511 additions and 259 deletions
-9
View File
@@ -5,15 +5,6 @@ $config->webhook->create->requiredFields = 'name, url';
$config->webhook->edit = new stdclass();
$config->webhook->edit->requiredFields = 'name, url';
$config->webhook->objectTypes['release'] = array('opened', 'edited', 'changestatus');
$config->webhook->objectTypes['build'] = array('opened', 'edited');
$config->webhook->objectTypes['testsuite'] = array('opened', 'edited');
$config->webhook->objectTypes['caselib'] = array('opened', 'edited');
$config->webhook->objectTypes['testreport'] = array('opened', 'edited');
$config->webhook->objectTypes['doc'] = array('created', 'edited', 'commented');
$config->webhook->objectTypes['doclib'] = array('created', 'edited');
$config->webhook->objectTypes['user'] = array('login', 'logout');
/* Unset entry to hide actions. */
$config->webhook->objectTypes = array();
$config->webhook->objectTypes['product'] = array('opened', 'edited', 'closed', 'undeleted');