Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
5722ddf
Copy over POC PeoplePicker code for transfer
michael-hawker Sep 17, 2019
cbd395c
Update PeoplePicker on top of all other dependencies
michael-hawker Sep 17, 2019
98eea19
Fix overlooked StyleCop Issues
michael-hawker Sep 17, 2019
99c7feb
Pull updates from Uno for Missing GenerateLibraryLayout and QuickCrea…
michael-hawker Sep 19, 2019
aabe8cf
Add PickedPeople property to PeoplePicker
michael-hawker Sep 19, 2019
fa01241
Merge pull request #7 from windows-toolkit/michael-hawker/people-pick…
michael-hawker Sep 19, 2019
23200f8
Update default scopes for sample
michael-hawker Sep 19, 2019
a79ad6a
Update ReadMe with Getting Started Instructions
michael-hawker Sep 19, 2019
91689f7
Update Microsoft.Toolkit.Graph package title
michael-hawker Sep 19, 2019
263119f
Switch from XAML Provider from DependencyObject to Behavior
michael-hawker Oct 19, 2019
c1f41d5
Fix PeoplePicker so doesn't suggest already picked people
michael-hawker Oct 19, 2019
8988341
Initial GraphPresenter prototype for #17
michael-hawker Oct 20, 2019
251d59b
Setup Initial XAML Islands Base Sample (initially unpackaged)
michael-hawker Oct 22, 2019
4277aed
Finish XAML Islands Sample and Provider WPF based Behavior Mirrors
michael-hawker Oct 22, 2019
b60660a
Link WPF Provider files to UWP versions and use Conditional Compilation
michael-hawker Oct 23, 2019
bee1560
Forgot about alternate redirect for .NET Core 3, update docs
michael-hawker Oct 23, 2019
2330744
Update Headers
michael-hawker Oct 23, 2019
e13653b
Add SdkVersion Header
michael-hawker Oct 23, 2019
3e3e946
Forgot header on new file
michael-hawker Oct 23, 2019
cbda5e7
Exclude Sample Apps from CI Build
michael-hawker Oct 25, 2019
f14889f
Remove native build step from cake script
michael-hawker Oct 25, 2019
d32ff79
Merge pull request #21 from windows-toolkit/michael-hawker/xamlisland…
azchohfi Oct 25, 2019
86a5830
Use MockProvider in Sample
michael-hawker Oct 30, 2019
559dbe9
Update Toolkit Dependencies to rc1
michael-hawker Nov 1, 2019
59744e4
Increment to 6.1 builds for previews
michael-hawker Nov 1, 2019
8d522d9
Fix searching for e-mails and converting strings to people
michael-hawker Nov 1, 2019
1eadc24
Merge pull request #23 from windows-toolkit/michael-hawker/rc1-update
michael-hawker Nov 1, 2019
2c1d935
Update Readme for Preview NuGet packages
michael-hawker Nov 1, 2019
bc9b12f
Add hack for MockProvider to workaround SDK issue
michael-hawker Nov 6, 2019
3189aeb
Merge pull request #25 from windows-toolkit/michael-hawker/mock-fix
michael-hawker Nov 7, 2019
e4f0d85
Create PULL_REQUEST_TEMPLATE.md
Kyaa-dost Dec 9, 2019
1b14589
Update feature_request emoji
Kyaa-dost Feb 19, 2020
dedb5bf
Update Question Emoji to automate bot
Kyaa-dost Feb 24, 2020
2027061
Merge pull request #35 from windows-toolkit/Update-QuestionEmoji
azchohfi Feb 24, 2020
2d6408b
Merge pull request #33 from windows-toolkit/update-fr-emoji
azchohfi Feb 24, 2020
e099909
Add Doc emoji
Kyaa-dost Feb 25, 2020
11e0c5b
Add Bug Emoji
Kyaa-dost Feb 25, 2020
caa2f5c
PR-Template Updated
Kyaa-dost Feb 26, 2020
b2f6a8e
Merge pull request #41 from windows-toolkit/Add-Bug-Emoji
azchohfi Feb 26, 2020
6504104
Merge pull request #40 from windows-toolkit/Add-Doc-Emoji
azchohfi Feb 26, 2020
5e875b1
Merge pull request #29 from windows-toolkit/Kyaa-dost-GraphControl-PR…
azchohfi Feb 26, 2020
d25988e
fixed logout flyout
vgromfeld Mar 2, 2020
a58334f
disable login button while login or logout
vgromfeld Mar 3, 2020
8b8bed2
Merge pull request #46 from vgromfeld/disableLoginButtonOnClick
vgromfeld Mar 17, 2020
6c89168
Merge branch 'master' into hideFlyoutOnClick
vgromfeld Mar 18, 2020
c7ba663
Update NuGet packages & to new TokenizingTextBox
michael-hawker May 17, 2020
7871983
Fix new StyleCop issues.
michael-hawker May 17, 2020
0195b3c
Update to netcoreapp3.1
michael-hawker May 18, 2020
a96dd84
Update readme for changes to Azure portal
michael-hawker Jun 9, 2020
fa0cf54
Update Dependencies
michael-hawker Jun 9, 2020
b8e80d5
Fix Xaml Islands building
michael-hawker Jun 10, 2020
522f931
Have PeoplePicker inherit from TokenizingTextBox
michael-hawker Jun 11, 2020
eb7423a
Fix showing Users in People Picker
michael-hawker Jun 12, 2020
a8670cc
Update Sample Pages
michael-hawker Jun 12, 2020
6666ff3
Merge pull request #51 from windows-toolkit/michael-hawker/update-tok…
michael-hawker Jun 12, 2020
712f97e
Merge pull request #45 from vgromfeld/hideFlyoutOnClick
michael-hawker Jun 12, 2020
07652fb
Update XML comment of Quick Create
michael-hawker Jun 12, 2020
67c6527
Update to 6.1.0 release build
michael-hawker Jun 15, 2020
268fdff
Merge branch 'master' into michael-hawker/graph-presenter
michael-hawker Jun 25, 2020
f6b6a0d
Update Example to use ImageEx to show something for files with no images
michael-hawker Jun 25, 2020
eedfc14
Update link to issue filed in Graph for the API we're trying to use
michael-hawker Jun 25, 2020
7d43dd8
Update Missing Headers
michael-hawker Jun 29, 2020
d5c0517
Changes from master to main for WCT-Graph-Controls; there are still m…
HerrickSpencer Jul 10, 2020
3a844f8
Merge remote-tracking branch 'origin/main' into michael-hawker/graph-…
michael-hawker Jul 16, 2020
0c04921
[Broken] CalendarView Example
michael-hawker Jul 16, 2020
e5b3013
Add forgotten .NET Foundation Header
michael-hawker Jul 16, 2020
2a9e157
Add OrderBy property to GraphPresenter
michael-hawker Jul 16, 2020
6556c2d
Try updating dependencies
michael-hawker Jul 23, 2020
ff9ee75
Fix Stylecop Issues
michael-hawker Jul 26, 2020
dc8a641
Reconfigure Proxy to work in all cases and more effectively
michael-hawker Jul 27, 2020
b70e6b7
Better separate out Samples in UWP app
michael-hawker Jul 27, 2020
f028d3f
Add (Mail) Messages GraphPresenter sample
michael-hawker Jul 27, 2020
a4919fb
Add Task sample to GraphPresenter
michael-hawker Aug 6, 2020
7cdd34f
Add in Teams Messages example to GraphPresenter
michael-hawker Aug 6, 2020
b93e18c
Remove unused OneDrive sample Converters
michael-hawker Aug 8, 2020
97d4eba
Initial PR Feedback
michael-hawker Aug 9, 2020
6e71a13
Apply suggestions from code review
michael-hawker Aug 9, 2020
bdabc31
Apply last feedback comment from @Sergio0694
michael-hawker Aug 9, 2020
4a45671
Add extra scopes needed for InteractiveProvider for new samples
michael-hawker Aug 10, 2020
8e58409
Update Project to Build with latest Uno package
michael-hawker Aug 10, 2020
77f3c69
Merge remote-tracking branch 'wct/michael-hawker/graph-presenter' int…
michael-hawker Aug 11, 2020
13b062b
Apply Work-Arounds for x:Bind in Uno
michael-hawker Aug 11, 2020
1864faf
Fix Provider Timing
michael-hawker Aug 11, 2020
3e3816d
Remove Nested ScrollViewers in Sample App
michael-hawker Aug 12, 2020
5368907
Remove duplicate line in pipeline yml file
michael-hawker Aug 12, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
<DefaultLanguage>en-US</DefaultLanguage>

