Move Github Webhook to external plugin

See: https://github.com/kanboard/plugin-github-webhook
This commit is contained in:
Frederic Guillot 2016-01-06 21:46:31 -05:00
parent a03e4d4dcb
commit 00e5a4c5b4
47 changed files with 10 additions and 2698 deletions

View File

@ -6,6 +6,8 @@ Breaking changes:
* Plugin API changes for Automatic Actions
* Automatic Action to close a task doesn't have the column parameter anymore (use the action "Close a task in a specific column")
* Action name stored in the database is now the absolute class name
* Core functionalities moved to external plugins:
- Github Webhook: https://github.com/kanboard/plugin-github-webhook
New features:

View File

@ -265,9 +265,12 @@ abstract class Base extends \Kanboard\Core\Base
* @param string $event
* @param string $description
*/
public function addEvent($event, $description)
public function addEvent($event, $description = '')
{
$this->eventManager->register($event, $description);
if ($description !== '') {
$this->eventManager->register($event, $description);
}
$this->compatibleEvents[] = $event;
return $this;
}

View File

@ -3,7 +3,6 @@
namespace Kanboard\Action;
use Kanboard\Integration\BitbucketWebhook;
use Kanboard\Integration\GithubWebhook;
use Kanboard\Integration\GitlabWebhook;
/**
@ -34,8 +33,6 @@ class CommentCreation extends Base
public function getCompatibleEvents()
{
return array(
GithubWebhook::EVENT_ISSUE_COMMENT,
GithubWebhook::EVENT_COMMIT,
BitbucketWebhook::EVENT_ISSUE_COMMENT,
BitbucketWebhook::EVENT_COMMIT,
GitlabWebhook::EVENT_COMMIT,

View File

@ -2,8 +2,6 @@
namespace Kanboard\Action;
use Kanboard\Integration\GithubWebhook;
/**
* Set a category automatically according to a label
*
@ -31,9 +29,7 @@ class TaskAssignCategoryLabel extends Base
*/
public function getCompatibleEvents()
{
return array(
GithubWebhook::EVENT_ISSUE_LABEL_CHANGE,
);
return array();
}
/**

View File

@ -2,7 +2,6 @@
namespace Kanboard\Action;
use Kanboard\Integration\GithubWebhook;
use Kanboard\Integration\BitbucketWebhook;
/**
@ -33,7 +32,6 @@ class TaskAssignUser extends Base
public function getCompatibleEvents()
{
return array(
GithubWebhook::EVENT_ISSUE_ASSIGNEE_CHANGE,
BitbucketWebhook::EVENT_ISSUE_ASSIGNEE_CHANGE,
);
}

View File

@ -3,7 +3,6 @@
namespace Kanboard\Action;
use Kanboard\Integration\GitlabWebhook;
use Kanboard\Integration\GithubWebhook;
use Kanboard\Integration\BitbucketWebhook;
use Kanboard\Model\Task;
@ -35,8 +34,6 @@ class TaskClose extends Base
public function getCompatibleEvents()
{
return array(
GithubWebhook::EVENT_COMMIT,
GithubWebhook::EVENT_ISSUE_CLOSED,
GitlabWebhook::EVENT_COMMIT,
GitlabWebhook::EVENT_ISSUE_CLOSED,
BitbucketWebhook::EVENT_COMMIT,

View File

@ -2,7 +2,6 @@
namespace Kanboard\Action;
use Kanboard\Integration\GithubWebhook;
use Kanboard\Integration\GitlabWebhook;
use Kanboard\Integration\BitbucketWebhook;
@ -34,7 +33,6 @@ class TaskCreation extends Base
public function getCompatibleEvents()
{
return array(
GithubWebhook::EVENT_ISSUE_OPENED,
GitlabWebhook::EVENT_ISSUE_OPENED,
BitbucketWebhook::EVENT_ISSUE_OPENED,
);

View File

@ -2,7 +2,6 @@
namespace Kanboard\Action;
use Kanboard\Integration\GithubWebhook;
use Kanboard\Integration\GitlabWebhook;
use Kanboard\Integration\BitbucketWebhook;
@ -34,7 +33,6 @@ class TaskOpen extends Base
public function getCompatibleEvents()
{
return array(
GithubWebhook::EVENT_ISSUE_REOPENED,
GitlabWebhook::EVENT_ISSUE_REOPENED,
BitbucketWebhook::EVENT_ISSUE_REOPENED,
);

View File

@ -40,25 +40,6 @@ class Webhook extends Base
$this->response->text('FAILED');
}
/**
* Handle Github webhooks
*
* @access public
*/
public function github()
{
$this->checkWebhookToken();
$this->githubWebhook->setProjectId($this->request->getIntegerParam('project_id'));
$result = $this->githubWebhook->parsePayload(
$this->request->getHeader('X-Github-Event'),
$this->request->getJson()
);
echo $result ? 'PARSED' : 'IGNORED';
}
/**
* Handle Gitlab webhooks
*

View File

@ -46,7 +46,6 @@ use Pimple\Container;
* @property \Kanboard\Core\Paginator $paginator
* @property \Kanboard\Core\Template $template
* @property \Kanboard\Integration\BitbucketWebhook $bitbucketWebhook
* @property \Kanboard\Integration\GithubWebhook $githubWebhook
* @property \Kanboard\Integration\GitlabWebhook $gitlabWebhook
* @property \Kanboard\Formatter\ProjectGanttFormatter $projectGanttFormatter
* @property \Kanboard\Formatter\TaskFilterGanttFormatter $taskFilterGanttFormatter

View File

@ -3,7 +3,6 @@
namespace Kanboard\Core\Event;
use Kanboard\Integration\GitlabWebhook;
use Kanboard\Integration\GithubWebhook;
use Kanboard\Integration\BitbucketWebhook;
use Kanboard\Model\Task;
use Kanboard\Model\TaskLink;
@ -55,13 +54,6 @@ class EventManager
Task::EVENT_CLOSE => t('Closing a task'),
Task::EVENT_CREATE_UPDATE => t('Task creation or modification'),
Task::EVENT_ASSIGNEE_CHANGE => t('Task assignee change'),
GithubWebhook::EVENT_COMMIT => t('Github commit received'),
GithubWebhook::EVENT_ISSUE_OPENED => t('Github issue opened'),
GithubWebhook::EVENT_ISSUE_CLOSED => t('Github issue closed'),
GithubWebhook::EVENT_ISSUE_REOPENED => t('Github issue reopened'),
GithubWebhook::EVENT_ISSUE_ASSIGNEE_CHANGE => t('Github issue assignee change'),
GithubWebhook::EVENT_ISSUE_LABEL_CHANGE => t('Github issue label change'),
GithubWebhook::EVENT_ISSUE_COMMENT => t('Github issue comment created'),
GitlabWebhook::EVENT_COMMIT => t('Gitlab commit received'),
GitlabWebhook::EVENT_ISSUE_OPENED => t('Gitlab issue opened'),
GitlabWebhook::EVENT_ISSUE_REOPENED => t('Gitlab issue reopened'),

View File

@ -1,380 +0,0 @@
<?php
namespace Kanboard\Integration;
use Kanboard\Event\GenericEvent;
/**
* Github Webhook
*
* @package integration
* @author Frederic Guillot
*/
class GithubWebhook extends \Kanboard\Core\Base
{
/**
* Events
*
* @var string
*/
const EVENT_ISSUE_OPENED = 'github.webhook.issue.opened';
const EVENT_ISSUE_CLOSED = 'github.webhook.issue.closed';
const EVENT_ISSUE_REOPENED = 'github.webhook.issue.reopened';
const EVENT_ISSUE_ASSIGNEE_CHANGE = 'github.webhook.issue.assignee';
const EVENT_ISSUE_LABEL_CHANGE = 'github.webhook.issue.label';
const EVENT_ISSUE_COMMENT = 'github.webhook.issue.commented';
const EVENT_COMMIT = 'github.webhook.commit';
/**
* Project id
*
* @access private
* @var integer
*/
private $project_id = 0;
/**
* Set the project id
*
* @access public
* @param integer $project_id Project id
*/
public function setProjectId($project_id)
{
$this->project_id = $project_id;
}
/**
* Parse Github events
*
* @access public
* @param string $type Github event type
* @param array $payload Github event
* @return boolean
*/
public function parsePayload($type, array $payload)
{
switch ($type) {
case 'push':
return $this->parsePushEvent($payload);
case 'issues':
return $this->parseIssueEvent($payload);
case 'issue_comment':
return $this->parseCommentIssueEvent($payload);
}
return false;
}
/**
* Parse Push events (list of commits)
*
* @access public
* @param array $payload Event data
* @return boolean
*/
public function parsePushEvent(array $payload)
{
foreach ($payload['commits'] as $commit) {
$task_id = $this->task->getTaskIdFromText($commit['message']);
if (empty($task_id)) {
continue;
}
$task = $this->taskFinder->getById($task_id);
if (empty($task)) {
continue;
}
if ($task['project_id'] != $this->project_id) {
continue;
}
$this->container['dispatcher']->dispatch(
self::EVENT_COMMIT,
new GenericEvent(array(
'task_id' => $task_id,
'commit_message' => $commit['message'],
'commit_url' => $commit['url'],
'comment' => $commit['message']."\n\n[".t('Commit made by @%s on Github', $commit['author']['username']).']('.$commit['url'].')'
) + $task)
);
}
return true;
}
/**
* Parse issue events
*
* @access public
* @param array $payload Event data
* @return boolean
*/
public function parseIssueEvent(array $payload)
{
switch ($payload['action']) {
case 'opened':
return $this->handleIssueOpened($payload['issue']);
case 'closed':
return $this->handleIssueClosed($payload['issue']);
case 'reopened':
return $this->handleIssueReopened($payload['issue']);
case 'assigned':
return $this->handleIssueAssigned($payload['issue']);
case 'unassigned':
return $this->handleIssueUnassigned($payload['issue']);
case 'labeled':
return $this->handleIssueLabeled($payload['issue'], $payload['label']);
case 'unlabeled':
return $this->handleIssueUnlabeled($payload['issue'], $payload['label']);
}
return false;
}
/**
* Parse comment issue events
*
* @access public
* @param array $payload Event data
* @return boolean
*/
public function parseCommentIssueEvent(array $payload)
{
$task = $this->taskFinder->getByReference($this->project_id, $payload['issue']['number']);
if (! empty($task)) {
$user = $this->user->getByUsername($payload['comment']['user']['login']);
if (! empty($user) && ! $this->projectPermission->isAssignable($this->project_id, $user['id'])) {
$user = array();
}
$event = array(
'project_id' => $this->project_id,
'reference' => $payload['comment']['id'],
'comment' => $payload['comment']['body']."\n\n[".t('By @%s on Github', $payload['comment']['user']['login']).']('.$payload['comment']['html_url'].')',
'user_id' => ! empty($user) ? $user['id'] : 0,
'task_id' => $task['id'],
);
$this->container['dispatcher']->dispatch(
self::EVENT_ISSUE_COMMENT,
new GenericEvent($event)
);
return true;
}
return false;
}
/**
* Handle new issues
*
* @access public
* @param array $issue Issue data
* @return boolean
*/
public function handleIssueOpened(array $issue)
{
$event = array(
'project_id' => $this->project_id,
'reference' => $issue['number'],
'title' => $issue['title'],
'description' => $issue['body']."\n\n[".t('Github Issue').']('.$issue['html_url'].')',
);
$this->container['dispatcher']->dispatch(
self::EVENT_ISSUE_OPENED,
new GenericEvent($event)
);
return true;
}
/**
* Handle issue closing
*
* @access public
* @param array $issue Issue data
* @return boolean
*/
public function handleIssueClosed(array $issue)
{
$task = $this->taskFinder->getByReference($this->project_id, $issue['number']);
if (! empty($task)) {
$event = array(
'project_id' => $this->project_id,
'task_id' => $task['id'],
'reference' => $issue['number'],
);
$this->container['dispatcher']->dispatch(
self::EVENT_ISSUE_CLOSED,
new GenericEvent($event)
);
return true;
}
return false;
}
/**
* Handle issue reopened
*
* @access public
* @param array $issue Issue data
* @return boolean
*/
public function handleIssueReopened(array $issue)
{
$task = $this->taskFinder->getByReference($this->project_id, $issue['number']);
if (! empty($task)) {
$event = array(
'project_id' => $this->project_id,
'task_id' => $task['id'],
'reference' => $issue['number'],
);
$this->container['dispatcher']->dispatch(
self::EVENT_ISSUE_REOPENED,
new GenericEvent($event)
);
return true;
}
return false;
}
/**
* Handle issue assignee change
*
* @access public
* @param array $issue Issue data
* @return boolean
*/
public function handleIssueAssigned(array $issue)
{
$user = $this->user->getByUsername($issue['assignee']['login']);
$task = $this->taskFinder->getByReference($this->project_id, $issue['number']);
if (! empty($user) && ! empty($task) && $this->projectPermission->isAssignable($this->project_id, $user['id'])) {
$event = array(
'project_id' => $this->project_id,
'task_id' => $task['id'],
'owner_id' => $user['id'],
'reference' => $issue['number'],
);
$this->container['dispatcher']->dispatch(
self::EVENT_ISSUE_ASSIGNEE_CHANGE,
new GenericEvent($event)
);
return true;
}
return false;
}
/**
* Handle unassigned issue
*
* @access public
* @param array $issue Issue data
* @return boolean
*/
public function handleIssueUnassigned(array $issue)
{
$task = $this->taskFinder->getByReference($this->project_id, $issue['number']);
if (! empty($task)) {
$event = array(
'project_id' => $this->project_id,
'task_id' => $task['id'],
'owner_id' => 0,
'reference' => $issue['number'],
);
$this->container['dispatcher']->dispatch(
self::EVENT_ISSUE_ASSIGNEE_CHANGE,
new GenericEvent($event)
);
return true;
}
return false;
}
/**
* Handle labeled issue
*
* @access public
* @param array $issue Issue data
* @param array $label Label data
* @return boolean
*/
public function handleIssueLabeled(array $issue, array $label)
{
$task = $this->taskFinder->getByReference($this->project_id, $issue['number']);
if (! empty($task)) {
$event = array(
'project_id' => $this->project_id,
'task_id' => $task['id'],
'reference' => $issue['number'],
'label' => $label['name'],
);
$this->container['dispatcher']->dispatch(
self::EVENT_ISSUE_LABEL_CHANGE,
new GenericEvent($event)
);
return true;
}
return false;
}
/**
* Handle unlabeled issue
*
* @access public
* @param array $issue Issue data
* @param array $label Label data
* @return boolean
*/
public function handleIssueUnlabeled(array $issue, array $label)
{
$task = $this->taskFinder->getByReference($this->project_id, $issue['number']);
if (! empty($task)) {
$event = array(
'project_id' => $this->project_id,
'task_id' => $task['id'],
'reference' => $issue['number'],
'label' => $label['name'],
'category_id' => 0,
);
$this->container['dispatcher']->dispatch(
self::EVENT_ISSUE_LABEL_CHANGE,
new GenericEvent($event)
);
return true;
}
return false;
}
}

View File

