aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
* Use extlib_inheritable_accessor in request_forgery_protection.rb.Carl Lerche2009-12-291-1/+1
| | | For some reason the current class_inheritable_accessor does not play nice with included hooks. class_inheritable_accessor will be revised shortly.
* Silence some trivial warnings: shadowed local vars, indentation mismatchesJeremy Kemper2009-12-283-182/+181
|
* Remove ActiveRecord runtime logging from ActionPack and place in ↵José Valim2009-12-273-30/+15
| | | | ActiveRecord, adding it through config.action_controller.include hook.
* Remove ActionView inline logging to ActiveSupport::Notifications and create ↵José Valim2009-12-268-111/+107
| | | | ActionController::Base#log_event, so everything can be logged within one listener. Also expose log_process_action as a hook for different modules to include their own information during the action processing. This allow ActiveRecord to hook and any other ORM. Finally, this commit changes 'Processing' and 'Rendering' in logs to 'Processed' and 'Rendered' because at the point it's logged, everying already happened.
* Finish moving config.frameworks-dependent code to the framework pluginCarlhuda2009-12-232-10/+75
|
* Moving out some framework specific initializers into the framework libraries.Carlhuda2009-12-231-0/+27
|
* Flip deferrable autoload conventionJoshua Peek2009-12-222-17/+21
|
* All AD modules are "deferrable"Joshua Peek2009-12-221-0/+3
|
* Use Rack::Runtime middleware so the reported time includes the entire ↵Joshua Peek2009-12-221-1/+0
| | | | middleware stack
* AD::StatusCodes support is now part of rackJoshua Peek2009-12-223-6/+6
|
* Make ActionMailer::Base inherit from AbstractController::BaseJosé Valim2009-12-222-0/+35
| | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2009-12-211-1/+5
|\
| * reset_session needs to be a real method so flash can override itJoshua Peek2009-12-211-1/+5
| |
* | Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2009-12-2117-105/+89
|\|
| * AC::Head now doesn't have an unfulfilled Rendering dependency, and instead ↵Yehuda Katz2009-12-204-12/+14
| | | | | | | | works just fine standalone (which means that ConditionalGet also doesn't have a Rendering dependency)
| * Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2009-12-2011-82/+65
| |\
| | * Rename RackConvenience => RackDelegationJoshua Peek2009-12-207-9/+9
| | |
| | * Merge Session stuff into RackConvenienceJoshua Peek2009-12-206-73/+56
| | |
| * | Rename RenderOptions to RenderersDavid Heinemeier Hansson2009-12-202-5/+4
| |/
| * Renamed Redirector to Redirecting (its a module, not a class)David Heinemeier Hansson2009-12-203-3/+3
| |
| * Rename the RenderingController module to just plain RenderingDavid Heinemeier Hansson2009-12-205-6/+6
| |
* | Added cookies.permanent, cookies.signed, and cookies.permanent.signed ↵David Heinemeier Hansson2009-12-201-38/+130
|/ | | | accessor for common cookie actions [DHH]
* Added alert/notice from 2-3-stable and refactored redirect_to into just ↵David Heinemeier Hansson2009-12-173-71/+122
| | | | living in Redirector [DHH]
* Move route reloading into railtiesJoshua Peek2009-12-141-5/+0
|
* Fix warning in AC flashJoshua Peek2009-12-141-0/+1
|
* Allow autoloads to opt out of eager loadingJoshua Peek2009-12-122-3/+0
|
* TestProcess belongs in ADJoshua Peek2009-12-122-113/+1
|
* Remove fancy method not allowed resource exceptions since they areJoshua Peek2009-12-111-10/+1
| | | | too much of a hack
* Reduce usage of interpret_status. It should also return a integerJoshua Peek2009-12-101-4/+12
| | | | not a string.
* Merge branch 'master' of github.com:rails/railsYehuda Katz2009-12-101-56/+45
|\
| * Simpler RenderOption API -- removes the need for registering the types and ↵Carlhuda2009-12-091-56/+45
| | | | | | | | extending a module
* | Responder redirects to resource if destroy fails.José Valim2009-12-071-2/+7
| | | | | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* | Make controller.flash public to be used in responders.José Valim2009-12-071-12/+12
|/ | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* Reorganize autoloads:Carlhuda2009-12-028-6/+14
| | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications.
* cache_store and page_cache_directory are already defined in cachingJoshua Peek2009-12-011-4/+1
| | | | and pages
* Allow ActionController::Responder to have a common entry point for all formats.José Valim2009-12-011-3/+8
| | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* Extract form_authenticity_param instance method so it's overridable in ↵Jeremy Kemper2009-11-171-0/+5
| | | | subclasses
* Split mime responder into smaller chunks and allow action to be configured.José Valim2009-11-131-17/+27
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Rdoc for changes introduced in e2ed1a1ca, 36058f450.David Vrensk2009-11-121-0/+1
| | | | | | [#3451 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* String#bytesize is not needed for Ruby >= 1.8.7Xavier Noria2009-11-091-2/+0
|
* Fix some Ruby warnings: `*' interpreted as argument prefixBryan Helmkamp2009-11-091-2/+2
|
* Update AC::Middleware to play better with the normal AC::Metal stack. This ↵Yehuda Katz2009-11-053-24/+24
| | | | required stopping to use #call for non-rack-related stuff
* Extracted localized_cache.rb from ActionController, added it to ↵José Valim2009-11-011-38/+3
| | | | AbstractController and made ActionMailer use it.
* Add some basic render_test to AbstractController.José Valim2009-11-011-0/+9
|
* Improve AbstractController layouts coverage.José Valim2009-11-011-0/+4
|
* Move all render and layout pieces required in ActionMailer from ↵José Valim2009-11-012-34/+0
| | | | ActionController to AbstractController.
* Remove ActionMailer helpers and rely on AbstractController one.José Valim2009-11-011-65/+4
|
* Refactor ActionMailer layout and remove legacy one.José Valim2009-11-012-267/+0
|
* Caching refactoringYehuda Katz2009-10-294-86/+91
|
* First pass at cleaning up action cachingYehuda Katz2009-10-282-104/+96
|