Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move form_remote_tag and remote_form_for into prototype_legacy_helper | Joshua Peek | 2010-01-30 | 1 | -100/+0 |
| | |||||
* | Move button_to_remote and submit_to_remote into prototype_legacy_helper | Joshua Peek | 2010-01-30 | 1 | -18/+0 |
| | | | | plugin | ||||
* | Move link_to_function and link_to_remote into prototype_legacy_helper | Joshua Peek | 2010-01-30 | 1 | -28/+0 |
| | | | | plugin | ||||
* | Move periodically_call_remote into prototype_legacy_helper plugin | Joshua Peek | 2010-01-30 | 1 | -12/+0 |
| | |||||
* | Move observe_field and observe_form to prototype_legacy_helper plugin | Joshua Peek | 2010-01-30 | 1 | -37/+0 |
| | |||||
* | Revert "Merge branch 'rails/master' into ujs" | Joshua Peek | 2010-01-30 | 1 | -0/+193 |
| | | | | | | | | | | | This reverts commit 3aa1ea1ae4baa4a03d03644e798eeb98a4745785, reversing changes made to 2c12a71378d2146c822acb389b00b866f6420ff5. Conflicts: actionpack/lib/action_view/helpers/javascript_helper.rb actionpack/lib/action_view/helpers/url_helper.rb actionpack/test/template/url_helper_test.rb | ||||
* | Removed all helpers from PrototypeHelper that are implemented in AjaxHelper. ↵ | Erik St. Martin | 2010-01-27 | 1 | -193/+0 |
| | | | | Modified tests that extended with PrototypeHelper to now extend using AjaxHelper. AjaxHelper is now included by default in view helper | ||||
* | Javascript tests expects the old default of escaping HTML, make it so for now | David Heinemeier Hansson | 2010-01-10 | 1 | -0/+5 |
| | |||||
* | Got tests to pass with some more changes. | Yehuda Katz | 2009-08-15 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | * request.formats is much simpler now * For XHRs or Accept headers with a single item, we use the Accept header * For other requests, we use params[:format] or fallback to HTML * This is primarily to work around the fact that browsers provide completely broken Accept headers, so we have to whitelist the few cases we can specifically isolate and treat other requests as coming from the browser * For APIs, we can support single-item Accept headers, which disambiguates from the browsers * Requests to an action that only has an XML template from the browser will no longer find the template. This worked previously because most browsers provide a catch-all */*, but this was mostly accidental behavior. If you want to serve XML, either use the :xml format in links, or explicitly specify the XML template: render "template.xml". | ||||
* | AMo conversion helper | Joshua Peek | 2009-07-21 | 1 | -4/+8 |
| | |||||
* | Define ActiveModel API Compliance | Yehuda Katz | 2009-07-20 | 1 | -3/+5 |
| | | | | | | - Define to_model on AR - Define to_model on ActiveModel::APICompliant - Update test fixtures to be API Compliant - Start using to_model in AP | ||||
* | Fixes a number of tests that inexplicably didn't fail when we committed the ↵ | Yehuda Katz + Carl Lerche | 2009-07-02 | 1 | -3/+3 |
| | | | | original patch | ||||
* | Move model naming into ActiveModel | Joshua Peek | 2009-06-17 | 1 | -0/+3 |
| | |||||
* | Added the :rjs render option | Yehuda Katz + Carl Lerche | 2009-05-21 | 1 | -0/+4 |
| | |||||
* | * Add pluggable JSON backends with support for the JSON gem. [rick] | rick | 2009-04-23 | 1 | -8/+8 |
| | | | | | | | | | | | | | | Example: ActiveSupport::JSON.backend = "JSONGem" All internal Rails JSON encoding is now handled by ActiveSupport::JSON.encode(). Use of #to_json is not recommended, as it may clash with other libraries that overwrite it. However, you can recover Rails specific functionality if you really want to use #to_json. gem 'json' ActiveSupport::JSON.backend = "JSONGem" class ActiveRecord::Base alias to_json rails_to_json end | ||||
* | Temporarily modifies setup to call super directly. This can support more ↵ | Yehuda Katz and Carl Lerche | 2009-04-08 | 1 | -0/+1 |
| | | | | T::U runners. | ||||
* | Begin unifying the interface between ActionController and ActionView | Yehuda Katz | 2009-01-22 | 1 | -1/+1 |
| | |||||
* | Implement submit_to_remote as a wrapper around a more generic button_to_remote | Tarmo Tänav | 2008-10-07 | 1 | -3/+3 |
| | | | | | | | Removed the "return false" from submit_to_remote onclick end as button input elements have no default behavior to cancel. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Allow prototype functions to receive position parameter as a symbol. | miloops | 2008-08-30 | 1 | -0/+2 |
| | | | | | | [#887 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Added button_to_remote helper | Tarmo Tänav | 2008-08-29 | 1 | -0/+13 |
| | | | | | | Ticket originally from http://dev.rubyonrails.org/ticket/3641 Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Cache JavaScriptGenerator's helper module set on the template | Joshua Peek | 2008-08-26 | 1 | -4/+0 |
| | |||||
* | Performance: Cache modules that extend the view context for JavaScriptGenerator | Joshua Peek | 2008-08-25 | 1 | -0/+4 |
| | |||||
* | In javascript helpers option[:type] = :synchronous should work as described ↵ | miloops | 2008-07-31 | 1 | -0/+6 |
| | | | | | | in docs. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Prototype helpers should generate Element.insert instead of Insertion.new, ↵ | miloops | 2008-07-30 | 1 | -6/+6 |
| | | | | which has been deprecated in Prototype 1.6. | ||||
* | JavaScriptGenerator should only sets output_buffer for the duration of the ↵ | Jeremy Kemper | 2008-07-15 | 1 | -1/+5 |
| | | | | update block | ||||
* | Get buffer for fragment cache from template's @output_buffer | Joshua Peek | 2008-07-15 | 1 | -1/+1 |
| | |||||
* | Changed PrototypeHelper#submit_to_remote to PrototypeHelper#button_to_remote ↵ | David Heinemeier Hansson | 2008-07-09 | 1 | -2/+2 |
| | | | | to stay consistent with link_to_remote (submit_to_remote still works as an alias) (clemens) [#8994 status:closed] | ||||
* | Check whether blocks are called from erb using a special __in_erb_template ↵ | Jeremy Kemper | 2008-06-19 | 1 | -68/+69 |
| | | | | variable visible in block binding. | ||||
* | Use output_buffer reader and writer methods exclusively instead of hitting ↵ | Jeremy Kemper | 2008-06-08 | 1 | -13/+7 |
| | | | | the instance variable so others can override the methods. | ||||
* | Merge branch 'master' into erbout | Jeremy Kemper | 2008-06-05 | 1 | -0/+5 |
|\ | |||||
| * | Add RJS#page.reload. [#277 state:resolved] | Sean Huber | 2008-06-04 | 1 | -0/+5 |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | | Work with @output_buffer instead of _erbout | Jeremy Kemper | 2008-06-02 | 1 | -13/+13 |
|/ | |||||
* | Remove superfluous tests directive | Jeremy Kemper | 2008-05-26 | 1 | -2/+0 |
| | |||||
* | Ensure observe_field encodes value parameter. [#216 state:resolved] | Frederick Cheung | 2008-05-19 | 1 | -2/+2 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix remote_function to escape apostrophes inside the remote url passed to ↵ | Andre Arko | 2008-05-13 | 1 | -0/+5 |
| | | | | | | Ajax.Update. [#180 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Introduce ActionView::TestCase for testing view helpers. | Joshua Peek | 2008-04-19 | 1 | -37/+19 |
| | |||||
* | Ensure RJS redirect_to doesn't html-escapes string argument. Closes #8546 | Pratik Naik | 2008-04-02 | 1 | -0/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | require abstract_unit directly since test is in load path | Jeremy Kemper | 2008-01-05 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Don't escape forward slashes with String#to_json, our unicode encoding of < ↵ | Michael Koziarski | 2007-12-02 | 1 | -10/+10 |
| | | | | | | and > prevent the XSS problems. [tpope] Closes #10273 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8255 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Change JSON to encode %w(< > &) as 4 digit hex codes to be in compliance ↵ | Rick Olson | 2007-10-29 | 1 | -9/+9 |
| | | | | | | with the JSON spec. Closes #9975 [josh, chuyeow, tpope] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8050 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Update tests for ActiveSupport's JSON escaping change. [rick] | Rick Olson | 2007-10-26 | 1 | -10/+10 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8034 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Allow ability to disable request forgery protection, disable it in test mode ↵ | Rick Olson | 2007-09-28 | 1 | -0/+4 |
| | | | | | | by default. Closes #9693 [lifofifo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixed spelling errors (closes #9706) [tarmo/rmm5t] | David Heinemeier Hansson | 2007-09-28 | 1 | -8/+8 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Merge csrf_killer plugin into rails. Adds RequestForgeryProtection model ↵ | Rick Olson | 2007-09-23 | 1 | -0/+5 |
| | | | | | | that verifies session-specific _tokens for non-GET requests. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7592 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Tidy up link to remote options. Closes #9505. [nik.wakelin] | Michael Koziarski | 2007-09-12 | 1 | -0/+5 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7468 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add array support to remote_form_for for polymorphic urls. Closes #8654 [jade] | Michael Koziarski | 2007-09-02 | 1 | -13/+43 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Improve Action View test coverage. Closes #7241, #7243, #7244. | Jeremy Kemper | 2007-06-08 | 1 | -1/+6 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6967 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Test periodically_call_remote with frequency. Closes #7244 [Rich Collins] | Jeremy Kemper | 2007-06-08 | 1 | -0/+7 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6963 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Assume html format when rendering partials in RJS. #8076 [Rick] | Rick Olson | 2007-06-05 | 1 | -0/+4 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6950 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Allow JSON-style values for the :with option of observe_field. Closes #8557 ↵ | Thomas Fuchs | 2007-06-03 | 1 | -0/+11 |
| | | | | | | [kommen] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6930 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |