Commit Graph

4918 Commits

Author SHA1 Message Date
Jeremy Kemper
c548e21365 Bump git versions to 3.0.0.beta1 since we've released 2010-02-05 09:24:12 -08:00
Jeremy Kemper
459ecaf95d Submarine the rake-gemcutter dep in Rakefiles 2010-02-05 00:03:03 -08:00
Jeremy Kemper
7b81f5981f Fix task defines 2010-02-04 18:44:32 -08:00
Jeremy Kemper
c1785f3282 Release using gemcutter gem:push tasks 2010-02-04 18:28:45 -08:00
Jeremy Kemper
31f8a59c16 Test that csrf meta content is html-escaped, too 2010-02-04 18:03:06 -08:00
Jeremy Kemper
6bf79f02be Revert dumb test 2010-02-04 17:49:23 -08:00
Jeremy Kemper
3062bc70ef HTML-escape csrf meta contents 2010-02-04 17:45:43 -08:00
Jeremy Kemper
2191aa47ac Expose CSRF param name also 2010-02-04 15:26:24 -08:00
Jeremy Kemper
78de17cf70 Expose CSRF tag for UJS adapters 2010-02-04 14:58:32 -08:00
Jeremy Kemper
23ad1eff0d Rationalize railtie dependencies: AC uses AV; AR uses AMo; and Rails always uses AS. 2010-02-04 10:08:06 -08:00
David Heinemeier Hansson
031139bb71 Homogenize gemspecs and remove the deprecated autorequire 2010-02-03 17:59:49 -08:00
David Heinemeier Hansson
79817aa9e7 Move to 3.0.0.beta 2010-02-03 17:29:51 -08:00
José Valim
836cbe5735 Add method and path to AC notifications. 2010-02-03 17:18:18 +01:00
Santiago Pastorino and José Ignacio Costa
afdf52402e Routing Mapper with % interpolation on Ruby 1.9.1 fixed [#3837 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-02 11:58:38 +01:00
José Valim
95eadb39bd Configuration values should be on AV::Base. 2010-02-02 11:32:28 +01:00
Prem Sichanugrist
c01014ac1c Modify the behavior of radio_button_tag to use sanitize_to_id for consistency [#1792 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-02 10:17:26 +01:00
Sam Ruby
df8852d04d Make rdoc match current API
Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
2010-02-02 12:06:50 +11:00
Sam Ruby
5998dd7bb8 Resolve view paths correctly on CygWin
Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
2010-02-02 12:05:49 +11:00
Mikel Lindsaar
d1eed079e1 Merge branch 'master' of git://github.com/rails/rails 2010-02-02 10:51:19 +11:00
José Valim
66615f25cf Merge branch 'master' of gitproxy:rails/rails 2010-02-01 11:41:16 +01:00
José Valim
0dece7929c Deprecate AC configuration values which were moved to Rack. 2010-02-01 11:40:27 +01:00
Jeremy Kemper
e5ab4b0d07 Convert to class_attribute 2010-02-01 02:02:42 -08:00
Yehuda Katz
2092351652 Add support for compile-time <%= raw %> 2010-01-31 23:42:35 -08:00
Santiago Pastorino
1adfb92135 Deleted all references to ActionView::SafeBuffer in favor of ActiveSupport::SafeBuffer
Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
2010-01-31 22:14:18 -08:00
Santiago Pastorino
9987a00738 action_view/safe_buffer is no longer valid
Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
2010-01-31 21:55:41 -08:00
Santiago Pastorino
f439f1d86f action_view is requiring the deleted action_view/erb/util.rb file
Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
2010-01-31 20:26:28 -08:00
Yehuda Katz
4cbb9db0a5 For performance reasons, you can no longer call html_safe! on Strings. 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.
2010-01-31 19:39:13 -08:00
Carl Lerche
9f01dff9c2 Get rails tests running on bundler 0.9 2010-01-31 19:13:43 -08:00
Mikel Lindsaar
65ad16568c Updating copyright dates on all licenses 2010-02-01 10:10:53 +11:00
Stefan Penner
c493370f33 UJS documentation. 2010-01-31 16:37:33 -06:00
Erik St. Martin
e1618b9ac3 data-remote needs to be on the form and not the submit when using button_to :remote=>true 2010-01-31 14:43:07 -06:00
Stephen St. Martin
a9e89e82b6 add :remote option to form_tag 2010-01-31 13:46:33 -06:00
Stephen St. Martin
a3349f845f form_for should pass :remote to form_tag through html_options 2010-01-31 13:46:27 -06:00
Joshua Peek
59e9478f57 Require ac/test_case from AV::TestCase 2010-01-31 13:38:16 -06:00
Mikel Lindsaar
2ebea1c02d deOMGifying Railties, Active Support, and Action Pack 2010-01-31 09:46:30 -08:00
José Valim
b3a028259f Improve missing template error messages a little bit. 2010-01-31 10:24:38 +01:00
Joshua Peek
48459c8278 Add rel=nofollow on non get remote links 2010-01-30 20:26:30 -06:00
Joshua Peek
31820b9dd6 Generate UJS code for :disable_with 2010-01-30 20:22:15 -06:00
Erik St. Martin
392817cf11 updating link_to and button_to to support :remote => true and other options such as :confirm in a unobtrusive manor
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2010-01-30 19:44:35 -06:00
Joshua Peek
7d9ed8eec1 Include prototype ujs adapter with new apps 2010-01-30 19:20:49 -06:00
Joshua Peek
657d85580e Reorg options_for_javascript and array_or_string_for_javascript 2010-01-30 16:13:49 -06:00
Joshua Peek
570e02c96a Move button_to_function to prototype helper 2010-01-30 16:08:56 -06:00
Joshua Peek
ff3f779629 Unused JAVASCRIPT_PATH const 2010-01-30 16:04:58 -06:00
Joshua Peek
ad1924125d Move scripty JSG helpers into scriptaculous_helper.rb 2010-01-30 16:02:26 -06:00
Joshua Peek
9c2c307ee4 Move form_remote_tag and remote_form_for into prototype_legacy_helper 2010-01-30 15:42:30 -06:00
Joshua Peek
779094a602 Move button_to_remote and submit_to_remote into prototype_legacy_helper
plugin
2010-01-30 15:28:31 -06:00
Joshua Peek
b3787643ec Move link_to_function and link_to_remote into prototype_legacy_helper
plugin
2010-01-30 15:20:00 -06:00
Joshua Peek
2de311a093 Drop AjaxHelper 2010-01-30 15:08:29 -06:00
Joshua Peek
95f317b020 Move periodically_call_remote into prototype_legacy_helper plugin 2010-01-30 15:01:02 -06:00
Joshua Peek
61c9b16487 Move observe_field and observe_form to prototype_legacy_helper plugin 2010-01-30 14:53:43 -06:00