Make app.gridtracker.org all http

Canadian-Provinces-Territories-Award-Layer
Paul Traina 2020-12-04 17:50:14 -08:00
rodzic 438a3e2f8e
commit bc52bf0c01
4 zmienionych plików z 39 dodań i 41 usunięć

Wyświetl plik

@ -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>

Wyświetl plik

@ -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,22 +599,21 @@ 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) {
g_ulsCallsignsCount = results.rows[0]["cnt"]; g_ulsCallsignsCount = results.rows[0]["cnt"];
ulsCountTd.innerHTML = g_ulsCallsignsCount; ulsCountTd.innerHTML = g_ulsCallsignsCount;
g_callsignLookups.ulsLastUpdate = timeNowSec(); g_callsignLookups.ulsLastUpdate = timeNowSec();
saveCallsignSettings(); saveCallsignSettings();
ulsSettingsDisplay(); ulsSettingsDisplay();
updateQSO(); updateQSO();
}
} }
); });
}); });
} }

Wyświetl plik

@ -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
); );
} }

Wyświetl plik

@ -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();