<!--<TargetFrameworksOverride>xamarinios10</TargetFrameworksOverride>-->
<TargetFrameworksOverride>uap10.0.16299;MonoAndroid80;xamarinios10;netstandard2.0</TargetFrameworksOverride>
<TargetFrameworksOverride>uap10.0.17763;MonoAndroid90;xamarinios10;netstandard2.0</TargetFrameworksOverride>

<IsDesignProject>$(MSBuildProjectName.Contains('.Design'))</IsDesignProject>
<IsTestProject>$(MSBuildProjectName.Contains('Test'))</IsTestProject>
<IsUwpProject Condition="'$(IsDesignProject)' != 'true'">$(MSBuildProjectName.Contains('Uwp'))</IsUwpProject>
<IsSampleProject>$(MSBuildProjectName.Contains('Sample'))</IsSampleProject>
<DefaultTargetPlatformVersion>17763</DefaultTargetPlatformVersion>
<DefaultTargetPlatformMinVersion>16299</DefaultTargetPlatformMinVersion>
<DefaultTargetPlatformMinVersion>17763</DefaultTargetPlatformMinVersion>
<PackageOutputPath>$(MSBuildThisFileDirectory)bin\nupkg</PackageOutputPath>
</PropertyGroup>

Expand Down Expand Up @@ -82,7 +82,7 @@
<DefineConstants>$(DefineConstants);__WASM__</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'MonoAndroid80' or '$(TargetFramework)' == 'xamarinios10' ">
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'MonoAndroid90' or '$(TargetFramework)' == 'xamarinios10' ">
<NoWarn>$(NoWarn);CS0649;CS0067;CS1998</NoWarn>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
<PackageTags>UWP Toolkit Windows Controls MSAL Microsoft Graph AadLogin ProfileCard Person PeoplePicker Login</PackageTags>
<SignAssembly>false</SignAssembly>
<GenerateLibraryLayout>true</GenerateLibraryLayout>
<Configurations>Debug;Release;CI</Configurations>
<Platforms>AnyCPU;ARM;ARM64;x64;x86</Platforms>
<NoWarn>CS1701;1702;Uno0001;NU1701</NoWarn>
</PropertyGroup>

