Commit Graph

282 Commits

Author SHA1 Message Date
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
Pranav K 694bfe91c7 Empty commit to fix CI 2014-09-05 12:10:35 -07:00
Praburaj 90d0ad969d Adding some diagnostics to the Win32Exception
Kestrel variation seems to be failing for some reason. Adding some diagnostics.
2014-09-05 08:36:13 -07:00
David Fowler bb08bdd1e8 Fixed bitness and removed 50 2014-09-05 02:20:22 -07:00
David Fowler 2471d21d93 Fixed CLR switching behavior in tests 2014-09-05 02:12:00 -07:00
David Fowler 2e1eedc960 Fixed build.cmd 2014-09-05 01:57:02 -07:00
David Fowler 2445c75c01 Revert "Updated build.cmd"
This reverts commit cefc1e5bdd.
2014-09-05 01:55:51 -07:00
David Fowler cefc1e5bdd Updated build.cmd 2014-09-05 01:55:28 -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 f04921a26a Fixing the name of the APP_BASE environment variable to KRE_APPBASE (mono) 2014-09-03 17:05:10 -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
Praburaj 05cd84667a Enabling X64/CoreClr based test variations as the CLR issues are resolved 2014-08-28 11:55:51 -07:00
Praburaj 963c76f770 Updating deployment helpers to start the host on mono. 2014-08-26 16:48:39 -07:00
Hao Kung e60b1665e3 React to Identity Rename 2014-08-25 11:41:49 -07:00
Praburaj fd5f081cb6 Increasing the wait timeout after the application deployment
I'm starting to see that tests start running too soon before the application started. Increasing the wait time to a bigger number.

It will increase the test runtime of each selfhost variation by a couple more seconds, but it will increase the reliability.
2014-08-22 11:59:58 -07:00
Praburaj c7defa70c9 Updating instructions to run the sample on Mono
With some recent product bug fixes the sample can now run on Mono. The sample uses InMemory store to run on mono due to lack of SqlClient.
2014-08-22 11:35:54 -07:00
Praburaj 5878f8ccb8 Increasing the wait time out to 3 seconds after the db file is created.
A couple of selfhost variations are failing on some of the new CI machines. While trying to reproduce I see that the klr.exe processes are lauching fine. But the tests fail for a couple of self-host variations. Only suspicion is this time out as the client gets a socket exception. It is possible that client is making a request before the server is ready.
2014-08-21 12:48:03 -07:00
Praburaj df3d56be5e Enabling the test code to run on mono
This does not include the deployment helper on mono. So the test needs to point to a statically deployed application url to run.
There are some bugs in mono Httpclient like in case of 302's RequestMessage's Uri not modified, cookies not cleared in cookie container etc. I will file bugs in mono on those and this is a work around until then.

There is still more work and refactoring. This is a first step.
2014-08-20 17:46:53 -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
Pranav K 907a3c6cf3 Updating dev Nuget.config 2014-08-06 12:30:32 -07:00
Pranav K ffe3767467 Updating NuGet.config 2014-08-06 08:30:54 -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
Praburaj a379593746 Fixing a build break
GetClientValidationRules() method's parameter order reversed with a recent MVC change.
2014-07-31 15:08:25 -07:00
Praburaj 581307c24d Fixing some formatting in readme. 2014-07-30 15:58:00 -07:00
Praburaj c6623509e6 Fixing readme with latest instructions 2014-07-30 15:56:02 -07:00
Praburaj 302f5a00fa Using auto generated id for albums 2014-07-30 15:31:13 -07:00
Praburaj 7470e3cb28 @Html.ValueFor replaced with @Html.DisplayFor
The original sample used @Html.DisplayFor. While porting I changed it to use ValueFor. Xinyang pointed out this difference.

Fixing this so that it can be easily compared with the original sample. The results of the view unchanged.
2014-07-30 15:13:25 -07:00
Praburaj 644c45ae5c Adding a _ViewStart page to define the Layoutpage
Removing the Layout page reference from individual cshtml files.
Added some tests to verify layout getting rendered in every view.
Added a couple of verifications to verify that title of the page is set appropriately.
2014-07-30 14:56:20 -07:00
Praburaj 75d9ef5e0d Changing the tests to use Dev14 connection string
Currently to run the tests we need to have Dev12 localdb installed on the machine.
For this to run successfully we need to have Dev14 installed on CI.
2014-07-30 12:45:21 -07:00
Suhas Joshi 53c83de1da Merge pull request #180 from suhasj/Editbuilcmd
Install 64 bit KRE always in build.cmd
2014-07-29 10:21:18 -07:00
Suhas Joshi b4ee3ac6cf Install 64 bit KRE always 2014-07-28 17:06:53 -07:00
Suhas Joshi f7737475f4 Corrected build file 2014-07-25 11:57:32 -07:00
Pranav K 5bace02518 Removing BaseController from MusicStore
TryUpdateModelAsync was added to Controller type which removes the need
for this type
2014-07-25 10:13:51 -07:00