- 01 7月, 2016 1 次提交
-
-
由 Tinco Andringa 提交于
-
- 02 6月, 2016 1 次提交
-
-
由 Matthew Draper 提交于
-
- 21 5月, 2016 1 次提交
-
-
由 Jon Moss 提交于
[ci skip]
-
- 18 4月, 2016 1 次提交
-
-
由 Tom Kadwill 提交于
-
- 05 4月, 2016 1 次提交
-
-
由 Daniel Rhodes 提交于
This is primarily for backwards compatibility for when or if the protocol is changed in future versions. If the server fails to respond with an acceptable protocol, the client disconnects and disables the monitor.
-
- 31 3月, 2016 1 次提交
-
-
由 Jeremy Daer 提交于
* Introduce a connection coder responsible for encoding Cable messages as WebSocket messages, defaulting to `ActiveSupport::JSON` and duck- typing to any object responding to `#encode` and `#decode`. * Consolidate encoding responsibility to the connection. No longer explicitly JSON-encode from channels or other sources. Pass Cable messages as Hashes to `#transmit` and rely on it to encode. * Introduce stream encoders responsible for decoding pubsub messages. Preserve the currently raw encoding, but make it easy to use JSON. Same duck type as the connection encoder. * Revert recent data normalization/quoting (#23649) which treated `identifier` and `data` values as nested JSON objects rather than as opaque JSON-encoded strings. That dealt us an awkward hand where we'd decode JSON strings… or not, but always encode as JSON. Embedding JSON object values directly is preferably, no extra JSON encoding, but that should be a purposeful protocol version change rather than ambiguously, inadvertently supporting multiple message formats.
-
- 25 3月, 2016 1 次提交
-
-
由 Jeremy Daer 提交于
-
- 21 3月, 2016 1 次提交
-
-
由 Jeremy Daer 提交于
We'll get `Errno::ECONNRESET` if the client forcibly disconnected. Just close the socket rather than raising the exception. Handle other errors in `ClientSocket#write`, too, mirroring the Faye error handling which swallows all `StandardError` on write.
-
- 02 3月, 2016 2 次提交
-
-
由 Jon Moss 提交于
Fixes #22675 Allow channel identifiers and also data with no backslahes/escaping to be accepted by the subscription storer.
-
由 Matthew Draper 提交于
-
- 01 3月, 2016 3 次提交
-
-
由 Matthew Draper 提交于
-
由 Daniel Rhodes 提交于
This change makes ping into a message type, which makes the whole protocol a lot more consistent. Also fixes hacks on the client side to make this all work.
-
由 Daniel Rhodes 提交于
-
- 26 2月, 2016 1 次提交
-
-
由 Matthew Draper 提交于
If we're deferring one, we should defer the other too.
-
- 25 2月, 2016 1 次提交
-
-
由 Jon Moss 提交于
Fixes #23471
-
- 23 2月, 2016 1 次提交
-
-
由 Pratik Naik 提交于
-
- 19 2月, 2016 1 次提交
-
-
由 Jon Moss 提交于
Before this commit, the `unsubscribed` callbacks in Action Cable server side channels were never called. This is because when a WebSocket "goodbye" message was sent from the client, the Action Cable server didn't properly clean up after the now closed WebSocket. This means that memory could possibly skyrocket with this behavior, since part of this commit is to properly remove closed subscriptions from the global subscriptions hash. Say you have 10,000 users currently connected, and then all 10,000 disconnect -- before this patch, Action Cable would still hold onto information (and Ruby objects!) for all of these now dead connections.
-
- 18 2月, 2016 1 次提交
-
-
由 Jon Moss 提交于
This PR checks all active Action Cable documentation for typos and other fixes. It aims to make sure that when Rails 5 is released, that the Action Cable docs are up to snuff with the other documentation included with Rails. [ci skip]
-
- 13 2月, 2016 1 次提交
-
-
由 Ryuta Kamizono 提交于
-
- 11 2月, 2016 1 次提交
-
-
由 kp 提交于
-
- 30 1月, 2016 3 次提交
-
-
由 Matthew Draper 提交于
Also, address the possibility of the listen thread dying and needing to be respawned. As a bonus, we now defer construction of the thread until we are first given something to monitor.
-
由 Matthew Draper 提交于
-
由 Matthew Draper 提交于
-
- 27 1月, 2016 2 次提交
-
-
由 David Heinemeier Hansson 提交于
-
由 kp 提交于
-
- 24 1月, 2016 2 次提交
-
-
由 Matthew Draper 提交于
(as adapted to use concurrent-ruby / nio4r instead of eventmachine)
-
由 Matthew Draper 提交于
-
- 19 1月, 2016 3 次提交
-
-
由 Jon Moss 提交于
- adapter -> pubsub (re)rename internally - Change variable names to match method names - Add EventMachine `~> 1.0` as a runtime dependency of ActionCable - Refactor dependency loading for adapters
-
由 Matthew Draper 提交于
-
由 Jon Moss 提交于
-
- 16 1月, 2016 2 次提交
-
-
由 David Heinemeier Hansson 提交于
This reverts commit d0393fcc, reversing changes made to 3b7ccadf.
-
由 DAVID MOORE 提交于
Found this small omission while reviewing the ActionCable docs. [Dave Moore]
-
- 09 1月, 2016 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 06 1月, 2016 1 次提交
-
-
由 Mike Perham 提交于
This removes 8 runtime gem dependencies from Rails: ``` Using hitimes 1.2.3 Using timers 4.1.1 Using celluloid-essentials 0.20.5 Using celluloid-extras 0.20.5 Using celluloid-fsm 0.20.5 Using celluloid-pool 0.20.5 Using celluloid-supervision 0.20.5 Using celluloid 0.17.2 ```
-
- 25 12月, 2015 1 次提交
-
-
由 Jan Habermann 提交于
-
- 18 12月, 2015 1 次提交
-
-
由 Gaurav Sharma 提交于
-
- 17 12月, 2015 1 次提交
-
-
由 Arun Agrawal 提交于
Warnings coming from code and test are removed
-
- 14 12月, 2015 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-