Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Commit

Permalink
Merge pull request #122 from Nikolai558/development
Browse files Browse the repository at this point in the history
Ready for Release of 0.8.2
  • Loading branch information
Nikolai558 authored Aug 28, 2021
2 parents fce3c77 + a625448 commit 3da9b29
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 35 deletions.
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@

## Pre-V1.0.0
---
- ## Version 0.8.2
- Fixed bugs #120 and #118. There was an update to the telophony website we use. This broke NASR2SCT
- Modified backend code to account for HTML updates from various websites NASR2SCT uses.

- ## Version 0.8.1
- Change log on Update question will display all changes from user version and up to the latest release.
- FAQ button added. This will take you to a Facts And Questions google slide.
Expand Down
42 changes: 40 additions & 2 deletions ClassData/DataAccess/GetTelephony.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,20 @@ public void readFAAData(string websiteFilePath)

bool inTableRow = false;
bool inTableData = false;
bool inParagraph = false;

TelephonyModel currentTelephony = new TelephonyModel();

int count = 0;
string completedLine = "";

foreach (string line in allLines)
{
if (inParagraph == false)
{
completedLine = "";
}

if (line.Contains("<tr>"))
{
inTableRow = true;
Expand Down Expand Up @@ -56,9 +63,40 @@ public void readFAAData(string websiteFilePath)
{
string[] badCharacters = new string[] { " ", ",", ".", "/", "!", "@", "#", "$", "%", "^", "&", "*", "\'", ";", "_", "(", ")", ":", "|", "[", "]", "-", "~", "`", "+", "\"" };

if (line.Contains("<p") && line.Contains("</p>"))
{
completedLine = line.Trim();
inParagraph = false;
}
else if (line.Contains("<p"))
{
inParagraph = true;
completedLine += " " + line.Trim();
continue;
}
else if (line.Contains("</p>"))
{
inParagraph = false;
completedLine += " " + line.Trim();
}
else if (inParagraph)
{
completedLine += " " + line.Trim();
continue;
}
else
{
continue;
}


if (completedLine == "")
{
throw new Exception("Error creating full paragraph tag.");
}
if (count == 1)
{
string telephonyData = line.Split('>')[1];
string telephonyData = completedLine.Split('>')[1];

if (telephonyData.Contains('<'))
{
Expand All @@ -78,7 +116,7 @@ public void readFAAData(string websiteFilePath)
}
else if (count == 4)
{
string threeLDData = line.Split('>')[1];
string threeLDData = completedLine.Split('>')[1];

if (threeLDData.Contains('<'))
{
Expand Down
2 changes: 1 addition & 1 deletion ClassData/GlobalConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace NASARData
/// </summary>
public class GlobalConfig
{
public static readonly string ProgramVersion = "0.8.1";
public static readonly string ProgramVersion = "0.8.2";

public static string GithubVersion = "";

Expand Down
4 changes: 2 additions & 2 deletions NASR_GUI/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.8.1")]
[assembly: AssemblyFileVersion("0.8.1")]
[assembly: AssemblyVersion("0.8.2")]
[assembly: AssemblyFileVersion("0.8.2")]
16 changes: 4 additions & 12 deletions ReleaseTemplate.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
0.8.1
0.8.2

Release Candidate V-0.8.1
Release Candidate V-0.8.2

## Instructions to install:
1. Download the zip file named "NASR2SCT-0.8.1.zip"
Expand All @@ -9,13 +9,5 @@ Release Candidate V-0.8.1
4. Run the Setup.exe

## Change log:
- Change log on Update question will display all changes from user version and up to the latest release.
- FAQ button added. This will take you to a Facts And Questions google slide.
- Choosing AIRAC cycle phrase/question changed.
- Fixed bug where program crashes if the user is not connected to the internet.
- Fixed bug where program states it's complete when it really is not. This happened when a file download failed.
- Fixed Credit screen title.
- New Functionality to FAA Chart Recal Commands
- Charts without computer codes will be generated with the first 5 characters (not including spaces) of the chart name.
- Gather WX Station data from Vatsim
- This may cause issues, if so please report in issues section on github.
- Fixed backend code to account for HTML changes for the websites NASR2SCT uses.
- Fixed bugs #118 and #120
27 changes: 9 additions & 18 deletions packages/squirrel.windows.2.0.1/tools/Squirrel-Releasify.log
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
[03/06/21 10:48:37] info: Program: Starting Squirrel Updater: --releasify NASR2SCT.0.8.0.nupkg
[03/06/21 10:48:37] info: Program: Bootstrapper EXE found at:C:\Repos\NASR2SCT\packages\squirrel.windows.2.0.1\tools\Setup.exe
[03/06/21 10:48:37] info: Program: Creating release package: C:\Repos\NASR2SCT\Releases\NASR2SCT.0.8.0.nupkg
[03/06/21 10:48:37] info: ReleasePackage: Creating release package: C:\Repos\NASR2SCT\Releases\NASR2SCT.0.8.0.nupkg => C:\Repos\NASR2SCT\Releases\NASR2SCT-0.8.0-full.nupkg
[03/06/21 10:48:37] info: ReleasePackage: Extracting dependent packages: []
[03/06/21 10:48:37] info: ReleasePackage: Removing unnecessary data
[03/06/21 10:48:37] info: ReleasePackage: No release notes found in C:\Users\Pocono Coast West\AppData\Local\SquirrelTemp\tempc\NASR2SCT.nuspec
[03/06/21 10:48:38] info: Program: Building embedded zip file for Setup.exe
[03/06/21 10:48:42] info: Program: Finished Squirrel Updater
[03/08/21 18:11:03] info: Program: Starting Squirrel Updater: --releasify NASR2SCT.0.8.1.nupkg
[03/08/21 18:11:03] info: Program: Bootstrapper EXE found at:C:\Repos\NASR2SCT\packages\squirrel.windows.2.0.1\tools\Setup.exe
[03/08/21 18:11:03] info: Program: Creating release package: C:\Repos\NASR2SCT\Releases\NASR2SCT.0.8.1.nupkg
[03/08/21 18:11:04] info: ReleasePackage: Creating release package: C:\Repos\NASR2SCT\Releases\NASR2SCT.0.8.1.nupkg => C:\Repos\NASR2SCT\Releases\NASR2SCT-0.8.1-full.nupkg
[03/08/21 18:11:04] info: ReleasePackage: Extracting dependent packages: []
[03/08/21 18:11:04] info: ReleasePackage: Removing unnecessary data
[03/08/21 18:11:04] info: ReleasePackage: No release notes found in C:\Users\nikol\AppData\Local\SquirrelTemp\tempa\NASR2SCT.nuspec
[03/08/21 18:11:06] info: Program: Building embedded zip file for Setup.exe
[03/08/21 18:11:11] info: Program: Finished Squirrel Updater
[28/08/21 12:48:50] info: Program: Starting Squirrel Updater: --releasify NASR2SCT.0.8.2.nupkg
[28/08/21 12:48:50] info: Program: Bootstrapper EXE found at:C:\Repos\NASR2SCT\packages\squirrel.windows.2.0.1\tools\Setup.exe
[28/08/21 12:48:50] info: Program: Creating release package: C:\Repos\NASR2SCT\Releases\NASR2SCT.0.8.2.nupkg
[28/08/21 12:48:50] info: ReleasePackage: Creating release package: C:\Repos\NASR2SCT\Releases\NASR2SCT.0.8.2.nupkg => C:\Repos\NASR2SCT\Releases\NASR2SCT-0.8.2-full.nupkg
[28/08/21 12:48:50] info: ReleasePackage: Extracting dependent packages: []
[28/08/21 12:48:50] info: ReleasePackage: Removing unnecessary data
[28/08/21 12:48:50] info: ReleasePackage: No release notes found in C:\Users\Pocono Coast West\AppData\Local\SquirrelTemp\tempc\NASR2SCT.nuspec
[28/08/21 12:48:51] info: Program: Building embedded zip file for Setup.exe
[28/08/21 12:48:55] info: Program: Finished Squirrel Updater

0 comments on commit 3da9b29

Please sign in to comment.