Commit Graph

43822 Commits

Author SHA1 Message Date
SteveSandersonMS 7c316d5c74 Update to ASP.NET Core 1.0.1. Fixes #309 2016-09-14 11:36:53 +01:00
Doug Bunting 809d2bf7ec Add `ValidationHtmlAttributeProvider` to make `AddValidationAttributes()` available
- #5028
- helpers similar to our HTML or tag helpers can use the new singleton to examine or add validation attributes
 - in the most common case, helpers add validation attributes to a `TagBuilder`
- separate `DefaultValidationHtmlAttributeProvider` from `DefaultHtmlGenerator`
 - avoids creating two instances of the `DefaultHtmlGenerator` singleton
 - would be even uglier to require callers to cast an `IHtmlGenerator` to `ValidationHtmlAttributeProvider`
- `[Obsolete]` old `DefaultHtmlGenerator` constructor
2016-09-13 21:07:18 -07:00
Sébastien Ros 5480aa182b Clearing up FindByEmailAsync usage
Makes it explicit that the parameter can be any email, but the query will be based on the normalized value.
2016-09-13 16:06:52 -07:00
Kiran Challa ad90db343c [Fixes #101] Cookie path is always / in IIS 2016-09-13 13:58:02 -07:00
Daniel Roth 68e1275ab7 Removing unused solution file 2016-09-13 13:55:54 -07:00
Daniel Roth 3b8fc8c650 Remove old artifacts from Home repo (#1754) 2016-09-13 13:55:26 -07:00
Daniel Roth 7ef9ea0888 Update for 1.0.1 2016-09-13 10:46:59 -07:00
Pranav K 3b45ea5c27 Add a test that verifies strong name signing works for precompiled views
Fixes #16
2016-09-13 10:03:56 -07:00
SteveSandersonMS b72435c5cc Yeoman generator support for optional --projectguid=... CLI argument 2016-09-13 13:57:23 +01:00
SteveSandersonMS 7f841ff840 In Yeoman generator, support passing args from command line (e.g., --framework=angular-2) 2016-09-13 13:44:51 +01:00
SteveSandersonMS 80f740a9ed Revert "Webpack HMR EventSource requests are now proxied (rather than redirected) to the local HMR server" because of 'ECANCELED'/'EPIPE broken pipe' issues. Awaiting feedback from Kestrel team. 2016-09-13 12:51:23 +01:00
John Luo e236e64055 Fallback to empty cache control when none is explicitly cached 2016-09-12 17:27:40 -07:00
Mikael Mengistu d2913edf61 Added tests for ExactMatch, IntegerMatch and StringMatch in the Rewrite
project.
2016-09-12 17:24:28 -07:00
Pranav K 4a5e1f4a72 Use as cast instead of C-style cast for IVewContextAware helpers
Fixes #5254
2016-09-12 16:34:02 -07:00
John Luo 65b89668bb Allow lookup of multiple keys
- Do not cache if content-length mismatches with the length of the response body
2016-09-12 16:28:58 -07:00
John Luo 6a04fe5fb7 Store body and header separately, preliminary sharding
- Add fast id
2016-09-12 15:20:58 -07:00
Pranav K 755957b694 Use HttpClient from Fixture instrad of creating a new one per test 2016-09-12 15:18:18 -07:00
Stephen Halter 84efe624a6 Fix deadlock in HttpsTests
- The xunit synccontext was saving us again
2016-09-12 11:06:29 -07:00
Stephen Halter 39bd49ea1a Avoid blocking the MockLibuv loop with test code
- This allows for a graceful shutdown with dotnet test -Parallel None
- By default, the xunit synccontext will dispatch automatically off
  the KestrelThread, but it's best not to rely on this behavior.
2016-09-12 11:06:29 -07:00
Andy Edinborough c037a577b0 Set background color for ErrorPage
* Set background color for ErrorPage

When using various browser developer tools with a dark theme, the text for the page is unreadable, because the background color has not been set, while the foreground color has.

* update Designer files
2016-09-12 11:03:18 -07:00
Stephen Halter 2fbf0c6281 Merge branch 'DamirAinullin/single-initialize' into dev 2016-09-12 10:34:35 -07:00
Cesar Blum Silveira 8c513402a3 Always call ConsumingComplete() with furthest examined position (#1095). 2016-09-10 20:05:14 -07:00
Pavel Krymets c777a9efea Use TaskCache class from Microsoft.Extensions.TaskCache.Sources (#1089)
Instead of Task.FromResult(0)
2016-09-09 15:57:33 -07:00
Chris R ba49651552 Increment version to 1.0.0-rc1-final 2016-09-09 15:43:04 -07:00
Chris R 99a98af51e #229 Update package descriptions and tags 2016-09-09 13:53:15 -07:00
Nate McMaster f21c603f5a Downgrade dotnet-publish-iis to latest stable release 2016-09-09 10:20:20 -07:00
Nate McMaster bbffd97633
⬆️ Bump tool on dev branch to 'preview4' and re-up dependencies to latest dev versions 2016-09-09 10:14:52 -07:00
Nate McMaster bf5d2f5dff
Revert deletion of makefile.shade from e0663483ed 2016-09-09 09:01:36 -07:00
SteveSandersonMS f071590fce Webpack HMR EventSource requests are now proxied (rather than redirected) to the local HMR server. Fixes #271. 2016-09-09 16:31:15 +01:00
SteveSandersonMS bc2de2ad59 In aspnet-webpack HMR, don't rely on assumption that entry point is called 'main'. Fixes #289. 2016-09-09 13:21:31 +01:00
SteveSandersonMS 605090e909 Publish updated version of aspnet-webpack as 1.0.10 2016-09-09 11:37:57 +01:00
Erik Medina 67f7e7450f Adding tsd to dev dependencies in aspnet-webpack.
Adding tsd to aspnet-webpack's dev dependencies to allow the package's npm prepublish script to succeed without a global tsd install.
2016-09-09 11:34:43 +01:00
Erik Medina da662c55fa Make webpack dev dependency a peer dependency in aspnet-webpack.
Moving webpack from a dev dependency to a peer dependency makes the dependency soft and allows the webpack-dev-middleware to pickup the version of webpack being used by the consumer of the package.
2016-09-09 11:34:43 +01:00
SteveSandersonMS b4bec30b0f Clean up dependencies vs devDependencies in templates 2016-09-09 11:31:36 +01:00
SteveSandersonMS 28550784ed ReactReduxSpa's boot-server now supports redirections issued by react-router 2016-09-09 11:12:59 +01:00
SteveSandersonMS 1be9102aea Prerendering server-side code can now issue redirections. Fixes #280 2016-09-09 11:09:44 +01:00
SteveSandersonMS c2c45b04df In preparation for supporting redirections, aspnet-prerendering now passes through all boot func resolution props to .NET code 2016-09-09 11:06:36 +01:00
Steve Sanderson 874575ba92 Fix instructions for running samples. Fixes #301 2016-09-09 09:44:16 +01:00
Nate McMaster 16ee36c20a
Downgrade dotnet-publish-iis to latest stable release 2016-09-08 16:19:56 -07:00
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