padrino / padrino-docs

Contents of our official site, feel free to fork and apply your changes.
http://www.padrinorb.com
32 stars 53 forks source link

Documentation enhancements #98

Open ujifgc opened 8 years ago

ujifgc commented 8 years ago

From @dariocravero on March 18, 2013 19:49

List of features to document

Components

Let's build this list up! :)

Copied from original issue: padrino/padrino-framework#1137

ujifgc commented 8 years ago

From @nesquena on March 18, 2013 19:57

Awesome, thanks definitely want to help get those fleshed out soon.

ujifgc commented 8 years ago

From @dariocravero on March 18, 2013 19:58

And we will! :dancers:

ujifgc commented 8 years ago

From @Ortuna on March 18, 2013 20:4

Does this go in padrino-docs ?

ujifgc commented 8 years ago

From @dariocravero on March 18, 2013 20:12

It does for now @Ortuna. Until we decide whether we move it to the main repo or not.

ujifgc commented 8 years ago

From @skade on March 18, 2013 20:55

We should especially decide on what system to use. I like middleman alot and would like to get the idea of using something like qed for documentation testing further.

ujifgc commented 8 years ago

From @nesquena on April 9, 2013 7:44

Notes for CSRF section from @skade

CSRF attacks are a severe problem and the safety measures should never be turned off by default.

You need to pass a parameter called "authenticity_token" with the value "session[:csrf]" on every post request. If you work sessionless for parts of your app (e.g. for an API), you should add:

set :allow_disabled_csrf, true

And disable CSRF on a route-by-route basis:

get :foo, :csrf_protection => false do

end

Do only turn of CSRF protection completely if your app works completely sessionless. In that case, you should use another way of validating requests.

ujifgc commented 8 years ago

From @nesquena on January 17, 2016 17:30

@wikimatze This represents a list of some of the most obvious missing or incomplete documentation. Any help in augmenting the guides with these would be much appreciated.

wikimatze commented 8 years ago

Thanks for moving this around, it will take a while to document these and think we to put it, but I'm on my way.