Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Force all internal calls to Array#to_sentence to use English [#2010 ↵ | David Heinemeier Hansson | 2009-02-27 | 1 | -1/+1 |
| | | | | state:resolved] | ||||
* | Temporarily bundle Rack 1.0 prerelease for testing | Joshua Peek | 2009-02-07 | 1 | -4/+27 |
| | |||||
* | Dont use Memoizable for ActionController::Request | Pratik Naik | 2009-01-27 | 1 | -27/+15 |
| | |||||
* | Merge docrails | Pratik Naik | 2009-01-18 | 1 | -5/+7 |
| | |||||
* | Build query string and POST params parser on top of Rack::Request. Also ↵ | Joshua Peek | 2009-01-17 | 1 | -10/+24 |
| | | | | switch our multipart parser to use Racks. Moved XML, JSON, and YAML parsers into ActionController::ParamsParser middleware [#1661 state:resolved] | ||||
* | Ensure we override Rack::Request's POST method too | Joshua Peek | 2009-01-09 | 1 | -1/+4 |
| | |||||
* | Refactor request query string parsing tests | Joshua Peek | 2009-01-09 | 1 | -1/+3 |
| | |||||
* | Inherit ActionController::Request from Rack::Request | Joshua Peek | 2009-01-09 | 1 | -28/+6 |
| | |||||
* | Memoize request accessors on the Rack env so other request objects have ↵ | Joshua Peek | 2009-01-04 | 1 | -12/+8 |
| | | | | access to the same cache [#1668 state:resolved] | ||||
* | Use rack namespace for routing args | Joshua Peek | 2008-12-28 | 1 | -2/+2 |
| | |||||
* | Make router and controller classes better rack citizens | Joshua Peek | 2008-12-28 | 1 | -2/+2 |
| | |||||
* | Request#env['SERVER_NAME'] does not contain port number | Pratik Naik | 2008-12-28 | 1 | -1/+1 |
| | |||||
* | Move request parsing related code to ActionController::RequestParser | Pratik Naik | 2008-12-25 | 1 | -416/+7 |
| | |||||
* | ActionController::VerbPiggybacking middleware | Joshua Peek | 2008-12-23 | 1 | -11/+9 |
| | |||||
* | Remove duplicate attr_reader :env | Pratik Naik | 2008-12-23 | 1 | -4/+2 |
| | |||||
* | Unify ActionController::AbstractRequest and ActionController::Request | Pratik Naik | 2008-12-23 | 1 | -76/+47 |
| | |||||
* | Use Rack::MockRequest for TestRequest | Pratik Naik | 2008-12-23 | 1 | -12/+1 |
| | |||||
* | Rename RackRequest to Request | Pratik Naik | 2008-12-23 | 1 | -1/+1 |
| | |||||
* | Remove rack_process.rb | Pratik Naik | 2008-12-23 | 1 | -0/+72 |
| | |||||
* | Remove deprecated relative_url_root | Pratik Naik | 2008-12-23 | 1 | -7/+0 |
| | |||||
* | Making the IP Spoofing check in AbstractRequest#remote_ip configurable. | Darren Boyd | 2008-12-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Certain groups of web proxies do not set these values properly. Notably, proxies for cell phones, which often do not set the remote IP information correctly (not surprisingly, since the clients do not have an IP address). Allowing this to be configurable makes it possible for developers to choose to ignore this simple spoofing check, when a significant amount of their traffic would result in false positives anyway. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1200 state:committed] | ||||
* | Simplify Request#path | Jeremy Kemper | 2008-11-30 | 1 | -5/+3 |
| | |||||
* | Simplify REMOTE_ADDR parsing | Jeremy Kemper | 2008-11-30 | 1 | -1/+1 |
| | |||||
* | Fix stupid typo | Michael Koziarski | 2008-11-06 | 1 | -1/+1 |
| | |||||
* | Backwards compatibility fixes for relative_url_root | Michael Koziarski | 2008-11-02 | 1 | -1/+2 |
| | | | | | * Make the old deprecated relative_url_root still set the value as it's still used by mongrel * Set the default from the ENV value when the file is required, not at runtime. | ||||
* | Added stale?/fresh? and fresh_when methods to provide a layer of abstraction ↵ | David Heinemeier Hansson | 2008-10-21 | 1 | -2/+12 |
| | | | | above request.fresh? and friends [DHH] | ||||
* | Remove unneeded interning. | Michael Koziarski | 2008-09-30 | 1 | -3/+2 |
| | |||||
* | Merge docrails | Pratik Naik | 2008-09-03 | 1 | -32/+37 |
| | |||||
* | Request#remote_ip handles the uncommon case that REMOTE_ADDR is a ↵ | Michael S. Klishin | 2008-08-27 | 1 | -3/+5 |
| | | | | | | | | comma-separated list. [#523 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Make AbstractRequest.if_modified_sense return nil if the header could not be ↵ | Jamis Buck | 2008-08-19 | 1 | -1/+1 |
| | | | | parsed | ||||
* | Update tests for request memoization | Jeremy Kemper | 2008-08-08 | 1 | -12/+13 |
| | |||||
* | Simplifying usage of ETags and Last-Modified and conditional GET requests | Jeremy Kemper | 2008-08-07 | 1 | -36/+108 |
| | |||||
* | Fix file permissions | Tarmo Tänav | 2008-07-31 | 1 | -0/+0 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | AbstractRequest.relative_url_root is no longer automatically configured by a ↵ | Joshua Peek | 2008-07-24 | 1 | -27/+14 |
| | | | | HTTP header. It can now be set in your configuration environment with config.action_controller.relative_url_root | ||||
* | Merge with docrails. | Pratik Naik | 2008-07-16 | 1 | -3/+3 |
| | |||||
* | Move accept header parsing shortcut to Mime::Type.parse | Jeremy Kemper | 2008-07-09 | 1 | -2/+0 |
| | |||||
* | Request#accepts special-cases a single mime type | Jeremy Kemper | 2008-07-09 | 1 | -4/+10 |
| | |||||
* | Disable the Accept header by default | Michael Koziarski | 2008-07-07 | 1 | -9/+25 |
| | | | | | | | | The accept header is poorly implemented by browsers and causes strange errors when used on public sites where crawlers make requests too. You should use formatted urls (e.g. /people/1.xml) to support API clients. Alternatively to re-enable it you need to set: config.action_controller.use_accept_header = true A special case remains for ajax requests which will have a javascript format for the base resource (/people/1) if the X-Requested-With header is present. This lets ajax pages still use format.js despite there being no params[:format] | ||||
* | Move template_format logic out to the request so it's alongside the ↵ | Michael Koziarski | 2008-07-03 | 1 | -0/+13 |
| | | | | | | 'regular' request format. Use xhr? instead of the expensive trip through Request#accepts. | ||||
* | Fixed Request#remote_ip to only raise hell if the HTTP_CLIENT_IP and ↵ | David Heinemeier Hansson | 2008-06-03 | 1 | -4/+5 |
| | | | | HTTP_X_FORWARDED_FOR doesnt match (not just if theyre both present) [Mark Imbriaco, Bradford Folkens] | ||||
* | Ruby 1.9 compat: ensure binary encoding for post body parsing | Jeremy Kemper | 2008-05-19 | 1 | -11/+17 |
| | |||||
* | Improve documentation coverage and markup | Xavier Noria | 2008-05-02 | 1 | -9/+9 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Automatically parse posted JSON content for Mime::JSON requests. [rick] | Rick Olson | 2008-04-08 | 1 | -4/+11 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9242 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Avoid remote_ip spoofing | Jeremy Kemper | 2008-03-28 | 1 | -13/+28 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9124 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixed that ActionController::Base#read_multipart would fail if boundary was ↵ | David Heinemeier Hansson | 2008-03-28 | 1 | -1/+0 |
| | | | | | | exactly 10240 bytes (closes #10886) [ariejan] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix more obscure nested parameter hash parsing bug. Closes #10797 [thomas.lee] | Rick Olson | 2008-03-13 | 1 | -1/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9020 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix nested parameter hash parsing bug. #10797 [thomas.lee] | Rick Olson | 2008-03-11 | 1 | -0/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9010 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Better error message for type conflicts when parsing params. Closes #7962 ↵ | Rick Olson | 2008-03-07 | 1 | -1/+1 |
| | | | | | | [spicycode, matt] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8986 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix bug with setting Request#format= after the getter has cached the value. ↵ | Rick Olson | 2008-02-07 | 1 | -1/+1 |
| | | | | | | Closes #10889 [cch1] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8811 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Provide a nicer way to access headers. request.headers["Content-Type"] ↵ | Michael Koziarski | 2008-01-11 | 1 | -1/+3 |
| | | | | | | instead of request.headers["HTTP_CONTENT_TYPE"] [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8625 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |