1
0

updated to new version of extendedGitGraph

This commit is contained in:
2014-10-15 11:29:24 +02:00
parent fcd839c12e
commit 63669229eb
12 changed files with 2141 additions and 87 deletions

View File

@@ -10,6 +10,9 @@ $this->breadcrumbs =
[
'Admin',
];
array_push($this->js_files, '/javascript/msmain_admin_script.js');
?>
<div class="container">
@@ -135,7 +138,12 @@ $this->breadcrumbs =
<br><br>
<a class="btn btn-primary" href="?do_egh_update=1"> Update </a>
<div style="text-align: center;">
<textarea id="egh_ajaxOutput" readonly="readonly"></textarea>
<br>
<a class="btn btn-primary" href="javascript:startAjaxRefresh()" style="width: 90%"> Update </a>
</div>
</div>

View File

@@ -0,0 +1,20 @@
<?php
include 'extendedGitGraph.php';
$v = new ExtendedGitGraph('Mikescher');
//##########################################################
$v->addSecondaryUsername("Sam-Development");
$v->addSecondaryRepository("Anastron/ColorRunner");
//##########################################################
$v->setToken(file_get_contents('api_token.secret'));
$v->collect();
//##########################################################
$v->generateAndSave();

View File

@@ -0,0 +1,5 @@
<?php
session_start();
echo $_SESSION['ajax_progress_egh_refresh'];

View File

@@ -1,20 +0,0 @@
<?php
$this->pageTitle = 'Update EGH - ' . Yii::app()->name;
$this->breadcrumbs =
[
'Admin',
];
$v = new ExtendedGitGraph('Mikescher');
$v->setToken(MsHelper::getStringDBVar('egg_auth-token'));
$v->collect();
$v->generateAndSave();
$v->output_flushed('Generated and Finished');
$v->output_flushed('<a href="/admin" class="btn btn-primary">back</a>');