aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* Add multipart request parsing test with bracketed parameter key. References ↵Jeremy Kemper2007-05-242-0/+9
| | | | | | #8449. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6831 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added option to suppress :size when using :maxlength for ↵David Heinemeier Hansson2007-05-243-1/+9
| | | | | | FormTagHelper#text_field #3112 [rails@tpope.info] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6830 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't alias local varJeremy Kemper2007-05-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6829 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* catch possible WSOD when trying to render a missing partial. Closes #8454 ↵Rick Olson2007-05-243-0/+16
| | | | | | [Catfish] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6826 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Set RAW_POST_DATA when request parameters are parsed.Jeremy Kemper2007-05-233-45/+44
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Extend the view instance directly instead of mucking with anonymous subclasses.Jeremy Kemper2007-05-231-10/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6821 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't play with fire (anonymous class and returning block).Jeremy Kemper2007-05-231-5/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6820 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Revert [6811]. Should be fixed instead of selectively reintroducing the ↵Jeremy Kemper2007-05-231-1/+0
| | | | | | deprecated environment variable. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6816 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rewind request body after reading it, if possible. Closes #8438.Jeremy Kemper2007-05-233-1/+22
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6815 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Set RAW_POST_DATA in integration tests as expectedTobias Lütke2007-05-221-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6811 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rescuing in around_filters works as expected again [codahale, Stephan Kaes]. ↵Tobias Lütke2007-05-222-0/+40
| | | | | | Closes #8341 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6810 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Strip junk whitespace from [6806].Jeremy Kemper2007-05-222-71/+71
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Resource namespaces are inherited by their has_many subresources. Closes #8280.Jeremy Kemper2007-05-223-5/+40
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6806 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix filtered parameter logging with nil parameter values. Closes #8422.Jeremy Kemper2007-05-213-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6802 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Integration tests: alias xhr to xml_http_request and add a request_method ↵Jeremy Kemper2007-05-213-24/+86
| | | | | | argument instead of always using POST. Closes #7124. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6796 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document caches_action. Closes #5419.Jeremy Kemper2007-05-192-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6787 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix incorrent content type lookup in request parsing. Closes #8407.Jeremy Kemper2007-05-192-28/+52
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6786 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to Prototype 1.5.1Sam Stephenson2007-05-192-342/+1100
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6785 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow routes to be declared off namespacesTobias Lütke2007-05-195-25/+85
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6783 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update edge to script.aculo.us to 1.7.1_beta3Thomas Fuchs2007-05-194-93/+165
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* observe_form always sends the serialized form. Closes #5271.Jeremy Kemper2007-05-183-19/+37
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6775 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include location header in args.Jeremy Kemper2007-05-181-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6774 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove dev exception.Jeremy Kemper2007-05-181-2/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6765 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Parse url-encoded and multipart requests ourselves instead of delegating to CGI.Jeremy Kemper2007-05-1814-818/+784
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6764 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* select :include_blank option can be set to a string instead of true, which ↵Jeremy Kemper2007-05-183-6/+83
| | | | | | just uses an empty string. Closes #7664. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6763 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix render :location => ... test.Jeremy Kemper2007-05-181-4/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6762 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pass stdinput to super.Jeremy Kemper2007-05-181-4/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6759 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Oops.Jeremy Kemper2007-05-181-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6758 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clean up the simply_helpful merge.Jeremy Kemper2007-05-188-32/+46
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6751 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added url_for usage on render :location, which allows for record ↵David Heinemeier Hansson2007-05-173-2/+26
| | | | | | identification [DHH] (still need to figure out why that test doesnt pass, seems like a test issue) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6750 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow nested namespaces in routingTobias Lütke2007-05-172-1/+23
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6748 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add multipart and url-encoded form mime types.Jeremy Kemper2007-05-152-2/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6744 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Simplify CgiRequest#query_parametersJeremy Kemper2007-05-152-7/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6743 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move request parameter parsing from CGI to AbstractRequest.Jeremy Kemper2007-05-155-49/+55
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6742 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Lazy-read request.raw_post from request.bodyJeremy Kemper2007-05-151-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6741 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce the request.body stream. Lazy-read to parse parameters rather than ↵Jeremy Kemper2007-05-1512-79/+142
| | | | | | always setting RAW_POST_DATA. Reduces the memory footprint of large binary PUT requests. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add some performance enhancements to ActionView.Rick Olson2007-05-155-48/+77
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6736 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add test case for js.erb partials on *.js formatted requestsRick Olson2007-05-152-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6735 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Assume that rendered partials go by the HTML format by defaultRick Olson2007-05-156-13/+34
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6734 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Shine some sunlight on the CGI extensions. Remove unused CGI#session.Jeremy Kemper2007-05-1512-334/+313
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6733 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Non-executable source files.Jeremy Kemper2007-05-142-0/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6732 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added record identifications to FormHelper#form_for and ↵David Heinemeier Hansson2007-05-1411-106/+319
| | | | | | PrototypeHelper#remote_form_for [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6731 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rationalize route path escaping according to RFC 2396 section 3.3. Closes ↵Jeremy Kemper2007-05-143-42/+53
| | | | | | #7544, #8307. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6730 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed deprecated parameters_for_method_reference concept (legacy from ↵David Heinemeier Hansson2007-05-1215-39/+241
| | | | | | before named routes) [DHH] Added record identification with polymorphic routes for ActionController::Base#url_for and ActionView::Base#url_for [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6729 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add broken testNicholas Seckar2007-05-121-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6724 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add ActionController::Routing::Helpers, a module to contain common URL ↵Nicholas Seckar2007-05-126-10/+31
| | | | | | helpers such as polymorphic_url. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6722 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* don't assume the http authorization header will be nil, since some ↵Jamis Buck2007-05-111-4/+4
| | | | | | configurations will pass it through as an empty string git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rendering is protectedDavid Heinemeier Hansson2007-05-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Included the HttpAuthentication plugin as part of core ↵David Heinemeier Hansson2007-05-084-0/+167
| | | | | | (ActionController::HttpAuthentication::Basic) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6699 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Modernize documentation for form helpers. Closes #8035. [jeremymcanally]Marcel Molina2007-05-062-81/+149
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6689 5ecf4fe2-1ee6-0310-87b1-e25e094e27de