Skip to content

Commit ca42398

Browse files
authored
Merge pull request #96 from mreishman/1.6.3
1.6.3
2 parents 001780e + 76f3f90 commit ca42398

File tree

3 files changed

+25
-3
lines changed

3 files changed

+25
-3
lines changed

core/js/run.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,10 @@ function pollInner(data)
634634
{
635635
var currentTime = performance.now();
636636
totalTimeOfAllTests.push(Math.round((currentTime - _data["timeStart"][i])/1000));
637+
if(totalTimeOfAllTests.length > 100)
638+
{
639+
totalTimeOfAllTests.shift();
640+
}
637641
if(document.getElementById(_data["id"][i]))
638642
{
639643
//update percent
@@ -1145,8 +1149,10 @@ function getVideoLink(functionData)
11451149
if(dataSuccess)
11461150
{
11471151
dataMessage = dataInner["proxyId"]+"/download_video/"+dataInner["session"]+".mp4";
1148-
dataMessage = dataMessage.replace(/5555/g,"3000");
1149-
dataMessage = "<iframe src=\""+dataMessage+"\" ></iframe>";
1152+
var dataMessageNew = dataMessage.replace(/5555/g,"3000");
1153+
dataMessage = "<iframe id=\"iFrameFor"+dataInner["session"]+"\" src=\""+dataMessageNew+"\" ></iframe>";
1154+
dataMessage += "<a class=\"link\" onclick=\"document.getElementById('iFrameFor"+dataInner["session"]+"').src = document.getElementById('iFrameFor"+dataInner["session"]+"').src;\" >Refresh</a>";
1155+
dataMessage += "<a target=\"_blank\" href=\""+dataMessageNew+"\" >Open in new window</a>"
11501156
}
11511157
var selector = "";
11521158
var keysOfObjectOfVideos = Object.keys(objectOfVideos);

core/php/configStatic.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<?php
33

44
$configStatic = array(
5-
'version' => '1.6.2',
5+
'version' => '1.6.3',
66
'lastCheck' => '10-30-2017',
77
'newestVersion' => '1.3.1',
88
'versionList' => array(

settings/changelog.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
33
<li>
44
<h2>Changelog</h2>
55
</li>
6+
<li>
7+
1.6.3
8+
<ul>
9+
<li>
10+
Bug Fixes
11+
<ul>
12+
<li>
13+
Added refresh next to iframe in tests to refresh if video 404 on first load
14+
</li>
15+
<li>
16+
Reduced size of array for generating time estimates. (only from last 100 tests now)
17+
</li>
18+
</ul>
19+
</li>
20+
</ul>
21+
</li>
622
<li>
723
1.6.2
824
<ul>

0 commit comments

Comments
 (0)