Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | 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 | 3 | -7/+105 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 3 | -0/+43 | |
| | | | ||||||
* | | | make sure appropriate headers are set and deleted | Aaron Patterson | 2012-07-29 | 1 | -0/+11 | |
| | | | ||||||
* | | | added live responses which can be written and read in separate threads | Aaron Patterson | 2012-07-29 | 4 | -0/+103 | |
| | | | ||||||
* | | | 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 | 3 | -12/+16 | |
|/ / | | | | | | | object | |||||
* | | remove dead test | Aaron Patterson | 2012-07-29 | 1 | -4/+0 | |
| | | ||||||
* | | adding a buffered stream to the response object | Aaron Patterson | 2012-07-29 | 4 | -3/+93 | |
| | | ||||||
* | | initialize ivars, refactor recycle! to call initialize | Aaron Patterson | 2012-07-29 | 2 | -9/+3 | |
| | | ||||||
* | | Remove warning renaming the test classes to use the test convention | Rafael Mendonça França | 2012-07-29 | 2 | -2/+2 | |
| | | ||||||
* | | Remove deprecation warning, since scoped waas deprecated | Rafael Mendonça França | 2012-07-29 | 1 | -1/+1 | |
| | | ||||||
* | | issue a warning when we cannot construct a controller | Aaron Patterson | 2012-07-28 | 1 | -2/+10 | |
| | | ||||||
* | | this test is not a controller test, so switch to AS::TC | Aaron Patterson | 2012-07-28 | 1 | -1/+1 | |
| | | ||||||
* | | fix failure test 'test_can_wait_until_commit(ResponseTest)' in actionpack | Vladimir Strakhov | 2012-07-28 | 1 | -2/+2 | |
| | | ||||||
* | | 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 | 3 | -1/+34 | |
| | | ||||||
* | | * 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 | 2 | -13/+13 | |
| | | ||||||
* | | Add CHANGELOG entry | Santiago Pastorino | 2012-07-23 | 1 | -0/+2 | |
| | | ||||||
* | | Remove ActionDispatch::Head middleware in favor of Rack::Head | Santiago Pastorino | 2012-07-23 | 4 | -29/+3 | |
| | | | | | | | | Closes #7110 there's more work to do on rack-cache issue 69 | |||||
* | | Fix build. Bump Journey requirements to 2.0.0. | kennyj | 2012-07-24 | 1 | -1/+1 | |
| | | ||||||
* | | Bump Journey requirements to 1.0.4 | Andrew White | 2012-07-23 | 1 | -1/+1 | |
| | | | | | | | | | | There are some Action Pack tests for regressions from 3.1 that require a later version of Journey to pass so bump to the current version. | |||||
* | | Add one more test case to make sure that data attributes are being | Rafael Mendonça França | 2012-07-22 | 1 | -0/+7 | |
| | | | | | | | | escaped | |||||
* | | Merge pull request #7123 from nashby/data-in-options | Rafael Mendonça França | 2012-07-22 | 2 | -8/+15 | |
|\ \ | | | | | | | don't escape options in option_html_attributes method | |||||
| * | | don't escape options in option_html_attributes method | Vasiliy Ermolovich | 2012-07-22 | 2 | -8/+15 | |
| |/ | | | | | | | | | | | | | | | 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 | |||||
* | | Remove deprecation warnings | Carlos Galdino + Rafael Mendonça França | 2012-07-21 | 2 | -2/+2 | |
| | | ||||||
* | | Add back `:disable_with` and change deprecation horizon to 4.1 | Carlos Galdino + Rafael Mendonça França | 2012-07-21 | 5 | -5/+74 | |
| | | ||||||
* | | Add back `:confirm` and change deprecation horizon to 4.1 | Carlos Galdino + Rafael Mendonça França | 2012-07-21 | 5 | -2/+144 | |
|/ | ||||||
* | 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 | 2 | -2/+18 | |
|\ \ | | | | | | | 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 | 2 | -2/+18 | |
| |/ | ||||||
* | | Don't assume resource param is :id when using shallow routes | Andrew White | 2012-07-20 | 2 | -1/+15 | |
| | | | | | | | | | | 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 | 2 | -9/+24 | |
|/ | | | | | | | 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 | 5 | -55/+41 | |
| | | | | | | | | | 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 | 2 | -1/+20 | |
| | ||||||
* | Common behavior with adding formats to lookup_context for TemplateRenderer ↵ | Dmitry Vorotilin | 2012-07-18 | 12 | -4/+33 | |
| | | | | and PartialRenderer | |||||
* | Add support for optional root segments containing slashes | Andrew White | 2012-07-17 | 2 | -1/+28 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |
| | | ||||||
* | | Fix indentation. | Piotr Sarnacki | 2012-07-11 | 1 | -4/+4 | |
| | | ||||||
* | | Don't raise an error if http auth token isn't well formatted | Piotr Sarnacki | 2012-07-11 | 2 | -4/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 2 | -0/+13 | |
| | |