aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/README.md
Commit message (Collapse)AuthorAgeFilesLines
* Removed deprected evented redis adapterRafael Mendonça França2017-10-231-1/+1
|
* Fix quotes [ci skip]Yauheni Dakuka2017-09-181-2/+2
|
* Update MIT licenses link [ci skip]Yoshiyuki Hirano2017-08-221-1/+1
|
* [ci skip] Prefer cookies.encrypted over signed (#30129)Claudio B2017-08-071-1/+1
| | | | | | | | | | | | | | | | In some examples and guides we are recommending to use code like: ```ruby verified_user = User.find_by(id: cookies.signed[:user_id]) ``` My suggestion is to use instead: ```ruby verified_user = User.find_by(id: cookies.encrypted[:user_id]) ``` which invites users to prefer the "newer" encrypted cookies over the "legacy" signed cookies.
* Use `require_relative` instead of `require` with full pathbogdanvlviv2017-06-141-1/+1
|
* Define path with __dir__bogdanvlviv2017-05-231-1/+1
| | | | | | ".. with __dir__ we can restore order in the Universe." - by @fxn Related to 5b8738c2df003a96f0e490c43559747618d10f5f
* Rename local variable name `current_user` to `verified_user` [ci skip]Ryuta Kamizono2017-03-251-2/+2
| | | | | Assigning local variable named `current_user` in the condition is confusing.
* Revert "Merge pull request #28569 from HarryCollins/patch-1"Kasper Timm Hansen2017-03-251-1/+1
| | | | | | | This reverts commit 296d024b4e91c4891ae0b010249193513e63b921, reversing changes made to e341d835070c7ef9990f41e02bbf46536be0aee7. We aren't trying to compare to current_user, we're assigning that variable.
* Update Action Cable README.md - typo fixHarryCollins2017-03-251-1/+1
|
* Merge pull request #25626 from maclover7/jm-standardize-ac-readmeRafael França2017-01-031-0/+9
|\ | | | | Standardize Action Cable README.md
| * Standardize Action Cable README.mdJon Moss2016-07-021-0/+9
| | | | | | | | | | | | | | All other Rails components feature this section, Action Cable should have it as well. [ci skip]
* | Privatize unneededly protected methods in Action CableAkira Matsuda2016-12-241-1/+1
| |
* | Permit same-origin connections by defaultMatthew Draper2016-10-111-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebSocket always defers the decision to the server, because it didn't have to deal with legacy compatibility... but the same-origin policy is still a reasonable default. Origin checks do not protect against a directly connecting attacker -- they can lie about their host, but can also lie about their origin. Origin checks protect against a connection from 3rd-party controlled script in a context where a victim browser's cookies will be passed along. And if an attacker has breached that protection, they've already compromised the HTTP session, so treating the WebSocket connection in the same way seems reasonable. In case this logic proves incorrect (or anyone just wants to be more paranoid), we retain a config option to disable it.
* | Merge pull request #26568 from skateman/cable-sameorigin-as-hostMatthew Draper2016-10-111-0/+5
|\ \ | | | | | | | | | Optionally allow ActionCable requests from the same host as origin
| * | Optionally allow ActionCable requests from the same host as originDávid Halász2016-09-211-0/+5
| |/ | | | | | | | | | | | | When the `allow_same_origin_as_host` is set to `true`, the request forgery protection permits `HTTP_ORIGIN` values starting with the corresponding `proto://` prefix followed by `HTTP_HOST`. This way it is not required to specify the list of allowed URLs.
* / Change page:change to turbolinks:load in README.md [ci skip]kenta-s2016-10-051-1/+1
|/
* Merge pull request #24991 from maclover7/actioncable-npm-docsVipul A M2016-06-291-0/+68
|\ | | | | Add documentation about Action Cable npm package
| * Add documentation about Action Cable npm packageJon Moss2016-05-261-0/+68
| | | | | | | | | | | | | | | | Sorry, forgot to include in my main PR :( [ci skip] [Jon Moss, Zach Schneider]
* | Fix Action Cable README [ci skip]Rafael Mendonça França2016-06-261-5/+14
| |
* | Remove conflict line [ci skip]Ryuta Kamizono2016-06-271-1/+0
| |
* | Merge branch 'master' of github.com:rails/docrailsVijay Dev2016-06-261-2/+143
|\ \ | | | | | | | | | | | | Conflicts: actioncable/README.md
| * | Fix and make example generic in README as well [ci skip]Vipul A M2016-06-151-3/+3
| | |
* | | Added "Download and Installation" section to Action Cable README [ci skip]Prathamesh Sonpatki2016-06-041-0/+10
| | | | | | | | | | | | | | | - Only Action Cable README did not have this section, all of the other READMEs have this section.
* | | Trim Action Cable README [ci skip]Prathamesh Sonpatki2016-06-041-161/+0
|/ / | | | | | | | | | | - Remove "Configuration", "Running the server", "Dependencies" and "Deployment" sections from the Action Cable README as they are already duplicated in the Action Cable overview guide.
* | fix grammarRajat Bansal2016-05-311-1/+1
| |
* | Bash markdown syntaxAnubhav Saxena2016-05-271-1/+1
|/ | | Added 'sh' for markdown formatting as bash.
* change cable.coffee to cable.js [ci skip]yuuji.yaginuma2016-05-071-5/+10
| | | | | In #23935, cable file was to be provided by the javascript instead of coffeescript, doc was also been modified to use javascript.
* http --> httpsJon Moss2016-05-061-1/+1
| | | | [ci skip]
* [ci skip] Fix ActionCable READMEwillnet2016-05-021-1/+1
| | | | default worker pool size was changed from 100 to 4 at #24376
* Merge pull request #24600 from tomkadwill/action-cabel-channel-typosVipul A M2016-04-181-1/+1
|\ | | | | Fix typos in ActionCable Channel [ci skip]
| * Fix typos in ActionCable Channel [ci skip]Tom Kadwill2016-04-181-1/+1
| |
* | update example to specify the Action Cable mount path [ci skip]yuuji.yaginuma2016-04-151-4/+4
|/ | | | Follow up to 8b69f1e
* Remove inconsistency in the Action Cable README [ci skip]Bouke van der Bijl2016-02-291-6/+2
|
* Add small Action Cable documentation fixesHayley Anderson2016-02-271-5/+5
| | | | | * Fix typos/grammar errors * Make capitalization/naming consistent
* Action Cable readme fix [ci skip]Mehmet Emin İNAÇ2016-02-231-4/+4
|
* Full Action Cable documentation read throughJon Moss2016-02-171-12/+12
| | | | | | | | | This PR checks all active Action Cable documentation for typos and other fixes. It aims to make sure that when Rails 5 is released, that the Action Cable docs are up to snuff with the other documentation included with Rails. [ci skip]
* Merge pull request #23546 from maclover7/cable-readme-updateJon Moss2016-02-111-8/+7
|\ | | | | ActionCable README updates
| * ActionCable README updatesJon Moss2016-02-081-8/+7
| | | | | | | | [ci skip]
* | Fix tiny grammar.Mawueli Kofi Adzoe2016-02-091-1/+1
| |
* | Fix typo [ci skip]Ryuta Kamizono2016-02-091-1/+1
|/
* Merge pull request #23556 from y-yagi/remove_faye-websocket_from_readmeप्रथमेश Sonpatki2016-02-081-1/+1
|\ | | | | remove `faye-websocket` dependency from README [ci skip]
| * remove `faye-websocket` dependency from README [ci skip]yuuji.yaginuma2016-02-081-1/+1
| | | | | | | | `faye-websocket` gem is no longer used from 322dca293b3716ccaa09e7e82046e539b0d2ffda.
* | config examples for ActionCable now use Rails.application.config.action_cableDaniel Fox2016-02-071-3/+3
|/ | | | | | | | | | | Some existing examples used ActionCable.server.config but for configuring allowed_request_origins that is overridden in development mode. The correct place to set that is Rails.application.config.action_cable which the ActionCable initializer loads from. I thought the other two examples should be changed as well just in case a default value that would override a configured value is introduced for either log_tags or disable_request_forgery_protection in the future.
* Document the fact that Action Cable does not require a multi-threaded app serverHongli Lai (Phusion)2016-02-031-2/+11
| | | | [ci skip]
* remove require loggingKesha Antonov2016-01-291-2/+0
|
* [ci skip] Don’t explicitly mention EventMachineclaudiob2016-01-251-5/+4
| | | | | | | | | | Since #23152 eliminated the EventMachine dependency, we don’t need to explicitly mention EventMachine. Nevertheless, I'm not 100% sure about saying "the websocket-driver loop" driver… any suggestions, @matthewd or @pixeltrix ? :sweat_smile: [ci skip]
* fix path of Action Cable configuration file [ci skip]yuuji.yaginuma2016-01-231-2/+2
| | | | This changed in #22950.
* Move ApplicationCable::Channel section of readmeDerek Kniffin2016-01-221-7/+7
| | | I believe the paragraph starting with "This relies" belongs with the one above it.
* Merge pull request #23096 from HayleyCAnderson/ha-action-cable-docsJon Moss2016-01-181-20/+31
|\ | | | | [ci skip] Improve Action Cable configuration explanations
| * Improve Action Cable configuration explanationsHayley Anderson2016-01-181-20/+31
| | | | | | | | | | | | | | | | * Clarify wording around how defaults work * Clarify wording around what formatting versus information is required * Separate consumer configuration section since it is important and wordy * Add additional explanation of options for setting consumer configuration * Consolidate consumer configuration information to reduce confusion