Permalink
Browse files

AAD integration

  • Loading branch information...
Ibon
Ibon committed Feb 29, 2016
1 parent a4a3ef7 commit 924321d76b9da5e66223fe67d6dbe7fd031df1c1
Showing with 1,383 additions and 85,025 deletions.
  1. +25 −25 04_Demos_NativeXamarinApps.sln
  2. +1 −1 global.json
  3. +1 −2 src/MyHealth.API/project.json
  4. +3 −2 src/MyHealth.Client.Cordova/MyHealth.Client.Cordova.jsproj
  5. +1 −1 src/MyHealth.Client.Cordova/bower.json
  6. +106 −100 src/MyHealth.Client.Cordova/config.xml
  7. +4 −12 src/MyHealth.Client.Cordova/content/app/app.ts
  8. +2 −6 src/MyHealth.Client.Cordova/content/app/modules/shared/services/configService.ts
  9. +56 −11 src/MyHealth.Client.Cordova/content/app/modules/shared/services/dataService.ts
  10. +2 −2 src/MyHealth.Client.Cordova/content/app/modules/shared/services/updateService.ts
  11. +1 −1 ...th.Client.Cordova/content/app/typings/azure-mobile-services-client/AzureMobileServicesClient.d.ts
  12. +116 −30 src/MyHealth.Client.Cordova/content/app/typings/cordova-plugin-code-push/codePush.d.ts
  13. +0 −87 src/MyHealth.Client.Cordova/content/app/typings/cordova-plugin-ms-appinsights/AppInsights.d.ts
  14. +2 −1 src/MyHealth.Client.Cordova/content/index.html
  15. +179 −122 src/MyHealth.Client.Cordova/content/js/MobileServices.Web.js
  16. +1 −1 src/MyHealth.Client.Cordova/gulp/tasks/build.js
  17. +1 −1 src/MyHealth.Client.Cordova/taco.json
  18. +0 −9,086 src/MyHealth.Client.Cordova/www/css/ionic.css
  19. +0 −2 src/MyHealth.Client.Cordova/www/css/ionic.min.css
  20. +0 −1 src/MyHealth.Client.Cordova/www/css/ionic.min.css.map
  21. +0 −541 src/MyHealth.Client.Cordova/www/css/site.css
  22. +0 −2 src/MyHealth.Client.Cordova/www/css/site.min.css
  23. +0 −1 src/MyHealth.Client.Cordova/www/css/site.min.css.map
  24. BIN src/MyHealth.Client.Cordova/www/fonts/ionicons.eot
  25. +0 −2,230 src/MyHealth.Client.Cordova/www/fonts/ionicons.svg
  26. BIN src/MyHealth.Client.Cordova/www/fonts/ionicons.ttf
  27. BIN src/MyHealth.Client.Cordova/www/fonts/ionicons.woff
  28. BIN src/MyHealth.Client.Cordova/www/icomoon/fonts/icomoon.eot
  29. +0 −15 src/MyHealth.Client.Cordova/www/icomoon/fonts/icomoon.svg
  30. BIN src/MyHealth.Client.Cordova/www/icomoon/fonts/icomoon.ttf
  31. BIN src/MyHealth.Client.Cordova/www/icomoon/fonts/icomoon.woff
  32. +0 −41 src/MyHealth.Client.Cordova/www/icomoon/style.css
  33. +0 −11 src/MyHealth.Client.Cordova/www/images/arrow-right.svg
  34. BIN src/MyHealth.Client.Cordova/www/images/avatar.jpg
  35. +0 −11 src/MyHealth.Client.Cordova/www/images/calendar-icon.svg
  36. +0 −12 src/MyHealth.Client.Cordova/www/images/chevron-down.svg
  37. +0 −11 src/MyHealth.Client.Cordova/www/images/home-icon.svg
  38. BIN src/MyHealth.Client.Cordova/www/images/map.png
  39. +0 −18 src/MyHealth.Client.Cordova/www/images/menu-header-background.svg
  40. +0 −24 src/MyHealth.Client.Cordova/www/js/MobileServices.Web.Ext.js
  41. +0 −11,295 src/MyHealth.Client.Cordova/www/js/MobileServices.Web.js
  42. +0 −20 src/MyHealth.Client.Cordova/www/js/console-polyfill.js
  43. +0 −174 src/MyHealth.Client.Cordova/www/js/winstore-jscompat.js
  44. +0 −59,302 src/MyHealth.Client.Cordova/www/lib/ionic.bundle.js
  45. +0 −5 src/MyHealth.Client.Cordova/www/lib/jquery.min.js
  46. +0 −1 src/MyHealth.Client.Cordova/www/lib/jquery.min.map
  47. +0 −7 src/MyHealth.Client.Cordova/www/lib/moment.min.js
  48. +0 −9 src/MyHealth.Client.Cordova/www/lib/promise.min.js
  49. +0 −1,173 src/MyHealth.Client.Cordova/www/scripts/app.js
  50. +0 −1 src/MyHealth.Client.Cordova/www/scripts/app.js.map
  51. +0 −55 src/MyHealth.Client.Cordova/www/templates/homeAppointments/views/cardHomeAppointment.html
  52. +0 −6 ...lth.Client.Cordova/www/templates/homeAppointments/views/cardHomeAppointmentNotificationPopup.html
  53. +0 −7 src/MyHealth.Client.Cordova/www/templates/homeAppointments/views/homeAppointmentDetail.html
  54. +0 −8 src/MyHealth.Client.Cordova/www/templates/homeAppointments/views/homeAppointmentList.html
  55. +0 −8 src/MyHealth.Client.Cordova/www/templates/homeAppointments/views/homeAppointmentVisitedList.html
  56. +0 −1 src/MyHealth.Client.Cordova/www/templates/homeAppointments/views/staticBingMap.html
  57. +0 −36 src/MyHealth.Client.Cordova/www/templates/shared/views/menu.html
  58. +0 −26 src/MyHealth.Client.Cordova/www/templates/shared/views/settings.html
  59. +45 −6 src/MyHealth.Client.Core/AppSettings.cs
  60. +43 −29 src/MyHealth.Client.Core/Helpers/Settings.cs
  61. +25 −0 src/MyHealth.Client.Core/Messages/LoggedUserInfoChangedMessage.cs
  62. +11 −11 src/MyHealth.Client.Core/MyHealth.Client.Core.csproj
  63. +63 −0 src/MyHealth.Client.Core/ServiceAgents/AuthenticationService.cs
  64. +1 −1 src/MyHealth.Client.Core/ServiceAgents/CurrentUserService.cs
  65. +155 −208 src/MyHealth.Client.Core/ServiceAgents/MicrosoftGraphService.cs
  66. +9 −0 src/MyHealth.Client.Core/ServiceAgents/MyHealthClient.cs
  67. +1 −1 src/MyHealth.Client.Core/ViewModels/AppointmentsViewModel.cs
  68. +2 −2 src/MyHealth.Client.Core/ViewModels/HomeViewModel.cs
  69. +9 −0 src/MyHealth.Client.Core/ViewModels/MenuViewModel.cs
  70. +5 −5 src/MyHealth.Client.Core/ViewModels/NewAppointmentViewModel.cs
  71. +7 −3 src/MyHealth.Client.Core/ViewModels/SettingsViewModel.cs
  72. +1 −1 src/MyHealth.Client.Core/ViewModels/TreatmentViewModel.cs
  73. +17 −11 src/MyHealth.Client.Core/ViewModels/UserViewModel.cs
  74. +1 −1 src/MyHealth.Client.Core/packages.config
  75. +20 −16 src/MyHealth.Client.Droid/Activities/MainActivity.cs
  76. +6 −6 src/MyHealth.Client.Droid/MyHealth.Client.Droid.csproj
  77. +1 −6 src/MyHealth.Client.Droid/Notifications/PushHandlerService.cs
  78. +3 −3 src/MyHealth.Client.Droid/Resources/Resource.Designer.cs
  79. +2 −2 src/MyHealth.Client.Droid/packages.config
  80. +7 −18 src/MyHealth.Client.W10.UWP/App.xaml.cs
  81. +1 −1 src/MyHealth.Client.W10.UWP/Services/PushNotifications.cs
  82. +2 −2 src/MyHealth.Client.W10.UWP/project.json
  83. +15 −37 src/MyHealth.Client.iOS/AppDelegate.cs
  84. +1 −1 src/MyHealth.Client.iOS/Info.plist
  85. +32 −46 src/MyHealth.Client.iOS/MyHealth.Client.iOS.csproj
  86. +101 −12 src/MyHealth.Client.iOS/Views/MainView.cs
  87. +2 −4 src/MyHealth.Client.iOSWatchKitApp/MyHealth.Client.iOSWatchKitApp.csproj
  88. +2 −4 src/MyHealth.Client.iOSWatchKitExtension/MyHealth.Client.iOSWatchKitExtension.csproj
  89. +10 −6 src/MyHealth.Data/Infraestructure/MyHealthDataInitializer.cs
  90. +1 −2 src/MyHealth.Data/project.json
  91. +162 −0 src/MyHealth.MobileApp/Controllers/LoggedUserController.cs
  92. +21 −1 src/MyHealth.MobileApp/Controllers/UpdateTagsController.cs
  93. +50 −16 src/MyHealth.MobileApp/MyHealth.MobileApp.csproj
  94. +19 −1 src/MyHealth.MobileApp/Startup.cs
  95. +10 −4 src/MyHealth.MobileApp/Web.config
  96. +15 −8 src/MyHealth.MobileApp/packages.config
  97. +1 −2 src/MyHealth.Model/project.json
  98. +1 −2 src/MyHealth.Office365/project.json
  99. +2 −1 src/MyHealth.Web/project.json
