David Heinemeier Hansson
|
6b018e3d08
|
Added :mouseover short-cut to AssetTagHelper#image_tag for doing easy image swaps (closes #6893) [joost]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-07 15:37:06 +00:00 |
|
Rick Olson
|
c708346688
|
Change JSON to encode %w(< > &) as 4 digit hex codes to be in compliance 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
|
2007-10-29 00:18:43 +00:00 |
|
Jeremy Kemper
|
a55caf666c
|
Tested FormHelper#label. Closes #9850 [jarkko]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8045 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-27 20:30:05 +00:00 |
|
Rick Olson
|
d7aa32d5d0
|
Update tests for ActiveSupport's JSON escaping change. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8034 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 05:32:30 +00:00 |
|
Rick Olson
|
d5a93b6241
|
FormHelper's auto_index should use #to_param instead of #id_before_type_cast. Closes #9994 [mattly]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 04:48:19 +00:00 |
|
Jeremy Kemper
|
8091ed5420
|
Disabled checkboxes don't submit a form value. Closes #9301.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8007 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-23 19:25:28 +00:00 |
|
Marcel Molina
|
6f559f871e
|
Added tests for options to ActiveRecordHelper#form. Closes #7213 [richcollins, mikong, mislav]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8005 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-23 17:57:47 +00:00 |
|
Jeremy Kemper
|
3334609ecb
|
Expand form helper test coverage. Closes #9950 [robinjfisher]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7993 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-22 21:17:20 +00:00 |
|
Michael Koziarski
|
62fd6532e5
|
Remove more potential clashes with asset methods and resource routes. Closes #9928 [gbuesing]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-19 02:46:41 +00:00 |
|
Michael Koziarski
|
b1c3fc22c9
|
Rename image_path path_to_image to avoid conflicting with named routes. Closes #9924 [gbuesing]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-19 00:52:55 +00:00 |
|
Jeremy Kemper
|
cfe36d1609
|
Test link_to 'back', :back
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-16 05:06:55 +00:00 |
|
Michael Koziarski
|
3353b85b0e
|
Sync country_select with ISO 3166 long names. Closes #6872 [abhay, mikong, ruben]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-15 06:52:00 +00:00 |
|
Jeremy Kemper
|
01cfda7cf2
|
error_messages_for also takes :message and :header_message options which defaults to the old "There were problems with the following fields:" and "<count> errors prohibited this <object_name> from being saved". Closes #8270.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7870 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-14 02:59:32 +00:00 |
|
David Heinemeier Hansson
|
6637f9069c
|
Extracted sanitization methods from TextHelper to SanitizeHelper [DHH] Changed SanitizeHelper#sanitize to only allow the custom attributes and tags when specified in the call [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-10 17:35:10 +00:00 |
|
Michael Koziarski
|
074fe35b8a
|
Add link_to :back which uses your referrer with a fallback to a javascript link. #7366 [eventualbuddha, tarmo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7791 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-08 03:30:29 +00:00 |
|
Jeremy Kemper
|
459cc1ecb8
|
error_messages_for and friends also work with local variables. Closes #9699.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7779 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-07 19:50:30 +00:00 |
|
David Heinemeier Hansson
|
826f0bd42f
|
Fixed that strip_tags blows up with invalid html (closes #9730) [lifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7677 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-29 20:19:33 +00:00 |
|
Rick Olson
|
5edc81dcc2
|
Allow ability to disable request forgery protection, disable it in test mode by default. Closes #9693 [lifofifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-28 15:55:45 +00:00 |
|
David Heinemeier Hansson
|
e3b49c052b
|
Fixed spelling errors (closes #9706) [tarmo/rmm5t]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-28 14:18:47 +00:00 |
|
Jeremy Kemper
|
40f9fd39f6
|
Include asset host in public path cache key. Clear cache between asset tag tests.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-24 19:47:45 +00:00 |
|
Jeremy Kemper
|
4b33306c70
|
The tag helper may bypass escaping.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7608 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-24 08:13:55 +00:00 |
|
Rick Olson
|
c619003854
|
Rename some RequestForgeryProtection methods. The class method is now #protect_from_forgery, and the default parameter is now 'authenticity_token'. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7596 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-23 18:14:44 +00:00 |
|
Rick Olson
|
4e3ed5bc44
|
Merge csrf_killer plugin into rails. Adds RequestForgeryProtection model 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
|
2007-09-23 02:32:55 +00:00 |
|
Rick Olson
|
2d02199e15
|
Secure #sanitize, #strip_tags, and #strip_links helpers against xss attacks. Closes #8877. [Rick, lifofifo, Jacques Distler]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7589 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-23 00:11:08 +00:00 |
|
David Heinemeier Hansson
|
f3bf372630
|
Test fix (closes #6911)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-22 23:26:22 +00:00 |
|
David Heinemeier Hansson
|
f0dc2774e8
|
Improve tests (closes #7240) [josh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7581 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-22 23:11:45 +00:00 |
|
David Heinemeier Hansson
|
ee45d76df8
|
Roll back #7578, tests failed
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7580 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-22 23:10:41 +00:00 |
|
David Heinemeier Hansson
|
9ab8d4d9ed
|
Improve the error message for assert_redirected_to (closes #7337) [sandofsky]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7578 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-22 22:22:20 +00:00 |
|
David Heinemeier Hansson
|
da5d8fa6ad
|
Fixed JavaScriptHelper#escape_javascript to also escape closing tags (closes #8023) [rubyruy]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7567 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-22 18:31:44 +00:00 |
|
David Heinemeier Hansson
|
9686dcdb5b
|
Fixed TextHelper#word_wrap for multiline strings with extra carrier returns (closes #8663) [seth]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7562 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-22 18:21:54 +00:00 |
|
David Heinemeier Hansson
|
2f8146bc5e
|
Use rel="stylesheet" in lowercase as prescribed by XHTML standards (closes #8910) [RSL]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7558 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-22 18:01:54 +00:00 |
|
David Heinemeier Hansson
|
39de84d967
|
Fixed that setting the :host option in url_for would automatically turn off :only_path (since :host would otherwise not be shown) (closes #9586) [Bounga]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7542 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-22 17:19:26 +00:00 |
|
David Heinemeier Hansson
|
a7764d8fd4
|
Added FormHelper#label (closes #8641) [jcoglan]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7541 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-22 17:17:22 +00:00 |
|
David Heinemeier Hansson
|
2ec817c003
|
Fix tests for atom feed
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7533 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-21 23:42:59 +00:00 |
|
David Heinemeier Hansson
|
8b2439e5e4
|
Added AtomFeedHelper (slightly improved from the atom_feed_helper plugin) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7529 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-21 22:17:35 +00:00 |
|
Jeremy Kemper
|
09e76e6aca
|
Autolink behaves well with emails embedded in URLs. Closes #7313.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7516 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-20 20:40:22 +00:00 |
|
Jeremy Kemper
|
835cb43745
|
Revert [7397]. Reopens #7313.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7515 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-20 08:27:45 +00:00 |
|
Jeremy Kemper
|
8fd263cd4e
|
tag_options creates fewer objects
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-18 10:55:15 +00:00 |
|
David Heinemeier Hansson
|
0b0931e150
|
Added block-acceptance to JavaScriptHelper#javascript_tag (closes #7527) [BobSilva/tarmo/rmm5t]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7485 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-15 21:34:25 +00:00 |
|
Michael Koziarski
|
8a7d73cf4d
|
Tidy up link to remote options. Closes #9505. [nik.wakelin]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7468 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-12 02:13:59 +00:00 |
|
Jeremy Kemper
|
9807b55c6b
|
Purge empty files
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7465 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-11 19:54:06 +00:00 |
|
David Heinemeier Hansson
|
bc290c083c
|
Moved ActionController::Macros::AutoComplete into the auto_complete plugin on the official Rails svn #9512 [lifofifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7450 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-11 02:57:19 +00:00 |
|
David Heinemeier Hansson
|
2807ccc69a
|
Moved ActionController::Macros::InPlaceEditing into the in_place_editor plugin on the official Rails svn (closes #9513) [lifofifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7442 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-10 00:53:13 +00:00 |
|
David Heinemeier Hansson
|
c6c3fc42d8
|
Removed the deprecated behavior of appending ".png" to image_tag/image_path calls without an existing extension [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7432 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-09 22:41:45 +00:00 |
|
David Heinemeier Hansson
|
73c7083651
|
Rename fieldset_tag to field_set_tag to follow the conventions from text_area and text_field [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7423 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-09 15:58:12 +00:00 |
|
Michael Koziarski
|
0e6c8e5f6c
|
Add fieldset_tag for generating fieldsets, closes #9477. [djanowski]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7413 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-06 05:53:29 +00:00 |
|
Michael Koziarski
|
21837821a8
|
Add array support to remote_form_for for polymorphic urls. Closes #8654 [jade]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-02 23:53:31 +00:00 |
|
Michael Koziarski
|
a79ac12c4e
|
Make auto link behave well with URLs containing email addresses. Closes #7313 [jeremymcnally]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7397 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-02 23:52:01 +00:00 |
|
Michael Koziarski
|
bde8be41fb
|
Properly quote the arguments to visual_effect. Closes #7220 [jeremymcanally]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7396 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-02 23:51:27 +00:00 |
|
Michael Koziarski
|
719d3e8a9a
|
Use mocha to avoid the sleep calls in the compiled_template tests. [tarmo] Closes #9372
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7370 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-08-29 03:14:15 +00:00 |
|