aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix the variable name in error message to make sure it does not raise an ↵Pratik Naik2015-10-151-1/+1
| | | | exception
* Subscribe and unsubscribe from the internal redis channels in the primary EM ↵Pratik Naik2015-10-141-2/+2
| | | | thread
* Don't add the current connection to the connections array until after all ↵Pratik Naik2015-10-141-2/+1
| | | | the callbacks are run
* Remove some excessive loggingPratik Naik2015-10-142-3/+0
|
* add railtie and set default allowed_request_origins for developmentLachlan Sylvester2015-10-153-0/+23
|
* Merge pull request #85 from rails/cross-site-forgery-protectionPratik2015-10-122-1/+15
|\ | | | | Add support for cross site forgery protection
| * Treat ORIGIN as an opaque identifier and do equality comparison with the ↵Pratik Naik2015-10-121-14/+3
| | | | | | | | specified whitelist
| * Use Array() instead of Array.wrapPratik Naik2015-10-072-2/+1
| |
| * First take at cross site forgery protectionPratik Naik2015-10-073-1/+27
| |
* | Make sure active record queries are logged with the current connection tagsPratik Naik2015-10-124-5/+13
| |
* | Be sure not to cache an empty string as the connection_identifierPratik Naik2015-10-091-1/+5
| |
* | Include request id in statistics to make it to search the logsPratik Naik2015-10-091-1/+6
| |
* | Better schedule pubsub subscribePratik Naik2015-10-091-1/+1
| |
* | Be sure to initialize @heartbeat_timer. Third time is a charm!Pratik Naik2015-10-081-2/+2
| |
* | Setup the heartbeat_timer in next tick to make sure EM reactor loop is runningPratik Naik2015-10-081-2/+4
| |
* | Run a single eventmachine timer to send heartbeatsPratik Naik2015-10-085-35/+18
|/
* EventMachine: shush epoll warnings by checking for support before enabling. ↵Jeremy Daer2015-09-021-1/+2
| | | | Ditto for kqueue.
* .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
|
* Merge pull request #65 from ↵Kasper Timm Hansen2015-08-241-1/+1
|\ | | | | | | | | mrlhumphreys/support-identifiers-without-to-global-id Support connection identifiers that don't implement to_global_id
| * support connection identifiers that don't implement to_global_id by ↵Mark Humphreys2015-08-241-1/+1
| | | | | | | | defaulting to to_s
* | 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
|/
* Remove out-of-date AC::Broadcaster referenceKai Chen = 陈恺2015-08-131-2/+0
| | | Remove out-of-data autoload reference of ActionCable::Broadcaster that removed at e1a99a83ca135523ff8513be756f156500999cb8 .
* Clear out the streams when they are stopped. Otherwise we will keep trying ↵Lachlan Sylvester2015-08-111-1/+1
| | | | to stop them.
* Merge pull request #54 from lsylvester/require-to_paramKasper Timm Hansen2015-08-032-1/+2
|\ | | | | Move require of to_param to where it is needed
| * move the require of object/to_param to channel/broadcasting because that is ↵Lachlan Sylvester2015-08-022-1/+2
| | | | | | | | where it is needed.
* | Merge pull request #50 from lsylvester/fix-stream-for-documentationKasper Timm Hansen2015-08-021-1/+1
|\ \ | |/ |/| update docs for broadcast_to to pass a message.
| * update docs for broadcast_to to pass a message to broadcast.Lachlan Sylvester2015-08-021-1/+1
| |
* | Merge pull request #49 from jasondew/channel_broadcasting_test_fixKasper Timm Hansen2015-07-301-0/+1
|\ \ | | | | | | Fixes test failure in ActionCable::Channel::BroadcastingTest when run by itself
| * | Fixes test failure in ActionCable::Channel::BroadcastingTest when run by itselfJason Dew2015-07-301-0/+1
| |/
* / Fixing some documentation, correcting grammar, and removing unnecessary ↵Jason Dew2015-07-305-16/+16
|/ | | | whitespace
* refactor channel look up to use a hash instead of an array and reduce the ↵Lachlan Sylvester2015-07-302-5/+3
| | | | number of calls to safe_constantize because it can be slow
* Merge pull request #34 from ↵Kasper Timm Hansen2015-07-297-11/+85
|\ | | | | | | | | lsylvester/add-broadcast_to-and-stream_for-methods-to-channel add broadcast_to and stream_for methods as per #26
| * add broadcast_to and stream_for methods as per #26Lachlan Sylvester2015-07-287-11/+85
| |
* | require new version file so the constant is available to the applicationCraig Sheen2015-07-271-0/+1
| |
* | Move VERSION constant to version file and use this in the gemspecCraig Sheen2015-07-272-2/+3
| |
* | Use Celluloid 0.16.0 until termination issue in 0.17.0 is resolvedJavan Makhmali2015-07-241-1/+1
| | | | | | | | The issue: https://github.com/celluloid/celluloid/issues/637
* | Don't unsubscribe on the server when another subscription with the same ↵Javan Makhmali2015-07-231-2/+6
| | | | | | | | identifier is active
* | Improve channel actions dispatcher to allow inheritance/mixinsCristian Bica2015-07-231-2/+37
| | | | | | | | Fixes #14
* | Update gems and requiresThomas Walpole2015-07-221-1/+1
|/
* Clearer docDavid Heinemeier Hansson2015-07-201-2/+2
|
* disconnect method added to singleton serverTed Toer2015-07-201-0/+5
|
* Include the connection module after defining the work callbackPratik Naik2015-07-141-1/+1
|
* Include the module for clearing db connectionsPratik Naik2015-07-141-0/+1
|
* Add some more testsPratik Naik2015-07-121-1/+1
|