diff --git a/.vs/DeskHubSharp/v15/.suo b/.vs/DeskHubSharp/v15/.suo
index cd668ae..48d2187 100644
Binary files a/.vs/DeskHubSharp/v15/.suo and b/.vs/DeskHubSharp/v15/.suo differ
diff --git a/.vs/DeskHubSharp/v15/Server/sqlite3/storage.ide b/.vs/DeskHubSharp/v15/Server/sqlite3/storage.ide
index b36fb0b..cf4c5ed 100644
Binary files a/.vs/DeskHubSharp/v15/Server/sqlite3/storage.ide and b/.vs/DeskHubSharp/v15/Server/sqlite3/storage.ide differ
diff --git a/DeskHubSharp/AboutWindow.xaml b/DeskHubSharp/AboutWindow.xaml
index e21dcc2..de8a1df 100644
--- a/DeskHubSharp/AboutWindow.xaml
+++ b/DeskHubSharp/AboutWindow.xaml
@@ -5,19 +5,13 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:DeskHubSharp"
mc:Ignorable="d"
- Title="About - DeskHubSharp" Height="450" Width="400" ResizeMode="NoResize">
+ Title="About - DeskHubSharp" Height="300" Width="400" ResizeMode="NoResize">
-
-
-
-
-
-
- Want to help with development?
-
-
-
+
+
+
+
This project cannot be done without the help of
johnvelis
@@ -35,5 +29,6 @@
tarkowr.
+
diff --git a/DeskHubSharp/BusinessLayer/EmailBLL.cs b/DeskHubSharp/BusinessLayer/EmailBLL.cs
index 726a6a0..325a183 100644
--- a/DeskHubSharp/BusinessLayer/EmailBLL.cs
+++ b/DeskHubSharp/BusinessLayer/EmailBLL.cs
@@ -13,9 +13,6 @@ namespace DeskHubSharp
{
class EmailBLL
{
- // TODO: finish this class
- // TODO: debug feedback form
-
private string _name;
private string _message;
private string _emailText;
diff --git a/DeskHubSharp/BusinessLayer/Request.cs b/DeskHubSharp/BusinessLayer/Request.cs
index 6936274..dd918a2 100644
--- a/DeskHubSharp/BusinessLayer/Request.cs
+++ b/DeskHubSharp/BusinessLayer/Request.cs
@@ -11,27 +11,44 @@ namespace DeskHubSharp
private ApiDataService _api;
private string _query;
+ ///
+ /// Constructor for the class
+ ///
+ ///
public Request(string query)
{
_query = query;
_api = new ApiDataService(_query);
}
+ ///
+ /// Performs the search request
+ ///
public void PerformSearchRequest()
{
_api.SearchRequest();
}
+ ///
+ /// Performs the user request
+ ///
public void PerformUserRequest()
{
_api.UserRequest();
}
+ ///
+ /// Performs the branch request
+ ///
public void PerformBranchRequest()
{
_api.BranchRequest();
}
+ ///
+ /// Performs the local owner request
+ ///
+ ///
public Owner GetUserData()
{
Owner owner = new Owner();
diff --git a/DeskHubSharp/DeskHubSharp.csproj b/DeskHubSharp/DeskHubSharp.csproj
index ff95bab..b3cef2a 100644
--- a/DeskHubSharp/DeskHubSharp.csproj
+++ b/DeskHubSharp/DeskHubSharp.csproj
@@ -78,6 +78,7 @@
+
SearchWindow.xaml
diff --git a/DeskHubSharp/HelpWindow.xaml b/DeskHubSharp/HelpWindow.xaml
index 01bbc54..47d1f1e 100644
--- a/DeskHubSharp/HelpWindow.xaml
+++ b/DeskHubSharp/HelpWindow.xaml
@@ -10,7 +10,7 @@
-
+
diff --git a/DeskHubSharp/MainWindow.xaml b/DeskHubSharp/MainWindow.xaml
index 5efccab..7aa347b 100644
--- a/DeskHubSharp/MainWindow.xaml
+++ b/DeskHubSharp/MainWindow.xaml
@@ -7,7 +7,7 @@
mc:Ignorable="d"
Title="DeskHubSharp" Height="450" Width="805" ResizeMode="NoResize">
-
+
@@ -25,7 +25,11 @@
-
+
+
+
+
+
diff --git a/DeskHubSharp/MainWindow.xaml.cs b/DeskHubSharp/MainWindow.xaml.cs
index fc5054f..d0a5e73 100644
--- a/DeskHubSharp/MainWindow.xaml.cs
+++ b/DeskHubSharp/MainWindow.xaml.cs
@@ -25,7 +25,6 @@ namespace DeskHubSharp
private User _userDetail;
private Request _request;
private RepoInfo _repoInfo;
-
public MainWindow()
{
InitializeComponent();
@@ -59,6 +58,7 @@ namespace DeskHubSharp
private void btn_exit_Click(object sender, RoutedEventArgs e)
{
this.Close();
+ Environment.Exit(0);
}
private void btn_about_Click(object sender, RoutedEventArgs e)
@@ -114,5 +114,10 @@ namespace DeskHubSharp
err.txtblk_error.Text = message;
err.ShowDialog();
}
+
+ private void btn_sort_Click(object sender, RoutedEventArgs e)
+ {
+
+ }
}
}
diff --git a/DeskHubSharp/Models/Email.cs b/DeskHubSharp/Models/Email.cs
index 22630a2..d7133ae 100644
--- a/DeskHubSharp/Models/Email.cs
+++ b/DeskHubSharp/Models/Email.cs
@@ -24,6 +24,9 @@ namespace DeskHubSharp
set { _toEmail = value; }
}
+ ///
+ /// Constructor for the Email class
+ ///
public Email()
{
diff --git a/DeskHubSharp/Models/License.cs b/DeskHubSharp/Models/License.cs
index c58e2ed..3b0c31b 100644
--- a/DeskHubSharp/Models/License.cs
+++ b/DeskHubSharp/Models/License.cs
@@ -6,6 +6,9 @@ using System.Threading.Tasks;
namespace DeskHubSharp
{
+ ///
+ /// Class from a JSON to a C# converter
+ ///
public class License
{
///
diff --git a/DeskHubSharp/Models/Owner.cs b/DeskHubSharp/Models/Owner.cs
index efefea7..7ceace9 100644
--- a/DeskHubSharp/Models/Owner.cs
+++ b/DeskHubSharp/Models/Owner.cs
@@ -6,8 +6,9 @@ using System.Threading.Tasks;
namespace DeskHubSharp
{
- // TODO: The Owner class is called by code behind, fix it
-
+ ///
+ /// Class from a JSON to a C# converter
+ ///
public class Owner
{
///
diff --git a/DeskHubSharp/Models/RequestList.cs b/DeskHubSharp/Models/RequestList.cs
index 936808d..73903a1 100644
--- a/DeskHubSharp/Models/RequestList.cs
+++ b/DeskHubSharp/Models/RequestList.cs
@@ -10,10 +10,19 @@ namespace DeskHubSharp
// TODO: The RequestList class is called from code behind, fix it
public class RequestList
{
+ ///
+ /// Stores everything in User, typically from the request
+ ///
public static User userDetail { get; set; }
+ ///
+ /// Stores everything sent in Branch, typically from request
+ ///
public static ObservableCollection branchDetail { get; set; }
+ ///
+ /// Stores everything sent in RepoDetail, typically from request
+ ///
public static ObservableCollection repoDetail { get; set; }
}
}
diff --git a/DeskHubSharp/Models/Sort.cs b/DeskHubSharp/Models/Sort.cs
new file mode 100644
index 0000000..4ae1b86
--- /dev/null
+++ b/DeskHubSharp/Models/Sort.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace DeskHubSharp
+{
+ public static class Sort
+ {
+ public enum SortBox
+ {
+ Alphabettically,
+ MostStars,
+ MostForks,
+ MostWatchers
+ }
+ }
+}
diff --git a/DeskHubSharp/obj/Debug/App.g.cs b/DeskHubSharp/obj/Debug/App.g.cs
index ba9120c..82e1d5e 100644
--- a/DeskHubSharp/obj/Debug/App.g.cs
+++ b/DeskHubSharp/obj/Debug/App.g.cs
@@ -1,4 +1,4 @@
-#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8924CF88FE4A7948C7314277251E7D79D8D8F350"
+#pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "5E7C2DBB667F025FC5CA90C6A4E4064F"
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
diff --git a/DeskHubSharp/obj/Debug/App.g.i.cs b/DeskHubSharp/obj/Debug/App.g.i.cs
index ba9120c..82e1d5e 100644
--- a/DeskHubSharp/obj/Debug/App.g.i.cs
+++ b/DeskHubSharp/obj/Debug/App.g.i.cs
@@ -1,4 +1,4 @@
-#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8924CF88FE4A7948C7314277251E7D79D8D8F350"
+#pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "5E7C2DBB667F025FC5CA90C6A4E4064F"
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
diff --git a/DeskHubSharp/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/DeskHubSharp/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
index 0190b2a..a501ef5 100644
Binary files a/DeskHubSharp/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/DeskHubSharp/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/DeskHubSharp/obj/Debug/DeskHubSharp.csproj.CoreCompileInputs.cache b/DeskHubSharp/obj/Debug/DeskHubSharp.csproj.CoreCompileInputs.cache
index 11acbc3..37936f7 100644
--- a/DeskHubSharp/obj/Debug/DeskHubSharp.csproj.CoreCompileInputs.cache
+++ b/DeskHubSharp/obj/Debug/DeskHubSharp.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-126931593991507bb071b2be67ad4cd72eeb0287
+17ecdc8fee3d6393cca5a22f6abf5748d0b3401c
diff --git a/DeskHubSharp/obj/Debug/DeskHubSharp_MarkupCompile.cache b/DeskHubSharp/obj/Debug/DeskHubSharp_MarkupCompile.cache
index 3e08152..26f6ed2 100644
--- a/DeskHubSharp/obj/Debug/DeskHubSharp_MarkupCompile.cache
+++ b/DeskHubSharp/obj/Debug/DeskHubSharp_MarkupCompile.cache
@@ -4,16 +4,16 @@
winexe
C#
.cs
-C:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\obj\Debug\
+C:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\obj\Debug\
DeskHubSharp
none
false
DEBUG;TRACE
-C:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\App.xaml
+C:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\App.xaml
7-86569338
-26-1609030936
-20415715258
+27-1010967837
+20-856998346
AboutWindow.xaml;DetailWindow.xaml;ErrorWindow.xaml;FeedbackWindow.xaml;HelpWindow.xaml;MainWindow.xaml;SearchWindow.xaml;
False
diff --git a/DeskHubSharp/obj/Debug/DeskHubSharp_MarkupCompile.i.cache b/DeskHubSharp/obj/Debug/DeskHubSharp_MarkupCompile.i.cache
index 2d0c742..de29267 100644
--- a/DeskHubSharp/obj/Debug/DeskHubSharp_MarkupCompile.i.cache
+++ b/DeskHubSharp/obj/Debug/DeskHubSharp_MarkupCompile.i.cache
@@ -4,17 +4,17 @@
winexe
C#
.cs
-C:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\obj\Debug\
+C:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\obj\Debug\
DeskHubSharp
none
false
DEBUG;TRACE
-C:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\App.xaml
+C:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\App.xaml
7-86569338
-30-1807549293
-20415715258
+312052675278
+20-856998346
AboutWindow.xaml;DetailWindow.xaml;ErrorWindow.xaml;FeedbackWindow.xaml;HelpWindow.xaml;MainWindow.xaml;SearchWindow.xaml;
-False
+True
diff --git a/DeskHubSharp/obj/Debug/DeskHubSharp_MarkupCompile.lref b/DeskHubSharp/obj/Debug/DeskHubSharp_MarkupCompile.lref
index 9ca99a8..6ef43cb 100644
--- a/DeskHubSharp/obj/Debug/DeskHubSharp_MarkupCompile.lref
+++ b/DeskHubSharp/obj/Debug/DeskHubSharp_MarkupCompile.lref
@@ -1,10 +1,10 @@
-FC:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\AboutWindow.xaml;;
-FC:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\DetailWindow.xaml;;
-FC:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\ErrorWindow.xaml;;
-FC:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\FeedbackWindow.xaml;;
-FC:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\HelpWindow.xaml;;
-FC:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\MainWindow.xaml;;
-FC:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\SearchWindow.xaml;;
+FC:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\AboutWindow.xaml;;
+FC:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\DetailWindow.xaml;;
+FC:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\ErrorWindow.xaml;;
+FC:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\FeedbackWindow.xaml;;
+FC:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\HelpWindow.xaml;;
+FC:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\MainWindow.xaml;;
+FC:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\SearchWindow.xaml;;
diff --git a/DeskHubSharp/obj/Debug/MainWindow.g.cs b/DeskHubSharp/obj/Debug/MainWindow.g.cs
index 36e95a9..07c59db 100644
--- a/DeskHubSharp/obj/Debug/MainWindow.g.cs
+++ b/DeskHubSharp/obj/Debug/MainWindow.g.cs
@@ -1,4 +1,4 @@
-#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0EAA4E5953DD54A83EF84C8979256F95CA55AC47"
+#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "1E01AC040AC8F24B3F0ED293B159302B"
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
@@ -51,7 +51,7 @@ namespace DeskHubSharp {
#line 10 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button btn_search;
+ internal System.Windows.Controls.Button btn_searchuser;
#line default
#line hidden
@@ -192,6 +192,38 @@ namespace DeskHubSharp {
#line default
#line hidden
+
+ #line 29 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.ComboBox cmbbox_sort;
+
+ #line default
+ #line hidden
+
+
+ #line 30 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button btn_sort;
+
+ #line default
+ #line hidden
+
+
+ #line 31 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button btn_searchrepo;
+
+ #line default
+ #line hidden
+
+
+ #line 32 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox txtbox_searchbox;
+
+ #line default
+ #line hidden
+
private bool _contentLoaded;
///
@@ -226,10 +258,10 @@ namespace DeskHubSharp {
this.window_main = ((DeskHubSharp.MainWindow)(target));
return;
case 2:
- this.btn_search = ((System.Windows.Controls.Button)(target));
+ this.btn_searchuser = ((System.Windows.Controls.Button)(target));
#line 10 "..\..\MainWindow.xaml"
- this.btn_search.Click += new System.Windows.RoutedEventHandler(this.btn_search_Click);
+ this.btn_searchuser.Click += new System.Windows.RoutedEventHandler(this.btn_search_Click);
#line default
#line hidden
@@ -315,6 +347,24 @@ namespace DeskHubSharp {
case 19:
this.txtblk_repocount = ((System.Windows.Controls.TextBlock)(target));
return;
+ case 20:
+ this.cmbbox_sort = ((System.Windows.Controls.ComboBox)(target));
+ return;
+ case 21:
+ this.btn_sort = ((System.Windows.Controls.Button)(target));
+
+ #line 30 "..\..\MainWindow.xaml"
+ this.btn_sort.Click += new System.Windows.RoutedEventHandler(this.btn_sort_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 22:
+ this.btn_searchrepo = ((System.Windows.Controls.Button)(target));
+ return;
+ case 23:
+ this.txtbox_searchbox = ((System.Windows.Controls.TextBox)(target));
+ return;
}
this._contentLoaded = true;
}
diff --git a/DeskHubSharp/obj/Debug/MainWindow.g.i.cs b/DeskHubSharp/obj/Debug/MainWindow.g.i.cs
index 36e95a9..07c59db 100644
--- a/DeskHubSharp/obj/Debug/MainWindow.g.i.cs
+++ b/DeskHubSharp/obj/Debug/MainWindow.g.i.cs
@@ -1,4 +1,4 @@
-#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0EAA4E5953DD54A83EF84C8979256F95CA55AC47"
+#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "1E01AC040AC8F24B3F0ED293B159302B"
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
@@ -51,7 +51,7 @@ namespace DeskHubSharp {
#line 10 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button btn_search;
+ internal System.Windows.Controls.Button btn_searchuser;
#line default
#line hidden
@@ -192,6 +192,38 @@ namespace DeskHubSharp {
#line default
#line hidden
+
+ #line 29 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.ComboBox cmbbox_sort;
+
+ #line default
+ #line hidden
+
+
+ #line 30 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button btn_sort;
+
+ #line default
+ #line hidden
+
+
+ #line 31 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button btn_searchrepo;
+
+ #line default
+ #line hidden
+
+
+ #line 32 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox txtbox_searchbox;
+
+ #line default
+ #line hidden
+
private bool _contentLoaded;
///
@@ -226,10 +258,10 @@ namespace DeskHubSharp {
this.window_main = ((DeskHubSharp.MainWindow)(target));
return;
case 2:
- this.btn_search = ((System.Windows.Controls.Button)(target));
+ this.btn_searchuser = ((System.Windows.Controls.Button)(target));
#line 10 "..\..\MainWindow.xaml"
- this.btn_search.Click += new System.Windows.RoutedEventHandler(this.btn_search_Click);
+ this.btn_searchuser.Click += new System.Windows.RoutedEventHandler(this.btn_search_Click);
#line default
#line hidden
@@ -315,6 +347,24 @@ namespace DeskHubSharp {
case 19:
this.txtblk_repocount = ((System.Windows.Controls.TextBlock)(target));
return;
+ case 20:
+ this.cmbbox_sort = ((System.Windows.Controls.ComboBox)(target));
+ return;
+ case 21:
+ this.btn_sort = ((System.Windows.Controls.Button)(target));
+
+ #line 30 "..\..\MainWindow.xaml"
+ this.btn_sort.Click += new System.Windows.RoutedEventHandler(this.btn_sort_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 22:
+ this.btn_searchrepo = ((System.Windows.Controls.Button)(target));
+ return;
+ case 23:
+ this.txtbox_searchbox = ((System.Windows.Controls.TextBox)(target));
+ return;
}
this._contentLoaded = true;
}