Commit Graph

27752 Commits

Author SHA1 Message Date
Kirthi Krishnamraju 18b63b9dbf fix build break 2015-10-15 11:47:32 -07:00
Kirthi Krishnamraju 10ad8b5bdf Remove unused namespace 2015-10-15 11:30:32 -07:00
Pranav K 68e4a0e666 Removing extraneous CoreCLR and Roslyn feeds from NuGet.config 2015-10-15 11:29:59 -07:00
Chris R c93e4f09f2 React to Authentication changes. 2015-10-15 10:09:33 -07:00
Chris R d2835b6d22 React to Authentication changes. 2015-10-15 09:35:48 -07:00
Chris R dbe4327932 React to Authentication API changes. 2015-10-15 09:24:14 -07:00
David Fowler d565659de7 Merge pull request #420 from benaadams/Features-perf
Remove FeatureReference indirection
2015-10-15 04:03:23 -07:00
Hao Kung 027bc5c6b8 React to AuthN changes 2015-10-14 23:17:13 -07:00
Hao Kung 409b50269a Add RemoteAuthenticationHandler base/error handling logic 2015-10-14 23:08:43 -07:00
Hao Kung fd17481a73 React to AuthZ changes 2015-10-14 17:04:31 -07:00
Pranav K 2dcec8fe51 React to Kestrel package rename
Fixes #3323
2015-10-14 16:39:13 -07:00
Stephen Halter 611eaeb761 Add test for large blocks not taken from slab 2015-10-14 16:11:38 -07:00
Stephen Halter 7c27c5c0e7 Better handle blocks not taken taken from slabs
- If the block needs to be larger than 4032 bytes it won't be backed by a slab
2015-10-14 16:05:35 -07:00
Ben Adams 1f4ca55799 Features performance
Use FeatureCacheHelpers static methods rather than struct FeatureReference by default for lower allocation
2015-10-14 23:59:29 +01:00
Ajay Bhargav Baaskaran d40e6612a4 Moving the order of generated hidden tags for checkbox to end of the form
- #2994
- Affects both HtmlHelper and TagHelper scenarios
- Checkboxes not enclosed in a form will generate inline hidden tags
- Added necessary properties to FormContext
- Added some functional and unit tests
2015-10-14 15:43:13 -07:00
Hao Kung a754b9cb61 Switch to Relational from SqlServer for Identity.EF 2015-10-14 14:50:05 -07:00
Hao Kung d28c6e1dbb Changes for error handling in Authentication 2015-10-14 14:44:50 -07:00
Kiran Challa 661477a4bf Fixed tests 2015-10-14 13:13:18 -07:00
Kiran Challa ca2c7f7aaa Reacting to testing changes 2015-10-14 12:10:42 -07:00
Doug Bunting 0581bcf008 Update `MediaTypeHeaderValue.IsSubsetOf()` to perform consistent checks
- aspnet/Mvc#3138 part 1/2
  - check parameters with same polarity as type and subtype
    - ignore quality factors
  - bug was obscured because MVC has no formatters supporting wildcard media types

