aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #7204 from frodsan/update_conventionsRafael Mendonça França2012-07-311-8/+8
|\ | | | | Follow code conventions in metal/live
| * update coding conventions in metal/liveFrancesco Rodriguez2012-07-301-8/+8
| |
* | html_escape should escape single quotesSantiago Pastorino2012-07-318-25/+25
| | | | | | | | | | https://www.owasp.org/index.php/XSS_%28Cross_Site_Scripting%29_Prevention_Cheat_Sheet#RULE_.231_-_HTML_Escape_Before_Inserting_Untrusted_Data_into_HTML_Element_Content Closes #7215
* | fix nodoc in metal/liveFrancesco Rodriguez2012-07-301-4/+4
|/
* fix typo in metal/live [ci skip]Francesco Rodriguez2012-07-301-6/+6
|
* Merge pull request #7198 from cfcosta/refactor-cache_control_headersRafael Mendonça França2012-07-291-11/+19
|\ | | | | Refactor ActionDispatch::Http::Cache::Response#cache_control_headers
| * Refactor ActionDispatch::Http::Cache::Response#cache_control_headers.Cainã Costa2012-07-301-11/+19
| |
* | updated changelogAaron Patterson2012-07-291-0/+16
| |
* | close the response when the response body is set so that normal render calls ↵Aaron Patterson2012-07-292-0/+14
| | | | | | | | will work
* | header hash is duped before being sent up the rack stackAaron Patterson2012-07-293-12/+33
| |
* | freeze the header objectAaron Patterson2012-07-292-0/+7
| |
* | make sure set_response! sets the correct response objectAaron Patterson2012-07-292-0/+15
| |
* | adding a more docs on closing response streamsAaron Patterson2012-07-291-1/+4
| |
* | pushing Buffer up to LiveAaron Patterson2012-07-291-22/+22
| |
* | adding some docsAaron Patterson2012-07-291-1/+26
| |
* | Controller actions are processed in a separate thread for liveAaron Patterson2012-07-293-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 committedAaron Patterson2012-07-293-0/+43
| |
* | make sure appropriate headers are set and deletedAaron Patterson2012-07-291-0/+11
| |
* | added live responses which can be written and read in separate threadsAaron Patterson2012-07-294-0/+103
| |
* | ActionController::DataStreaming::FileBody doesn't respond to #close.Rafael Mendonça França2012-07-291-1/+1
| |
* | flushing output should write to the stream rather than mutating the response ↵Aaron Patterson2012-07-293-12/+16
|/ | | | object
* remove dead testAaron Patterson2012-07-291-4/+0
|
* adding a buffered stream to the response objectAaron Patterson2012-07-294-3/+93
|
* initialize ivars, refactor recycle! to call initializeAaron Patterson2012-07-292-9/+3
|
* Remove warning renaming the test classes to use the test conventionRafael Mendonça França2012-07-292-2/+2
|
* Remove deprecation warning, since scoped waas deprecatedRafael Mendonça França2012-07-291-1/+1
|
* issue a warning when we cannot construct a controllerAaron Patterson2012-07-281-2/+10
|
* this test is not a controller test, so switch to AS::TCAaron Patterson2012-07-281-1/+1
|
* fix failure test 'test_can_wait_until_commit(ResponseTest)' in actionpackVladimir Strakhov2012-07-281-2/+2
|
* adds a missing require from Active SupportXavier Noria2012-07-281-0/+1
| | | | This file uses mattr_accessor.
* threads can wait on responses to be committedAaron Patterson2012-07-273-1/+34
|
* * Do not convert digest auth strings to symbols. CVE-2012-3424Aaron Patterson2012-07-261-2/+2
| | | | | Conflicts: actionpack/lib/action_controller/metal/http_authentication.rb
* fix typo in documentationAnatoly Makarevich2012-07-261-1/+1
|
* Replace the flush parameter with a Hash.Lucas Mazza2012-07-242-13/+13
|
* Add CHANGELOG entrySantiago Pastorino2012-07-231-0/+2
|
* Remove ActionDispatch::Head middleware in favor of Rack::HeadSantiago Pastorino2012-07-234-29/+3
| | | | Closes #7110 there's more work to do on rack-cache issue 69
* Fix build. Bump Journey requirements to 2.0.0.kennyj2012-07-241-1/+1
|
* Bump Journey requirements to 1.0.4Andrew White2012-07-231-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 beingRafael Mendonça França2012-07-221-0/+7
| | | | escaped
* Merge pull request #7123 from nashby/data-in-optionsRafael Mendonça França2012-07-222-8/+15
|\ | | | | don't escape options in option_html_attributes method
| * don't escape options in option_html_attributes methodVasiliy Ermolovich2012-07-222-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 warningsCarlos Galdino + Rafael Mendonça França2012-07-212-2/+2
| |
* | Add back `:disable_with` and change deprecation horizon to 4.1Carlos Galdino + Rafael Mendonça França2012-07-215-5/+74
| |
* | Add back `:confirm` and change deprecation horizon to 4.1Carlos Galdino + Rafael Mendonça França2012-07-215-2/+144
|/
* copy-edits 9674d2cXavier Noria2012-07-211-2/+2
|
* Merge pull request #7100 from shigeya/fix_mime_responds_to_docXavier Noria2012-07-201-1/+2
|\ | | | | Clarification to doc of ActionController::MimeResponse.respond_to
| * Clarification to doc of ActionController::MimeResponse.respond_toShigeya Suzuki2012-07-191-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-raisedRafael Mendonça França2012-07-202-2/+18
|\ \ | | | | | | Clean up Sweeper controller accessor when an Error is raised
| * | Clean up Sweeper controller accessor when an Error is raisedBrian John2012-07-202-2/+18
| |/
* | Don't assume resource param is :id when using shallow routesAndrew White2012-07-202-1/+15
| | | | | | | | | | Since #5581 added support for resources with custom params we should not assume that it is :id when using shallow resource routing.