Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | simple_format returns a safe buffer escaping unsafe input [Santiago Pastorino] | David Heinemeier Hansson | 2010-02-12 | 1 | -0/+12 | |
| | ||||||
* | Fix pluralization for numbers formatted like '1.00' | Gabriel Mansour | 2010-02-07 | 1 | -0/+2 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Fix nested attributes with specified collection. | José Valim | 2010-02-07 | 1 | -0/+22 | |
| | ||||||
* | Configuration values should be on AV::Base. | José Valim | 2010-02-02 | 1 | -3/+3 | |
| | ||||||
* | Modify the behavior of `radio_button_tag` to use `sanitize_to_id` for ↵ | Prem Sichanugrist | 2010-02-02 | 1 | -0/+4 | |
| | | | | | | consistency [#1792 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Deleted all references to ActionView::SafeBuffer in favor of ↵ | Santiago Pastorino | 2010-01-31 | 1 | -41/+0 | |
| | | | | | | ActiveSupport::SafeBuffer Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | |||||
* | For performance reasons, you can no longer call html_safe! on Strings. ↵ | Yehuda Katz | 2010-01-31 | 5 | -7/+7 | |
| | | | | | | | | | | | | Instead, all Strings are always not html_safe?. Instead, you can get a SafeBuffer from a String by calling #html_safe, which will SafeBuffer.new(self). * Additionally, instead of doing concat("</form>".html_safe), you can do safe_concat("</form>"), which will skip both the flag set, and the flag check. * For the first pass, I converted virtually all #html_safe!s to #html_safe, and the tests pass. A further optimization would be to try to use #safe_concat as much as possible, reducing the performance impact if we know up front that a String is safe. | |||||
* | data-remote needs to be on the form and not the submit when using button_to ↵ | Erik St. Martin | 2010-01-31 | 1 | -0/+7 | |
| | | | | :remote=>true | |||||
* | add :remote option to form_tag | Stephen St. Martin | 2010-01-31 | 1 | -0/+6 | |
| | ||||||
* | form_for should pass :remote to form_tag through html_options | Stephen St. Martin | 2010-01-31 | 1 | -0/+19 | |
| | ||||||
* | deOMGifying Railties, Active Support, and Action Pack | Mikel Lindsaar | 2010-01-31 | 2 | -4/+4 | |
| | ||||||
* | Add rel=nofollow on non get remote links | Joshua Peek | 2010-01-30 | 1 | -2/+2 | |
| | ||||||
* | Generate UJS code for :disable_with | Joshua Peek | 2010-01-30 | 1 | -3/+3 | |
| | ||||||
* | updating link_to and button_to to support :remote => true and other options ↵ | Erik St. Martin | 2010-01-30 | 2 | -12/+19 | |
| | | | | | | such as :confirm in a unobtrusive manor Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Include prototype ujs adapter with new apps | Joshua Peek | 2010-01-30 | 1 | -8/+7 | |
| | ||||||
* | Move form_remote_tag and remote_form_for into prototype_legacy_helper | Joshua Peek | 2010-01-30 | 2 | -129/+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 | 2 | -57/+0 | |
| | | | | plugin | |||||
* | Drop AjaxHelper | Joshua Peek | 2010-01-30 | 1 | -114/+0 | |
| | ||||||
* | 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 | 6 | -471/+326 | |
| | | | | | | | | | | | 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 | |||||
* | Revert "fixed tests to also look for rails.js when using ↵ | Joshua Peek | 2010-01-30 | 1 | -7/+7 | |
| | | | | | | javascript_include_tag :defaults" This reverts commit 7f181e475080924164b3fa0071ee4898bd66cbb8. | |||||
* | Deprecate link_to :popup | Joshua Peek | 2010-01-29 | 1 | -30/+0 | |
| | ||||||
* | fixed tests to also look for rails.js when using javascript_include_tag ↵ | Erik St. Martin | 2010-01-29 | 1 | -7/+7 | |
| | | | | :defaults | |||||
* | updated tests + docs, plus minor inconsistency fixes | Stefan Penner | 2010-01-27 | 1 | -86/+182 | |
| | ||||||
* | Added regression tests that discovered the previous issue. | Stefan Penner | 2010-01-27 | 1 | -0/+14 | |
| | ||||||
* | :href should be comming in through html_options and not options | Erik St. Martin | 2010-01-27 | 1 | -1/+1 | |
| | ||||||
* | removing container inline js function of observed elements :function callback | Erik St. Martin | 2010-01-27 | 1 | -2/+9 | |
| | ||||||
* | periodically_call_remote does not need data-observe=true | Erik St. Martin | 2010-01-27 | 1 | -2/+2 | |
| | ||||||
* | test to go with last commit, explicit :href for link_to_remote | Erik St. Martin | 2010-01-27 | 1 | -0/+5 | |
| | ||||||
* | fix duplidate data-submit attribute, submit_to_remote should test url | Stephen St. Martin | 2010-01-27 | 1 | -2/+2 | |
| | ||||||
* | account for the fact a few options may be passed as symbols and need to be ↵ | Erik St. Martin | 2010-01-27 | 1 | -0/+5 | |
| | | | | converted to string | |||||
* | removing Prototype inline js for attributes for :with and :condition, it now ↵ | Erik St. Martin | 2010-01-27 | 1 | -6/+24 | |
| | | | | is free form js that can be placed there, also moved :submit out into AjaxHelper, updated tests to reflect changes | |||||
* | add missing test for :with option to link_to_remote | Stephen St. Martin | 2010-01-27 | 1 | -0/+6 | |
| | ||||||
* | add missing :before and :after callbacks for link_to_remote | Stephen St. Martin | 2010-01-27 | 1 | -0/+5 | |
| | ||||||
* | modified helper that adds attributes for :method to include rel='nofollow' ↵ | Erik St. Martin | 2010-01-27 | 1 | -3/+3 | |
| | | | | if :method => :delete, same as its remote_ equivalent | |||||
* | making non remote versions of link_to, button_to, submit_tag and ↵ | Erik St. Martin | 2010-01-27 | 2 | -20/+20 | |
| | | | | image_submit_tag output data attributes for things like :confirm, :method, :popup, and :disable_with | |||||
* | link_to_remote and button_to_remote now support :confirm | Erik St. Martin | 2010-01-27 | 1 | -0/+10 | |
| | ||||||
* | test :method option of link_to_remote, and ensure rel='nofollow' is added ↵ | Stephen St. Martin | 2010-01-27 | 1 | -0/+5 | |
| | | | | when :method => 'delete' | |||||
* | port existing test suite to check for new output, and fix all breaking tests | Stephen St. Martin | 2010-01-27 | 1 | -121/+223 | |
| | ||||||
* | fixed current tests that were failing do to module location change, this is ↵ | Erik St. Martin | 2010-01-27 | 1 | -3/+8 | |
| | | | | temporary to fix state of repo till all the new tests are complete | |||||
* | Removed all helpers from PrototypeHelper that are implemented in AjaxHelper. ↵ | Erik St. Martin | 2010-01-27 | 2 | -197/+4 | |
| | | | | Modified tests that extended with PrototypeHelper to now extend using AjaxHelper. AjaxHelper is now included by default in view helper | |||||
* | fixing failing tests from last commit, order of attributes matters should ↵ | Erik St. Martin | 2010-01-27 | 1 | -2/+2 | |
| | | | | probably change this later | |||||
* | fix failing tests from fork/merge | Stephen St. Martin | 2010-01-27 | 1 | -2/+2 | |
| | ||||||
* | rename ajax_test.rb to ajax_helper_test.rb for consistency | Stephen St. Martin | 2010-01-27 | 1 | -0/+0 | |
| | ||||||
* | fixed failing tests | Stefan Penner | 2010-01-27 | 1 | -10/+3 | |
| | ||||||
* | Implemented a fuller stub in AjaxTestCase for url_for because link_to calls ↵ | Bob Remeika | 2010-01-27 | 1 | -3/+10 | |
| | | | | url_for on all urls passed to it. Tests that were testing different input types for the url were failing because of this. | |||||
* | fixed failing tests | Stefan Penner | 2010-01-27 | 1 | -18/+4 | |
| | ||||||
* | Implemented a fuller stub in AjaxTestCase for url_for because link_to calls ↵ | Bob Remeika | 2010-01-27 | 1 | -9/+28 | |
| | | | | url_for on all urls passed to it. Tests that were testing different input types for the url were failing because of this. |