nits:
- add doc comments
- spelling
- correct typo in a `project.json` file
2015-10-14 12:07:07 -07:00
Doug Bunting 03625c38af Correct polarity of MediaTypeHeaderValue.IsSubsetOf()` checks and remove one conneg fallback
- aspnet/Mvc#3138 part 2/2
- request's Content-Type header must be a subset of what an `IInputFormatter` can consume
  - `[Consumes]` is similar
- what an `IOutputFormatter` produces must be a subset of the request's Accept header
  - `FormatFilter` and `ObjectResult` are similar
- `ObjectResult` no longer falls back to `Content-Type` header if no `Accept` value is acceptable
- left `WebApiCompatShim` code alone for consistency with down-level `System.Net.Http.Formatting`
- correct tests to match new behaviour
  - do not test `Accept` values containing a `charset` parameter; that case is not valid

WIP:
- four test failures; something about comparing media types w/ charset included
- why do some localization tests fail in VS?

nits:
- add `InputFormatterTests`
- add / update comments and doc comments
- correct xUnit attributes in `ActionResultTest`; odd it doesn't show up in command-line runs
2015-10-14 11:59:20 -07:00
Doug Bunting 2e2043f427 Test `[FromServices]` with service that is not available
- test `[FromServices]` for a defined type without a `BinderModelName`
- test `[FromServices]` for a service not available in DI
- test `[FromServices]` for `IEnumerable<TService>` properties

nit: correct name of `ServicesModelBinderTest` to match the model binder class
2015-10-14 11:46:11 -07:00
Stephen Halter 412d527d01 Check all DNX_HOME env variables in LibuvCopier
- Report error if the HOME env variable is required and not set on Linux
2015-10-14 11:44:18 -07:00
Troy Dai a198ae39cc Split the DNX_HOME environment variable when it is a semi-colon separated list 2015-10-14 11:42:18 -07:00
Stephen Halter 06e895b7b6 Make LibuvCopier work on CoreCLR even without DNX env variables
- This should fix our AppVeyor builds
2015-10-14 11:42:17 -07:00
Doug Bunting 9aed5efd51 Add `null` checks for MVC tag helpers 2015-10-14 11:27:25 -07:00
Kiran Challa 67692e1c89 Skipped failing tests 2015-10-14 04:10:13 -07:00
David Fowler 6aaa3cbe06 Use IApplicationLifetime.StopApplication instead of
IApplicationShutdown.

React to hosting changes 374526b270
2015-10-14 01:09:11 -07:00
David Fowler ef38f5589d React to hosting changes to IApplicationLifetime 2015-10-14 00:46:18 -07:00
Kirthi Krishnamraju 7ea6435338 Added localization functional tests 2015-10-13 15:50:55 -07:00
Chris R 2fe2e0d841 #1 Implement a full authentication handler. 2015-10-13 13:47:45 -07:00
David Fowler 374526b270 Merge IApplicationShutdown and IApplicationLifetime
- Added StopApplication to IApplicationLifetime. This will replace
IApplicationShutdown.RequestShutdown.
2015-10-13 13:25:31 -07:00
Kiran Challa a494885e3f React to testing changes 2015-10-13 12:41:37 -07:00
Kiran Challa 38b04a0a50 Fix build break 2015-10-13 12:02:39 -07:00
Kiran Challa 79a8a4e799 Fix deployers 2015-10-13 10:59:47 -07:00
Kiran Challa 916bca69fc Fix tests 2015-10-13 10:27:58 -07:00
Kiran Challa 348ab7c943 Reacting to testing changes 2015-10-13 10:20:10 -07:00
Kiran Challa 7e9fab33b3 Reacting to testing changes 2015-10-13 05:49:40 -07:00
Kiran Challa dcdf778bcc Reacting to testing changes 2015-10-13 05:24:25 -07:00
Kiran Challa 7d132dd87a Reacting to testing changes 2015-10-13 05:20:46 -07:00
Doug Bunting 4e87b0c972 Go back to running `dnu restore` with Mono
- can't fix #290 at this time; need Ubuntu 14.04 on Travis
2015-10-12 18:51:11 -07:00
Doug Bunting bfc1fcf421 Fix local build break 2015-10-12 13:19:51 -07:00
Doug Bunting e509e6849f Fix local build break 2015-10-12 13:18:43 -07:00
Doug Bunting eea089a0f9 Fix local build break 2015-10-12 13:17:24 -07:00
Doug Bunting 598fa025ef Fix local build break 2015-10-12 13:16:01 -07:00
Doug Bunting 187221fcd8 Fix local build break 2015-10-12 13:06:31 -07:00
Doug Bunting 97eccea8c1 Fix local build break 2015-10-12 13:06:05 -07:00
Doug Bunting 50222a8614 Fix local build break 2015-10-12 13:04:41 -07:00
Doug Bunting f9155d17aa Fix local build break 2015-10-12 13:02:48 -07:00
Doug Bunting 035fddd9ee Fix local build break 2015-10-12 13:01:49 -07:00