aboutsummaryrefslogtreecommitdiffstats
path: root/lib/assets/javascripts/cable
Commit message (Collapse)AuthorAgeFilesLines
* .js.coffee -> .coffeeRafael Mendonça França2015-09-025-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 styleJavan Makhmali2015-08-311-3/+2
|
* Guard against opening multiple connectionsJavan Makhmali2015-08-311-1/+1
|
* Immediately reconnect after first disconnectJavan Makhmali2015-08-281-0/+7
|
* Only send "disconnected" notification onceJavan Makhmali2015-08-281-2/+8
|
* Simplify WebSocket reconnects and guard against opening multiple connectionsJavan Makhmali2015-08-281-27/+9
|
* Record last 20 Subscription notifications for inspectionJavan Makhmali2015-08-231-1/+12
|
* Immediately reconnect when visibilityState changes to "visible"Javan Makhmali2015-08-231-0/+9
|
* Don't unsubscribe on the server when another subscription with the same ↵Javan Makhmali2015-07-231-2/+6
| | | | identifier is active
* update documentation to use websocket protocolLachlan Sylvester2015-07-092-3/+3
|
* Document the JavaScript classesDavid Heinemeier Hansson2015-07-084-0/+58
|
* Move the subscription factory method from the consumer to the subscriptions ↵David Heinemeier Hansson2015-07-083-9/+10
| | | | collection
* Rename SubscriptionManager/Subscriber -> SubscriptionsDavid Heinemeier Hansson2015-07-086-51/+63
| | | | This matches the server-side setup and is more consistent.
* Add URL to inspectorJavan Makhmali2015-07-071-1/+1
|
* Add helper to inspect current stateJavan Makhmali2015-07-074-0/+17
|
* Rework event handlersJavan Makhmali2015-07-071-22/+36
|
* websocket -> webSocketJavan Makhmali2015-07-061-13/+13
|
* Guard against opening multiple WebSocket connectionsJavan Makhmali2015-07-061-7/+13
|
* Rework connection monitorJavan Makhmali2015-06-274-24/+49
|
* Wait for connection to close before reopening itJavan Makhmali2015-06-271-4/+7
|
* Update connection API with #open, #close, #reopenJavan Makhmali2015-06-262-20/+21
|
* Fix misspelled variableJavan Makhmali2015-06-251-1/+1
|
* Cable.ConsumerJavan Makhmali2015-06-255-15/+31
|
* Cable.Channel -> Cable.SubscriptionJavan Makhmali2015-06-251-1/+1
|
* Manage an array of subscribers since there may be more than one subscription ↵Javan Makhmali2015-06-251-13/+14
| | | | to a channel
* event -> callbackNameJavan Makhmali2015-06-251-4/+4
|
* Add "initialized" notificationJavan Makhmali2015-06-251-0/+1
|
* Extract connection monitoring and rewrite as a subscriberJavan Makhmali2015-06-253-72/+64
|
* Assume subscribers have an identifierJavan Makhmali2015-06-252-17/+24
|
* Switch back to original API and callback namingJavan Makhmali2015-06-253-7/+7
|
* Move connection and subscriber code into their own classesJavan Makhmali2015-06-253-0/+150