Permalink
Browse files

Merge branch 'master' into hotfix-gitlab-api

  • Loading branch information...
renatomarinho committed Sep 5, 2018
2 parents c4a1c62 + 1f6a878 commit 40ea727dbf1f5fd3b304735d5ef08dbdffc527f6
@@ -35,6 +35,7 @@ public function tplUser($obj)
public function tplRepository($repo, $slug = false)
{
$organization = $this->organization($repo);
if (!$organization) {
@@ -48,7 +49,7 @@ public function tplRepository($repo, $slug = false)
'slug' => $slug ? $slug : Helper::slug($repo->path),
'title' => $repo->path,
'fullname' => $repo->name,
'is_private' => $repo->visibility === 'public',
'is_private' => $repo->public_jobs == true,
'html_url' => $repo->http_url_to_repo,
'description' => $repo->description,
'fork' => null,
@@ -133,6 +134,8 @@ public function organization($obj)
return false;
}
if (!isset($obj->owner) && isset($obj->namespace)) {
// To avoid to make unnecessary calls to the api to get the groups info saving the fetched groups into a private variable
if (!isset($this->gitlabGroups[$obj->namespace->id])) {
0 artisan 100644 → 100755
No changes.
0 bootstrap/cache/.gitignore 100644 → 100755
No changes.
Oops, something went wrong.

0 comments on commit 40ea727

Please sign in to comment.