@@ -1,6 +1,6 @@

Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 14
+# Visual Studio 2012
VisualStudioVersion = 14.0.24720.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MyHealth.Client.Core", "src\MyHealth.Client.Core\MyHealth.Client.Core.csproj", "{8815D5DB-4912-4A7B-8097-C8B29DCDB75D}"
@@ -29,30 +29,6 @@ Global
Release|iPhoneSimulator = Release|iPhoneSimulator
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.AppStore|Any CPU.ActiveCfg = Release|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.AppStore|Any CPU.Build.0 = Release|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.AppStore|iPhone.ActiveCfg = Release|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.AppStore|iPhone.Build.0 = Release|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.AppStore|iPhoneSimulator.ActiveCfg = Release|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.AppStore|iPhoneSimulator.Build.0 = Release|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Debug|iPhone.ActiveCfg = Debug|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Debug|iPhone.Build.0 = Debug|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Release|Any CPU.Build.0 = Release|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Release|iPhone.ActiveCfg = Release|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Release|iPhone.Build.0 = Release|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
- {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{14C09982-15CC-4337-8762-98DABAA22863}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
{14C09982-15CC-4337-8762-98DABAA22863}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
{14C09982-15CC-4337-8762-98DABAA22863}.Ad-Hoc|Any CPU.Deploy.0 = Release|Any CPU
@@ -89,6 +65,30 @@ Global
{14C09982-15CC-4337-8762-98DABAA22863}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{14C09982-15CC-4337-8762-98DABAA22863}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{14C09982-15CC-4337-8762-98DABAA22863}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.AppStore|Any CPU.ActiveCfg = Release|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.AppStore|Any CPU.Build.0 = Release|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.AppStore|iPhone.ActiveCfg = Release|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.AppStore|iPhone.Build.0 = Release|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.AppStore|iPhoneSimulator.ActiveCfg = Release|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.AppStore|iPhoneSimulator.Build.0 = Release|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Debug|iPhone.ActiveCfg = Debug|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Debug|iPhone.Build.0 = Debug|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Release|iPhone.ActiveCfg = Release|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Release|iPhone.Build.0 = Release|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
+ {8815D5DB-4912-4A7B-8097-C8B29DCDB75D}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{8F9F1CB1-4D76-400F-B57D-68DF3C5977A6}.Ad-Hoc|Any CPU.ActiveCfg = Ad-Hoc|iPhone
{8F9F1CB1-4D76-400F-B57D-68DF3C5977A6}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
{8F9F1CB1-4D76-400F-B57D-68DF3C5977A6}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
View
@@ -1,6 +1,6 @@
{
"projects": [ "src", "test" ],
"sdk": {
- "version": "1.0.0-rc1-update1"
+ "version": "1.0.0-rc1-final"
}
}
@@ -21,8 +21,7 @@
"System.Collections": "4.0.11-beta-23409",
"System.Linq": "4.0.0-beta-23109",
"System.Threading": "4.0.11-beta-23409",
- "System.Runtime": "4.0.21-beta-23409",
- "Microsoft.CSharp": "4.0.1-beta-23409"
+ "System.Runtime": "4.0.21-beta-23409"
}
}
}
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props')" />
- <ItemGroup Label="ProjectConfigurations">
+ <ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Android">
<Configuration>Debug</Configuration>
<Platform>Android</Platform>
@@ -90,6 +89,8 @@
</PropertyGroup>
<PropertyGroup>
<TargetPlatformIdentifier>MDD</TargetPlatformIdentifier>
+ <AppxAutoIncrementPackageRevision>True</AppxAutoIncrementPackageRevision>
+ <AppxBundlePlatforms>neutral</AppxBundlePlatforms>
</PropertyGroup>
<Target Name="EnsureBuildPrerequisites">
<!-- These errors will trigger if building from inside Visual Studio and requirements could not be determined -->
@@ -1,7 +1,7 @@
{
"name": "MyHealth.Client.Cordova",
"dependencies": {
- "ionic": "driftyco/ionic-bower#1.1.0",
+ "ionic": "driftyco/ionic-bower#1.2.4",
"jquery": "~2.1.4",
"moment": "~2.10.6",
"es6-promise": "~3.0.2"
Oops, something went wrong.

0 comments on commit 924321d

Please sign in to comment.