aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
* Tidy up new filter_parameters implementation.José Valim2010-01-213-15/+5
|
* Add deprecation warning for calling filter_parameter_logging ↵Prem Sichanugrist2010-01-211-27/+2
| | | | | | ActionController::Base, and allow it to be configured in config.filter_parameters Signed-off-by: José Valim <jose.valim@gmail.com>
* Move filter_parameter_logging logic out of the controller and create ↵Prem Sichanugrist2010-01-212-33/+5
| | | | | | ActionDispatch::ParametersFilter to handle parameter filteration instead. This will make filteration not depending on controller anymore. Signed-off-by: José Valim <jose.valim@gmail.com>
* Expose last controller in rack env["action_controller.instance"]Joshua Peek2010-01-201-0/+1
|
* Move ActionController::Translation to AbstractController::Translation.José Valim2010-01-202-14/+1
|
* Bring normalize behavior to AbstractController::RenderingJosé Valim2010-01-203-35/+17
|
* Stop overriding LoadError.new to return a MissingSourceError (and sometimes ↵Yehuda Katz2010-01-191-1/+1
| | | | nil!)
* Move parameters to the top on logging.José Valim2010-01-194-15/+20
|
* Cleanup deprecation notices.Joshua Peek2010-01-181-1/+1
|
* Add ActionDispatch::Railties::Subscriber and finish tidying up the logging.José Valim2010-01-173-58/+1
|
* Get rid of prepare_each_request, since now it's a middleware initialization ↵José Valim2010-01-172-4/+0
| | | | parameter.
* Cookies middlewareJoshua Peek2010-01-162-183/+6
|
* Build middleware stack and reload routes after app initializers runJoshua Peek2010-01-161-1/+0
| | | | [#3709 state:resolved]
* Merge docrailsPratik Naik2010-01-171-17/+17
|
* Move Flash into middlewareJoshua Peek2010-01-153-177/+6
|
* Do not send the whole controller in notifications, cherry pick required pieces.José Valim2010-01-154-20/+45
|
* Small tweaks in ActionController subscriber messages format.José Valim2010-01-151-2/+2
|
* Move Dispatcher setup to Railties and add instrumentation hook.José Valim2010-01-154-57/+36
|
* Respect resources_path_names and :path_names options in new dslJoshua Peek2010-01-131-3/+2
|
* optimise_named_routes is unnecessaryJoshua Peek2010-01-131-5/+0
|
* Tidy up ActiveRecord and Views runtime information on process action logger.José Valim2010-01-142-4/+7
|
* Test fragment/page cache and send data/file notifications.José Valim2010-01-131-5/+5
|
* Add subscriber for ActionPack and move all logging inside it.José Valim2010-01-139-133/+149
|
* Improve ActionPack logger output.José Valim2010-01-111-5/+8
|
* Cleanup junk metal and revise APIJoshua Peek2010-01-101-3/+25
| | | | | API Change: Returning a "X-Cascade: pass" header triggers the cascade instead of a 404 response.
* Use safe_concat instead of trying to html_safe! what might be a frozen stringDavid Heinemeier Hansson2010-01-101-2/+2
|
* Raise an error if respond_with is invoked and no format is declared.José Valim2010-01-101-3/+6
|
* Fixed that fragment caching should return a cache hit as html_safe (or it ↵David Heinemeier Hansson2010-01-071-1/+1
| | | | would all just get escaped) [DHH]
* Remove duplicated url_for code and move methods shared between ActionMailer ↵José Valim2010-01-074-210/+59
| | | | and ActionController up to AbstractController.
* Remove CGI.escape in function of Rack::Mount.escapeJosé Valim2010-01-061-3/+3
|
* 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
|