Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use ActionView::Base.logger instead of AC::Base.logger | Piotr Sarnacki | 2012-08-28 | 1 | -1/+1 |
| | |||||
* | Collapsed dual checks (one for content headers and one for content) into a ↵ | Armand du Plessis | 2012-08-02 | 1 | -0/+30 |
| | | | | | | | | | | | | single check. Rails includes a single character body to a head(:no_content) response to work around an old Safari bug where headers were ignored if no body sent. This patch brings the behavior slightly closer to spec if :no_content/204 is explicity requested via a head only response. Status comparison done on symbolic and numeric values Not returning any content when responding with head and limited to a status code that explicitly states no content will be returned - 100..199, 204, 205, 304. | ||||
* | html_escape should escape single quotes | Santiago Pastorino | 2012-07-31 | 1 | -1/+1 |
| | | | | | 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 | ||||
* | deprecate `describe` without a block. | Aaron Patterson | 2012-07-09 | 3 | -12/+0 |
| | | | | | minitest/spec provides `describe`, so deprecate the rails version and have people use the superclass version | ||||
* | mispelling errors in render_text_test.rb and sqlite_specific_schema | angelo giovanni capilleri | 2012-05-12 | 1 | -2/+2 |
| | |||||
* | Remove content-length as well | twinturbo | 2012-05-03 | 1 | -0/+6 |
| | |||||
* | Make ActionController#head pass rack-link | twinturbo | 2012-05-03 | 1 | -0/+60 |
| | |||||
* | Remove default match without specified method | Jose and Yehuda | 2012-04-24 | 4 | -6/+6 |
| | | | | | | | | | | | | | | | | In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964 | ||||
* | Remove unnecessary in HTML 5 type attribute with default value | Andrey A.I. Sitnik | 2012-04-05 | 1 | -2/+2 |
| | |||||
* | Moved all the logger methods to active support logger | Karunakar (Ruby) | 2012-01-06 | 1 | -1/+1 |
| | | | | minor | ||||
* | remove more conditions for Fiber available in ruby19 | Vishnu Atrai | 2011-12-31 | 1 | -1/+1 |
| | |||||
* | Show detailed exceptions no longer returns true if the request is local in ↵ | José Valim | 2011-12-16 | 1 | -0/+6 |
| | | | | production. | ||||
* | Fix another regression related to the layout optimization. | José Valim | 2011-12-08 | 1 | -1/+25 |
| | |||||
* | Fix a regression and also fix broken test. | José Valim | 2011-12-08 | 1 | -5/+5 |
| | |||||
* | A test case to ensure that AC::Metal#response_body= always wraps the given ↵ | Akira Matsuda | 2011-11-10 | 1 | -0/+6 |
| | | | | value in an Array in both Ruby 1.8 and 1.9 (refs #3581) | ||||
* | Deprecate passing the template handler in the template name. | José Valim | 2011-09-22 | 1 | -5/+5 |
| | | | | | | For example, calling hello.erb is now deprecated. Since Rails 3.0 passing the handler had no effect whatsover. This commit simply deprecates such cases so we can clean up the code in later releases. | ||||
* | Get rid of update_details in favor of passing details to find_template. | José Valim | 2011-09-22 | 2 | -8/+8 |
| | |||||
* | Remove stream at the class level. | José Valim | 2011-07-06 | 1 | -1/+1 |
| | | | | | | This is because only template rendering works with streaming. Setting it at the class level was also changing the behavior of JSON and XML responses, closes #1337. | ||||
* | Corrected some typos and American vs. Queen's English issues | Lee Reilly | 2011-05-29 | 1 | -2/+2 |
| | |||||
* | Revert to old semantics, use available_action? instead of action_method?. | José Valim | 2011-05-06 | 1 | -4/+4 |
| | |||||
* | Tidy up pending TODOs after discussion with Mr. Gatoz (@wycats). | José Valim | 2011-05-01 | 1 | -7/+7 |
| | |||||
* | log errors when an exception happens when streaming. | José Valim | 2011-05-01 | 1 | -0/+13 |
| | |||||
* | Add a test for rendering from the controller context. | José Valim | 2011-05-01 | 1 | -0/+54 |
| | |||||
* | Do not stream on HTTP/1.0. | José Valim | 2011-04-19 | 1 | -0/+8 |
| | |||||
* | Output a redirect to the 500 page if something happens when streaming. | José Valim | 2011-04-19 | 1 | -1/+23 |
| | | | | | | Currently, we output: "><script type="text/javascript">window.location = "/500.html"</script></html> | ||||
* | Test explicit skip. | José Valim | 2011-04-18 | 1 | -1/+10 |
| | |||||
* | Just define the controller if fibers are defined. | José Valim | 2011-04-18 | 1 | -2/+2 |
| | |||||
* | Body... wanna *stream* my body? Body... such a thrill my body! | José Valim | 2011-04-18 | 1 | -0/+62 |
| | | | | | Added stream as class level method to make it explicit when to stream. Render also accepts :stream as option. | ||||
* | switch to using comments to comment things | Aaron Patterson | 2011-04-15 | 1 | -2/+1 |
| | |||||
* | render :once, YAGNI. | José Valim | 2011-04-15 | 1 | -86/+0 |
| | |||||
* | removes the RJS template handler | Xavier Noria | 2011-04-13 | 2 | -15/+10 |
| | |||||
* | removes support for render :update | Xavier Noria | 2011-04-13 | 1 | -71/+0 |
| | |||||
* | Implicit actions named not_implemented can be rendered | Santiago Pastorino | 2011-04-02 | 1 | -2/+11 |
| | |||||
* | Make action_method? public and change implicit rendering to override it instead. | José Valim | 2011-03-30 | 1 | -0/+5 |
| | |||||
* | Use Mime::Type references. | José Valim | 2011-02-08 | 1 | -0/+9 |
| | |||||
* | cleaning up some warnings on 1.9.3 | Aaron Patterson | 2011-02-07 | 1 | -1/+1 |
| | |||||
* | Speed up template inheritance and remove template inheritance option | wycats | 2010-12-26 | 1 | -12/+0 |
| | |||||
* | all tests pass | artemave | 2010-12-26 | 1 | -4/+4 |
| | |||||
* | #948 make template inheritance optional | artemave | 2010-12-26 | 1 | -0/+11 |
| | |||||
* | #948 template_inheritance | artemave | 2010-12-26 | 2 | -2/+66 |
| | |||||
* | realigns a series of hash arrows | Xavier Noria | 2010-11-21 | 1 | -10/+10 |
| | |||||
* | Added support for Erubis <%== tag | Jan Maurits Faber | 2010-11-08 | 1 | -0/+10 |
| | | | | | | | <%== x %> is syntactic sugar for <%= raw(x) %> Signed-off-by: Michael Koziarski <michael@koziarski.com> [#5918 status:committed] | ||||
* | Fix problems trying to functional test AC::Metal controllers | Santiago Pastorino | 2010-11-06 | 1 | -0/+7 |
| | | | | [#5393 state:committed] | ||||
* | Remove :cache => true on lookup templates initialization. | José Valim | 2010-10-14 | 1 | -10/+1 |
| | |||||
* | render :once should consider the current controller prefix. | José Valim | 2010-10-14 | 1 | -7/+30 |
| | |||||
* | Use identifiers for template equality. | José Valim | 2010-10-10 | 1 | -9/+8 |
| | |||||
* | Add support to render :once. | José Valim | 2010-10-10 | 1 | -0/+73 |
| | | | | This will be used internally by sprockets to ensure requires are executed just once. | ||||
* | Fix a few bugs when trying to use Head standalone | wycats | 2010-10-10 | 1 | -0/+15 |
| | |||||
* | Allow cache to be temporarily disabled through lookup_context. | José Valim | 2010-10-07 | 1 | -1/+12 |
| | |||||
* | render :template => 'foo/bar.json' now works as it should. | José Valim | 2010-10-07 | 2 | -3/+29 |
| |