Commit Graph

37666 Commits

Author SHA1 Message Date
Harsh Gupta 55af12b620 Fixing break 2015-03-18 10:12:25 -07:00
Harsh Gupta 57f22197a9 Enable and Disable Interface renames 2015-03-18 10:08:45 -07:00
Harsh Gupta da6a4f2ab7 Adding Cors Middleware. 2015-03-18 09:44:23 -07:00
Levi B 8592b2e7b1 React to DataProtection changes. 2015-03-17 22:09:53 -07:00
Levi B ca840d3711 Code cleanup in KeyDerivation
- Rename PRF members to be HMAC functions (which is technically correct)
- Use NotNullAttribute where possible
2015-03-17 22:03:43 -07:00
N. Taylor Mullen 52c1c20967 React to HtmlElementName rename to TargetElement.
aspnet/Razor#311
2015-03-17 22:03:11 -07:00
N. Taylor Mullen 4345b06e88 Add tests to validate TagHelper attribute targeting.
- Added tests to validate TargetElementAttribute, TagHelperDescriptorFactory, CSharpTagHelperCodeRenderer and TagHelperParseTreeRewriterTests.
- Renamed HtmlElementNameAttributeTest to TargetElementAttributeTest.

#311
2015-03-17 21:48:54 -07:00
N. Taylor Mullen d22246f636 Add TagHelper attribute targeting.
- Transitioned HtmlElementNameAttribute into a more generic TargetElementAttribute. Targeting an HTML element can be done by attribute, tag or both.
- Updated TagHelperDescriptor to track required attributes.
- Updated TagHelperProvider to ask for provided attributes when resolving TagHelperDescriptors, this is used to apply RequiredAttributes.
- Updated TagHelperParseTreeRewriter to properly track HTML elements that coincide with a TagHelper scope based on the presence of RequiredAttributes.

