aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
...
* Controller tests should always require view tests since they add behavior ↵Jeremy Kemper2010-01-041-0/+1
| | | | controllers expect
* Default middleware stack needs to be available at configuration timeJoshua Peek2010-01-041-20/+0
|
* Autoload AS test caseJoshua Peek2010-01-041-1/+0
|
* Autoload AC and AV test case classesJoshua Peek2010-01-041-1/+0
|
* MergeDavid Heinemeier Hansson2010-01-034-13/+20
|\
| * Use underscore in notification namespaces.José Valim2010-01-044-6/+6
| |
| * Use namespaces in notifications.José Valim2010-01-034-13/+20
| |
* | Added that ActionController::Base now does helper :all instead of relying on ↵David Heinemeier Hansson2010-01-031-0/+2
|/ | | | the default ApplicationController in Rails to do it [DHH]
* 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-312-1/+4
| | | | autoloads for easier readability.
* controller_path is required by ActionView, so move it up to ↵José Valim2009-12-313-187/+1
| | | | AbstractController and refactor AbstractController::Layouts.
* Some railties cleanup:Carl Lerche2009-12-311-1/+1
| | | | | | * Rename <framework>/rails.rb -> <framework>/railtie.rb * Rails::Plugin -> Rails::Railtie * Rails::Plugin::Vendored -> Rails::Plugin
* Rename rails.rb -> rails/all.rb and rails/core.rb -> rails.rbCarl Lerche2009-12-311-0/+1
|
* Add a /rails.rb for each framework for consistencyCarl Lerche2009-12-311-0/+2
|
* Revert "Add config.action_controller.include behavior to plugins."Jeremy Kemper2009-12-301-2/+1
| | | | | | | | This reverts commit 7e8b7f46bfc086a36db996420fbee93348c5268e. Conflicts: railties/lib/rails/plugin.rb
* 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