Squashed commits '${title}'

master
T Loomis 2024-09-08 22:40:53 +00:00
rodzic dcd1970d1f
commit 60d40b6121
10 zmienionych plików z 55 dodań i 57 usunięć

4
debian/changelog vendored
Wyświetl plik

@ -1,4 +1,4 @@
gridtracker (1.24.0907) unstable; urgency=low
gridtracker (1.24.8907) unstable; urgency=low
- Main - Map View Filters can now be hidden
- Main - Conditions button now planetary K-index (5 minute update)
- Main - Fixed Prediction button not returning when going online
@ -10,7 +10,7 @@ gridtracker (1.24.0907) unstable; urgency=low
- System - Missing translations for Spanish and German fixed
- System - Map engine OpenLayers updated to 10.1.0
- System - BIGCTY update from September 5th
-- Tag Loomis <n0ttl@gridtracker.org> Sat, 07 Sep 2024 00:00:00 -000
-- Tag Loomis <n0ttl@gridtracker.org> Sun, 08 Sep 2024 00:00:00 -000
gridtracker (1.24.0814) unstable; urgency=low
- Map - Added layer attribution

Wyświetl plik

@ -1,6 +1,6 @@
Name: {{{ git_name name=gridtracker }}}
Summary: GridTracker: An Amateur Radio Companion
Version: 1.24.0907
Version: 1.24.0908
Release: 1%{?dist}
BuildArch: noarch
Source0: {{{ git_dir_pack }}}
@ -40,7 +40,7 @@ DESTDIR=${RPM_BUILD_ROOT} make clean
%license %{_docdir}/%{name}/
%changelog
* Sat Sep 07 2024 Tag Loomis <n0ttl@gridtracker.org> - 1.24.0907-1
* Sun Sep 08 2024 Tag Loomis <n0ttl@gridtracker.org> - 1.24.0908-1
- Main - Map View Filters can now be hidden
- Main - Conditions button now planetary K-index (5 minute update)
- Main - Fixed Prediction button not returning when going online

Wyświetl plik

@ -55,6 +55,18 @@
"maxZoom": 18,
"offline": false
},
"Terrain by Esri (No Labels)": {
"url": "https://server.arcgisonline.com/ArcGIS/rest/services/World_Terrain_Base/MapServer/tile/{z}/{y}/{x}",
"attribution": "Esri",
"maxZoom": 13,
"offline": false
},
"Shaded Relief by Esri (No Labels)": {
"url": "https://server.arcgisonline.com/ArcGIS/rest/services/World_Shaded_Relief/MapServer/tile/{z}/{y}/{x}",
"attribution": "Esri",
"maxZoom": 13,
"offline": false
},
"Humanitarian by OpenStreetMap (Intl)": {
"url": "http://{a-c}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png",
"attributions": "<a href=\"http://openstreetmap.org/\" target=\"_blank\">OpenStreetMap</a>",
@ -74,6 +86,12 @@
"maxZoom": 16,
"offline": false
},
"Oceans by Esri (No Labels)": {
"url": "https://server.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer/tile/{z}/{y}/{x}",
"attributions": "Esri",
"maxZoom": 10,
"offline": false
},
"Midnight Commander by Carto (No Labels)": {
"url": "https://cartocdn_{a-d}.global.ssl.fastly.net/base-midnight/{z}/{x}/{y}.png",
"attributions": "Carto",
@ -161,5 +179,12 @@
"minZoom": 3,
"maxZoom": 19,
"offline": false
},
"City Lights by NASA (No Labels)": {
"url": "https://tagloomis.com/maps/CityLights2016/{z}/{x}/{-y}.png",
"attributions": "NASA",
"minZoom": 0,
"maxZoom": 5,
"offline": false
}
}

Plik binarny nie jest wyświetlany.

Plik binarny nie jest wyświetlany.

Wyświetl plik

