Commit Graph

44788 Commits

Author SHA1 Message Date
Chris R 88114568b9 #167 Prevent duplicate Content-Length headers 2016-09-02 16:23:45 -07:00
Pavel Krymets 8f8152f910 Fix build error 2016-09-02 16:16:41 -07:00
Doug Bunting fae0e9a66e Handle `!ConvertEmptyStringToNull` cases correctly in `SimpleTypeModelBinder`
- #4988
- preserve whitespace as the setting demands
 - correct previous `string.IsNullOrEmpty()` call to match previous `ValueProviderResultExtensions.ConvertTo()` use
- short-circuit other `string`-to-`string` conversions (as `ValueProviderResultExtensions.ConvertTo()` does)
- correct documentation of `ConvertEmptyStringToNull` properties
- add more tests of these scenarios and remove duplicate `BindModel_ValidValueProviderResult_ConvertEmptyStringsToNull()` test
2016-09-02 16:15:18 -07:00
Chris R 6522926c22 Port WebSocket fix from https://github.com/dotnet/corefx/pull/11348 2016-09-02 15:33:10 -07:00
Christian Weiss 6016966dcf Typo in comment of MvcJsonMvcOptionsSetup (#5221) 2016-09-02 14:30:50 -07:00
Andrew Stanton-Nurse b996ee39a4 port dotnet/corefx#11348 (#114)
also adds some tests and extra features to the EchoApp test sample
2016-09-02 14:02:06 -07:00
John Luo d72ef128dd Adding options to specify maximum response body size 2016-09-02 11:57:59 -07:00
Pavel Krymets b340b0f0f7 Add Redis IXmlRepository implementation (#173) 2016-09-02 11:56:47 -07:00
John Luo 3b0f01a8ec Customize key prefix instead of suffix 2016-09-02 11:54:04 -07:00
Justin Kotalik 57c1f877e3 Adds path base to redirect location and tests 2016-09-02 11:26:57 -07:00
Cesar Blum Silveira 7d1a03f51d Serialize functional tests on OS X. 2016-09-02 10:23:24 -07:00
Justin Kotalik f99a9be4d0 quick readme update 2016-09-02 10:22:58 -07:00
Justin Kotalik 51cd14efba Exceptions more descriptive and more NSE 2016-09-02 09:21:20 -07:00
Doug Bunting 2659904061 Build on be73cd7 to include `<input type="image"/>`, reduce duplication, and add tests
- consolidate `ButtonTagHelper` and `SubmitTagHelper` into `FormActionTagHelper`
- consolidate `ButtonTagHelperTest` and `SubmitTagHelperTest` into `FormActionTagHelperTest`

nits:
- do not allocate dictionaries in the `<a>` or `<form>` tag helpers unless needed
- clean up some hard-to-maintain whitespace
2016-09-01 20:03:13 -07:00
Cesar Blum Silveira 5512516ee8 Remove commented test. 2016-09-01 17:18:59 -07:00
Cesar Blum Silveira e203cd41b9 Merge branch 'rel/1.0.1' into dev 2016-09-01 13:59:34 -07:00
Justin Kotalik 65e7f7f44b Removes startsWith in favor of array index, guarantee that string is non-empty in someplaces 2016-09-01 12:28:08 -07:00
Troy Dai f05007e0f2 Fix error message in RequestContext 2016-09-01 12:00:06 -07:00
Kiran Challa 30a4b09d9f Fix CookieOptions.HttpOnly doc comment 2016-09-01 10:18:39 -07:00
Troy Dai 735366ff3f Revert buffer alignment in NativeRequestContext
The buffer alignment will be set to zero so that WebListener will work
properly in all environment except ARM
2016-09-01 10:09:55 -07:00
SteveSandersonMS 03dcae2407 Simplify docs 2016-09-01 17:52:26 +01:00
SteveSandersonMS f0d954b2a6 Design review: Change AddNodeServices to take an Action<NodeServicesOptions> like other aspects of MVC DI config 2016-09-01 17:46:59 +01:00
Pranav K 5944dd6f87 Small perf fixes to improve precompilation times 2016-09-01 09:44:30 -07:00
SteveSandersonMS f04fb8c421 Design review: Always instantiate via DI 2016-09-01 15:51:53 +01:00
SteveSandersonMS 61fd900974 Add missing setup step to docs. Fixes #290. 2016-09-01 14:10:42 +01:00
SteveSandersonMS 09e1cd3b07 TS compiler should ignore "bin" dir because, after VS publish, it might contain duplicates of the app's source files. Fixes #279. 2016-09-01 13:59:28 +01:00
SteveSandersonMS 4effd630a4 Fix typos 2016-09-01 12:42:12 +01:00
SteveSandersonMS 7f5810a622 Add docs about configuring Webpack to build LESS/SASS 2016-09-01 12:36:47 +01:00
Shahriar Gholami be73cd77bf Add buttonTagHelper and submitTagHelper for formaction
Addresses #1668
2016-08-31 22:02:47 -07:00
David Fowler 6795ca2f78 Make the char array for utf8 decoding smaller 2016-08-31 18:54:15 -07:00
Pranav K daf4843fb3 Move Microsoft.AspNetCore.Mvc.Razor.Precompilation.Tests -> Microsoft.AspNetCore.Mvc.Razor.Precompilation.FunctionalTests 2016-08-31 18:17:14 -07:00
Crystal Qian df81f8be57 Added a view component tag helper descriptor factory (#5189) 2016-08-31 17:31:04 -07:00
Crystal Qian d19845730f Added a copy constructor for tag helper descriptors. (#827) 2016-08-31 15:38:35 -07:00
John Luo 52f219b16e Support conditional requests and send 304 when possible 2016-08-31 14:44:12 -07:00
Chris R b31ec7d7a7 #204 Consolidate unsafe buffer access into NativeRequestContext 2016-08-31 14:19:56 -07:00
Doug Bunting 34a4c8c191 Add more tests covering `asp-format` use
- also add comments requested in PR #5109 and #5205
2016-08-31 12:34:22 -07:00
Victor Hurdugaci ac2f21514f Add a flag to specify the log level 2016-08-31 11:48:02 -07:00
muhammed baykal 4bda1cbe6d Implemented asp-format support in input[type=hidden] tag helper. 2016-08-30 18:37:19 -07:00
Crystal Qian 0e1a54ef4f Removed unnecessary dependency. 2016-08-30 17:14:28 -07:00
Stephen Halter 1ecef8094a Make Kestrel's response buffer limit configurable 2016-08-30 16:01:42 -07:00
John Luo a4d2e5ebcd Update static files to use strong comparison on ETags 2016-08-30 15:07:29 -07:00
John Luo e4afd782e8 Add strong and weak ETag comparisons 2016-08-30 14:15:16 -07:00
Justin Kotalik af2c1acee3 Adds XML comments and feedback from 1on1 with Nate. 2016-08-30 13:58:00 -07:00
John Luo a5e9215982 Update calls for string comparison 2016-08-30 12:29:27 -07:00
Kiran Challa 56b3fb9b6f [Fixes #351] Error message incorrectly references RouteCollection when you don't set the default handler on RouteBuilder 2016-08-30 11:16:35 -07:00
Cesar Blum Silveira bfa10db258 Run functional tests sequentially to mitigate flakiness on OS X. 2016-08-30 10:05:00 -07:00
Justin Kotalik 4a06b37280 Modifies .Rewrite and .Redirect to use normal regex syntax for backreferences 2016-08-30 09:59:57 -07:00
Crystal Qian bb5a70f9a8 Added a check for property bag in tag helper descriptor comparer.
Modified TagHelperDescriptorComparer to reflect changes made in #822.
2016-08-30 09:53:45 -07:00
Kiran Challa f7ee16170c [Fixes #5161] Support running middleware pipeline as part of a resource filter 2016-08-30 09:26:04 -07:00
Stephen Halter acfcafb6e1 Ensure MockLibuv.OnPostTask doesn't complete too early 2016-08-29 20:53:00 -07:00