Commit Graph

39960 Commits

Author SHA1 Message Date
Javier Calvarro Nelson 85f3c841f1 Revert "Revert "Improvements to the testing package.""
This reverts commit 7b28334c41.
2017-09-19 21:45:05 -07:00
Javier Calvarro Nelson 109b0feecd Fix the build 2017-09-19 18:41:48 -07:00
Ryan Brandenburg 7b28334c41 Revert "Improvements to the testing package."
This reverts commit 96bd2769d0.
2017-09-19 18:02:53 -07:00
FTWinston a7fb243501 Added typed HubContext 2017-09-19 16:16:31 -07:00
N. Taylor Mullen f564f0b68e Merge pull request #562 from aspnet/nimullen/addvstext
Add Microsoft.VisualStudio.Text.Data and UI to the universe lineup.
2017-09-19 16:06:23 -07:00
Ryan Nowak cf141cf119 Create new template engine when version changes 2017-09-19 16:04:59 -07:00
N. Taylor Mullen d2b202377f Add Microsoft.VisualStudio.Text.Data and UI to the universe lineup. 2017-09-19 15:58:28 -07:00
Chris Ross (ASP.NET) 1e1e89b457 logging/#543 Clear HttpContext.User when the user is disposed. 2017-09-19 15:55:14 -07:00
Hao Kung 1367a5d385 Make all handlers public 2017-09-19 15:32:28 -07:00
Ryan Brandenburg 89b55679f2 Update bootstrappers 2017-09-19 15:27:31 -07:00
Ryan Brandenburg f9fa765fe8 Update bootstrappers 2017-09-19 15:27:31 -07:00
Ryan Brandenburg 481d787647 Update bootstrappers 2017-09-19 15:27:17 -07:00
Ryan Brandenburg 8cdba4f7ae Update bootstrappers 2017-09-19 15:27:17 -07:00
Ryan Brandenburg f7e8efce37 Update bootstrappers 2017-09-19 15:26:46 -07:00
Pawel Kadluczka ac36121f26 Update README
Adding information about requirements for building the repo. Fixes: https://github.com/aspnet/SignalR/issues/906
2017-09-19 15:13:18 -07:00
Ryan Brandenburg 0c058894c2 Update bootstrappers 2017-09-19 14:44:54 -07:00
Ryan Brandenburg 98385cbcb0 Update bootstrappers 2017-09-19 14:44:54 -07:00
Nate McMaster 0c2708238d Update Korebuild to 2.0.2-alpha-14598 2017-09-19 14:21:33 -07:00
NtFreX 137349edae Add SignalR to common repository list (#2205) 2017-09-19 13:59:14 -07:00
Pranav K 127d23a022 Parse LanguageVersion correctly
Fixes https://github.com/aspnet/Mvc/issues/6611
2017-09-19 13:38:40 -07:00
Ryan Nowak f23ff9452c [Design] Create Template engine from project snapshot 2017-09-19 12:54:55 -07:00
Pawel Kadluczka 80bf695181 Merge branch 'rel/1.0.0-alpha2' into dev 2017-09-19 11:37:03 -07:00
Pawel Kadluczka bee9fcb0d8 Adding support for multiple callbacks per client side method
...and a possibility to remove callbacks

Fixes: #807
2017-09-19 11:13:22 -07:00
Nate McMaster cca1480f3a Switch from feature/x to rel/x branches 2017-09-19 10:48:15 -07:00
Pranav K f0a5af2ba7 Revisit the unwrapping code in ControllerActionInvoker
Fixes #6679
2017-09-19 09:49:37 -07:00
agoretsky 241880eadc Minor improvements (#1403)
* Fixed exception overwriting due to possible NullReferenceException

* Removed unused local variables
2017-09-19 09:14:49 -07:00
David Fowler 24455da8fb Merge branch 'rel/1.0.0-alpha2' into dev 2017-09-18 20:46:14 -07:00
Ryan Nowak 12e61d75a7 remove ifdefs, our tests compile release sometimes 2017-09-18 18:23:32 -07:00
Javier Calvarro Nelson 96bd2769d0 Improvements to the testing package.
* Detect a ConfigureDefaultBuilder static method on Program.cs of the test site
and use it to initialize the IWebHostBuilder instance that we configure for testing.
* Make use of the new service configuration extensibility points in Hosting to override
services for testing.
* Get rid of MvcWebApplicationBuilder and move MVC specific methods into extension methods.
2017-09-18 18:12:01 -07:00
Pawel Kadluczka 8c9016cfbd Removing AspNetCoreVersion for a package reference 2017-09-18 17:26:02 -07:00
Ryan Nowak 6e6a24cbb4 Add a background listener for notifications
This change adds an actual background worker for listening to project
change notifications and starts sending updates when the project's razor
dependencies change.

I had to do a litle surgery to get things working. There were plenty of
small bug fixes.

Additionally I got rid of the WeakReferences for tracking listeners. I
was seeing TextBuffers hanging around in VS longer than I expected and
the WeakReferences weren't getting cleaned up. I think it's better that
we just track the lifetime.
2017-09-18 16:56:53 -07:00
David Fowler 48d97bf271 Turned Stream into StreamAsync (#902)
* Turned Stream into StreamAsync
- Before we were fire and forgetting the invocation that initiated
the streaming, this changes that so that the caller now has to await
to get the channel.

#899
2017-09-18 16:44:18 -07:00
Nate McMaster 177fa71634 Copy packages to ship/noship and verify coherent versions (#560) 2017-09-18 16:44:12 -07:00
Kiran Challa 72eb546329 Added attribute adapter for DataAnnotation's FileExtensionsAttribute 2017-09-18 16:20:26 -07:00
Doug Bunting fd9cb08790 Add Switch.Microsoft.AspNetCore.Mvc.UseDateTimeTypeForDateTimeOffset quirks mode
- patch recipients can use switch to undo the #6648 fix
2017-09-18 15:13:43 -07:00
Doug Bunting 6041c6b966 Auto-select `type="text"` for `DateTimeOffset` values
- cherry-picked from 7e4a8fe in dev
- #6648
- a different take on #4871
- `DateTime` can also round-trip `DateTimeKind.UTC` with `[DataType("datetimeoffset")]` or `[UIHint("datetimeoffset")]`
- since they're now handled differently by default, add more `DateTime` tests
- expand tests involving `Html5DateRenderingMode.CurrentCulture`

nits: make VS-suggested changes to files updated in this PR
2017-09-18 15:13:33 -07:00
Cesar Blum Silveira 91eb4cd54c Fix flakiness in KeepAliveTimeoutTests.ConnectionKeptAliveBetweenRequests (#1684). 2017-09-18 15:12:13 -07:00
Vladimir Sadov 1470ee0658 Updating toolset compiler (#2052) 2017-09-18 15:07:47 -07:00
Hao Kung d1c5f8d78c Fix regression with ChangePhoneNumber tokens 2017-09-18 15:04:04 -07:00
Pranav K 9f5e4eb483 Allow "page" route parameter to be used in Mvc controllers
Fixes #6660
2017-09-18 15:02:13 -07:00
David Fowler 37e122a0c6 Added overloads without the HostingContext (#1220)
* Added overloads without the HostingContext
2017-09-18 14:48:45 -07:00
Kiran Challa 47287c508e Added new extension methods to configure all MVC localization services
[Fixes #5436] Must call `AddViewLocalization()` to use `IStringLocalizer<T>` in an application
2017-09-18 14:28:55 -07:00
David Fowler 2efbd6a95a Merge branch 'rel/1.0.0-alpha2' into dev 2017-09-18 14:14:23 -07:00
Nate McMaster 351156f455 Include DotNetCliToolReference's when computing the build order 2017-09-18 14:04:24 -07:00
Kiran Challa 23b7d8f62a Added RequestFormLimits filter.
[Fixes #5128] Overriding Request Form max upload limit
2017-09-18 13:48:15 -07:00
Pavel Krymets 46dadbb186 Make RegistryPolicyResolver an interface to fix 3d party DI (#275) 2017-09-18 13:43:45 -07:00
Nate McMaster f77b6ff614 Re-add CloneRepositories to BuildDependsOn 2017-09-18 13:26:11 -07:00
Nate McMaster b9e332c11b Use KoreBuild to clone source code instead of TeamCity 2017-09-18 13:10:08 -07:00
Nate McMaster 83adfd2484 Find commit hashes from the TeamCity environment variables 2017-09-18 13:06:07 -07:00
David Fowler 712c992ca8 Add BackgroundService, a base class for long running HostedServices (#1215)
* Add BackgroundService, a base class for long running HostedServices
- Today the IHostedService pattern is a StartAsync/StopAsync pattern. Neither of these
methods are supposed to return a long running task that represents an execution. If
you wanted to have some logic run on a timer every 5 minutes, it's unnatural to do so
with simple async idioms. This base class implements IHostedService and exposes
a pattern where a long running async Task can be returned.
- The token passed into ExecuteAsync represents the lifetime of the execution.
- StartAsync and StopAsync were made virtual to allow the derived type to
indicate Start failures.
- Added tests
2017-09-18 12:55:54 -07:00