Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Send subscription confirmation from server to the client to avoid race ↵ | Pratik Naik | 2015-10-16 | 3 | -6/+12 |
| | | | | | | | | | | conditions. Without this, it's very easy to send messages over a subscription even before the redis pubsub has been fully initialized. Now we delay calling the subscription#connected method on the client side until we receive a subscription confirmation message from the server. | ||||
* | Tweak reconnect timing | Javan Makhmali | 2015-10-14 | 1 | -14/+15 |
| | |||||
* | Remove immediate reconnect to help avoid thundering herd after server restarts | Javan Makhmali | 2015-10-14 | 1 | -4/+0 |
| | |||||
* | Avoid returning results of loop | Javan Makhmali | 2015-10-14 | 1 | -0/+1 |
| | |||||
* | Add delay before reopening | Javan Makhmali | 2015-10-14 | 1 | -2/+9 |
| | |||||
* | Improve guard against opening multiple web sockets | Javan Makhmali | 2015-10-14 | 1 | -3/+4 |
| | |||||
* | .js.coffee -> .coffee | Rafael Mendonça França | 2015-09-02 | 6 | -0/+0 |
| | | | | | | | It was initially required, but support for the shorthand has been supported since sprockets 2.1. Eventually 4.x will only support the shorthand version. Just want to get new people using the prefer stuff ASAP. | ||||
* | Increment style | Javan Makhmali | 2015-08-31 | 1 | -3/+2 |
| | |||||
* | Guard against opening multiple connections | Javan Makhmali | 2015-08-31 | 1 | -1/+1 |
| | |||||
* | Immediately reconnect after first disconnect | Javan Makhmali | 2015-08-28 | 1 | -0/+7 |
| | |||||
* | Only send "disconnected" notification once | Javan Makhmali | 2015-08-28 | 1 | -2/+8 |
| | |||||
* | Simplify WebSocket reconnects and guard against opening multiple connections | Javan Makhmali | 2015-08-28 | 1 | -27/+9 |
| | |||||
* | Record last 20 Subscription notifications for inspection | Javan Makhmali | 2015-08-23 | 1 | -1/+12 |
| | |||||
* | Immediately reconnect when visibilityState changes to "visible" | Javan Makhmali | 2015-08-23 | 1 | -0/+9 |
| | |||||
* | Don't unsubscribe on the server when another subscription with the same ↵ | Javan Makhmali | 2015-07-23 | 1 | -2/+6 |
| | | | | identifier is active | ||||
* | update documentation to use websocket protocol | Lachlan Sylvester | 2015-07-09 | 2 | -3/+3 |
| | |||||
* | Document the JavaScript classes | David Heinemeier Hansson | 2015-07-08 | 4 | -0/+58 |
| | |||||
* | Move the subscription factory method from the consumer to the subscriptions ↵ | David Heinemeier Hansson | 2015-07-08 | 3 | -9/+10 |
| | | | | collection | ||||
* | Rename SubscriptionManager/Subscriber -> Subscriptions | David Heinemeier Hansson | 2015-07-08 | 6 | -51/+63 |
| | | | | This matches the server-side setup and is more consistent. | ||||
* | Add URL to inspector | Javan Makhmali | 2015-07-07 | 1 | -1/+1 |
| | |||||
* | Add helper to inspect current state | Javan Makhmali | 2015-07-07 | 4 | -0/+17 |
| | |||||
* | Rework event handlers | Javan Makhmali | 2015-07-07 | 1 | -22/+36 |
| | |||||
* | websocket -> webSocket | Javan Makhmali | 2015-07-06 | 1 | -13/+13 |
| | |||||
* | Guard against opening multiple WebSocket connections | Javan Makhmali | 2015-07-06 | 1 | -7/+13 |
| | |||||
* | Rework connection monitor | Javan Makhmali | 2015-06-27 | 4 | -24/+49 |
| | |||||
* | Wait for connection to close before reopening it | Javan Makhmali | 2015-06-27 | 1 | -4/+7 |
| | |||||
* | Update connection API with #open, #close, #reopen | Javan Makhmali | 2015-06-26 | 2 | -20/+21 |
| | |||||
* | Fix misspelled variable | Javan Makhmali | 2015-06-25 | 1 | -1/+1 |
| | |||||
* | Cable.Consumer | Javan Makhmali | 2015-06-25 | 6 | -31/+36 |
| | |||||
* | Cable.Channel -> Cable.Subscription | Javan Makhmali | 2015-06-25 | 2 | -4/+4 |
| | |||||
* | Manage an array of subscribers since there may be more than one subscription ↵ | Javan Makhmali | 2015-06-25 | 1 | -13/+14 |
| | | | | to a channel | ||||
* | event -> callbackName | Javan Makhmali | 2015-06-25 | 1 | -4/+4 |
| | |||||
* | Add "initialized" notification | Javan Makhmali | 2015-06-25 | 1 | -0/+1 |
| | |||||
* | Extract connection monitoring and rewrite as a subscriber | Javan Makhmali | 2015-06-25 | 4 | -72/+66 |
| | |||||
* | Assume subscribers have an identifier | Javan Makhmali | 2015-06-25 | 3 | -22/+26 |
| | |||||
* | Switch back to original API and callback naming | Javan Makhmali | 2015-06-25 | 3 | -7/+7 |
| | |||||
* | Move connection and subscriber code into their own classes | Javan Makhmali | 2015-06-25 | 4 | -130/+141 |
| | |||||
* | Update API to camel cased equivalent of WebSocket's API | Javan Makhmali | 2015-06-24 | 2 | -31/+35 |
| | |||||
* | Create JavaScript channels identified by their Ruby class name | Javan Makhmali | 2015-06-24 | 2 | -25/+23 |
| | |||||
* | Require Cable.Channel constructors to define their channel name | Javan Makhmali | 2015-06-23 | 1 | -7/+6 |
| | | | | Function.name is not widely supported, and a function's name can be mangled by a minifier making it an unreliable property to infer the channel name from | ||||
* | Assume channel names include the _channel extension | David Heinemeier Hansson | 2015-06-20 | 1 | -1/+1 |
| | |||||
* | Add new convention method for performing channel actions | David Heinemeier Hansson | 2015-06-20 | 1 | -0/+7 |
| | |||||
* | Switch internal actions to be called commands instead, such that we can use ↵ | David Heinemeier Hansson | 2015-06-19 | 1 | -3/+3 |
| | | | | action as the routing word on the user side | ||||
* | Clear ping wait timeout when removing the connection | Pratik Naik | 2015-04-03 | 1 | -1/+2 |
| | |||||
* | Increase the stale timout | Pratik Naik | 2015-03-24 | 1 | -1/+1 |
| | |||||
* | Don't call connection#close directly | Pratik Naik | 2015-03-23 | 1 | -1/+1 |
| | |||||
* | Call reconnect() when a ping doesnt arrive in expected time | Pratik Naik | 2015-02-26 | 1 | -1/+1 |
| | |||||
* | Remove existing connection when trying to reconnect to ensure we dont end up ↵ | Pratik Naik | 2015-02-26 | 1 | -0/+9 |
| | | | | with multiple connections | ||||
* | Never stop attempting to reconnect | Pratik Naik | 2015-02-26 | 1 | -9/+2 |
| | |||||
* | Reconnect the websocket if the server doesnt send a ping every 6 seconds | Pratik Naik | 2015-02-26 | 1 | -4/+18 |
| |