aboutsummaryrefslogtreecommitdiffstats
path: root/lib/assets
Commit message (Collapse)AuthorAgeFilesLines
* .js.coffee -> .coffeeRafael Mendonça França2015-09-026-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-256-31/+36
|
* Cable.Channel -> Cable.SubscriptionJavan Makhmali2015-06-252-4/+4
|
* 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-254-72/+66
|
* Assume subscribers have an identifierJavan Makhmali2015-06-253-22/+26
|
* Switch back to original API and callback namingJavan Makhmali2015-06-253-7/+7
|
* Move connection and subscriber code into their own classesJavan Makhmali2015-06-254-130/+141
|
* Update API to camel cased equivalent of WebSocket's APIJavan Makhmali2015-06-242-31/+35
|
* Create JavaScript channels identified by their Ruby class nameJavan Makhmali2015-06-242-25/+23
|
* Require Cable.Channel constructors to define their channel nameJavan Makhmali2015-06-231-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 extensionDavid Heinemeier Hansson2015-06-201-1/+1
|
* Add new convention method for performing channel actionsDavid Heinemeier Hansson2015-06-201-0/+7
|
* Switch internal actions to be called commands instead, such that we can use ↵David Heinemeier Hansson2015-06-191-3/+3
| | | | action as the routing word on the user side
* Clear ping wait timeout when removing the connectionPratik Naik2015-04-031-1/+2
|
* Increase the stale timoutPratik Naik2015-03-241-1/+1
|
* Don't call connection#close directlyPratik Naik2015-03-231-1/+1
|
* Call reconnect() when a ping doesnt arrive in expected timePratik Naik2015-02-261-1/+1
|
* Remove existing connection when trying to reconnect to ensure we dont end up ↵Pratik Naik2015-02-261-0/+9
| | | | with multiple connections
* Never stop attempting to reconnectPratik Naik2015-02-261-9/+2
|
* Reconnect the websocket if the server doesnt send a ping every 6 secondsPratik Naik2015-02-261-4/+18
|
* Move assets to the gemPratik Naik2015-02-122-0/+134