Pranav K
6f71d6573b
Obsolete ValidationVisitor.AllowShortCircuitingValidationWhenNoValidatorsArePresent ( #14593 )
...
Fixes https://github.com/aspnet/AspNetCore/issues/14126
2019-10-02 15:23:29 -07:00
Javier Calvarro Nelson
cca42d9624
[Blazor][ Fixes #13357 ] input type=time reseting value ( #14379 )
...
* [Blazor] input type=time reseting value
* Normalizes values on the client and sends proper dates and times to
the server.
* Normalizes values applied from the server to the client.
* Introduces @bind and @bind-value support for inputs of types
datetime-local, month, time.
Fixes #13357
* Update JS
2019-10-02 15:21:00 -07:00
Pranav K
9e84abec47
Add a few tests for generic JSInterop ( #14626 )
...
Fixes https://github.com/aspnet/AspNetCore/issues/9061
2019-10-02 12:44:39 -07:00
Pranav K
b9d0e61144
Retarget Ignitor to netcoreapp3.0 ( #14668 )
2019-10-02 12:37:10 -07:00
Adrian D. Alvarez
d053361151
Add visual cue to highlighted code when exception is thrown
2019-10-02 15:11:48 -04:00
Doug Bunting
1ba65ddade
Restore a couple of `using`s
2019-10-02 12:05:29 -07:00
Doug Bunting
a3ac1ce895
Merge branch 'master' into merge/release/3.1-to-master
2019-10-02 10:25:59 -07:00
Steve Sanderson
b14db5700f
Updated Blazor macOS Catalina/iOS 13 workaround ( #14576 )
...
* MacOSX Catalina Beta wasm workaround for booting mono wasm from Blazor.
* Address review comments
* Address review comments
* Make it clear why global scope is used.
* Stylistic tweaks for Catalina workaround
* Further streamlining
* Update js binaries
2019-10-02 07:46:18 -07:00
John Luo
1ed31bd2cb
Merge pull request #14402 from aspnet/brecon/negotiateVersion
...
Negotiate protocol versioning and ConnectionID split
2019-10-01 16:25:35 -07:00
Javier Calvarro Nelson
6bc4d27bfa
Support parameters on server-side rendered components
...
Fixes https://github.com/aspnet/AspNetCore/issues/14433
2019-10-01 16:09:06 -07:00
Pranav K
cc368c8e08
Prevent null refs in RemoteJSRuntime
...
Fixes https://github.com/aspnet/AspNetCore/issues/13396
2019-10-01 16:08:39 -07:00
Pranav K
29a1d50e02
Throw when UseAuthorization is incorrectly configured
...
* Update AuthZ & Cors middlewares to only set endpoint routing metadata when
executing in the context of endpoint routing
* Add analyzers for incorrect UseAuth use
Fixes https://github.com/aspnet/AspNetCore/issues/14049
2019-10-01 16:08:24 -07:00
bkatms
51ae61baca
Support attaching to an existing request queue in HTTP.SYS ( #14182 )
2019-10-01 16:05:52 -07:00
Chris Ross
5df258ae5b
HttpSys GoAway ( #14522 )
2019-10-01 16:05:22 -07:00
Chris Ross
12cba32a11
Make UseStatusCodePagesWithReExecute clear Endpoints ( #14531 )
2019-10-01 16:05:08 -07:00
Chris Ross
0a1e208c76
[3.1] Re-implement SameSite for 2019 ( #13776 )
2019-10-01 16:04:59 -07:00
Ryan Brandenburg
92f771f117
Update templates for 3.1 ( #14637 )
2019-10-01 16:00:10 -07:00
Artak
361428ae3b
Updated npm dependencies ( #14595 )
2019-10-01 15:51:59 -07:00
Ryan Brandenburg
8e6cd2c70d
Port https://github.com/aspnet/AspNetCore/pull/12879 to 3.1 ( #14638 )
...
* Port https://github.com/aspnet/AspNetCore/pull/12879 to 3.1
* PR feedback
2019-10-01 15:51:34 -07:00
Brennan
fa93369beb
Fix null reference exception for Streaming null object ( #14004 ) ( #14515 )
2019-10-01 15:41:06 -07:00
Steve Sanderson
00ebfb4811
When using auth, use CascadingAuthenticationState explicitly. Fixes #14566
2019-10-01 14:50:48 -07:00
Steve Sanderson
ebe81c2978
Fix test that was illegally holding ParameterView references
2019-10-01 14:50:25 -07:00
Steve Sanderson
762cbde480
CR: Add some "in" plus clean up "using"
2019-10-01 14:50:25 -07:00
Steve Sanderson
1ac8ff104e
Add specific unit test in ParameterViewTest
2019-10-01 14:50:25 -07:00
Steve Sanderson
9afb1ce6ae
CR: Clarify comment
2019-10-01 14:50:25 -07:00
Steve Sanderson
c2a45b4fd6
Typo
2019-10-01 14:50:25 -07:00
Steve Sanderson
e6656a68ab
Complete test cases
2019-10-01 14:50:25 -07:00
Steve Sanderson
d59baa8a24
Wrap up lifetime concept as a type, and implement expiry
2019-10-01 14:50:25 -07:00
Steve Sanderson
612a6677b1
Have ParameterView track its owning RenderBatchBuilder
2019-10-01 14:50:25 -07:00
Steve Sanderson
2e7c8649b6
Fix comment
2019-10-01 14:50:25 -07:00
Steve Sanderson
206f793fb5
Add unit tests for illegal ParameterView access
2019-10-01 14:50:25 -07:00
Steve Sanderson
2fc604145a
Update ref assembly
2019-10-01 14:49:59 -07:00
Steve Sanderson
428017a181
Regenerate blazor.server.js
2019-10-01 14:49:59 -07:00
Steve Sanderson
aca8db6572
CR: Rename RenderTreeBuilderExtensions to WebRenderTreeBuilderExtensions
2019-10-01 14:49:59 -07:00
Steve Sanderson
0d30083aab
E2E tests for navigation+preventDefault
2019-10-01 14:49:59 -07:00
Steve Sanderson
6f8b31bdb1
Move navigation preventDefault tests to their own page
2019-10-01 14:49:59 -07:00
Steve Sanderson
62f596c2bd
Actual event bubbling E2E tests
2019-10-01 14:49:59 -07:00
Steve Sanderson
eab8ba85b9
Make navigation+bubbling interactions work like native
2019-10-01 14:49:59 -07:00
Steve Sanderson
47d1ffce05
E2E scenario code for preventDefault+navigation
2019-10-01 14:49:59 -07:00
Steve Sanderson
05c284fe26
Add some E2E scenario code for bubbling
2019-10-01 14:49:59 -07:00
Steve Sanderson
2339282e26
Update JS binaries
2019-10-01 14:49:59 -07:00
Steve Sanderson
580184d7de
Rename "stop bubbling" to "stop propagation" for consistency with JS
2019-10-01 14:49:59 -07:00
Steve Sanderson
896feb49e9
Make navigation interception participate in synthetic event bubbling
2019-10-01 14:49:59 -07:00
Steve Sanderson
cdef672310
Fix newly-created bug with 'on' prefix mismatch
2019-10-01 14:49:59 -07:00
Steve Sanderson
d2887ccc1c
Update JS binaries
2019-10-01 14:49:59 -07:00
Steve Sanderson
86a8dcfe10
Implement actual "prevent default"
2019-10-01 14:49:59 -07:00
Steve Sanderson
e7e2dedf5d
Implement actual "stop bubbling"
2019-10-01 14:49:59 -07:00
Steve Sanderson
31ee4a8daf
Simplify: once we start tracking event info for a given element, there's no real value in deleting that tracking info later
2019-10-01 14:49:59 -07:00
Steve Sanderson
3cd4726c76
Keep track of preventDefault/stopBubbling flags on JS side
2019-10-01 14:49:59 -07:00
Steve Sanderson
3249dce498
Refactor EventHandlerInfosForElement storage to avoid ad-hoc assumptions about storage formats
2019-10-01 14:49:59 -07:00
Steve Sanderson
e6f183e39e
Add RenderTreeBuilder extension methods for "prevent default" and "stop bubbling"
2019-10-01 14:49:59 -07:00
Doug Bunting
72107a5d15
Merge branch 'release/3.1' into 'master'
2019-10-01 11:27:50 -07:00
Doug Bunting
219b528ac2
Create missing directory and simplify workaround slightly
2019-09-30 19:14:00 -07:00
Doug Bunting
477fa8ce4c
Find or install Tar on CI
...
- work around dotnet/core-eng#7970
- install Git in repo if Tar can't be found in usual locations
- use found or installed Tar in Microsoft.AspNetCore.App.Ref project
- copy into repo from wherever it's found
- add lots of `Write-Host` debugging
nit: clean up / comment on VS Code warnings about build.ps1
2019-09-30 16:09:12 -07:00
Doug Bunting
24fc9c0008
Add tests of `MetadataSerializer`
...
- #4914 (2 of probably 3 or 4)
nit: Use more `var`
2019-09-27 12:10:08 -07:00
Mikael Mengistu
68dcbe3990
Update SignalR transport protocol spec ( #13916 )
2019-09-27 10:24:54 -07:00
Kahbazi
b44e9c6a24
Fix null reference exception for Streaming null object ( #14004 )
2019-09-26 15:09:42 -07:00
wtgodbe
49b42b3f10
Fix typo
2019-09-26 14:12:03 -07:00
Brennan
1aa29f044e
C# and Java client negotiateVersion cleanup ( #14196 )
2019-09-25 17:07:45 -07:00
Brennan
2359634909
C# and Java client negotiateVersion cleanup ( #14196 )
2019-09-25 16:37:12 -07:00
wtgodbe
3ad85f984d
Add conditions to workarounds in TemplateTests.props
2019-09-25 15:32:42 -07:00
Pranav K
1937c804fa
Avoid null refs in BlazorIgntior when Disposed ( #14341 )
...
* Avoid null refs in BlazorIgntior when Disposed
Fixes https://github.com/aspnet/AspNetCore/issues/14257
2019-09-25 15:01:35 -07:00
Ryan Brandenburg
6317b34aaa
Increase httpclient reliability ( #14349 )
2019-09-25 13:35:14 -07:00
Brennan
b5db4a96ba
[TS] Add support for negotiateVersion and connectionToken ( #14157 )
2019-09-25 12:42:46 -07:00
Doug Bunting
e361ca7d20
Merge branch 'release/3.1' => 'master' ( #14419 )
2019-09-25 12:39:50 -07:00
Brennan
a2d217c444
[TS] Add support for negotiateVersion and connectionToken ( #14157 )
2019-09-25 12:38:11 -07:00
Scott Batary
f3e6b74623
Reference correct variable in nested try catch
...
Tiny inconsistency I noticed when using this project template
2019-09-25 11:03:39 -07:00
Günther Foidl
752d99ca53
IISHttpContext.FeatureCollection.Protocol recognizes HTTP/2 ( #14412 )
2019-09-25 09:18:18 -07:00
Javier Calvarro Nelson
6d50f25ac3
[Mvc][ Fixes #11783 ] Replace header.Add with header.TryAddWithoutValidation ( #14339 )
2019-09-25 17:07:12 +02:00
Doug Bunting
0d412c3775
Merge branch 'release/3.1' => 'master' ( #14389 )
2019-09-24 22:06:21 -07:00
Hao Kung
894d9af96f
[Helix] Use standard win10 helix queues ( #14263 )
2019-09-24 15:37:57 -07:00
Mikael Mengistu
de15b0c0cb
Add support for negotiateVersion query string parameter and ConnectionToken ( #13880 )
2019-09-24 15:22:21 -07:00
Mikael Mengistu
7d59ae1720
SignalR ConnectionToken/ConnectionAddress feature ( #13773 )
2019-09-24 14:18:11 -07:00
Mikael Mengistu
ea8c2b92f4
SignalR Negotiate protocol versioning ( #13389 )
2019-09-24 14:18:06 -07:00
Pranav K
db8cef1ae6
Merge branch 'release/3.1' into prkrishn/fix-null-ref
2019-09-24 12:39:04 -07:00
Ryan Brandenburg
ab1347ef20
Unskip OpenAPI tests ( #14296 )
2019-09-24 10:52:38 -07:00
Ryan Brandenburg
828f690a94
Merge pull request #14234 from scottaddie/scottaddie/remove-link-locale
...
Remove en-us locale from links in Blazor server-side project template
2019-09-24 10:27:55 -07:00
Javier Calvarro Nelson
82f385892a
[Blazor][ Fixes #7694 ] Makes NavLink NOOP when a null href link is provided ( #14372 )
2019-09-24 16:55:24 +02:00
Javier Calvarro Nelson
ea1cb045a6
Merge branch 'merge/release/3.1-to-master'
2019-09-24 03:19:03 -07:00
Pranav K
c906902333
Apply suggestions from code review
2019-09-23 20:48:42 -07:00
Scott Addie
954134bcd9
Remove en-us locale from links in Blazor server-side project template
2019-09-23 21:05:02 -05:00
Javier Calvarro Nelson
2c179318db
[Templates] Separate F# from C# tests, unskip tests, include reliability improvements. ( #14261 )
...
* Separates F# from C# tests. These tests have very different runtime
characteristics and should not be bundled together as the same test
scenario. For example, we want to quickly separate F# specific issues
from C# specific ones.
* Unskipping all skipped tests as the issue tracking their flakyness
was closed.
* Adding reliability improvements to network requests.
* Adds retries.
2019-09-24 01:08:11 +02:00
Javier Calvarro Nelson
454f18b71a
[Templating][ Fixes #13679 ] Updates Identity _LoginPartial to correctly log out from Identity ( #14315 )
2019-09-24 01:07:27 +02:00
Pranav K
0e7c873d62
Avoid null refs in BlazorIgntior when Disposed
...
Fixes https://github.com/aspnet/AspNetCore/issues/14257
2019-09-23 14:51:25 -07:00
Doug Bunting
26f160d164
Remove additional explict 'netcoreapp3.1' mentions ( #14226 )
...
- e.g. use netcoreappX.Y in comments
2019-09-23 11:46:25 -07:00
Doug Bunting
2e4609a02b
Skip F# variant of `MvcTemplate_NoAuthImplAsync(...)` test
...
- #14022
- template test run on CI does not honour `[Flaky]`
2019-09-23 11:45:49 -07:00
Pranav K
3c05f3a8af
Do not return an top lever parameter analyzer warning for some types ( #13496 )
...
* Do not return an top lever parameter analyzer warning for some types
Fixes https://github.com/aspnet/AspNetCore/issues/6945
2019-09-23 11:17:45 -07:00
Artak
8430a30abc
Updated the description text
2019-09-23 08:44:07 -07:00
Doug Bunting
9a1810c1db
Merge branch 'release/3.1' => 'master' ( #14200 )
2019-09-21 21:39:11 -07:00
Doug Bunting
b8d1b2e213
Avoid use of F# compiler in ProjectTemplates tests
...
- slight expansion of #14022
- skip _less_ of `MvcTemplateTest.MvcTemplate_NoAuthImplAsync`'s F# variant
2019-09-21 19:59:26 -07:00
Doug Bunting
ac9f0fc20c
Update ProjectTemplates test baselines
...
- follow-up to 026b9df3e0 / #13525
2019-09-21 19:52:40 -07:00
Doug Bunting
f79b3a9be2
Skip F# variant of `MvcTemplate_NoAuthImplAsync(...)` test
...
- #14022
- template test run on CI does not honour `[Flaky]`
nit: remove an explicit 'netcoreapp5.0'
2019-09-21 12:26:11 -07:00
Javier Calvarro Nelson
ee9c8bb36d
[Templates][ Fixes #14216 ] Enables running angular npm tests
2019-09-21 11:06:24 -07:00
Javier Calvarro Nelson
2257156346
[Templating] Skip running npm test in the angular template
2019-09-21 10:19:44 -07:00
Javier Calvarro Nelson
2587f74c31
Merge remote-tracking branch 'origin/release/3.1' into merge/release/3.1-to-master
2019-09-21 04:52:15 -07:00
Doug Bunting
2aa3bcaec8
!fixup! bad merge of `Utilities`
2019-09-20 22:43:29 -07:00
Doug Bunting
24fe524029
Revert "Add retries to selfhost deployer ( #13063 )"
...
- per @Tratcher this change is not needed in 'master'
This reverts commit d19093ecbb .
2019-09-20 21:57:31 -07:00
Doug Bunting
339c720d86
Merge branch 'release/3.1' into 'master'
2019-09-20 21:56:41 -07:00
Chris Ross
0138a9fdb2
Expose HttpSys RequestInfo extensibility ( #14119 )
2019-09-20 19:14:36 -07:00
James Newton-King
54ecdaefce
HTTP2: Send remaining data and trailers together ( #13914 )
2019-09-21 08:48:21 +12:00