David Heinemeier Hansson
|
dd8c92ea5b
|
Fixed Request#remote_ip in testing #1251 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1322 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 18:24:52 +00:00 |
|
David Heinemeier Hansson
|
473e5bde74
|
Fixed that compute_public_path should recognize external URLs, so image_tag("http://www.example.com/images/icon.gif") is not prefixed with the relative url path #1254 [victor-ronr-trac@carotena.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1321 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 18:06:12 +00:00 |
|
David Heinemeier Hansson
|
202d5c0751
|
Added support for descending year values in DateHelper#select_year, like select_year(Date.today, :start_year => 2005, :end_year => 1900), which would count down from 2005 to 1900 instead of the other way #1274 [nwoods@mail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1320 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 17:40:02 +00:00 |
|
David Heinemeier Hansson
|
496ee0cd1b
|
Fixed that FormHelper#checkbox should return a checked checkbox if the value is the same as checked_value #1286 [Florian Weber]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 17:27:08 +00:00 |
|
David Heinemeier Hansson
|
aa20834222
|
Added accessors to logger, params, response, session, and headers from the view, so you can write <% logger.info "stuff" %> instead of <% @logger.info "others" %> -- more consistent with the preferred way of accessing these attributes and collections from the controller
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1307 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 16:00:04 +00:00 |
|
David Heinemeier Hansson
|
45780be2a7
|
Added TextHelper#sanitize that can will remove any Javascript handlers, blocks, and forms from an input of HTML. This allows for use of HTML on public sites, but still be free of XSS issues. #1277 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1298 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-09 11:24:18 +00:00 |
|
David Heinemeier Hansson
|
dacb61c8ca
|
Added that both AssetHelper#stylesheet_link_tag and AssetHelper#javascript_include_tag now accept an option hash as the last parameter, so you can do stuff like: stylesheet_link_tag "style", :media => "all"
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1281 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-03 14:39:57 +00:00 |
|
David Heinemeier Hansson
|
e6f3e5d900
|
Fixed action/fragment caching using the filestore when a directory and a file wanted to to use the same name. Now there's a .cache prefix that sidesteps the conflict #1188 [imbcmdth@hotmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1260 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-30 15:29:27 +00:00 |
|
David Heinemeier Hansson
|
98306bed05
|
Fixed missing id uniqueness in FormTag#radio_button #1207 [Jarkko]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1253 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-30 08:46:22 +00:00 |
|
David Heinemeier Hansson
|
b4fe4daa84
|
Fixed assert_redirected_to to work with :only_path => false #1204 [Alisdair McDiarmid]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1251 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-30 08:34:02 +00:00 |
|
David Heinemeier Hansson
|
3b9bf64130
|
Added support for web servers that use PATH_INFO instead of REQUEST_URI like IIS #1014 [BradG/Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1211 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-18 15:43:07 +00:00 |
|
David Heinemeier Hansson
|
806cf6d76a
|
Added assert_tag and assert_no_tag as a much improved alternative to the deprecated assert_template_xpath_match #1126 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1195 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-17 16:43:48 +00:00 |
|
David Heinemeier Hansson
|
dca7efa67e
|
Deprecated the majority of all the testing assertions and replaced them with a much smaller core and access to all the collections the old assertions relied on. That way the regular test/unit assertions can be used against these. Added documentation about how to use it all.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-17 11:38:01 +00:00 |
|
David Heinemeier Hansson
|
8e8bf37aa9
|
Fixed DateHelper to return values on the option tags such that they'll work properly in IE with form_remote_tag #1024 [rscottmace@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1184 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-17 09:44:28 +00:00 |
|
David Heinemeier Hansson
|
ba96827b3d
|
Fixed FormTagHelper#check_box to respect checked #1049 [DelynnB]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-17 09:39:01 +00:00 |
|
David Heinemeier Hansson
|
e5b3d08a0a
|
Added that render_partial called from a controller will use the action name as default #828 [Dan Peterson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1182 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-17 09:25:54 +00:00 |
|
David Heinemeier Hansson
|
ffdd4bc251
|
Added AssetTagHelper#image_path, AssetTagHelper#javascript_path, and AssetTagHelper#stylesheet_path #1110 [Larry Halff]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-17 06:23:27 +00:00 |
|
David Heinemeier Hansson
|
68dfe3e046
|
Clean up load paths to avoid unit test interaction #1113 [alles@atomicobject.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1174 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-17 06:16:00 +00:00 |
|
David Heinemeier Hansson
|
7f558cbd05
|
Fixed that *rest parameter in map.connect couldn't accept an empty list #1037 [Dee.Zsombor@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-13 05:35:51 +00:00 |
|
David Heinemeier Hansson
|
c29db9f210
|
Added minute_step as an option to select_minute (and the helpers that use it) to jump in larger increments than just 1 minute. At 15, it would return 0, 15, 30, 45 options #1085 [ordwaye@evergreen.edu]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-13 05:15:41 +00:00 |
|
David Heinemeier Hansson
|
988dc1e862
|
Improved tests for NumberHelper
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1151 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-13 04:49:01 +00:00 |
|
David Heinemeier Hansson
|
7140f65355
|
Moved TextHelper#human_size to NumberHelper#number_to_human_size, but kept an deprecated alias to the old method name
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1147 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-12 08:04:38 +00:00 |
|
David Heinemeier Hansson
|
ac4b4701c0
|
Fixed that radio buttons shouldn't have a default size attribute #1074 [hendrik@mans.de] Added ActionView::Helpers::InstanceTag::DEFAULT_RADIO_OPTIONS that contains a hash of default options for radio buttons #1074 [hendrik@mans.de]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-10 15:11:15 +00:00 |
|
David Heinemeier Hansson
|
25d27b39ea
|
Fixed a few tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-10 15:07:52 +00:00 |
|
David Heinemeier Hansson
|
4ab40059b7
|
Added simulation of @request.request_uri in functional tests #1038 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1103 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-07 06:22:19 +00:00 |
|
David Heinemeier Hansson
|
808d76a858
|
Fixed autolinking to work better in more cases #1013 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1100 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-06 15:22:46 +00:00 |
|
David Heinemeier Hansson
|
7c8d2f28e1
|
Removed broken attempt to DRY module ClassMethod #970
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1069 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-02 09:29:43 +00:00 |
|
David Heinemeier Hansson
|
ce96c5b30b
|
Added assert_no_cookie and fixed assert_cookie_equal to deal with non-existing cookies #979 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-02 08:54:25 +00:00 |
|
David Heinemeier Hansson
|
00121b2ca2
|
Added :method option to verify for ensuring that either GET, POST, etc is allowed #984 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1060 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-02 08:33:30 +00:00 |
|
David Heinemeier Hansson
|
f7c61b629e
|
Added options to set cc, bcc, subject, and body for UrlHelper#mail_to #966 [DeLynn]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1056 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-02 08:16:57 +00:00 |
|
David Heinemeier Hansson
|
7d09b8d723
|
Fixed include_blank for select_hour/minute/second #527 [edward@debian.org]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1055 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-02 07:54:01 +00:00 |
|
David Heinemeier Hansson
|
520dae295b
|
Added include_seconds option as the third parameter to distance_of_time_in_words which will render "less than a minute" in higher resolution ("less than 10 seconds" etc) #944 [thomas@fesch.at]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1010 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-26 22:00:23 +00:00 |
|
David Heinemeier Hansson
|
9fb6a54a16
|
Added fourth option to process in test cases to specify the content of the flash #949 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1009 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-26 21:43:25 +00:00 |
|
David Heinemeier Hansson
|
f569a14318
|
Added Verifications that allows you to specify preconditions to actions in form of statements like <tt>verify :only => :update_post, :params => "admin_privileges", :redirect_to => { :action => "settings" }</tt>, which ensure that the update_post action is only called if admin_privileges is available as a parameter -- otherwise the user is redirected to settings. #897 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-26 21:41:10 +00:00 |
|
David Heinemeier Hansson
|
3fe9d8ac35
|
Added JavascriptHelper#escape_javascript as a public method (was private) and made it escape both single and double quotes and new lines #940 [mortonda@dgrmm.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1002 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-26 14:03:55 +00:00 |
|
David Heinemeier Hansson
|
a5b55c6b9f
|
Removed old UrlWriter methods that are no longer in use after Routes #942
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@999 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-26 13:31:01 +00:00 |
|
David Heinemeier Hansson
|
b88fa4d1df
|
Routes: *path items should use arrays #883
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@954 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-21 00:40:51 +00:00 |
|
David Heinemeier Hansson
|
0919dbf6b6
|
Routes: Convert results of #to_param to strings #879
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@947 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-20 22:44:12 +00:00 |
|
David Heinemeier Hansson
|
a61360688c
|
Changed .htaccess to allow dispatch.* to be called from a sub-directory as part of the push with Action Pack to make Rails work on non-vhost setups #826 [Nicholas Seckar/Tobias Luetke] Fixed routing and helpers to make Rails work on non-vhost setups #826 [Nicholas Seckar/Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@945 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-20 22:02:22 +00:00 |
|
David Heinemeier Hansson
|
a35cf348bf
|
Added a much improved Flash module that allows for finer-grained control on expiration and allows you to flash the current action #839 [Caio Chassot]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@942 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-20 19:12:53 +00:00 |
|
David Heinemeier Hansson
|
6cd3bda32f
|
Fixed form helpers to query Model#id_before_type_cast instead of Model#id as a temporary workaround for Ruby 1.8.2 warnings #818 [DeLynn B]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@934 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-20 15:08:30 +00:00 |
|
David Heinemeier Hansson
|
1b93da3262
|
Added TextHelper#simple_format as a non-dependency text presentation helper.Fixed TextHelper#markdown to use blank? instead of empty? so it can deal with nil strings passed #814 [Johan Sorensen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-20 15:03:32 +00:00 |
|
David Heinemeier Hansson
|
ebf6637918
|
Added that the html options disabled, readonly, and multiple can all be treated as booleans. So specifying <tt>disabled => :true</tt> will give <tt>disabled="disabled"</tt>. #809 [mindel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@932 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-20 14:49:37 +00:00 |
|
David Heinemeier Hansson
|
37a46151ec
|
Added path collection syntax for Routes that will gobble up the rest of the url and pass it on to the controller #830 [rayners]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@927 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-20 14:04:33 +00:00 |
|
David Heinemeier Hansson
|
f32cbb52a5
|
Added more FormTagHelper test cases #860 [Eric Hodel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@925 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-20 13:51:01 +00:00 |
|
David Heinemeier Hansson
|
9015ce4cc2
|
Fixed options_for_select on selected line issue #624 [Florian Weber]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@911 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-15 00:13:14 +00:00 |
|
David Heinemeier Hansson
|
193edfbfdb
|
Removed the reliance on PATH_INFO as it was causing problems for caching and inhibited the new non-vhost support #822 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@901 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-14 00:25:24 +00:00 |
|
David Heinemeier Hansson
|
9790233dfd
|
Moved image_tag to AssetTagHelper
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@899 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-14 00:18:12 +00:00 |
|
David Heinemeier Hansson
|
5a4846a0d3
|
Added TagHelper#image_tag and deprecated UrlHelper#link_image_to (recommended approach is to combine image_tag and link_to instead)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@879 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-09 13:53:47 +00:00 |
|
David Heinemeier Hansson
|
688f0f6712
|
Fixed that map.connect should convert arguments to strings #780 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@855 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-06 14:16:25 +00:00 |
|