Commit Graph

39583 Commits

Author SHA1 Message Date
Nate McMaster 359faf7e51
Remove Microsoft.AspNetCore.Server.IISIntegration.Tools 2016-09-08 15:58:30 -07:00
Nate McMaster e0663483ed
Downgrade to 1.0.0 runtime dependencies 2016-09-08 15:47:15 -07:00
Doug Bunting eee1a9fef4 Do not generate a validation summary when `excludePropertyErrors` unless specific model has an error
- #5209
- update affected `HtmlHelperValiationSummaryTest` and functional tests
- add `ValidationSummaryTagHelperTest` tests to cover related scenarios

##### Behaviour changes when no errors exist for the model:
###### Tag helper
``` html
<div asp-validation-summary="ModelOnly" class="order"><h3>Oopsie<h3></div>
```
previously generated
``` html
<div class="order validation-summary-errors"><h3>Oopsie</h3><ul><li style="display:none"></li>
</ul></div>
```
and now generates
``` html
<div class="order"><h3>Oopsie</h3></div>
```
###### HTML helper
``` c#
@Html.ValidationSummary(excludePropertyErrors: true, message: "Oopsie")
```
previously generated
``` html
<div class=\"validation-summary-errors\"><span>Oopsie</span>
<ul><li style=\"display:none\"></li>
</ul></div>
```
and now generates nothing (`@HtmlString.Empty`).
2016-09-08 15:36:47 -07:00
Ryan Brandenburg 43a0a5a9f1 Replace ConfigureOptions with IConfigureOptions 2016-09-08 15:19:07 -07:00
Chris R bbf1478821 #150 Handle OperationCancelledExceptions to prevent log noise 2016-09-08 14:50:17 -07:00
Pranav K bc7eb631d9 Pin to 1.0.0-rc1-final 2016-09-08 14:16:39 -07:00
N. Taylor Mullen 17c6cfcb4e Actually fix build break. 2016-09-08 11:25:55 -07:00
N. Taylor Mullen 11af25b9b7 Fix travis build break. 2016-09-08 11:21:21 -07:00
BrennanConroy 98e35cc6da Add retry to ApplicationDeployer delete 2016-09-08 11:04:24 -07:00
Pavel Krymets 7a37091d3b Use TaskCache class from Microsoft.Extensions.TaskCache.Sources (#254)
Instead of Task.FromResult(0)
2016-09-08 10:02:07 -07:00
Pavel Krymets ce0ed3d237 Use TaskCache class from Microsoft.Extensions.TaskCache.Sources (#968)
Instead of Task.FromResult(0)
2016-09-08 10:01:53 -07:00
BrennanConroy 5dc14acc32 Increase HttpClient timeout 2016-09-08 09:59:20 -07:00
David Fowler 87cd79d6fc Added decoding tests for the FormReader
- This is the first step in work to remove
char[] allocations from the FormReader
2016-09-08 09:57:58 -07:00
Pavel Krymets 032bcf43b2 Use TaskCache class from Microsoft.Extensions.TaskCache.Sources (#361)
Instead of Task.FromResult(0)
2016-09-08 09:25:44 -07:00
Doug Bunting 755b702823 Correct test failures on Windows with `git config core.autocrlf false`
- line endings in checked-out files do not necessarily match `Environment.NewLine`
2016-09-08 09:20:05 -07:00
Pavel Krymets 50f066579a Use TaskCache class from Microsoft.Extensions.TaskCache.Sources (#257)
Instead of Task.FromResult(0)
2016-09-08 08:46:31 -07:00
Ajay Bhargav Baaskaran 4677bf13fa Reverting accidental changes 2016-09-08 08:28:51 -07:00
SteveSandersonMS 0bcf4b0700 Further work on fix for #235 (solving additional problem that 'npm publish' is hardcoded to exclude node_modules dirs) 2016-09-08 15:58:47 +01:00
Crystal Qian 7a98ff1a64 Added view component tag helper code generator. (#5195)
This addresses #1051. There is one more pull request that needs to be completed/merged (for `CompositeTagHelperDescriptorResolver` and friends). After that, runtime should work!
2016-09-08 10:35:01 -04:00
SteveSandersonMS 5750c4aab7 Publish updated generator-aspnetcore-spa package (0.2.5) 2016-09-08 14:44:37 +01:00
SteveSandersonMS 5fcce843ba Workaround to fix #235 (add placeholder inside node_modules) 2016-09-08 14:32:25 +01:00
SteveSandersonMS 1f2168949d Publish updated aspnet-prerendering NPM package 2016-09-08 12:56:46 +01:00
SteveSandersonMS 4ca1669db1 Prerendering imposes its own (overridable) timeout with descriptive error 2016-09-08 12:56:05 +01:00
SteveSandersonMS 411100478a Fix double-encoding typo 2016-09-08 12:14:45 +01:00
SteveSandersonMS 041d173f56 All NodeServices invocations now have a default timeout, plus a descriptive exception if that happens 2016-09-08 12:08:42 +01:00
SteveSandersonMS 2799861296 Support cancellation of NodeServices invocations 2016-09-08 10:56:50 +01:00
Cesar Blum Silveira 5b2065230d Fix failing keep-alive timeout tests. 2016-09-07 20:58:00 -07:00
Crystal Qian 05392cbf35 Added view component tag helper code generator. (#5195)
This addresses #1051. There is one more pull request that needs to be completed/merged (for `CompositeTagHelperDescriptorResolver` and friends). After that, runtime should work!
2016-09-07 20:30:09 -04:00
Pranav K 0e54281e8b Adding tests for command line parsing
Fixes #10
2016-09-07 16:38:38 -07:00
Ryan Brandenburg 830983a477 Fixes #5198 Stops caching of Enum display values (#5185)
Fixes #5197 GetEnumSelectList uses IStringLocalizer
Fixes #4215 Html.DisplayFor now checks DisplayAttributes on enums
2016-09-07 16:00:17 -07:00
John Luo 7300d9e936 Refactoring ResponseCacheContext
- Extract key creationg into a service
- Extract cacheability checks into a service
- Add a ResponseCachingState feature to preserve response cache context between operations
- Recognize Set-Cookie as not-cacheable
2016-09-07 15:50:22 -07:00
Pavel Krymets bdbb854bdb Use TaskCache class from Microsoft.Extensions.TaskCache.Sources (#829)
Instead of Task.FromResult(0)
2016-09-07 14:53:06 -07:00
John Luo 02b8fb3bbc Use TaskCache class from Microsoft.Extensions.TaskCache.Sources 2016-09-07 11:33:05 -07:00
Pavel Krymets e131ebae47 Use TaskCache class from Microsoft.Extensions.TaskCache.Sources (#955)
Instead of Task.FromResult(0)
2016-09-07 11:24:45 -07:00
Chris R dc8806f07e Downgrade and pin Microsoft.Extensions.RuntimeEnvironment.Sources 2016-09-07 11:24:39 -07:00
Pranav K 484f35691a Don't use DOTNET_BUILD_VERSION in code.
Clean up test projects
2016-09-07 11:19:56 -07:00
Pranav K d046091727 Add an option to embed sources for compiled views (cshtml content) in the generated assembly
Fixes #2
2016-09-07 10:43:51 -07:00
Pavel Krymets 18f08fdb2f Use TaskCache class from Microsoft.Extensions.TaskCache.Sources (#705)
Instead of Task.FromResult(0)
2016-09-07 10:40:13 -07:00
Pavel Krymets 00d593f1f2 Fix build error in samples 2016-09-07 10:33:16 -07:00
Chris R e984b89e0a Switch to master myget feed 2016-09-07 10:24:56 -07:00
Chris R b94519b821 Pin versions 2016-09-07 10:24:38 -07:00
Pavel Krymets 2807e0b436 Use TaskCache class from Microsoft.Extensions.TaskCache.Sources instead of Task.FromResult(0) (#99) 2016-09-07 10:17:04 -07:00
Pavel Krymets 72c3688604 Use TaskCache class from Microsoft.Extensions.TaskCache.Sources (#331)
Instead of Task.FromResult(0)
2016-09-07 10:16:58 -07:00
SteveSandersonMS f358d8e2b2 In HttpNodeInstance, correctly report response serialisation errors back to .NET (previously, it just timed out) 2016-09-07 17:59:13 +01:00
Chris R a526454321 Raise version from 0.2.0-pre to 1.0.0-rc1 2016-09-07 09:55:21 -07:00
Chris R a787a01a73 Downgrade to 1.0 dependencies 2016-09-07 09:45:31 -07:00
Doug Bunting 295dab5d50 Remove .travis.yml file
- no reason to build or test Windows-only WebListener on Linux or OS X
2016-09-07 09:33:50 -07:00
SteveSandersonMS 465d0c8d15 Design review: Explicitly disable TypeNameHandling in all Json.NET usage 2016-09-07 17:12:01 +01:00
Pavel Krymets f7c28fe47f Fix Microsoft.AspNetCore.DataProtection.Azure.Blob dependency version in sample and test 2016-09-07 08:29:37 -07:00
Steve Sanderson 377401b5e6 Update README to clarify that you need .NET Core 1.0 RTM 2016-09-07 14:00:09 +01:00