Skip to content

Commit

Permalink
use https for default csv database file
Browse files Browse the repository at this point in the history
  • Loading branch information
jontio committed Dec 31, 2016
1 parent 2109dd9 commit 9a11e3c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion JAERO/gui_classes/settingsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ void SettingsDialog::populatesettings()
ui->lineEditplanesfolder->setText(settings.value("lineEditplanesfolder",QStandardPaths::standardLocations(APPDATALOCATIONS)[0]+"/planes").toString());
ui->lineEditplanelookup->setText(settings.value("lineEditplanelookup","http://www.flightradar24.com/data/airplanes/{REG}").toString());
//ui->lineEditplanelookup->setText(settings.value("lineEditplanelookup","http://junzisun.com/aif/?q={AES}#").toString());
ui->lineEditDBURL->setText(settings.value("lineEditDBURL2","http://junzisun.com/adb/download").toString());
ui->lineEditDBURL->setText(settings.value("lineEditDBURL2","https://junzisun.com/adb/download").toString());
ui->checkBoxbeepontextmessage->setChecked(settings.value("checkBoxbeepontextmessage",true).toBool());
lastdbupdate=settings.value("lastdbupdate3").toDate();
ui->lineEditudpoutputdecodedmessagesaddress->setText(settings.value("lineEditudpoutputdecodedmessagesaddress","localhost:18765").toString());
Expand All @@ -131,6 +131,10 @@ void SettingsDialog::populatesettings()
ui->checkOutputADSMessageToTCP->setChecked(settings.value("checkOutputADSMessageToTCP",false).toBool());
ui->checkTCPAsClient->setChecked(settings.value("checkTCPAsClient",false).toBool());

//csv url change as of December 2016. The url has gone from http to https but that seems to be the only change.
//this will see if anyone is using the old http address and chenage it to https.
//the downside is the old address can't be used with this line present
if(ui->lineEditDBURL->text()=="http://junzisun.com/adb/download")ui->lineEditDBURL->setText("https://junzisun.com/adb/download");

//these have been tested so far as lineEditplanelookup
//http://junzisun.com/aif/?q={AES}#
Expand Down
2 changes: 1 addition & 1 deletion JAERO/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ void MainWindow::AboutSlot()
{
QMessageBox::about(this,"JAERO",""
"<H1>An Aero demodulator and decoder</H1>"
"<H3>v1.0.4.5</H3>"
"<H3>v1.0.4.6</H3>"
"<p>This is a program to demodulate and decode Aero signals. These signals contain SatCom ACARS (<em>Satelitle Comunication Aircraft Communications Addressing and Reporting System</em>) messages as used by planes beyond VHF ACARS range. This protocol is used by Inmarsat's \"Classic Aero\" system and can be received using low or medium gain L band or high gain C band antennas.</p>"
"<p>For more information about this application see <a href=\"http://jontio.zapto.org/hda1/jaero.html\">http://jontio.zapto.org/hda1/jaero.html</a>.</p>"
"<p>Jonti 2016</p>" );
Expand Down

0 comments on commit 9a11e3c

Please sign in to comment.