aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch.rb
Commit message (Collapse)AuthorAgeFilesLines
* Publish AS::Executor and AS::Reloader APIsMatthew Draper2016-03-021-1/+1
| | | | | | These should allow external code to run blocks of user code to do "work", at a similar unit size to a web request, without needing to get intimate with ActionDipatch.
* Add both HTTP Response Code and Type to assertion messagesSean Collins2016-01-121-0/+1
| | | | | Also, refactor logic to convert between symbol and response code, via the AssertionResponse class
* Update copyright notices to 2016 [ci skip]Rashmi Yadav2015-12-311-1/+1
|
* Soften the lock requirements when eager_load is disabledMatthew Draper2015-07-091-0/+1
| | | | | We don't need to fully disable concurrent requests: just ensure that loads are performed in isolation.
* Update copyright notices to 2015 [ci skip]Arun Agrawal2014-12-311-1/+1
|
* `ActionDispatch::Head` was replaced by `Rack::Head`. Closes #14191.Yves Senn2014-02-251-1/+0
| | | | See 449039a86d802871b707dfb51ac1ed96d53526f9 for the original commit.
* Renamed session_serializer option to cookies_serializerGodfrey Chan2014-02-111-2/+0
|
* FilterParameters is referenced at the class level from the RequestZachary Scott2014-02-091-1/+0
| | | | | Since it's already required in the file, we don't need to use autoload too. This commit is symmetrical change to 0b10180 for Response.
* FilterRedirect is referenced at the class level from the ResponseAaron Patterson2014-01-311-1/+0
| | | | | We can just require the file rather than going through the autoload indirection
* Allow session serializer key in config.session_storeLukasz Sarnacki2014-01-291-4/+6
| | | | | | | | | | | | | MessageEncryptor has :serializer option, where any serializer object can be passed. This commit make it possible to set this serializer from configuration level. There are predefined serializers (:marshal_serializer, :json_serialzier) and custom serializer can be passed as String, Symbol (camelized and constantized in ActionDispatch::Session namepspace) or serializer object. Default :json_serializer was also added to generators to provide secure defalt.
* update copyright notices to 2014. [ci skip]Vipul A M2014-01-011-1/+1
|
* Remove extra whitespaceAgis Anastasopoulos2013-04-061-4/+4
|
* Allow transparent upgrading of legacy signed cookies to encrypted cookies; ↵Trevor Turk2013-03-281-2/+0
| | | | Automatically configure cookie-based sessions to use the best cookie jar given the app's config
* Remove BestStandardsSupport middlewareGuillermo Iguaran2013-01-291-1/+0
|
* extract PerformanceTest into rails-performance_tests gemYves Senn2013-01-101-1/+0
|
* Updated copyright notices for 2013Andrew Nesbitt2012-12-311-1/+1
|
* Integrate Journey into Action DispatchAndrew White2012-12-191-0/+1
| | | | | | | | Move the Journey code underneath the ActionDispatch namespace so that we don't pollute the global namespace with names that may be used for models. Fixes rails/journey#49.
* Adding filter capability to ActionController logsFabrizio Regini2012-12-051-0/+1
|
* Add UpgradeSignatureToEncryptionCookieStoreSantiago Pastorino2012-11-161-5/+6
| | | | | | This allows easy upgrading from the old signed Cookie Store <= 3.2 or the deprecated one in 4.0 (the ones that doesn't use key derivation) to the new one that signs using key derivation
* Add encrypted cookie storeSantiago Pastorino2012-11-031-4/+5
|
* Implement ActionView::Template::TypesPiotr Sarnacki2012-08-281-0/+1
| | | | | | AV::Template::Types is a small abstraction to allow to specify template types that can be used in ActionView. When Action Pack is loaded it's replaced with Mime::Type.
* Add ActionView::Base.default_formatsPiotr Sarnacki2012-08-281-0/+4
| | | | | | | | default_formats array is used by LookupContext in order to allow rendering templates when :formats option is not passed. Previously it was always set to Mime::SET, which created dependency on Action Pack. In order to remove this dependency, Mime::SET is used only if ActionController is loaded.
* Get rid of config.preload_frameworks in favor of config.eager_load_namespacesJosé Valim2012-08-211-3/+5
| | | | | | | The new option allows any Ruby namespace to be registered and set up for eager load. We are effectively exposing the structure existing in Rails since v3.0 for all developers in order to make their applications thread-safe and CoW friendly.
* Remove the active_model require from action_dispatch.Rafael Mendonça França2012-08-161-1/+0
| | | | | | | | Since we removed the ActiveModel dependenxy from ActionPack at 166dbaa7526a96fdf046f093f25b0a134b277a68 we don't need to require it anymore. Closes #7370
* load active_support/dependencies/autoload in active_support/railsXavier Noria2012-08-021-1/+0
|
* defines a private require-hub active_support/railsXavier Noria2012-08-021-0/+1
| | | | | | | | This is a private place to put those AS features that are used by every component. Nowadays we cherry-pick individual files wherever they are used, but that it is not worth the effort for stuff that is going to be loaded for sure sooner or later, like blank?, autoload, concern, etc.
* raise exceptions on header set after response committedAaron Patterson2012-07-291-0/+3
|
* Remove useless load path modificationsSantiago Pastorino2012-05-111-6/+0
|
* Rack::SSL -> ActionDispatch::SSLRafael Mendonça França2012-03-171-0/+1
|
* Merge pull request #4248 from andrew/2012Vijay Dev2011-12-311-1/+1
|\ | | | | Updated copyright notices for 2012
| * Updated copyright notices for 2012Andrew Nesbitt2011-12-311-1/+1
| |
* | Remove Rescue middleware that was never used by Rails.José Valim2011-12-241-1/+0
| |
* | remove Rails application fallback from AD::IntegrationTestSergey Nartimov2011-12-231-0/+3
| | | | | | | | set AD::IntegrationTest.app in railtie initializer
* | Extract the rendering of public exceptions pages into a Rack app.José Valim2011-12-161-0/+1
| |
* | Get rid of the close checks since we cannot reliably close the session anyway.José Valim2011-12-161-1/+0
| |
* | Split ShowExceptions responsibilities in two middlewares.José Valim2011-12-011-0/+1
| |
* | Add an ExceptionWrapper that wraps an exception and provide convenience helpers.José Valim2011-12-011-0/+1
| |
* | Add ActionDispatch::Session::CacheStore as a generic way of storing sessions ↵Brian Durand2011-10-211-0/+1
| | | | | | | | in a cache.
* | Added X-Request-Id tracking and TaggedLogging to easily log that and other ↵David Heinemeier Hansson2011-10-191-0/+1
|/ | | | production concerns
* Add ClosedError message to the initializerSantiago Pastorino2011-04-061-0/+1
|
* We're in 2011, let's update our licensePrem Sichanugrist2011-02-221-1/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* 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
|