Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bring config.allow_concurrency back | José Valim | 2013-03-03 | 1 | -0/+6 |
| | | | | | Since the Rack::Lock still exists in development, let's provide a way to disable it explicitly. | ||||
* | Remove BestStandardsSupport middleware | Guillermo Iguaran | 2013-01-29 | 1 | -2/+1 |
| | |||||
* | Don't use action_controller.perform_caching to enable rack-rack. | Rafael Mendonça França | 2012-10-18 | 1 | -4/+1 |
| | | | | | Setting the action_dispatch.rack_cache options to true or a hash should be the way to enable it. | ||||
* | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 1 | -4/+4 |
| | |||||
* | config.action_dispatch.rack_cache should set explicitly to enable Rack::Cache | Guillermo Iguaran | 2012-10-04 | 1 | -1/+10 |
| | |||||
* | Remove unused require. | kennyj | 2012-08-29 | 1 | -2/+0 |
| | |||||
* | Remove allow_concurrency as a flag | José Valim | 2012-08-21 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | The flag was mainly used to add a Rack::Lock middleware to the stack, but the only scenario the lock is desired is in development. If you are deploying on a not-threaded server, the Rack::Lock does not provide any benefit since you don't have concurrent accesses. On the other hand, if you are on a threaded server, you don't want the lock, since it defeats the purpose of using a threaded server. If there is someone out there, running on a thread server and does want a lock, it can be added to your environment as easy as: `use Rack::Lock` | ||||
* | Remove ActionDispatch::Head middleware in favor of Rack::Head | Santiago Pastorino | 2012-07-23 | 1 | -1/+1 |
| | | | | Closes #7110 there's more work to do on rack-cache issue 69 | ||||
* | Freeze the middleware stack after it's built | Jeremy Kemper | 2012-04-20 | 1 | -0/+7 |
| | | | | | | So apps that accidentally add middlewares later aren't unwittingly dumping them in a black hole. Closes #5911 | ||||
* | Rack::SSL -> ActionDispatch::SSL | Rafael Mendonça França | 2012-03-17 | 1 | -3/+3 |
| | |||||
* | Remove --http. | José Valim | 2012-03-14 | 1 | -30/+0 |
| | |||||
* | Add test to ensure setting config.generators.http_only actually disables the ↵ | Carlos Antonio da Silva | 2012-03-14 | 1 | -1/+1 |
| | | | | | | generator options [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | Remove IdentityMap | Carlos Antonio da Silva | 2012-03-13 | 1 | -7/+0 |
| | |||||
* | Change api_only to http_only | Carlos Antonio da Silva | 2012-03-10 | 1 | -2/+1 |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | Add config.middleware.api_only! | Carlos Antonio da Silva and Santiago Pastorino | 2012-03-05 | 1 | -0/+30 |
| | |||||
* | Handle files from ActionDispatch::Static with Rack::Sendfile (fixes #5225) | Piotr Sarnacki | 2012-03-03 | 1 | -1/+1 |
| | | | | | | | | This makes rails behave properly when you serve static assets and you have X-Sendfile headers enabled. Nevertheless in most cases you should not rely on that and serve static assets with a webserver like Apache or Nginx (as you already have it in place anyway if you use X-Sendfile) | ||||
* | Deprecate RAILS_CACHE constant. | kennyj | 2012-01-18 | 1 | -2/+2 |
| | |||||
* | convert railties to use AS::TestCase | Aaron Patterson | 2012-01-05 | 1 | -1/+1 |
| | |||||
* | Add ORIGINAL_FULLPATH to env | Piotr Sarnacki | 2011-12-21 | 1 | -1/+10 |
| | | | | | | | | | | | This behaves similarly to REQUEST_URI, but we need to implement it on our own because REQUEST_URI is not reliable. Note that since PATH_INFO does not contain information about trailing question mark, this is not 100% accurate, for example `/foo?` will result in `/foo` in ORIGINAL_FULLPATH | ||||
* | Split ShowExceptions responsibilities in two middlewares. | José Valim | 2011-12-01 | 1 | -1/+3 |
| | |||||
* | Allow rescue responses to be configured through a railtie. | José Valim | 2011-12-01 | 1 | -21/+1 |
| | |||||
* | Adding ActionDispatch::RequestId in middleware test | Arun Agrawal | 2011-10-20 | 1 | -0/+1 |
| | |||||
* | Make the Rack::SSL middleware configurable | Justin Leitgeb | 2011-09-26 | 1 | -0/+8 |
| | |||||
* | Check that Rack::Sendfile is not included unless ↵ | Santiago Pastorino | 2011-08-13 | 1 | -0/+8 |
| | | | | config.action_dispatch.x_sendfile_header is set | ||||
* | Solve the RAILS_ENV problem in the railties tests in a more generic way | Jon Leighton | 2011-06-06 | 1 | -1/+5 |
| | |||||
* | Move content length to the server, this brings the same behavior as in rack 1.2. | José Valim | 2011-05-23 | 1 | -7/+6 |
| | |||||
* | Temporarily ship with ContentLength middleware. | José Valim | 2011-05-20 | 1 | -3/+3 |
| | |||||
* | Use Rack::ContentLength. | José Valim | 2011-05-19 | 1 | -5/+6 |
| | |||||
* | Fix tests to reflect IdentityMap no longer default | David Lee | 2011-05-10 | 1 | -1/+1 |
| | | | | Broke in 0e1dcae1857db4f6721561caff38d8be748d0b40 | ||||
* | Logs should show overridden method; Issue 426 | David Lee | 2011-05-07 | 1 | -2/+2 |
| | |||||
* | s/with/when/ | Xavier Noria | 2011-03-27 | 1 | -1/+1 |
| | |||||
* | Add `config.force_ssl` configuration which will load `Rack::SSL` middleware ↵ | Prem Sichanugrist | 2011-03-27 | 1 | -0/+6 |
| | | | | | | | | if set to true This will allow user to be able to force all requests to be under HTTPS protocol. This commit was a request from DHH. Special thanks to Josh Peek as well for making `Rack::SSL`. | ||||
* | Always use ActionDispatch::ShowExceptions middleware [#6462 state:resolved] | Prem Sichanugrist | 2011-02-25 | 1 | -2/+2 |
| | | | | This will make sure the application will raise `ActionController::RoutingError` in case "X-Cascade: pass" header was set, usually when there's no route match. | ||||
* | We really don't care about IM middleware order, the important is that it ↵ | Emilio Tagua | 2011-02-18 | 1 | -1/+1 |
| | | | | gets included. | ||||
* | Merge remote branch 'rails/master' into identity_map | Emilio Tagua | 2010-12-20 | 1 | -0/+7 |
|\ | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations/association_proxy.rb activerecord/lib/active_record/autosave_association.rb activerecord/lib/active_record/base.rb activerecord/lib/active_record/persistence.rb | ||||
| * | Introduce ActionDispatch::Reloader | John Firebaugh | 2010-12-20 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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> | ||||
* | | Don't load IdentityMap middleware if not enabled. Simplify middleware. | Emilio Tagua | 2010-11-19 | 1 | -0/+5 |
| | | |||||
* | | Use IdentityMap middleware to flush map on each request. | Emilio Tagua | 2010-11-19 | 1 | -0/+2 |
|/ | |||||
* | Move ETag and ConditionalGet logic from AD::Response to the middleware stack. | José Valim | 2010-10-03 | 1 | -21/+43 |
| | |||||
* | Fix a routing test. Reorganize middleware tests. | José Valim | 2010-10-02 | 1 | -91/+0 |
| | |||||
* | Only add Rack::Cache to the middleware stack if ↵ | Sparky | 2010-09-15 | 1 | -4/+31 |
| | | | | config.action_controller.perform_caching is set. | ||||
* | First pass at Rack::Cache | wycats | 2010-09-13 | 1 | -4/+5 |
| | |||||
* | Revert "Just add connection management middleware if running in a concurrent ↵ | Jeremy Kemper | 2010-08-20 | 1 | -0/+1 |
| | | | | | | environment." This reverts commit 6b29dc876fe185881d46731c3ae170478a3828fe. | ||||
* | Fix middleware test | wycats | 2010-07-27 | 1 | -1/+2 |
| | |||||
* | application generation: --skip-testunit and --skip-activerecord renamed to ↵ | Xavier Noria | 2010-07-25 | 1 | -1/+1 |
| | | | | | | | | --skip-test-unit and --skip-active-record respectively Reason is their proper spellings are "Test::Unit" and "Active Record". Option names and descriptions have been revised, as well as some method names and minor details here and there. | ||||
* | Just add connection management middleware if running in a concurrent ↵ | José Valim | 2010-07-12 | 1 | -1/+0 |
| | | | | environment. | ||||
* | adding middleware test for RAILS_CACHE | Neeraj Singh | 2010-06-24 | 1 | -0/+11 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Ensure show exceptions middleware properly filters backtrace before logging. | José Valim | 2010-06-09 | 1 | -0/+20 |
| | |||||
* | Add delete to middleware stack proxy. | José Valim | 2010-06-07 | 1 | -0/+6 |
| | |||||
* | Remove the laziness from the middleware stack. | José Valim | 2010-05-29 | 1 | -1/+1 |
| |