Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | update coding conventions in metal/live | Francesco Rodriguez | 2012-07-30 | 1 | -8/+8 | |
| | | | | ||||||
* | | | | fix nodoc in metal/live | Francesco Rodriguez | 2012-07-30 | 1 | -4/+4 | |
|/ / / | ||||||
* | | | fix typo in metal/live [ci skip] | Francesco Rodriguez | 2012-07-30 | 1 | -6/+6 | |
| | | | ||||||
* | | | Merge pull request #7198 from cfcosta/refactor-cache_control_headers | Rafael Mendonça França | 2012-07-29 | 1 | -11/+19 | |
|\ \ \ | | | | | | | | | Refactor ActionDispatch::Http::Cache::Response#cache_control_headers | |||||
| * | | | Refactor ActionDispatch::Http::Cache::Response#cache_control_headers. | Cainã Costa | 2012-07-30 | 1 | -11/+19 | |
| | | | | ||||||
* | | | | close the response when the response body is set so that normal render calls ↵ | Aaron Patterson | 2012-07-29 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | | | will work | |||||
* | | | | header hash is duped before being sent up the rack stack | Aaron Patterson | 2012-07-29 | 2 | -12/+20 | |
| | | | | ||||||
* | | | | freeze the header object | Aaron Patterson | 2012-07-29 | 1 | -0/+5 | |
| | | | | ||||||
* | | | | make sure set_response! sets the correct response object | Aaron Patterson | 2012-07-29 | 1 | -0/+9 | |
| | | | | ||||||
* | | | | adding a more docs on closing response streams | Aaron Patterson | 2012-07-29 | 1 | -1/+4 | |
| | | | | ||||||
* | | | | pushing Buffer up to Live | Aaron Patterson | 2012-07-29 | 1 | -22/+22 | |
| | | | | ||||||
* | | | | adding some docs | Aaron Patterson | 2012-07-29 | 1 | -1/+26 | |
| | | | | ||||||
* | | | | Controller actions are processed in a separate thread for live | Aaron Patterson | 2012-07-29 | 2 | -4/+36 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | responses. Processing controller actions in a separate thread allows us to work around the rack api - we can allow the user to set status and headers, then block until the first bytes are written. As soon as the first bytes are written, the main thread can return the status, headers, and (essentially) a queue for the body. | |||||
* | | | | raise exceptions on header set after response committed | Aaron Patterson | 2012-07-29 | 2 | -0/+24 | |
| | | | | ||||||
* | | | | added live responses which can be written and read in separate threads | Aaron Patterson | 2012-07-29 | 2 | -0/+43 | |
| | | | | ||||||
* | | | | ActionController::DataStreaming::FileBody doesn't respond to #close. | Rafael Mendonça França | 2012-07-29 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | flushing output should write to the stream rather than mutating the response ↵ | Aaron Patterson | 2012-07-29 | 2 | -9/+13 | |
|/ / / | | | | | | | | | | object | |||||
* | | | adding a buffered stream to the response object | Aaron Patterson | 2012-07-29 | 2 | -3/+43 | |
| | | | ||||||
* | | | initialize ivars, refactor recycle! to call initialize | Aaron Patterson | 2012-07-29 | 2 | -9/+3 | |
| | | | ||||||
* | | | issue a warning when we cannot construct a controller | Aaron Patterson | 2012-07-28 | 1 | -2/+10 | |
| | | | ||||||
* | | | adds a missing require from Active Support | Xavier Noria | 2012-07-28 | 1 | -0/+1 | |
| | | | | | | | | | | | | This file uses mattr_accessor. | |||||
* | | | threads can wait on responses to be committed | Aaron Patterson | 2012-07-27 | 2 | -1/+25 | |
| | | | ||||||
* | | | * Do not convert digest auth strings to symbols. CVE-2012-3424 | Aaron Patterson | 2012-07-26 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/http_authentication.rb | |||||
* | | | fix typo in documentation | Anatoly Makarevich | 2012-07-26 | 1 | -1/+1 | |
| | | | ||||||
* | | | Replace the flush parameter with a Hash. | Lucas Mazza | 2012-07-24 | 1 | -4/+4 | |
| | | | ||||||
* | | | Remove ActionDispatch::Head middleware in favor of Rack::Head | Santiago Pastorino | 2012-07-23 | 2 | -20/+2 | |
| | | | | | | | | | | | | Closes #7110 there's more work to do on rack-cache issue 69 | |||||
* | | | Merge pull request #7123 from nashby/data-in-options | Rafael Mendonça França | 2012-07-22 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | don't escape options in option_html_attributes method | |||||
| * | | | don't escape options in option_html_attributes method | Vasiliy Ermolovich | 2012-07-22 | 1 | -1/+1 | |
| |/ / | | | | | | | | | | | | | | | | | | | | | | we don't need to escape values in this method as we pass these html attributes to `tag_options` method that handle escaping as well. it fixes the case when we want to pass html5 data options | |||||
* | | | Add back `:disable_with` and change deprecation horizon to 4.1 | Carlos Galdino + Rafael Mendonça França | 2012-07-21 | 2 | -2/+39 | |
| | | | ||||||
* | | | Add back `:confirm` and change deprecation horizon to 4.1 | Carlos Galdino + Rafael Mendonça França | 2012-07-21 | 2 | -0/+56 | |
|/ / | ||||||
* | | copy-edits 9674d2c | Xavier Noria | 2012-07-21 | 1 | -2/+2 | |
| | | ||||||
* | | Merge pull request #7100 from shigeya/fix_mime_responds_to_doc | Xavier Noria | 2012-07-20 | 1 | -1/+2 | |
|\ \ | | | | | | | Clarification to doc of ActionController::MimeResponse.respond_to | |||||
| * | | Clarification to doc of ActionController::MimeResponse.respond_to | Shigeya Suzuki | 2012-07-19 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | - #respond_to's documentation refer to .respond_to, but it was written as just <respond_to>. Added class name for clarification. | |||||
* | | | Merge pull request #7099 from f1sherman/sweeper-clean-up-if-exception-raised | Rafael Mendonça França | 2012-07-20 | 1 | -2/+7 | |
|\ \ \ | | | | | | | | | Clean up Sweeper controller accessor when an Error is raised | |||||
| * | | | Clean up Sweeper controller accessor when an Error is raised | Brian John | 2012-07-20 | 1 | -2/+7 | |
| |/ / | ||||||
* | | | Don't assume resource param is :id when using shallow routes | Andrew White | 2012-07-20 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | | Since #5581 added support for resources with custom params we should not assume that it is :id when using shallow resource routing. | |||||
* | | | Support constraints on resource custom params when nesting | Andrew White | 2012-07-20 | 1 | -8/+12 | |
|/ / | | | | | | | | | | | | | The Mapper looks for a :id constraint in the scope to see whether it should apply a constraint for nested resources. Since #5581 added support for resource params other than :id, we need to check for a constraint on the parent resource's param name and not assume it's :id. | |||||
* | | Remove `:confirm` in favor of `:data => { :confirm => 'Text' }` option | Carlos Galdino | 2012-07-18 | 2 | -46/+21 | |
| | | | | | | | | | | | | | | | | | | This applies to the following helpers: `button_to` `button_tag` `image_submit_tag` `link_to` `submit_tag` | |||||
* | | add lazy look up in abstract controller's translate method | Sergey Pchelincev | 2012-07-18 | 1 | -1/+7 | |
| | | ||||||
* | | Common behavior with adding formats to lookup_context for TemplateRenderer ↵ | Dmitry Vorotilin | 2012-07-18 | 4 | -4/+16 | |
| | | | | | | | | and PartialRenderer | |||||
* | | Add support for optional root segments containing slashes | Andrew White | 2012-07-17 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Optional segments with a root scope need to have the leading slash outside of the parentheses, otherwise the generated url will be empty. However if the route has non-optional elements then the leading slash needs to remain inside the parentheses otherwise the generated url will have two leading slashes, e.g: Blog::Application.routes.draw do get '/(:category)', :to => 'posts#index', :as => :root get '/(:category)/author/:name', :to => 'posts#author', :as => :author end $ rake routes root GET /(:category)(.:format) posts#index author GET (/:category)/author/:name(.:format) posts#author This change adds support for optional segments that contain a slash, allowing support for urls like /page/2 for the root path, e.g: Blog::Application.routes.draw do get '/(page/:page)', :to => 'posts#index', :as => :root end $ rake routes root GET /(page/:page)(.:format) posts#index Fixes #7073 | |||||
* | | Fix class_eval without __FILE__ and __LINE__. | kennyj | 2012-07-18 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-07-15 | 1 | -7/+4 | |
|\ \ | ||||||
| * | | Updated with_routing example to 3.x syntax [ci skip] | Wojciech Wnętrzak | 2012-07-13 | 1 | -7/+4 | |
| | | | ||||||
* | | | add second t to overwritten | Evan Travers | 2012-07-12 | 1 | -2/+2 | |
| | | | | | | | | | | | | fixing a misspelling in the documentation | |||||
* | | | Fix code comment to reflect its intent. | Selem Delul | 2012-07-11 | 1 | -1/+1 | |
| | | | ||||||
* | | | Don't raise an error if http auth token isn't well formatted | Piotr Sarnacki | 2012-07-11 | 1 | -4/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When someone sends malformed authorization header, like: Authorization: Token foobar given token should be just ignored and resource should not be authorized, instead of raising error. Before this patch controller would return 401 header only for well formed tokens, like: Authorization: Token token=foobar and would return 500 in former case. | |||||
* | | | Raise a helpful error message on #mount misuse | Carl Lerche | 2012-07-10 | 1 | -0/+4 | |
| | | | ||||||
* | | | Fixed bug creating invalid HTML in select options | Rusty Geldmacher | 2012-07-10 | 2 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | When a select tag is created for a field with errors, then the inserted options will errantly have a <div class="field_with_errors"> wrapping them. | |||||
* | | | deprecate `describe` without a block. | Aaron Patterson | 2012-07-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | minitest/spec provides `describe`, so deprecate the rails version and have people use the superclass version |