aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/dispatcher.rb
Commit message (Collapse)AuthorAgeFilesLines
* Ensure ActiveRecord session store's connections are checked in after each ↵Joshua Peek2009-02-241-7/+0
| | | | request [#1927 state:resolved]
* Move development mode reloading up the stack to avoid issues with class ↵Joshua Peek2009-02-201-14/+27
| | | | reloading in middleware
* Move cleanup before prepare_dispatch so that constants are not loaded twice ↵Andrew White2009-02-071-6/+5
| | | | | | [#1898 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Restore stale session check and move after dispatch development cleanups ↵Joshua Peek2009-02-051-5/+2
| | | | before the request
* Cache AssetTag timestampsJoshua Peek2009-01-041-0/+2
|
* Revert to the good old days when AssetTag didn't cause anyone problemsJoshua Peek2009-01-021-1/+0
|
* Make router and controller classes better rack citizensJoshua Peek2008-12-281-7/+4
|
* Rename RackRequest to RequestPratik Naik2008-12-231-1/+1
|
* Move default middleware stack to middlewares.rbJoshua Peek2008-12-221-17/+2
|
* ActiveRecord::QueryCache middlewareJoshua Peek2008-12-221-0/+1
|
* Rename AbstractResponse to Response and inheirt from Rack::ResponseJoshua Peek2008-12-191-1/+1
|
* Cleanup dispatch pathJoshua Peek2008-12-181-18/+9
|
* Use more generic test env flagJoshua Peek2008-12-181-1/+1
|
* Conditionally inject session middleware instead of using session managementJoshua Peek2008-12-181-2/+15
|
* Move gaint lock into middlewareJoshua Peek2008-12-181-13/+2
|
* Switch to Rack based session stores.Joshua Peek2008-12-151-3/+5
|
* Boot out CGI Processor.Joshua Peek2008-12-041-74/+9
| | | | | * Add ActionController::CGIHandler as a backwards compatible CGI wrapper around Rack. * Also pull failsafe responder into ActionController::Failsafe middleware.
* Ensure each rack request has its own dispatcher instanceJoshua Peek2008-12-041-1/+1
|
* Refactor SessionFixationTest and WebServiceTest with IntegrationTest so they ↵Joshua Peek2008-12-041-5/+13
| | | | are compatible with the Rack interface.
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-12-031-0/+8
|\
| * Add internal middleware stack to DispatcherJoshua Peek2008-12-011-0/+8
| | | | | | | | config.middleware.use Rack::Cache
* | Fix failsafe response path. [#1504 state:committed]Jeremy Kemper2008-12-031-1/+1
|/
* Reinstate "Super lazy load view paths in development mode (no indexing or ↵Joshua Peek2008-11-281-1/+0
| | | | caching at all). Switch layout finders to use view path api to take advantage of cache." as it killed dev mode reloading."
* Revert "Super lazy load view paths in development mode (no indexing or ↵David Heinemeier Hansson2008-11-271-0/+1
| | | | | | caching at all). Switch layout finders to use view path api to take advantage of cache." as it killed dev mode reloading. This reverts commit 4d910b033379727e5e7355590c50c72fc75e56db.
* Super lazy load view paths in development mode (no indexing or caching at ↵Joshua Peek2008-11-261-1/+0
| | | | all). Switch layout finders to use view path api to take advantage of cache.
* Let ApplicationController stay unloaded for as long as possibleDavid Heinemeier Hansson2008-11-221-3/+1
|
* BACKWARDS INCOMPATIBLE: Renamed application.rb to application_controller.rb ↵David Heinemeier Hansson2008-11-171-8/+1
| | | | and removed all the special casing that was in place to support the former. You must do this rename in your own application when you upgrade to this version [DHH]
* Simplify dispatcher callbacks to eliminate unnecessary stale thread purging. ↵Nick Sieger2008-11-081-1/+0
| | | | | | [Nick Sieger, Pratik Naik] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Proper API for reloading translationsDavid Heinemeier Hansson2008-10-291-0/+4
|
* Ensure ActionView::Helpers::AssetTagHelper::AssetTag::Cache is cleared ↵Tim Harper2008-10-201-1/+2
| | | | | | before loading so changes to asset files are picked up by the broswer [#1233 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Return processing lock to dispatcher, the finer grained lock was ↵Aliaksey Kandratsenka2008-10-041-1/+13
| | | | | | | | | | incompatible with the reloading in development mode. This commit also adds ActionController::Dispatcher#dispatch_unlocking -- non-locking version of dispatch. It's named anologously to POSIX {getc,getchar,...}_unlocked functions. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1170 state:committed]
* call clear_active_connections! in :after_dispatch to give pooled connections ↵Aliaksey Kandratsenka2008-10-041-0/+16
| | | | | | | | | | | back This fixes connection pool exhaustion for web servers which create new thread per connection (e.g. Webrick). integration.rb changes are required to keep test transaction active for several requests. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1171 state:committed]
* Simplified and renamed CallbackChain union method to replace_or_append!Joshua Peek2008-08-211-1/+1
|
* Consistently use the framework's configured logger and avoid reverting to ↵Joshua Peek2008-08-181-2/+2
| | | | RAILS_DEFAULT_LOGGER unless necessary.
* Added back ActionController::Base.allow_concurrency flag and moved lock down ↵Joshua Peek2008-07-281-11/+7
| | | | to controller processing.
* Replaced TemplateFinder abstraction with ViewLoadPathsJoshua Peek2008-06-171-1/+1
|
* Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ↵Joshua Peek2008-06-031-1/+1
| | | | ActiveSupport [#238 state:resolved]
* Ensure Rack processor reads CGI output_cookies for the session cookie.Joshua Peek2008-06-021-1/+1
|
* Added Rack processorEzra Zygmuntowicz2008-06-011-1/+7
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Refactor Dispatcher callbacks to remove unnecessary Dependencies checks in ↵Pratik Naik2008-04-181-40/+33
| | | | production environment.
* Tidy up ActiveSupport::Callbacks::CallbackChain instance API.Joshua Peek2008-04-171-1/+1
|
* Added Rails.public_path to control where HTML and assets are expected to be ↵David Heinemeier Hansson2008-04-131-1/+1
| | | | loaded from (defaults to Rails.root + "/public") #11581 [nicksieger]
* Refactor filters to use Active Support callbacks. Closes #11235.Jeremy Kemper2008-03-181-10/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9055 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reapply the TemplateFinder first applied in [8669] then reverted in [8676]. ↵Michael Koziarski2008-01-211-0/+1
| | | | | | Closes #10800 [lifofifo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8683 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Revert r8669 for now, breaks Action Mailer. Reopens #10800.Jeremy Kemper2008-01-191-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8676 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce TemplateFinder to handle view paths and lookups. Closes #10800.Jeremy Kemper2008-01-191-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Extract ActiveSupport::Callbacks from Active Record, test case setup and ↵Jeremy Kemper2008-01-191-38/+13
| | | | | | teardown, and ActionController::Dispatcher. Closes #10727. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce native mongrel handler and push mutex into dispatcher.Jeremy Kemper2007-12-271-6/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8488 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix doc typo on Dispatcher.dispatch. Closes #10434 [fxn]Jeremy Kemper2007-12-101-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8346 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dispatcher: fix that to_prepare should only run once in production. Closes ↵Jeremy Kemper2007-10-161-1/+2
| | | | | | #9889. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7944 5ecf4fe2-1ee6-0310-87b1-e25e094e27de