Expand All @@ -31,21 +33,22 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == 'MonoAndroid' or '$(TargetFrameworkIdentifier)' == 'Xamarin.iOS' or '$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="Uno.UI" Version="1.46.0-dev.1991" />
<PackageReference Include="Uno.Microsoft.Toolkit.Uwp.UI" Version="5.1.0-build.200.gf9c311b069" />
<PackageReference Include="Uno.UI" Version="3.0.0-dev.1515" />
<PackageReference Include="Uno.Microsoft.Toolkit.Uwp.UI" Version="6.1.0-build.191.gc988bdd4ff" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'uap10.0' or '$(TargetFramework)' == 'uap10.0.16299' ">
<PackageReference Include="Microsoft.Toolkit.Uwp.UI" Version="6.0.0-build.12" />
<ItemGroup Condition="'$(TargetFramework)' == 'uap10.0' or '$(TargetFramework)' == 'uap10.0.17763' ">
<PackageReference Include="Microsoft.Toolkit.Uwp.UI" Version="6.1.0" />
</ItemGroup>

<ItemGroup>
<None Include="VisualStudioToolsManifest.xml" Pack="true" PackagePath="tools" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Graph.Beta" Version="0.7.0-preview" />
<PackageReference Include="Microsoft.Graph.Auth" Version="1.0.0-preview.1" />
<PackageReference Include="Microsoft.Graph.Beta" Version="0.19.0-preview" />
<PackageReference Include="Microsoft.Graph.Auth" Version="1.0.0-preview.5" />
<PackageReference Include="Uno.UI.MSAL" Version="3.0.0-dev.1515" />
</ItemGroup>

