Commit Graph

18980 Commits

Author SHA1 Message Date
Vyacheslav Napadovsky 01cc669960
Bugfix for Microsoft.AspNetCore.Identity.Base32.ToBase32 function (#19621)
* Bugfix for Microsoft.AspNetCore.Identity.Base32.ToBase32 function

* Add Base32 class tests
2020-03-16 21:15:03 -07:00
Brennan 2a1cc04a32
Ignore bad restore sources (dotnet-watch tests) (#19893) 2020-03-16 12:59:50 -07:00
Brennan 37c2a882c4
Use Node-Fetch instead of Request for TS client (#19708) 2020-03-13 17:39:25 -07:00
Brennan 25b4f8069d
Add environment variables for Launcher path and args in ANCM (#19797) 2020-03-13 16:07:16 -07:00
Brennan fdaa334567
[ANCM] Add switch to prefer env over web.config (#19746) 2020-03-11 15:53:41 -07:00
James Newton-King 56a64a6ff0
Avoid string allocation when converting zero (#19732) 2020-03-12 09:52:12 +13:00
James Newton-King 88b134f877
Reuse Http2MessageBody (#19629) 2020-03-12 09:38:29 +13:00
Julio Avellaneda 8ad0f1fbe6
Update gitter url (#19755)
Update gitter url.
2020-03-11 09:31:59 -07:00
Brennan e00a7c4d52
Increase logging in TS functional tests (#19582) 2020-03-10 07:51:27 -07:00
Pranav K 7e0e50f052
Merge pull request #19726 from dotnet/prkrishn/merge-5.0-preview2
Merge 5.0-preview2
2020-03-10 07:37:11 -07:00
Hao Kung bc6bc2d22c
Reenable Components analyzers on helix (#19721) 2020-03-09 22:14:20 -07:00
James Newton-King 92e98b7ede
Read server response in Http2ConnectionBenchmark (#19694) 2020-03-10 15:50:16 +13:00
James Newton-King cd6e6ae0bc
Reuse Http2OutputProducer.ProcessDataWrites task (#19695) 2020-03-10 15:45:24 +13:00
Andrew Stanton-Nurse 8ec31594ea
Fix #2442 by adding webmanifest extension to content-type map (#19661) 2020-03-09 17:30:54 -07:00
Guillaume Nury 58c13c312e
Support nullable enum in InputSelect (#19506)
As BindConverter supports Nullable enums (here), call it if the underlying type has type of enum.

Addresses #13624
2020-03-09 16:00:35 -07:00
Pranav K 54d6d7292d
Merge remote-tracking branch 'origin/release/5.0-preview2' 2020-03-09 15:51:52 -07:00
Doug Bunting c4305ff51e
Merge pull request #19655 from dotnet-maestro-bot/merge/release/5.0-preview2-to-master
[automated] Merge branch 'release/5.0-preview2' => 'master'
2020-03-09 15:00:23 -07:00
Pranav K 72bb72f11c
Quarantine Blazor-Ignitor based tests (#19667) 2020-03-09 14:28:51 -07:00
Pranav K 19d49670a6
Update MvcTemplateTest.cs 2020-03-09 13:39:59 -07:00
Pranav K fb0abb968f
Quarantine template tests thaat require artifacts 2020-03-09 13:28:12 -07:00
Pranav K 8cd77358ea
Merge branch 'master' into merge/release/5.0-preview2-to-master 2020-03-09 10:30:10 -07:00
Justin Kotalik 3a971ef253
Change quic package name to experimental (#19657) 2020-03-09 09:03:48 -07:00
John Luo aebb921320
Re-enable AssemblyTestLogTests (#19686) 2020-03-08 22:19:55 -07:00
Hao Kung 124a0b6b38
[Helix] Reenable some template tests again (#19520) 2020-03-08 14:05:06 -07:00
David Fowler ddedfc64c9
Use a property instead of a method (#19690)
- Rename GetTrasnsport to TransportConnection
2020-03-08 12:44:30 -07:00
Artak 5af0c471dd
Unquarantined the OpenApi tests (#19684) 2020-03-07 22:15:53 -08:00
John Luo 54b506e572 Skip some tests on Helix 2020-03-07 17:45:10 -08:00
John Luo ce636c5afb Update 2020-03-07 14:20:32 -08:00
John Luo 07f5ddb6ac Merge branch 'darc-master-0953e74e-e47a-4645-b853-e2b467f3762c' into johluo/migrate-logging-testing 2020-03-07 13:24:03 -08:00
Doug Bunting 5c6c1e9bdc
Merge branch 'master' into merge/release/5.0-preview2-to-master 2020-03-07 12:31:07 -08:00
Andrew Stanton-Nurse f9cb6f4295
fix #19571 by removing dataprotection.azure packages (#19572) 2020-03-06 16:46:42 -08:00
Brennan f053620895
[SignalR] Avoid deadlock with closing and user callbacks (#19612) 2020-03-06 15:25:51 -08:00
John Luo 9f56862320
Build aspnetcore for win-arm64 (#19317)
* Build for win-arm64

* Missed file

* Disable Selenium tests on arm64

* Include installers in the uploaded artifacts
2020-03-06 14:47:29 -08:00
John Luo d2b67cad82 Feedback 2020-03-06 12:42:42 -08:00
John Luo 82c87d678b Use QuarantinedTest 2020-03-06 11:22:54 -08:00
Andrew Stanton-Nurse 850240804c
Skip Interop.FunctionalTests on arm (#19648)
there's no h2spec build for it
2020-03-06 11:19:22 -08:00
John Luo 765ccfdbc1 Merge branch 'release/5.0-preview1' 2020-03-06 11:11:33 -08:00
James Newton-King 7cb9029a0f
Fix StreamPool_StreamIsInvalidState_DontReturnedToPool (#19622) 2020-03-06 18:31:35 +00:00
github-actions[bot] e886169745
Sync shared code from runtime (#19636)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-03-06 10:08:04 -08:00
msftbot[bot] 46aa8365cc
Update Http2ConnectionTests.cs (#19616) 2020-03-05 23:04:27 +00:00
Andrew Stanton-Nurse 9458ebb543
try re-enabling http2 interop tests on helix (#19573) 2020-03-05 11:30:24 -08:00
James Newton-King 0db0640e6b
Reuse HTTP2 stream pipes to reduce allocations (#19356) 2020-03-06 08:15:31 +13:00
msftbot[bot] 557bcd9ec5
readme update (#19553)
Co-authored-by: Justin Kotalik <jukotali@microsoft.com>
2020-03-05 18:50:24 +00:00
James Newton-King f37a750912
Add functional test for header string reuse in HTTP/1.1 (#19588) 2020-03-06 07:42:26 +13:00
James Newton-King 487a0f6a5d
Add HeaderEnumerator tests (#19585) 2020-03-06 07:41:12 +13:00
Brennan f910345469
Enable detailed msbuild verbosity for user secrets (#19516) 2020-03-05 08:39:58 -08:00
John Luo f05e019271
Merge branch 'master' into johluo/migrate-logging-testing 2020-03-04 22:17:06 -08:00
John Luo c181547864 Migration fixup for Logging.Testing 2020-03-04 22:10:12 -08:00
James Newton-King 5aa86873c3
Add HTTP/2 HPack static compression (#19521) 2020-03-05 17:08:53 +13:00
John Luo 6baba15cdc Merge branch 'master' of ..\extensions2\ into johluo/migrate-logging-testing 2020-03-04 17:46:27 -08:00
James Newton-King 3925546732
Reset Http2Stream when it starts (#19589) 2020-03-05 14:28:02 +13:00
Artak d71a61ded8
Quarantine the `ReactTemplate_IndividualAuth_NetCore` test (#19584) 2020-03-04 16:34:31 -08:00
Artak 4192a023f5
Mark tests as flaky (#19415)
* Mark tests as flaky

* Update ComponentHubReliabilityTest.cs

* Update InteropReliabilityTests.cs

* Update ServerComponentRenderingTest.cs

* Update ServerComponentRenderingTest.cs
2020-03-04 15:26:19 -08:00
msftbot[bot] 54d71af00d
Add example for UserLoginInfo's ProviderDisplayName property (#19357) 2020-03-04 21:07:18 +00:00
Andrew Stanton-Nurse 3b4be4f51a
Quarantining some tests (#19568) 2020-03-04 11:27:55 -08:00
msftbot[bot] 648d9e37a9
Fixed Typo in UrlDecoder.cs (#19565) 2020-03-04 18:18:07 +00:00
Brennan 56fb4b4d2f
Rename Flaky attribute (#19469) 2020-03-04 08:10:18 -08:00
Justin Kotalik cda762685a
Allow cert file and private key file to be passed in (#19477) 2020-03-03 20:42:46 -08:00
Sedat Kapanoglu 7e139c9b5f
Add HeaderNames.XRequestedWith = "X-Requested-With" (#19470)
* Add HeaderNames.XRequestedWith = "X-Requested-With"

X-Requested-With is the standard for differentiating AJAX requests and is commonly used. Having this in HeaderNames would prevent typos related to typing this header name. I couldn't find any rationale about excluding this but there might be legitimate reasons like discouraging the use of HTTP headers or differentiating AJAX requests, etc. Please reject this if that's the case.

* Replace "X-Requested-With" references with HeaderNames.XRequestedWith

The only remaining instance is WebSocketsTransport.cs in
SignalR\clients\csharp\Http.Connections.Client which doesn't have
Microsoft.Net in its references. I didn't want to impose a new
dependency as its risky.

* Fix the order of using statements

* Add XRequestedWith to the ref assembly
2020-03-03 15:45:50 -08:00
James Newton-King 065f0d001c
Only reset Http2Stream on stream completion (#19431) 2020-03-04 08:37:31 +13:00
William Godbe 3df570fac6
Don't reference checked-in platform manifest (#19529) 2020-03-03 10:36:49 -08:00
Chris Ross 21068e0a45
Update shared code license headers (#19518) 2020-03-03 09:57:24 -08:00
Justin Kotalik 2c4d604ceb
Fix warning about dotnet_exe_path_tests.cpp (#19515) 2020-03-02 22:06:13 -08:00
Hao Kung 46460f0070
Revert "[Helix] Reenable some Templates tests 2.0 (#19383)" (#19519)
This reverts commit 5e2a7726c6.
2020-03-03 04:43:48 +00:00
James Newton-King b1a45eb809
Update BenchmarkDotNet and add Http2Connection benchmark (#19482) 2020-03-03 17:17:06 +13:00
James Newton-King f34e8128c7
Eliminate HTTP2 HPack enumerator allocations (#19393) 2020-03-03 12:37:34 +13:00
Hao Kung 5e2a7726c6
[Helix] Reenable some Templates tests 2.0 (#19383) 2020-03-02 11:43:34 -08:00
James Newton-King 41a3c63bc5
Add HTTP/2 pseudo headers as known headers (#19457) 2020-02-29 16:00:34 +13:00
Artak 8338060145
Update precedence and Identity of templates for 5.0 (#19248) (#19377)
Co-authored-by: Ryan Brandenburg <rybrande@microsoft.com>
2020-02-28 13:19:02 -08:00
James Newton-King f8f7472161
Fix flaky stream pool test (#19425) 2020-02-29 09:31:55 +13:00
Andrew Stanton-Nurse e65408a36c
unquarantine a pile of long-passing tests (#19440) 2020-02-28 19:02:58 +00:00
Safia Abdalla f0ac5b07ee Fix copy/paste type in test asset 2020-02-27 11:56:17 -08:00
Safia Abdalla 677a1b5be7 Add tests for short values in BindTests 2020-02-27 11:56:17 -08:00
Safia Abdalla 1407d9ab05 Update reference assemblies for modified components 2020-02-27 11:56:17 -08:00
Safia Abdalla c1158b6718 Add tests for short values in <InputNumber/> 2020-02-27 11:56:17 -08:00
Safia Abdalla 8a0be19abe Support short values in <input type='number'/> 2020-02-27 11:56:17 -08:00
Safia Abdalla 346eceaadb Add two-way binding for short data types 2020-02-27 11:56:17 -08:00
Safia Abdalla 52c497aa30 Add parser and formatter for short types 2020-02-27 11:56:17 -08:00
Justin Kotalik 6e9a786dfc
Mark Http/3 test as flaky (#19411)
* Mark Http/3 test as flaky

Not sure why this test is failing, will debug in https://github.com/dotnet/aspnetcore/pull/19385

* Update Http3StreamTests.cs
2020-02-27 19:50:14 +00:00
Brennan 2056146c95
Fix flaky timeout test in TS client (#19389) 2020-02-27 08:27:48 -08:00
James Newton-King 5b7672c2ad
Handle Http2Streams that error during stream start (#19386) 2020-02-27 17:45:39 +13:00
Ben Adams 07ce5862b2
Eliminate range checks from ConcatAsHexSuffix + Instrinsics (#18406) 2020-02-26 13:30:45 -08:00
Brennan 4ac890983e
Fix some skipped SignalR tests (#19070) 2020-02-26 13:28:46 -08:00
Hao Kung 4498058343
[Helix] Shared framework support + Templates tests (#19177) 2020-02-26 12:55:41 -08:00
Sam Harwell e3b0fdf81c Switch file headers to the MIT license 2020-02-26 11:05:13 -08:00
Sam Harwell 6cb7b318ef Normalize all file headers to the expected Apache 2.0 license 2020-02-26 11:05:12 -08:00
Pranav K 810b9b0c7e
Build fixups in master (#19338)
* Fix error with nullable
* Commit yarn.lock produced from building Microsoft.InteropJS
2020-02-26 10:45:38 -08:00
Piotr Błażejewicz (Peter Blazejewicz) f6c89c2dc7
chore(Microsoft.JSInterop): definition type file extension fix (#19260)
This is a minor change, correcting name of the file pointed as explicit
type definition file (`d.ts`). On most installations (VSCode) the type
definition
lookup works correctly anyway.

Thanks!
2020-02-26 10:05:54 -08:00
Brennan 1ea10f68fc
Create WindowsPrincipal when cloning WindowsIdentity for SignalR (#19337) 2020-02-26 09:54:24 -08:00
Ben Adams 4e18bca0a6
Remove unsafe use ASCII.GetBytes for WriteAscii (#18404)
* Use ParallelBitExtract for EncodeAsciiCharsToBytes

* Use ASCII.GetBytes

* Use span overloads

* Betterize

* Remove old comment
2020-02-26 00:23:18 +00:00
Günther Foidl a29bacc171
Removed usage of BMI2 pdep with SSE2 alternative (#19009)
* SSE2 alternative to BMI2 ParallelBitDeposit

* Codegen tuning

* Keep zero vector in register

* Better 64-bit BMI2 alternative

* Removed BMI2
2020-02-26 00:22:11 +00:00
Brennan d5cf36acc7
[TS Client] Test message size (#15099) 2020-02-25 15:52:48 -08:00
Ryan Nowak 1360d6559e
Add AddOptions to AddAuthorizationCore (#18911)
Fixes: #18471

AddAuthorizationCore previously assumed that options were already
registered. This isn't the case in 5.0 in Blazor WASM.

We don't want Blazor to register options in the default host because it
prevents options from being linked out.

note: we will have some remaining work for this issue after this change
is merged. The Blazor WASM hosting changes haven't landed in master yet,
so we'll need to update that code to remove options from the host.
2020-02-25 21:57:19 +00:00
James Newton-King ff59c45505
Eliminate TraceIdentifer allocation when there is a request bo… (#19325) 2020-02-26 09:53:34 +13:00
James Newton-King f5eb3dc339
HTTP2: Fix HttpRequestHeaders no longer being pooled (#19329) 2020-02-26 09:48:45 +13:00
Brennan 169f07c667
Capture test output for tools tests (#19240) 2020-02-25 09:35:29 -08:00
Justin Kotalik 78ce7b6dd6
Sync with runtime (#19314) 2020-02-25 09:13:11 -08:00
James Newton-King 08a8b38718
Eliminate allocation during HTTP2 path validation (#19273) 2020-02-25 15:37:04 +13:00
Maher Jendoubi 1a4dbb7cc5
Contributing: fixed some typos (#18494)
* Contributing: fixed some typos

* Spotted another typo

* this will cause a breaking change

* made DefaultDisconetTimout readonly

* made ConnectionOptionsSetup class internal

* Revert "made ConnectionOptionsSetup class internal"

This reverts commit 90f94d257bf5c953415c2f581f0a24a6f9bd51f6.

* Update HttpConnectionDispatcher.Log.cs

* Apply suggestions from code review

Co-authored-by: Brennan <brecon@microsoft.com>
2020-02-25 02:11:17 +00:00
Justin Kotalik d8b6823111
Introduce multiplexed bedrock types (#17213) 2020-02-24 17:56:31 -08:00