aboutsummaryrefslogtreecommitdiffstats
path: root/lib/action_cable/connection
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused method allowed_origins in Connection::Baseadamliesko2015-12-131-5/+0
|
* Allow regexp for a allowed_request_origins arrayadamliesko2015-12-121-1/+6
|
* Merge pull request #115 from habermann24/masterDavid Heinemeier Hansson2015-12-111-2/+2
|\ | | | | Fix an error when using multiple gid identifiers
| * Use to_gid_param for connection identifiersJan Habermann2015-11-181-2/+2
| |
| * Fix an error when using multiple gid identifiersJan Habermann2015-11-051-1/+1
| |
* | Handle cases where logger is not a tagged logger.Lachlan Sylvester2015-11-182-7/+13
| | | | | | | | | | | | | | | | | | | | | | Previously, a TaggedLoggerProxy was only created if the logger responded to :tagged, but was still used as if it was a TaggedLoggerProxy elsewhere in the code, causing undefined method errors. This moved the check for tagging abilities inside the TaggedLoggerProxy so the code can always tread the logger like a tagged logger, and if it is not a tagged logger the tags will just be ignored. This prevents needing to check if the logger is tagged every time we use it.
* | Share internal identifiers and message types with the JavaScript clientJavan Makhmali2015-11-061-1/+1
|/
* Merge branch 'master' into subscription-rejectionPratik Naik2015-11-041-4/+7
|\
| * Make sure cable closes the connection if open when responding to an invalid ↵Pratik Naik2015-11-041-1/+2
| | | | | | | | request
| * Merge pull request #84 from alexpeattie/nonstandard-logger-fixRafael França2015-10-231-3/+5
| |\ | | | | | | Fix NoMethodError when using a custom Rails.logger class
| | * Fix NoMethodError when using a custom Rails.logger classAlex Peattie2015-10-061-3/+5
| | |
* | | Allow rejecting subscriptions from the channelPratik Naik2015-10-212-4/+8
|/ /
* | Devolve blanket #require to reveal intent and responsibilityJeremy Daer2015-10-164-4/+16
| | | | | | | | | | | | | | | | * 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`.
* | Test against Rails edge by default. CI against 4.2 also.Jeremy Daer2015-10-161-1/+1
| | | | | | | | * Don't deep-require to AD::Http::Request since it misses Mime autoload
* | Shush some low-hanging Ruby warningsJeremy Daer2015-10-161-1/+1
| |
* | Websockets -> WebSocket spelling [ci skip]Jeremy Daer2015-10-152-13/+13
| |
* | 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-141-1/+0
| |
* | Merge pull request #85 from rails/cross-site-forgery-protectionPratik2015-10-121-1/+12
|\ \ | | | | | | 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-071-1/+1
| | |
| * | First take at cross site forgery protectionPratik Naik2015-10-071-1/+23
| |/
* | Make sure active record queries are logged with the current connection tagsPratik Naik2015-10-121-1/+4
| |
* | 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
| |
* | Run a single eventmachine timer to send heartbeatsPratik Naik2015-10-082-34/+6
|/
* support connection identifiers that don't implement to_global_id by ↵Mark Humphreys2015-08-241-1/+1
| | | | defaulting to to_s
* Fixing some documentation, correcting grammar, and removing unnecessary ↵Jason Dew2015-07-303-10/+10
| | | | whitespace
* refactor channel look up to use a hash instead of an array and reduce the ↵Lachlan Sylvester2015-07-301-3/+1
| | | | number of calls to safe_constantize because it can be slow
* Add actionpack as a dependencyPratik Naik2015-07-121-1/+6
|
* Add automatic delegations from channel to connection identifiersDavid Heinemeier Hansson2015-07-111-0/+3
|
* Fix typo in connection base documentationLachlan Sylvester2015-07-091-1/+1
|
* Revert to perform_action language – we're already using process for the ↵David Heinemeier Hansson2015-07-081-3/+3
| | | | connection
* Complete all the standard severity levelsDavid Heinemeier Hansson2015-07-071-8/+6
|
* DocumentationDavid Heinemeier Hansson2015-07-073-0/+5
|
* More clear method name for what's actually happeningDavid Heinemeier Hansson2015-07-072-2/+2
|
* Make the entire internal channel privateDavid Heinemeier Hansson2015-07-071-16/+16
|
* Document and make private method privateDavid Heinemeier Hansson2015-07-071-3/+7
|
* Document heartbeat purposeDavid Heinemeier Hansson2015-07-071-0/+3
|
* Document the connectionDavid Heinemeier Hansson2015-07-071-1/+53
|
* Identifiers will add attr_accessor as well for convenienceDavid Heinemeier Hansson2015-07-071-1/+2
|
* Basic authentication helpersDavid Heinemeier Hansson2015-07-072-0/+17
|
* Go with process_action to match language from Action ControllerDavid Heinemeier Hansson2015-07-071-3/+3
|
* Switch domain language from channel connect/disconnect to subscribe/unsubscribeDavid Heinemeier Hansson2015-07-071-2/+2
|
* Extract Server configuration into a Configuration objectDavid Heinemeier Hansson2015-07-052-3/+3
|
* Guard against duplicate subscriptionsJavan Makhmali2015-07-021-1/+1
|
* Fix referenceDavid Heinemeier Hansson2015-06-291-1/+1
|
* Use accessorDavid Heinemeier Hansson2015-06-271-1/+1
|