Commit Graph

40898 Commits

Author SHA1 Message Date
Doug Bunting a170a4e1e4 Add `ModelBindingContext.IsFirstChanceBinding` and `IsTopLevelObject`
- cleanup duplicate code now that #2445 is fixed
- update unit tests using old `ModelBindingContext` setups
- fix (just) one integration test where `MutableObjectModelBinder` incorrectly calculated
  `isTopLevelObject` and returned a non-`null` model
- undo temporary changes in `BodyModelBinderTests` due to increased reliance on incorrect
  `isTopLevelObject` in #2445 fix

nits:
- combine tests that are now duplicates
- beef up coverage of some `MutableObjectModelBinderTest` cases
- remove unused `using`s
2015-06-24 09:17:29 -07:00
Doug Bunting a8c37e57de Fix build break: React to aspnet/EventNotification#11
- also aspnet/EventNotification@14e8e85
- `NotifierMethodAdapter` was renamed to `ProxyNotifierMethodAdapter`
2015-06-24 09:02:58 -07:00
Doug Bunting 715a0b6021 Add `ModelState` entries for greedy and type-matching model binders
- part II of II for #2445
- `FormCollectionModelBinder` is an exception because container is not user-provided
 - no `ModelState` entry added
- enable tests that #2445 was blocking
 - fix these and other tests expecting different `ModelState` entries
- simplify logic in `FormFileModelBinder`

`ValueProviderResult`
- remove `protected` setters and parameterless constructor
 - no scenario for their use in subclasses; however `ConvertTo()` remains `virtual`
- add single-parameter constructor
 - use in most of the greedy and type-matching model binders
- add doc comments throughout class

nits:
- use new `ValueProviderResult` constructor in many existing tests
- `""` -> `string.Empty` and `vpr` -> `valueProviderResult` in `ValueProviderResultTest`
- improve some test names in `BodyValidationIntegrationTests`
- do not check `Message` of a Json.NET `Exception`
2015-06-23 22:34:55 -07:00
N. Taylor Mullen c77f3978d4 Change hardcoded `bash` shebang to `env`
- aspnet/Home#695
- support various ash installation locations
- in particular, enable building on FreeBSD
2015-06-23 16:52:04 -07:00
Arthur Vickers 88288ae9d3 React to EF name changes 2015-06-23 16:00:56 -07:00
Arthur Vickers 3ad117ac83 React to EF name changes 2015-06-23 16:00:47 -07:00
Arthur Vickers 33a673cd35 React to EF name changes 2015-06-23 16:00:32 -07:00
Harsh Gupta b1ade8f2cf Add single csv values so that there is a single response header added per value. 2015-06-23 15:57:09 -07:00
Thomas L. Kjeldsen 1dd1411ca6 Merge remote-tracking branch 'upstream/dev' into dev 2015-06-23 23:54:29 +02:00
Henk Mollema 3d53334a03 Update README.md 2015-06-23 14:29:13 -07:00
Hao Kung ee8baab1ed Nuke RequestServicesContainer (inline instead) 2015-06-23 13:44:06 -07:00
Hao Kung f4f7fac189 Remove extra config param that's not used 2015-06-23 13:30:55 -07:00
Ryan Nowak 6471ef34a7 Add Antiforgery to repo list 2015-06-23 12:20:47 -07:00
Hao Kung 3e3fcb54a8 Merge remote-tracking branch 'edz/EFStoreTryAdd' into dev 2015-06-23 12:18:48 -07:00
Ryan Nowak 9eeb1de68f Use DI for all Antiforgery services
This change makes it possible to replace all of the various
IAntiforgery*** extensibility points via DI.

