aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable
Commit message (Collapse)AuthorAgeFilesLines
* [ci skip] Steal `ActionCable.server` mounting from routes template.Kasper Timm Hansen2015-12-221-2/+2
| | | | | Mounting it as prescribed here: https://github.com/rails/rails/blob/0d1d50c2db40ea1a9d3bebfb0c35da43bbd4d27f/railties/lib/rails/generators/rails/app/templates/config/routes.rb#L5
* Use the generators options to not generate channel assetsRafael Mendonça França2015-12-211-1/+4
|
* Update "Support" in ActionCable README [ci skip]Robert Eshleman2015-12-211-2/+10
| | | | | * Add link to API documentation * Link to issue tracker for rails/rails (instead of rails/actioncable) * Add link to rails-core mailing list for feature requests
* Merge pull request #22717 from nning/actioncable-readme-fixesDavid Heinemeier Hansson2015-12-211-5/+5
|\ | | | | ActionCable README.md fixes
| * One long dash in headline.henning mueller2015-12-211-1/+1
| |
| * Use default cable path in (in-app) server config example.henning mueller2015-12-211-3/+3
| |
| * Replaced "Cable" by "ActionCable" in CoffeeScript examples.henning mueller2015-12-211-2/+2
| |
* | Merge pull request #22692 from ryohashimoto/22669_api_generatorDavid Heinemeier Hansson2015-12-211-1/+3
|\ \ | | | | | | Action Cable channel generator doesn't create JS assets if options[:rails][:assets] is false
| * | Action Cable channel generator should not create JS assets in --api modeRyo Hashimoto2015-12-191-1/+3
| | |
* | | No more no changes entries in the CHANGELOGsGenadi Samokovarov2015-12-211-4/+1
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | During the `5.0.0.beta1` release, the CHANGELOGs got an entry like the following: ``` * No changes. ``` It is kinda confusing as there are indeed changes after it. Not a biggie, just a small pass over the CHANGELOGs. [ci skip]
* | docs, follow up to #22699. [ci skip]Yves Senn2015-12-191-2/+2
| |
* | Update README.mdOleg Motenko2015-12-191-1/+1
| |
* | [ActionCable] declare asset_logged privateAkshay Vishnoi2015-12-191-14/+14
|/
* Add CHANGELOG headers for Rails 5.0.0.beta1eileencodes2015-12-181-0/+5
|
* Change `alpha` to `beta1` to prep for release of Rails 5eileencodes2015-12-181-1/+1
| | | | :tada: :beers:
* Merge pull request #22668 from ryohashimoto/151219_receiveKasper Timm Hansen2015-12-181-1/+1
|\ | | | | Fix `receive` spelling
| * Fix `receive` spellingRyo Hashimoto2015-12-191-1/+1
| |
* | Merge pull request #22667 from akshay-vishnoi/base_test_caseRafael França2015-12-181-0/+22
|\ \ | |/ |/| [ActionCable] Test invalid action on channel
| * [ActionCable] Test invalid action on channelAkshay Vishnoi2015-12-181-0/+22
| |
* | Fix `receive` spelling and add whitespaceKasper Timm Hansen2015-12-181-3/+3
|/ | | | | Found `recieve` next to the correctly spelled method name, fixed it. Also we prefer a one space padding within hashes, add that.
* [ActionCable] test perform action with default actionAkshay Vishnoi2015-12-181-1/+11
|
* Merge pull request #22660 from y-yagi/add_line_break_between_methodsRafael França2015-12-181-1/+1
|\ | | | | add line break between method of generated channel js
| * add line break between method of generated channel jsyuuji.yaginuma2015-12-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ``` # before App.appearance = App.cable.subscriptions.create "AppearanceChannel", connected: -> # Called when the subscription is ready for use on the server disconnected: -> # Called when the subscription has been terminated by the server received: (data) -> # Called when there's incoming data on the websocket for this channel appear: -> @perform 'appear' away: -> @perform 'away' ``` ``` # after App.appearance = App.cable.subscriptions.create "AppearanceChannel", connected: -> # Called when the subscription is ready for use on the server disconnected: -> # Called when the subscription has been terminated by the server received: (data) -> # Called when there's incoming data on the websocket for this channel appear: -> @perform 'appear' away: -> @perform 'away' ```
* | [ActionCable] Test available actions on ChannelAkshay Vishnoi2015-12-181-0/+4
| |
* | Same gemspec formats everywhereDavid Heinemeier Hansson2015-12-181-1/+1
| |
* | Stray lineDavid Heinemeier Hansson2015-12-181-1/+2
| |
* | SimplifyDavid Heinemeier Hansson2015-12-181-9/+2
| |
* | Now available in action_cableDavid Heinemeier Hansson2015-12-181-2/+2
| |
* | [ci skip] Fix grammarAkshay Vishnoi2015-12-183-5/+5
|/
* [ci skip] Fix typoAkshay Vishnoi2015-12-181-1/+1
|
* Merge pull request #22639 from arunagw/aa-remove-few-warnings-actioncableGuillermo Iguaran2015-12-177-6/+13
|\ | | | | Remove warnings from actioncable test
| * Remove warnings from actioncableArun Agrawal2015-12-177-6/+13
| | | | | | | | Warnings coming from code and test are removed
* | Should also stub the received callbackDavid Heinemeier Hansson2015-12-171-0/+3
| |
* | Don't log Action Cable to STDOUT in developmenteileencodes2015-12-172-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Logging Action Cable to STDOUT caused the development log to see double messages like this: ``` Started GET "/" for ::1 at 2015-12-17 15:21:34 -0500 Started GET "/" for ::1 at 2015-12-17 15:21:34 -0500 Processing by Rails::WelcomeController#index as HTML Processing by Rails::WelcomeController#index as HTML Rendered /welcome/index.html.erb (0.0ms) Rendered /welcome/index.html.erb (0.0ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms) ``` Now that Action Cable is part of Rails it doesn't need it's own logger and will log to STDOUT via the local dev server here: https://github.com/rails/rails/blob/master/railties/lib/rails/commands/server.rb
* | traditional make sense with `<tt>ActiveSupport::TaggedLogging</tt>`Gaurav Sharma2015-12-181-2/+2
|/
* Update USAGEPaul Montero2015-12-171-1/+1
| | | Fix typo
* Update README.mdXavier Noria2015-12-171-1/+1
| | | ActiveRecord -> Active Record [ci skip]
* Quiet warningsDavid Heinemeier Hansson2015-12-161-2/+2
|
* ClarifyDavid Heinemeier Hansson2015-12-161-3/+3
|
* Generate all the ApplicationCable stubs by default, like all other ↵David Heinemeier Hansson2015-12-164-41/+0
| | | | Application* stubs
* Comment out the user handling so default setup connects directlyDavid Heinemeier Hansson2015-12-161-18/+18
|
* Cargo cult fix to make Celluloid behaveDavid Heinemeier Hansson2015-12-161-0/+3
|
* Require treeDavid Heinemeier Hansson2015-12-161-1/+1
|
* Simpler directory structureDavid Heinemeier Hansson2015-12-161-2/+2
|
* Note that changes to the cable setup requires restarting the serverDavid Heinemeier Hansson2015-12-163-0/+3
|
* @App could have been set elsewhereDavid Heinemeier Hansson2015-12-161-1/+1
|
* Another stab at only mounting redis if the config is thereDavid Heinemeier Hansson2015-12-161-2/+2
|
* Assume that the cable server is running in-process by default, offer option ↵David Heinemeier Hansson2015-12-161-0/+2
| | | | to change that in config/environments/production.rb
* Fix parent classDavid Heinemeier Hansson2015-12-161-1/+1
|
* Doh, should have read ff370ee61754b00f864f3ddd0af62be4dfa0de67David Heinemeier Hansson2015-12-161-1/+1
| | | | Indeed we need this to be an engine for the internal assets to work