From 33f9cdbc976e0f97c3dd24658dc7d0097497c6d7 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sun, 28 Sep 2014 18:23:21 -0400 Subject: Add support for Github Issue Webhooks --- app/Model/Project.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'app/Model/Project.php') 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); -- cgit v1.2.3