kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
Make app.gridtracker.org all http
rodzic
438a3e2f8e
commit
bc52bf0c01
|
@ -1066,7 +1066,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
<br />
|
<br />
|
||||||
<div
|
<div
|
||||||
class="button"
|
class="button"
|
||||||
onclick="require('nw.gui').Shell.openExternal('https://app.gridtracker.org/gt_print.html');"
|
onclick="require('nw.gui').Shell.openExternal('http://app.gridtracker.org/gt_print.html');"
|
||||||
>
|
>
|
||||||
Print
|
Print
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -234,11 +234,11 @@ function oqrsValuesChanged() {
|
||||||
function oqrsDownload(fromSettings) {
|
function oqrsDownload(fromSettings) {
|
||||||
oqrsUpdatedTd.innerHTML = "<b><i>Downloading...</i></b>";
|
oqrsUpdatedTd.innerHTML = "<b><i>Downloading...</i></b>";
|
||||||
getBuffer(
|
getBuffer(
|
||||||
"https://app.gridtracker.org/clublog.json",
|
"http://app.gridtracker.org/clublog.json",
|
||||||
processoqrsCallsigns,
|
processoqrsCallsigns,
|
||||||
null,
|
null,
|
||||||
"https",
|
"http",
|
||||||
443
|
80
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -449,11 +449,11 @@ function ulsDownload() {
|
||||||
ulsUpdatedTd.innerHTML = "<b><i>Downloading...</i></b>";
|
ulsUpdatedTd.innerHTML = "<b><i>Downloading...</i></b>";
|
||||||
ulsCountTd.innerHTML = 0;
|
ulsCountTd.innerHTML = 0;
|
||||||
getChunkedBuffer(
|
getChunkedBuffer(
|
||||||
"https://app.gridtracker.org/callsigns.txt",
|
"http://app.gridtracker.org/callsigns.txt",
|
||||||
processulsCallsigns,
|
processulsCallsigns,
|
||||||
null,
|
null,
|
||||||
"https",
|
"http",
|
||||||
443
|
80
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -570,17 +570,16 @@ function processulsCallsigns(data, flag, cookies, starting, finished) {
|
||||||
'")'
|
'")'
|
||||||
);
|
);
|
||||||
if (g_ulsCallsignsCount % 10000 == 0) {
|
if (g_ulsCallsignsCount % 10000 == 0) {
|
||||||
tx.executeSql(
|
tx.executeSql("SELECT count(*) as cnt FROM calls", [], function (
|
||||||
"SELECT count(*) as cnt FROM calls",
|
rx,
|
||||||
[],
|
results
|
||||||
function (rx, results) {
|
) {
|
||||||
var len = results.rows.length,
|
var len = results.rows.length,
|
||||||
i;
|
i;
|
||||||
if (len == 1) {
|
if (len == 1) {
|
||||||
ulsCountTd.innerHTML = results.rows[0]["cnt"];
|
ulsCountTd.innerHTML = results.rows[0]["cnt"];
|
||||||
}
|
}
|
||||||
}
|
});
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -600,10 +599,10 @@ function processulsCallsigns(data, flag, cookies, starting, finished) {
|
||||||
g_ulsLoadTimer = setTimeout(ulsDownload, ulsWhenTimer * 1000);
|
g_ulsLoadTimer = setTimeout(ulsDownload, ulsWhenTimer * 1000);
|
||||||
|
|
||||||
g_ulsDatabase.transaction(function (tx) {
|
g_ulsDatabase.transaction(function (tx) {
|
||||||
tx.executeSql(
|
tx.executeSql("SELECT count(*) as cnt FROM calls", [], function (
|
||||||
"SELECT count(*) as cnt FROM calls",
|
rx,
|
||||||
[],
|
results
|
||||||
function (rx, results) {
|
) {
|
||||||
var len = results.rows.length,
|
var len = results.rows.length,
|
||||||
i;
|
i;
|
||||||
if (len == 1) {
|
if (len == 1) {
|
||||||
|
@ -614,8 +613,7 @@ function processulsCallsigns(data, flag, cookies, starting, finished) {
|
||||||
ulsSettingsDisplay();
|
ulsSettingsDisplay();
|
||||||
updateQSO();
|
updateQSO();
|
||||||
}
|
}
|
||||||
}
|
});
|
||||||
);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9442,11 +9442,11 @@ function newMessageSetting(whichSetting) {
|
||||||
function checkForNewVersion(showUptoDate) {
|
function checkForNewVersion(showUptoDate) {
|
||||||
if (typeof nw != "undefined")
|
if (typeof nw != "undefined")
|
||||||
getBuffer(
|
getBuffer(
|
||||||
"https://app.gridtracker.org/version.txt?lang=" + g_localeString,
|
"http://app.gridtracker.org/version.txt?lang=" + g_localeString,
|
||||||
versionCheck,
|
versionCheck,
|
||||||
showUptoDate,
|
showUptoDate,
|
||||||
"https",
|
"http",
|
||||||
443
|
80
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2663,11 +2663,11 @@ function stateChangedValue(what) {
|
||||||
if (window.opener.g_mapSettings.offlineMode == false) {
|
if (window.opener.g_mapSettings.offlineMode == false) {
|
||||||
var callState = r_currentUSState.replace("CN-", "");
|
var callState = r_currentUSState.replace("CN-", "");
|
||||||
getBuffer(
|
getBuffer(
|
||||||
"https://app.gridtracker.org/callsigns/" + callState + ".callsigns.json",
|
"http://app.gridtracker.org/callsigns/" + callState + ".callsigns.json",
|
||||||
callsignResult,
|
callsignResult,
|
||||||
r_currentUSState,
|
r_currentUSState,
|
||||||
"https",
|
"http",
|
||||||
443
|
80
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
window.opener.goProcessRoster();
|
window.opener.goProcessRoster();
|
||||||
|
@ -2915,11 +2915,11 @@ function init() {
|
||||||
|
|
||||||
if (window.opener.g_mapSettings.offlineMode == false)
|
if (window.opener.g_mapSettings.offlineMode == false)
|
||||||
getBuffer(
|
getBuffer(
|
||||||
"https://app.gridtracker.org/callsigns/manifest.json",
|
"http://app.gridtracker.org/callsigns/manifest.json",
|
||||||
manifestResult,
|
manifestResult,
|
||||||
null,
|
null,
|
||||||
"https",
|
"http",
|
||||||
443
|
80
|
||||||
);
|
);
|
||||||
|
|
||||||
loadSettings();
|
loadSettings();
|
||||||
|
|
Ładowanie…
Reference in New Issue