Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | updated changelog | Aaron Patterson | 2012-07-29 | 1 | -0/+16 |
| | | |||||
* | | close the response when the response body is set so that normal render calls ↵ | Aaron Patterson | 2012-07-29 | 2 | -0/+14 |
| | | | | | | | | will work | ||||
* | | header hash is duped before being sent up the rack stack | Aaron Patterson | 2012-07-29 | 3 | -12/+33 |
| | | |||||
* | | freeze the header object | Aaron Patterson | 2012-07-29 | 2 | -0/+7 |
| | | |||||
* | | make sure set_response! sets the correct response object | Aaron Patterson | 2012-07-29 | 2 | -0/+15 |
| | | |||||
* | | 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 | 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 |