@ -117,8 +117,7 @@ function lotwLoadCallsigns()
}
else
{
var data = fs.readFileSync(GT.lotwFile);
GT.lotwCallsigns = JSON.parse(data);
GT.lotwCallsigns = require(GT.lotwFile);
if (Object.keys(GT.lotwCallsigns).length < 100)
{
lotwDownload();
@ -417,8 +416,7 @@ function oqrsLoadCallsigns()
}
else
{
var data = fs.readFileSync(GT.oqrsFile);
GT.oqrsCallsigns = JSON.parse(data);
GT.oqrsCallsigns = require(GT.oqrsFile);
}
if (GT.callsignLookups.oqrsLastUpdate == 0)
{
@ -548,8 +546,7 @@ function eqslLoadCallsigns()
}
else
{
var data = fs.readFileSync(GT.eqslFile);
GT.eqslCallsigns = JSON.parse(data);
GT.eqslCallsigns = require(GT.eqslFile);
}
if (GT.callsignLookups.eqslLastUpdate == 0)
{
@ -934,8 +931,7 @@ function processCtyDat(buffer)
var file = "./data/mh-root-prefixed.json";
if (fs.existsSync(file))
{
var fileBuf = fs.readFileSync(file, "UTF-8");
var dxccInfo = JSON.parse(fileBuf);
var dxccInfo = require(file);
for (const key in dxccInfo)
{
dxccInfo[key].ituzone = null;

Wyświetl plik

@ -4340,7 +4340,7 @@ function initMap()
document.getElementById("mapDiv").innerHTML = "";
GT.maps = JSON.parse(fs.readFileSync(GT.mapsFile));
GT.maps = require(GT.mapsFile);
if (GT.maps)
{
var saveSettings = false;
@ -6515,8 +6515,7 @@ function importSettings()
var filename = GT.appData + GT.dirSeperator + "gt_settings.json";
if (fs.existsSync(filename))
{
var data = fs.readFileSync(filename);
data = JSON.parse(data);
var data = require(filename);
if (typeof data.appSettings != "undefined")
{
GT.localStorage = {};
@ -10762,8 +10761,7 @@ function loadMaidenHeadData()
var file = "./data/mh-root-prefixed.json";
if (fs.existsSync(file))
{
var fileBuf = fs.readFileSync(file, "UTF-8");
GT.dxccInfo = JSON.parse(fileBuf);
GT.dxccInfo = require(file);
for (var key in GT.dxccInfo)
{
@ -10817,19 +10815,14 @@ function loadMaidenHeadData()
if (GT.dxccInfo[key].dxcc != 291) { delete GT.dxccInfo[key].mh; }
}
file = "./data/dxcc.json";
var files = fs.readFileSync(file);
var dxccGeo = JSON.parse(files);
let dxccGeo = require("./data/dxcc.json");
for (var key in dxccGeo.features)
{
var dxcc = dxccGeo.features[key].properties.dxcc_entity_code;
GT.dxccInfo[dxcc].geo = dxccGeo.features[key];
}
file = "./data/counties.json";
files = fs.readFileSync(file);
var countyData = JSON.parse(files);
let countyData = require("./data/counties.json");
for (var id in countyData)
{
@ -10860,12 +10853,9 @@ function loadMaidenHeadData()
GT.zipToCounty[zipS].push(cnty);
}
}
files = null;
countyData = null;
GT.shapeData = JSON.parse(fs.readFileSync(GT.shapeFile));
GT.StateData = JSON.parse(fs.readFileSync("./data/state.json"));
GT.shapeData = require(GT.shapeFile);
GT.StateData = require("./data/state.json");
for (var key in GT.StateData)
{
@ -10876,12 +10866,8 @@ function loadMaidenHeadData()
}
}
file = "./data/phone.json";
fileBuf = fs.readFileSync(file, "UTF-8");
GT.phonetics = JSON.parse(fileBuf);
file = "./data/enums.json";
fileBuf = fs.readFileSync(file, "UTF-8");
GT.enums = JSON.parse(fileBuf);
GT.phonetics = require("./data/phone.json");
GT.enums = require("./data/enums.json");
for (var key in GT.dxccInfo)
{
@ -10909,11 +10895,8 @@ function loadMaidenHeadData()
}
}
fileBuf = fs.readFileSync("./data/cqzone.json");
GT.cqZones = JSON.parse(fileBuf);
fileBuf = fs.readFileSync("./data/ituzone.json");
GT.ituZones = JSON.parse(fileBuf);
GT.cqZones = require("./data/cqzone.json");
GT.ituZones = require("./data/ituzone.json");
for (var key in GT.StateData)
{
@ -11404,8 +11387,10 @@ function loadMapSettings()
shadowValue.value = GT.mapSettings.shadow;
showDarknessTd.innerHTML = parseInt(shadowValue.value * 100) + "%";
pathWidthTd.innerHTML = pathWidthValue.value = GT.appSettings.pathWidthWeight;
qrzPathWidthTd.innerHTML = qrzPathWidthValue.value =
GT.appSettings.qrzPathWidthWeight;
qrzPathWidthTd.innerHTML = qrzPathWidthValue.value = GT.appSettings.qrzPathWidthWeight;
mapTransValue.value = GT.mapSettings.mapTrans;
mapTransChange();
gridDecay.value = GT.appSettings.gridsquareDecayTime;
changeGridDecay();
@ -14397,15 +14382,13 @@ function mediaCheck()
msgAlertMedia.appendChild(newOption(filename, noExt));
});
var modeData = fs.readFileSync("./data/modes.json");
GT.modes = JSON.parse(modeData);
GT.modes = require("./data/modes.json");
for (var key in GT.modes)
{
gtModeFilter.appendChild(newOption(key));
}
modeData = fs.readFileSync("./data/modes-phone.json");
GT.modes_phone = JSON.parse(modeData);
GT.modes_phone = require("./data/modes-phone.json");
initQSOdata();
GT.QSOhash = {};
@ -14422,7 +14405,7 @@ function mediaCheck()
let fileExists = fs.existsSync(GT.NWappData + "internal_qso.json");
if (fileExists == true && GT.startVersion > 1240831)
{
var data = JSON.parse(fs.readFileSync(GT.NWappData + "internal_qso.json"));
var data = require(GT.NWappData + "internal_qso.json");
GT.tracker = data.tracker;
GT.myQsoGrids = data.myQsoGrids;
GT.myQsoCalls = data.myQsoCalls;
@ -14487,9 +14470,7 @@ function loadReceptionReports()
var clear = true;
if (fs.existsSync(GT.NWappData + "spots.json"))
{
GT.receptionReports = JSON.parse(
fs.readFileSync(GT.NWappData + "spots.json")
);
GT.receptionReports = require(GT.NWappData + "spots.json");
if (timeNowSec() - GT.receptionReports.lastDownloadTimeSec <= 86400) { clear = false; }
}

Wyświetl plik

@ -3473,10 +3473,9 @@ function loadAwardJson()
let fs = require("fs");
if (fs.existsSync("./data/awards.json"))
{
fileBuf = fs.readFileSync("./data/awards.json");
try
{
CR.awards = JSON.parse(fileBuf);
CR.awards = require("./data/awards.json");
for (const sp in CR.awards)
{
for (const aw in CR.awards[sp].awards)

Wyświetl plik

@ -33,7 +33,7 @@ if (document.title.substring(0, 12).trim() == "GridTracker")
{
if (fs.existsSync(filename))
{
let data = JSON.parse(fs.readFileSync(filename));
let data = require(filename);
if (data)
{
GT.localStorage = data;
@ -139,11 +139,8 @@ function saveScreenSettings()
setWindowInfo();
var setting = { showing: isShowing, zoomLevel: s_zoomLevel, window: g_windowInfo };
s_screenSettings = JSON.parse(GT.localStorage.screenSettings);
s_screenSettings[s_title] = setting;
GT.localStorage.screenSettings = JSON.stringify(s_screenSettings);
}
// listen to screen events

Wyświetl plik

@ -1,7 +1,7 @@
{
"name": "GridTracker",
"product_string_do_not_use": "gridtracker",
"version": "1.24.0907",
"version": "1.24.0908",
"betaVersion": "",
"description": "GridTracker: An Amateur Radio Companion",
"author": "GridTracker.org",