Praburaj
2c881cf6a6
Adding verification for openIdconnect logout flow
...
As well removed the logic to wait for the creation of the db file in userprofile folder
as we now have retry logic.
2015-02-06 12:09:11 -08:00
Praburaj
0d673eafc9
Changing DbSet<T>.Remove -> RemoveRange()
2015-02-05 16:41:21 -08:00
Praburaj
8617bdc223
Printing the runtime information at the beginning of the test
2015-02-04 11:10:53 -08:00
Praburaj
e26705e2de
Changing codeplex -> github.com/aspnet/musicstore
2015-02-02 17:39:09 -08:00
ajcvickers
61ef19c6e9
React to EF changes
2015-01-30 15:13:49 -08:00
ajcvickers
5b55da271c
Use Add instead of AddAsync
2015-01-30 14:31:17 -08:00
Wei Wang
4277bb75b1
Merge remote-tracking branch 'origin/release' into dev
2015-01-29 16:30:59 -08:00
Wei Wang
3bf675f343
React to runtime renaming revert
2015-01-29 00:01:52 -08:00
Praburaj
e3637924ee
Adding a basic smoke test for OpenIdConnect
...
Currently the mono variation is failing.
2015-01-26 17:03:34 -08:00
Praburaj
c82cda4a78
Fixing the openIdconnect Startup class to add loggerfactory
...
Also adding a placeholder startup class for openid e2etesting.
2015-01-26 11:11:25 -08:00
Praburaj
d29f24f4ad
Using session to store the cart details instead of cookies.
2015-01-26 10:51:20 -08:00
Wei Wang
117c910f3b
React to kpm subcommand renaming
2015-01-23 10:22:55 -08:00
Smit Patel
e9f088b2e9
Reacting to changes in EF connection string format
2015-01-20 17:47:41 -08:00
Wei Wang
636807c35b
React to default packages path change in runtime
2015-01-20 17:18:46 -08:00
Praburaj
c3a6095bf1
Pointing IIS Express to the wwwroot folder instead of app base.
2015-01-20 15:23:04 -08:00
Praburaj
2fbc90c6aa
Fixing build break in spa project.
2015-01-20 13:49:10 -08:00
Wei Wang
73b30c0fbf
Change K_DETAILED_ERRORS to ASPNET_DETAILED_ERRORS
2015-01-20 11:07:06 -08:00
Hao Kung
464438862a
Fix music store policies
2015-01-16 15:15:19 -08:00
AndriySvyryd
cec6370dde
Reacting to EF changes
2015-01-16 12:59:42 -08:00
Praburaj
f67f577ad2
Fixing build break due to model binding changes
2015-01-16 08:38:28 -08:00
Hao Kung
ef22f9fb30
React to MVC/Auth changes
2015-01-15 23:52:52 -08:00
Praburaj
0f9173ecb0
Adding a Start up class for OpenIdConnect authentication
2015-01-15 13:16:37 -08:00
Praburaj
a6bf0e16aa
Adding console logger to the sample
2015-01-09 15:12:53 -08:00
Chris Ross
76017af97c
Handle Form and helpers breaking changes.
2015-01-07 16:15:41 -08:00
Praburaj
6407ff0adc
Cleanup : Moving the mock code to the test project
...
This is to make the sample code cleaner. Moved the mock code to the test project.
Also fixed some intendation issues in some cshtml files.
2015-01-02 17:13:31 -08:00
Hao Kung
14ec7960a1
React to identity changes
2014-12-30 14:59:07 -08:00
Praburaj
e609602f2f
Clean up and refactoring
...
1. Removed some console logging statements from code
2. Used database error page like templates.
3. Renamed the command `WebListener` to `web` with all lower case to be consistent with templates.
4. Lowercased `Kestrel` => `kestrel` to be consistent with remaining samples.
2014-12-30 13:16:08 -08:00
Praburaj
d9148bd6f7
Fixing KRE_ENV to ASPNET_ENV
2014-12-22 19:04:55 -08:00
Praburaj
9c442e97ff
Using the latest xunit skip condition attributes to skip tests
...
Also moved all the helper code into sub-directories.
2014-12-18 19:25:51 -08:00
Praburaj
4315eb231f
Some more fixes
2014-12-15 13:11:44 -08:00
Praburaj
50b756a776
Clean up - removing work arounds for bugs
...
1. Removed worked arounds that were previously applied for bugs as they are fixed now.
2. Sorted all using statements. Moved System.* to the top.
3. Fixed some of the code to follow engineering guidelines.
2014-12-15 11:48:24 -08:00
Doug Bunting
c8323f4ef3
Let VS assign a port for the MVC 6.0 project
...
- also add commented-out connection string for IIS deployment
2014-12-14 21:20:49 -08:00
Praburaj
0c59794996
A few changes
...
1. Adding helpers to install an app on IIS and run on top of native module
2. Enabled CoreCLR + Ntlm tests.
2014-12-12 16:07:49 -08:00
Wei Wang
acc191efca
Merge branch 'release' into dev
2014-12-12 11:13:40 -08:00
ajcvickers
9b72e3a0bd
Reacting to EF API changes
2014-12-10 14:19:51 -08:00
AndriySvyryd
6120168c86
Reacting to the new EF relationship discovery convention
2014-12-10 14:16:20 -08:00
Wei Wang
9d643ae1ee
Move web.config from project root to wwwroot
2014-12-10 14:08:35 -08:00
Chris Ross
4e929bb300
Stop setting WebRoot explicitly.
2014-12-05 11:49:05 -08:00
mikary
b580856e66
Updating for EntityFramework API change to DbContext Entry Methods
2014-12-04 09:53:55 -08:00
ajcvickers
715b744146
React to EF API changes
2014-12-02 14:48:55 -08:00
Praburaj
65f58b98a8
Fixing the test failure
...
On introducing a FK relationship from OrderDetails table to Album table with album id creates a problem when deleting an album that's checked out atleast once.
2014-12-02 11:29:49 -08:00
Praburaj
e21f6052f2
Using .Include in queries instead of manual joining
...
Also removed Identity setup from Ntlm Startup
Some minor using statements ordering.
2014-12-02 11:00:28 -08:00
Harsh Gupta
688771ad10
Corresponding changes for changing AssociatedMetadataProvider's interface
2014-11-26 17:30:45 -08:00
Victor Hurdugaci
1120863c84
Add schema version to kproj files
2014-11-25 11:15:15 -08:00
Hao Kung
d8041cbbae
React to identity changes
2014-11-24 16:41:16 -08:00
ajcvickers
3b6e988f92
Remove use of context.Configuration
2014-11-21 11:36:37 -08:00
Hao Kung
4267d9b25f
React to hosting changes
2014-11-20 18:13:03 -08:00
Praburaj
5ae536fe0a
Some fixes
...
1. Updating some startup classes like templates
2. Update a test that runs on mono with right CLR.
2014-11-20 16:04:48 -08:00
Praburaj
12858aef79
Fixing port number to 5001 as social logins need this port number to work
...
Minor formatting in json.
2014-11-19 16:23:02 -08:00
DamianEdwards
dbee8c1f6b
And you get NoCache, and you get NoCache, and you get NoCache
...
- NoCache for everybody!
2014-11-18 17:35:38 -08:00
DamianEdwards
62e84ae620
Make MusicStore.Spa..NoCacheAttribute try *really* hard to prevent caching
2014-11-18 17:19:21 -08:00
DamianEdwards
22ad9b9572
MusicStore.Spa changes:
...
- Upgraded to Angular 1.3 (Fixes #267 )
- Fix XHR GET caching issue in IE with new NoCacheAttribute
- Slight fix in admin home page (album list) to ensure initial data fetch has the sort expression in the query
2014-11-18 17:08:12 -08:00
Chris Ross
6a4f49a188
Fix facebook endpoint tests.
2014-11-15 08:13:56 -08:00
Victor Hurdugaci
2970af14b1
Update KProj to the latest format
2014-11-12 15:56:14 -08:00
DamianEdwards
88ebb165e7
Fixed kproj artifacts dir location
2014-11-11 12:06:43 -08:00
DamianEdwards
1e2152cd26
Update kproj files to move artifacts out of project folder
2014-11-10 14:20:49 -08:00
DamianEdwards
0352ef8a79
MusicStore.Spa changes:
...
- Added buddy validation provider
Created SimpleMapper in MusicStore.Spa
- Fixed EF mapping config
- Made SimpleMapper to map DTOs to EF objects (and vice-versa)
- Admin screens now return Artist/Genre names when showing Album details
- Unhook grunt/npm/bower from project.json due to long-path issue in KRE build
- Remove unneeded AngularHtmlHelper<T> class
2014-11-06 14:07:27 -08:00
ajcvickers
947a3f8790
Reacting to EF API renames
2014-10-28 18:55:57 -07:00
DamianEdwards
05237d908e
MusicStore.Spa fixes:
...
- Flow app claims to client code properly
- Remove unnecessary JS link
- Fix JS links on login page
2014-10-23 18:06:40 -07:00
DamianEdwards
a2e005c017
Update MusicStore.Spa to latest angular-ui-bootstrap
2014-10-21 12:33:41 -07:00
Suhas Joshi
c320b1caaf
Updating startup for ntml as well
2014-10-20 17:05:36 -07:00
Suhas Joshi
28d49310bf
Added for configuration to use only Identity
2014-10-20 17:05:32 -07:00
Chris Ross
390bf8f024
Update MemoryCache DI.
2014-10-20 11:30:53 -07:00
Pranav K
cd9362c92b
Reacting to HtmlHelper API change
2014-10-17 15:12:50 -07:00
DamianEdwards
4e4d7d6717
Fix MusicStore.Spa/Models/MusicStoreContext.cs for EF changes
2014-10-16 22:50:49 -07:00
DamianEdwards
bc1994eebd
Updating MusicStore.Spa for EF and Identity changes
2014-10-16 22:47:26 -07:00
Suhas Joshi
7dd78bbfef
Changes to use AddDbContext method
2014-10-16 16:11:09 -07:00
Victor Hurdugaci
0ef93b94dc
Add the runtime info page when running in dev environment
2014-10-16 09:28:03 -07:00
ajcvickers
033dc2e235
Reacting to EF API changes
2014-10-15 18:04:55 -07:00
ajcvickers
f960f2ca35
Fixing typo
2014-10-15 17:48:30 -07:00
ajcvickers
ad6869d560
Reacting to provider-specific EF API changes
2014-10-15 17:34:12 -07:00
Hao Kung
d375e87a4e
React to options and hosting changes
2014-10-14 19:22:51 -07:00
Suhas Joshi
b2d346769a
Merge pull request #257 from suhasj/UpdateErrorHandler
...
Added Error Handler middleware and Configure methods based on compilatio...
2014-10-14 16:17:28 -07:00
Wei Wang
8d0c6052a7
Change 'pack-exclude' to 'packExclude'
2014-10-14 16:15:20 -07:00
Suhas Joshi
3c7ba368fe
Added Error Handler middleware and Configure methods based on compilation types
2014-10-14 15:31:47 -07:00
DamianEdwards
2766b3a4f0
Fix sample data in MusicStore.Spa
2014-10-13 18:06:41 -07:00
DamianEdwards
e1c385d27f
Fix startup.cs in MusicStore.Spa
2014-10-13 17:49:49 -07:00
DamianEdwards
ca6eafc5f7
Actually deleted the MusicStore.Spa/Client folder:
...
- Updated Startup.cs for startup/configuration changes
2014-10-13 17:27:28 -07:00
DamianEdwards
890d7f4955
Fix typo in MusicStore.Spa page
2014-10-13 13:15:16 -07:00
DamianEdwards
24904bb884
More MusicStore.Spa changes RE wwwroot, Client source & grunt:
...
- Got rid of the Client folder
- wwwroot is now checked in and is source of truth for static files
- Moved TypeScript & Angular templates to ~/ng-apps
- Updated grunt config for above changes
2014-10-13 11:51:54 -07:00
Praburaj
ae91663eb7
Fixing a few things
...
1. Changing the SigninAsAuthenticationType to a variable to avoid failures when the value changes.
2. Adding a Scripts folder like default VS projects.
3. Adding version numbers to GAC assemblies in the test project.
4. Adding a check for pack-exclude.
2014-10-09 16:11:38 -07:00
Hao Kung
3e9f251618
Update MusicStore SPA
2014-10-09 14:37:45 -07:00
Hao Kung
22152fda59
Update test to use UsePerRequestServices
2014-10-09 14:31:56 -07:00
Hao Kung
59ec9de771
React to Identity SqlServer -> EntityFramework rename
2014-10-09 14:20:36 -07:00
Hao Kung
d06c973f57
React to UsePerRequestServices rename
2014-10-09 14:13:51 -07:00
Praburaj
ece6fc6c47
SignInAsAuthenticationType value changed with identity changes
2014-10-08 14:47:55 -07:00
Praburaj
b2a20bf4f5
GetExternalAuthenticationTypes moved to SignInManager now
...
Fixing a sample break.
2014-10-08 14:26:03 -07:00
Hao Kung
95c7a659c2
React to identity/options/security changes
2014-10-08 14:02:04 -07:00
DamianEdwards
f332bf6800
Fix issues in MusicStore.Spa package.json
2014-10-06 15:01:57 -07:00
DamianEdwards
788f0b7c07
Fix missing npm module in MusicStore.Spa
2014-10-06 15:00:01 -07:00
DamianEdwards
18bd42bcfe
Use grunt-bower-task in MusicStore.Spa
2014-10-06 14:30:08 -07:00
DamianEdwards
7055949e7b
Enabling admin pages in MusicStore.Spa:
...
- Updated attribute routing so it works now
- Created a Pages folder and PageController for serving pages, I don't
like views very much
- Worked around an EF issue
- Fixed ApiResult to use JsonResult.ExecuteResultAsync
- Made PagedList take the sort expression so it can be conditionally applied as calling Count on the query passed causes issues if it contains an OrderBy expression
- Made web server ports not conflict with non-SPA MusicStore
2014-10-06 12:07:21 -07:00
David Fowler
08b66a87a9
React to EF changes
2014-10-05 03:34:50 -07:00
Praburaj
0288c790b0
Cleanup
...
1. Moving framework assembly references to frameworkassemblies node.
Moving the framework references Removing the RunOnMono flag on Ntlm tests as it never runs on mono
2. Deleted a space from the batch file
3. Adding some pack-exclude items
4. Some general test cleanup.
2014-10-02 12:38:54 -07:00
Praburaj
970418448c
Passing in request cancellation tokens to all async methods
...
Changing to use some of EF's async APIs.
2014-10-01 12:06:39 -07:00
DamianEdwards
9a8f003cd0
Updated attribute routes in MusicStore.Spa
...
- Also unbound grunt tasks as it causes issues on launch
2014-09-30 11:58:51 -07:00
DamianEdwards
750d459d02
Minor MusicStore.Spa grunt updates
2014-09-29 15:26:19 -07:00
Praburaj
f16a0c0f19
Adding some mocks for MicrosoftAccount
2014-09-29 14:41:43 -07:00
DamianEdwards
1d52705f8a
Bunch of MusicStore.Spa updates:
...
- Refactored grunt config into grunt folder with json file for each task using grunt-ide-support package
- Using attribute routing
- Add exclusions for non-K files to the project.json
- Deleted unused Default.html file
- Fixed paths in TemplateController to work in K
- Fixed @model declarations in ng template views
2014-09-26 23:00:53 -07:00
DamianEdwards
6bbc74434d
Fix grunt clean in MusicStore.Spa to not delete wwwroot\bin
2014-09-26 14:07:31 -07:00
DamianEdwards
a6ef46102e
Added TRX bindings to the Gruntfile.js in MusicStore.Spa
2014-09-26 12:02:46 -07:00
DamianEdwards
ccc077bd00
Updated MusicStore.Spa to fix it due to latest changes
2014-09-26 11:53:32 -07:00
Praburaj
63732198cc
Updating the solution
...
Created some solution folders like the VS templates.
2014-09-26 11:08:01 -07:00
David Fowler
17dd874996
Only turn off identity columns for artists and genres.
2014-09-26 02:46:22 -07:00
David Fowler
cbde5ba982
Disable store generated properties for the Ids.
2014-09-26 02:36:17 -07:00
DamianEdwards
75d3937959
Updated MusicStore.Spa with webroot
2014-09-25 17:04:33 -07:00
Chris Ross
fd135e29b6
Renaming GetOrAdd to GetOrSet.
2014-09-25 16:56:04 -07:00
Chris Ross
6f7560e33b
Rename GetOrAdd to GetOrSet.
2014-09-25 16:34:25 -07:00
Praburaj
42e23bd261
Enabling the E2E automation for social logins.
2014-09-25 11:48:58 -07:00
Praburaj
3e6ce61f27
Enabling social logins
...
Removing hacks and using identity helpers.
2014-09-24 16:42:05 -07:00
Praburaj
ef11294897
Squashed commit of the following:
...
commit ca4defa086a411094f9e90fbe3acef337d6613bb
Author: Praburaj <praburaj.t@microsoft.com>
Date: Wed Sep 24 15:13:28 2014 -0700
Enabling account validation, 2FA, Forgot password in the sample
Some identity helpers are still missing. Work arounds are applied to enable them working. Will clean it up as soon as identity helpers are available.
commit 6072c45537946c29588cfad92ce5e69ecd21656b
Author: Praburaj <praburaj.t@microsoft.com>
Date: Tue Sep 23 20:08:59 2014 -0700
Using QueryHelpers.ParseQuery for parsing query string.
Removed the helpers implemented in the test project.
commit 632dd8d43fafb6307b3e504731431479aa96ec50
Author: Hao Kung <haok@microsoft.com>
Date: Tue Sep 23 17:24:42 2014 -0700
Remove comment
commit 913fd251a39edcf0182b36be17879484ae90fd90
Author: Hao Kung <haok@microsoft.com>
Date: Tue Sep 23 17:23:12 2014 -0700
React to identity changes
2014-09-24 15:36:24 -07:00
Praburaj
647a5b6031
Enabling account validation, 2FA, Forgot password in the sample
...
Some identity helpers are still missing. Work arounds are applied to enable them working. Will clean it up as soon as identity helpers are available.
2014-09-24 15:13:28 -07:00
Praburaj
1867d11a43
Using QueryHelpers.ParseQuery for parsing query string.
...
Removed the helpers implemented in the test project.
2014-09-23 20:08:59 -07:00
Praburaj
3ce74b6c4e
Adding a way to do a graceful shutdown of the server.
...
This code path is not being used right now as there is no way to select this start up class.
2014-09-19 13:49:42 -07:00
Praburaj
c7cd2e004f
Removing the work around applied for the multi Antiforgery token issue
...
Original MVC bug is fixed now.
2014-09-17 14:11:35 -07:00
Praburaj
de6b05cd86
Updating Social startup as well to use chaining to add configuration sources.
2014-09-16 10:50:24 -07:00
Praburaj
0a3456042a
Updating sample to use config file named config.json instead of LocalConfig.json
2014-09-16 10:48:33 -07:00
Praburaj
671c619a11
Fixing Program.cs to populate a IHostingEnvironment service
...
Also contains a general cleanup.
2014-09-16 10:26:23 -07:00
Praburaj
3d79659cc0
Updating sample readme
...
Also removing some mono related settings on NtlmStartup.
2014-09-16 09:31:38 -07:00
Praburaj
0c6154fcd0
Enabling "authors" element in project.json
...
Related hosting bug is fixed:
https://github.com/aspnet/Hosting/issues/74
2014-09-15 16:34:34 -07:00
Praburaj
2712ae3478
Changing the project folder structure to include wwwroot
2014-09-15 14:05:48 -07:00
Chris Ross
9bc33d6ce8
React to SetSlidingExpiration spelling fix.
2014-09-15 09:32:13 -07:00
Praburaj
39ee3e714a
Reacting to the cache package rename and few misc changes
...
1. Setting expiry time for cached items.
2. Some other misc changes.
2014-09-12 17:09:39 -07:00
Praburaj
e63d4f95d2
Adding an Ntlm variation of the test
...
Modified the helpers to take in an application host config file to accomodate future needs.
2014-09-11 11:10:25 -07:00
Chris Ross
56987a66c6
Handle IBuilder rename to IApplicationBuilder.
2014-09-10 14:47:02 -07:00
Praburaj
0c3cf30d2c
Commenting the external logins from login cshtml to work around a bug
...
https://github.com/aspnet/HttpAbstractions/issues/115
Also adding a work around for the EF issue.
2014-09-10 11:26:29 -07:00
Praburaj
c41407d7b7
Adding cache service to the Ntlm startup
2014-09-09 16:45:19 -07:00
Praburaj
17f3808154
Fixing a build break
2014-09-08 18:14:45 -07:00
Praburaj
093caaae7e
Adding some mocks for Google, Facebook and Twitter for E2Evalidation
...
Social mock tests are not executed right now due to 2 issues:
1. Identity extensions related to Social are not in yet.
2. Helios currently does not support loading of environment based startup class.
2014-09-08 18:02:03 -07:00
Praburaj
7e77078160
Adding in memory caching to the sample
2014-09-05 12:53:08 -07:00
Praburaj
1b6ee846ed
Some cleanup
...
1. Removing a bug # from code which is fixed.
2. Removing a piece of test that was added while testing.
2014-09-04 13:13:17 -07:00
David Fowler
c299a13927
Updated to use the new target framework in project.json
2014-09-04 02:30:32 -07:00
Praburaj
6cf7cbfa5b
Adding all the Social login middlewares to the pipeline
...
Still some of the identity helpers have not lighted up. So it will not work fully.
2014-09-03 16:57:38 -07:00
Praburaj
265a220142
Adding SignalR components to the Ntlm based Startup class.
...
Missed to do this with previous checkin.
2014-09-03 15:55:46 -07:00
Praburaj
b054f392f5
Adding a what's new in the store signalr announcement panel in the sample
...
When a new album is created in the store a notification is posted to all the connected browsers using SignalR.
Also added automation for the signalR hubs.
There is still some UI formatting improvements required in the way new arrivals are displayed. Will fix it in future checkins.
2014-09-03 15:40:01 -07:00
Praburaj
bf7a8c2439
Fixing the build break on the new startup
2014-09-02 11:30:10 -07:00
Praburaj
49ba8ce9ac
Adding a startup class to setup Ntlm authentication
...
This uses the environment based Startup class detection to load the Ntlm Startup class. Default will be the Cookies/Social auth.
2014-09-02 11:07:28 -07:00
Praburaj
b56cecc817
Refactoring the test code a little bit to enable adding more scenarios
...
And some general cleanup.
2014-08-29 16:35:02 -07:00
Praburaj
01c6489454
Adding a LINQ query to get all albums to improve performance
2014-08-29 13:41:43 -07:00
Praburaj
45406bf082
Moving the admin into a separate area
...
Using areas in the sample
2014-08-29 13:06:50 -07:00
David Fowler
94258eba8a
Updated to use the new target framework in project.json
2014-08-29 00:13:02 -07:00
Praburaj
9f4d46714b
Updating the sample to use VS 2013 Update 3 templates for Identity
...
1. This contains the new manage controller with a bunch of features like 2 factor auth
Some of the features are not enabled yet. But this is to set a baseline with update3 templates.
Automation to come up in future as more identity extensions are available.
2014-08-28 16:57:43 -07:00
Hao Kung
e60b1665e3
React to Identity Rename
2014-08-25 11:41:49 -07:00
ajcvickers
0eaad754c4
Reacting to ForeignKey API change.
2014-08-19 15:50:23 -07:00
ajcvickers
9ee9104883
Reacting to ConventionModelBuilder name change
2014-08-15 11:35:24 -07:00
ajcvickers
e2736173e8
Change ModelBuilder to ConventionModelBuilder
2014-08-15 08:45:28 -07:00
Praburaj
cb9184e1c0
Prevent binding on some columns in order
2014-08-12 12:28:11 -07:00
Praburaj
abd215a543
Using HttpNotFound helper in actions returning 404
2014-08-12 11:44:48 -07:00
Praburaj
ca515e3e87
Adding missing Anti-Xsrf token validations in some Post actions
...
1. Also adding this validation on a AJAX only used action.
2014-08-08 12:46:36 -07:00
dougbu
641816fd9b
Fix build break
...
- no need to call (`internal`) `html.GenerateId()` method since it matches `html.Id()` exactly
- no need for `.ToString()` with either method since they return `string` now
2014-08-01 22:07:38 -07:00