Commit Graph

40898 Commits

Author SHA1 Message Date
Chris R de2cb12f5c OIDC cleanup 2016-01-21 17:14:15 -08:00
Brennan 88fc5c143a React to Fileprovider namespace changes 2016-01-21 17:08:21 -08:00
Brennan f82d28c723 React to Fileprovider namespace changes 2016-01-21 17:03:18 -08:00
Brennan 70c69178f6 React to Fileprovider namespace changes 2016-01-21 16:56:27 -08:00
Brennan d20b14d846 React to Fileproviders namespace changes 2016-01-21 16:48:58 -08:00
Ajay Bhargav Baaskaran f0777b95a8 [Fixes #3868] Exclude Antiforgery token in form with method Get 2016-01-21 11:29:41 -08:00
Ryan Nowak dd952d8d70 Move some types to .Internal namespace 2016-01-21 10:56:38 -08:00
ryanbrandenburg da478b02ed * Move HttpResponseStreamWriter from Mvc 2016-01-21 10:28:07 -08:00
Kristian Hellang 6737a1f243 Adding params overloads for AddControllersAsServices
- Moved null checks
- Tweaked XML docs
2016-01-21 10:26:38 -08:00
Doug Bunting 04453a2b4f Support user overrides of three more framework-provided `ModelState`-related messages
- #3215
- add new accessor properties to `IModelBindingMessageProvider` and plumb them through
  - use in `ModelStateDictionary` when handling a `FormatException` or `OverflowException`
  - use in `ValidationHelpers` when handling a `ModelError` with `null` `ErrorMessage`
- add new `ModelExplorer` parameter to `IHtmlGenerator.GenerateValidationMessage()`
  - plumb through to `ValidationHelpers.GetModelErrorMessageOrDefault()`

Started from work @kichalla did on the `kiran/movemessages-to-messageprovider` branch in #3775.

nits:
- use helper methods more consistently in `HtmlHelper<T>`; slightly improves error checking
- remove unused `Resources` class from `Microsoft.AspNet.Mvc`
- make `ValidationHelpers` class `public`; already in `.Internal` namespace
  - split `GetUserErrorMessageOrDefault()` in two; rename to `GetModelErrorMessageOrDefault()`
- fix some #YOLO wrapping
2016-01-20 21:14:33 -08:00
Pranav K 91ee0f323b Reacting to CoreCLR package version change 2016-01-20 21:03:04 -08:00
Pranav K f368edc028 Reacting to CoreCLR package version change 2016-01-20 21:01:39 -08:00
Pranav K 40bbad4262 Reacting to CoreCLR package version change 2016-01-20 20:59:53 -08:00
Pranav K 40824999c6 Reacting to CoreCLR package version change 2016-01-20 20:58:22 -08:00
Pranav K 38feebc0d6 Reacting to CoreCLR package version change 2016-01-20 20:53:25 -08:00
Pranav K 802dbea6db Reacting to CoreCLR package version change 2016-01-20 20:50:18 -08:00
Pranav K 9a05ea80c4 Removing System.Runtime.Extensions 2016-01-20 20:47:18 -08:00
Pranav K c8aa4c2c51 Reacting to CoreCLR version changes 2016-01-20 20:39:57 -08:00
Chris R c157d601a2 Avoid merging with anonymous users. 2016-01-20 16:29:20 -08:00
Pranav K 1144fc0e6c React to System.Runtime.Loader TFM changes 2016-01-20 16:02:10 -08:00
David Fowler cb029209a3 Remove top level environment variables from default config 2016-01-20 22:41:47 +00:00
ryanbrandenburg 60047186eb * Replace System.Resources.ReaderWriter 2016-01-20 12:02:02 -08:00
Pranav K 099bc91ef2 Removing --parallel flag 2016-01-20 11:07:17 -08:00
Pranav K 786530fcb3 Use a fixed version of CLI 2016-01-20 10:54:36 -08:00
Derek Gray 328f4d648b Allow ValidationAttributes and IValidatableObjects to resolve services from the RequestServices provider by injecting it into the ValidationContext. 2016-01-20 09:19:24 -08:00
Stephen Halter 8ea24f05f4 Merge branch 'benaadams/reduce-sync-over-async' into dev 2016-01-19 16:35:51 -08:00
Ben Adams fa8fe3d085 Complete sync-blocked calls directly 2016-01-19 22:38:08 +00:00
moozzyk 10964cc04f Disabling parallel restore on Mac and Linux 2016-01-19 14:14:41 -08:00
Andrew Stanton-Nurse 2e02adcfc7 Update _dotnet-restore.shade 2016-01-19 12:39:42 -08:00
Andrew Stanton-Nurse 2564e466e4 Remove --parallel
Now that dotnet cli is using NuGet, it's parallel by default!
2016-01-19 12:26:52 -08:00
John Luo ac21b9538d Reacting to Identity API change 2016-01-19 11:13:05 -08:00
ryanbrandenburg a229b20c48 * StringOutput set proper ContentType 2016-01-19 10:06:30 -08:00
Brennan 3f84e992f4 Make StreamCopyOperation public and update it to same as StaticFiles 2016-01-19 10:03:26 -08:00
Brennan 9c6b081ebc Use HttpAbstractions StreamCopy 2016-01-19 09:56:51 -08:00
Brennan 1cae0695f7 Remove IsLocal 2016-01-19 08:50:17 -08:00
Brennan 63cd6149d1 Removed IsLocal from ConnectionInfo 2016-01-19 08:37:47 -08:00
Brennan 1f21540fd5 Remove IsLocal 2016-01-19 08:35:53 -08:00
Ben Adams d3d9c8d546 Write async chunks async 2016-01-18 13:39:13 +00:00
Doug Bunting 2810858905 Add `HtmlEncoder` parameter to `RazorPage.StartTagHelperWritingScope()`
- aspnet/Razor#643 part 2: react to aspnet/Razor#653
 - change test calls and delegates to include new parameter
 - add tests specifically of the new feature
 - add tag helpers using new feature to `TagHelpersTest` functional test
- note `HtmlEncoder`s used elsewhere e.g. in other `RazorPage` instances are unaffected
 - i.e. changing one `RazorPage.HtmlEncoder` property only affects C# expressions in that page

Also simplify scope management, removing bizarre assertion when user does something odd.

nits:
- correct `// Act` and `//  Act & Assert` content
- remove #YOLO wrapping
2016-01-17 22:59:59 -08:00
Doug Bunting 37850b5d85 Add `TagHelperOutput.GetChildContentAsync()` overloads including an `HtmlEncoder`
- #643 part 1
- change is viral and requires an update to `RazorPage.StartTagHelperWritingScope()`
  - memoize `GetChildContentAsync()` per-encoder
  - update generation tests to match and to test new behaviour
- note `HtmlEncoder`s used elsewhere e.g. in other `RazorPage` instances are unaffected

Add `NullHtmlEncoder`

Nits:
- generally clean up affected doc comments and make them more consistent
- remove unused `using`s in files I had open
2016-01-17 22:34:19 -08:00
John Luo 30db1b0497 Reacting to hosting rename 2016-01-17 18:18:36 -08:00
John Luo 1d9be8728e Reacting to hosting rename 2016-01-17 18:16:09 -08:00
John Luo 249673f2bc Reacting to hosting rename 2016-01-17 18:13:26 -08:00
John Luo 0bd2e3281d Reacting to hosting rename 2016-01-17 17:56:43 -08:00
John Luo f08e1f9428 Reacting to hosting rename 2016-01-17 17:56:18 -08:00
John Luo 9ae4e9e3dd Reacting to hosting rename 2016-01-17 17:34:55 -08:00
John Luo 34e3d14d78 Reacting to hosting rename 2016-01-17 17:28:32 -08:00
John Luo 7ab5f67708 Reacting to hosting rename 2016-01-17 17:22:39 -08:00
John Luo 0f9875df0a Reacting to hosting rename 2016-01-17 17:09:38 -08:00
John Luo 115e89d6f8 Reacting to hosting rename 2016-01-17 17:08:20 -08:00