From 48d98870620e84a155dcf2316f7e57e2e0045144 Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Tue, 19 Mar 2019 00:04:51 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Sync/GiteePublishSection.cs | 11 ++++++---- .../ViewModels/PublishSectionViewModel.cs | 20 ++++++++++++++----- src/Gitee.VisualStudio/Services/GitService.cs | 2 +- 3 files changed, 23 insertions(+), 10 deletions(-) diff --git a/src/Gitee.TeamFoundation.14/Sync/GiteePublishSection.cs b/src/Gitee.TeamFoundation.14/Sync/GiteePublishSection.cs index 90c2c2e..cebc05f 100644 --- a/src/Gitee.TeamFoundation.14/Sync/GiteePublishSection.cs +++ b/src/Gitee.TeamFoundation.14/Sync/GiteePublishSection.cs @@ -50,6 +50,7 @@ namespace Gitee.TeamFoundation.Sync base.Initialize(sender, e); var gitExt = ServiceProvider.GetService(); gitExt.PropertyChanged += GitExt_PropertyChanged; + Refresh(); } private void GitExt_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) @@ -58,16 +59,18 @@ namespace Gitee.TeamFoundation.Sync { Refresh(); } - } + } + public override void Refresh() - { - base.Refresh(); + { Task.Run(async () => { - var result = _tes.IsGiteeRepo(); + var result = !_tes.IsGiteeRepo(); await ThreadingHelper.SwitchToMainThreadAsync(); IsVisible = result; + ((SectionContent as FrameworkElement)?.DataContext as PublishSectionViewModel)?.Refresh(); }); + base.Refresh(); } protected override object CreateView(SectionInitializeEventArgs e) diff --git a/src/Gitee.TeamFoundation.14/ViewModels/PublishSectionViewModel.cs b/src/Gitee.TeamFoundation.14/ViewModels/PublishSectionViewModel.cs index 4f373b2..b3c67b3 100644 --- a/src/Gitee.TeamFoundation.14/ViewModels/PublishSectionViewModel.cs +++ b/src/Gitee.TeamFoundation.14/ViewModels/PublishSectionViewModel.cs @@ -48,12 +48,22 @@ namespace Gitee.TeamFoundation.ViewModels _getStartedCommand = new DelegateCommand(OnGetStarted); _publishCommand = new DelegateCommand(OnPublish, CanPublish); - ShowGetStarted = storage.IsLogined; - - //IsStarted = true; LoadResources(); - } - + } + + public void Refresh() + { + if (!string.IsNullOrEmpty(_tes.GetSolutionPath())) + { + var url = _git?.GetRemote(_tes.GetSolutionPath()); + ShowGetStarted = string.IsNullOrEmpty(url) || !url.ToLower().StartsWith("https://gitee.com"); + } + else + { + ShowGetStarted = false; + } + } + private void LoadResources() { Licenses.Clear(); diff --git a/src/Gitee.VisualStudio/Services/GitService.cs b/src/Gitee.VisualStudio/Services/GitService.cs index 38ab5ea..8311413 100644 --- a/src/Gitee.VisualStudio/Services/GitService.cs +++ b/src/Gitee.VisualStudio/Services/GitService.cs @@ -219,7 +219,7 @@ namespace Gitee.VisualStudio.Services try { var repository = new LibGit2Sharp.Repository(path); - return repository.Network.Remotes["origin"].Url; + return repository.Network.Remotes["origin"]?.Url; } catch (Exception ex) { -- Gitee From 5e53c31c2572cb82cc7569be43f98125d734e91d Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Tue, 19 Mar 2019 13:26:26 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E7=AD=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Connect/GiteeConnectSection.cs | 54 ++++----- .../Connect/GiteeInvitationSection.cs | 11 +- .../Gitee.TeamFoundation.14.csproj | 3 + src/Gitee.TeamFoundation.14/Settings.cs | 2 +- .../ViewModels/ConnectSectionViewModel.cs | 113 +++++++++--------- src/Gitee.TeamFoundation.14/packages.config | 1 + .../Gitee.TeamFoundation.15.csproj | 4 +- src/Gitee.TeamFoundation.15/packages.config | 1 + .../Gitee.TeamFoundation.16.csproj | 4 +- src/Gitee.TeamFoundation.16/packages.config | 1 + .../Gitee.VisualStudio.UI.csproj | 3 + .../logo_gitee_light_cn_with_domain_name.png | Bin 0 -> 6026 bytes .../Views/CreateView.xaml | 51 ++++---- .../Views/LoginView.xaml | 35 +++--- src/Gitee.VisualStudio/Services/Storage.cs | 12 +- 15 files changed, 165 insertions(+), 130 deletions(-) create mode 100644 src/Gitee.VisualStudio.UI/Resources/images/logo_gitee_light_cn_with_domain_name.png diff --git a/src/Gitee.TeamFoundation.14/Connect/GiteeConnectSection.cs b/src/Gitee.TeamFoundation.14/Connect/GiteeConnectSection.cs index 6f3875f..5adc7e1 100644 --- a/src/Gitee.TeamFoundation.14/Connect/GiteeConnectSection.cs +++ b/src/Gitee.TeamFoundation.14/Connect/GiteeConnectSection.cs @@ -5,7 +5,9 @@ using Gitee.VisualStudio.Shared.Helpers; using Microsoft.TeamFoundation.Controls; using Microsoft.TeamFoundation.Controls.WPF.TeamExplorer; using Microsoft.TeamFoundation.Git.Controls.Extensibility; +using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; +using Microsoft.VisualStudio.Threading; using System; using System.ComponentModel.Composition; using System.Threading.Tasks; @@ -34,10 +36,29 @@ namespace Gitee.TeamFoundation.Connect _viewFactory = viewFactory; _web = web; - messenger.Register("OnLogined", OnLoggedIn); - messenger.Register("OnSignOuted", InLoggedOut); + messenger.Register("OnLogined", OnLogined); + messenger.Register("OnSignOuted", OnSignOuted); messenger.Register("OnClone", OnClone); messenger.Register("OnOpenSolution", OnOpenSolution); + var gitExt = Microsoft.VisualStudio.Shell.ServiceProvider.GlobalProvider.GetService(); + gitExt.PropertyChanged += GitExt_PropertyChanged; + } + private void GitExt_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) + { + if (e.PropertyName == "ActiveRepositories") + { + System.Threading.Tasks.Task.Run(async () => + { + await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync(); + Refresh(); + }).Forget(); + } + } + public override void Refresh() + { + + ((View as ConnectSectionView).DataContext as ConnectSectionViewModel).Refresh(); + base.Refresh(); } protected override ITeamExplorerSection CreateViewModel(SectionInitializeEventArgs e) @@ -54,20 +75,7 @@ namespace Gitee.TeamFoundation.Connect { base.Initialize(sender, e); - var gitExt = ServiceProvider.GetService(); - gitExt.PropertyChanged += GitExt_PropertyChanged; - } - - private void GitExt_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) - { - if (e.PropertyName == "ActiveRepositories") - { - Task.Run(async () => - { - await ThreadingHelper.SwitchToMainThreadAsync(); - Refresh(); - }); - } + IsVisible = _storage.IsLogined; } protected override object CreateView(SectionInitializeEventArgs e) @@ -81,18 +89,16 @@ namespace Gitee.TeamFoundation.Connect if (view != null) { view.DataContext = new ConnectSectionViewModel(_messenger, _shell, _storage, _teamexplorer, _viewFactory, _web); - } + } } - public void OnLoggedIn() + public void OnLogined() { - // Added Connect and Sign Up buttons in case user closes the invitation. IsVisible = true; } - public void InLoggedOut() + public void OnSignOuted() { - // Added Connect and Sign Up buttons in case user closes the invitation. IsVisible = false; } @@ -111,12 +117,6 @@ namespace Gitee.TeamFoundation.Connect } } - public override void Refresh() - { - ((View as ConnectSectionView).DataContext as ConnectSectionViewModel).Refresh(); - base.Refresh(); - } - public override void Dispose() { _messenger.UnRegister(this); diff --git a/src/Gitee.TeamFoundation.14/Connect/GiteeInvitationSection.cs b/src/Gitee.TeamFoundation.14/Connect/GiteeInvitationSection.cs index 93ce04e..ea66bba 100644 --- a/src/Gitee.TeamFoundation.14/Connect/GiteeInvitationSection.cs +++ b/src/Gitee.TeamFoundation.14/Connect/GiteeInvitationSection.cs @@ -37,7 +37,6 @@ namespace Gitee.TeamFoundation.Connect Name = Strings.Name; Provider = Strings.Provider; Description = Strings.Description; - var assembly = Assembly.GetExecutingAssembly().GetName().Name; var image = new BitmapImage(new Uri($"pack://application:,,,/{assembly};component/Resources/logo.png", UriKind.Absolute)); ; @@ -46,13 +45,15 @@ namespace Gitee.TeamFoundation.Connect { Brush = new ImageBrush(image), Geometry = new RectangleGeometry(new Rect(new Size(image.Width, image.Height))) - }); - + }); + IsVisible = true; Icon = new DrawingBrush(drawing); - IsVisible = !storage.IsLogined; } - + public override void Initialize(IServiceProvider serviceProvider) + { + base.Initialize(serviceProvider); + } public override void Connect() { var dialog = _viewFactory.GetView(ViewTypes.Login); diff --git a/src/Gitee.TeamFoundation.14/Gitee.TeamFoundation.14.csproj b/src/Gitee.TeamFoundation.14/Gitee.TeamFoundation.14.csproj index d340b8c..8576a8e 100644 --- a/src/Gitee.TeamFoundation.14/Gitee.TeamFoundation.14.csproj +++ b/src/Gitee.TeamFoundation.14/Gitee.TeamFoundation.14.csproj @@ -70,6 +70,9 @@ ..\..\lib\14.0\Microsoft.TeamFoundation.Git.Provider.dll False + + ..\..\packages\Microsoft.VisualStudio.ComponentModelHost.14.0.25424\lib\net45\Microsoft.VisualStudio.ComponentModelHost.dll + ..\..\packages\Microsoft.VisualStudio.Imaging.14.3.25407\lib\net45\Microsoft.VisualStudio.Imaging.dll True diff --git a/src/Gitee.TeamFoundation.14/Settings.cs b/src/Gitee.TeamFoundation.14/Settings.cs index 6b40729..deef159 100644 --- a/src/Gitee.TeamFoundation.14/Settings.cs +++ b/src/Gitee.TeamFoundation.14/Settings.cs @@ -4,7 +4,7 @@ namespace Gitee.TeamFoundation { internal static class Settings { - public const string InvitationSectionId = "44A4CF18-EDAC-4967-A332-8521A5CC0862"; + public const string InvitationSectionId = "F18337CD-024C-4327-B600-D30F935D720C"; public const int InvitationSectionPriority = 100; public const string ConnectSectionId = "80F53301-4049-42D1-BC9C-A3121A3F73E9"; diff --git a/src/Gitee.TeamFoundation.14/ViewModels/ConnectSectionViewModel.cs b/src/Gitee.TeamFoundation.14/ViewModels/ConnectSectionViewModel.cs index ec0921d..4a98960 100644 --- a/src/Gitee.TeamFoundation.14/ViewModels/ConnectSectionViewModel.cs +++ b/src/Gitee.TeamFoundation.14/ViewModels/ConnectSectionViewModel.cs @@ -1,7 +1,9 @@ using Gitee.TeamFoundation.Services; using Gitee.VisualStudio.Shared; -using Gitee.VisualStudio.Shared.Helpers; using Gitee.VisualStudio.Shared.Helpers.Commands; +using Gitee.VisualStudio.Shared.Helpers; +using Microsoft.VisualStudio.Shell; +using Microsoft.VisualStudio.Threading; using System; using System.Collections.Generic; using System.Collections.ObjectModel; @@ -9,6 +11,7 @@ using System.Linq; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; +using Task = System.Threading.Tasks.Task; namespace Gitee.TeamFoundation.ViewModels { @@ -48,7 +51,7 @@ namespace Gitee.TeamFoundation.ViewModels LoadRepositoriesAsync(); } } - + public Visibility Visibility { get; set; } public void OnLogined() { LoadRepositoriesAsync(); @@ -146,60 +149,58 @@ namespace Gitee.TeamFoundation.ViewModels IReadOnlyList remotes = null; Exception ex = null; - Task.Run(async () => - { - try - { - remotes = await _web.GetProjectsAsync(); - known = Registry.GetKnownRepositories(); - } - catch (Exception e) - { - ex = e; - } - }).ContinueWith(task => - { - if (ex == null) - { - Repositories.Clear(); - - var activeRepository = _teamexplorer.GetActiveRepository(); - - var valid = new List(); - - if (known != null) - { - foreach (var k in known) - { - var r = remotes.FirstOrDefault(o => o.Name == k.Name); - if (r != null) - { - k.Icon = r.Icon; - - valid.Add(k); - } - } - } - - if (activeRepository != null) - { - var matched = valid.FirstOrDefault(o => string.Equals(o.Path, activeRepository.Path, StringComparison.OrdinalIgnoreCase)); - if (matched != null) - { - matched.IsActived = true; - } - } - valid.Each(o => Repositories.Add(o)); - } - else if (!(ex is UnauthorizedAccessException)) - { - _teamexplorer.ShowMessage(ex.Message); - } - else - { - _teamexplorer.ShowMessage(ex.Message); - } - }, TaskScheduler.FromCurrentSynchronizationContext()); + Task.Run( async () => + { + try + { + remotes = await _web.GetProjectsAsync(); + known = Registry.GetKnownRepositories(); + } + catch (Exception e) + { + ex = e; + } + }).ContinueWith(async tsk => + { + await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync(); + if (ex == null) + { + Repositories.Clear(); + + var activeRepository = _teamexplorer.GetActiveRepository(); + + var valid = new List(); + + if (known != null) + { + foreach (var k in known) + { + var r = remotes.FirstOrDefault(o => o.Name == k.Name); + if (r != null) + { + k.Icon = r.Icon; + + valid.Add(k); + } + } + } + + if (activeRepository != null) + { + var matched = valid.FirstOrDefault(o => string.Equals(o.Path, activeRepository.Path, StringComparison.OrdinalIgnoreCase)); + if (matched != null) + { + matched.IsActived = true; + } + } + + valid.Each(o => Repositories.Add(o)); + } + else if (!(ex is UnauthorizedAccessException)) + { + _teamexplorer.ShowMessage(ex.Message); + } + },TaskScheduler.Default).Forget(); } public void OnRepositoryCloned(string url, Repository repository) diff --git a/src/Gitee.TeamFoundation.14/packages.config b/src/Gitee.TeamFoundation.14/packages.config index 7f0e106..36ba61d 100644 --- a/src/Gitee.TeamFoundation.14/packages.config +++ b/src/Gitee.TeamFoundation.14/packages.config @@ -2,6 +2,7 @@ + diff --git a/src/Gitee.TeamFoundation.15/Gitee.TeamFoundation.15.csproj b/src/Gitee.TeamFoundation.15/Gitee.TeamFoundation.15.csproj index 866f1cd..765c45e 100644 --- a/src/Gitee.TeamFoundation.15/Gitee.TeamFoundation.15.csproj +++ b/src/Gitee.TeamFoundation.15/Gitee.TeamFoundation.15.csproj @@ -69,7 +69,9 @@ ..\..\lib\15.0\Microsoft.TeamFoundation.Git.Provider.dll False - + + ..\..\packages\Microsoft.VisualStudio.ComponentModelHost.14.0.25424\lib\net45\Microsoft.VisualStudio.ComponentModelHost.dll + ..\..\packages\Microsoft.VisualStudio.Imaging.14.3.25407\lib\net45\Microsoft.VisualStudio.Imaging.dll diff --git a/src/Gitee.TeamFoundation.15/packages.config b/src/Gitee.TeamFoundation.15/packages.config index 7f0e106..36ba61d 100644 --- a/src/Gitee.TeamFoundation.15/packages.config +++ b/src/Gitee.TeamFoundation.15/packages.config @@ -2,6 +2,7 @@ + diff --git a/src/Gitee.TeamFoundation.16/Gitee.TeamFoundation.16.csproj b/src/Gitee.TeamFoundation.16/Gitee.TeamFoundation.16.csproj index 04eb76c..9ab7a4c 100644 --- a/src/Gitee.TeamFoundation.16/Gitee.TeamFoundation.16.csproj +++ b/src/Gitee.TeamFoundation.16/Gitee.TeamFoundation.16.csproj @@ -70,7 +70,9 @@ ..\..\lib\16.0\Microsoft.TeamFoundation.Git.Provider.dll False - + + ..\..\packages\Microsoft.VisualStudio.ComponentModelHost.14.0.25424\lib\net45\Microsoft.VisualStudio.ComponentModelHost.dll + ..\..\packages\Microsoft.VisualStudio.Imaging.14.3.25407\lib\net45\Microsoft.VisualStudio.Imaging.dll diff --git a/src/Gitee.TeamFoundation.16/packages.config b/src/Gitee.TeamFoundation.16/packages.config index b0a2ea6..c6fb5af 100644 --- a/src/Gitee.TeamFoundation.16/packages.config +++ b/src/Gitee.TeamFoundation.16/packages.config @@ -2,6 +2,7 @@ + diff --git a/src/Gitee.VisualStudio.UI/Gitee.VisualStudio.UI.csproj b/src/Gitee.VisualStudio.UI/Gitee.VisualStudio.UI.csproj index c8df085..3c3ab02 100644 --- a/src/Gitee.VisualStudio.UI/Gitee.VisualStudio.UI.csproj +++ b/src/Gitee.VisualStudio.UI/Gitee.VisualStudio.UI.csproj @@ -204,6 +204,9 @@ + + + diff --git a/src/Gitee.VisualStudio.UI/Resources/images/logo_gitee_light_cn_with_domain_name.png b/src/Gitee.VisualStudio.UI/Resources/images/logo_gitee_light_cn_with_domain_name.png new file mode 100644 index 0000000000000000000000000000000000000000..0117388c606b075f2528902592a41b7b67e13fc0 GIT binary patch literal 6026 zcmc&&`#aPB``;YiM3RJ@QmIsox8yj7(m^F6A{**M&dkD`W~>7_>%d43$swANWrjJd zv`X=`+1)p_v86ooRy`Sn24MR000oX zasA320Duq9`@JOm7w;Qw=)hZ$vA%KTl5ObV{D^3(BLXD^zbX(m5FdMD?sWBQf%t)k z3%>Y)lMg;d<9ps$!TK6X*#jRR5GtjR7ciK3oK%Eju9OeZ4|RBH$F9flo6x!VUj8%U z3CD!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UvBcKQ9AxGSzTCV8?+qHaofo zZr>00GW5$or6u;o^T&c;&aY!+;18R6d3JKk^PW9g@z{JJ@4cTR%^2j?)mni|y)^0H z(;PTvpA9+X!BqiLdU+?s{5`!bhV)p34!n$x5m!5UL|H2+@ATQqLO+fi%exhU`Qg1FSD>?E0)I zT=k`2Fd{b-B4MK|1@#EgS{d$%dE%SoN&v#T|5*F(boO?v`+x?;eaS2R@%^w{Kc;Ve zKKr&MC9<+@`+dWu9c_#L36$1+@Qa3sK93xocETx(V`sqRzNUF0`E4RiX*GpU;iBf) z*c6zQ60AThkeXp(YwnL;_zgn+ouwFM;w>-^rxW+>V zovbRPcevBg#Gs=@YxAQB?9al1dy}E;**tA|5%O##Ci!;AOse}YnsS>VJw zJ)%D>NN{v97KiIKt(lmZK&B(2sOb}-Q(cN+_sA4yrPhQG#CPe6jLh@{H^u^DcGbzi z!%LSmGg@{FnjI*5xrYafqMpV?zNmV46W6)yywS0-N==<2( zj9e9zKs#$|OPoan_Iu}tsp$WAr;`8cx13nJK>5w)^xd{hgFV|fu3BCxGkx&ne*i-n Bf1&^Y literal 0 HcmV?d00001 diff --git a/src/Gitee.VisualStudio.UI/Views/CreateView.xaml b/src/Gitee.VisualStudio.UI/Views/CreateView.xaml index d8f1f3b..de30064 100644 --- a/src/Gitee.VisualStudio.UI/Views/CreateView.xaml +++ b/src/Gitee.VisualStudio.UI/Views/CreateView.xaml @@ -20,8 +20,8 @@ - - + + @@ -35,15 +35,15 @@