Rick Olson
|
51cd1aec00
|
Fix assert_redirected_to tests according to real-world usage.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4261 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-25 03:54:46 +00:00 |
|
Rick Olson
|
526c69b49e
|
Diff compared options with #assert_redirected_to [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4248 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-22 15:08:25 +00:00 |
|
Jamis Buck
|
e75d27f405
|
restore some commented lines
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4245 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-21 20:15:53 +00:00 |
|
Jamis Buck
|
0a0b5bd722
|
fix to ';' interpretation in route recognition--only follow a route with ';' if the segment in question actually contains a ';'
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4244 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-21 17:21:26 +00:00 |
|
Jamis Buck
|
1f80f540a7
|
Add support in routes for semicolon delimited "subpaths", like /books/:id;:action
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4242 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-21 15:17:02 +00:00 |
|
Sam Stephenson
|
9d8e34808f
|
Change link_to_function and button_to_function to (optionally) take an update_page block instead of a JavaScript string. Closes #4804.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4235 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-19 18:08:15 +00:00 |
|
Sam Stephenson
|
23585d721d
|
Added :add_headers option to verify which merges a hash of name/value pairs into the response's headers hash if the prerequisites cannot be satisfied
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4201 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-08 07:04:21 +00:00 |
|
David Heinemeier Hansson
|
47b74e6e16
|
Added ActionController.filter_parameter_logging that makes it easy to remove passwords, credit card numbers, and other sensitive information from being logged when a request is handled #1897 [jeremye@bsa.ca.gov]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-07 22:26:25 +00:00 |
|
David Heinemeier Hansson
|
42d8548e94
|
Failed test for Marcel to ponder
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4178 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-06 03:51:52 +00:00 |
|
Marcel Molina
|
4859b6c09e
|
Honor skipping filters conditionally for only certain actions even when the parent class sets that filter to conditionally be executed only for the same actions. Closes #4522.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-05 04:39:59 +00:00 |
|
Thomas Fuchs
|
1fcc60895b
|
Add additional autocompleter options [aballai, Thomas Fuchs]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-02 14:04:03 +00:00 |
|
David Heinemeier Hansson
|
2cc9b21c07
|
Skip complete URLs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4099 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-29 21:11:44 +00:00 |
|
David Heinemeier Hansson
|
91383e0426
|
Added automated timestamping to AssetTagHelper methods for stylesheets, javascripts, and images when Action Controller is run under Rails [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-29 20:57:53 +00:00 |
|
David Heinemeier Hansson
|
31199a9e4a
|
Update description
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-28 01:11:09 +00:00 |
|
David Heinemeier Hansson
|
0c07e08d60
|
ActionView: Allow to register a Template handler with a Symbol (dont kill markaby) (closes #4328) [murphy@cYcnus.de]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4056 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-26 21:50:22 +00:00 |
|
Rick Olson
|
666537572d
|
finish form_for change, allow hash as the second param: form_for :post, :url => { }.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4051 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-26 20:21:27 +00:00 |
|
Rick Olson
|
4238666627
|
Change #form_for and #fields_for so that the second argument is not required [Dave Thomas]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4047 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-26 19:45:56 +00:00 |
|
Nicholas Seckar
|
c05c22a45f
|
Fix double url escaping of remote_function. Add :escape => false option to ActionView's url_for.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4014 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-22 19:41:39 +00:00 |
|
David Heinemeier Hansson
|
f46eb2ab64
|
Fix test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4012 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-22 19:28:46 +00:00 |
|
Jamis Buck
|
b0189f3f2f
|
Fix assert_redirected_to so it works with symbols
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4004 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-20 18:16:48 +00:00 |
|
Rick Olson
|
f49ba114db
|
Add :script option to in_place_editor to support evalScripts (closes #4194) [codyfauser@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3985 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-19 19:40:11 +00:00 |
|
Rick Olson
|
a6cfb4e0e4
|
Fix mixed case enumerable methods in the JavaScript Collection Proxy (closes #4314) [codyfauser@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3984 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-19 19:38:38 +00:00 |
|
Nicholas Seckar
|
ab9f324423
|
Undo accidental escaping for mail_to; add regression test. Fix incorrect credit in changelog. Closes #4202.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-19 17:03:02 +00:00 |
|
Rick Olson
|
891a962a19
|
Added nicer message for assert_redirected_to (closes #4294) [court3nay, Chris McGrath]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3969 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-19 03:50:14 +00:00 |
|
Nicholas Seckar
|
1e7ce13b37
|
Change url_for to escape the resulting URLs when called from a view. Closes #4202
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3953 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-18 22:36:52 +00:00 |
|
David Heinemeier Hansson
|
c0ad3b6b68
|
Added test for Accept header for xml_http_request calls in functional tests (closes #4222) [agkr@pobox.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3948 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-18 21:23:14 +00:00 |
|
David Heinemeier Hansson
|
cc6e8ae57a
|
Removed XML argument style for respond_to, so type.xml(object.to_xml) no longer works -- it wasnt worth the exception
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3944 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-18 21:17:14 +00:00 |
|
David Heinemeier Hansson
|
f22f352ee3
|
Added easy support for testing file uploads with fixture_file_upload (closes #4105) [turnip@turnipspatch.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3939 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-18 20:10:52 +00:00 |
|
Jamis Buck
|
79a82e3a97
|
Make sure xml_simple requests don't blow up if an empty request body is recieved
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3936 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-18 18:56:19 +00:00 |
|
Jamis Buck
|
b2122159b1
|
fix broken respond_to test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3934 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-18 17:15:22 +00:00 |
|
Nicholas Seckar
|
240213177e
|
Add ability for relative_url_root to be specified via an environment variable RAILS_RELATIVE_URL_ROOT. Closes #4243.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3931 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-18 16:45:40 +00:00 |
|
David Heinemeier Hansson
|
129a159d12
|
Fixed link_to "somewhere", :post => true to produce valid XHTML by using the parentnode instead of document.body for the instant form (closes #3007) [Bob Silva]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3928 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-18 16:25:11 +00:00 |
|
David Heinemeier Hansson
|
7bfca7e717
|
Added :function option to PrototypeHelper#observe_field/observe_form that allows you to call a function instead of submitting an ajax call as the trigger (closes #4268) [jonathan@daikini.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3926 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-18 16:08:09 +00:00 |
|
David Heinemeier Hansson
|
9840dc84f1
|
Allow for respond_to(:html, :js, :xml) (closes #4277) [Caio Chassot]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3919 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-18 06:43:37 +00:00 |
|
Jamis Buck
|
7e46571115
|
Add a test to make sure basic XML entities get unescaped properly
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3918 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-18 06:21:04 +00:00 |
|
Jamis Buck
|
4e0028fbab
|
Make Mime::Type.parse consider q values (if any)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3917 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-18 06:15:28 +00:00 |
|
Jamis Buck
|
459559a8bc
|
XML-formatted requests are typecast according to "type" attributes for :xml_simple
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3915 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-18 05:07:27 +00:00 |
|
David Heinemeier Hansson
|
4e15bf787e
|
Fixed proxy support for lighttpd (closes #3267) [stephen_purcell@yahoo.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3894 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-16 04:16:08 +00:00 |
|
David Heinemeier Hansson
|
275ea6de49
|
Added TestRequest#raw_post that simulate raw_post from CgiRequest (closes #3042) [francois.beausoleil@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-16 03:15:12 +00:00 |
|
David Heinemeier Hansson
|
7d06259be9
|
Dots in template path should not trip up rendering (closes #4244) [lmarlow@yahoo.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3884 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-16 02:51:19 +00:00 |
|
Jamis Buck
|
2429074075
|
Underscore dasherized keys in formatted requests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3878 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-15 21:46:41 +00:00 |
|
Jamis Buck
|
6480d49749
|
Add MimeResponds::Responder#any for managing multiple types with identical responses
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3876 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-15 18:27:26 +00:00 |
|
Sam Stephenson
|
3589871de8
|
Added simple alert() notifications for RJS exceptions when config.action_view.debug_rjs = true. Set debug_rjs = true for the default development environment.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3856 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-13 02:11:59 +00:00 |
|
David Heinemeier Hansson
|
06c2b43f36
|
Rendering xml shouldnt happen inside any layout. Added class proxying to RJS, so you can call page.field.clear("my_field") to generate Field.clear("my_field");. Added :content_type option to render, so you can change the content type on the fly. Do type/subtype reordering of Accept header preferences for xml types (aka make Firefox work with respond_to). CHANGED DEFAULT: The default content type for .rxml is now application/xml instead of type/xml, see http://www.xml.com/pub/a/2004/07/21/dive.html for reason
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3852 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-13 01:33:57 +00:00 |
|
David Heinemeier Hansson
|
09cec78248
|
Default mime type for XML should be application/xml [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3849 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-12 18:50:14 +00:00 |
|
David Heinemeier Hansson
|
de37f7df4f
|
Mime types are separated by a comma, not semicolon, in the Accept header. Also switch all internal configuration of mime types away from strings and over to Mime::Type [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-12 16:03:44 +00:00 |
|
David Heinemeier Hansson
|
7af12d04ce
|
Added synonym and custom type handling to respond_to [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3844 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-12 06:02:44 +00:00 |
|
David Heinemeier Hansson
|
9e2932f816
|
Assume that we accept what we give [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-12 05:13:55 +00:00 |
|
David Heinemeier Hansson
|
de660957a5
|
Added defaults to respond_to [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3842 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-12 03:39:58 +00:00 |
|
David Heinemeier Hansson
|
6e3e5cadfb
|
Added option to render action/template/file of a specific extension (and here by template type). This means you can have multiple templates with the same name but a different extension [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3841 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-12 01:56:55 +00:00 |
|