Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Share internal identifiers and message types with the JavaScript client | Javan Makhmali | 2015-11-06 | 1 | -5/+2 |
| | |||||
* | Rename Subscription#reject! to Subscription#reject as there's only one ↵ | Pratik Naik | 2015-11-05 | 1 | -2/+2 |
| | | | | version of the method | ||||
* | Add some documentation explaining subscription rejection | Pratik Naik | 2015-11-04 | 1 | -0/+16 |
| | |||||
* | Fix a merge fail syntax issue | Pratik Naik | 2015-11-04 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into subscription-rejection | Pratik Naik | 2015-11-04 | 3 | -34/+32 |
|\ | |||||
| * | Fixing subscription callbacks | Diego Ballona | 2015-11-04 | 1 | -3/+6 |
| | | |||||
| * | Merge pull request #69 from mieko/callbacks | Rafael Mendonça França | 2015-10-23 | 3 | -32/+27 |
| |\ | | | | | | | | | | Use ActiveSupport::Callbacks for Channel subscription callbacks. | ||||
| | * | Use ActiveSupport::Callbacks for Channel subscription callbacks. | Mike A. Owens | 2015-08-24 | 3 | -31/+32 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rely on AS::Callbacks for callback handling. * Add before_subscribe, after_subscribe, before_unsubscribe and after_unsubscribe convenience methods * alias on_subscribe and on_unsubscribe to after_subscribe and after_unsubscribe, respectively. * Remove `subscribed` and `unsubscribed` from the callback chain: these methods are now executed as the subject of the callbacks. * Update portions of ActionCable to use the more specific callback names. | ||||
* | | | Allow rejecting subscriptions from the channel | Pratik Naik | 2015-10-21 | 1 | -4/+26 |
|/ / | |||||
* | | Make sure the subscription confirmaion is only sent out once | Pratik Naik | 2015-10-19 | 1 | -2/+10 |
| | | |||||
* | | Freeze the SUBSCRIPTION_CONFIRMATION_INTERNAL_MESSAGE value | Pratik Naik | 2015-10-19 | 1 | -1/+1 |
| | | |||||
* | | Send subscription confirmation from server to the client to avoid race ↵ | Pratik Naik | 2015-10-16 | 2 | -3/+31 |
| | | | | | | | | | | | | | | | | | | | | conditions. Without this, it's very easy to send messages over a subscription even before the redis pubsub has been fully initialized. Now we delay calling the subscription#connected method on the client side until we receive a subscription confirmation message from the server. | ||||
* | | Devolve blanket #require to reveal intent and responsibility | Jeremy Daer | 2015-10-16 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | * 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`. | ||||
* | | Websockets -> WebSocket spelling [ci skip] | Jeremy Daer | 2015-10-15 | 1 | -1/+1 |
| | | |||||
* | | Remove some excessive logging | Pratik Naik | 2015-10-14 | 1 | -2/+0 |
| | | |||||
* | | Better schedule pubsub subscribe | Pratik Naik | 2015-10-09 | 1 | -1/+1 |
|/ | |||||
* | Clear out the streams when they are stopped. Otherwise we will keep trying ↵ | Lachlan Sylvester | 2015-08-11 | 1 | -1/+1 |
| | | | | to stop them. | ||||
* | Merge pull request #54 from lsylvester/require-to_param | Kasper Timm Hansen | 2015-08-03 | 1 | -0/+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 Sylvester | 2015-08-02 | 1 | -0/+2 |
| | | | | | | | | where it is needed. | ||||
* | | Merge pull request #50 from lsylvester/fix-stream-for-documentation | Kasper Timm Hansen | 2015-08-02 | 1 | -1/+1 |
|\ \ | |/ |/| | update docs for broadcast_to to pass a message. | ||||
| * | update docs for broadcast_to to pass a message to broadcast. | Lachlan Sylvester | 2015-08-02 | 1 | -1/+1 |
| | | |||||
* | | Fixing some documentation, correcting grammar, and removing unnecessary ↵ | Jason Dew | 2015-07-30 | 1 | -5/+5 |
|/ | | | | whitespace | ||||
* | Merge pull request #34 from ↵ | Kasper Timm Hansen | 2015-07-29 | 4 | -8/+80 |
|\ | | | | | | | | | 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 #26 | Lachlan Sylvester | 2015-07-28 | 4 | -8/+80 |
| | | |||||
* | | Improve channel actions dispatcher to allow inheritance/mixins | Cristian Bica | 2015-07-23 | 1 | -2/+37 |
|/ | | | | Fixes #14 | ||||
* | Add some more tests | Pratik Naik | 2015-07-12 | 1 | -1/+1 |
| | |||||
* | Add automatic delegations from channel to connection identifiers | David Heinemeier Hansson | 2015-07-11 | 1 | -0/+13 |
| | |||||
* | update README to include creating the ApplicationCabel::Channel | Lachlan Sylvester | 2015-07-09 | 1 | -10/+10 |
| | |||||
* | Revert to perform_action language – we're already using process for the ↵ | David Heinemeier Hansson | 2015-07-08 | 1 | -1/+1 |
| | | | | connection | ||||
* | Mention the concern about long-lived and stale data | David Heinemeier Hansson | 2015-07-08 | 1 | -1/+4 |
| | |||||
* | Document the remaining parts of the Channel setup. | David Heinemeier Hansson | 2015-07-07 | 3 | -0/+54 |
| | |||||
* | Spacing | David Heinemeier Hansson | 2015-07-07 | 1 | -0/+1 |
| | |||||
* | Explain action processing | David Heinemeier Hansson | 2015-07-07 | 1 | -0/+32 |
| | |||||
* | Allow actions not to accept the data argument | David Heinemeier Hansson | 2015-07-07 | 1 | -2/+11 |
| | |||||
* | No need for this delegator | David Heinemeier Hansson | 2015-07-07 | 2 | -12/+8 |
| | |||||
* | Remove the authorized check for now | David Heinemeier Hansson | 2015-07-07 | 1 | -25/+8 |
| | | | | | We have the remote connections to immediately cut a connection when someone has been kicked off. Let’s lean on that for now. | ||||
* | Add documentation | David Heinemeier Hansson | 2015-07-07 | 1 | -2/+10 |
| | |||||
* | Use process vs perform language | David Heinemeier Hansson | 2015-07-07 | 1 | -2/+2 |
| | |||||
* | Starting the documentation process | David Heinemeier Hansson | 2015-07-07 | 1 | -0/+26 |
| | |||||
* | Go with process_action to match language from Action Controller | David Heinemeier Hansson | 2015-07-07 | 1 | -1/+1 |
| | |||||
* | No need for this to be public | David Heinemeier Hansson | 2015-07-07 | 1 | -5/+5 |
| | |||||
* | No need to use a channel_ prefix inside the channel | David Heinemeier Hansson | 2015-07-07 | 1 | -4/+4 |
| | |||||
* | Switch domain language from channel connect/disconnect to subscribe/unsubscribe | David Heinemeier Hansson | 2015-07-07 | 1 | -9/+9 |
| | |||||
* | Spacing | David Heinemeier Hansson | 2015-07-07 | 1 | -0/+1 |
| | |||||
* | Don't need a delegator for a single-use case | David Heinemeier Hansson | 2015-07-07 | 2 | -6/+1 |
| | |||||
* | Removing unused matches? method | David Heinemeier Hansson | 2015-07-07 | 1 | -6/+0 |
| | | | | | @lifo I couldn’t find any use of documentation for this, so removed it for now. Was it just for testing? | ||||
* | Style | David Heinemeier Hansson | 2015-07-07 | 1 | -1/+1 |
| | |||||
* | Extract periodic timers concern | David Heinemeier Hansson | 2015-07-07 | 3 | -23/+40 |
| | |||||
* | Bundle connect/disconnect callbacks together with all other subscribe callbacks | David Heinemeier Hansson | 2015-07-07 | 1 | -2/+3 |
| | |||||
* | Merge branch 'master' of github.com:basecamp/action_cable | David Heinemeier Hansson | 2015-07-04 | 3 | -45/+42 |
|\ |