aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
...
* Document caches_action. Closes #5419.Jeremy Kemper2007-05-191-1/+3
| | | | 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-191-27/+35
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6786 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow routes to be declared off namespacesTobias Lütke2007-05-192-23/+34
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6783 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-187-318/+372
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6764 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-182-18/+15
| | | | 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-171-1/+1
| | | | | | 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-171-1/+5
| | | | 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-151-0/+3
| | | | 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-153-15/+18
| | | | 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-157-47/+92
| | | | | | 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-152-3/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6736 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Shine some sunlight on the CGI extensions. Remove unused CGI#session.Jeremy Kemper2007-05-159-295/+278
| | | | 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-143-3/+9
| | | | | | 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-141-11/+21
| | | | | | #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-123-10/+58
| | | | | | 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 ActionController::Routing::Helpers, a module to contain common URL ↵Nicholas Seckar2007-05-123-7/+16
| | | | | | 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-081-0/+121
| | | | | | (ActionController::HttpAuthentication::Basic) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6699 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add brief introduction to REST to the resources documentation. Closes #8100. ↵Marcel Molina2007-05-061-0/+38
| | | | | | [fearoffish] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More documentations for typos in routes. Closes #8228 [pam]Marcel Molina2007-05-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6673 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix documentation typo in routes. Closes #8250. [norbert]Marcel Molina2007-05-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Sweep flash when filter chain is halted. Closes #6175. [Caio Chassot ↵Marcel Molina2007-05-062-9/+1
| | | | | | <lists@v2studio.com>] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6670 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Bug fix for the filter implementationMichael Koziarski2007-05-061-3/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Replace the current block/continuation filter chain handling by an ↵Rick Olson2007-05-021-62/+147
| | | | | | implementation based on a simple loop. #8226 [Stefan Kaes] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6649 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update UrlWriter to accept :anchor parameter. Closes #6771.Nicholas Seckar2007-05-021-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6648 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the first part of Simply Helpful to core. The rest is pending a clean ↵David Heinemeier Hansson2007-04-301-0/+91
| | | | | | integartion of polymorphic urls [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6633 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed breakpointer and Binding.of_caller in favor of relying on ruby-debug ↵David Heinemeier Hansson2007-04-282-44/+0
| | | | | | by Kent Sibilev since the breakpointer has been broken since Ruby 1.8.4 and will not be coming back [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added map.namespace to deal with the common situation of admin sections and ↵David Heinemeier Hansson2007-04-271-1/+17
| | | | | | the like [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6594 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Name prefix should nest like path prefixDavid Heinemeier Hansson2007-04-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6592 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Actually make the name_prefix work like the previous checkin said it wouldDavid Heinemeier Hansson2007-04-271-4/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6590 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :has_many and :has_one for declaring plural and singular resources ↵David Heinemeier Hansson2007-04-261-5/+19
| | | | | | beneath the current [DHH] Added :name_prefix as standard for nested resources [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6588 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that render :xml will try to call to_xml if it can [DHH]David Heinemeier Hansson2007-04-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6574 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :location option to render so that the common pattern of rendering a ↵David Heinemeier Hansson2007-04-241-8/+7
| | | | | | response after creating a new resource is now a 1-liner [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6572 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Stringify rendered text unless it's a Proc object for streaming.Jeremy Kemper2007-04-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6560 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure that render_text only adds string content to the body of the response ↵David Heinemeier Hansson2007-04-211-2/+2
| | | | | | [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6547 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that parameters from XML should also be presented in a hash with ↵David Heinemeier Hansson2007-04-161-1/+1
| | | | | | indifferent access [DHH] Hash#with_indifferent_access now also converts hashes kept in arrays to indifferent access (makes it easier to treat HTML and XML parameters the same) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6532 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The default respond_to blocks don't set a specific extension anymore, so ↵Rick Olson2007-04-123-8/+19
| | | | | | that both 'show.rjs' and 'show.js.rjs' will work. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6517 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow layouts with extension of .html.erb. Closes #8032 [Josh Knowles]Rick Olson2007-04-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6516 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed ill faded xml_node class from codebase. Use XmlSimple insteadTobias Lütke2007-04-092-102/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6511 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change default respond_to templates for xml and rjs formats. [Rick]Rick Olson2007-04-081-4/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change ActionView template defaults. Look for templates using the request ↵Rick Olson2007-04-021-1/+1
| | | | | | format first, such as show.html.erb or show.xml.builder, before looking for the old defaults like show.erb or show.builder [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6499 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dropped the use of ; as a separator of non-crud actions on resources and ↵David Heinemeier Hansson2007-03-281-11/+11
| | | | | | went back to the vanilla slash. It was a neat idea, but lots of the non-crud actions turned out not to be RPC (as the ; was primarily intended to discourage), but legitimate sub-resources, like /parties/recent, which didn't deserve the uglification of /parties;recent. Further more, the semicolon caused issues with caching and HTTP authentication in Safari. Just Not Worth It [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6485 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved the handling of broken accept headersTobias Lütke2007-03-281-4/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6484 5ecf4fe2-1ee6-0310-87b1-e25e094e27de