Commit Graph

80 Commits

Author SHA1 Message Date
BrennanConroy f09b0e13d9
Upgrade to netcoreapp2.2 and remove netcoreapp2.0 testing (#2221) 2018-05-09 09:59:02 -07:00
Andrew Stanton-Nurse f163670bec
Merge pull request #2220 from aspnet/release/2.1
update README for npm packages (#2216)
2018-05-07 09:14:44 -07:00
Andrew Stanton-Nurse 1012b36bfb
update README for npm packages (#2216) 2018-05-07 09:14:24 -07:00
Andrew Stanton-Nurse b1fccab7b1
Merge pull request #2203 from aspnet/release/2.1
switch tests to 'jest' (#2193)
2018-05-04 12:57:19 -07:00
Andrew Stanton-Nurse e3e80b957c
switch tests to 'jest' (#2193) 2018-05-04 12:51:33 -07:00
Andrew Stanton-Nurse 9902835671 Merge branch 'release/2.1' into dev 2018-05-04 09:06:45 -07:00
Andrew Stanton-Nurse c009e15b0c
Make HttpTransportType a flags enum in TypeScript (#2179) 2018-05-04 09:05:29 -07:00
Andrew Stanton-Nurse 028d0b233e
Merge pull request #2199 from aspnet/release/2.1
Release/2.1
2018-05-03 19:11:54 -07:00
Andrew Stanton-Nurse 68700d3972
Merge pull request #2195 from aspnet/anurse/clean-up-shutdown-timer 2018-05-03 19:11:14 -07:00
Andrew Stanton-Nurse 1282fde338 less flaky test 2018-05-03 17:55:25 -07:00
Andrew Stanton-Nurse 6f77eaca13 add tests 2018-05-03 12:09:07 -07:00
Andrew Stanton-Nurse fdfd5381a5 clean up the shutdown timer 2018-05-03 09:26:48 -07:00
Andrew Stanton-Nurse 5ec8094ade
Merge pull request #2192 from aspnet/release/2.1
fix #2171 by adding HttpTransportType.None (#2172)
2018-05-02 14:34:43 -07:00
Andrew Stanton-Nurse b1010b7bd5
fix #2171 by adding HttpTransportType.None (#2172) 2018-05-02 14:34:23 -07:00
Andrew Stanton-Nurse 2a236193da
Merge pull request #2184 from aspnet/release/2.1 2018-05-01 16:37:54 -07:00
Andrew Stanton-Nurse ae329edd2a
Fix #2169 by correcting shutdown timeout (#2170) 2018-05-01 16:37:22 -07:00
Andrew Stanton-Nurse 01d47ec78f
Merge pull request #2181 from aspnet/release/2.1
JSDocs (#2168)
2018-05-01 16:06:54 -07:00
Andrew Stanton-Nurse c89cf1a12b
JSDocs (#2168) 2018-05-01 16:06:35 -07:00
Andrew Stanton-Nurse 968e31970e
Merge pull request #2123 from aspnet/release/2.1
Final TS tidyup (#2120)
2018-04-20 16:34:19 -07:00
Andrew Stanton-Nurse 01c0690cc9
Final TS tidyup (#2120) 2018-04-20 16:33:45 -07:00
Andrew Stanton-Nurse 36f05d42f5
Merge pull request #2118 from aspnet/release/2.1
Release/2.1
2018-04-20 13:49:53 -07:00
Andrew Stanton-Nurse dacea904cc
privatize IConnection and HttpConnection (#2105) 2018-04-20 10:14:54 -07:00
Andrew Stanton-Nurse 29ddc6a3e5 Merge branch 'release/2.1' into dev 2018-04-19 12:11:28 -07:00
Andrew Stanton-Nurse 65adcdd73a
HubConnectionBuilder.ts (#2063) 2018-04-19 12:09:47 -07:00
Andrew Stanton-Nurse 050a1ecf27
fix package.json versions (#2098) 2018-04-19 10:12:09 -07:00
David Fowler 9a0c190f48
Merge pull request #2082 from aspnet/release/2.1
Added support for negotiate response to redirect the client to anothe…
2018-04-18 14:51:55 -07:00
David Fowler 903fe1e902
Added support for negotiate response to redirect the client to another SignalR endpoint (#2070)
- Add a SkipNegotiation flag to the .NET and ts client
to allow skipping the negotiation phase. Don't infer it based on the transport type.
-  Updated the negotiate protocol to support returning a redirect url
- Added support to .NET client to handle redirect negotiations
- Handle poorly written endpoints that sends infinite redirects
- Added access token support and an infinite redirect guard
- Add delete handler for stopping the transport
2018-04-18 14:22:45 -07:00
Mikael Mengistu 92d8f854bc
Merge pull request #2077 from aspnet/release/2.1
Merge Release/2.1
2018-04-18 18:58:54 +00:00
Mikael Mengistu d9272032d0
Revert "Use xhr.onreadystatechange instead of xhr.onload (#1838)" (#2065)
This reverts commit 5e38303377.
2018-04-18 17:38:27 +00:00
Andrew Stanton-Nurse b3b5a13f2c underp the merge 2018-04-18 09:13:13 -07:00
Andrew Stanton-Nurse 7dd6d82bba
remove verbose flag (#2067) 2018-04-17 21:07:53 -07:00
Andrew Stanton-Nurse 31debcbf9f
Simple TypeScript API Review Feedback (#2050) 2018-04-17 10:51:52 -07:00
David Fowler 05d6bbb782
Flush first long poll immediately (#2032)
There was a race condition between the first poll and any other http request that was sent. 
In particular, if you called StartAsync then StopAsync it was possible for the delete to happen before the poll started leading to 400 errors. This change fixes that by making the very first poll
return immediately so that the client can use that to determine if there was an error connecting.
2018-04-17 00:49:26 -07:00
Andrew Stanton-Nurse 1fbb940b82
Remove MSG from SignalR (#2006) 2018-04-13 17:08:02 -07:00
Andrew Stanton-Nurse 499d39b364
rename MsgPack assembly only (#2005) 2018-04-13 12:01:45 -07:00
Andrew Stanton-Nurse 16c6a65bf2
polyfill UInt8Array.forEach for IE (#1981) 2018-04-12 21:15:39 -07:00
Andrew Stanton-Nurse 24328b8e88
fix #1281 by adding support for DELETE endpoint on server (#1925) 2018-04-12 12:39:08 -07:00
Andrew Stanton-Nurse c734b9910a
fix #1951 by transpiling to ES5 (#1970) 2018-04-12 11:59:43 -07:00
David Fowler 8b1a7e9199
API review feedback (#1974)
- Remove SetHttpContext
- Remove HttpContextFeature
- Add and implement IHttpTransportFeature on HttpConnectionContext
- Remove ConnectionMetadataNames
2018-04-12 03:50:14 -07:00
Andrew Stanton-Nurse ee6e8c15ce
increase jasmine timeout and add timestamps to logs (#1959) 2018-04-11 14:38:40 -07:00
Andrew Stanton-Nurse 71be5bf637
fix logging browser tests (#1940) 2018-04-10 16:45:17 -07:00
Andrew Stanton-Nurse 3136e5b05f
fix #1923 by avoiding extra build step (#1924) 2018-04-10 16:26:37 -07:00
David Fowler 5aafb9b8be
Remove ITransport dependency on IConnection (#1934) 2018-04-10 12:29:16 -07:00
Vegard Løkken 31dfe91962 Support async access token factory (#1911) 2018-04-10 05:34:10 -07:00
David Fowler f4313170f8
Split HandshakeProtocol into another class (#1921)
- Take a HandshakeRequest into the protocol type
2018-04-09 17:45:16 -07:00
BrennanConroy 6d050140e5
Swtich to MessagePack-CSharp (#1879) 2018-04-09 17:04:32 -07:00
David Fowler 86083c0302
Removing native support for IObservable<T> (#1890)
- There are too many issues and questions with respect to back pressure and the buffering policy we should use when the client being streamed to can't support the data being pushed via OnNext.
As a result, we're dropping support for IObservable but keeping ChannelReader and we'll eventually support IAsyncEnumerable when that makes it into the BCL.
- Add sample showing Observable -> ChannelReader adaption
2018-04-07 15:10:39 -07:00
Mikael Mengistu e51852d0fc
Use Anchor tag to normalize urls(#1828) 2018-04-04 21:43:25 -07:00
Andrew Stanton-Nurse fccc9d1b50
fix #1815 by disposing linked cts (#1849) 2018-04-04 21:12:21 -07:00
Andrew Stanton-Nurse 313772ef03
fix #1727 by adding polyfills for IE (#1841) 2018-04-04 10:20:38 -07:00