changes:
- Move functionality out of AntiforgeryWorker into Antiforgery
- Move services to DI (instead of constructed by Antiforgery)
- Cleanup how application/cookie-name is computed
- Merge IAntiforgeryTokenGenerator & IAntiforgeryTokenValidator
- Unseal classes
- Fix use of options in services
- Misc test cleanup
2015-06-23 12:13:01 -07:00
Doug Bunting a710c55ba9 Change hardcoded `bash` shebang to `env`
- aspnet/Home#695
- support various `bash` installation locations
- in particular, enable building on FreeBSD
2015-06-23 12:11:32 -07:00
Chris R 38f70a02f7 #125 Add a Hosting dependency and Program.Main. 2015-06-23 11:55:59 -07:00
Doug Bunting 210c73279c Change hardcoded `bash` shebang to `env`
- aspnet/Home#695
- support various `bash` installation locations
- in particular, enable building on FreeBSD
2015-06-23 11:44:10 -07:00
Doug Bunting 41dba1fea1 Change hardcoded `bash` shebang to `env`
- aspnet/Home#695
- support various `bash` installation locations
- in particular, enable building on FreeBSD
2015-06-23 11:43:31 -07:00
Doug Bunting 445e046754 Change hardcoded `bash` shebang to `env`
- aspnet/Home#695
- support various `bash` installation locations
- in particular, enable building on FreeBSD
2015-06-23 11:40:43 -07:00
Ajay Bhargav Baaskaran 4a4b8ec87e Made JsonOutputFormatter consistent with JsonInputFormatter 2015-06-23 11:39:59 -07:00
Ajay Bhargav Baaskaran f206cf6759 Removed IJsonOutputFormatter 2015-06-23 11:39:53 -07:00
Ajay Bhargav Baaskaran 5632a33098 Removed unnecessary log statement 2015-06-23 11:12:06 -07:00
Doug Bunting c858e3bfcd Change hardcoded `bash` shebang to `env`
- aspnet/Home#695
- support various `bash` installation locations
- in particular, enable building on FreeBSD
2015-06-23 11:06:44 -07:00
Doug Bunting 43b428941b Change hardcoded `bash` shebang to `env`
- aspnet/Home#695
- support various `bash` installation locations
- in particular, enable building on FreeBSD
2015-06-23 11:06:12 -07:00
Doug Bunting 864d5e0b39 Change hardcoded `bash` shebang to `env`
- aspnet/Home#695
- support various `bash` installation locations
- in particular, enable building on FreeBSD
2015-06-23 11:05:23 -07:00
Doug Bunting a73867eabe Change hardcoded `bash` shebang to `env`
- aspnet/Home#695
- support various `bash` installation locations
- in particular, enable building on FreeBSD
2015-06-23 11:03:41 -07:00
Doug Bunting a29188444e Change hardcoded `bash` shebang to `env`
- aspnet/Home#695
- support various `bash` installation locations
- in particular, enable building on FreeBSD
2015-06-23 11:02:33 -07:00
Doug Bunting 30b7c31345 Change hardcoded `bash` shebang to `env`
- aspnet/Home#695
- support various `bash` installation locations
- in particular, enable building on FreeBSD
2015-06-23 11:02:01 -07:00
Doug Bunting 14c4f46359 Change hardcoded `bash` shebang to `env`
- aspnet/Home#695
- support various `bash` installation locations
- in particular, enable building on FreeBSD
2015-06-23 11:00:06 -07:00
Doug Bunting d5c9599668 Change hardcoded `bash` shebang to `env`
- aspnet/Home#695
- support various `bash` installation locations
- in particular, enable building on FreeBSD
2015-06-23 10:59:34 -07:00
Doug Bunting c83ff60275 Change hardcoded `bash` shebang to `env`
- aspnet/Home#695
- support various `bash` installation locations
- in particular, enable building on FreeBSD
2015-06-23 10:58:52 -07:00
Doug Bunting 0013d44167 Change hardcoded `bash` shebang to `env`
- aspnet/Home#695
- support various `bash` installation locations
- in particular, enable building on FreeBSD
2015-06-23 10:58:16 -07:00
Doug Bunting 4aa1d4b1b7 Change hardcoded `bash` shebang to `env`
- aspnet/Home#695
- support various `bash` installation locations
- in particular, enable building on FreeBSD
2015-06-23 10:54:02 -07:00
Ajay Bhargav Baaskaran 0882a393a4 Removed unwanted logging for non-matching routes 2015-06-23 10:53:58 -07:00
Doug Bunting 5aaae8ba9b Change hardcoded `bash` shebang to `env`
- aspnet/Home#695
- support various `bash` installation locations
- in particular, enable building on FreeBSD
2015-06-23 10:52:53 -07:00
Doug Bunting 88fa7fb51a Change hardcoded `bash` shebang to `env`
- aspnet/Home#695
- support various `bash` installation locations
- in particular, enable building on FreeBSD
2015-06-23 10:52:23 -07:00
Doug Bunting e8ac98ad5d Change hardcoded `bash` shebang to `env`
- aspnet/Home#695
- support various `bash` installation locations
- in particular, enable building on FreeBSD
2015-06-23 10:46:47 -07:00
Brennan 1abb33d4bc Adding a couple mono tests back in 2015-06-23 09:02:41 -07:00
Peter Jas 32f8c6967e build: Enables FreeBSD support.
Changed hardcoded bash shebang to env to support multiple directory
structures (required to build on FreeBSD).

PR-URL: #238
2015-06-23 07:53:13 -07:00
Eilon Lipton 493959dd12 Merge pull request #37 from hishamco/buildStatus
Fix AppVeyor token
2015-06-22 21:55:51 -07:00
Eilon Lipton fdd23ecf43 Merge pull request #110 from hishamco/buildStatus
Add AppVeyor, Travis build status
2015-06-22 21:49:38 -07:00
Eilon Lipton 33c098355c Merge pull request #192 from hishamco/buildStatus
Add AppVeyor, Travis build status
2015-06-22 21:49:15 -07:00
Eilon Lipton f8b2601fbd Merge pull request #41 from hishamco/buildStatus
Add AppVeyor, Travis build status
2015-06-22 21:48:02 -07:00
Hisham Abdullah Bin Ateya ba952b8372 Add AppVeyor, Travis build status 2015-06-23 07:35:03 +03:00
Hisham Abdullah Bin Ateya d4d49db86c Add AppVeyor, Travis build status 2015-06-23 07:28:53 +03:00
Hisham Abdullah Bin Ateya ea09b9b339 Add AppVeyor, Travis build status 2015-06-23 07:25:27 +03:00
Eilon Lipton 146e9a383c Merge pull request #499 from hishamco/buildStatus
Add AppVeyor, Travis build status
2015-06-22 21:24:07 -07:00
Eilon Lipton f9085e9043 Merge pull request #1 from hishamco/buildStatus
Add AppVeyor, Travis build status
2015-06-22 21:23:35 -07:00
Hisham Abdullah Bin Ateya bf1aec9fa5 Add AppVeyor, Travis build status 2015-06-23 07:20:35 +03:00