73 Commits

Author SHA1 Message Date
Liru Færs
a0e1f69b91 Our release is now fully ready, make sure everyone is on it!
New Minimum: 1.8.7 (8193)
New Recommended Release: 1.8.9 (8338)
New Recommended Alpha: 1.8.9 (8382)
Add Mac alpha release 1.8.9 (8709)
Go back to using dates in download widget
Clean up old code from the old login wrapper
Make all builds using the login wrapper report outdated.
2020-05-07 10:13:27 -04:00
Shyotl
95de43f5b6 Update get_update_info.json
Bump recommended alpha to 8363
2020-04-13 12:44:59 -05:00
Liru Færs
93e15177a4 1.8.9 Release pt3: downloader widget
Mark Linux 32 as Obsolete, because it is.
2020-04-05 00:45:50 -04:00
Liru Færs
c5361e277d 1.8.9 Release pt2
Remove windows version hack from old index page, when mac releases, remove this entirely and splash them.
2020-04-05 00:35:01 -04:00
Liru Færs
4dcfd0bc00 Release 1.8.9 pt1 2020-04-05 00:32:28 -04:00
Liru Færs
6366593db1 Recommend 8193 2020-02-07 10:20:10 -05:00
Liru Færs
2f32e5ae35 Mac version bump 2020-01-24 02:05:44 -05:00
Liru Færs
33a6a29bc8 Please stop using old alphas, move to the nightly 2020-01-22 04:02:51 -05:00
Liru Færs
9083b09468 Fix bug
Thanks to Blu Skytower for pointing this one out!
2020-01-21 07:03:57 -05:00
Liru Færs
e87088a8e0 Let's try using this for once 2020-01-21 04:51:32 -05:00
Liru Færs
3831cb8831 Alpha->Nightly 2019-08-11 18:06:01 -04:00
Inusaito Sayori
1632dc2d87 Fix the borkage, hopefully. 2019-01-06 11:24:20 -05:00
Inusaito Sayori
7f64d893a4 Alpha time 2019-01-06 10:45:00 -05:00
Shyotl
7e6a1461bd Update get_update_info.json 2018-02-21 19:27:43 -06:00
Shyotl
b4b189c486 Update get_update_info.json 2018-02-08 03:43:40 -06:00
Shyotl
5d3e0d3ab6 Update get_update_info.json 2018-02-08 03:43:11 -06:00
Shyotl
bd51f53299 Update get_update_info.json
Bump windows alpha ver to 6983
2018-02-08 03:07:29 -06:00
Shyotl
bcc1ff0dc1 Add urls to json data. 2018-02-05 23:31:45 -06:00
Shyotl
105afdf19c Blah. 2018-02-05 20:04:43 -06:00
Shyotl
87242bc288 Test json for new update mechanism testing. 2018-02-05 20:02:02 -06:00
Inusaito Sayori
fbf510b5c1 New Linux64 Build 2016-06-25 20:33:24 -04:00
Inusaito Sayori
1bc762d1b1 LOWERCASE is never uppercase. 2016-06-17 00:48:01 -04:00
Inusaito Sayori
f453a8f1a0 Fix SV-2074
Based on http://stackoverflow.com/a/13709431
2016-06-16 21:36:30 -04:00
Inusaito Sayori
e726c00b61 Use Friti's Linux64 build for now. 2016-06-16 19:30:35 -04:00
Inusaito Sayori
be9c9a02b3 Update index.html 2016-06-16 06:20:51 -04:00
Inusaito Sayori
a519bda2f1 Update index.html 2016-06-16 06:15:51 -04:00
Inusaito Sayori
a7c81ca33f We are ready~
Bump min alpha to our last alpha.
2016-06-16 06:14:30 -04:00
Shyotl
ee6b05f95f Update index.html 2016-06-16 03:59:26 -05:00
Shyotl
21a7292039 Update index.html
Derp. It's 4am. FIx a mistake.
2016-06-16 03:54:27 -05:00
Shyotl
fef374262a Release 1.8.7 for Windows. 2016-06-16 03:12:43 -05:00
Inusaito Sayori
55c1a90113 Abandon ship! UDP on SL is dead! 2015-04-08 01:15:54 -04:00
Shyotl
a645bf03d9 I regret using web-commits. Update dates too. 2015-02-27 04:59:42 -06:00
Shyotl
77732d1cf9 Er, actually update the version in index.html :S 2015-02-27 04:55:59 -06:00
Shyotl
65d7e2b816 1.8.6(6157) index.html update
AMD :(
2015-02-27 04:55:04 -06:00
Shyotl
3b1257177a 1.8.6.6157
GJ AMDurr.
2015-02-27 04:53:56 -06:00
Shyotl
21bd4b2ec1 Typo cleanup in README.md 2015-02-27 03:26:30 -06:00
Inusaito Sayori
9cb391c7db Fix IE Screening 2014-09-05 12:57:07 -04:00
Inusaito Sayori
24d8acc143 Update login notifier 2014-09-04 12:14:37 -04:00
Inusaito Sayori
80242142c1 Widget for 1.8.6 2014-09-04 12:12:47 -04:00
Inusaito Sayori
2c822bf38a I am oblivious to my own mistakes. 2014-08-05 08:55:53 -04:00
Inusaito Sayori
836537c922 Typo 2014-08-05 08:33:24 -04:00
Inusaito Sayori
58e212d110 Huh, maybe this won't break it? Also french! 2014-08-05 08:31:27 -04:00
Inusaito Sayori
73c111ac47 Bump minimum alpha to 6068
Let's get some testing done~

Also end Singularity Zero.
2014-08-05 08:20:30 -04:00
Latif Khalifa
6f7448b9bc Shyotl wants graphics changes in 5846 alpha tested 2014-05-19 08:17:30 +02:00
Latif Khalifa
de82314240 Bump recommended alpha 2014-04-27 23:36:41 +02:00
Latif Khalifa
0ed82aeb2e Recommend Alpha 5781 and up 2014-04-23 12:54:10 +02:00
Latif Khalifa
e01cca312f Nudge alpha users to update too 2014-01-29 04:32:59 +01:00
Latif Khalifa
a0b2d58099 1.8.5 release 2014-01-29 02:32:57 +01:00
Latif Khalifa
6c6899ebcd Alpha recommended to 5614 2014-01-26 00:32:05 +01:00
Latif Khalifa
7040e25769 Alpha recommended to 5610 2014-01-24 13:26:40 +01:00
Latif Khalifa
6db317033f Alpha recommended to 5607 2014-01-24 06:18:36 +01:00
Latif Khalifa
6b6dfb597b Revert "Alpha recommended to 5605"
This reverts commit 29166a13e6.
2014-01-24 05:55:34 +01:00
Latif Khalifa
29166a13e6 Alpha recommended to 5605 2014-01-24 03:07:40 +01:00
Latif Khalifa
a896e3ce54 Sourceforge is back
This reverts commit 7bc1ae350f.
2013-12-31 00:43:15 +01:00
Latif Khalifa
7bc1ae350f Sourceforge is not working atm 2013-12-30 16:04:47 +01:00
Latif Khalifa
bd0246838a Encourage testing of newer Alpha 2013-12-30 09:10:51 +01:00
Latif Khalifa
98a83ced7a Update to 5434 2013-11-16 17:20:20 +01:00
Latif Khalifa
b9a20960f9 Correct date 2013-11-14 18:08:31 +01:00
Latif Khalifa
5167d7928b Singularity 1.8.4 2013-11-14 17:33:21 +01:00
Latif Khalifa
95e36d7200 Alpha update 2013-11-12 03:46:52 +01:00
Latif Khalifa
9ad05711c9 Alpha update 2013-11-07 04:44:05 +01:00
Latif Khalifa
afd110c000 Alpha update 2013-10-31 21:21:11 +01:00
Latif Khalifa
0597fec87d Encourage alpha testers to update to buil 5311 2013-10-30 10:40:31 +01:00
Latif Khalifa
b006ca5681 Fixed a couple of typos in comments 2013-10-19 08:13:04 +02:00
Latif Khalifa
2d5cf46e51 Introduce the concept of 'minimum recommended alpha' so users of alpha builds can be nudged to update 2013-10-19 07:52:14 +02:00
Latif Khalifa
f294ca6708 1.8.3 release 2013-09-18 10:31:51 +02:00
Latif Khalifa
6d68c2b023 Force opening download page in external browser 2013-09-09 22:29:02 +02:00
Latif Khalifa
849fbee70e 1.8.2 release 2013-08-29 03:00:11 +02:00
Latif Khalifa
d837af8158 Open downloads page in the full window 2013-08-17 18:39:51 +02:00
Latif Khalifa
66f35a1db0 Workaroud for Chrome being stupid.
Chrome on Windows flags the downaload as malware from this widget, but not from
the download page. Sent Windows Chrome users to the downloads page then! index.html
2013-08-17 18:32:15 +02:00
Latif Khalifa
5549837145 1.8.1 release 2013-08-12 19:51:53 +02:00
Latif Khalifa
f547f7e01e Typofix 2013-07-29 19:06:00 +02:00
Latif Khalifa
23f912c28e Added downloads widget, moved login page to separate dir 2013-07-22 18:12:44 +02:00
8 changed files with 353 additions and 1 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
*~
*.bak

View File

@@ -10,7 +10,7 @@ change line
var current_version = "1.8.0 (4114)";
to whichever is thelatest version is available on the main site
to whichever is the latest version is available on the main site
<http://www.singularityviewer.org/>
All of the work is done on "gh-pages" branch so that the pages can be

28
api/get_update_info.json Normal file
View File

@@ -0,0 +1,28 @@
{
"release":{
"url":"http://www.singularityviewer.org/",
"recommended":{
"windows":"1.8.9 (8338)",
"apple":"1.8.9 (8709)",
"linux":"1.8.9 (8338)"
},
"minimum":{
"windows":"1.8.9 (8338)",
"apple":"1.8.9 (8709)",
"linux":"1.8.9 (8338)"
}
},
"alpha":{
"url":"http://www.singularityviewer.org/kb/nightly-builds",
"recommended":{
"windows":"1.8.9 (8382)",
"apple":"1.8.9 (8709)",
"linux":"1.8.9 (8382)"
},
"minimum":{
"windows":"1.8.7 (8193)",
"apple":"1.8.9 (8709)",
"linux":"1.8.7 (8193)"
}
}
}

151
downloads/index.html Normal file
View File

@@ -0,0 +1,151 @@
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset=utf-8 />
<title>Singularity Quick Download</title>
<style>
body{
padding: 0px;
margin: 0px;
background-color: #1b1b1b;
}
a{
display: block;
width: 224px;
height: 44px;
padding-left: 64px;
padding-top: 56px;
padding-bottom: 12px;
padding-right: 96px;
margin: 0px;
border: 0px;
font-family: sans-serif;
font-size: 16px;
color: white;
line-height: 48px;
text-decoration: none;
background-image: url(http://www.singularityviewer.org/home/sg_download_unknown.png);
}
#windows{
display: none;
background-image: url(http://www.singularityviewer.org/home/sg_download_windows.png);
}
#windows64{
display: none;
background-image: url(http://www.singularityviewer.org/home/sg_download_windows.png);
}
#windows_chrome{
display: none;
background-image: url(http://www.singularityviewer.org/home/sg_download_windows.png);
}
#mac{
display: none;
background-image: url(http://www.singularityviewer.org/home/sg_download_mac.png);
}
#linux{
display: none;
background-image: url(http://www.singularityviewer.org/home/sg_download_linux.png);
}
#linux64{
display: none;
background-image: url(http://www.singularityviewer.org/home/sg_download_linux64.png);
}
span{
text-align: center;
vertical-align: middle;
line-height: 16px;
}
</style>
</head>
<body>
<a id="windows"
href="https://github.com/singularity-viewer/SingularityViewer/releases/download/sv-1.8.9.8338-release/Singularity_1_8_9_8338_i686_Setup.exe"><span>
Singularity 1.8.9 (8338)<br/>
1 Apr 2020
for Windows
</span></a>
<a id="windows64"
href="https://github.com/singularity-viewer/SingularityViewer/releases/download/sv-1.8.9.8338-release/Singularity_1_8_9_8338_x86_64_Setup.exe"><span>
Singularity 1.8.9 (8338)<br/>
1 Apr 2020
for Windows
</span></a>
<a id="windows_chrome"
href="http://www.singularityviewer.org/downloads/#windows" target="_top"><span>
Singularity 1.8.9 (8338)<br/>
Latest Builds
for Windows
</span></a>
<a id="mac"
href="https://bitbucket.org/router_gray/singularityviewer/downloads/Singularity_Alpha_1_8_9_8709_x86_64.dmg"><span>
Singularity 1.8.9 (8709)<br/>
7 May 2020
for OS X
</span></a>
<a id="linux64"
href="https://github.com/singularity-viewer/SingularityViewer/releases/download/sv-1.8.9.8338-release/Singularity_1_8_9_8338_x86_64.tar.xz"><span>
Singularity 1.8.9 (8338)<br/>
1 Apr 2020
for Linux64
</span></a>
<a id="linux"
href="https://bitbucket.org/SingularityViewer/singularityviewer/downloads/Singularity-i686-1.8.6.6157.tar.bz2"><span>
Singularity 1.8.6(6157)<br/>
27 Feb 2015
for Obsolete Linux
</span></a>
<a id="unknown" href="http://www.singularityviewer.org/downloads"><span>
Unable to detect your system. <br/> Please visit Download section.</span></a>
<script type="text/javascript">
var p = navigator.platform;
var ua = navigator.userAgent.toLowerCase();
var is_64 = ua.indexOf("x86_64") != -1 || ua.indexOf("x86-64") != -1 || ua.indexOf("win64") != -1 ||
ua.indexOf("x64;") != -1 || ua.indexOf("amd64") != -1 || ua.indexOf("wow64") != -1 || ua.indexOf("x64_64") != -1;
if ((p.indexOf("Win32")!= -1) || (p.indexOf("Win64")!= -1)) {
if (ua.indexOf('chrome')!= -1) {
document.getElementById("windows_chrome").style.display = "block";
} else {
if (is_64) {
document.getElementById("windows64").style.display = "block";
}
else {
document.getElementById("windows").style.display = "block";
}
}
document.getElementById("unknown").style.display = "none";
}
else if (p.indexOf("Linux")!= -1) {
if (is_64) {
document.getElementById("linux64").style.display = "block";
}
else {
document.getElementById("linux").style.display = "block";
}
document.getElementById("unknown").style.display = "none";
}
else if (p.indexOf("MacIntel")!= -1) {
document.getElementById("mac").style.display = "block";
document.getElementById("unknown").style.diplay = "none";
}
function nightly_page() { window.top.location.href = 'http://nightly.singularityviewer.org' }
</script>
</body>
</html>

BIN
login/alert.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
login/down_arrow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

171
login/index.html Normal file
View File

@@ -0,0 +1,171 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Singularity Viewer</title>
<script type="text/javascript">
//<![CDATA[
/*
* Source: https://github.com/singularity-viewer/login-page
*/
var toolbarShown = true;
var urlParams = {};
// Replace addition symbols with space
function parseUrlParams() {
function decode(s) { return decodeURIComponent(s.replace(/\+/g, " ")); }
const search = /([^&=]+)=?([^&]*)/g;
const query = window.location.search.substring(1);
let match = undefined;
while (match = search.exec(query))
urlParams[decode(match[1])] = decode(match[2]);
}
function pageY(elem)
{
return elem.offsetParent ? (elem.offsetTop + pageY(elem.offsetParent)) : elem.offsetTop;
}
function resizeIframe()
{
let height = document.documentElement.clientHeight;
let orig = document.getElementById('origpage');
height -= pageY(orig);
height = (height < 0) ? 0 : height;
orig.style.height = height + 'px';
}
function setVisible(e, visible)
{
var elem = document.getElementById(e);
if (!elem) return;
elem.style.display = visible ? "block" : "none";
}
function updateVisibility(visible)
{
setVisible("opentoolbar", !visible);
setVisible("singtoolbar", visible);
resizeIframe();
}
function toggleToolbar()
{
toolbarShown = !toolbarShown;
updateVisibility(toolbarShown);
}
// Main
window.onload = function()
{
parseUrlParams();
if (!urlParams["original_page"] || !urlParams["channel"]) return;
window.onresize = resizeIframe;
let orig = document.getElementById('origpage');
orig.onload = resizeIframe;
orig.setAttribute("src", urlParams["original_page"]);
document.getElementById('closetoolbar').onclick = toggleToolbar;
document.getElementById('opentoolbar').onclick = toggleToolbar;
// Customize message per channel
const channel = urlParams["channel"];
setVisible(
channel == "Singularity Alpha" ? "alpha_updateavail" :
channel == "Singularity Zero" ? urlParams["lang"] == "fr" ? "zero_updatetoalpha_fr" : "zero_updatetoalpha" :
"updateavail",
true);
updateVisibility(toolbarShown);
}
//]]>
</script>
<style media="screen" type="text/css">
html, body
{
font-family: Arial, sans-serif;
font-size: 14px;
color: #bbb;
background-color: #212121;
height: 100%;
width: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
a
{
color: #fff;
text-decoration: none;
}
a:hover
{
text-decoration: underline;
}
#origpage
{
height: 100%;
width: 100%;
margin: 0;
padding: 0;
border: none;
}
#singtoolbar
{
display: none;
margin-top: 25px;
}
#opentoolbar
{
position: absolute;
top: 0px;
right: 0px;
display: none;
}
#closetoolbar
{
position: absolute;
top: 0px;
right: 0px;
margin-top: 19px;
}
</style>
</head>
<body>
<div id="opentoolbar" title="Version check"><img src="down_arrow.png" /></div>
<div id="singtoolbar">
<div id="closetoolbar"><img src="x.png"/></div>
<div id="toolbarcontent" style="margin: 0px 4px 10px 12px;">
<div id="updateavail" style="display: none;">
<img src="alert.png" style="vertical-align: bottom;" />
An updated version of Singularity is available. Please visit the
<a href="http://www.singularityviewer.org/" target="_external">Singularity main site</a>
to download it.
</div>
<div id="alpha_updateavail" style="display: none;">
<img src="alert.png" style="vertical-align: bottom;" />
An updated version of Singularity is available. Please visit the
<a href="http://www.singularityviewer.org/kb/nightly-builds" target="_external">Singularity Nightly builds page</a>
to download it.
</div>
<div id="zero_updatetoalpha" style="display: none;">
<img src="alert.png" style="vertical-align: bottom;" />
Thank you kindly, for testing Singularity Zero, please migrate to Singularity nightly from the
<a href="http://www.singularityviewer.org/kb/nightly-builds" target="_external">nightly builds page</a>
~
</div>
<div id="zero_updatetoalpha_fr" style="display: none;">
<img src="alert.png" style="vertical-align: bottom;" />
Nous remercions, grandement les gens qui ont aidé en testant la zero, maintenant elle est basculée sur une nightly:
<a href="http://www.singularityviewer.org/kb/nightly-builds" target="_external">nightly builds page</a>
~
</div>
</div>
</div>
<iframe id="origpage"/>
</body>
</html>

BIN
login/x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB