diff --git a/lib/scm/gitlab.class.php b/lib/scm/gitlab.class.php
index 341cfa2442..bbb31a87ae 100644
--- a/lib/scm/gitlab.class.php
+++ b/lib/scm/gitlab.class.php
@@ -616,6 +616,7 @@ class gitlab
$params->per_page = 100;
$allResults = array();
+ $files = array();
while(true)
{
$results = $this->fetch($api, $params);
diff --git a/module/repo/view/create.html.php b/module/repo/view/create.html.php
index bce732117e..446da06b4e 100644
--- a/module/repo/view/create.html.php
+++ b/module/repo/view/create.html.php
@@ -34,11 +34,15 @@
| repo->gitlabHost;?> |
- repo->placeholder->gitlabHost}'");?>
+ | repo->placeholder->gitlabHost}'");?>
+ |
+
+ | repo->gitlabToken;?> |
+
|
| repo->gitlabProject;?> |
-
+ |
|
| repo->name; ?> |
diff --git a/module/repo/view/edit.html.php b/module/repo/view/edit.html.php
index fe9d4a2117..15f6d76846 100644
--- a/module/repo/view/edit.html.php
+++ b/module/repo/view/edit.html.php
@@ -34,15 +34,21 @@
| repo->type; ?> |
repo->scmList, $repo->SCM, "onchange='scmChanged(this.value)' class='form-control'"); ?> |
- repo->syncTips; ?> |
+
+ repo->syncTips; ?>
+ |
| repo->gitlabHost;?> |
- gitlab, "class='form-control' placeholder='{$lang->repo->placeholder->gitlabHost}'");?>
+ | client, "class='form-control' placeholder='{$lang->repo->placeholder->gitlabHost}'");?>
+ |
+
+ | repo->gitlabToken;?> |
+ password, "class='form-control'");?>
|
| repo->gitlabProject;?> |
- project, "class='form-control chosen'");?>
+ | extra, "class='form-control chosen'");?>
|
| repo->name; ?> |
@@ -53,8 +59,8 @@
repo->path; ?> |
path, "class='form-control'"); ?> |
- repo->example->path->git;?>
- repo->example->path->svn;?>
+ repo->example->path->git;?>
+ repo->example->path->svn;?>
|
@@ -66,8 +72,8 @@
| repo->client;?> |
client, "class='form-control'")?> |
- repo->example->client->git;?>
- repo->example->client->svn;?>
+ repo->example->client->git;?>
+ repo->example->client->svn;?>
|
@@ -106,7 +112,7 @@
|
- goback, '', 'class="btn btn-wide"'); ?>
+
|