Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | Added the beginnings of the observe_field helper | Bob Remeika | 2010-01-27 | 1 | -0/+55 | |
| | ||||||
* | Fix t('.helper'). | José Valim | 2010-01-26 | 1 | -5/+5 | |
| | ||||||
* | Default to sync instrumentation. | José Valim | 2010-01-21 | 1 | -11/+2 | |
| | ||||||
* | Add some implicit path tests to Subscriber. | José Valim | 2010-01-15 | 1 | -1/+18 | |
| | ||||||
* | In heterogeneous collections, neither the @path nor the @template are ↵ | José Valim | 2010-01-15 | 1 | -0/+10 | |
| | | | | available, so we need to tell that we are simply rendering a collection. | |||||
* | Allow f.submit to be localized per object. | José Valim | 2010-01-15 | 1 | -1/+19 | |
| | ||||||
* | Custom 'type' attribute support for text_field. [#3646 status:resolved] | Stephen Celis | 2010-01-14 | 1 | -0/+5 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Make check boxes accept :multiple as option so they can handle collections ↵ | José Valim | 2010-01-14 | 1 | -0/+13 | |
| | | | | (such as HABTM). | |||||
* | Call :to_model before working with the object. | José Valim | 2010-01-14 | 1 | -2/+2 | |
| | ||||||
* | Add possibility to use i18n translatios in submit FormHelper. | Carlos Antonio da Silva | 2010-01-14 | 1 | -3/+60 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Test fragment/page cache and send data/file notifications. | José Valim | 2010-01-13 | 1 | -1/+2 | |
| | ||||||
* | Add subscriber for ActionPack and move all logging inside it. | José Valim | 2010-01-13 | 1 | -0/+74 | |
| | ||||||
* | Javascript tests expects the old default of escaping HTML, make it so for now | David Heinemeier Hansson | 2010-01-10 | 2 | -0/+10 | |
| | ||||||
* | Fixed that much of DateHelper wouldn't return html_safe? strings [DHH] | David Heinemeier Hansson | 2010-01-08 | 1 | -0/+22 | |
| | ||||||
* | Use helpers.label instead of views.labels. | José Valim | 2010-01-07 | 2 | -5/+5 | |
| | ||||||
* | errors in ActionView should not be namespaced as well. | José Valim | 2010-01-07 | 1 | -6/+6 | |
| | ||||||
* | adding fix for auto linking to master too | Zach Brock | 2010-01-05 | 1 | -0/+14 | |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | I18n label helper [#745 status:resolved] | Carsten Gehling | 2010-01-02 | 1 | -0/+40 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Fix tests | David Heinemeier Hansson | 2009-12-25 | 1 | -2/+2 | |
| | ||||||
* | Use new routing dsl in tests | Joshua Peek | 2009-12-08 | 3 | -12/+12 | |
| | ||||||
* | Reorganize autoloads: | Carlhuda | 2009-12-02 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications. | |||||
* | Fix parens warning in ajax test | Joshua Peek | 2009-12-01 | 1 | -6/+6 | |
| | ||||||
* | Privatize Routing.possible_controllers and fix brittle url helper | Joshua Peek | 2009-11-23 | 1 | -26/+19 | |
| | | | | controller test loading. | |||||
* | Allow explicit placement of hidden id element for nested models. | Will Read | 2009-11-15 | 1 | -11/+55 | |
| | | | | | | [#3259 state:resolved] Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com> | |||||
* | Share ActionView::TestCase's output_buffer with view for concat support. | Chris Hapgood | 2009-11-07 | 1 | -0/+5 | |
| | | | | | | [#3467 state:resolved] Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com> | |||||
* | Make some assertions in the ActionView::TestCase tests actually do something. | Chris Hapgood | 2009-11-07 | 1 | -4/+4 | |
| | | | | | | [#3468 state:resolved] Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com> | |||||
* | Ruby 1.9: fix number precision test | Jeremy Kemper | 2009-11-04 | 1 | -1/+1 | |
| | ||||||
* | Start rewriting some internal tests to use the new routing dsl | Joshua Peek | 2009-10-20 | 1 | -2/+1 | |
| | ||||||
* | Fix brittle query string comparisons | Joshua Peek | 2009-10-19 | 1 | -6/+13 | |
| | ||||||
* | Bring agnosticism to error_messages_for. | José Valim | 2009-10-17 | 3 | -52/+43 | |
| | ||||||
* | Unify benchmark APIs. | José Valim | 2009-10-15 | 1 | -86/+0 | |
| | ||||||
* | Make sure non-escaped urls aren't considered safe | Michael Koziarski | 2009-10-15 | 1 | -0/+5 | |
| | ||||||
* | ActionView.url_for doesn't escape by default | Phil Darnowsky | 2009-10-15 | 1 | -3/+13 | |
| | | | | | | | | | | | | | | | | | ActionView::Helpers::UrlHelper#url_for used to escape the URLs it generated by default. This was most commonly seen when generating a path with multiple query parameters, e.g. url_for(:controller => :foo, :action => :bar, :this => 123, :that => 456) would return http://example.com/foo/bar?that=456&this=123 escaping an ampersand that shouldn't be escaped. This is both wrong and inconsistent with the behavior of ActionController#url_for, and is changed. Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Start adding configuration to ActionView instead of using constants. | Yehuda Katz | 2009-10-14 | 3 | -0/+16 | |
| | | | | | | | By using config rather than hardcoded constants, we can evolve the configuration system over time (we'd just need to update the config method with more robust capabilities and all consumers would get the capabilities with no code changes) | |||||
* | Fix failing safe buffer test. We don't patch CGI.escapeHTML, only ERB:Util. | Joshua Peek | 2009-10-10 | 1 | -1/+1 | |
| | ||||||
* | Move safe buffer into test/template | Joshua Peek | 2009-10-10 | 1 | -0/+41 | |
| | ||||||
* | API change: content_tag_for outputs prefixed class name | Joshua Peek | 2009-10-08 | 1 | -1/+1 | |
| | ||||||
* | Switch to on-by-default XSS escaping for rails. | Michael Koziarski | 2009-10-08 | 9 | -5/+60 | |
| | | | | | | | | | | | | This consists of: * String#html_safe! a method to mark a string as 'safe' * ActionView::SafeBuffer a string subclass which escapes anything unsafe which is concatenated to it * Calls to String#html_safe! throughout the rails helpers * a 'raw' helper which lets you concatenate trusted HTML from non-safety-aware sources (e.g. presantized strings in the DB) * New ERB implementation based on erubis which uses a SafeBuffer instead of a String Hat tip to Django for the inspiration. | |||||
* | Use with_routing helper in tests instead of modifying global route set | Joshua Peek | 2009-10-03 | 1 | -14/+23 | |
| | ||||||
* | Moved shared form helper models into fake_models | Joshua Peek | 2009-10-03 | 2 | -99/+2 | |
| | ||||||
* | File extra test folders into controller, dispatch, or template | Joshua Peek | 2009-10-03 | 9 | -0/+1230 | |
| |