aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch.rb
Commit message (Collapse)AuthorAgeFilesLines
* Introduce ActionDispatch::ReloaderJohn Firebaugh2010-12-201-0/+1
| | | | | | | | | | | | Based on the implementation on the 2-3-stable branch, patches by Hongli Lai <hongli@phusion.nl>, and helpful suggestions from José Valim. Hongli Lai's patches included locking around the request cycle; this is now handled by Rack::Lock (https://github.com/rack/rack/issues/issue/87/). [#2873] Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove deprecated stuff in ActionControllerCarlos Antonio da Silva2010-09-261-0/+1
| | | | | | This removes all deprecated classes in ActionController related to Routing, Abstract Request/Response and Integration/IntegrationTest. All tests and docs were changed to ActionDispatch instead of ActionController.
* Add a header that tells Internet Explorer (all versions) to use the best ↵wycats2010-07-271-0/+1
| | | | | | available standards support. This ensures that IE doesn't go into quirks mode because it has been blacklisted by too many users pressing the incompatible button. It also tells IE to use the ChromeFrame renderer, if the user has installed the plugin. This guarantees that the best available standards support will be used on the client.
* Fix failing railties tests.José Valim2010-07-211-0/+3
|
* No need to delegate. Simply include the whole RecordIdentifier module.José Valim2010-07-211-0/+2
|
* Extract ParameterFilter class from FilterParameters mixinBryan Helmkamp2010-07-191-0/+1
| | | | Signed-off-by: wycats <wycats@gmail.com>
* Removing Metal from Rails 3. wycats2010-05-291-1/+0
| | | | | | | | | | | | | | | | | | | | If you have existing Metals, you have a few options: * if your metal behaves like a middleware, add it to the middleware stack via config.middleware.use. You can use methods on the middleware stack to control exactly where it should go * if it behaves like a Rack endpoint, you can link to it in the router. This will result in more optimal routing time, and allows you to remove code in your endpoint that matches specific URLs in favor of the more powerful handling in the router itself. For the future, you can use ActionController::Metal to get a very fast controller with the ability to opt-in to specific controller features without paying the penalty of the full controller stack. Since Rails 3 is closer to Rack, the Metal abstraction is no longer needed.
* Move remote_ip to a middleware:Carlhuda2010-03-031-1/+1
| | | | | * ActionController::Base.ip_spoofing_check deprecated => config.action_dispatch.ip_spoofing_check * ActionController::Base.trusted_proxies deprecated => config.action_dispatch.trusted_proxies
* Add a BlockUntrustedIps middlewareCarl Lerche2010-03-031-0/+1
|
* Updating copyright dates on all licensesMikel Lindsaar2010-02-011-1/+1
|
* ActionMailer should depend just on AbstractController.José Valim2010-01-291-0/+1
|
* Default to sync instrumentation.José Valim2010-01-211-1/+0
|
* Tidy up new filter_parameters implementation.José Valim2010-01-211-1/+1
|
* Move filter_parameter_logging logic out of the controller and create ↵Prem Sichanugrist2010-01-211-0/+1
| | | | | | 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>
* Add ActionDispatch::Notifications middleware.José Valim2010-01-171-0/+1
|
* Cookies middlewareJoshua Peek2010-01-161-0/+1
|
* Split ActionDispatch http in smaller chunks.José Valim2010-01-161-1/+9
|
* Move Flash into middlewareJoshua Peek2010-01-151-0/+1
|
* Make HEAD method masquerade as GET so requests are routed correctlyJoshua Peek2010-01-151-0/+1
|
* Trash string coercion rack hacksJoshua Peek2010-01-041-1/+0
|
* Partially revert "ActionDispatch should require as little of ActiveSupport ↵Jeremy Kemper2009-12-301-0/+2
| | | | | | as possible" Removes load path change from commit bb153f42e45160c5ef3593c393db5d3c6857fb70.
* ActionDispatch should require as little of ActiveSupport as possibleCarl Lerche2009-12-301-3/+1
|
* Require active_support/dependencies/autoload in action_dispatchCarl Lerche2009-12-281-0/+1
|
* AD::Cascade that supports X-CascadeJoshua Peek2009-12-261-0/+1
|
* Flip deferrable autoload conventionJoshua Peek2009-12-221-31/+29
|
* All AD modules are "deferrable"Joshua Peek2009-12-221-7/+5
|
* AD::StatusCodes support is now part of rackJoshua Peek2009-12-221-1/+0
|
* We don't need AD parse_configJoshua Peek2009-12-201-1/+0
|
* Add active_support/ruby/shim to the default requirements for AP componentsYehuda Katz2009-12-201-1/+1
|
* Fully expand relative rails framework paths and make sure we aren'tJoshua Peek2009-12-161-4/+4
| | | | adding any to the load path more than once.
* Allow autoloads to opt out of eager loadingJoshua Peek2009-12-121-20/+29
|
* Reorganize autoloads:Carlhuda2009-12-021-20/+21
| | | | | | | | | | | | | | | | | | | | | * 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.
* Move Routing into ADJoshua Peek2009-10-201-0/+2
|
* Coerce all out going body parts to StringsJoshua Peek2009-10-051-0/+1
|
* Move Rails::Static into ActionDispatchJoshua Peek2009-09-261-1/+2
|
* Extract "parse_config" into ADJoshua Peek2009-09-251-0/+1
|
* Move integration test runner into ActionDispatchJoshua Peek2009-09-231-1/+5
|
* Require active_support after autoload setupJeremy Kemper2009-09-141-4/+4
|
* Back off rack 1.1-pre and bundle in the new testing goodiesJoshua Peek2009-08-311-6/+0
|
* Switch over to rack-test gemJoshua Peek2009-08-311-1/+3
|
* RequestForgeryProtection now works with the new basePratik Naik2009-05-211-0/+1
|
* Ruby 1.9 stdlib gems don't recognize .pre yetJeremy Kemper2009-05-201-1/+1
|
* Temporarily bundle rack-test while MockSession is bakingJoshua Peek2009-05-191-0/+2
|
* Extract generic callbacks middleware from dispatcherJoshua Peek2009-05-171-0/+1
|
* Merge Failsafe middleware into ShowExceptionsJoshua Peek2009-05-171-1/+0
|
* Cherry-pick core extensionsJeremy Kemper2009-05-131-10/+3
|
* Wrap dispatcher callbacks around the whole middleware chain. Kill ↵Joshua Peek2009-05-031-1/+0
| | | | unnecessary Reloader middleware.
* Extract ActionController rescue templates into Rescue and ShowExceptions ↵Joshua Peek2009-05-021-0/+2
| | | | | middleware. This commit breaks all exception catching plugins like ExceptionNotifier. These plugins should be rewritten as middleware instead overriding Controller#rescue_action_in_public.
* Rename vendor/rack to vendor/rack-1.1.prePratik Naik2009-05-011-2/+2
|
* Vendor Rack edge ( commit : 815342a8e15db564b766f209ffb1e340233f064f )Pratik Naik2009-05-011-1/+6
|