#311
2015-03-17 21:45:41 -07:00
Levi B 271ec1bd4b Move IApplicationDiscriminator to Infrastructure namespace 2015-03-17 20:56:58 -07:00
Ajay Bhargav Baaskaran db08329637 fix build break 2015-03-17 17:57:02 -07:00
Praburaj 33e3c944d0 Reenabling the tests
Bug https://github.com/aspnet/HttpAbstractions/issues/231 is fixed
2015-03-17 17:55:13 -07:00
Levi B 1e9d57f80c UrlEncoder should always encode the U+003A COLON character
Provides extra defense-in-depth in case an application is using this API to encode a relative URL, otherwise the part before the colon could inadvertently be treated as a scheme.
2015-03-17 17:19:20 -07:00
Ajay Bhargav Baaskaran fc9e1caf43 [Fixes #1331] Register object for dispose in ObjectResult and
FileStreamResult
2015-03-17 17:04:05 -07:00
Ajay Bhargav Baaskaran 39b8d204fd React to aspnet/HttpAbstractions#160 - Implemented OnResponseCompleted 2015-03-17 16:22:47 -07:00
Ajay Bhargav Baaskaran de44c3be99 React to aspnet/HttpAbstractions#160 - Implementing OnResponseCompleted in TestHost 2015-03-17 16:10:05 -07:00
Levi B 22927ec289 Add simple file-based provider instantiation APIs 2015-03-17 15:36:58 -07:00
Levi B 84490846b6 Move time-limited data protector to Extensions project 2015-03-17 14:52:15 -07:00
Ajay Bhargav Baaskaran 68a125b9ce React to aspnet/Razor#281 changes 2015-03-17 14:50:14 -07:00
Praburaj 36a3262661 Moving some IIS express related helpers to a different class. 2015-03-17 14:26:19 -07:00
Praburaj 6445f6388b Temporarily disable the --no-source test variation
Seems to fail on CI but not on local machines. Investigating this.
2015-03-17 14:24:52 -07:00
Ajay Bhargav Baaskaran 1c00cfe7aa React to aspnet/Razor#281 changes 2015-03-17 14:16:50 -07:00
Ajay Bhargav Baaskaran b3c60976a4 Removed @helper directive 2015-03-17 13:54:37 -07:00
sornaks d2bdd4f1d4 Removing 'Options' from ConfigureMvcOptions and ConfigureRazorViewEngineOptions. 2015-03-17 13:35:26 -07:00
sornaks 7daec14e49 Issue #318: Removing Generate*() methods. 2015-03-17 13:15:03 -07:00
sornaks c1338a0542 Reacting to Razor changes for removing Generate*() method. 2015-03-17 13:12:38 -07:00
Praburaj 6dc2417f9e Adding some coverage for the --no-source switch 2015-03-17 12:46:02 -07:00
Hao Kung e2a8efbb64 Cleanup
Switch to logging interfaces reference
Tweak DenyAnonymous logic

Fixes https://github.com/aspnet/Security/issues/181
Fixes https://github.com/aspnet/Security/issues/169
2015-03-17 11:40:58 -07:00
ianhong 1b502cbee7 Music Store sample Unit Tests - (except usermanager and signinmanager) 2015-03-17 11:12:51 -07:00
Kiran Challa 489fc52df8 [Fixes #2108] StringOutputFormatter fails when HttpNotAcceptableOutputFormatter is used 2015-03-17 11:04:46 -07:00
Levi B 94233e76ff Remove experimental .Azure project 2015-03-17 10:45:21 -07:00
ianhong ee49ab727f RazorPage.User should be ClaimsPrincipal 2015-03-17 10:41:22 -07:00
Levi B d673df7ef3 Reliability improvements to key ring updates
- Optimistically treat failures as transient and continue to use any existing cached key ring for a short period of time
- Updates to the key ring shouldn't block other threads; they can use the outdated version while waiting for the update
2015-03-17 00:46:24 -07:00
Levi B 612a81d9ce Defer processing <key> descriptors until necessary
- Make CreateNewKey more robust against bad key repositories
- Don't hide key deserialization errors
2015-03-16 23:32:20 -07:00
Levi B 4365b531d8 Use C# 6 string interpolation feature
Provides cleanup in logging and removes calls to String.Format
2015-03-16 21:38:21 -07:00
N. Taylor Mullen 36f02690d2 Expose source start/end tags on TagHelperBlocks.
- This is to enable the DesignTime to understand TagHelperBlocks full source structure in order to auto format the document.
2015-03-16 21:22:29 -07:00
Hao Kung 47b34cd1da React to auth changes 2015-03-16 18:38:53 -07:00
Hao Kung b761e7d8c2 Fix tests to check results for null 2015-03-16 17:47:29 -07:00
N. Taylor Mullen 2a28e6f4ce Add tests to validate @tagHelperPrefix inheritance.
- Updated some naming bits that were still using the ViewStart name.
- Updated MvcRazorParserTests to test more cases of the parser, especially with @tagHelperPrefix.

#2110
2015-03-16 17:30:11 -07:00
N. Taylor Mullen f49d52b5fc Add @tagHelperPrefix inheritance support.
- Updated some naming bits that were outdated (referring to ViewStart).
- Added a TagHelperDirective merging mechanic to ensure user file descriptors and inherited descriptors come together correctly.

#2110
2015-03-16 17:30:05 -07:00
Hao Kung f05520602f React to Authenticate(schemes) being removed 2015-03-16 16:57:16 -07:00
Praburaj 7a245eba5b Update welcome page text from ASP.NET vnext to 5
Fixes: https://github.com/aspnet/Diagnostics/issues/82
2015-03-16 16:52:24 -07:00
Hao Kung efc5ea9b5d React to auth changes 2015-03-16 16:46:56 -07:00
Ajay Bhargav Baaskaran f63702754f [Fixes #160] Added OnResponseCompleted to HttpResponse 2015-03-16 15:50:58 -07:00
Hao Kung 7abccd8f22 React to Shared NotNull 2015-03-16 15:22:46 -07:00
Hao Kung b0c6090774 Identity ApplicationCookie Automatic by default
React to cookie's not being automatic by default
2015-03-16 15:15:44 -07:00
Hao Kung 14d1b467c6 ClaimsXform and RIP AutoAuthHandler
- Initial support for ClaimsTransformation
- merge automatic auth handler back into base
2015-03-16 15:14:44 -07:00
Ajay Bhargav Baaskaran c1e298b010 React to aspnet/HttpAbstractions#160 - Implementing OnResponseCompleted 2015-03-16 15:10:53 -07:00
Ryan Nowak e16d263cd5 Reduce use of TypeActivation for ModelBinders
These model binders don't have any per-request state so there is no need
for them to be type activated. In one case the model binder actually does
its own caching which is being defeated by the fact that we register it as
type activated.

More changes to come in this area.
2015-03-16 15:10:32 -07:00
ianhong 29909e15f3 Cleaning up AntiForgery 2015-03-16 14:55:47 -07:00
sornaks 37dc8581de Removing 'Options' from the 'ConfigureRouteOptions' extension method name. 2015-03-16 14:54:36 -07:00