Rick Olson
|
e781faddca
|
Fix HTML Sanitizer to allow trailing spaces in CSS style attributes. Closes #10566 [wesley.moxam]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8485 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-23 21:07:20 +00:00 |
|
Jeremy Kemper
|
fa906778ff
|
Integration tests use ActionController::Dispatcher rather than the old Dispatcher. Closes #10596.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8483 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-22 19:03:01 +00:00 |
|
Jeremy Kemper
|
a81333f115
|
Add :default option to time_zone_select. Closes #10590.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8473 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 22:18:07 +00:00 |
|
Jeremy Kemper
|
0333190d1a
|
Rails 1.9 compat: asset tag helper tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 12:26:51 +00:00 |
|
Jeremy Kemper
|
7630b38e22
|
Ruby 1.9 compat: compiled templates test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8468 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 12:26:27 +00:00 |
|
Jeremy Kemper
|
79790df40c
|
Ruby 1.9 compat: note failing form options helper test, probably in html-scanner
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8465 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 12:25:55 +00:00 |
|
Jeremy Kemper
|
a4c77f9bc4
|
Ruby 1.9 compat: text helper
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8464 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 11:51:17 +00:00 |
|
Jeremy Kemper
|
f16cd7220f
|
Ruby 1.9 compat: ENV.delete rather than assigning nil
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8452 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-20 22:27:37 +00:00 |
|
Jeremy Kemper
|
f91acf0258
|
Ruby 1.9 compat: move from the deprecated Base64 module to ActiveSupport::Base64. Closes #10554.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8433 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-18 21:14:07 +00:00 |
|
David Heinemeier Hansson
|
0f6c86ff40
|
Added delete_via_redirect and put_via_redirect to integration testing (closes #10497) [philodespotos]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-17 00:39:19 +00:00 |
|
David Heinemeier Hansson
|
436da684dc
|
Allow headers[Accept] to be set by hand when calling xml_http_request (closes #10461) [BMorearty]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-17 00:10:18 +00:00 |
|
David Heinemeier Hansson
|
26e10218bc
|
Added OPTIONS to list of default accepted HTTP methods (closes #10449) [holoway]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8425 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-17 00:06:24 +00:00 |
|
David Heinemeier Hansson
|
d6859a7216
|
Add tests for html_escape, and remove an unneeded backslash (closes #10511) [fxn]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8422 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-16 23:53:45 +00:00 |
|
David Heinemeier Hansson
|
56e646296a
|
Added option to pass proc to ActionController::Base.asset_host for maximum configurability (closes #10521) [chuyeow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8421 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-16 23:50:02 +00:00 |
|
Jeremy Kemper
|
2f61985540
|
Mark that render tests crash Ruby 1.9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8410 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:29:45 +00:00 |
|
Jeremy Kemper
|
ee0ea35d91
|
Ruby 1.9 compat: helpers
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8409 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:29:36 +00:00 |
|
Jeremy Kemper
|
525cac7f82
|
Note that filters test crashes Ruby 1.9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8408 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:29:24 +00:00 |
|
Jeremy Kemper
|
a3143eaa98
|
Ruby 1.9 compat: account for new, non-flattening Array#to_s
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8407 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:29:15 +00:00 |
|
Jeremy Kemper
|
f85089aabb
|
Fixes for standalone tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8406 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:29:04 +00:00 |
|
Jeremy Kemper
|
11dde5ca2f
|
Ruby 1.9 compat: cookies
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8405 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:28:53 +00:00 |
|
David Heinemeier Hansson
|
78727dd8e2
|
Fixed that ActionView#file_exists? would be incorrect if @first_render is set (closes #10569) [dbussink]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8385 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-14 18:07:20 +00:00 |
|
Jeremy Kemper
|
9aca06fbee
|
More Action View refactoring. Knock :erb default down a notch. Closes #10455.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8374 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-10 23:14:47 +00:00 |
|
Jeremy Kemper
|
18344e9b0e
|
Missed commit. Closes #10437.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8373 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-10 22:36:11 +00:00 |
|
Jeremy Kemper
|
93ec552e9b
|
Fix up template handler tests. Closes #10437.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8372 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-10 20:41:59 +00:00 |
|
Jeremy Kemper
|
b1ce7e4d4a
|
Ruby 1.9 compat: File.exists\? -> File.exist\? en masse. References #1689 [Pratik Naik]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-10 05:54:46 +00:00 |
|
Jeremy Kemper
|
bafd698acb
|
render :xml and :json preserve custom content types. Closes #10388.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8342 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-09 22:11:37 +00:00 |
|
Jeremy Kemper
|
db885e81b9
|
Ignore illegal seeks on body rewind. Catches CGI errors depending on your httpd. Closes #10404 [Curtis Hawthorne]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8327 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-07 04:20:20 +00:00 |
|
David Heinemeier Hansson
|
8f24701ae1
|
Fixed send_file/binary_content for testing (closes #8044) [tolsen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8318 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 23:23:04 +00:00 |
|
David Heinemeier Hansson
|
2af36bbbd4
|
Fix typos (closes #10378)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8301 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 18:54:41 +00:00 |
|
Michael Koziarski
|
2eaa8e67c0
|
Remove Great Britain from the Country select helper to ensure consistency with iso 3166's long_names. Closes #6872 [Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8277 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 05:55:26 +00:00 |
|
David Heinemeier Hansson
|
3a622d0045
|
Fix broken test (closes #10364) [chuyeow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8271 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 02:34:36 +00:00 |
|
Rick Olson
|
112ed30316
|
Add 'disabled' attribute to <OPTION> separators used in time zone and country selects. Closes #10354 [hasmanyjosh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8267 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-04 05:30:28 +00:00 |
|
David Heinemeier Hansson
|
9663f9952a
|
Make sure that setting the format with a symbol works too
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8261 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-03 19:49:22 +00:00 |
|
Michael Koziarski
|
92f02adf40
|
Don't escape forward slashes with String#to_json, our unicode encoding of < and > prevent the XSS problems. [tpope] Closes #10273
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8255 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-02 08:45:35 +00:00 |
|
David Heinemeier Hansson
|
84ca7e6ef7
|
Deal with nested fields_for too [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8253 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-02 01:10:50 +00:00 |
|
David Heinemeier Hansson
|
d0ce7cd4c7
|
Added the same record identification guessing rules to fields_for as form_for has [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8252 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-02 00:46:43 +00:00 |
|
David Heinemeier Hansson
|
e03f13c553
|
Fixed that verification violations with no specified action didn't halt the chain (now they do with a 400 Bad Request) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8245 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-30 21:04:57 +00:00 |
|
Rick Olson
|
0a9bc591e7
|
Raise UnknownHttpMethod exception for unknown HTTP methods. Closes #10303 [tarmo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8235 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-29 02:08:51 +00:00 |
|
Michael Koziarski
|
6a611e1e95
|
Make sure the optimisation code for routes doesn't get used if :host, :anchor or :port are provided in the hash arguments. [pager, Koz] Closes #10292
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8227 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-28 04:11:37 +00:00 |
|
David Heinemeier Hansson
|
45d679bcb8
|
Added protection from trailing slashes on page caching (closes #10229) [devrieda]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-28 00:29:43 +00:00 |
|
David Heinemeier Hansson
|
5e94f053cb
|
Fixed to_s bug with namespace routes (closes #10283) [johnb]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-26 22:41:28 +00:00 |
|
Rick Olson
|
87e506da53
|
Add #prepend_view_path and #append_view_path instance methods on ActionController::Base for consistency with the class methods. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8214 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-26 03:59:23 +00:00 |
|
Rick Olson
|
1af084ecda
|
Refactor sanitizer helpers into HTML classes and make it easy to swap them out with custom implementations. Closes #10129. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-26 03:45:54 +00:00 |
|
David Heinemeier Hansson
|
9e76b59c85
|
Fixed that named routes living under resources shouldn't have double slashes (closes #10198) [isaacfeliu]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8206 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-25 22:24:23 +00:00 |
|
Michael Koziarski
|
155eb47cf3
|
Tests and fix for extension extraction. References #10130 [tarmo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8187 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-22 05:01:07 +00:00 |
|
Michael Koziarski
|
ec93d61fb9
|
Make sure that cookie sessions use a secret that is at least 30 chars in length. [Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8184 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-21 21:31:45 +00:00 |
|
Michael Koziarski
|
41fb4904e2
|
Refactor cookie_only option to survive multiple requests and add regression tests. References #10048. [theflow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-21 04:28:59 +00:00 |
|
Michael Koziarski
|
0c12d6c6dc
|
Ensure that the routing optimisation code isn't used when additional arguments are passed to the named route. Closes #10209 [bscofield, Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8169 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-20 21:25:25 +00:00 |
|
Michael Koziarski
|
6d0e5eaf06
|
memoize host with port and refactor the tests which depend on it changing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8164 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-17 05:41:47 +00:00 |
|
Michael Koziarski
|
5ce6d74531
|
Fix Tests broken in [8134]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8135 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-14 09:36:35 +00:00 |
|