aboutsummaryrefslogtreecommitdiffstats
path: root/test/connection
Commit message (Collapse)AuthorAgeFilesLines
* Add multiple identifiers testJan Habermann2015-11-061-0/+41
|
* Make sure cable closes the connection if open when responding to an invalid ↵Pratik Naik2015-11-041-2/+10
| | | | request
* Devolve blanket #require to reveal intent and responsibilityJeremy Daer2015-10-162-5/+5
| | | | | | | | * Move specific requires close to where they're needed. * Use the private active_support/rails dep to wrap up common needs like eager autoload and module delegation. * Use a single Rails engine rather than an engine and a railtie. * Prefer `AS::JSON.encode` to `Object#to_json`.
* Run connection tests in EM loopPratik Naik2015-10-156-120/+203
|
* Merge pull request #85 from rails/cross-site-forgery-protectionPratik2015-10-122-1/+59
|\ | | | | Add support for cross site forgery protection
| * Treat ORIGIN as an opaque identifier and do equality comparison with the ↵Pratik Naik2015-10-122-7/+8
| | | | | | | | specified whitelist
| * Set appropriate origin and host in the testsPratik Naik2015-10-121-2/+3
| |
| * First take at cross site forgery protectionPratik Naik2015-10-072-0/+56
| |
* | Run a single eventmachine timer to send heartbeatsPratik Naik2015-10-081-3/+1
|/
* support connection identifiers that don't implement to_global_id by ↵Mark Humphreys2015-08-241-0/+39
| | | | defaulting to to_s
* refactor channel look up to use a hash instead of an array and reduce the ↵Lachlan Sylvester2015-07-301-1/+1
| | | | number of calls to safe_constantize because it can be slow
* Tests for channel subscriptionsPratik Naik2015-07-131-0/+87
|
* Connection identifier testsPratik Naik2015-07-121-0/+77
|
* Test auth failurePratik Naik2015-07-121-0/+26
|
* More connection testsPratik Naik2015-07-121-1/+63
|
* Add some more testsPratik Naik2015-07-121-0/+17