Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add additional HTTP request methods from the following RFCs: | Andrew White | 2010-11-02 | 1 | -2/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Hypertext Transfer Protocol -- HTTP/1.1 http://www.ietf.org/rfc/rfc2616.txt) * HTTP Extensions for Distributed Authoring -- WEBDAV http://www.ietf.org/rfc/rfc2518.txt * Versioning Extensions to WebDAV http://www.ietf.org/rfc/rfc3253.txt * Ordered Collections Protocol (WebDAV) http://www.ietf.org/rfc/rfc3648.txt * Web Distributed Authoring and Versioning (WebDAV) Access Control Protocol http://www.ietf.org/rfc/rfc3744.txt * Web Distributed Authoring and Versioning (WebDAV) SEARCH http://www.ietf.org/rfc/rfc5323.txt * PATCH Method for HTTP http://www.ietf.org/rfc/rfc5789.txt [#2809 state:resolved] [#5895 state:resolved] | |||||
* | make sure request parameters are accessible after rack throws an exception ↵ | Miles Egan | 2010-10-12 | 1 | -2/+2 | |
| | | | | | | parsing the query string [#3030 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Solve some warnings and a failing test. | José Valim | 2010-10-03 | 1 | -1/+1 | |
| | ||||||
* | dry up method checking in the request object | Aaron Patterson | 2010-09-29 | 1 | -10/+9 | |
| | ||||||
* | removes /i from the TRUSTED_PROXIES regexp, adds /x and comments for ↵ | Xavier Noria | 2010-09-12 | 1 | -2/+10 | |
| | | | | readability, adds a pointer to a Wikipedia section that documents the matched IPs | |||||
* | gets rid of a double negation, no need to force exactly true/false in a ↵ | Xavier Noria | 2010-09-12 | 1 | -4/+4 | |
| | | | | predicate | |||||
* | Revert "Setup explicit requires for files with exceptions. Removed them from ↵ | José Valim | 2010-09-02 | 1 | -1/+0 | |
| | | | | | | | | autoloading." Booting a new Rails application does not work after this commit [#5359 state:open] This reverts commit 38a421b34d0b414564e919f67d339fac067a56e6. | |||||
* | Setup explicit requires for files with exceptions. Removed them from ↵ | Łukasz Strzałkowski | 2010-09-02 | 1 | -0/+1 | |
| | | | | | | autoloading. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Moves local_request? to require.local? | Santiago Pastorino | 2010-08-13 | 1 | -0/+7 | |
| | | | | [#5361 state:committed] | |||||
* | Just reading flash messages should not create a session if one does not ↵ | José Valim | 2010-06-25 | 1 | -0/+3 | |
| | | | | exist yet. | |||||
* | Sessions should not be created until written to and session data should be ↵ | Michael Lovitt | 2010-06-23 | 1 | -1/+1 | |
| | | | | | | | | destroyed on reset. [#4938] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | remove executable permission from files that don't need it. [#4802 ↵ | rohit | 2010-06-20 | 1 | -0/+0 | |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Improve performance of commonly used request methods | wycats | 2010-06-04 | 1 | -7/+19 | |
| | ||||||
* | * Change the object used in routing constraints to be an instance of | wycats | 2010-04-03 | 1 | -21/+39 | |
| | | | | | | | | | | | ActionDispatch::Request rather than Rack::Request. * Changed ActionDispatch::Request#method to return a String, to be compatible with the Rack::Request superclass. * Changed ActionDispatch::Request#method to return the original method in the case of methodoverride and #request_method not to, to be compatible with Rack::Request | |||||
* | Request#content_type exists in Rack::Request, and other parts of ↵ | wycats | 2010-03-28 | 1 | -3/+3 | |
| | | | | | | 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. | |||||
* | Add memoizing to AD::Request | Carlhuda | 2010-03-08 | 1 | -0/+8 | |
| | ||||||
* | Move remote_ip to a middleware: | Carlhuda | 2010-03-03 | 1 | -30/+1 | |
| | | | | | * ActionController::Base.ip_spoofing_check deprecated => config.action_dispatch.ip_spoofing_check * ActionController::Base.trusted_proxies deprecated => config.action_dispatch.trusted_proxies | |||||
* | Tidy up new filter_parameters implementation. | José Valim | 2010-01-21 | 1 | -1/+1 | |
| | ||||||
* | Move filter_parameter_logging logic out of the controller and create ↵ | Prem Sichanugrist | 2010-01-21 | 1 | -0/+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> | |||||
* | Split ActionDispatch http in smaller chunks. | José Valim | 2010-01-16 | 1 | -352/+27 | |
| | ||||||
* | Move Flash into middleware | Joshua Peek | 2010-01-15 | 1 | -4/+0 | |
| | ||||||
* | Make HEAD method masquerade as GET so requests are routed correctly | Joshua Peek | 2010-01-15 | 1 | -5/+7 | |
| | ||||||
* | Referer and user agent are in Rack::Request | Joshua Peek | 2009-12-22 | 1 | -1/+1 | |
| | ||||||
* | Added ActionDispatch::Request#authorization to access the http ↵ | David Heinemeier Hansson | 2009-12-20 | 1 | -0/+9 | |
| | | | | authentication header regardless of its proxy hiding [DHH] | |||||
* | Allow autoloads to opt out of eager loading | Joshua Peek | 2009-12-12 | 1 | -1/+2 | |
| | ||||||
* | Ruby 1.9.2: StringIO no longer has #path | Jeremy Kemper | 2009-11-13 | 1 | -1/+1 | |
| | ||||||
* | Object#tap is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -1/+0 | |
| | ||||||
* | Unknown :format param should result in empty request.formats | Jeremy Kemper | 2009-11-08 | 1 | -1/+1 | |
| | ||||||
* | Break up inflector to reduce the dependency burden on dependency-les methods ↵ | Yehuda Katz | 2009-11-07 | 1 | -0/+1 | |
| | | | | like constantize. | |||||
* | Caching refactoring | Yehuda Katz | 2009-10-29 | 1 | -5/+1 | |
| | ||||||
* | Reorganize CSRF a bit | Yehuda Katz | 2009-10-28 | 1 | -0/+4 | |
| | ||||||
* | Fixes expires_now and cleans things up a bit | Yehuda Katz | 2009-10-26 | 1 | -12/+9 | |
| | ||||||
* | Got tests to pass with some more changes. | Yehuda Katz | 2009-08-15 | 1 | -24/+12 | |
| | | | | | | | | | | | | | | | | * request.formats is much simpler now * For XHRs or Accept headers with a single item, we use the Accept header * For other requests, we use params[:format] or fallback to HTML * This is primarily to work around the fact that browsers provide completely broken Accept headers, so we have to whitelist the few cases we can specifically isolate and treat other requests as coming from the browser * For APIs, we can support single-item Accept headers, which disambiguates from the browsers * Requests to an action that only has an XML template from the browser will no longer find the template. This worked previously because most browsers provide a catch-all */*, but this was mostly accidental behavior. If you want to serve XML, either use the :xml format in links, or explicitly specify the XML template: render "template.xml". | |||||
* | More perf work: | Yehuda Katz | 2009-08-11 | 1 | -27/+10 | |
| | | | | | | | | | | | | | | * Move #set_cookie and #delete_cookie inline to optimize. These optimizations should almost certainly be sent back upstream to Rack. The optimization involves using an ivar for cookies instead of indexing into the headers each time. * Was able to use a bare Hash for headers now that cookies have their own joining semantics (some code assumed that the raw cookies were an Array). * Cache blankness of body on body= * Improve expand_cache_key for Arrays of a single element (common in our case) * Use a simple layout condition check unless conditions are used * Cache visible actions * Lazily load the UrlRewriter * Make etag an ivar that is set on prepare! | |||||
* | This change causes some failing tests, but it should be possible to make ↵ | Yehuda Katz | 2009-08-11 | 1 | -11/+12 | |
| | | | | them pass with minimal performance impact. | |||||
* | Allow to configure trusted proxies via ↵ | Felipe Talavera | 2009-08-09 | 1 | -2/+2 | |
| | | | | | | ActionController::Base.trusted_proxies [#2126 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Refactor even more Responder. Move mime negotiation to request and added ↵ | José Valim | 2009-07-29 | 1 | -8/+34 | |
| | | | | | | respond_to class method. Signed-off-by: Yehuda Katz <wycats@gmail.com> | |||||
* | Fixing pending tests and fixed some formats / partial rendering semantics | Yehuda Katz + Carl Lerche | 2009-06-17 | 1 | -6/+4 | |
| | ||||||
* | Speed up Request#formats | Jeremy Kemper | 2009-05-23 | 1 | -6/+14 | |
| | ||||||
* | Slightly modify things to get content type matching working without breaking ↵ | Yehuda Katz | 2009-05-23 | 1 | -2/+8 | |
| | | | | other code | |||||
* | Remove some response content type concepts from ActionView | Yehuda Katz + Carl Lerche | 2009-05-21 | 1 | -1/+1 | |
| | ||||||
* | Cherry-pick core extensions | Jeremy Kemper | 2009-05-13 | 1 | -0/+1 | |
| | ||||||
* | Move TestRequest#query_parameters into AD TestRequest | Joshua Peek | 2009-04-30 | 1 | -1/+1 | |
| | ||||||
* | Start moving TestRequest and TestResponse into ActionDispatch | Joshua Peek | 2009-04-30 | 1 | -16/+20 | |
| | ||||||
* | Switch to action_dispatch rack namespace | Joshua Peek | 2009-04-30 | 1 | -2/+2 | |
| | ||||||
* | Delegate controller.session to request.session and deprecate response session | Joshua Peek | 2009-04-27 | 1 | -8/+0 | |
| | ||||||
* | Not sure why Request#session is missing | Jeremy Kemper | 2009-04-26 | 1 | -0/+8 | |
| | ||||||
* | Inherit TestSession from Session::AbstractStore and add indifferent access ↵ | Joshua Peek | 2009-04-26 | 1 | -11/+3 | |
| | | | | to Session::AbstractStore. | |||||
* | Remove vendored version of Rack | Joshua Peek | 2009-04-25 | 1 | -1/+5 | |
| | ||||||
* | Remove pending rack specifications until they are official | Joshua Peek | 2009-04-25 | 1 | -2/+2 | |
| |