Adding build status images, both to the dashboard and as an external facing feature. Closes #43
This commit is contained in:
parent
14841477a6
commit
653f4cb620
11 changed files with 121 additions and 5 deletions
|
|
@ -27,9 +27,9 @@ class Application extends b8\Application
|
|||
|
||||
// Validate the user's session unless it is a login/logout action or a web hook:
|
||||
$sessionAction = ($controllerName == 'Session' && in_array($this->action, array('login', 'logout')));
|
||||
$webhookAction = in_array($controllerName, array('Bitbucket', 'Github'));
|
||||
$externalAction = in_array($controllerName, array('Bitbucket', 'Github', 'BuildStatus'));
|
||||
|
||||
if (!$webhookAction && !$sessionAction) {
|
||||
if (!$externalAction && !$sessionAction) {
|
||||
$this->validateSession();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue