Rick Olson
|
4d594cffcf
|
Automatically parse posted JSON content for Mime::JSON requests. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9242 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-08 05:05:54 +00:00 |
|
Rick Olson
|
0ff7a2d89f
|
add json_escape ERB util to escape html entities in json strings that are output in HTML pages. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9241 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-08 04:52:01 +00:00 |
|
Josh Peek
|
917423d664
|
Provide a helper proxy to access helper methods from outside views. Closes #10839 [Josh Peek]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-06 18:42:34 +00:00 |
|
Pratik Naik
|
1e087fd3fd
|
Ensure RJS redirect_to doesn't html-escapes string argument. Closes #8546
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-02 12:48:59 +00:00 |
|
Jeremy Kemper
|
30fa377f33
|
Ruby 1.9 compat: encoding and multibyte test fixes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-01 07:39:04 +00:00 |
|
Jeremy Kemper
|
ecdddc4de5
|
Ruby 1.9 compat: proc arity
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9190 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-01 06:11:56 +00:00 |
|
Jeremy Kemper
|
a2ad945627
|
style & whitespace
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-01 06:11:48 +00:00 |
|
Jeremy Kemper
|
b79f7d127a
|
Ruby 1.9: no args is 0 arity, not -1 as in 1.8
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9187 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-01 06:11:31 +00:00 |
|
Jeremy Kemper
|
dd3c0ae95c
|
Missed adds. References #11491.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9178 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-01 00:56:59 +00:00 |
|
Jeremy Kemper
|
9cc478a254
|
Support render :partial => collection of heterogeneous elements. Closes #11491.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9177 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-01 00:50:09 +00:00 |
|
Jeremy Kemper
|
a61b63d420
|
Avoid remote_ip spoofing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9124 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 21:38:01 +00:00 |
|
Jeremy Kemper
|
5c0656c9ee
|
Fix layouts in symlinked paths. Closes #9136 [court3nay, caio]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 20:54:26 +00:00 |
|
Jeremy Kemper
|
6efee90bf2
|
Missing :js template falls back to :html, so you don't have to explicitly specify template format everywhere, breaking old code
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 20:21:52 +00:00 |
|
David Heinemeier Hansson
|
4e69ed0656
|
Add missing file
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 20:17:21 +00:00 |
|
David Heinemeier Hansson
|
db3a60eb92
|
Added support for regexp flags like ignoring case in the :requirements part of routes declarations (closes #11421) [NeilW]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 20:01:21 +00:00 |
|
David Heinemeier Hansson
|
388e5d3fac
|
Fixed that ActionController::Base#read_multipart would fail if boundary was exactly 10240 bytes (closes #10886) [ariejan]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 19:55:31 +00:00 |
|
David Heinemeier Hansson
|
c57254d449
|
Fixed HTML::Tokenizer (used in sanitize helper) didnt handle unclosed CDATA tags (closes #10071) [esad, packagethief]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 19:45:32 +00:00 |
|
Jeremy Kemper
|
4942e5b1cb
|
Whitespace + formatting
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9089 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-25 21:27:57 +00:00 |
|
David Heinemeier Hansson
|
b0bfcca16e
|
Fixed that FormHelper#radio_button would produce invalid ids (closes #11298) [harlancrystal]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9088 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-24 21:32:50 +00:00 |
|
David Heinemeier Hansson
|
123f5a357d
|
Added :confirm option to submit_tag (closes #11415) [miloops]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9087 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-24 21:24:40 +00:00 |
|
David Heinemeier Hansson
|
0e62c773f6
|
Fixed NumberHelper#number_with_precision to properly round in a way that works equally on Mac, Windows, Linux (closes #11409, #8275, #10090, #8027) [zhangyuanyi]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9086 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-24 21:12:55 +00:00 |
|
Rick Olson
|
5bf4cbbdb7
|
Allow the #simple_format text_helper to take an html_options hash for each paragraph. Closes #2448 [Francois Beausoleil, thechrisoshow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9083 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-24 02:29:30 +00:00 |
|
Rick Olson
|
0381398708
|
Fix regression from filter refactoring where re-adding a skipped filter resulted in it being called twice. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9080 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-23 01:48:17 +00:00 |
|
Jeremy Kemper
|
f2840f508d
|
Fix an edge case with extra periods in Routing.normalize_paths. Closes #11337 [cavalle, veejar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9069 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-21 22:44:04 +00:00 |
|
Jeremy Kemper
|
d8f76e66a1
|
Missed adds. References #10350.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9066 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-20 16:51:06 +00:00 |
|
Jeremy Kemper
|
bd940d98bd
|
Re-added ActionView::Helpers::register_javascript/stylesheet_expansion to make it easier for plugin developers to inject multiple assets. Closes #10350.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-20 16:26:04 +00:00 |
|
David Heinemeier Hansson
|
54213dadfd
|
Docfixes (closes #11356, #11172, #10523)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9064 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-20 02:15:29 +00:00 |
|
Jeremy Kemper
|
e87d3e3335
|
Revert [9106]. References #10350.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9063 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-19 19:56:07 +00:00 |
|
Jeremy Kemper
|
856a4dcf12
|
Refactor filters to use Active Support callbacks. Closes #11235.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9055 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-18 17:56:05 +00:00 |
|
David Heinemeier Hansson
|
db08329946
|
Fixed that polymorphic routes would modify the input array (closes #11363) [thomas.lee]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-17 23:45:42 +00:00 |
|
David Heinemeier Hansson
|
3c0fd445c0
|
Added :format option to NumberHelper#number_to_currency to enable better localization support #11149 [lylo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9052 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-17 22:08:25 +00:00 |
|
David Heinemeier Hansson
|
5f5822af37
|
Fixed that TextHelper#excerpt would include one character too many (closes #11268) [Irfy]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9030 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-15 19:59:34 +00:00 |
|
Pratik Naik
|
58c30f6135
|
Move tests from action_view_test.rb to template_finder_test.rb so that they get run by default take task. [Pratik]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9021 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-13 11:52:53 +00:00 |
|
Rick Olson
|
1e0ac3a673
|
Fix more obscure nested parameter hash parsing bug. Closes #10797 [thomas.lee]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9020 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-13 03:22:25 +00:00 |
|
David Heinemeier Hansson
|
e915379a10
|
Added ActionView::Helpers::register_javascript/stylesheet_expansion to make it easier for plugin developers to inject multiple assets (closes #10350) [lotswholetime]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9016 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-13 02:31:45 +00:00 |
|
Rick Olson
|
3a17ea9031
|
Fix nested parameter hash parsing bug. #10797 [thomas.lee]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9010 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-11 07:46:39 +00:00 |
|
Pratik Naik
|
cff3ecc2ae
|
Allow using named routes in ActionController::TestCase before any request has been made. Closes #11273 [alloy]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8992 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-08 12:56:41 +00:00 |
|
Pratik Naik
|
011e469410
|
Make MimeResponds::Responder#any work without explicit types. Closes #11140 [jaw6]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8987 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-07 11:17:05 +00:00 |
|
Pratik Naik
|
d7627361d3
|
Remove unused ActionController::Base.template_class. Closes #10787
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8985 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-05 12:12:17 +00:00 |
|
Pratik Naik
|
a96272a0c5
|
Moved template handlers related code from ActionView::Base to ActionView::Template
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8981 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-05 02:03:24 +00:00 |
|
Pratik Naik
|
89ee5d63d0
|
Tests for div_for and content_tag_for helpers. Closes #11223 [thechrisoshow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8980 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-05 01:26:24 +00:00 |
|
Michael Koziarski
|
cc5a957d2b
|
Allow file uploads in Integration Tests. Closes #11091 [RubyRedRick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8978 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-03 06:42:24 +00:00 |
|
Michael Koziarski
|
51b6619d4e
|
Refactor partial rendering into a PartialTemplate class. [Pratik]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-03 04:01:35 +00:00 |
|
Michael Koziarski
|
4673c47d7b
|
Allow html_options to be passed to all the date helpers. Closes #6000 [h-lame, Jakob S]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8968 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-02 04:40:54 +00:00 |
|
Michael Koziarski
|
6da3771346
|
Fix regexp to contain only one rjs, and add rhtml [lifofifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-01 00:01:28 +00:00 |
|
David Heinemeier Hansson
|
7dcd0d7d96
|
Added that requests with JavaScript as the priority mime type in the accept header and no format extension in the parameters will be treated as though their format was :js when it comes to determining which template to render. This makes it possible for JS requests to automatically render action.js.rjs files without an explicit respond_to block [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8956 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-29 18:09:23 +00:00 |
|
Jeremy Kemper
|
5e83612766
|
Fix Hash#from_xml with Type records. Closes #9242 [Juanjo Bazan, Isaac Feliu]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8937 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-27 23:11:08 +00:00 |
|
Michael Koziarski
|
cd937e6ad7
|
Make date_helper use tag and content_tag. Move to assert_dom_equal instead of assert_equal to avoid being dependent on hash ordering. Closes #11131 [ernesto.jimenez]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8911 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-20 04:23:18 +00:00 |
|
Michael Koziarski
|
1537aec184
|
use stubbing instead of monkeypatching to stop tests from interfering with one another. Closes #11163 [RubyRedRick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8899 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-19 21:43:13 +00:00 |
|
Michael Koziarski
|
db4f421b0b
|
Add :trailing_slash option to UrlWriter. Closes #9117 [juanjo.bazan]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8892 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-18 00:42:06 +00:00 |
|