aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Shush some low-hanging Ruby warningsJeremy Daer2015-10-165-4/+14
|
* gemspec: prefer requiring from head of the load pathJeremy Daer2015-10-151-1/+1
|
* README was moved to README.md at a9c3fd5Jeremy Daer2015-10-151-1/+1
|
* Websockets -> WebSocket spelling [ci skip]Jeremy Daer2015-10-157-28/+28
|
* Run connection tests in EM loopPratik Naik2015-10-1510-128/+242
|
* 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
|
* Merge pull request #93 from lsylvester/railstieKasper Timm Hansen2015-10-143-0/+23
|\ | | | | add railtie and set default allowed_request_origins for development
| * add railtie and set default allowed_request_origins for developmentLachlan Sylvester2015-10-153-0/+23
|/
* Merge pull request #89 from kayakyakr/readme-improvementsDavid Heinemeier Hansson2015-10-131-15/+97
|\ | | | | Adding some examples to the README.
| * splitting out a bit of ruby from some coffeescript that it was grouped withCharles DuBose2015-10-121-4/+6
| |
| * Adding some examples to the README. Since ActionCable is an engine, it can ↵Charles DuBose2015-10-121-11/+91
|/ | | | be run in-app in the same way that websocket-rails can be (and I will admit to shamelessly stealing the implementation to websocket rails). Also adding examples of passing params to subscription and rebroadcasting received message.
* Merge pull request #85 from rails/cross-site-forgery-protectionPratik2015-10-124-2/+74
|\ | | | | Add support for cross site forgery protection
| * Treat ORIGIN as an opaque identifier and do equality comparison with the ↵Pratik Naik2015-10-123-21/+11
| | | | | | | | specified whitelist
| * Set appropriate origin and host in the testsPratik Naik2015-10-121-2/+3
| |
| * Use Array() instead of Array.wrapPratik Naik2015-10-072-2/+1
| |
| * First take at cross site forgery protectionPratik Naik2015-10-075-1/+83
| |
* | 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-086-38/+19
|/
* Merge pull request #83 from gregmolnar/readme_fixEileen M. Uchitelle2015-10-031-1/+1
|\ | | | | use correct filename in example
| * use correct filename in exampleGreg Molnar2015-10-031-1/+1
|/ | | | closes #80
* EventMachine: shush epoll warnings by checking for support before enabling. ↵Jeremy Daer2015-09-021-1/+2
| | | | Ditto for kqueue.
* Merge pull request #71 from rails/coffee-onlyRafael Mendonça França2015-09-026-0/+0
|\ | | | | .js.coffee -> .coffee
| * .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.
* Merge branch 'better-reconnect'Javan Makhmali2015-09-012-30/+24
|\
| * 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-242-1/+40
|\ | | | | | | | | 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-242-1/+40
| | | | | | | | 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
|/
* Merge pull request #59 from kaichen/patch-1David Heinemeier Hansson2015-08-131-2/+0
|\ | | | | Remove out-of-date AC::Broadcaster reference
| * 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 .
* Merge pull request #58 from lsylvester/clear-out-stopped-streamsDavid Heinemeier Hansson2015-08-111-1/+1
|\ | | | | Clear out the streams when they are stopped.
| * 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 #39 from maclover7/patch-1Rafael Mendonça França2015-08-031-8/+7
|\ \ | |/ |/| Update README.md
| * Update README.mdJon Moss2015-07-261-8/+7
| | | | | | This includes small styling / grammar changes to the README
* | 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.