Commit Graph

40898 Commits

Author SHA1 Message Date
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
glennc 86c75018d0 Merge branch 'dev' of github.com:aspnet/Home into dev 2015-10-14 11:54:05 -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
glennc 01a13ed264 Add beta8 samples directory. 2015-10-14 10:03:49 -07:00
Eilon Lipton 82fb0cf6ee Clarify bug number reference in PRs 2015-10-14 09:54:56 -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
Eilon Lipton 2e8e5e92a1 Merge pull request #983 from altonius/patch-1
Updated links to https
2015-10-13 10:44:36 -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
Alton(ius) Blom 650047a287 Updated links to https
Updated a number of links to https instead of http.
2015-10-13 15:10:46 +11: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
ASP.NET Push Bot 8faba80e92 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: aspnet/dnvm@993e8c5f9b
2015-10-12 13:36:24 -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
Doug Bunting 7a8aa95f50 Fix local build break 2015-10-12 13:00:32 -07:00
Doug Bunting c3ac457c20 Fix local build break 2015-10-12 12:59:16 -07:00
Doug Bunting 31f7ca4dfe Fix local build break 2015-10-12 12:57:55 -07:00
Doug Bunting f62b7e4816 Fix local build break 2015-10-12 12:57:00 -07:00
Doug Bunting 62ca4d6a8c Fix local build break 2015-10-12 12:56:34 -07:00
Doug Bunting aadc097839 Fix local build break 2015-10-12 12:56:07 -07:00
Doug Bunting a0b29e3f2b Fix local build break 2015-10-12 12:55:41 -07:00
Doug Bunting 2a951aaeaa Fix local build break 2015-10-12 12:55:15 -07:00
Doug Bunting 0ebd005481 Fix local build break 2015-10-12 12:52:31 -07:00
Doug Bunting 9a3888e4f8 Fix local build break 2015-10-12 12:51:39 -07:00
Doug Bunting 79fe094add Fix local build break 2015-10-12 12:50:44 -07:00
Doug Bunting eef2d5e94f Fix local build break 2015-10-12 12:50:17 -07:00