<ItemGroup>
Expand All @@ -56,7 +59,7 @@

<Import Project="$(MSBuildSDKExtrasTargets)" Condition="Exists('$(MSBuildSDKExtrasTargets)')" />
<!-- https://weblogs.asp.net/rweigelt/disable-warnings-in-generated-c-files-of-uwp-app -->
<Target Name="PragmaWarningDisablePrefixer" AfterTargets="MarkupCompilePass2" Condition="'$(TargetFramework)' == 'uap10.0' or '$(TargetFramework)' == 'uap10.0.16299'">
<Target Name="PragmaWarningDisablePrefixer" AfterTargets="MarkupCompilePass2" Condition="'$(TargetFramework)' == 'uap10.0' or '$(TargetFramework)' == 'uap10.0.17763'">
<ItemGroup>
<GeneratedCSFiles Include="**\*.g.cs;**\*.g.i.cs" />
</ItemGroup>
Expand Down
5 changes: 2 additions & 3 deletions Microsoft.Toolkit.Graph.Controls/Providers/QuickCreate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using Microsoft.Toolkit.Graph.Providers;
using System.Reflection;
using System.Threading.Tasks;
using Uno.UI.MSAL;

namespace Microsoft.Toolkit.Graph.Providers
{
Expand All @@ -19,9 +20,7 @@ public static async Task<MsalProvider> CreateMsalProviderAsync(string clientid,
.WithRedirectUri(redirectUri)
.WithClientName(ProviderManager.ClientName)
.WithClientVersion(Assembly.GetExecutingAssembly().GetName().Version.ToString())
#if __ANDROID__
.WithParentActivityOrWindow(() => Uno.UI.ContextHelper.Current as Android.App.Activity)
#endif
.WithUnoHelpers()
.Build();

if (scopes == null)
Expand Down
12 changes: 7 additions & 5 deletions Microsoft.Toolkit.Graph/Microsoft.Toolkit.Graph.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,22 @@

<!-- This is a temporary workaround for https://github.com/dotnet/sdk/issues/955 -->
<DebugType>Full</DebugType>
<NoWarn>CS1701;1702;CS8002;Uno0001;NU1701</NoWarn>
<Configurations>Debug;Release;CI</Configurations>
<Platforms>AnyCPU;ARM;ARM64;x64;x86</Platforms>
<NoWarn>CS1701;1702;CS8002;Uno0001;NU1701;CS0618</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'uap10.0' or '$(TargetFramework)' == 'uap10.0.16299' ">
<DefineConstants Condition="'$(DisableImplicitFrameworkDefines)' != 'true'">$(DefineConstants);WINRT</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'MonoAndroid80' or '$(TargetFramework)' == 'xamarinios10' or '$(TargetFramework)' == 'netstandard2.0' ">
<PropertyGroup Condition="'$(TargetFramework)' == 'MonoAndroid90' or '$(TargetFramework)' == 'xamarinios10' or '$(TargetFramework)' == 'netstandard2.0' ">
<DefineConstants>$(DefineConstants);WINRT</DefineConstants>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Graph.Beta" Version="0.7.0-preview" />
<PackageReference Include="Microsoft.Graph.Auth" Version="1.0.0-preview.1" />
<PackageReference Include="Microsoft.Toolkit" Version="6.0.0-build.12" />
<PackageReference Include="Microsoft.Graph.Beta" Version="0.19.0-preview" />
<PackageReference Include="Microsoft.Graph.Auth" Version="1.0.0-preview.5" />
<PackageReference Include="Microsoft.Toolkit" Version="6.1.0" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion SampleGraphApp/SampleGraphApp.Droid/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace SampleGraphApp.Droid
public class Application : Windows.UI.Xaml.NativeApplication
{
public Application(IntPtr javaReference, JniHandleOwnership transfer)
: base(new App(), javaReference, transfer)
: base(() => new App(), javaReference, transfer)
{
ConfigureUniversalImageLoader();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="SampleGraphApp" android:versionCode="1" android:versionName="1.0">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="28" />
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="SampleGraphApp" android:versionCode="1" android:versionName="1.0" android:installLocation="auto">
<uses-sdk android:minSdkVersion="28" android:targetSdkVersion="28" />
<application android:allowBackup="true" android:label="SampleGraphApp" android:supportsRtl="true" android:theme="@style/AppTheme">
<activity android:name="microsoft.identity.client.BrowserTabActivity">
<intent-filter>
Expand All @@ -12,4 +12,4 @@
</activity>
</application>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</manifest>
</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,12 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Uno.UI" Version="1.46.0-dev.1991" />
<PackageReference Include="Uno.UI" Version="3.0.0-dev.1515" />
<PackageReference Include="Uno.UniversalImageLoader" Version="1.9.32" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.1.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Filter" Version="1.1.1" />
<PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData" Version="2.1.0" />
<PackageReference Include="Xamarin.AndroidX.Browser" Version="1.0.0" />
</ItemGroup>
<ItemGroup>
<Compile Include="MainActivity.cs" />
Expand Down
4 changes: 2 additions & 2 deletions SampleGraphApp/SampleGraphApp.UWP/SampleGraphApp.UWP.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.18362.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.16299.0</TargetPlatformMinVersion>
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
Expand Down Expand Up @@ -96,7 +96,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.1.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Filter" Version="1.1.1" />
<PackageReference Include="Uno.Core" Version="1.28.0" />
<PackageReference Include="Uno.Core" Version="2.0.0" />
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
<!--
If, in the same solution, you are referencing a project that uses https://github.com/onovotny/MSBuildSdkExtras,
Expand Down
6 changes: 3 additions & 3 deletions SampleGraphApp/SampleGraphApp.Wasm/SampleGraphApp.Wasm.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
<!-- Note that for WebAssembly version 1.1.1 of the console logger required -->
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.1.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Filter" Version="1.1.1" />
<PackageReference Include="Uno.UI" Version="1.45.0" />
<PackageReference Include="Uno.Wasm.Bootstrap" Version="1.0.0-dev.244" />
<DotNetCliToolReference Include="Uno.Wasm.Bootstrap.Cli" Version="1.0.0-dev.244" />
<PackageReference Include="Uno.UI" Version="3.0.0-dev.1515" />
<PackageReference Include="Uno.Wasm.Bootstrap" Version="1.4.0-dev.16" />
<DotNetCliToolReference Include="Uno.Wasm.Bootstrap.Cli" Version="1.1.0-dev.445" />
</ItemGroup>
<Import Project="..\SampleGraphApp.Shared\SampleGraphApp.Shared.projitems" Label="Shared" Condition="Exists('..\SampleGraphApp.Shared\SampleGraphApp.Shared.projitems')" />
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
<BundleResource Include="Resources\Fonts\winjs-symbols.ttf" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Uno.UI" Version="1.45.0" />
<PackageReference Include="Uno.UI" Version="3.0.0-dev.1515" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.1.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Filter" Version="1.1.1" />
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions build/build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ var target = Argument("target", "Default");
// VERSIONS
//////////////////////////////////////////////////////////////////////

var gitVersioningVersion = "2.1.65";
var inheritDocVersion = "1.1.1.1";
var gitVersioningVersion = "3.1.91";
var inheritDocVersion = "2.5.2";

//////////////////////////////////////////////////////////////////////
// VARIABLES
Expand Down
6 changes: 5 additions & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"msbuild-sdks": {
"MSBuild.Sdk.Extras": "2.0.43"
"MSBuild.Sdk.Extras": "2.0.54"
},
"sdk": {
"version": "3.1.200",
"rollForward": "latestPatch"
}
}