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 #95 from Nikolai558/development
Browse files Browse the repository at this point in the history
Ready for Release 0.7.8
  • Loading branch information
Nikolai558 authored May 4, 2021
2 parents cc2b9a6 + c291004 commit 886c128
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 20 deletions.
5 changes: 5 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@

## Pre-V1.0.0
---
- ## Version 0.7.8:
- Fixed Facility Id Drop Down Alignment #92
- Duplicate Airway Alias Commands are now put in the 'OTHER' section of the Duplicate Alias Commands Text file. #94 and #81
- Added Dialog message box with more information when a user is updating NASR2SCT #93

- ## Version 0.7.7:
- NEW FEATURE, ARTCC Publication Parser. #83
- NEW FEATURE, Telephony Alias Commands. #87
Expand Down
2 changes: 2 additions & 0 deletions ClassData/DataAccess/GetAwyData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ private void WriteAwyAlias()
}

File.WriteAllText(awyAliasFilePath, sb.ToString());
File.AppendAllText($"{GlobalConfig.outputDirectory}\\ALIAS\\AliasTestFile.txt", sb.ToString());

}


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.7.7";
public static readonly string ProgramVersion = "0.7.8";

public static string GithubVersion = "";

Expand Down
9 changes: 8 additions & 1 deletion ClassData/Models/AliasCheck.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace ClassData.Models
Expand Down Expand Up @@ -79,7 +80,7 @@ private void WriteDupFile(List<string> DuplicateCommandsList, List<AptModel> Air
string currentAirportIatta = "";
string aptIatta;

File.WriteAllText(outFilePath, "Duplicate Chart Recall commands per ARTCC. Solutions are required at ARTCC level.\n" +
File.WriteAllText(outFilePath, "Duplicate Alias commands per ARTCC. Solutions are required at ARTCC level.\n" +
"\tConsult developers if unable to resolve at a local level.\n\n");

foreach (string line in DuplicateCommandsList)
Expand All @@ -92,13 +93,19 @@ private void WriteDupFile(List<string> DuplicateCommandsList, List<AptModel> Air
}
else
{
int count = 1;
foreach (AptModel apt in AirportModels)
{
count += 1;
if (aptIatta == apt.Id)
{
File.AppendAllText(outFilePath, $"{apt.ResArtcc}\n");
break;
}
else if (count > AirportModels.Count())
{
File.AppendAllText(outFilePath, $"OTHER\n");
}
else
{
continue;
Expand Down
4 changes: 2 additions & 2 deletions NASR_GUI/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions NASR_GUI/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ private static void CheckVersion()

if (GlobalConfig.updateProgram)
{
string updateInformationMessage = "Once you click 'OK', all screens related to NASR2SCT will close.\n\n" +
"Once the program has fully updated, it will restart.";

MessageBox.Show(updateInformationMessage);

// Create our Temp Directory so we can download assets from Github and store them here.

/////////////////////////// TESTING - Checking to see if this is our problem code with the auto updater ///////////////////////////////////
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.7.7")]
[assembly: AssemblyFileVersion("0.7.7")]
[assembly: AssemblyVersion("0.7.8")]
[assembly: AssemblyFileVersion("0.7.8")]
20 changes: 6 additions & 14 deletions ReleaseTemplate.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
0.7.7
0.7.8

Release Candidate V-0.7.7
Release Candidate V-0.7.8

## Instructions to install:
1. Download the zip file named "NASR2SCT-0.7.7.zip"
1. Download the zip file named "NASR2SCT-0.7.8.zip"
2. Unzip the file
3. Keep all files inside it together.
4. Run the Setup.exe

## Change log:
- NEW FEATURE, ARTCC Publication Parser. #83
- NEW FEATURE, Telephony Alias Commands. #87
- Uninstall button works properly. #80
- Facility ID has a function and has been re-enabled.
- If you leave it as "FAA", ALL ARTCC Publications will be parsed.
- If you select your individual ARTCC, only the publications for that ARTCC will be parsed.
- Deleted Job links are ignored. #84
- This only effects when the FAA removes data. (Chart Recall Alias Commands)
- Removed "Run Again" button. #86
- "Checking Alias" (Duplicate Alias Commands) is now twice as fast. #89
- Default Output directory is the User's Desktop. #90
- Fixed Facility Id Drop Down Alignment #92
- Duplicate Airway Alias Commands are now put in the 'OTHER' section of the Duplicate Alias Commands Text file. #94 and #81
- Added Dialog message box with more information when a user is updating NASR2SCT #93

0 comments on commit 886c128

Please sign in to comment.