aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal
Commit message (Collapse)AuthorAgeFilesLines
* Remove a relic of #request being in RackDelegationwycats2010-06-191-4/+0
|
* edit pass: the names of Rails components have a space, ie, "Active Record", ↵Xavier Noria2010-06-141-1/+1
| | | | not "ActiveRecord"
* class_attribute is not a direct replacement of class_inheritable_*.José Valim2010-06-101-3/+3
| | | | | | If you are setting a hash or an array in class_attribute or you need to freeze it, to ensure people won't modify it in place or you need to dup it on inheritance.
* Make named helpers unprotected without becoming actions [#4696 state:resolved]wycats2010-06-071-0/+8
|
* Changes made while working on upgrading cells to Rails 3wycats2010-06-022-4/+5
|
* Fix a bug where responders were not working properly on method override.José Valim2010-05-241-1/+1
|
* Ruby 1.9: helper path may be a pathname, so convert to a string before ↵Jeremy Kemper2010-05-161-1/+1
| | | | quoting for regexp
* Change event namespace ordering to most-significant first [#4504 state:resolved]Justin George2010-05-021-5/+5
| | | | | | | | | More work still needs to be done on some of these names (render_template.action_view and render_template!.action_view particularly) but this allows (for example) /^sql/ to subscribe to all the various ORMs without further modification Signed-off-by: José Valim <jose.valim@gmail.com>
* add HTTP Token Authorization support to complement Basic and Digest ↵rick2010-04-301-0/+158
| | | | Authorization.
* Always downstream given options in :json, :xml and :js renderers and add ↵José Valim2010-04-221-2/+2
| | | | tests for it.
* Clean up the config object in ActionPack. Create config_accessor which just ↵José Valim2010-04-223-78/+48
| | | | delegates to the config object, reducing the number of deprecations and add specific tests.
* It should be possible to render :json with optionswycats2010-04-201-1/+1
|
* Move verification to a plugin as well: http://github.com/rails/verification.gitJosé Valim2010-04-101-130/+0
|
* Fix a bug in ActionDispatch::Static where Rails cannot find assets if ↵José Valim2010-04-081-2/+0
| | | | started in another directory which is not the RAILS_ROOT.
* Move the error raising to api_behavior.José Valim2010-04-071-1/+2
|
* Merge commit 'rails/master'Xavier Noria2010-04-062-7/+13
|\
| * Rename config.cookie_secret to config.secret_token and pass it as ↵José Valim2010-04-052-7/+13
| | | | | | | | configuration in request.env. This is another step forward removing global configuration.
* | revises some <%= in rdocXavier Noria2010-04-051-1/+1
|/
* Fix signed cookies by explicitly passing config to the cookie jarJeremy Kemper2010-04-041-2/+3
|
* * Change the object used in routing constraints to be an instance ofwycats2010-04-032-2/+2
| | | | | | | | | | | ActionDispatch::Request rather than Rack::Request. * Changed ActionDispatch::Request#method to return a String, to be compatible with the Rack::Request superclass. * Changed ActionDispatch::Request#method to return the original method in the case of methodoverride and #request_method not to, to be compatible with Rack::Request
* Deprecate cookie_verifier_secret in favor of config.cookie_secret allowing ↵José Valim2010-03-311-1/+0
| | | | signed cookies to work again.
* adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-282-0/+2
|
* Ensure details are frozen after @details_keys lookup. The implementation ↵José Valim2010-03-271-2/+1
| | | | waits to freeze until the last required moment, to avoid duping hashes.
* Improve performance of the rendering stack by freezing formats as a sign ↵José Valim2010-03-191-0/+1
| | | | that they shouldn't be further modified.
* All tests pass without memoizing view_contextCarlhuda2010-03-181-1/+1
|
* Modify assert_template to use notifications. Also, remove ↵Carlhuda2010-03-171-9/+0
| | | | ActionController::Base#template since it is no longer needed.
* Ensure json is loaded before using responders.José Valim2010-03-171-0/+2
|
* Remove some 1.9 warnings (resulting in some fixed bugs). Remaining AM ↵wycats2010-03-171-1/+1
| | | | warnings are in dependencies.
* Eliminate warnings for AM on 1.8wycats2010-03-161-4/+2
|
* Ensure controller filters are executed before stuff starts to happen.José Valim2010-03-131-1/+1
|
* Finish cleaning up rendering stack from views and move assigns evaluation to ↵José Valim2010-03-123-11/+14
| | | | controller (so plugins and/or controllers can overwrite just one method).
* ActionController::Base.request_forgery_protection_token should actually be ↵Carl Lerche2010-03-111-1/+1
| | | | the name of the token and not true.
* Remove uneeded methods.José Valim2010-03-101-18/+4
|
* Refactor the RouteSet so it uses a Generator object instead of one huge method.wycats2010-03-091-1/+0
|
* Simplify the action endpoint:Carlhuda2010-03-081-4/+1
| | | | | | | * Remove ActionEndpoint in favor of passing a block to MiddlewareStack * Always create a Request; the performance win of RackDelegation is around the response; the Request object hit is limited to a single object allocation * #dispatch takes a Request
* Clean LookupContext API.José Valim2010-03-081-1/+2
|
* Move request forgery protection configuration to the AC config objectCarl Lerche2010-03-081-4/+41
| | | | This is an interim solution pending revisiting the rails framework configuration situation.
* Finally moved the find template logic to the views.José Valim2010-03-083-33/+21
|
* More refactoring. Split _normalize_args and _normalize_options concerns.José Valim2010-03-081-6/+13
|
* More cleanup on the layouts side.José Valim2010-03-081-2/+0
|
* Move layout lookup to views.José Valim2010-03-082-3/+2
|
* Added template lookup responsible to hold all information used in template ↵José Valim2010-03-073-14/+1
| | | | lookup.
* Tweak out url_for uses :script_name and add some testsCarl Lerche2010-03-041-5/+1
|
* Get rid of relative_url_path in favor of respecting SCRIPT_NAME. Also added ↵Carlhuda2010-03-041-1/+1
| | | | a way to specify a default SCRIPT_NAME when generating URLs out of the context of a request.
* Refactor cache_store to use ActionController configCarlhuda2010-03-041-5/+0
|
* Deprecated ActionController::Base.session_options= and ↵Carlhuda2010-03-042-32/+2
| | | | ActionController::Base.session_store= in favor of a config.session_store method (which takes params) and a config.cookie_secret variable, which is used in various secret scenarios. The old AC::Base options will continue to work with deprecation warnings.
* Move stuff from compatibility.rb to deprecated.rbCarlhuda2010-03-041-126/+5
|
* Move session and session_store onto ActionDispatch and add deprecation warningsCarlhuda2010-03-042-5/+6
|
* Fix all the broken tests due to the AC configuration refactorCarl Lerche2010-03-032-9/+16
|
* Add caller to deprecation noticesCarlhuda2010-03-031-11/+11
|