aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal
Commit message (Collapse)AuthorAgeFilesLines
* Expose a _render_partial hook as thhe _render_template one and make use of it.José Valim2009-12-311-6/+6
|
* ActionController::Logger should include AbstractController::Logger and sort ↵José Valim2009-12-311-0/+4
| | | | autoloads for easier readability.
* controller_path is required by ActionView, so move it up to ↵José Valim2009-12-311-171/+0
| | | | AbstractController and refactor AbstractController::Layouts.
* 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-282-181/+180
|
* Remove ActiveRecord runtime logging from ActionPack and place in ↵José Valim2009-12-272-30/+14
| | | | ActiveRecord, adding it through config.action_controller.include hook.
* Remove ActionView inline logging to ActiveSupport::Notifications and create ↵José Valim2009-12-264-98/+93
| | | | 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.
* 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-221-4/+4
|
* Make ActionMailer::Base inherit from AbstractController::BaseJosé Valim2009-12-221-0/+34
| | | | 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-2115-97/+77
|\|
| * AC::Head now doesn't have an unfulfilled Rendering dependency, and instead ↵Yehuda Katz2009-12-202-11/+8
| | | | | | | | 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-209-77/+61
| |\
| | * Rename RackConvenience => RackDelegationJoshua Peek2009-12-205-5/+5
| | |
| | * Merge Session stuff into RackConvenienceJoshua Peek2009-12-205-72/+56
| | |
| * | Rename RenderOptions to RenderersDavid Heinemeier Hansson2009-12-201-4/+3
| |/
| * Renamed Redirector to Redirecting (its a module, not a class)David Heinemeier Hansson2009-12-201-1/+1
| |
| * Rename the RenderingController module to just plain RenderingDavid Heinemeier Hansson2009-12-204-5/+5
| |
* | 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-172-5/+122
| | | | living in Redirector [DHH]
* Fix warning in AC flashJoshua Peek2009-12-141-0/+1
|
* Remove fancy method not allowed resource exceptions since they areJoshua Peek2009-12-111-10/+1
| | | | too much of a hack
* 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-023-2/+2
| | | | | | | | | | | | | | | | | | | | | * 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>
* String#bytesize is not needed for Ruby >= 1.8.7Xavier Noria2009-11-091-2/+0
|
* Update AC::Middleware to play better with the normal AC::Metal stack. This ↵Yehuda Katz2009-11-051-1/+1
| | | | 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-011-11/+0
|
* Caching refactoringYehuda Katz2009-10-291-3/+5
|
* New semantics eliminate the need for __send__Yehuda Katz2009-10-281-2/+2
|
* Reorganize CSRF a bitYehuda Katz2009-10-281-33/+23
|
* #include should be #extendYehuda Katz2009-10-271-1/+1
|
* Clean up flash a bitYehuda Katz2009-10-271-1/+1
|
* Clean up flash a bitYehuda Katz2009-10-261-25/+23
|
* Clean up parameter logging someYehuda Katz2009-10-261-42/+23
|
* Clean up and update cookiesYehuda Katz2009-10-261-17/+27
|