Import upstream v1.20.0923

Canadian-Provinces-Territories-Award-Layer v1.20.0923
Paul Traina 2020-09-24 22:43:29 -07:00
rodzic 76a6babc33
commit ef0fa6859f
5 zmienionych plików z 12 dodań i 13 usunięć

Plik binarny nie jest wyświetlany.

Wyświetl plik

@ -480,21 +480,18 @@ function grabLOtWLog(test)
{ {
if ( g_isGettingLOTW == false ) if ( g_isGettingLOTW == false )
{ {
var lastQSLDateString = "&qso_qslsince=1900-01-01"; var lastQSLDateString = "&qso_qsorxsince=1945-01-01&qso_qslsince=1945-01-01";
if ( test ) if ( test == true )
{ {
lotwTestResult.innerHTML = "Testing"; lotwTestResult.innerHTML = "Testing";
lastQSLDateString = "&qso_qslsince=2100-01-01"; lastQSLDateString = "&qso_qsosince=2100-01-01";
} }
getABuffer("https://lotw.arrl.org/lotwuser/lotwreport.adi?login=" + lotwLogin.value + "&password=" + encodeURIComponent(lotwPassword.value) +"&qso_query=1&qso_qsldetail=yes&qso_withown=yes&qso_qsl=yes"+lastQSLDateString, lotwCallback, test,"https",443, lotwLogImg,"g_isGettingLOTW", 120000); getABuffer("https://lotw.arrl.org/lotwuser/lotwreport.adi?login=" + lotwLogin.value + "&password=" + encodeURIComponent(lotwPassword.value) +"&qso_query=1&qso_qsl=no&qso_qsldetail=yes&qso_withown=yes"+lastQSLDateString, lotwCallback, test,"https",443, lotwLogImg,"g_isGettingLOTW", 120000);
} }
} }
function qrzCallback(buffer, flag) function qrzCallback(buffer, flag)
{ {
if ( buffer.indexOf("invalid api key") > -1 ) if ( buffer.indexOf("invalid api key") > -1 )

Wyświetl plik

@ -453,7 +453,7 @@ function updateQSO()
{ {
if (details.cnty.indexOf(",") == -1) if (details.cnty.indexOf(",") == -1)
{ {
if (!(details.state + "," + details.cnty in g_cntyToCounty[details.cnty])) if (!(details.state + "," + details.cnty in g_cntyToCounty))
lookupCall = true; lookupCall = true;
} }
else else

Wyświetl plik

@ -1,8 +1,8 @@
// GridTracker ©2020 N0TTL // GridTracker ©2020 N0TTL
var gtComment1 = "GridTracker is not open source, you may not change, modify or 'borrow' code for your needs that is redistributed in any form without first asking and receiving permission from N0TTL *and* N2VFL"; var gtComment1 = "GridTracker is not open source, you may not change, modify or 'borrow' code for your needs that is redistributed in any form without first asking and receiving permission from N0TTL *and* N2VFL";
var gtComment2 = "Third party libraries and functions used are seperated to third-party.js or their respective lib .js files, the GT close-source directive does not apply to these files of course"; var gtComment2 = "Third party libraries and functions used are seperated to third-party.js or their respective lib .js files, the GT close-source directive does not apply to these files of course";
var gtVersion = 1200922; var gtVersion = 1200923;
var gtBeta = "Elsa"; var gtBeta = "Elsa II";
var g_startVersion = 0; var g_startVersion = 0;
@ -6053,9 +6053,10 @@ function handleWsjtxDecode(newMessage) {
lastMessageWasInfo = true; lastMessageWasInfo = true;
} }
if ( g_appSettings.gtSpotEnable === true && callsign.DEcall in g_gtCallsigns ) if ( g_appSettings.gtSpotEnable === true && g_appSettings.gtSpotEnable === true && callsign.DEcall in g_gtCallsigns )
{ {
g_spotCollector[g_gtCallsigns[callsign.DEcall]] = callsign.RSTsent; if ( g_gtCallsigns[callsign.DEcall] in g_gtFlagPins && g_gtFlagPins[g_gtCallsigns[callsign.DEcall]].o == 1)
g_spotCollector[g_gtCallsigns[callsign.DEcall]] = callsign.RSTsent;
} }
} }

Wyświetl plik

@ -470,6 +470,7 @@ function gtChatNewList(jsmesg)
g_gtFlagPins[cid].mode = jsmesg.data.mode[key]; g_gtFlagPins[cid].mode = jsmesg.data.mode[key];
g_gtFlagPins[cid].cid = cid; g_gtFlagPins[cid].cid = cid;
g_gtFlagPins[cid].canmsg = jsmesg.data.canmsg[key]; g_gtFlagPins[cid].canmsg = jsmesg.data.canmsg[key];
g_gtFlagPins[cid].o = jsmesg.data.o[key];
g_gtFlagPins[cid].dxcc = callsignToDxcc(g_gtFlagPins[cid].call); g_gtFlagPins[cid].dxcc = callsignToDxcc(g_gtFlagPins[cid].call);
g_gtFlagPins[cid].live = true; g_gtFlagPins[cid].live = true;
g_gtCallsigns[g_gtFlagPins[cid].call] = cid; g_gtCallsigns[g_gtFlagPins[cid].call] = cid;