@ -437,12 +437,6 @@ return array(
'%s changed the assignee of the task %s to %s' => '%s promijenio izvršioca za zadatak %s u %s',
'New password for the user "%s"' => 'Nova šifra korisnika "%s"',
'Choose an event' => 'Izaberi događaj',
'Github commit received' => 'Github: commit dobijen',
'Github issue opened' => 'Github: otvoren problem',
'Github issue closed' => 'Github: zatvoren problem',
'Github issue reopened' => 'Github: ponovo otvoren problem',
'Github issue assignee change' => 'Github: izmijenjen izvršioc problema',
'Github issue label change' => 'Github: izmjena etikete problema',
'Create a task from an external provider' => 'Kreiraj zadatak preko posrednika',
'Change the assignee based on an external username' => 'Izmijene izvršioca bazirano na vanjskom korisničkom imenu',
'Change the category based on an external label' => 'Izmijene kategorije bazirano na vanjskoj etiketi',
@ -487,10 +481,7 @@ return array(
'Everybody have access to this project.' => 'Svima je dozvoljen pristup ovom projektu.',
'Webhooks' => 'Webhooks',
'API' => 'API',
'Github webhooks' => 'Github webhooks',
'Help on Github webhooks' => 'Pomoć na Github webhooks',
'Create a comment from an external provider' => 'Napravi komentar preko vanjskog posrednika',
'Github issue comment created' => 'Github: dodan komentar za problem',
'Project management' => 'Upravljanje projektima',
'My projects' => 'Moji projekti',
'Columns' => 'Kolone',
@ -508,7 +499,6 @@ return array(
'User repartition for "%s"' => 'Zaduženja korisnika za "%s"',
'Clone this project' => 'Kloniraj ovaj projekat',
'Column removed successfully.' => 'Kolona uspješno uklonjena.',
'Github Issue' => 'Github problemi',
'Not enough data to show the graph.' => 'Nedovoljno podataka za prikaz na grafikonu.',
'Previous' => 'Prethodni',
'The id must be an integer' => 'ID mora biti cjeloviti broj',
@ -763,8 +753,6 @@ return array(
'By @%s on Bitbucket' => 'Od @%s na Bitbucket',
'Bitbucket Issue' => 'Bitbucket problem',
'Commit made by @%s on Bitbucket' => 'Commit-ao @%s na Bitbucket',
'Commit made by @%s on Github' => 'Commit-ao @%s na Github',
'By @%s on Github' => '@%s na Github',
'Commit made by @%s on Gitlab' => 'Commit-ao @%s na Gitlab',
'Add a comment log when moving the task between columns' => 'Dodaj komentar u dnevnik kada se pomjeri zadatak između kolona',
'Move the task to another column when the category is changed' => 'Pomjeri zadatak u drugu kolonu kada je kategorija promijenjena',

View File

@ -437,12 +437,6 @@ return array(
'%s changed the assignee of the task %s to %s' => '%s změnil řešitele úkolu %s na uživatele %s',
'New password for the user "%s"' => 'Nové heslo pro uživatele "%s"',
'Choose an event' => 'Vybrat událost',
'Github commit received' => 'Github commit empfangen',
'Github issue opened' => 'Github Fehler geöffnet',
'Github issue closed' => 'Github Fehler geschlossen',
'Github issue reopened' => 'Github Fehler erneut geöffnet',
'Github issue assignee change' => 'Github Fehlerzuständigkeit geändert',
'Github issue label change' => 'Github Fehlerkennzeichnung verändert',
'Create a task from an external provider' => 'Vytvořit úkol externím poskytovatelem',
'Change the assignee based on an external username' => 'Změna přiřazení uživatele závislá na externím uživateli',
'Change the category based on an external label' => 'Změna kategorie závislá na externím popisku',
@ -487,10 +481,7 @@ return array(
'Everybody have access to this project.' => 'Přístup k tomuto projektu má kdokoliv.',
'Webhooks' => 'Webhooks',
'API' => 'API',
'Github webhooks' => 'Github Webhook',
'Help on Github webhooks' => 'Hilfe für Github Webhooks',
'Create a comment from an external provider' => 'Vytvořit komentář pomocí externího poskytovatele',
'Github issue comment created' => 'Github Fehler Kommentar hinzugefügt',
'Project management' => 'Správa projektů',
'My projects' => 'Moje projekty',
'Columns' => 'Sloupce',
@ -508,7 +499,6 @@ return array(
'User repartition for "%s"' => 'Rozdělení podle uživatelů pro "%s"',
'Clone this project' => 'Duplokovat projekt',
'Column removed successfully.' => 'Sloupec byl odstraněn.',
'Github Issue' => 'Github Issue',
'Not enough data to show the graph.' => 'Pro zobrazení grafu není dostatek dat.',
'Previous' => 'Předchozí',
'The id must be an integer' => 'ID musí být celé číslo',
@ -763,8 +753,6 @@ return array(
// 'By @%s on Bitbucket' => '',
// 'Bitbucket Issue' => '',
// 'Commit made by @%s on Bitbucket' => '',
// 'Commit made by @%s on Github' => '',
// 'By @%s on Github' => '',
// 'Commit made by @%s on Gitlab' => '',
'Add a comment log when moving the task between columns' => 'Přidat komentář když je úkol přesouván mezi sloupci',
'Move the task to another column when the category is changed' => 'Přesun úkolu do jiného sloupce když je změněna kategorie',

View File

@ -437,12 +437,6 @@ return array(
'%s changed the assignee of the task %s to %s' => '%s skift ansvarlig for opgaven %s til %s',
'New password for the user "%s"' => 'Ny adgangskode for brugeren "%s"',
'Choose an event' => 'Vælg et event',
'Github commit received' => 'Github commit modtaget',
'Github issue opened' => 'Github problem åbet',
'Github issue closed' => 'Github problem lukket',
'Github issue reopened' => 'Github problem genåbnet',
'Github issue assignee change' => 'Github problem ansvarlig skift',
'Github issue label change' => 'Github problem label skift',
'Create a task from an external provider' => 'Opret en opgave fra en ekstern udbyder',
'Change the assignee based on an external username' => 'Skift den ansvarlige baseret på et eksternt brugernavn',
'Change the category based on an external label' => 'Skift kategorien baseret på en ekstern label',
@ -487,10 +481,7 @@ return array(
// 'Everybody have access to this project.' => '',
// 'Webhooks' => '',
// 'API' => '',
// 'Github webhooks' => '',
// 'Help on Github webhooks' => '',
// 'Create a comment from an external provider' => '',
// 'Github issue comment created' => '',
// 'Project management' => '',
// 'My projects' => '',
// 'Columns' => '',
@ -508,7 +499,6 @@ return array(
// 'User repartition for "%s"' => '',
// 'Clone this project' => '',
// 'Column removed successfully.' => '',
// 'Github Issue' => '',
// 'Not enough data to show the graph.' => '',
// 'Previous' => '',
// 'The id must be an integer' => '',
@ -763,8 +753,6 @@ return array(
// 'By @%s on Bitbucket' => '',
// 'Bitbucket Issue' => '',
// 'Commit made by @%s on Bitbucket' => '',
// 'Commit made by @%s on Github' => '',
// 'By @%s on Github' => '',
// 'Commit made by @%s on Gitlab' => '',
// 'Add a comment log when moving the task between columns' => '',
// 'Move the task to another column when the category is changed' => '',

View File

@ -437,12 +437,6 @@ return array(
'%s changed the assignee of the task %s to %s' => '%s hat die Zuständigkeit der Aufgabe %s geändert um %s',
'New password for the user "%s"' => 'Neues Passwort des Benutzers "%s"',
'Choose an event' => 'Aktion wählen',
'Github commit received' => 'Github commit empfangen',
'Github issue opened' => 'Github Fehler geöffnet',
'Github issue closed' => 'Github Fehler geschlossen',
'Github issue reopened' => 'Github Fehler erneut geöffnet',
'Github issue assignee change' => 'Github Fehlerzuständigkeit geändert',
'Github issue label change' => 'Github Fehlerkennzeichnung verändert',
'Create a task from an external provider' => 'Eine Aufgabe durch einen externen Provider hinzufügen',
'Change the assignee based on an external username' => 'Zuordnung ändern basierend auf externem Benutzernamen',
'Change the category based on an external label' => 'Kategorie basierend auf einer externen Kennzeichnung ändern',
@ -487,10 +481,7 @@ return array(
'Everybody have access to this project.' => 'Jeder hat Zugriff zu diesem Projekt',
'Webhooks' => 'Webhooks',
'API' => 'API',
'Github webhooks' => 'Github-Webhook',
'Help on Github webhooks' => 'Hilfe für Github-Webhooks',
'Create a comment from an external provider' => 'Kommentar eines externen Providers hinzufügen',
'Github issue comment created' => 'Kommentar zum Github-Issue hinzugefügt',
'Project management' => 'Projektmanagement',
'My projects' => 'Meine Projekte',
'Columns' => 'Spalten',
@ -508,7 +499,6 @@ return array(
'User repartition for "%s"' => 'Benutzerverteilung für "%s"',
'Clone this project' => 'Projekt kopieren',
'Column removed successfully.' => 'Spalte erfolgreich entfernt.',
'Github Issue' => 'Github Issue',
'Not enough data to show the graph.' => 'Nicht genügend Daten, um die Grafik zu zeigen.',
'Previous' => 'Vorherige',
'The id must be an integer' => 'Die Id muss eine ganze Zahl sein',
@ -763,8 +753,6 @@ return array(
'By @%s on Bitbucket' => 'Durch @%s auf Bitbucket',
'Bitbucket Issue' => 'Bitbucket-Issue',
'Commit made by @%s on Bitbucket' => 'Commit von @%s auf Bitbucket',
'Commit made by @%s on Github' => 'Commit von @%s auf Github',
'By @%s on Github' => 'Durch @%s auf Github',
'Commit made by @%s on Gitlab' => 'Commit von @%s auf Gitlab',
'Add a comment log when moving the task between columns' => 'Kommentar hinzufügen, wenn Aufgabe in andere Spalte verschoben wird',
'Move the task to another column when the category is changed' => 'Aufgabe in andere Spalte verschieben, wenn Kategorie geändert wird',

View File

@ -437,12 +437,6 @@ return array(
'%s changed the assignee of the task %s to %s' => '%s cambió el concesionario de la tarea %s por %s',
'New password for the user "%s"' => 'Nueva contraseña para el usuario "%s"',
'Choose an event' => 'Seleccione un evento',
'Github commit received' => 'Envío a Github recibido',
'Github issue opened' => 'Abierto asunto en Github',
'Github issue closed' => 'Cerrado asunto en Github',
'Github issue reopened' => 'Reabierto asunto en Github',
'Github issue assignee change' => 'Cambio en concesionario de asunto de Github',
'Github issue label change' => 'Cambio en etiqueta de asunto de Github',
'Create a task from an external provider' => 'Crear una tarea a partir de un proveedor externo',
'Change the assignee based on an external username' => 'Cambiar el concesionario basado en un nombre de usuario externo',
'Change the category based on an external label' => 'Cambiar la categoría basado en una etiqueta externa',
@ -487,10 +481,7 @@ return array(
'Everybody have access to this project.' => 'Cualquiera tiene acceso a este proyecto',
'Webhooks' => 'Disparadores Web (Webhooks)',
'API' => 'API',
'Github webhooks' => 'Disparadores Web (Webhooks) de Github',
'Help on Github webhooks' => 'Ayuda con los Disparadores Web (Webhook) de Github',
'Create a comment from an external provider' => 'Crear un comentario a partir de un proveedor externo',
'Github issue comment created' => 'Creado el comentario del problema en Github',
'Project management' => 'Administración del proyecto',
'My projects' => 'Mis proyectos',
'Columns' => 'Columnas',
@ -508,7 +499,6 @@ return array(
'User repartition for "%s"' => 'Repartición para "%s"',
'Clone this project' => 'Clonar este proyecto',
'Column removed successfully.' => 'Columna eliminada correctamente',
'Github Issue' => 'Problema con Github',
'Not enough data to show the graph.' => 'No hay suficiente información para mostrar el gráfico.',
'Previous' => 'Anterior',
'The id must be an integer' => 'El id debe ser un entero',
@ -763,8 +753,6 @@ return array(
'By @%s on Bitbucket' => 'Mediante @%s en Bitbucket',
'Bitbucket Issue' => 'Asunto de Bitbucket',
'Commit made by @%s on Bitbucket' => 'Envío realizado por @%s en Bitbucket',
'Commit made by @%s on Github' => 'Envío realizado por @%s en Github',
'By @%s on Github' => 'Por @%s en Github',
'Commit made by @%s on Gitlab' => 'Envío realizado por @%s en Gitlab',
'Add a comment log when moving the task between columns' => 'Añadir un comentario al mover la tarea entre columnas',
'Move the task to another column when the category is changed' => 'Mover la tarea a otra columna cuando cambia la categoría',

View File

@ -437,12 +437,6 @@ return array(
'%s changed the assignee of the task %s to %s' => '%s vaihtoi tehtävän %s saajaksi %s',
'New password for the user "%s"' => 'Uusi salasana käyttäjälle "%s"',
'Choose an event' => 'Valitse toiminta',
'Github commit received' => 'Github-kommitti vastaanotettu',
'Github issue opened' => 'Github-issue avattu',
'Github issue closed' => 'Github-issue suljettu',
'Github issue reopened' => 'Github-issue uudelleenavattu',
'Github issue assignee change' => 'Github-issuen saajan vaihto',
'Github issue label change' => 'Github-issuen labelin vaihto',
'Create a task from an external provider' => 'Luo tehtävä ulkoiselta tarjoajalta',
'Change the assignee based on an external username' => 'Vaihda tehtävän saajaa perustuen ulkoiseen käyttäjänimeen',
'Change the category based on an external label' => 'Vaihda kategoriaa perustuen ulkoiseen labeliin',
@ -487,10 +481,7 @@ return array(
'Everybody have access to this project.' => 'Kaikilla on käyttöoikeus projektiin.',
// 'Webhooks' => '',
// 'API' => '',
// 'Github webhooks' => '',
// 'Help on Github webhooks' => '',
// 'Create a comment from an external provider' => '',
// 'Github issue comment created' => '',
'Project management' => 'Projektin hallinta',
'My projects' => 'Minun projektini',
'Columns' => 'Sarakkeet',
@ -508,7 +499,6 @@ return array(
// 'User repartition for "%s"' => '',
'Clone this project' => 'Kahdenna projekti',
'Column removed successfully.' => 'Sarake poistettu onnstuneesti.',
'Github Issue' => 'Github-issue',
'Not enough data to show the graph.' => 'Ei riittävästi dataa graafin näyttämiseksi.',
'Previous' => 'Edellinen',
'The id must be an integer' => 'ID:n on oltava kokonaisluku',
@ -763,8 +753,6 @@ return array(
// 'By @%s on Bitbucket' => '',
// 'Bitbucket Issue' => '',
// 'Commit made by @%s on Bitbucket' => '',
// 'Commit made by @%s on Github' => '',
// 'By @%s on Github' => '',
// 'Commit made by @%s on Gitlab' => '',
// 'Add a comment log when moving the task between columns' => '',
// 'Move the task to another column when the category is changed' => '',

View File

@ -439,12 +439,6 @@ return array(
'%s changed the assignee of the task %s to %s' => '%s a changé la personne assignée à la tâche %s pour %s',
'New password for the user "%s"' => 'Nouveau mot de passe pour l\'utilisateur « %s »',
'Choose an event' => 'Choisir un événement',
'Github commit received' => 'Commit reçu via Github',
'Github issue opened' => 'Ouverture d\'un ticket sur Github',
'Github issue closed' => 'Fermeture d\'un ticket sur Github',
'Github issue reopened' => 'Réouverture d\'un ticket sur Github',
'Github issue assignee change' => 'Changement d\'assigné sur un ticket Github',
'Github issue label change' => 'Changement de libellé sur un ticket Github',
'Create a task from an external provider' => 'Créer une tâche depuis un fournisseur externe',
'Change the assignee based on an external username' => 'Changer l\'assigné en fonction d\'un utilisateur externe',
'Change the category based on an external label' => 'Changer la catégorie en fonction d\'un libellé externe',
@ -489,10 +483,7 @@ return array(
'Everybody have access to this project.' => 'Tout le monde a accès à ce projet.',
'Webhooks' => 'Webhooks',
'API' => 'API',
'Github webhooks' => 'Webhook Github',
'Help on Github webhooks' => 'Aide sur les webhooks Github',
'Create a comment from an external provider' => 'Créer un commentaire depuis un fournisseur externe',
'Github issue comment created' => 'Commentaire créé sur un ticket Github',
'Project management' => 'Gestion des projets',
'My projects' => 'Mes projets',
'Columns' => 'Colonnes',
@ -510,7 +501,6 @@ return array(
'User repartition for "%s"' => 'Répartition des utilisateurs pour « %s »',
'Clone this project' => 'Cloner ce projet',
'Column removed successfully.' => 'Colonne supprimée avec succès.',
'Github Issue' => 'Ticket Github',
'Not enough data to show the graph.' => 'Pas assez de données pour afficher le graphique.',
'Previous' => 'Précédent',
'The id must be an integer' => 'L\'id doit être un entier',
@ -765,8 +755,6 @@ return array(
'By @%s on Bitbucket' => 'Par @%s sur Bitbucket',
'Bitbucket Issue' => 'Ticket Bitbucket',
'Commit made by @%s on Bitbucket' => 'Commit fait par @%s sur Bitbucket',
'Commit made by @%s on Github' => 'Commit fait par @%s sur Github',
'By @%s on Github' => 'Par @%s sur Github',
'Commit made by @%s on Gitlab' => 'Commit fait par @%s sur Gitlab',
'Add a comment log when moving the task between columns' => 'Ajouter un commentaire d\'information lorsque une tâche est déplacée dans une autre colonne',
'Move the task to another column when the category is changed' => 'Déplacer une tâche vers une autre colonne lorsque la catégorie a changé',

View File

@ -437,12 +437,6 @@ return array(
'%s changed the assignee of the task %s to %s' => '%s a felelőst %s módosította: %s',
'New password for the user "%s"' => 'Felhasználó új jelszava: %s',
'Choose an event' => 'Válasszon eseményt',
'Github commit received' => 'Github commit érkezett',
'Github issue opened' => 'Github issue nyitás',
'Github issue closed' => 'Github issue zárás',
'Github issue reopened' => 'Github issue újranyitva',
'Github issue assignee change' => 'Github issue felelős változás',
'Github issue label change' => 'Github issue címke változás',
'Create a task from an external provider' => 'Feladat létrehozása külsős számára',
'Change the assignee based on an external username' => 'Felelős módosítása külső felhasználónév alapján',
'Change the category based on an external label' => 'Kategória módosítása külső címke alapján',
@ -487,10 +481,7 @@ return array(
'Everybody have access to this project.' => 'Mindenki elérheti a projektet',
'Webhooks' => 'Webhook',
'API' => 'API',
'Github webhooks' => 'Github webhooks',
'Help on Github webhooks' => 'Github Webhook súgó',
'Create a comment from an external provider' => 'Megjegyzés létrehozása külső felhasználótól',
'Github issue comment created' => 'Github issue megjegyzés létrehozva',
'Project management' => 'Projekt menedzsment',
'My projects' => 'Projektjeim',
'Columns' => 'Oszlopok',
@ -508,7 +499,6 @@ return array(
'User repartition for "%s"' => 'Felhasználó újrafelosztás: %s',
'Clone this project' => 'Projekt másolása',
'Column removed successfully.' => 'Oszlop sikeresen törölve.',
'Github Issue' => 'Github issue',
'Not enough data to show the graph.' => 'Nincs elég adat a grafikonhoz.',
'Previous' => 'Előző',
'The id must be an integer' => 'Az ID csak egész szám lehet',
@ -763,8 +753,6 @@ return array(
// 'By @%s on Bitbucket' => '',
// 'Bitbucket Issue' => '',
// 'Commit made by @%s on Bitbucket' => '',
// 'Commit made by @%s on Github' => '',
// 'By @%s on Github' => '',
// 'Commit made by @%s on Gitlab' => '',
// 'Add a comment log when moving the task between columns' => '',
// 'Move the task to another column when the category is changed' => '',

View File

@ -437,12 +437,6 @@ return array(
'%s changed the assignee of the task %s to %s' => '%s mengubah orang yang ditugaskan dari tugas %s ke %s',
'New password for the user "%s"' => 'Kata sandi baru untuk pengguna « %s »',
'Choose an event' => 'Pilih acara',
'Github commit received' => 'Menerima komit dari Github',
'Github issue opened' => 'Tiket Github dibuka',
'Github issue closed' => 'Tiket Github ditutup',
'Github issue reopened' => 'Tiket Github dibuka kembali',
'Github issue assignee change' => 'Rubah penugasan tiket Github',
'Github issue label change' => 'Perubahan label pada tiket Github',
'Create a task from an external provider' => 'Buat tugas dari pemasok eksternal',
'Change the assignee based on an external username' => 'Rubah penugasan berdasarkan nama pengguna eksternal',
'Change the category based on an external label' => 'Rubah kategori berdasarkan label eksternal',
@ -487,10 +481,7 @@ return array(
'Everybody have access to this project.' => 'Semua orang mendapat akses untuk proyek ini.',
'Webhooks' => 'Webhooks',
'API' => 'API',
'Github webhooks' => 'Webhook Github',
'Help on Github webhooks' => 'Bantuan pada webhook Github',
'Create a comment from an external provider' => 'Buat komentar dari pemasok eksternal',
'Github issue comment created' => 'Komentar dibuat pada tiket Github',
'Project management' => 'Manajemen proyek',
'My projects' => 'Proyek saya',
'Columns' => 'Kolom',
@ -508,7 +499,6 @@ return array(
'User repartition for "%s"' => 'Partisi ulang pengguna untuk « %s »',
'Clone this project' => 'Gandakan proyek ini',
'Column removed successfully.' => 'Kolom berhasil dihapus.',
'Github Issue' => 'Tiket Github',
'Not enough data to show the graph.' => 'Tidak cukup data untuk menampilkan grafik.',
'Previous' => 'Sebelumnya',
'The id must be an integer' => 'Id harus integer',
@ -763,8 +753,6 @@ return array(
'By @%s on Bitbucket' => 'Oleh @%s pada Bitbucket',
'Bitbucket Issue' => 'Tiket Bitbucket',
'Commit made by @%s on Bitbucket' => 'Komit dibuat oleh @%s pada Bitbucket',
'Commit made by @%s on Github' => 'Komit dibuat oleh @%s pada Github',
'By @%s on Github' => 'Oleh @%s pada Github',
'Commit made by @%s on Gitlab' => 'Komit dibuat oleh @%s pada Gitlab',
'Add a comment log when moving the task between columns' => 'Menambahkan log komentar ketika memindahkan tugas antara kolom',
'Move the task to another column when the category is changed' => 'Pindahkan tugas ke kolom lain ketika kategori berubah',

View File

@ -437,12 +437,6 @@ return array(
'%s changed the assignee of the task %s to %s' => '%s ha cambiato l\'assegnatario del compito %s a %s',
'New password for the user "%s"' => 'Nuova password per l\'utente "%s"',
'Choose an event' => 'Scegli un evento',
'Github commit received' => 'Commit di Github ricevuto',
'Github issue opened' => 'Issue di Github ricevuto',
'Github issue closed' => 'Issue di Github chiusa',
'Github issue reopened' => 'Issue di Github riaperta',
'Github issue assignee change' => 'Assegnatario dell\'issue di Github cambiato',
'Github issue label change' => 'Etichetta dell\'issue di Github cambiata',
'Create a task from an external provider' => 'Crea un compito da un provider esterno',
'Change the assignee based on an external username' => 'Cambia l\'assegnatario basandosi su un username esterno',
'Change the category based on an external label' => 'Cambia la categoria basandosi su un\'etichetta esterna',
@ -487,10 +481,7 @@ return array(
'Everybody have access to this project.' => 'Tutti hanno accesso a questo progetto',
// 'Webhooks' => '',
// 'API' => '',
'Github webhooks' => 'Webhooks di Github',
'Help on Github webhooks' => 'Guida ai Webhooks di Github',
'Create a comment from an external provider' => 'Crea un commit da un provider esterno',
'Github issue comment created' => 'Commento ad un Issue di Github creato',
'Project management' => 'Gestione del progetto',
'My projects' => 'I miei progetti',
'Columns' => 'Colonne',
@ -508,7 +499,6 @@ return array(
'User repartition for "%s"' => 'Ripartizione utente per "%s"',
'Clone this project' => 'Clona questo progetto',
'Column removed successfully.' => 'Colonna rimossa con successo',
'Github Issue' => 'Issue di Github',
'Not enough data to show the graph.' => 'Non ci sono abbastanza dati per visualizzare il grafico.',
'Previous' => 'Precendete',
'The id must be an integer' => 'L\'id deve essere un intero',
@ -763,8 +753,6 @@ return array(
// 'By @%s on Bitbucket' => '',
// 'Bitbucket Issue' => '',
// 'Commit made by @%s on Bitbucket' => '',
// 'Commit made by @%s on Github' => '',
// 'By @%s on Github' => '',
// 'Commit made by @%s on Gitlab' => '',
// 'Add a comment log when moving the task between columns' => '',
// 'Move the task to another column when the category is changed' => '',

View File

@ -437,12 +437,6 @@ return array(
'%s changed the assignee of the task %s to %s' => '%s がタスク %s の担当を %s に変更しました',
'New password for the user "%s"' => 'ユーザ「%s」の新しいパスワード',
'Choose an event' => 'イベントの選択',
'Github commit received' => 'Github のコミットを受け取った',
'Github issue opened' => 'Github Issue がオープンされた',
'Github issue closed' => 'Github Issue がクローズされた',
'Github issue reopened' => 'Github Issue が再オープンされた',
'Github issue assignee change' => 'Github Issue の担当が変更された',
'Github issue label change' => 'Github のラベルが変更された',
'Create a task from an external provider' => 'タスクを外部サービスから作成する',
'Change the assignee based on an external username' => '担当者を外部サービスに基いて変更する',
'Change the category based on an external label' => 'カテゴリを外部サービスに基いて変更する',
@ -487,10 +481,7 @@ return array(
'Everybody have access to this project.' => '誰でもこのプロジェクトにアクセスできます。',
'Webhooks' => 'Webhook',
'API' => 'API',
'Github webhooks' => 'Github Webhook',
'Help on Github webhooks' => 'Github webhook のヘルプ',
'Create a comment from an external provider' => '外部サービスからコメントを作成する',
'Github issue comment created' => 'Github Issue コメントが作られました',
'Project management' => 'プロジェクト・マネジメント',
'My projects' => '自分のプロジェクト',
'Columns' => 'カラム',
@ -508,7 +499,6 @@ return array(
'User repartition for "%s"' => '「%s」の担当者分布',
'Clone this project' => 'このプロジェクトを複製する',
'Column removed successfully.' => 'カラムを削除しました',
'Github Issue' => 'Github Issue',
'Not enough data to show the graph.' => 'グラフを描画するには出たが足りません',
'Previous' => '戻る',
'The id must be an integer' => 'id は数字でなければなりません',
@ -763,8 +753,6 @@ return array(
// 'By @%s on Bitbucket' => '',
// 'Bitbucket Issue' => '',
// 'Commit made by @%s on Bitbucket' => '',
// 'Commit made by @%s on Github' => '',
// 'By @%s on Github' => '',
// 'Commit made by @%s on Gitlab' => '',
// 'Add a comment log when moving the task between columns' => '',
// 'Move the task to another column when the category is changed' => '',

View File

@ -437,12 +437,6 @@ return array(
'%s changed the assignee of the task %s to %s' => '%s endret ansvarlig for oppgaven %s til %s',
'New password for the user "%s"' => 'Nytt passord for brukeren "%s"',
'Choose an event' => 'Velg en hendelse',
'Github commit received' => 'Github forpliktelse mottatt',
'Github issue opened' => 'Github problem åpnet',
'Github issue closed' => 'Github problem lukket',
'Github issue reopened' => 'Github problem gjenåpnet',
'Github issue assignee change' => 'Endre ansvarlig for Github problem',
'Github issue label change' => 'Endre etikett for Github problem',
'Create a task from an external provider' => 'Oppret en oppgave fra en ekstern tilbyder',
'Change the assignee based on an external username' => 'Endre ansvarlige baseret på et eksternt brukernavn',
'Change the category based on an external label' => 'Endre kategorien basert på en ekstern etikett',
@ -487,10 +481,7 @@ return array(
'Everybody have access to this project.' => 'Alle har tilgang til dette prosjektet',
// 'Webhooks' => '',
// 'API' => '',
// 'Github webhooks' => '',
// 'Help on Github webhooks' => '',
'Create a comment from an external provider' => 'Opprett en kommentar fra en ekstern tilbyder',
// 'Github issue comment created' => '',
'Project management' => 'Prosjektinnstillinger',
'My projects' => 'Mine prosjekter',
'Columns' => 'Kolonner',
@ -508,7 +499,6 @@ return array(
// 'User repartition for "%s"' => '',
'Clone this project' => 'Kopier dette prosjektet',
'Column removed successfully.' => 'Kolonne flyttet',
// 'Github Issue' => '',
// 'Not enough data to show the graph.' => '',
'Previous' => 'Forrige',
// 'The id must be an integer' => '',
@ -763,8 +753,6 @@ return array(
// 'By @%s on Bitbucket' => '',
// 'Bitbucket Issue' => '',
// 'Commit made by @%s on Bitbucket' => '',
// 'Commit made by @%s on Github' => '',
// 'By @%s on Github' => '',
// 'Commit made by @%s on Gitlab' => '',
'Add a comment log when moving the task between columns' => 'Legg til en kommentar i loggen når en oppgave flyttes mellom kolonnene',
'Move the task to another column when the category is changed' => 'Flytt oppgaven til en annen kolonne når kategorien endres',

View File

@ -437,12 +437,6 @@ return array(
'%s changed the assignee of the task %s to %s' => '%s heeft de toegewezene voor taak %s veranderd in %s',
'New password for the user "%s"' => 'Nieuw wachtwoord voor gebruiker « %s »',
'Choose an event' => 'Kies een gebeurtenis',
'Github commit received' => 'Github commentaar ontvangen',
'Github issue opened' => 'Github issue geopend',
'Github issue closed' => 'Github issue gesloten',
'Github issue reopened' => 'Github issue heropend',
'Github issue assignee change' => 'Github toegewezen veranderd',
'Github issue label change' => 'Github issue label verander',
'Create a task from an external provider' => 'Maak een taak aan vanuit een externe provider',
'Change the assignee based on an external username' => 'Verander de toegewezene aan de hand van de externe gebruikersnaam',
'Change the category based on an external label' => 'Verander de categorie aan de hand van een extern label',
@ -487,10 +481,7 @@ return array(
'Everybody have access to this project.' => 'Iedereen heeft toegang tot dit project.',
'Webhooks' => 'Webhooks',
'API' => 'API',
'Github webhooks' => 'Github webhooks',
'Help on Github webhooks' => 'Hulp bij Github webhooks',
'Create a comment from an external provider' => 'Voeg een commentaar toe van een externe provider',
'Github issue comment created' => 'Github issue commentaar aangemaakt',
'Project management' => 'Project management',
'My projects' => 'Mijn projecten',
'Columns' => 'Kolommen',
@ -508,7 +499,6 @@ return array(
'User repartition for "%s"' => 'Gebruikerverdeling voor « %s »',
'Clone this project' => 'Kloon dit project',
'Column removed successfully.' => 'Kolom succesvol verwijderd.',
'Github Issue' => 'Github issue',
'Not enough data to show the graph.' => 'Niet genoeg data om de grafiek te laten zien.',
// 'Previous' => '',
'The id must be an integer' => 'Het id moet een integer zijn',
@ -763,8 +753,6 @@ return array(
// 'By @%s on Bitbucket' => '',
// 'Bitbucket Issue' => '',
// 'Commit made by @%s on Bitbucket' => '',
// 'Commit made by @%s on Github' => '',
// 'By @%s on Github' => '',
// 'Commit made by @%s on Gitlab' => '',
// 'Add a comment log when moving the task between columns' => '',
// 'Move the task to another column when the category is changed' => '',

View File

@ -437,12 +437,6 @@ return array(
'%s changed the assignee of the task %s to %s' => '%s zmienił osobę odpowiedzialną za zadanie %s na %s',
'New password for the user "%s"' => 'Nowe hasło użytkownika "%s"',
'Choose an event' => 'Wybierz zdarzenie',
// 'Github commit received' => '',
// 'Github issue opened' => '',
// 'Github issue closed' => '',
// 'Github issue reopened' => '',
// 'Github issue assignee change' => '',
// 'Github issue label change' => '',
'Create a task from an external provider' => 'Utwórz zadanie z dostawcy zewnętrznego',
'Change the assignee based on an external username' => 'Zmień osobę odpowiedzialną na podstawie zewnętrznej nazwy użytkownika',
'Change the category based on an external label' => 'Zmień kategorię na podstawie zewnętrznej etykiety',
@ -487,10 +481,7 @@ return array(
'Everybody have access to this project.' => 'Wszyscy mają dostęp do tego projektu.',
// 'Webhooks' => '',
// 'API' => '',
// 'Github webhooks' => '',
// 'Help on Github webhooks' => '',
'Create a comment from an external provider' => 'Utwórz komentarz od zewnętrznego dostawcy',
// 'Github issue comment created' => '',
'Project management' => 'Menadżer projektu',
'My projects' => 'Moje projekty',
'Columns' => 'Kolumny',
@ -508,7 +499,6 @@ return array(
'User repartition for "%s"' => 'Przydział użytkownika dla "%s"',
'Clone this project' => 'Sklonuj ten projekt',
'Column removed successfully.' => 'Kolumna usunięta pomyślnie.',
// 'Github Issue' => '',
'Not enough data to show the graph.' => 'Za mało danych do utworzenia wykresu.',
'Previous' => 'Poprzedni',
'The id must be an integer' => 'ID musi być liczbą całkowitą',
@ -763,8 +753,6 @@ return array(
// 'By @%s on Bitbucket' => '',
// 'Bitbucket Issue' => '',
// 'Commit made by @%s on Bitbucket' => '',
// 'Commit made by @%s on Github' => '',
// 'By @%s on Github' => '',
// 'Commit made by @%s on Gitlab' => '',
// 'Add a comment log when moving the task between columns' => '',
// 'Move the task to another column when the category is changed' => '',

View File

@ -437,12 +437,6 @@ return array(
'%s changed the assignee of the task %s to %s' => '%s mudou a designação da tarefa %s para %s',
'New password for the user "%s"' => 'Nova senha para o usuário "%s"',
'Choose an event' => 'Escolher um evento',
'Github commit received' => 'Github commit received',
'Github issue opened' => 'Github issue opened',
'Github issue closed' => 'Github issue closed',
'Github issue reopened' => 'Github issue reopened',
'Github issue assignee change' => 'Github issue assignee change',
'Github issue label change' => 'Github issue label change',
'Create a task from an external provider' => 'Criar uma tarefa por meio de um serviço externo',
'Change the assignee based on an external username' => 'Alterar designação com base em um usuário externo',
'Change the category based on an external label' => 'Alterar categoria com base em um rótulo externo',
@ -487,10 +481,7 @@ return array(
'Everybody have access to this project.' => 'Todos possuem acesso a este projeto.',
'Webhooks' => 'Webhooks',
'API' => 'API',
'Github webhooks' => 'Github webhooks',
'Help on Github webhooks' => 'Ajuda sobre os webhooks do GitHub',
'Create a comment from an external provider' => 'Criar um comentário por meio de um serviço externo',
'Github issue comment created' => 'Github issue comment created',
'Project management' => 'Gerenciamento de projetos',
'My projects' => 'Meus projetos',
'Columns' => 'Colunas',
@ -508,7 +499,6 @@ return array(
'User repartition for "%s"' => 'Redistribuição de usuário para "%s"',
'Clone this project' => 'Clonar este projeto',
'Column removed successfully.' => 'Coluna removida com sucesso.',
'Github Issue' => 'Github Issue',
'Not enough data to show the graph.' => 'Não há dados suficientes para mostrar o gráfico.',
'Previous' => 'Anterior',
'The id must be an integer' => 'O ID deve ser um número inteiro',
@ -763,8 +753,6 @@ return array(
'By @%s on Bitbucket' => 'Por @%s no Bitbucket',
'Bitbucket Issue' => 'Bitbucket Issue',
'Commit made by @%s on Bitbucket' => 'Commit feito por @%s no Bitbucket',
'Commit made by @%s on Github' => 'Commit feito por @%s no Github',
'By @%s on Github' => 'Por @%s no Github',
'Commit made by @%s on Gitlab' => 'Commit feito por @%s no Gitlab',
'Add a comment log when moving the task between columns' => 'Adicionar um comentário de log quando uma tarefa é movida para uma outra coluna',
'Move the task to another column when the category is changed' => 'Mover uma tarefa para outra coluna quando a categoria mudou',

View File

@ -437,12 +437,6 @@ return array(
'%s changed the assignee of the task %s to %s' => '%s mudou a assignação da tarefa %s para %s',
'New password for the user "%s"' => 'Nova senha para o utilizador "%s"',
'Choose an event' => 'Escolher um evento',
'Github commit received' => 'Recebido commit do Github',
'Github issue opened' => 'Problema aberto no Github',
'Github issue closed' => 'Problema fechado no Github',
'Github issue reopened' => 'Problema reaberto no Github',
'Github issue assignee change' => 'Alterar assignação ao problema no Githubnge',
'Github issue label change' => 'Alterar etiqueta do problema no Github',
'Create a task from an external provider' => 'Criar uma tarefa por meio de um serviço externo',
'Change the assignee based on an external username' => 'Alterar assignação com base num utilizador externo',
'Change the category based on an external label' => 'Alterar categoria com base num rótulo externo',
@ -487,10 +481,7 @@ return array(
'Everybody have access to this project.' => 'Todos possuem acesso a este projecto.',
'Webhooks' => 'Webhooks',
'API' => 'API',
'Github webhooks' => 'Github webhooks',
'Help on Github webhooks' => 'Ajuda para o Github webhooks',
'Create a comment from an external provider' => 'Criar um comentário por meio de um serviço externo',
'Github issue comment created' => 'Criado comentário ao problema no Github',
'Project management' => 'Gestão de projectos',
'My projects' => 'Os meus projectos',
'Columns' => 'Colunas',
@ -508,7 +499,6 @@ return array(
'User repartition for "%s"' => 'Redistribuição de utilizador para "%s"',
'Clone this project' => 'Clonar este projecto',
'Column removed successfully.' => 'Coluna removida com sucesso.',
'Github Issue' => 'Problema no Github',
'Not enough data to show the graph.' => 'Não há dados suficientes para mostrar o gráfico.',
'Previous' => 'Anterior',
'The id must be an integer' => 'O ID deve ser um número inteiro',
@ -763,8 +753,6 @@ return array(
'By @%s on Bitbucket' => 'Por @%s no Bitbucket',
'Bitbucket Issue' => 'Problema Bitbucket',
'Commit made by @%s on Bitbucket' => 'Commit feito por @%s no Bitbucket',
'Commit made by @%s on Github' => 'Commit feito por @%s no Github',
'By @%s on Github' => 'Por @%s no Github',
'Commit made by @%s on Gitlab' => 'Commit feito por @%s no Gitlab',
'Add a comment log when moving the task between columns' => 'Adicionar um comentário de log quando uma tarefa é movida para uma outra coluna',
'Move the task to another column when the category is changed' => 'Mover uma tarefa para outra coluna quando a categoria mudar',

View File

@ -437,12 +437,6 @@ return array(
'%s changed the assignee of the task %s to %s' => '%s сменил назначенного для задачи %s на %s',
'New password for the user "%s"' => 'Новый пароль для пользователя "%s"',
'Choose an event' => 'Выберите событие',
'Github commit received' => 'Github: коммит получен',
'Github issue opened' => 'Github: новая проблема',
'Github issue closed' => 'Github: проблема закрыта',
'Github issue reopened' => 'Github: проблема переоткрыта',
'Github issue assignee change' => 'Github: сменить ответственного за проблему',
'Github issue label change' => 'Github: ярлык проблемы изменен',
'Create a task from an external provider' => 'Создать задачу из внешнего источника',
'Change the assignee based on an external username' => 'Изменить назначенного основываясь на внешнем имени пользователя',
'Change the category based on an external label' => 'Изменить категорию основываясь на внешнем ярлыке',
@ -487,10 +481,7 @@ return array(
'Everybody have access to this project.' => 'Любой может получить доступ к этому проекту.',
'Webhooks' => 'Webhooks',
'API' => 'API',
'Github webhooks' => 'Github webhooks',
'Help on Github webhooks' => 'Помощь по Github webhooks',
'Create a comment from an external provider' => 'Создать комментарий из внешнего источника',
'Github issue comment created' => 'Github issue комментарий создан',
'Project management' => 'Управление проектом',
'My projects' => 'Мои проекты',
'Columns' => 'Колонки',
@ -508,7 +499,6 @@ return array(
'User repartition for "%s"' => 'Перераспределение пользователей для "%s"',
'Clone this project' => 'Клонировать проект',
'Column removed successfully.' => 'Колонка успешно удалена.',
'Github Issue' => 'Вопрос на Github',
'Not enough data to show the graph.' => 'Недостаточно данных, чтобы показать график.',
'Previous' => 'Предыдущий',
'The id must be an integer' => 'Этот id должен быть целочисленным',
@ -763,8 +753,6 @@ return array(
'By @%s on Bitbucket' => 'Польз. @%s на Bitbucket',
'Bitbucket Issue' => 'Задача Bitbucket',
'Commit made by @%s on Bitbucket' => 'Коммит сделан польз. @%s на Bitbucket',
'Commit made by @%s on Github' => 'Коммит сделан польз. @%s на Github',
'By @%s on Github' => 'Польз. @%s на Github',
'Commit made by @%s on Gitlab' => 'Коммит сделан польз. @%s в Gitlab',
'Add a comment log when moving the task between columns' => 'Добавлять запись при перемещении задачи между колонками',
'Move the task to another column when the category is changed' => 'Переносить задачи в другую колонку при изменении категории',

View File

@ -437,12 +437,6 @@ return array(
'%s changed the assignee of the task %s to %s' => '%s zamena dodele za zadatak %s na %s',
'New password for the user "%s"' => 'Nova lozinka za korisnika "%s"',
'Choose an event' => 'Izaberi događaj',
// 'Github commit received' => '',
// 'Github issue opened' => '',
// 'Github issue closed' => '',
// 'Github issue reopened' => '',
// 'Github issue assignee change' => '',
// 'Github issue label change' => '',
'Create a task from an external provider' => 'Kreiraj zadatak preko posrednika',
'Change the assignee based on an external username' => 'Zmień osobę odpowiedzialną na podstawie zewnętrznej nazwy użytkownika',
'Change the category based on an external label' => 'Zmień kategorię na podstawie zewnętrzenj etykiety',
@ -487,10 +481,7 @@ return array(
'Everybody have access to this project.' => 'Svima je dozvoljen pristup.',
// 'Webhooks' => '',
// 'API' => '',
// 'Github webhooks' => '',
// 'Help on Github webhooks' => '',
// 'Create a comment from an external provider' => '',
// 'Github issue comment created' => '',
'Project management' => 'Uređivanje projekata',
'My projects' => 'Moji projekti',
'Columns' => 'Kolone',
@ -508,7 +499,6 @@ return array(
'User repartition for "%s"' => 'Zaduženja korisnika za "%s"',
'Clone this project' => 'Kopiraj projekat',
'Column removed successfully.' => 'Kolumna usunięta pomyslnie.',
// 'Github Issue' => '',
'Not enough data to show the graph.' => 'Nedovoljno podataka za grafikon.',
'Previous' => 'Prethodni',
'The id must be an integer' => 'ID musi być liczbą całkowitą',
@ -763,8 +753,6 @@ return array(
// 'By @%s on Bitbucket' => '',
// 'Bitbucket Issue' => '',
// 'Commit made by @%s on Bitbucket' => '',
// 'Commit made by @%s on Github' => '',
// 'By @%s on Github' => '',
// 'Commit made by @%s on Gitlab' => '',
// 'Add a comment log when moving the task between columns' => '',
// 'Move the task to another column when the category is changed' => '',

View File

@ -437,12 +437,6 @@ return array(
'%s changed the assignee of the task %s to %s' => '%s byt tilldelning av uppgiften %s till %s',
'New password for the user "%s"' => 'Nytt lösenord för användaren "%s"',
'Choose an event' => 'Välj en händelse',
'Github commit received' => 'Github-bidrag mottaget',
'Github issue opened' => 'Github-fråga öppnad',
'Github issue closed' => 'Github-fråga stängd',
'Github issue reopened' => 'Github-fråga öppnad på nytt',
'Github issue assignee change' => 'Github-fråga ny tilldelning',
'Github issue label change' => 'Github-fråga etikettförändring',
'Create a task from an external provider' => 'Skapa en uppgift från en extern leverantör',
'Change the assignee based on an external username' => 'Ändra tilldelning baserat på ett externt användarnamn',
'Change the category based on an external label' => 'Ändra kategori baserat på en extern etikett',
@ -487,10 +481,7 @@ return array(
'Everybody have access to this project.' => 'Alla har tillgång till projektet',
'Webhooks' => 'Webhooks',
'API' => 'API',
'Github webhooks' => 'Github webhooks',
'Help on Github webhooks' => 'Hjälp för Github webhooks',
'Create a comment from an external provider' => 'Skapa en kommentar från en extern leverantör',
'Github issue comment created' => 'Github frågekommentar skapad',
'Project management' => 'Projekthantering',
'My projects' => 'Mina projekt',
'Columns' => 'Kolumner',
@ -508,7 +499,6 @@ return array(
'User repartition for "%s"' => 'Användardeltagande för "%s"',
'Clone this project' => 'Klona projektet',
'Column removed successfully.' => 'Kolumnen togs bort',
'Github Issue' => 'Github fråga',
'Not enough data to show the graph.' => 'Inte tillräckligt med data för att visa graf',
'Previous' => 'Föregående',
'The id must be an integer' => 'ID måste vara ett heltal',
@ -763,8 +753,6 @@ return array(
'By @%s on Bitbucket' => 'Av @%s på Bitbucket',
'Bitbucket Issue' => 'Bitbucket fråga',
'Commit made by @%s on Bitbucket' => 'Bidrag gjort av @%s på Bitbucket',
'Commit made by @%s on Github' => 'Bidrag gjort av @%s på Github',
'By @%s on Github' => 'Av @%s på Github',
'Commit made by @%s on Gitlab' => 'Bidrag gjort av @%s på Gitlab',
'Add a comment log when moving the task between columns' => 'Lägg till en kommentarslogg när en uppgift flyttas mellan kolumner',
'Move the task to another column when the category is changed' => 'Flyttas uppgiften till en annan kolumn när kategorin ändras',

View File

@ -437,12 +437,6 @@ return array(
// '%s changed the assignee of the task %s to %s' => '',
'New password for the user "%s"' => 'รหัสผ่านใหม่สำหรับผู้ใช้ "%s"',
'Choose an event' => 'เลือกเหตุการณ์',
// 'Github commit received' => '',
// 'Github issue opened' => '',
// 'Github issue closed' => '',
// 'Github issue reopened' => '',
// 'Github issue assignee change' => '',
// 'Github issue label change' => '',
// 'Create a task from an external provider' => '',
// 'Change the assignee based on an external username' => '',
// 'Change the category based on an external label' => '',
@ -487,10 +481,7 @@ return array(
'Everybody have access to this project.' => 'ทุกคนสามารถเข้าถึงโปรเจคนี้',
// 'Webhooks' => '',
// 'API' => '',
// 'Github webhooks' => '',
// 'Help on Github webhooks' => '',
// 'Create a comment from an external provider' => '',
// 'Github issue comment created' => '',
'Project management' => 'การจัดการโปรเจค',
'My projects' => 'โปรเจคของฉัน',
'Columns' => 'คอลัมน์',
@ -508,7 +499,6 @@ return array(
'User repartition for "%s"' => 'การแบ่งงานของผู้ใช้ "%s"',
'Clone this project' => 'เลียนแบบโปรเจคนี้',
'Column removed successfully.' => 'ลบคอลัมน์สำเร็จ',
// 'Github Issue' => '',
'Not enough data to show the graph.' => 'ไม่มีข้อมูลแสดงเป็นกราฟ',
'Previous' => 'ก่อนหน้า',
'The id must be an integer' => 'ไอดีต้องเป็นตัวเลขจำนวนเต็ม',
@ -763,8 +753,6 @@ return array(
// 'By @%s on Bitbucket' => '',
// 'Bitbucket Issue' => '',
// 'Commit made by @%s on Bitbucket' => '',
// 'Commit made by @%s on Github' => '',
// 'By @%s on Github' => '',
// 'Commit made by @%s on Gitlab' => '',
// 'Add a comment log when moving the task between columns' => '',
// 'Move the task to another column when the category is changed' => '',

View File

@ -437,12 +437,6 @@ return array(
'%s changed the assignee of the task %s to %s' => '%s kullanıcısı %s görevinin sorumlusunu %s olarak değiştirdi',
'New password for the user "%s"' => '"%s" kullanıcısı için yeni şifre',
'Choose an event' => 'Bir durum seçin',
// 'Github commit received' => '',
// 'Github issue opened' => '',
// 'Github issue closed' => '',
// 'Github issue reopened' => '',
// 'Github issue assignee change' => '',
// 'Github issue label change' => '',
'Create a task from an external provider' => 'Dış sağlayıcı ile bir görev oluştur',
'Change the assignee based on an external username' => 'Dış kaynaklı kullanıcı adı ile göreve atananı değiştir',
'Change the category based on an external label' => 'Dış kaynaklı bir etiket ile kategori değiştir',
@ -487,10 +481,7 @@ return array(
'Everybody have access to this project.' => 'Bu projeye herkesin erişimi var.',
'Webhooks' => 'Webhooks',
'API' => 'API',
'Github webhooks' => 'Github Webhook',
'Help on Github webhooks' => 'Github Webhooks hakkında yardım',
'Create a comment from an external provider' => 'Dış sağlayıcı ile bir yorum oluştur',
'Github issue comment created' => 'Github hata yorumu oluşturuldu',
'Project management' => 'Proje yönetimi',
'My projects' => 'Projelerim',
'Columns' => 'Sütunlar',
@ -508,7 +499,6 @@ return array(
'User repartition for "%s"' => '"%s" için kullanıcı dağılımı',
'Clone this project' => 'Projenin kopyasını oluştur',
'Column removed successfully.' => 'Sütun başarıyla kaldırıldı.',
'Github Issue' => 'Github Issue',
'Not enough data to show the graph.' => 'Grafik gösterimi için yeterli veri yok.',
'Previous' => 'Önceki',
'The id must be an integer' => 'ID bir tamsayı olmalı',
@ -763,8 +753,6 @@ return array(
// 'By @%s on Bitbucket' => '',
// 'Bitbucket Issue' => '',
// 'Commit made by @%s on Bitbucket' => '',
// 'Commit made by @%s on Github' => '',
// 'By @%s on Github' => '',
// 'Commit made by @%s on Gitlab' => '',
// 'Add a comment log when moving the task between columns' => '',
// 'Move the task to another column when the category is changed' => '',

View File

@ -437,12 +437,6 @@ return array(
'%s changed the assignee of the task %s to %s' => '%s 将任务 %s 分配给 %s',
'New password for the user "%s"' => '用户"%s"的新密码',
'Choose an event' => '选择一个事件',
'Github commit received' => '收到了Github提交',
'Github issue opened' => '开启了Github问题报告',
'Github issue closed' => '关闭了Github问题报告',
'Github issue reopened' => '重新开启Github问题',
'Github issue assignee change' => 'Github问题负责人已经变更',
'Github issue label change' => 'Github任务标签修改',
'Create a task from an external provider' => '从外部创建任务',
'Change the assignee based on an external username' => '根据外部用户名修改任务分配',
'Change the category based on an external label' => '根据外部标签修改分类',
@ -487,10 +481,7 @@ return array(
'Everybody have access to this project.' => '所有人都可以访问此项目',
'Webhooks' => '网络钩子',
'API' => '应用程序接口',
'Github webhooks' => 'Github 网络钩子',
'Help on Github webhooks' => 'Github 网络钩子帮助',
'Create a comment from an external provider' => '从外部创建一个评论',
'Github issue comment created' => '已经创建了Github问题评论',
'Project management' => '项目管理',
'My projects' => '我的项目',
'Columns' => '栏目',
@ -508,7 +499,6 @@ return array(
'User repartition for "%s"' => '"%s"的用户分析',
'Clone this project' => '复制此项目',
'Column removed successfully.' => '成功删除了栏目。',
'Github Issue' => 'Github 任务报告',
'Not enough data to show the graph.' => '数据不足,无法绘图。',
'Previous' => '后退',
'The id must be an integer' => '编号必须为整数',
@ -763,8 +753,6 @@ return array(
// 'By @%s on Bitbucket' => '',
// 'Bitbucket Issue' => '',
// 'Commit made by @%s on Bitbucket' => '',
// 'Commit made by @%s on Github' => '',
// 'By @%s on Github' => '',
// 'Commit made by @%s on Gitlab' => '',
// 'Add a comment log when moving the task between columns' => '',
// 'Move the task to another column when the category is changed' => '',

View File

@ -117,7 +117,6 @@ class ClassProvider implements ServiceProviderInterface
),
'Integration' => array(
'BitbucketWebhook',
'GithubWebhook',
'GitlabWebhook',
)
);

View File

@ -5,13 +5,7 @@
<form method="post" action="<?= $this->url->href('project', 'integrations', array('project_id' => $project['id'])) ?>" autocomplete="off">
<?= $this->form->csrf() ?>
<?= $this->hook->render('template:project:integrations', array('values' => $values)) ?>
<h3><i class="fa fa-github fa-fw"></i>&nbsp;<?= t('Github webhooks') ?></h3>
<div class="listing">
<input type="text" class="auto-select" readonly="readonly" value="<?= $this->url->href('webhook', 'github', array('token' => $webhook_token, 'project_id' => $project['id']), false, '', true) ?>"/><br/>
<p class="form-help"><?= $this->url->doc(t('Help on Github webhooks'), 'github-webhooks') ?></p>
</div>
<?= $this->hook->render('template:project:integrations', array('project' => $project, 'values' => $values, 'webhook_token' => $webhook_token)) ?>
<h3><img src="<?= $this->url->dir() ?>assets/img/gitlab-icon.png"/>&nbsp;<?= t('Gitlab webhooks') ?></h3>
<div class="listing">

View File

@ -69,7 +69,6 @@ Using Kanboard
### Integrations
- [Bitbucket webhooks](bitbucket-webhooks.markdown)
- [Github webhooks](github-webhooks.markdown)
- [Gitlab webhooks](gitlab-webhooks.markdown)
- [iCalendar subscriptions](ical.markdown)
- [RSS/Atom subscriptions](rss.markdown)
@ -118,7 +117,7 @@ Technical details
### Authentication
- [LDAP authentication](ldap-authentication.markdown)
- [LDAP group sync](ldap-group-sync.markdown)
- [LDAP group synchronization](ldap-group-sync.markdown)
- [LDAP parameters](ldap-parameters.markdown)
- [Google authentication](google-authentication.markdown)
- [Github authentication](github-authentication.markdown)

View File

@ -1,460 +0,0 @@
<?php
require_once __DIR__.'/../Base.php';
use Kanboard\Integration\GithubWebhook;
use Kanboard\Model\TaskCreation;
use Kanboard\Model\TaskFinder;
use Kanboard\Model\Project;
use Kanboard\Model\ProjectUserRole;
use Kanboard\Model\User;
use Kanboard\Core\Security\Role;
class GithubWebhookTest extends Base
{
public function testIssueOpened()
{
$this->container['dispatcher']->addListener(GithubWebhook::EVENT_ISSUE_OPENED, array($this, 'onIssueOpened'));
$p = new Project($this->container);
$this->assertEquals(1, $p->create(array('name' => 'foobar')));
$g = new GithubWebhook($this->container);
$g->setProjectId(1);
$this->assertNotFalse($g->parsePayload(
'issues',
json_decode(file_get_contents(__DIR__.'/../fixtures/github_issue_opened.json'), true)
));
}
public function testIssueAssigned()
{
$this->container['dispatcher']->addListener(GithubWebhook::EVENT_ISSUE_ASSIGNEE_CHANGE, array($this, 'onIssueAssigned'));
$p = new Project($this->container);
$this->assertEquals(1, $p->create(array('name' => 'foobar')));
$tc = new TaskCreation($this->container);
$this->assertEquals(1, $tc->create(array('title' => 'boo', 'reference' => 3, 'project_id' => 1)));
$u = new User($this->container);
$this->assertEquals(2, $u->create(array('username' => 'fguillot')));
$pp = new ProjectUserRole($this->container);
$this->assertTrue($pp->addUser(1, 2, Role::PROJECT_MEMBER));
$g = new GithubWebhook($this->container);
$g->setProjectId(1);
$this->assertNotFalse($g->parsePayload(
'issues',
json_decode(file_get_contents(__DIR__.'/../fixtures/github_issue_assigned.json'), true)
));
}
public function testIssueAssignedWithNoExistingTask()
{
$p = new Project($this->container);
$this->assertEquals(1, $p->create(array('name' => 'foobar')));
$g = new GithubWebhook($this->container);
$g->setProjectId(1);
$payload = json_decode(file_get_contents(__DIR__.'/../fixtures/github_issue_assigned.json'), true);
$this->assertFalse($g->handleIssueAssigned($payload['issue']));
}
public function testIssueAssignedWithNoExistingUser()
{
$p = new Project($this->container);
$this->assertEquals(1, $p->create(array('name' => 'foobar')));
$tc = new TaskCreation($this->container);
$this->assertEquals(1, $tc->create(array('title' => 'boo', 'reference' => 3, 'project_id' => 1)));
$g = new GithubWebhook($this->container);
$g->setProjectId(1);
$payload = json_decode(file_get_contents(__DIR__.'/../fixtures/github_issue_assigned.json'), true);
$this->assertFalse($g->handleIssueAssigned($payload['issue']));
}
public function testIssueAssignedWithNoMember()
{
$p = new Project($this->container);
$this->assertEquals(1, $p->create(array('name' => 'foobar')));
$tc = new TaskCreation($this->container);
$this->assertEquals(1, $tc->create(array('title' => 'boo', 'reference' => 3, 'project_id' => 1)));
$u = new User($this->container);
$this->assertEquals(2, $u->create(array('username' => 'fguillot')));
$g = new GithubWebhook($this->container);
$g->setProjectId(1);
$payload = json_decode(file_get_contents(__DIR__.'/../fixtures/github_issue_assigned.json'), true);
$this->assertFalse($g->handleIssueAssigned($payload['issue']));
}
public function testIssueAssignedWithMember()
{
$p = new Project($this->container);
$this->assertEquals(1, $p->create(array('name' => 'foobar')));
$tc = new TaskCreation($this->container);
$this->assertEquals(1, $tc->create(array('title' => 'boo', 'reference' => 3, 'project_id' => 1)));
$u = new User($this->container);
$this->assertEquals(2, $u->create(array('username' => 'fguillot')));
$pp = new ProjectUserRole($this->container);
$this->assertTrue($pp->addUser(1, 2, ROLE::PROJECT_MANAGER));
$g = new GithubWebhook($this->container);
$g->setProjectId(1);
$payload = json_decode(file_get_contents(__DIR__.'/../fixtures/github_issue_assigned.json'), true);
$this->assertTrue($g->handleIssueAssigned($payload['issue']));
}
public function testIssueUnassigned()
{
$this->container['dispatcher']->addListener(GithubWebhook::EVENT_ISSUE_ASSIGNEE_CHANGE, array($this, 'onIssueUnassigned'));
$p = new Project($this->container);
$this->assertEquals(1, $p->create(array('name' => 'foobar')));
$tc = new TaskCreation($this->container);
$this->assertEquals(1, $tc->create(array('title' => 'boo', 'reference' => 3, 'project_id' => 1)));
$g = new GithubWebhook($this->container);
$g->setProjectId(1);
$this->assertNotFalse($g->parsePayload(
'issues',
json_decode(file_get_contents(__DIR__.'/../fixtures/github_issue_unassigned.json'), true)
));
}
public function testIssueClosed()
{
$this->container['dispatcher']->addListener(GithubWebhook::EVENT_ISSUE_CLOSED, array($this, 'onIssueClosed'));
$p = new Project($this->container);
$this->assertEquals(1, $p->create(array('name' => 'foobar')));
$tc = new TaskCreation($this->container);
$this->assertEquals(1, $tc->create(array('title' => 'boo', 'reference' => 3, 'project_id' => 1)));
$g = new GithubWebhook($this->container);
$g->setProjectId(1);
$this->assertNotFalse($g->parsePayload(
'issues',
json_decode(file_get_contents(__DIR__.'/../fixtures/github_issue_closed.json'), true)
));
}
public function testIssueClosedWithTaskNotFound()
{
$p = new Project($this->container);
$this->assertEquals(1, $p->create(array('name' => 'foobar')));
$g = new GithubWebhook($this->container);
$g->setProjectId(1);
$payload = json_decode(file_get_contents(__DIR__.'/../fixtures/github_issue_closed.json'), true);
$this->assertFalse($g->handleIssueClosed($payload['issue']));
}
public function testIssueReopened()
{
$this->container['dispatcher']->addListener(GithubWebhook::EVENT_ISSUE_REOPENED, array($this, 'onIssueReopened'));
$p = new Project($this->container);
$this->assertEquals(1, $p->create(array('name' => 'foobar')));
$tc = new TaskCreation($this->container);
$this->assertEquals(1, $tc->create(array('title' => 'boo', 'reference' => 3, 'project_id' => 1)));
$g = new GithubWebhook($this->container);
$g->setProjectId(1);
$this->assertNotFalse($g->parsePayload(
'issues',
json_decode(file_get_contents(__DIR__.'/../fixtures/github_issue_reopened.json'), true)
));
}
public function testIssueReopenedWithTaskNotFound()
{
$p = new Project($this->container);
$this->assertEquals(1, $p->create(array('name' => 'foobar')));
$g = new GithubWebhook($this->container);
$g->setProjectId(1);
$payload = json_decode(file_get_contents(__DIR__.'/../fixtures/github_issue_reopened.json'), true);
$this->assertFalse($g->handleIssueReopened($payload['issue']));
}
public function testIssueLabeled()
{
$this->container['dispatcher']->addListener(GithubWebhook::EVENT_ISSUE_LABEL_CHANGE, array($this, 'onIssueLabeled'));
$p = new Project($this->container);
$this->assertEquals(1, $p->create(array('name' => 'foobar')));
$tc = new TaskCreation($this->container);
$this->assertEquals(1, $tc->create(array('title' => 'boo', 'reference' => 3, 'project_id' => 1)));
$g = new GithubWebhook($this->container);
$g->setProjectId(1);
$this->assertNotFalse($g->parsePayload(
'issues',
json_decode(file_get_contents(__DIR__.'/../fixtures/github_issue_labeled.json'), true)
));
}
public function testIssueLabeledWithTaskNotFound()
{
$p = new Project($this->container);
$this->assertEquals(1, $p->create(array('name' => 'foobar')));
$g = new GithubWebhook($this->container);
$g->setProjectId(1);
$payload = json_decode(file_get_contents(__DIR__.'/../fixtures/github_issue_labeled.json'), true);
$this->assertFalse($g->handleIssueLabeled($payload['issue'], $payload['label']));
}
public function testIssueUnLabeled()
{
$this->container['dispatcher']->addListener(GithubWebhook::EVENT_ISSUE_LABEL_CHANGE, array($this, 'onIssueUnlabeled'));
$p = new Project($this->container);
$this->assertEquals(1, $p->create(array('name' => 'foobar')));
$tc = new TaskCreation($this->container);
$this->assertEquals(1, $tc->create(array('title' => 'boo', 'reference' => 3, 'project_id' => 1)));
$g = new GithubWebhook($this->container);
$g->setProjectId(1);
$this->assertNotFalse($g->parsePayload(
'issues',
json_decode(file_get_contents(__DIR__.'/../fixtures/github_issue_unlabeled.json'), true)
));
}
public function testIssueUnLabeledWithTaskNotFound()
{
$p = new Project($this->container);
$this->assertEquals(1, $p->create(array('name' => 'foobar')));
$g = new GithubWebhook($this->container);
$g->setProjectId(1);
$payload = json_decode(file_get_contents(__DIR__.'/../fixtures/github_issue_unlabeled.json'), true);
$this->assertFalse($g->handleIssueUnlabeled($payload['issue'], $payload['label']));
}
public function testCommentCreatedWithNoUser()
{
$this->container['dispatcher']->addListener(GithubWebhook::EVENT_ISSUE_COMMENT, array($this, 'onCommentCreatedWithNoUser'));
$p = new Project($this->container);
$this->assertEquals(1, $p->create(array('name' => 'foobar')));
$tc = new TaskCreation($this->container);
$this->assertEquals(1, $tc->create(array('title' => 'boo', 'reference' => 3, 'project_id' => 1)));
$g = new GithubWebhook($this->container);
$g->setProjectId(1);
$this->assertNotFalse($g->parsePayload(
'issue_comment',
json_decode(file_get_contents(__DIR__.'/../fixtures/github_comment_created.json'), true)
));
}
public function testCommentCreatedWithNotMember()
{
$this->container['dispatcher']->addListener(GithubWebhook::EVENT_ISSUE_COMMENT, array($this, 'onCommentCreatedWithNotMember'));
$p = new Project($this->container);
$this->assertEquals(1, $p->create(array('name' => 'foobar')));
$tc = new TaskCreation($this->container);
$this->assertEquals(1, $tc->create(array('title' => 'boo', 'reference' => 3, 'project_id' => 1)));
$u = new User($this->container);
$this->assertEquals(2, $u->create(array('username' => 'fguillot')));
$g = new GithubWebhook($this->container);
$g->setProjectId(1);
$this->assertNotFalse($g->parsePayload(
'issue_comment',
json_decode(file_get_contents(__DIR__.'/../fixtures/github_comment_created.json'), true)
));
}
public function testCommentCreatedWithUser()
{
$this->container['dispatcher']->addListener(GithubWebhook::EVENT_ISSUE_COMMENT, array($this, 'onCommentCreatedWithUser'));
$p = new Project($this->container);
$this->assertEquals(1, $p->create(array('name' => 'foobar')));
$tc = new TaskCreation($this->container);
$this->assertEquals(1, $tc->create(array('title' => 'boo', 'reference' => 3, 'project_id' => 1)));
$u = new User($this->container);
$this->assertEquals(2, $u->create(array('username' => 'fguillot')));
$pp = new ProjectUserRole($this->container);
$this->assertTrue($pp->addUser(1, 2, Role::PROJECT_MEMBER));
$g = new GithubWebhook($this->container);
$g->setProjectId(1);
$this->assertNotFalse($g->parsePayload(
'issue_comment',
json_decode(file_get_contents(__DIR__.'/../fixtures/github_comment_created.json'), true)
));
}
public function testPush()
{
$this->container['dispatcher']->addListener(GithubWebhook::EVENT_COMMIT, array($this, 'onPush'));
$p = new Project($this->container);
$this->assertEquals(1, $p->create(array('name' => 'foobar')));
$tc = new TaskCreation($this->container);
$this->assertEquals(1, $tc->create(array('title' => 'boo', 'project_id' => 1)));
$g = new GithubWebhook($this->container);
$g->setProjectId(1);
$this->assertNotFalse($g->parsePayload(
'push',
json_decode(file_get_contents(__DIR__.'/../fixtures/github_push.json'), true)
));
}
public function onIssueOpened($event)
{
$data = $event->getAll();
$this->assertEquals(1, $data['project_id']);
$this->assertEquals(3, $data['reference']);
$this->assertEquals('Test Webhook', $data['title']);
$this->assertEquals("plop\n\n[Github Issue](https://github.com/kanboardapp/webhook/issues/3)", $data['description']);
}
public function onIssueAssigned($event)
{
$data = $event->getAll();
$this->assertEquals(1, $data['project_id']);
$this->assertEquals(1, $data['task_id']);
$this->assertEquals(3, $data['reference']);
$this->assertEquals(2, $data['owner_id']);
}
public function onIssueUnassigned($event)
{
$data = $event->getAll();
$this->assertEquals(1, $data['project_id']);
$this->assertEquals(1, $data['task_id']);
$this->assertEquals(3, $data['reference']);
$this->assertEquals(0, $data['owner_id']);
}
public function onIssueClosed($event)
{
$data = $event->getAll();
$this->assertEquals(1, $data['project_id']);
$this->assertEquals(1, $data['task_id']);
$this->assertEquals(3, $data['reference']);
}
public function onIssueReopened($event)
{
$data = $event->getAll();
$this->assertEquals(1, $data['project_id']);
$this->assertEquals(1, $data['task_id']);
$this->assertEquals(3, $data['reference']);
}
public function onIssueLabeled($event)
{
$data = $event->getAll();
$this->assertEquals(1, $data['project_id']);
$this->assertEquals(1, $data['task_id']);
$this->assertEquals(3, $data['reference']);
$this->assertEquals('bug', $data['label']);
}
public function onIssueUnlabeled($event)
{
$data = $event->getAll();
$this->assertEquals(1, $data['project_id']);
$this->assertEquals(1, $data['task_id']);
$this->assertEquals(3, $data['reference']);
$this->assertEquals('bug', $data['label']);
$this->assertEquals(0, $data['category_id']);
}
public function onCommentCreatedWithNoUser($event)
{
$data = $event->getAll();
$this->assertEquals(1, $data['project_id']);
$this->assertEquals(1, $data['task_id']);
$this->assertEquals(0, $data['user_id']);
$this->assertEquals(113834672, $data['reference']);
$this->assertEquals("test\n\n[By @fguillot on Github](https://github.com/kanboardapp/webhook/issues/3#issuecomment-113834672)", $data['comment']);
}
public function onCommentCreatedWithNotMember($event)
{
$data = $event->getAll();
$this->assertEquals(1, $data['project_id']);
$this->assertEquals(1, $data['task_id']);
$this->assertEquals(0, $data['user_id']);
$this->assertEquals(113834672, $data['reference']);
$this->assertEquals("test\n\n[By @fguillot on Github](https://github.com/kanboardapp/webhook/issues/3#issuecomment-113834672)", $data['comment']);
}
public function onCommentCreatedWithUser($event)
{
$data = $event->getAll();
$this->assertEquals(1, $data['project_id']);
$this->assertEquals(1, $data['task_id']);
$this->assertEquals(2, $data['user_id']);
$this->assertEquals(113834672, $data['reference']);
$this->assertEquals("test\n\n[By @fguillot on Github](https://github.com/kanboardapp/webhook/issues/3#issuecomment-113834672)", $data['comment']);
}
public function onPush($event)
{
$data = $event->getAll();
$this->assertEquals(1, $data['project_id']);
$this->assertEquals(1, $data['task_id']);
$this->assertEquals('boo', $data['title']);
$this->assertEquals("Update README to fix #1\n\n[Commit made by @fguillot on Github](https://github.com/kanboardapp/webhook/commit/98dee3e49ee7aa66ffec1f761af93da5ffd711f6)", $data['comment']);
$this->assertEquals('Update README to fix #1', $data['commit_message']);
$this->assertEquals('https://github.com/kanboardapp/webhook/commit/98dee3e49ee7aa66ffec1f761af93da5ffd711f6', $data['commit_url']);
}
}

View File

@ -1,187 +0,0 @@
{
"action": "created",
"issue": {
"url": "https://api.github.com/repos/kanboardapp/webhook/issues/3",
"labels_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/labels{/name}",
"comments_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/comments",
"events_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/events",
"html_url": "https://github.com/kanboardapp/webhook/issues/3",
"id": 89823399,
"number": 3,
"title": "test with ngrok",
"user": {
"login": "fguillot",
"id": 323546,
"avatar_url": "https://avatars.githubusercontent.com/u/323546?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/fguillot",
"html_url": "https://github.com/fguillot",
"followers_url": "https://api.github.com/users/fguillot/followers",
"following_url": "https://api.github.com/users/fguillot/following{/other_user}",
"gists_url": "https://api.github.com/users/fguillot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fguillot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fguillot/subscriptions",
"organizations_url": "https://api.github.com/users/fguillot/orgs",
"repos_url": "https://api.github.com/users/fguillot/repos",
"events_url": "https://api.github.com/users/fguillot/events{/privacy}",
"received_events_url": "https://api.github.com/users/fguillot/received_events",
"type": "User",
"site_admin": false
},
"labels": [],
"state": "open",
"locked": false,
"assignee": null,
"milestone": null,
"comments": 1,
"created_at": "2015-06-20T21:58:20Z",
"updated_at": "2015-06-20T22:45:51Z",
"closed_at": null,
"body": "plop"
},
"comment": {
"url": "https://api.github.com/repos/kanboardapp/webhook/issues/comments/113834672",
"html_url": "https://github.com/kanboardapp/webhook/issues/3#issuecomment-113834672",
"issue_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3",
"id": 113834672,
"user": {
"login": "fguillot",
"id": 323546,
"avatar_url": "https://avatars.githubusercontent.com/u/323546?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/fguillot",
"html_url": "https://github.com/fguillot",
"followers_url": "https://api.github.com/users/fguillot/followers",
"following_url": "https://api.github.com/users/fguillot/following{/other_user}",
"gists_url": "https://api.github.com/users/fguillot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fguillot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fguillot/subscriptions",
"organizations_url": "https://api.github.com/users/fguillot/orgs",
"repos_url": "https://api.github.com/users/fguillot/repos",
"events_url": "https://api.github.com/users/fguillot/events{/privacy}",
"received_events_url": "https://api.github.com/users/fguillot/received_events",
"type": "User",
"site_admin": false
},
"created_at": "2015-06-20T22:45:51Z",
"updated_at": "2015-06-20T22:45:51Z",
"body": "test"
},
"repository": {
"id": 25744941,
"name": "webhook",
"full_name": "kanboardapp/webhook",
"owner": {
"login": "kanboardapp",
"id": 8738076,
"avatar_url": "https://avatars.githubusercontent.com/u/8738076?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/kanboardapp",
"html_url": "https://github.com/kanboardapp",
"followers_url": "https://api.github.com/users/kanboardapp/followers",
"following_url": "https://api.github.com/users/kanboardapp/following{/other_user}",
"gists_url": "https://api.github.com/users/kanboardapp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kanboardapp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kanboardapp/subscriptions",
"organizations_url": "https://api.github.com/users/kanboardapp/orgs",
"repos_url": "https://api.github.com/users/kanboardapp/repos",
"events_url": "https://api.github.com/users/kanboardapp/events{/privacy}",
"received_events_url": "https://api.github.com/users/kanboardapp/received_events",
"type": "Organization",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/kanboardapp/webhook",
"description": "",
"fork": false,
"url": "https://api.github.com/repos/kanboardapp/webhook",
"forks_url": "https://api.github.com/repos/kanboardapp/webhook/forks",
"keys_url": "https://api.github.com/repos/kanboardapp/webhook/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/kanboardapp/webhook/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/kanboardapp/webhook/teams",
"hooks_url": "https://api.github.com/repos/kanboardapp/webhook/hooks",
"issue_events_url": "https://api.github.com/repos/kanboardapp/webhook/issues/events{/number}",
"events_url": "https://api.github.com/repos/kanboardapp/webhook/events",
"assignees_url": "https://api.github.com/repos/kanboardapp/webhook/assignees{/user}",
"branches_url": "https://api.github.com/repos/kanboardapp/webhook/branches{/branch}",
"tags_url": "https://api.github.com/repos/kanboardapp/webhook/tags",
"blobs_url": "https://api.github.com/repos/kanboardapp/webhook/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/kanboardapp/webhook/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/kanboardapp/webhook/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/kanboardapp/webhook/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/kanboardapp/webhook/statuses/{sha}",
"languages_url": "https://api.github.com/repos/kanboardapp/webhook/languages",
"stargazers_url": "https://api.github.com/repos/kanboardapp/webhook/stargazers",
"contributors_url": "https://api.github.com/repos/kanboardapp/webhook/contributors",
"subscribers_url": "https://api.github.com/repos/kanboardapp/webhook/subscribers",
"subscription_url": "https://api.github.com/repos/kanboardapp/webhook/subscription",
"commits_url": "https://api.github.com/repos/kanboardapp/webhook/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/kanboardapp/webhook/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/kanboardapp/webhook/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/kanboardapp/webhook/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/kanboardapp/webhook/contents/{+path}",
"compare_url": "https://api.github.com/repos/kanboardapp/webhook/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/kanboardapp/webhook/merges",
"archive_url": "https://api.github.com/repos/kanboardapp/webhook/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/kanboardapp/webhook/downloads",
"issues_url": "https://api.github.com/repos/kanboardapp/webhook/issues{/number}",
"pulls_url": "https://api.github.com/repos/kanboardapp/webhook/pulls{/number}",
"milestones_url": "https://api.github.com/repos/kanboardapp/webhook/milestones{/number}",
"notifications_url": "https://api.github.com/repos/kanboardapp/webhook/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/kanboardapp/webhook/labels{/name}",
"releases_url": "https://api.github.com/repos/kanboardapp/webhook/releases{/id}",
"created_at": "2014-10-25T20:10:38Z",
"updated_at": "2014-10-25T20:10:38Z",
"pushed_at": "2014-10-25T22:02:01Z",
"git_url": "git://github.com/kanboardapp/webhook.git",
"ssh_url": "git@github.com:kanboardapp/webhook.git",
"clone_url": "https://github.com/kanboardapp/webhook.git",
"svn_url": "https://github.com/kanboardapp/webhook",
"homepage": null,
"size": 124,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 3,
"forks": 0,
"open_issues": 3,
"watchers": 0,
"default_branch": "master"
},
"organization": {
"login": "kanboardapp",
"id": 8738076,
"url": "https://api.github.com/orgs/kanboardapp",
"repos_url": "https://api.github.com/orgs/kanboardapp/repos",
"events_url": "https://api.github.com/orgs/kanboardapp/events",
"members_url": "https://api.github.com/orgs/kanboardapp/members{/member}",
"public_members_url": "https://api.github.com/orgs/kanboardapp/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/8738076?v=3",
"description": null
},
"sender": {
"login": "fguillot",
"id": 323546,
"avatar_url": "https://avatars.githubusercontent.com/u/323546?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/fguillot",
"html_url": "https://github.com/fguillot",
"followers_url": "https://api.github.com/users/fguillot/followers",
"following_url": "https://api.github.com/users/fguillot/following{/other_user}",
"gists_url": "https://api.github.com/users/fguillot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fguillot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fguillot/subscriptions",
"organizations_url": "https://api.github.com/users/fguillot/orgs",
"repos_url": "https://api.github.com/users/fguillot/repos",
"events_url": "https://api.github.com/users/fguillot/events{/privacy}",
"received_events_url": "https://api.github.com/users/fguillot/received_events",
"type": "User",
"site_admin": false
}
}

View File

@ -1,196 +0,0 @@
{
"action": "assigned",
"issue": {
"url": "https://api.github.com/repos/kanboardapp/webhook/issues/3",
"labels_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/labels{/name}",
"comments_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/comments",
"events_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/events",
"html_url": "https://github.com/kanboardapp/webhook/issues/3",
"id": 89823399,
"number": 3,
"title": "test with ngrok",
"user": {
"login": "fguillot",
"id": 323546,
"avatar_url": "https://avatars.githubusercontent.com/u/323546?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/fguillot",
"html_url": "https://github.com/fguillot",
"followers_url": "https://api.github.com/users/fguillot/followers",
"following_url": "https://api.github.com/users/fguillot/following{/other_user}",
"gists_url": "https://api.github.com/users/fguillot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fguillot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fguillot/subscriptions",
"organizations_url": "https://api.github.com/users/fguillot/orgs",
"repos_url": "https://api.github.com/users/fguillot/repos",
"events_url": "https://api.github.com/users/fguillot/events{/privacy}",
"received_events_url": "https://api.github.com/users/fguillot/received_events",
"type": "User",
"site_admin": false
},
"labels": [],
"state": "open",
"locked": false,
"assignee": {
"login": "fguillot",
"id": 323546,
"avatar_url": "https://avatars.githubusercontent.com/u/323546?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/fguillot",
"html_url": "https://github.com/fguillot",
"followers_url": "https://api.github.com/users/fguillot/followers",
"following_url": "https://api.github.com/users/fguillot/following{/other_user}",
"gists_url": "https://api.github.com/users/fguillot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fguillot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fguillot/subscriptions",
"organizations_url": "https://api.github.com/users/fguillot/orgs",
"repos_url": "https://api.github.com/users/fguillot/repos",
"events_url": "https://api.github.com/users/fguillot/events{/privacy}",
"received_events_url": "https://api.github.com/users/fguillot/received_events",
"type": "User",
"site_admin": false
},
"milestone": null,
"comments": 0,
"created_at": "2015-06-20T21:58:20Z",
"updated_at": "2015-06-20T22:12:15Z",
"closed_at": null,
"body": "plop"
},
"assignee": {
"login": "fguillot",
"id": 323546,
"avatar_url": "https://avatars.githubusercontent.com/u/323546?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/fguillot",
"html_url": "https://github.com/fguillot",
"followers_url": "https://api.github.com/users/fguillot/followers",
"following_url": "https://api.github.com/users/fguillot/following{/other_user}",
"gists_url": "https://api.github.com/users/fguillot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fguillot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fguillot/subscriptions",
"organizations_url": "https://api.github.com/users/fguillot/orgs",
"repos_url": "https://api.github.com/users/fguillot/repos",
"events_url": "https://api.github.com/users/fguillot/events{/privacy}",
"received_events_url": "https://api.github.com/users/fguillot/received_events",
"type": "User",
"site_admin": false
},
"repository": {
"id": 25744941,
"name": "webhook",
"full_name": "kanboardapp/webhook",
"owner": {
"login": "kanboardapp",
"id": 8738076,
"avatar_url": "https://avatars.githubusercontent.com/u/8738076?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/kanboardapp",
"html_url": "https://github.com/kanboardapp",
"followers_url": "https://api.github.com/users/kanboardapp/followers",
"following_url": "https://api.github.com/users/kanboardapp/following{/other_user}",
"gists_url": "https://api.github.com/users/kanboardapp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kanboardapp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kanboardapp/subscriptions",
"organizations_url": "https://api.github.com/users/kanboardapp/orgs",
"repos_url": "https://api.github.com/users/kanboardapp/repos",
"events_url": "https://api.github.com/users/kanboardapp/events{/privacy}",
"received_events_url": "https://api.github.com/users/kanboardapp/received_events",
"type": "Organization",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/kanboardapp/webhook",
"description": "",
"fork": false,
"url": "https://api.github.com/repos/kanboardapp/webhook",
"forks_url": "https://api.github.com/repos/kanboardapp/webhook/forks",
"keys_url": "https://api.github.com/repos/kanboardapp/webhook/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/kanboardapp/webhook/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/kanboardapp/webhook/teams",
"hooks_url": "https://api.github.com/repos/kanboardapp/webhook/hooks",
"issue_events_url": "https://api.github.com/repos/kanboardapp/webhook/issues/events{/number}",
"events_url": "https://api.github.com/repos/kanboardapp/webhook/events",
"assignees_url": "https://api.github.com/repos/kanboardapp/webhook/assignees{/user}",
"branches_url": "https://api.github.com/repos/kanboardapp/webhook/branches{/branch}",
"tags_url": "https://api.github.com/repos/kanboardapp/webhook/tags",
"blobs_url": "https://api.github.com/repos/kanboardapp/webhook/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/kanboardapp/webhook/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/kanboardapp/webhook/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/kanboardapp/webhook/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/kanboardapp/webhook/statuses/{sha}",
"languages_url": "https://api.github.com/repos/kanboardapp/webhook/languages",
"stargazers_url": "https://api.github.com/repos/kanboardapp/webhook/stargazers",
"contributors_url": "https://api.github.com/repos/kanboardapp/webhook/contributors",
"subscribers_url": "https://api.github.com/repos/kanboardapp/webhook/subscribers",
"subscription_url": "https://api.github.com/repos/kanboardapp/webhook/subscription",
"commits_url": "https://api.github.com/repos/kanboardapp/webhook/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/kanboardapp/webhook/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/kanboardapp/webhook/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/kanboardapp/webhook/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/kanboardapp/webhook/contents/{+path}",
"compare_url": "https://api.github.com/repos/kanboardapp/webhook/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/kanboardapp/webhook/merges",
"archive_url": "https://api.github.com/repos/kanboardapp/webhook/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/kanboardapp/webhook/downloads",
"issues_url": "https://api.github.com/repos/kanboardapp/webhook/issues{/number}",
"pulls_url": "https://api.github.com/repos/kanboardapp/webhook/pulls{/number}",
"milestones_url": "https://api.github.com/repos/kanboardapp/webhook/milestones{/number}",
"notifications_url": "https://api.github.com/repos/kanboardapp/webhook/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/kanboardapp/webhook/labels{/name}",
"releases_url": "https://api.github.com/repos/kanboardapp/webhook/releases{/id}",
"created_at": "2014-10-25T20:10:38Z",
"updated_at": "2014-10-25T20:10:38Z",
"pushed_at": "2014-10-25T22:02:01Z",
"git_url": "git://github.com/kanboardapp/webhook.git",
"ssh_url": "git@github.com:kanboardapp/webhook.git",
"clone_url": "https://github.com/kanboardapp/webhook.git",
"svn_url": "https://github.com/kanboardapp/webhook",
"homepage": null,
"size": 124,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 3,
"forks": 0,
"open_issues": 3,
"watchers": 0,
"default_branch": "master"
},
"organization": {
"login": "kanboardapp",
"id": 8738076,
"url": "https://api.github.com/orgs/kanboardapp",
"repos_url": "https://api.github.com/orgs/kanboardapp/repos",
"events_url": "https://api.github.com/orgs/kanboardapp/events",
"members_url": "https://api.github.com/orgs/kanboardapp/members{/member}",
"public_members_url": "https://api.github.com/orgs/kanboardapp/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/8738076?v=3",
"description": null
},
"sender": {
"login": "fguillot",
"id": 323546,
"avatar_url": "https://avatars.githubusercontent.com/u/323546?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/fguillot",
"html_url": "https://github.com/fguillot",
"followers_url": "https://api.github.com/users/fguillot/followers",
"following_url": "https://api.github.com/users/fguillot/following{/other_user}",
"gists_url": "https://api.github.com/users/fguillot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fguillot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fguillot/subscriptions",
"organizations_url": "https://api.github.com/users/fguillot/orgs",
"repos_url": "https://api.github.com/users/fguillot/repos",
"events_url": "https://api.github.com/users/fguillot/events{/privacy}",
"received_events_url": "https://api.github.com/users/fguillot/received_events",
"type": "User",
"site_admin": false
}
}

View File

@ -1,159 +0,0 @@
{
"action": "closed",
"issue": {
"url": "https://api.github.com/repos/kanboardapp/webhook/issues/3",
"labels_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/labels{/name}",
"comments_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/comments",
"events_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/events",
"html_url": "https://github.com/kanboardapp/webhook/issues/3",
"id": 89823399,
"number": 3,
"title": "test with ngrok",
"user": {
"login": "fguillot",
"id": 323546,
"avatar_url": "https://avatars.githubusercontent.com/u/323546?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/fguillot",
"html_url": "https://github.com/fguillot",
"followers_url": "https://api.github.com/users/fguillot/followers",
"following_url": "https://api.github.com/users/fguillot/following{/other_user}",
"gists_url": "https://api.github.com/users/fguillot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fguillot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fguillot/subscriptions",
"organizations_url": "https://api.github.com/users/fguillot/orgs",
"repos_url": "https://api.github.com/users/fguillot/repos",
"events_url": "https://api.github.com/users/fguillot/events{/privacy}",
"received_events_url": "https://api.github.com/users/fguillot/received_events",
"type": "User",
"site_admin": false
},
"labels": [],
"state": "closed",
"locked": false,
"assignee": null,
"milestone": null,
"comments": 0,
"created_at": "2015-06-20T21:58:20Z",
"updated_at": "2015-06-20T22:28:32Z",
"closed_at": "2015-06-20T22:28:32Z",
"body": "plop"
},
"repository": {
"id": 25744941,
"name": "webhook",
"full_name": "kanboardapp/webhook",
"owner": {
"login": "kanboardapp",
"id": 8738076,
"avatar_url": "https://avatars.githubusercontent.com/u/8738076?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/kanboardapp",
"html_url": "https://github.com/kanboardapp",
"followers_url": "https://api.github.com/users/kanboardapp/followers",
"following_url": "https://api.github.com/users/kanboardapp/following{/other_user}",
"gists_url": "https://api.github.com/users/kanboardapp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kanboardapp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kanboardapp/subscriptions",
"organizations_url": "https://api.github.com/users/kanboardapp/orgs",
"repos_url": "https://api.github.com/users/kanboardapp/repos",
"events_url": "https://api.github.com/users/kanboardapp/events{/privacy}",
"received_events_url": "https://api.github.com/users/kanboardapp/received_events",
"type": "Organization",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/kanboardapp/webhook",
"description": "",
"fork": false,
"url": "https://api.github.com/repos/kanboardapp/webhook",
"forks_url": "https://api.github.com/repos/kanboardapp/webhook/forks",
"keys_url": "https://api.github.com/repos/kanboardapp/webhook/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/kanboardapp/webhook/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/kanboardapp/webhook/teams",
"hooks_url": "https://api.github.com/repos/kanboardapp/webhook/hooks",
"issue_events_url": "https://api.github.com/repos/kanboardapp/webhook/issues/events{/number}",
"events_url": "https://api.github.com/repos/kanboardapp/webhook/events",
"assignees_url": "https://api.github.com/repos/kanboardapp/webhook/assignees{/user}",
"branches_url": "https://api.github.com/repos/kanboardapp/webhook/branches{/branch}",
"tags_url": "https://api.github.com/repos/kanboardapp/webhook/tags",
"blobs_url": "https://api.github.com/repos/kanboardapp/webhook/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/kanboardapp/webhook/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/kanboardapp/webhook/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/kanboardapp/webhook/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/kanboardapp/webhook/statuses/{sha}",
"languages_url": "https://api.github.com/repos/kanboardapp/webhook/languages",
"stargazers_url": "https://api.github.com/repos/kanboardapp/webhook/stargazers",
"contributors_url": "https://api.github.com/repos/kanboardapp/webhook/contributors",
"subscribers_url": "https://api.github.com/repos/kanboardapp/webhook/subscribers",
"subscription_url": "https://api.github.com/repos/kanboardapp/webhook/subscription",
"commits_url": "https://api.github.com/repos/kanboardapp/webhook/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/kanboardapp/webhook/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/kanboardapp/webhook/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/kanboardapp/webhook/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/kanboardapp/webhook/contents/{+path}",
"compare_url": "https://api.github.com/repos/kanboardapp/webhook/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/kanboardapp/webhook/merges",
"archive_url": "https://api.github.com/repos/kanboardapp/webhook/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/kanboardapp/webhook/downloads",
"issues_url": "https://api.github.com/repos/kanboardapp/webhook/issues{/number}",
"pulls_url": "https://api.github.com/repos/kanboardapp/webhook/pulls{/number}",
"milestones_url": "https://api.github.com/repos/kanboardapp/webhook/milestones{/number}",
"notifications_url": "https://api.github.com/repos/kanboardapp/webhook/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/kanboardapp/webhook/labels{/name}",
"releases_url": "https://api.github.com/repos/kanboardapp/webhook/releases{/id}",
"created_at": "2014-10-25T20:10:38Z",
"updated_at": "2014-10-25T20:10:38Z",
"pushed_at": "2014-10-25T22:02:01Z",
"git_url": "git://github.com/kanboardapp/webhook.git",
"ssh_url": "git@github.com:kanboardapp/webhook.git",
"clone_url": "https://github.com/kanboardapp/webhook.git",
"svn_url": "https://github.com/kanboardapp/webhook",
"homepage": null,
"size": 124,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 2,
"forks": 0,
"open_issues": 2,
"watchers": 0,
"default_branch": "master"
},
"organization": {
"login": "kanboardapp",
"id": 8738076,
"url": "https://api.github.com/orgs/kanboardapp",
"repos_url": "https://api.github.com/orgs/kanboardapp/repos",
"events_url": "https://api.github.com/orgs/kanboardapp/events",
"members_url": "https://api.github.com/orgs/kanboardapp/members{/member}",
"public_members_url": "https://api.github.com/orgs/kanboardapp/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/8738076?v=3",
"description": null
},
"sender": {
"login": "fguillot",
"id": 323546,
"avatar_url": "https://avatars.githubusercontent.com/u/323546?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/fguillot",
"html_url": "https://github.com/fguillot",
"followers_url": "https://api.github.com/users/fguillot/followers",
"following_url": "https://api.github.com/users/fguillot/following{/other_user}",
"gists_url": "https://api.github.com/users/fguillot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fguillot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fguillot/subscriptions",
"organizations_url": "https://api.github.com/users/fguillot/orgs",
"repos_url": "https://api.github.com/users/fguillot/repos",
"events_url": "https://api.github.com/users/fguillot/events{/privacy}",
"received_events_url": "https://api.github.com/users/fguillot/received_events",
"type": "User",
"site_admin": false
}
}

View File

@ -1,170 +0,0 @@
{
"action": "labeled",
"issue": {
"url": "https://api.github.com/repos/kanboardapp/webhook/issues/3",
"labels_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/labels{/name}",
"comments_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/comments",
"events_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/events",
"html_url": "https://github.com/kanboardapp/webhook/issues/3",
"id": 89823399,
"number": 3,
"title": "test with ngrok",
"user": {
"login": "fguillot",
"id": 323546,
"avatar_url": "https://avatars.githubusercontent.com/u/323546?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/fguillot",
"html_url": "https://github.com/fguillot",
"followers_url": "https://api.github.com/users/fguillot/followers",
"following_url": "https://api.github.com/users/fguillot/following{/other_user}",
"gists_url": "https://api.github.com/users/fguillot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fguillot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fguillot/subscriptions",
"organizations_url": "https://api.github.com/users/fguillot/orgs",
"repos_url": "https://api.github.com/users/fguillot/repos",
"events_url": "https://api.github.com/users/fguillot/events{/privacy}",
"received_events_url": "https://api.github.com/users/fguillot/received_events",
"type": "User",
"site_admin": false
},
"labels": [
{
"url": "https://api.github.com/repos/kanboardapp/webhook/labels/bug",
"name": "bug",
"color": "fc2929"
}
],
"state": "open",
"locked": false,
"assignee": null,
"milestone": null,
"comments": 0,
"created_at": "2015-06-20T21:58:20Z",
"updated_at": "2015-06-20T22:37:49Z",
"closed_at": null,
"body": "plop"
},
"label": {
"url": "https://api.github.com/repos/kanboardapp/webhook/labels/bug",
"name": "bug",
"color": "fc2929"
},
"repository": {
"id": 25744941,
"name": "webhook",
"full_name": "kanboardapp/webhook",
"owner": {
"login": "kanboardapp",
"id": 8738076,
"avatar_url": "https://avatars.githubusercontent.com/u/8738076?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/kanboardapp",
"html_url": "https://github.com/kanboardapp",
"followers_url": "https://api.github.com/users/kanboardapp/followers",
"following_url": "https://api.github.com/users/kanboardapp/following{/other_user}",
"gists_url": "https://api.github.com/users/kanboardapp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kanboardapp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kanboardapp/subscriptions",
"organizations_url": "https://api.github.com/users/kanboardapp/orgs",
"repos_url": "https://api.github.com/users/kanboardapp/repos",
"events_url": "https://api.github.com/users/kanboardapp/events{/privacy}",
"received_events_url": "https://api.github.com/users/kanboardapp/received_events",
"type": "Organization",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/kanboardapp/webhook",
"description": "",
"fork": false,
"url": "https://api.github.com/repos/kanboardapp/webhook",
"forks_url": "https://api.github.com/repos/kanboardapp/webhook/forks",
"keys_url": "https://api.github.com/repos/kanboardapp/webhook/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/kanboardapp/webhook/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/kanboardapp/webhook/teams",
"hooks_url": "https://api.github.com/repos/kanboardapp/webhook/hooks",
"issue_events_url": "https://api.github.com/repos/kanboardapp/webhook/issues/events{/number}",
"events_url": "https://api.github.com/repos/kanboardapp/webhook/events",
"assignees_url": "https://api.github.com/repos/kanboardapp/webhook/assignees{/user}",
"branches_url": "https://api.github.com/repos/kanboardapp/webhook/branches{/branch}",
"tags_url": "https://api.github.com/repos/kanboardapp/webhook/tags",
"blobs_url": "https://api.github.com/repos/kanboardapp/webhook/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/kanboardapp/webhook/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/kanboardapp/webhook/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/kanboardapp/webhook/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/kanboardapp/webhook/statuses/{sha}",
"languages_url": "https://api.github.com/repos/kanboardapp/webhook/languages",
"stargazers_url": "https://api.github.com/repos/kanboardapp/webhook/stargazers",
"contributors_url": "https://api.github.com/repos/kanboardapp/webhook/contributors",
"subscribers_url": "https://api.github.com/repos/kanboardapp/webhook/subscribers",
"subscription_url": "https://api.github.com/repos/kanboardapp/webhook/subscription",
"commits_url": "https://api.github.com/repos/kanboardapp/webhook/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/kanboardapp/webhook/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/kanboardapp/webhook/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/kanboardapp/webhook/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/kanboardapp/webhook/contents/{+path}",
"compare_url": "https://api.github.com/repos/kanboardapp/webhook/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/kanboardapp/webhook/merges",
"archive_url": "https://api.github.com/repos/kanboardapp/webhook/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/kanboardapp/webhook/downloads",
"issues_url": "https://api.github.com/repos/kanboardapp/webhook/issues{/number}",
"pulls_url": "https://api.github.com/repos/kanboardapp/webhook/pulls{/number}",
"milestones_url": "https://api.github.com/repos/kanboardapp/webhook/milestones{/number}",
"notifications_url": "https://api.github.com/repos/kanboardapp/webhook/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/kanboardapp/webhook/labels{/name}",
"releases_url": "https://api.github.com/repos/kanboardapp/webhook/releases{/id}",
"created_at": "2014-10-25T20:10:38Z",
"updated_at": "2014-10-25T20:10:38Z",
"pushed_at": "2014-10-25T22:02:01Z",
"git_url": "git://github.com/kanboardapp/webhook.git",
"ssh_url": "git@github.com:kanboardapp/webhook.git",
"clone_url": "https://github.com/kanboardapp/webhook.git",
"svn_url": "https://github.com/kanboardapp/webhook",
"homepage": null,
"size": 124,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 3,
"forks": 0,
"open_issues": 3,
"watchers": 0,
"default_branch": "master"
},
"organization": {
"login": "kanboardapp",
"id": 8738076,
"url": "https://api.github.com/orgs/kanboardapp",
"repos_url": "https://api.github.com/orgs/kanboardapp/repos",
"events_url": "https://api.github.com/orgs/kanboardapp/events",
"members_url": "https://api.github.com/orgs/kanboardapp/members{/member}",
"public_members_url": "https://api.github.com/orgs/kanboardapp/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/8738076?v=3",
"description": null
},
"sender": {
"login": "fguillot",
"id": 323546,
"avatar_url": "https://avatars.githubusercontent.com/u/323546?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/fguillot",
"html_url": "https://github.com/fguillot",
"followers_url": "https://api.github.com/users/fguillot/followers",
"following_url": "https://api.github.com/users/fguillot/following{/other_user}",
"gists_url": "https://api.github.com/users/fguillot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fguillot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fguillot/subscriptions",
"organizations_url": "https://api.github.com/users/fguillot/orgs",
"repos_url": "https://api.github.com/users/fguillot/repos",
"events_url": "https://api.github.com/users/fguillot/events{/privacy}",
"received_events_url": "https://api.github.com/users/fguillot/received_events",
"type": "User",
"site_admin": false
}
}

View File

@ -1,159 +0,0 @@
{
"action": "opened",
"issue": {
"url": "https://api.github.com/repos/kanboardapp/webhook/issues/3",
"labels_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/labels{/name}",
"comments_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/comments",
"events_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/events",
"html_url": "https://github.com/kanboardapp/webhook/issues/3",
"id": 89823399,
"number": 3,
"title": "Test Webhook",
"user": {
"login": "fguillot",
"id": 323546,
"avatar_url": "https://avatars.githubusercontent.com/u/323546?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/fguillot",
"html_url": "https://github.com/fguillot",
"followers_url": "https://api.github.com/users/fguillot/followers",
"following_url": "https://api.github.com/users/fguillot/following{/other_user}",
"gists_url": "https://api.github.com/users/fguillot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fguillot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fguillot/subscriptions",
"organizations_url": "https://api.github.com/users/fguillot/orgs",
"repos_url": "https://api.github.com/users/fguillot/repos",
"events_url": "https://api.github.com/users/fguillot/events{/privacy}",
"received_events_url": "https://api.github.com/users/fguillot/received_events",
"type": "User",
"site_admin": false
},
"labels": [],
"state": "open",
"locked": false,
"assignee": null,
"milestone": null,
"comments": 0,
"created_at": "2015-06-20T21:58:20Z",
"updated_at": "2015-06-20T21:58:20Z",
"closed_at": null,
"body": "plop"
},
"repository": {
"id": 25744941,
"name": "webhook",
"full_name": "kanboardapp/webhook",
"owner": {
"login": "kanboardapp",
"id": 8738076,
"avatar_url": "https://avatars.githubusercontent.com/u/8738076?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/kanboardapp",
"html_url": "https://github.com/kanboardapp",
"followers_url": "https://api.github.com/users/kanboardapp/followers",
"following_url": "https://api.github.com/users/kanboardapp/following{/other_user}",
"gists_url": "https://api.github.com/users/kanboardapp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kanboardapp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kanboardapp/subscriptions",
"organizations_url": "https://api.github.com/users/kanboardapp/orgs",
"repos_url": "https://api.github.com/users/kanboardapp/repos",
"events_url": "https://api.github.com/users/kanboardapp/events{/privacy}",
"received_events_url": "https://api.github.com/users/kanboardapp/received_events",
"type": "Organization",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/kanboardapp/webhook",
"description": "",
"fork": false,
"url": "https://api.github.com/repos/kanboardapp/webhook",
"forks_url": "https://api.github.com/repos/kanboardapp/webhook/forks",
"keys_url": "https://api.github.com/repos/kanboardapp/webhook/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/kanboardapp/webhook/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/kanboardapp/webhook/teams",
"hooks_url": "https://api.github.com/repos/kanboardapp/webhook/hooks",
"issue_events_url": "https://api.github.com/repos/kanboardapp/webhook/issues/events{/number}",
"events_url": "https://api.github.com/repos/kanboardapp/webhook/events",
"assignees_url": "https://api.github.com/repos/kanboardapp/webhook/assignees{/user}",
"branches_url": "https://api.github.com/repos/kanboardapp/webhook/branches{/branch}",
"tags_url": "https://api.github.com/repos/kanboardapp/webhook/tags",
"blobs_url": "https://api.github.com/repos/kanboardapp/webhook/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/kanboardapp/webhook/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/kanboardapp/webhook/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/kanboardapp/webhook/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/kanboardapp/webhook/statuses/{sha}",
"languages_url": "https://api.github.com/repos/kanboardapp/webhook/languages",
"stargazers_url": "https://api.github.com/repos/kanboardapp/webhook/stargazers",
"contributors_url": "https://api.github.com/repos/kanboardapp/webhook/contributors",
"subscribers_url": "https://api.github.com/repos/kanboardapp/webhook/subscribers",
"subscription_url": "https://api.github.com/repos/kanboardapp/webhook/subscription",
"commits_url": "https://api.github.com/repos/kanboardapp/webhook/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/kanboardapp/webhook/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/kanboardapp/webhook/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/kanboardapp/webhook/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/kanboardapp/webhook/contents/{+path}",
"compare_url": "https://api.github.com/repos/kanboardapp/webhook/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/kanboardapp/webhook/merges",
"archive_url": "https://api.github.com/repos/kanboardapp/webhook/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/kanboardapp/webhook/downloads",
"issues_url": "https://api.github.com/repos/kanboardapp/webhook/issues{/number}",
"pulls_url": "https://api.github.com/repos/kanboardapp/webhook/pulls{/number}",
"milestones_url": "https://api.github.com/repos/kanboardapp/webhook/milestones{/number}",
"notifications_url": "https://api.github.com/repos/kanboardapp/webhook/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/kanboardapp/webhook/labels{/name}",
"releases_url": "https://api.github.com/repos/kanboardapp/webhook/releases{/id}",
"created_at": "2014-10-25T20:10:38Z",
"updated_at": "2014-10-25T20:10:38Z",
"pushed_at": "2014-10-25T22:02:01Z",
"git_url": "git://github.com/kanboardapp/webhook.git",
"ssh_url": "git@github.com:kanboardapp/webhook.git",
"clone_url": "https://github.com/kanboardapp/webhook.git",
"svn_url": "https://github.com/kanboardapp/webhook",
"homepage": null,
"size": 124,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 3,
"forks": 0,
"open_issues": 3,
"watchers": 0,
"default_branch": "master"
},
"organization": {
"login": "kanboardapp",
"id": 8738076,
"url": "https://api.github.com/orgs/kanboardapp",
"repos_url": "https://api.github.com/orgs/kanboardapp/repos",
"events_url": "https://api.github.com/orgs/kanboardapp/events",
"members_url": "https://api.github.com/orgs/kanboardapp/members{/member}",
"public_members_url": "https://api.github.com/orgs/kanboardapp/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/8738076?v=3",
"description": null
},
"sender": {
"login": "fguillot",
"id": 323546,
"avatar_url": "https://avatars.githubusercontent.com/u/323546?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/fguillot",
"html_url": "https://github.com/fguillot",
"followers_url": "https://api.github.com/users/fguillot/followers",
"following_url": "https://api.github.com/users/fguillot/following{/other_user}",
"gists_url": "https://api.github.com/users/fguillot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fguillot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fguillot/subscriptions",
"organizations_url": "https://api.github.com/users/fguillot/orgs",
"repos_url": "https://api.github.com/users/fguillot/repos",
"events_url": "https://api.github.com/users/fguillot/events{/privacy}",
"received_events_url": "https://api.github.com/users/fguillot/received_events",
"type": "User",
"site_admin": false
}
}

View File

@ -1,159 +0,0 @@
{
"action": "reopened",
"issue": {
"url": "https://api.github.com/repos/kanboardapp/webhook/issues/3",
"labels_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/labels{/name}",
"comments_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/comments",
"events_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/events",
"html_url": "https://github.com/kanboardapp/webhook/issues/3",
"id": 89823399,
"number": 3,
"title": "test with ngrok",
"user": {
"login": "fguillot",
"id": 323546,
"avatar_url": "https://avatars.githubusercontent.com/u/323546?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/fguillot",
"html_url": "https://github.com/fguillot",
"followers_url": "https://api.github.com/users/fguillot/followers",
"following_url": "https://api.github.com/users/fguillot/following{/other_user}",
"gists_url": "https://api.github.com/users/fguillot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fguillot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fguillot/subscriptions",
"organizations_url": "https://api.github.com/users/fguillot/orgs",
"repos_url": "https://api.github.com/users/fguillot/repos",
"events_url": "https://api.github.com/users/fguillot/events{/privacy}",
"received_events_url": "https://api.github.com/users/fguillot/received_events",
"type": "User",
"site_admin": false
},
"labels": [],
"state": "open",
"locked": false,
"assignee": null,
"milestone": null,
"comments": 0,
"created_at": "2015-06-20T21:58:20Z",
"updated_at": "2015-06-20T22:33:35Z",
"closed_at": null,
"body": "plop"
},
"repository": {
"id": 25744941,
"name": "webhook",
"full_name": "kanboardapp/webhook",
"owner": {
"login": "kanboardapp",
"id": 8738076,
"avatar_url": "https://avatars.githubusercontent.com/u/8738076?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/kanboardapp",
"html_url": "https://github.com/kanboardapp",
"followers_url": "https://api.github.com/users/kanboardapp/followers",
"following_url": "https://api.github.com/users/kanboardapp/following{/other_user}",
"gists_url": "https://api.github.com/users/kanboardapp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kanboardapp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kanboardapp/subscriptions",
"organizations_url": "https://api.github.com/users/kanboardapp/orgs",
"repos_url": "https://api.github.com/users/kanboardapp/repos",
"events_url": "https://api.github.com/users/kanboardapp/events{/privacy}",
"received_events_url": "https://api.github.com/users/kanboardapp/received_events",
"type": "Organization",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/kanboardapp/webhook",
"description": "",
"fork": false,
"url": "https://api.github.com/repos/kanboardapp/webhook",
"forks_url": "https://api.github.com/repos/kanboardapp/webhook/forks",
"keys_url": "https://api.github.com/repos/kanboardapp/webhook/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/kanboardapp/webhook/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/kanboardapp/webhook/teams",
"hooks_url": "https://api.github.com/repos/kanboardapp/webhook/hooks",
"issue_events_url": "https://api.github.com/repos/kanboardapp/webhook/issues/events{/number}",
"events_url": "https://api.github.com/repos/kanboardapp/webhook/events",
"assignees_url": "https://api.github.com/repos/kanboardapp/webhook/assignees{/user}",
"branches_url": "https://api.github.com/repos/kanboardapp/webhook/branches{/branch}",
"tags_url": "https://api.github.com/repos/kanboardapp/webhook/tags",
"blobs_url": "https://api.github.com/repos/kanboardapp/webhook/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/kanboardapp/webhook/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/kanboardapp/webhook/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/kanboardapp/webhook/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/kanboardapp/webhook/statuses/{sha}",
"languages_url": "https://api.github.com/repos/kanboardapp/webhook/languages",
"stargazers_url": "https://api.github.com/repos/kanboardapp/webhook/stargazers",
"contributors_url": "https://api.github.com/repos/kanboardapp/webhook/contributors",
"subscribers_url": "https://api.github.com/repos/kanboardapp/webhook/subscribers",
"subscription_url": "https://api.github.com/repos/kanboardapp/webhook/subscription",
"commits_url": "https://api.github.com/repos/kanboardapp/webhook/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/kanboardapp/webhook/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/kanboardapp/webhook/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/kanboardapp/webhook/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/kanboardapp/webhook/contents/{+path}",
"compare_url": "https://api.github.com/repos/kanboardapp/webhook/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/kanboardapp/webhook/merges",
"archive_url": "https://api.github.com/repos/kanboardapp/webhook/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/kanboardapp/webhook/downloads",
"issues_url": "https://api.github.com/repos/kanboardapp/webhook/issues{/number}",
"pulls_url": "https://api.github.com/repos/kanboardapp/webhook/pulls{/number}",
"milestones_url": "https://api.github.com/repos/kanboardapp/webhook/milestones{/number}",
"notifications_url": "https://api.github.com/repos/kanboardapp/webhook/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/kanboardapp/webhook/labels{/name}",
"releases_url": "https://api.github.com/repos/kanboardapp/webhook/releases{/id}",
"created_at": "2014-10-25T20:10:38Z",
"updated_at": "2014-10-25T20:10:38Z",
"pushed_at": "2014-10-25T22:02:01Z",
"git_url": "git://github.com/kanboardapp/webhook.git",
"ssh_url": "git@github.com:kanboardapp/webhook.git",
"clone_url": "https://github.com/kanboardapp/webhook.git",
"svn_url": "https://github.com/kanboardapp/webhook",
"homepage": null,
"size": 124,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 3,
"forks": 0,
"open_issues": 3,
"watchers": 0,
"default_branch": "master"
},
"organization": {
"login": "kanboardapp",
"id": 8738076,
"url": "https://api.github.com/orgs/kanboardapp",
"repos_url": "https://api.github.com/orgs/kanboardapp/repos",
"events_url": "https://api.github.com/orgs/kanboardapp/events",
"members_url": "https://api.github.com/orgs/kanboardapp/members{/member}",
"public_members_url": "https://api.github.com/orgs/kanboardapp/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/8738076?v=3",
"description": null
},
"sender": {
"login": "fguillot",
"id": 323546,
"avatar_url": "https://avatars.githubusercontent.com/u/323546?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/fguillot",
"html_url": "https://github.com/fguillot",
"followers_url": "https://api.github.com/users/fguillot/followers",
"following_url": "https://api.github.com/users/fguillot/following{/other_user}",
"gists_url": "https://api.github.com/users/fguillot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fguillot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fguillot/subscriptions",
"organizations_url": "https://api.github.com/users/fguillot/orgs",
"repos_url": "https://api.github.com/users/fguillot/repos",
"events_url": "https://api.github.com/users/fguillot/events{/privacy}",
"received_events_url": "https://api.github.com/users/fguillot/received_events",
"type": "User",
"site_admin": false
}
}

View File

@ -1,178 +0,0 @@
{
"action": "unassigned",
"issue": {
"url": "https://api.github.com/repos/kanboardapp/webhook/issues/3",
"labels_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/labels{/name}",
"comments_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/comments",
"events_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/events",
"html_url": "https://github.com/kanboardapp/webhook/issues/3",
"id": 89823399,
"number": 3,
"title": "test with ngrok",
"user": {
"login": "fguillot",
"id": 323546,
"avatar_url": "https://avatars.githubusercontent.com/u/323546?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/fguillot",
"html_url": "https://github.com/fguillot",
"followers_url": "https://api.github.com/users/fguillot/followers",
"following_url": "https://api.github.com/users/fguillot/following{/other_user}",
"gists_url": "https://api.github.com/users/fguillot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fguillot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fguillot/subscriptions",
"organizations_url": "https://api.github.com/users/fguillot/orgs",
"repos_url": "https://api.github.com/users/fguillot/repos",
"events_url": "https://api.github.com/users/fguillot/events{/privacy}",
"received_events_url": "https://api.github.com/users/fguillot/received_events",
"type": "User",
"site_admin": false
},
"labels": [],
"state": "open",
"locked": false,
"assignee": null,
"milestone": null,
"comments": 0,
"created_at": "2015-06-20T21:58:20Z",
"updated_at": "2015-06-20T22:26:05Z",
"closed_at": null,
"body": "plop"
},
"assignee": {
"login": "fguillot",
"id": 323546,
"avatar_url": "https://avatars.githubusercontent.com/u/323546?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/fguillot",
"html_url": "https://github.com/fguillot",
"followers_url": "https://api.github.com/users/fguillot/followers",
"following_url": "https://api.github.com/users/fguillot/following{/other_user}",
"gists_url": "https://api.github.com/users/fguillot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fguillot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fguillot/subscriptions",
"organizations_url": "https://api.github.com/users/fguillot/orgs",
"repos_url": "https://api.github.com/users/fguillot/repos",
"events_url": "https://api.github.com/users/fguillot/events{/privacy}",
"received_events_url": "https://api.github.com/users/fguillot/received_events",
"type": "User",
"site_admin": false
},
"repository": {
"id": 25744941,
"name": "webhook",
"full_name": "kanboardapp/webhook",
"owner": {
"login": "kanboardapp",
"id": 8738076,
"avatar_url": "https://avatars.githubusercontent.com/u/8738076?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/kanboardapp",
"html_url": "https://github.com/kanboardapp",
"followers_url": "https://api.github.com/users/kanboardapp/followers",
"following_url": "https://api.github.com/users/kanboardapp/following{/other_user}",
"gists_url": "https://api.github.com/users/kanboardapp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kanboardapp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kanboardapp/subscriptions",
"organizations_url": "https://api.github.com/users/kanboardapp/orgs",
"repos_url": "https://api.github.com/users/kanboardapp/repos",
"events_url": "https://api.github.com/users/kanboardapp/events{/privacy}",
"received_events_url": "https://api.github.com/users/kanboardapp/received_events",
"type": "Organization",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/kanboardapp/webhook",
"description": "",
"fork": false,
"url": "https://api.github.com/repos/kanboardapp/webhook",
"forks_url": "https://api.github.com/repos/kanboardapp/webhook/forks",
"keys_url": "https://api.github.com/repos/kanboardapp/webhook/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/kanboardapp/webhook/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/kanboardapp/webhook/teams",
"hooks_url": "https://api.github.com/repos/kanboardapp/webhook/hooks",
"issue_events_url": "https://api.github.com/repos/kanboardapp/webhook/issues/events{/number}",
"events_url": "https://api.github.com/repos/kanboardapp/webhook/events",
"assignees_url": "https://api.github.com/repos/kanboardapp/webhook/assignees{/user}",
"branches_url": "https://api.github.com/repos/kanboardapp/webhook/branches{/branch}",
"tags_url": "https://api.github.com/repos/kanboardapp/webhook/tags",
"blobs_url": "https://api.github.com/repos/kanboardapp/webhook/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/kanboardapp/webhook/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/kanboardapp/webhook/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/kanboardapp/webhook/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/kanboardapp/webhook/statuses/{sha}",
"languages_url": "https://api.github.com/repos/kanboardapp/webhook/languages",
"stargazers_url": "https://api.github.com/repos/kanboardapp/webhook/stargazers",
"contributors_url": "https://api.github.com/repos/kanboardapp/webhook/contributors",
"subscribers_url": "https://api.github.com/repos/kanboardapp/webhook/subscribers",
"subscription_url": "https://api.github.com/repos/kanboardapp/webhook/subscription",
"commits_url": "https://api.github.com/repos/kanboardapp/webhook/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/kanboardapp/webhook/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/kanboardapp/webhook/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/kanboardapp/webhook/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/kanboardapp/webhook/contents/{+path}",
"compare_url": "https://api.github.com/repos/kanboardapp/webhook/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/kanboardapp/webhook/merges",
"archive_url": "https://api.github.com/repos/kanboardapp/webhook/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/kanboardapp/webhook/downloads",
"issues_url": "https://api.github.com/repos/kanboardapp/webhook/issues{/number}",
"pulls_url": "https://api.github.com/repos/kanboardapp/webhook/pulls{/number}",
"milestones_url": "https://api.github.com/repos/kanboardapp/webhook/milestones{/number}",
"notifications_url": "https://api.github.com/repos/kanboardapp/webhook/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/kanboardapp/webhook/labels{/name}",
"releases_url": "https://api.github.com/repos/kanboardapp/webhook/releases{/id}",
"created_at": "2014-10-25T20:10:38Z",
"updated_at": "2014-10-25T20:10:38Z",
"pushed_at": "2014-10-25T22:02:01Z",
"git_url": "git://github.com/kanboardapp/webhook.git",
"ssh_url": "git@github.com:kanboardapp/webhook.git",
"clone_url": "https://github.com/kanboardapp/webhook.git",
"svn_url": "https://github.com/kanboardapp/webhook",
"homepage": null,
"size": 124,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 3,
"forks": 0,
"open_issues": 3,
"watchers": 0,
"default_branch": "master"
},
"organization": {
"login": "kanboardapp",
"id": 8738076,
"url": "https://api.github.com/orgs/kanboardapp",
"repos_url": "https://api.github.com/orgs/kanboardapp/repos",
"events_url": "https://api.github.com/orgs/kanboardapp/events",
"members_url": "https://api.github.com/orgs/kanboardapp/members{/member}",
"public_members_url": "https://api.github.com/orgs/kanboardapp/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/8738076?v=3",
"description": null
},
"sender": {
"login": "fguillot",
"id": 323546,
"avatar_url": "https://avatars.githubusercontent.com/u/323546?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/fguillot",
"html_url": "https://github.com/fguillot",
"followers_url": "https://api.github.com/users/fguillot/followers",
"following_url": "https://api.github.com/users/fguillot/following{/other_user}",
"gists_url": "https://api.github.com/users/fguillot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fguillot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fguillot/subscriptions",
"organizations_url": "https://api.github.com/users/fguillot/orgs",
"repos_url": "https://api.github.com/users/fguillot/repos",
"events_url": "https://api.github.com/users/fguillot/events{/privacy}",
"received_events_url": "https://api.github.com/users/fguillot/received_events",
"type": "User",
"site_admin": false
}
}

View File

@ -1,164 +0,0 @@
{
"action": "unlabeled",
"issue": {
"url": "https://api.github.com/repos/kanboardapp/webhook/issues/3",
"labels_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/labels{/name}",
"comments_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/comments",
"events_url": "https://api.github.com/repos/kanboardapp/webhook/issues/3/events",
"html_url": "https://github.com/kanboardapp/webhook/issues/3",
"id": 89823399,
"number": 3,
"title": "test with ngrok",
"user": {
"login": "fguillot",
"id": 323546,
"avatar_url": "https://avatars.githubusercontent.com/u/323546?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/fguillot",
"html_url": "https://github.com/fguillot",
"followers_url": "https://api.github.com/users/fguillot/followers",
"following_url": "https://api.github.com/users/fguillot/following{/other_user}",
"gists_url": "https://api.github.com/users/fguillot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fguillot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fguillot/subscriptions",
"organizations_url": "https://api.github.com/users/fguillot/orgs",
"repos_url": "https://api.github.com/users/fguillot/repos",
"events_url": "https://api.github.com/users/fguillot/events{/privacy}",
"received_events_url": "https://api.github.com/users/fguillot/received_events",
"type": "User",
"site_admin": false
},
"labels": [],
"state": "open",
"locked": false,
"assignee": null,
"milestone": null,
"comments": 0,
"created_at": "2015-06-20T21:58:20Z",
"updated_at": "2015-06-20T22:43:48Z",
"closed_at": null,
"body": "plop"
},
"label": {
"url": "https://api.github.com/repos/kanboardapp/webhook/labels/bug",
"name": "bug",
"color": "fc2929"
},
"repository": {
"id": 25744941,
"name": "webhook",
"full_name": "kanboardapp/webhook",
"owner": {
"login": "kanboardapp",
"id": 8738076,
"avatar_url": "https://avatars.githubusercontent.com/u/8738076?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/kanboardapp",
"html_url": "https://github.com/kanboardapp",
"followers_url": "https://api.github.com/users/kanboardapp/followers",
"following_url": "https://api.github.com/users/kanboardapp/following{/other_user}",
"gists_url": "https://api.github.com/users/kanboardapp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kanboardapp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kanboardapp/subscriptions",
"organizations_url": "https://api.github.com/users/kanboardapp/orgs",
"repos_url": "https://api.github.com/users/kanboardapp/repos",
"events_url": "https://api.github.com/users/kanboardapp/events{/privacy}",
"received_events_url": "https://api.github.com/users/kanboardapp/received_events",
"type": "Organization",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/kanboardapp/webhook",
"description": "",
"fork": false,
"url": "https://api.github.com/repos/kanboardapp/webhook",
"forks_url": "https://api.github.com/repos/kanboardapp/webhook/forks",
"keys_url": "https://api.github.com/repos/kanboardapp/webhook/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/kanboardapp/webhook/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/kanboardapp/webhook/teams",
"hooks_url": "https://api.github.com/repos/kanboardapp/webhook/hooks",
"issue_events_url": "https://api.github.com/repos/kanboardapp/webhook/issues/events{/number}",
"events_url": "https://api.github.com/repos/kanboardapp/webhook/events",
"assignees_url": "https://api.github.com/repos/kanboardapp/webhook/assignees{/user}",
"branches_url": "https://api.github.com/repos/kanboardapp/webhook/branches{/branch}",
"tags_url": "https://api.github.com/repos/kanboardapp/webhook/tags",
"blobs_url": "https://api.github.com/repos/kanboardapp/webhook/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/kanboardapp/webhook/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/kanboardapp/webhook/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/kanboardapp/webhook/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/kanboardapp/webhook/statuses/{sha}",
"languages_url": "https://api.github.com/repos/kanboardapp/webhook/languages",
"stargazers_url": "https://api.github.com/repos/kanboardapp/webhook/stargazers",
"contributors_url": "https://api.github.com/repos/kanboardapp/webhook/contributors",
"subscribers_url": "https://api.github.com/repos/kanboardapp/webhook/subscribers",
"subscription_url": "https://api.github.com/repos/kanboardapp/webhook/subscription",
"commits_url": "https://api.github.com/repos/kanboardapp/webhook/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/kanboardapp/webhook/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/kanboardapp/webhook/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/kanboardapp/webhook/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/kanboardapp/webhook/contents/{+path}",
"compare_url": "https://api.github.com/repos/kanboardapp/webhook/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/kanboardapp/webhook/merges",
"archive_url": "https://api.github.com/repos/kanboardapp/webhook/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/kanboardapp/webhook/downloads",
"issues_url": "https://api.github.com/repos/kanboardapp/webhook/issues{/number}",
"pulls_url": "https://api.github.com/repos/kanboardapp/webhook/pulls{/number}",
"milestones_url": "https://api.github.com/repos/kanboardapp/webhook/milestones{/number}",
"notifications_url": "https://api.github.com/repos/kanboardapp/webhook/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/kanboardapp/webhook/labels{/name}",
"releases_url": "https://api.github.com/repos/kanboardapp/webhook/releases{/id}",
"created_at": "2014-10-25T20:10:38Z",
"updated_at": "2014-10-25T20:10:38Z",
"pushed_at": "2014-10-25T22:02:01Z",
"git_url": "git://github.com/kanboardapp/webhook.git",
"ssh_url": "git@github.com:kanboardapp/webhook.git",
"clone_url": "https://github.com/kanboardapp/webhook.git",
"svn_url": "https://github.com/kanboardapp/webhook",
"homepage": null,
"size": 124,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 3,
"forks": 0,
"open_issues": 3,
"watchers": 0,
"default_branch": "master"
},
"organization": {
"login": "kanboardapp",
"id": 8738076,
"url": "https://api.github.com/orgs/kanboardapp",
"repos_url": "https://api.github.com/orgs/kanboardapp/repos",
"events_url": "https://api.github.com/orgs/kanboardapp/events",
"members_url": "https://api.github.com/orgs/kanboardapp/members{/member}",
"public_members_url": "https://api.github.com/orgs/kanboardapp/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/8738076?v=3",
"description": null
},
"sender": {
"login": "fguillot",
"id": 323546,
"avatar_url": "https://avatars.githubusercontent.com/u/323546?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/fguillot",
"html_url": "https://github.com/fguillot",
"followers_url": "https://api.github.com/users/fguillot/followers",
"following_url": "https://api.github.com/users/fguillot/following{/other_user}",
"gists_url": "https://api.github.com/users/fguillot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fguillot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fguillot/subscriptions",
"organizations_url": "https://api.github.com/users/fguillot/orgs",
"repos_url": "https://api.github.com/users/fguillot/repos",
"events_url": "https://api.github.com/users/fguillot/events{/privacy}",
"received_events_url": "https://api.github.com/users/fguillot/received_events",
"type": "User",
"site_admin": false
}
}

View File

@ -1,165 +0,0 @@
{
"ref": "refs/heads/master",
"before": "895598f1baf1ee5fb3f43ebc509aa86e263bde4b",
"after": "98dee3e49ee7aa66ffec1f761af93da5ffd711f6",
"created": false,
"deleted": false,
"forced": false,
"base_ref": null,
"compare": "https://github.com/kanboardapp/webhook/compare/895598f1baf1...98dee3e49ee7",
"commits": [
{
"id": "98dee3e49ee7aa66ffec1f761af93da5ffd711f6",
"distinct": true,
"message": "Update README to fix #1",
"timestamp": "2015-06-20T18:54:52-04:00",
"url": "https://github.com/kanboardapp/webhook/commit/98dee3e49ee7aa66ffec1f761af93da5ffd711f6",
"author": {
"name": "Frédéric Guillot",
"email": "fred@kanboard.net",
"username": "fguillot"
},
"committer": {
"name": "Frédéric Guillot",
"email": "fred@kanboard.net",
"username": "fguillot"
},
"added": [],
"removed": [],
"modified": [
"README.md"
]
}
],
"head_commit": {
"id": "98dee3e49ee7aa66ffec1f761af93da5ffd711f6",
"distinct": true,
"message": "Update README",
"timestamp": "2015-06-20T18:54:52-04:00",
"url": "https://github.com/kanboardapp/webhook/commit/98dee3e49ee7aa66ffec1f761af93da5ffd711f6",
"author": {
"name": "Frédéric Guillot",
"email": "fred@kanboard.net",
"username": "fguillot"
},
"committer": {
"name": "Frédéric Guillot",
"email": "fred@kanboard.net",
"username": "fguillot"
},
"added": [],
"removed": [],
"modified": [
"README.md"
]
},
"repository": {
"id": 25744941,
"name": "webhook",
"full_name": "kanboardapp/webhook",
"owner": {
"name": "kanboardapp",
"email": null
},
"private": false,
"html_url": "https://github.com/kanboardapp/webhook",
"description": "",
"fork": false,
"url": "https://github.com/kanboardapp/webhook",
"forks_url": "https://api.github.com/repos/kanboardapp/webhook/forks",
"keys_url": "https://api.github.com/repos/kanboardapp/webhook/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/kanboardapp/webhook/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/kanboardapp/webhook/teams",
"hooks_url": "https://api.github.com/repos/kanboardapp/webhook/hooks",
"issue_events_url": "https://api.github.com/repos/kanboardapp/webhook/issues/events{/number}",
"events_url": "https://api.github.com/repos/kanboardapp/webhook/events",
"assignees_url": "https://api.github.com/repos/kanboardapp/webhook/assignees{/user}",
"branches_url": "https://api.github.com/repos/kanboardapp/webhook/branches{/branch}",
"tags_url": "https://api.github.com/repos/kanboardapp/webhook/tags",
"blobs_url": "https://api.github.com/repos/kanboardapp/webhook/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/kanboardapp/webhook/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/kanboardapp/webhook/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/kanboardapp/webhook/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/kanboardapp/webhook/statuses/{sha}",
"languages_url": "https://api.github.com/repos/kanboardapp/webhook/languages",
"stargazers_url": "https://api.github.com/repos/kanboardapp/webhook/stargazers",
"contributors_url": "https://api.github.com/repos/kanboardapp/webhook/contributors",
"subscribers_url": "https://api.github.com/repos/kanboardapp/webhook/subscribers",
"subscription_url": "https://api.github.com/repos/kanboardapp/webhook/subscription",
"commits_url": "https://api.github.com/repos/kanboardapp/webhook/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/kanboardapp/webhook/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/kanboardapp/webhook/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/kanboardapp/webhook/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/kanboardapp/webhook/contents/{+path}",
"compare_url": "https://api.github.com/repos/kanboardapp/webhook/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/kanboardapp/webhook/merges",
"archive_url": "https://api.github.com/repos/kanboardapp/webhook/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/kanboardapp/webhook/downloads",
"issues_url": "https://api.github.com/repos/kanboardapp/webhook/issues{/number}",
"pulls_url": "https://api.github.com/repos/kanboardapp/webhook/pulls{/number}",
"milestones_url": "https://api.github.com/repos/kanboardapp/webhook/milestones{/number}",
"notifications_url": "https://api.github.com/repos/kanboardapp/webhook/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/kanboardapp/webhook/labels{/name}",
"releases_url": "https://api.github.com/repos/kanboardapp/webhook/releases{/id}",
"created_at": 1414267838,
"updated_at": "2014-10-25T20:10:38Z",
"pushed_at": 1434840893,
"git_url": "git://github.com/kanboardapp/webhook.git",
"ssh_url": "git@github.com:kanboardapp/webhook.git",
"clone_url": "https://github.com/kanboardapp/webhook.git",
"svn_url": "https://github.com/kanboardapp/webhook",
"homepage": null,
"size": 124,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 3,
"forks": 0,
"open_issues": 3,
"watchers": 0,
"default_branch": "master",
"stargazers": 0,
"master_branch": "master",
"organization": "kanboardapp"
},
"pusher": {
"name": "fguillot",
"email": "fred@kanboard.net"
},
"organization": {
"login": "kanboardapp",
"id": 8738076,
"url": "https://api.github.com/orgs/kanboardapp",
"repos_url": "https://api.github.com/orgs/kanboardapp/repos",
"events_url": "https://api.github.com/orgs/kanboardapp/events",
"members_url": "https://api.github.com/orgs/kanboardapp/members{/member}",
"public_members_url": "https://api.github.com/orgs/kanboardapp/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/8738076?v=3",
"description": null
},
"sender": {
"login": "fguillot",
"id": 323546,
"avatar_url": "https://avatars.githubusercontent.com/u/323546?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/fguillot",
"html_url": "https://github.com/fguillot",
"followers_url": "https://api.github.com/users/fguillot/followers",
"following_url": "https://api.github.com/users/fguillot/following{/other_user}",
"gists_url": "https://api.github.com/users/fguillot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fguillot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fguillot/subscriptions",
"organizations_url": "https://api.github.com/users/fguillot/orgs",
"repos_url": "https://api.github.com/users/fguillot/repos",
"events_url": "https://api.github.com/users/fguillot/events{/privacy}",
"received_events_url": "https://api.github.com/users/fguillot/received_events",
"type": "User",
"site_admin": false
}
}