summaryrefslogtreecommitdiff
path: root/app/Model/Project.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-28 18:23:21 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-09-28 18:23:21 -0400
commit33f9cdbc976e0f97c3dd24658dc7d0097497c6d7 (patch)
tree3a5dc8ca9a6b3db268ba95aec357a2e5a8aad80e /app/Model/Project.php
parent03fa01ac7b036820ee232d893ec63241918c6012 (diff)
Add support for Github Issue Webhooks
Diffstat (limited to 'app/Model/Project.php')
-rw-r--r--app/Model/Project.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/Model/Project.php b/app/Model/Project.php
index 1eabe239..c3e8cc55 100644
--- a/app/Model/Project.php
+++ b/app/Model/Project.php
@@ -505,6 +505,13 @@ class Project extends Base
Task::EVENT_MOVE_COLUMN,
Task::EVENT_MOVE_POSITION,
Task::EVENT_ASSIGNEE_CHANGE,
+ GithubWebhook::EVENT_ISSUE_OPENED,
+ GithubWebhook::EVENT_ISSUE_CLOSED,
+ GithubWebhook::EVENT_ISSUE_REOPENED,
+ GithubWebhook::EVENT_ISSUE_ASSIGNEE_CHANGE,
+ GithubWebhook::EVENT_ISSUE_LABEL_CHANGE,
+ GithubWebhook::EVENT_ISSUE_COMMENT,
+ GithubWebhook::EVENT_COMMIT,
);
$listener = new ProjectModificationDate($this);