Commit Graph

42564 Commits

Author SHA1 Message Date
Hao Kung c5d3d32445 Remove UseUserNameAsEmail feature 2014-09-25 15:29:14 -07:00
Hao Kung 76a6c103ce Disable corresponding external signout asserts 2014-09-25 15:23:10 -07:00
Hao Kung 2cb14932f7 Disable sign out external cookie temporarily
Potential SignOut bug is preventing this from working correctly for now
2014-09-25 15:15:07 -07:00
Hao Kung 3c277090de Use ApplicationCookie options in more places
- Remove ClaimsIdentity.AuthenticationType now that
ApplicationCookie.AuthenticationType is available
- Also set Expires on a cookies that need them
2014-09-25 14:57:50 -07:00
Praburaj 6d9bc21e83 Disabled tests by mistake
Enabling them back.
2014-09-25 11:58:11 -07:00
Praburaj 42e23bd261 Enabling the E2E automation for social logins. 2014-09-25 11:48:58 -07:00
YishaiGalatzer 6600e68fc0 Create a pre compilation module and apis to allow meta programming
to precompile razor pages.

This is limited to sites where the .cshtml are still deployed. It's
current purpose is to speed up startup. Deploying without the razor
files is a separate feature.
2014-09-25 11:26:11 -07:00
Praburaj 3e6ce61f27 Enabling social logins
Removing hacks and using identity helpers.
2014-09-24 16:42:05 -07:00
Hao Kung 57002ba359 Replace AlphaNumericUserName with Regex option 2014-09-24 15:41:19 -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
jhawk42 4d2b2a14d5 Win7PlusCoreSystem 2014-09-24 15:17:58 -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
Hao Kung 3f4f846cbb Add social auth and two factor
- Merge Authentication into Core
- Add social login support
- Add two factor support
- Rework options model for startup
2014-09-24 15:05:51 -07:00
Chris Ross 56483cb0ed #54 - Throw if anyone tries to modify the response headers after they are sent. 2014-09-24 13:39:09 -07:00
Kiran Challa 43c7ddb9b7 Making UrlHelper's methods virtual 2014-09-24 13:01:34 -07:00
David Fowler 71964a813c Renamed configurations to frameworks in project.json 2014-09-24 01:28:18 -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
Chris Ross c2934912af #121 - Make the query parsing API public. 2014-09-23 15:13:08 -07:00
Chris R 14bca1d49b Merge pull request #35 from turchenkoalex/bug-27
Issue #27: Error page middleware returns an empty body on OS X
2014-09-23 12:48:42 -07:00
Pranav K 11ee402eec Reviving support for instrumentation in CSharpCodeVisitor
Fixes #42
2014-09-22 17:59:29 -07:00
jacalvar f2dab5eaa7 [Fixes #1156] EmptyResult should not set status code (or do anything for that matter) 2014-09-22 14:12:00 -07:00
Ryan Nowak 131c973853 Fix for #90 - removing Enum.HasFlags
This is a perf improvement of about 500ms for our razor code generation
benchmark on my dev box. That's about .8% of the overall execution time of
this benchmark.

This change will remove a bunch of unnessary allocations from the
parsing/code-generation path, and should improve responsiveness.

For reference Enum.HasFlags performs boxing of the enum value, and then
does a type comparison to see if the types are the same. This is
significantly more costly than a normal bitwise and comparison, and it
results in allocations.
2014-09-22 12:45:52 -07:00
Pranav K 7dc6019839 Adding quotes around boolean value in project.json to make
JavaScriptSerializer on Mono happy
2014-09-22 11:38:34 -07:00
Ryan Nowak 2d9b3dd4fb Fix for #91 - Turn some commonly allocated types into structs
These types are allocated for every state transition in the parser (State)
or every character that's read (character reference) and are fairly
compact. Turning them into structs will remove a significant number of unnecessary
allocations in the parser.

For our razor code generation benchmark, making these changes yields about
500-750ms of speedup (out of 40000ms) or about 1%.
2014-09-22 11:28:54 -07:00
Pranav K dcd921005c Updating tests to run on Mono
Fixes #95
2014-09-22 11:19:13 -07:00
sornaks 96318dcbc2 Issue #1072: Adding Unit Tests for GetSupportedContentTypes, CanWriteResult and for XmlFormatters with DeclaredType as object. 2014-09-22 11:17:37 -07:00
sornaks 0b1ad4ce35 Removing XmlSerializerInputFormatter from the list of Formatters.
Introducing a functional test for XmlSerializerInputFormatter.
2014-09-22 11:07:05 -07:00
Pranav K c9c53a686d Updating build.sh to use kvm from KoreBuild 2014-09-21 21:56:59 -07:00
Pranav K 83f1901844 Modify .gitattributes to ensure sh files always have LF line endings 2014-09-21 17:54:03 -07:00
Pranav K 78458c1869 Adding kvm.sh to KoreBuild 2014-09-21 15:41:33 -07:00
sornaks 4c951cc635 Issue #1081 - XML DataContract Formatter can fail to write when instance type != declaredType.
Adding Functional tests appropriately.
2014-09-19 15:01:49 -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
kulmugdha 9d505f5a24 Merge pull request #147 from aspnet/fixsamples
Fixing samples to use IApplicationBuilder and aspnet50, aspnetcore50
2014-09-19 10:57:55 -07:00
Mugdha Kulkarni de208217a9 Fixing samples 2014-09-18 15:45:36 -07:00
Praburaj 7eb78b8dd1 Adding ability to add a Helios native module based test
Native module is still not fully working with automation. Will be avilable shortly.

The test project will undergo a little bit of refactoring and cleanup as well shortly.
2014-09-18 14:48:48 -07:00
Ryan Nowak fe0a9331d2 cr feedback 2014-09-18 12:40:15 -07:00
Ryan Nowak 1916560546 Porting razorpage perf improvements from codeplex-2119
These changes were worth 2-3% of execution time on a page that makes heavy
use of attribute writing.

Making the overloads for writing a string public should show a small
throughput increase for a typical razor page.
2014-09-18 12:22:10 -07:00
Ryan Nowak 529b17ea70 Fix for codeplex-1120 - Move CreateSerializer out of the base class
This is a small refactor as a precursor for api-explorer work.
2014-09-17 18:07:42 -07:00
Praburaj aadcdf715f Adding a variation to start weblistener from kpm pack output 2014-09-17 16:19:57 -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
Pranav K 70521e1fa6 Merge branch 'release' into dev 2014-09-17 12:51:17 -07:00
Pranav K bc7241d87a Changes to show intellisense for @inject directive 2014-09-17 12:49:56 -07:00
Pranav K 102e2e5739 Merge branch 'release' into dev 2014-09-17 12:47:10 -07:00
Pranav K a5668bdbab Make CompleteBlock accessible to derived parser 2014-09-17 12:46:00 -07:00
Pranav K 6d17f77cd2 Updating dev NuGet.config 2014-09-17 10:02:41 -07:00
Pranav K 100466112d Updating release NuGet.config 2014-09-17 10:02:39 -07:00
Pranav K b704f61420 Updating dev NuGet.config 2014-09-17 10:01:13 -07:00
Pranav K 3b5c3daf08 Updating release NuGet.config 2014-09-17 10:01:11 -07:00
Pranav K b5df3eb1d5 Updating dev NuGet.config 2014-09-17 10:01:06 -07:00
Pranav K 69237f5c19 Updating release NuGet.config 2014-09-17 10:01:04 -07:00