Commit Graph

561 Commits

Author SHA1 Message Date
Mikael Mengistu 8ba29b578d Dynamic Hub Change Part 2 (#644) 2017-07-14 15:54:31 -07:00
Pawel Kadluczka 0ebd33a25c Plumbing TransferMode on the client side 2017-07-14 10:45:28 -07:00
Pawel Kadluczka 90a6d8fdf7 Shortening log path
CI is failing with PathTooLongException
2017-07-14 08:38:29 -07:00
Mike Harder 3b94cba009 Merge pull request #665 from aspnet/rel/2.0.0
Fix typo (#664)
2017-07-13 15:19:44 -07:00
Mike Harder c29698fb3c Fix typo (#664) 2017-07-13 15:18:40 -07:00
Mike Harder 27cdd6b27c Merge pull request #663 from aspnet/rel/2.0.0
Update StackExchange.Redis to latest (#662)
2017-07-13 15:12:15 -07:00
Mike Harder 2df19040c5 Update StackExchange.Redis to latest (#662) 2017-07-13 15:07:46 -07:00
Pawel Kadluczka 36ecbd9efd Accounting for ReadAsync throwing OperationCanceledException 2017-07-13 11:07:39 -07:00
Pawel Kadluczka 2854e868ec Adding tests for SSE transport #413 2017-07-13 09:14:03 -07:00
BrennanConroy bcefbae00c Complete logging for Socket.* packages (#655) 2017-07-12 16:16:09 -07:00
Pranav K cd5d4fbdaf Merge branch 'rel/2.0.0' into dev 2017-07-11 21:04:38 -07:00
Pranav K 91eb97c432 Revert "Check for the existence of a git repository before invoking git commands"
This reverts commit 6c39e227b8.
2017-07-11 21:04:29 -07:00
Pranav K 6c39e227b8 Check for the existence of a git repository before invoking git commands 2017-07-11 21:03:41 -07:00
Pranav K fcda85727a Check for the existence of a git repository before invoking git commands 2017-07-11 20:51:03 -07:00
Pawel Kadluczka 86756d11dd Moving typings to the TS client folder 2017-07-11 16:39:30 -07:00
Ryan Brandenburg cdfff68672 Skip first time experience on Appveyor 2017-07-11 10:45:25 -07:00
Pawel Kadluczka a41ef82f19 Exiting SSE transport receive loop when transport is stopping
Fixes: #650
2017-07-10 17:56:24 -07:00
Pranav K 22fd94469a Updating KoreBuild branch 2017-07-10 11:58:02 -07:00
Pranav K 6a1f75a496 Merge branch 'rel/2.0.0' into dev 2017-07-10 11:58:02 -07:00
Pranav K 9f7f794339 Merge branch 'rel/2.0.0' into dev 2017-07-10 11:46:33 -07:00
Pranav K d830fc1094 Branching for 2.0.0 rtm 2017-07-10 11:46:32 -07:00
Hao Kung 2d16cd2273 React to default auth change 2017-07-07 19:20:20 -07:00
Ryan Brandenburg 1b272f6d55 Remove NETStandard.Library.NETFramework 2017-07-07 10:29:08 -07:00
Pranav K 295b32ff21 Downgrade special version to alpha1 2017-07-06 15:10:51 -07:00
Ryan Brandenburg f3002cdc37 Set "TreatWarningsAsErrors" before NuGet restore
* Ensures our build stays clean of NuGet warnings
2017-07-06 14:06:44 -07:00
David Fowler 595f783857 Features everywhere (#639)
* Features everywhere
- The goal here is to move things closer to the final design where
ConnectionContext represents a very low level primitive that represents
any connection like transport. As part of that change, we remove unnecessary
properties like User and move those into features. They temporarily live in the same
assembly but they are not required by ConnectionContext.
- Used features for Hubs instead of Metadata
- Metadata is no longer thread safe
2017-07-06 11:27:16 -07:00
Nate McMaster 3c0fb48fab React to aspnet/BuildTools#293
[ci skip]
2017-07-06 10:39:31 -07:00
David Fowler de21ce1637 Expose IGroupManager on IHubContext (#638)
- Adding groups is no longer coupled to the incoming connection
so we should expose it outside of the hub itself.
2017-07-05 23:50:54 -07:00
Mikael Mengistu 2597e52e53 Rename HubConnection Extension Methods from Invoke to InvokeAsync (#637) 2017-07-05 22:56:03 -07:00
Mikael Mengistu cfaa4b69d7 Dynamic Hub Work Part 1 (#636)
Getting rid of TClient
2017-07-05 22:55:16 -07:00
Mikael Mengistu ed6badbabe Set X-Requested-With header and add HttpError (#623) 2017-07-05 16:02:04 -07:00
David Fowler f21f5039b2 Replace ConnectionContext with HubConnectionContext (#629)
* Replace ConnectionContext with HubConnectionContext
- The SocketDelegate implementation owns the transport pipe,
it's a single producer single consumer model. SignalR needs to support
multiple producers so that broadcast, return values and sending to individual
connections works. This change introduces a multi producer channel that is used
by all producers to copy data to the transport safely. This will make the move
to pipelines easier.
2017-07-03 17:44:28 -07:00
Pranav K 652afa7023 Update LICENSE.txt text 2017-07-03 14:08:15 -07:00
Hao Kung dbc5bf9a48 Switch to new auth API 2017-07-03 11:52:40 -07:00
David Fowler 0f4295f90e Make parsers stateless (#628)
* Make parsers stateless
- Changed parser input to ReadOnlySpan<byte> to ReadOnlyBuffer<byte>
2017-07-01 23:44:22 -07:00
David Fowler 10b195bcce Move DefaultConnectionContext out of Sockets.Abstractions (#627) 2017-07-01 15:26:28 -07:00
David Fowler 53e09f8cc3 Fix flaky test (#622)
- Remove timeout and closed the application when the transport closes.
Made some tweaks to TestWebSocketConnectionFeature as a result.
- This uncovered some interesting issues with the WebSocketTransport itself so
further refactoring is needed to make it a bit more solid.
2017-06-30 02:30:09 -07:00
Hao Kung d125a14a39 React to HttpAbstractions 2017-06-29 16:30:38 -07:00
Pranav K 08c04f8912 Fix NuGet downgrade warnings from CoreFxLab packages 2017-06-29 10:31:32 -07:00
Pranav K 9b9495cd5f Update Moq to 4.7.49 2017-06-29 10:31:32 -07:00
Ryan Brandenburg 39097b1075 Remove NETStandard.Library.NETFramework and update Moq 2017-06-29 10:19:08 -07:00
Mikael Mengistu d68de2b5ea Make Client Side Event Handlers Async (#610) 2017-06-28 22:39:59 -07:00
David Fowler 6332e98d03 Remove Try from Write methods (#614)
- We write to a Stream so it should never fail (it could throw
but that's not new).
2017-06-28 21:53:23 -07:00
David Fowler d6f5e16f38 Support non blocking send on client (#603)
* Added support for non blocking sends on HubConnection
- Renamed Invoke to InvokeAsync
- Add support for non blocking send to TS client
- Add tests to make sure that non blocking sends don't send responses
2017-06-28 21:00:13 -07:00
Mikael Mengistu b2bc4e6207 Added a (Uri,HttpMessageHandler) ctor for HttpConnection (#609) 2017-06-28 15:24:55 -07:00
BrennanConroy dc29e98032 Support Authorize attribute on EndPoints (#606) 2017-06-28 14:52:52 -07:00
David Fowler ccf6cd415e Remove dependency on new compiler (temporarily) 2017-06-27 22:49:11 -07:00
David Fowler ef0a46fcc4 Revert "Pin Roslyn compiler version (#597)"
This reverts commit cf7d2b4c40.
2017-06-27 22:43:13 -07:00
BrennanConroy cf7d2b4c40 Pin Roslyn compiler version (#597) 2017-06-27 22:22:46 -07:00
Pawel Kadluczka 59e032dbcb Adding negotiation to TS client 2017-06-27 18:55:18 -07:00