diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-06-21 12:19:06 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-06-21 12:19:06 -0400 |
commit | d7a8160c2b422dcf950093d9d17d90f1e80201de (patch) | |
tree | 51ad4b6bd086e178406ec2b6c5b29699f7917cf7 /app/Model/Action.php | |
parent | 98fd34bfe340fae6d0fd3b7333b6f9a6647cbae2 (diff) |
Update Bitbucket webhooks to handle issues/commit/comments
Diffstat (limited to 'app/Model/Action.php')
-rw-r--r-- | app/Model/Action.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Model/Action.php b/app/Model/Action.php index 35872bdd..4ede5661 100644 --- a/app/Model/Action.php +++ b/app/Model/Action.php @@ -78,7 +78,7 @@ class Action extends Base Task::EVENT_MOVE_COLUMN => t('Move a task to another column'), Task::EVENT_UPDATE => t('Task modification'), Task::EVENT_CREATE => t('Task creation'), - Task::EVENT_OPEN => t('Open a closed task'), + Task::EVENT_OPEN => t('Reopen a task'), Task::EVENT_CLOSE => t('Closing a task'), Task::EVENT_CREATE_UPDATE => t('Task creation or modification'), Task::EVENT_ASSIGNEE_CHANGE => t('Task assignee change'), @@ -93,6 +93,11 @@ class Action extends Base GitlabWebhook::EVENT_ISSUE_OPENED => t('Gitlab issue opened'), GitlabWebhook::EVENT_ISSUE_CLOSED => t('Gitlab issue closed'), BitbucketWebhook::EVENT_COMMIT => t('Bitbucket commit received'), + BitbucketWebhook::EVENT_ISSUE_OPENED => t('Bitbucket issue opened'), + BitbucketWebhook::EVENT_ISSUE_CLOSED => t('Bitbucket issue closed'), + BitbucketWebhook::EVENT_ISSUE_REOPENED => t('Bitbucket issue reopened'), + BitbucketWebhook::EVENT_ISSUE_ASSIGNEE_CHANGE => t('Bitbucket issue assignee change'), + BitbucketWebhook::EVENT_ISSUE_COMMENT => t('Bitbucket issue comment created'), ); asort($values); |