Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Missing require added | Santiago Pastorino | 2010-04-18 | 1 | -0/+1 |
| | |||||
* | Use request.body IO and rewind, if possible | Jeremy Kemper | 2010-04-07 | 1 | -3/+6 |
| | |||||
* | Remove #size call on rack input io | Joshua Peek | 2010-04-07 | 1 | -8/+4 |
| | |||||
* | Use config.filter_parameters on in-browser request dump. [#4335 state:resolved] | José Valim | 2010-04-07 | 1 | -1/+1 |
| | |||||
* | Rename config.cookie_secret to config.secret_token and pass it as ↵ | José Valim | 2010-04-05 | 2 | -19/+19 |
| | | | | configuration in request.env. This is another step forward removing global configuration. | ||||
* | Fix signed cookies by explicitly passing config to the cookie jar | Jeremy Kemper | 2010-04-04 | 1 | -23/+19 |
| | |||||
* | Deprecate cookie_verifier_secret in favor of config.cookie_secret allowing ↵ | José Valim | 2010-03-31 | 1 | -3/+3 |
| | | | | signed cookies to work again. | ||||
* | Request#content_type exists in Rack::Request, and other parts of ↵ | wycats | 2010-03-28 | 1 | -2/+4 |
| | | | | | | Rack::Request expect it to return a String. Split the Rails API so that Request#content_type returns a String, and Request#content_mime_type returns a Mime::Type object. | ||||
* | adds missing requires for Object#blank? and Object#present? | Xavier Noria | 2010-03-28 | 2 | -0/+2 |
| | |||||
* | Merge branch 'master' into docrails | wycats | 2010-03-26 | 1 | -0/+1 |
|\ | |||||
| * | Deleting and setting a cookie in the same request was broken | Mathias Biilmann Christensen | 2010-03-17 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | Made sure to remove a cookie from @deleted_cookies when set [#4211 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | | Merge remote branch 'mainstream/master' | Pratik Naik | 2010-03-12 | 5 | -12/+63 |
|\| | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/base.rb railties/lib/rails/configuration.rb railties/lib/rails/log_subscriber.rb | ||||
| * | Simplify the action endpoint: | Carlhuda | 2010-03-08 | 1 | -1/+5 |
| | | | | | | | | | | | | | | * Remove ActionEndpoint in favor of passing a block to MiddlewareStack * Always create a Request; the performance win of RackDelegation is around the response; the Request object hit is limited to a single object allocation * #dispatch takes a Request | ||||
| * | Make many parts of Rails lazy. In order to facilitate this, | wycats | 2010-03-07 | 3 | -3/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook | ||||
| * | Deprecated ActionController::Base.session_options= and ↵ | Carlhuda | 2010-03-04 | 1 | -7/+5 |
| | | | | | | | | 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 remote_ip to a middleware: | Carlhuda | 2010-03-03 | 2 | -25/+51 |
| | | | | | | | | | | * 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 middleware | Carl Lerche | 2010-03-03 | 1 | -0/+25 |
| | | |||||
| * | Revert behavior from a5684dfa3c16472bfa5d5d861ba78cb6dbadcb59 and ensure ↵ | José Valim | 2010-02-19 | 1 | -1/+1 |
| | | | | | | | | after_initializer is executed after to_prepare callbacks. | ||||
* | | Remove outdated docs. | José Valim | 2010-02-09 | 1 | -14/+0 |
|/ | |||||
* | As first step setup the load path and lazy compare middlewares. | José Valim | 2010-01-25 | 1 | -1/+13 |
| | |||||
* | Extract routes reloading responsibilities from application and load them ↵ | José Valim | 2010-01-23 | 1 | -1/+1 |
| | | | | just upon a request. | ||||
* | Default to sync instrumentation. | José Valim | 2010-01-21 | 1 | -32/+0 |
| | |||||
* | Move filter_parameter_logging logic out of the controller and create ↵ | Prem Sichanugrist | 2010-01-21 | 1 | -1/+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> | ||||
* | Only send filtered_env for notifications | Joshua Peek | 2010-01-20 | 1 | -8/+9 |
| | |||||
* | Revert streaming params parser support. | Joshua Peek | 2010-01-19 | 1 | -3/+3 |
| | | | | | | | | | | AS Xml and Json parsers expect the request body to be a real IO object supporting methods like getc or ungetc which are not specified by the Rack spec and aren't supported by Passenger or the Rewindable input wrapper. We can restore functionality if the AS parsers are rewritten to support Racks subset of supported IO methods. | ||||
* | Cleanup middleware introspection output | Joshua Peek | 2010-01-19 | 1 | -3/+1 |
| | |||||
* | Do not send rack.input or any other rack information to AD listeners. | José Valim | 2010-01-19 | 1 | -6/+13 |
| | |||||
* | Prettier hash dump | Joshua Peek | 2010-01-18 | 1 | -3/+7 |
| | |||||
* | Show Rack env dump on exception page | Joshua Peek | 2010-01-18 | 1 | -1/+4 |
| | |||||
* | Accessing nonexistant cookies through the signed jar should not raise an | Joshua Peek | 2010-01-17 | 1 | -1/+3 |
| | | | | exception | ||||
* | Make local_request? to returns true when facing ::1 IPv6 address [#3257 ↵ | Prem Sichanugrist | 2010-01-17 | 1 | -2/+2 |
| | | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add ActionDispatch::Notifications middleware. | José Valim | 2010-01-17 | 3 | -7/+26 |
| | |||||
* | Use backtrace cleaner for dev mode exception page | Joshua Peek | 2010-01-16 | 3 | -7/+22 |
| | |||||
* | Cookies middleware | Joshua Peek | 2010-01-16 | 1 | -0/+214 |
| | |||||
* | Fix const reference for SessionRestoreError | Joshua Peek | 2010-01-15 | 1 | -1/+1 |
| | |||||
* | Move Flash into middleware | Joshua Peek | 2010-01-15 | 1 | -0/+174 |
| | |||||
* | Make HEAD method masquerade as GET so requests are routed correctly | Joshua Peek | 2010-01-15 | 1 | -0/+18 |
| | |||||
* | Ensure log is flushed and tailed on failures. | José Valim | 2010-01-15 | 1 | -4/+3 |
| | |||||
* | Move Dispatcher setup to Railties and add instrumentation hook. | José Valim | 2010-01-15 | 1 | -7/+10 |
| | |||||
* | Trash string coercion rack hacks | Joshua Peek | 2010-01-04 | 1 | -29/+0 |
| | |||||
* | @_formats initialization should be AbstractController::Base. | José Valim | 2010-01-04 | 1 | -1/+1 |
| | |||||
* | Add notifications to ActionDispatch::ShowExceptions, this can be used as ↵ | José Valim | 2010-01-03 | 1 | -2/+22 |
| | | | | hooks for plugins like ExceptionNotifier. | ||||
* | fixed missing or incorrect session data error message | Stefan Penner | 2010-01-02 | 1 | -1/+1 |
| | |||||
* | Complain if there's no such middleware | Jeremy Kemper | 2009-12-28 | 1 | -2/+3 |
| | |||||
* | AD::Cascade that supports X-Cascade | Joshua Peek | 2009-12-26 | 1 | -0/+29 |
| | |||||
* | All AD modules are "deferrable" | Joshua Peek | 2009-12-22 | 4 | -5/+9 |
| | |||||
* | AD::StatusCodes support is now part of rack | Joshua Peek | 2009-12-22 | 1 | -1/+1 |
| | |||||
* | Just a little tidying | David Heinemeier Hansson | 2009-12-20 | 1 | -24/+22 |
| | |||||
* | Use AbstractController error constants | Joshua Peek | 2009-12-16 | 1 | -3/+2 |
| | |||||
* | Reduce usage of interpret_status. It should also return a integer | Joshua Peek | 2009-12-10 | 1 | -3/+1 |
| | | | | not a string. |