Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add 'X-UA-Compatible' => 'chrome=1' to default headers | Guillermo Iguaran | 2013-01-29 | 1 | -1/+2 |
| | |||||
* | Remove BestStandardsSupport middleware | Guillermo Iguaran | 2013-01-29 | 1 | -1/+0 |
| | |||||
* | nodoc AD & AV railties classes | Carlos Duclos | 2012-12-01 | 1 | -1/+1 |
| | |||||
* | Allow users to change the default salt if they want, shouldn't be necessary | Santiago Pastorino | 2012-11-03 | 1 | -0/+4 |
| | |||||
* | config.action_dispatch.rack_cache should set explicitly to enable Rack::Cache | Guillermo Iguaran | 2012-10-04 | 1 | -6/+1 |
| | |||||
* | Get rid of config.preload_frameworks in favor of config.eager_load_namespaces | José Valim | 2012-08-21 | 1 | -0/+2 |
| | | | | | | | 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. | ||||
* | Added X-Content-Type-Options to the header defaults. | Jim Jones | 2012-08-18 | 1 | -1/+2 |
| | | | | With a value of "nosniff", this prevents Internet Explorer from MIME-sniffing a response away from the declared content-type. | ||||
* | Move AD default_headers configurations to railtie | Guillermo Iguaran | 2012-08-10 | 1 | -0/+5 |
| | | | | | | ActionDispatch railtie is a better place for config.action_dispatch.default_headers settings, users can continue overriding those settings in their configuration files if needed. | ||||
* | introduce default_headers config | Egor Homakov | 2012-08-09 | 1 | -0/+1 |
| | |||||
* | Turn off verbose mode of rack-cache, we still have X-Rack-Cache to check ↵ | Santiago Pastorino | 2012-03-03 | 1 | -1/+1 |
| | | | | | | that info Closes #5245 | ||||
* | uses PATCH for the forms of persisted records, and routes PATCH and PUT to ↵ | Xavier Noria | 2012-02-24 | 1 | -1/+0 |
| | | | | the update action of resources | ||||
* | Add config.default_method_for_update to support PATCH | David Lee | 2012-02-22 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update. | ||||
* | Remove deprecated default_charset= from AC::Base | Carlos Antonio da Silva | 2012-01-17 | 1 | -1/+2 |
| | | | | | This should be set globally as a configuration, using `config.action_dispatch.default_charset` instead | ||||
* | remove Rails application fallback from AD::IntegrationTest | Sergey Nartimov | 2011-12-23 | 1 | -0/+2 |
| | | | | set AD::IntegrationTest.app in railtie initializer | ||||
* | Assign config.encoding to AD::Response.default_charset at the initialization ↵ | kennyj | 2011-12-07 | 1 | -0/+1 |
| | | | | time. | ||||
* | Add an ExceptionWrapper that wraps an exception and provide convenience helpers. | José Valim | 2011-12-01 | 1 | -2/+2 |
| | |||||
* | Allow rescue responses to be configured through a railtie. | José Valim | 2011-12-01 | 1 | -1/+12 |
| | |||||
* | configuration option to always write cookie | lest | 2011-11-23 | 1 | -1/+3 |
| | |||||
* | stop circular require warnings | Aaron Patterson | 2011-08-24 | 1 | -1/+0 |
| | |||||
* | x_sendfile_header now defaults to nil and production.rb env file doesn't | Santiago Pastorino | 2011-08-07 | 1 | -1/+1 |
| | | | | | | | set a particular value for it. This allows servers to set it through X-Sendfile-Type, read https://github.com/rack/rack/blob/master/lib/rack/sendfile.rb for more info. Anyways you can force this value in your production.rb | ||||
* | Allow ignore_accept_header through configuration option. | José Valim | 2011-05-02 | 1 | -0/+2 |
| | |||||
* | First pass at Rack::Cache | wycats | 2010-09-13 | 1 | -0/+1 |
| | |||||
* | Partial revert of commit #7fae0aa4ac116 removing ↵ | Mikel Lindsaar | 2010-09-11 | 1 | -5/+0 |
| | | | | | | | action_dispatch.prepare_dispatcher per commit #48bf667a8b1 See line note: http://github.com/rails/rails/commit/7fae0aa4ac116bcbf522a9a4f19972c653d366fa#commitcomment-145148 | ||||
* | Add configuration option for tld length | Simon Jefford | 2010-09-09 | 1 | -0/+10 |
| | |||||
* | Ensure routes are loaded only after the initialization process finishes, ↵ | José Valim | 2010-09-02 | 1 | -5/+0 |
| | | | | ensuring all configuration options were applied. | ||||
* | Add a header that tells Internet Explorer (all versions) to use the best ↵ | wycats | 2010-07-27 | 1 | -1/+2 |
| | | | | | | 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. | ||||
* | Use the new ActiveSupport::FileUpdateChecker instead of RoutesReloader. | José Valim | 2010-06-20 | 1 | -1/+1 |
| | |||||
* | Kill legacy dispatcher. | José Valim | 2010-05-18 | 1 | -2/+0 |
| | |||||
* | Add a test which ensures action_dispatch.show_exceptions is properly disabled. | José Valim | 2010-04-02 | 1 | -1/+1 |
| | |||||
* | Raise exceptions instead of rendering error templates in test environment ↵ | Rolf Bjaanes | 2010-04-02 | 1 | -1/+2 |
| | | | | | | [#4315 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Make X-Sendfile default to "" so it works correctly in dev mode. | wycats | 2010-03-26 | 1 | -1/+1 |
| | | | | | Provide a default in production.rb that can be modified, so that people who care about sendfile performance in production mode can get better performance easily. | ||||
* | Move application configuration to the application configuration object, ↵ | José Valim | 2010-03-26 | 1 | -2/+1 |
| | | | | remove railtie_name and engine_name and allow to set the configuration object. | ||||
* | Deprecated ActionController::Base.session_options= and ↵ | Carlhuda | 2010-03-04 | 1 | -2/+0 |
| | | | | ActionController::Base.session_store= in favor of a config.session_store method (which takes params) and a config.cookie_secret variable, which is used in various secret scenarios. The old AC::Base options will continue to work with deprecation warnings. | ||||
* | Move session and session_store onto ActionDispatch and add deprecation warnings | Carlhuda | 2010-03-04 | 1 | -0/+2 |
| | |||||
* | Move remote_ip to a middleware: | Carlhuda | 2010-03-03 | 1 | -0/+1 |
| | | | | | * ActionController::Base.ip_spoofing_check deprecated => config.action_dispatch.ip_spoofing_check * ActionController::Base.trusted_proxies deprecated => config.action_dispatch.trusted_proxies | ||||
* | Makes send_file work again by deferring to Rack::Sendfile. | Carlhuda | 2010-02-23 | 1 | -0/+2 |
| | | | | | | | | | | * Add the Rack::Sendfile middleware * Make the header to use configurable via config.action_dispatch.x_sendfile_header (default to "X-Sendfile"). * Add Railties tests to confirm that these work * Remove the :stream, :buffer_size, and :x_senfile default options to send_file * Change the log subscriber to always say "Sent file" * Add deprecation warnings for options that are now no-ops Note that servers can configure this by setting X-Sendfile-Type. Hosting companies and those creating packages of servers specially designed for Rails applications are encouraged to specify this header so that this can work transparently. | ||||
* | Ensure metals and initializers in plugins are loaded. | José Valim | 2010-01-24 | 1 | -3/+0 |
| | |||||
* | Rename plugin_name to railtie_name and engine_name. | José Valim | 2010-01-24 | 1 | -1/+1 |
| | |||||
* | Solve some pendencies. | José Valim | 2010-01-24 | 1 | -1/+1 |
| | |||||
* | Extract routes reloading responsibilities from application and load them ↵ | José Valim | 2010-01-23 | 1 | -12/+4 |
| | | | | just upon a request. | ||||
* | Default to sync instrumentation. | José Valim | 2010-01-21 | 1 | -3/+0 |
| | |||||
* | Move middleware builder back to Rails::Rack::Metal without losing the new ↵ | José Valim | 2010-01-17 | 1 | -29/+0 |
| | | | | behavior. | ||||
* | Add ActionDispatch::Railties::Subscriber and finish tidying up the logging. | José Valim | 2010-01-17 | 1 | -0/+58 |