Jamis Buck
|
ae7029ddd1
|
Do some path normalization to prevent the possible_controllers list from containing invalid entries
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4443 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-07 16:16:37 +00:00 |
|
Jamis Buck
|
4e3543b467
|
Make sure named routes are never generated relative to some containing module
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4442 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-06 19:09:56 +00:00 |
|
Jamis Buck
|
e768dc694d
|
Improve parameter expiry handling to fix sticky-id issue. Add a more informative Route#to_s method.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4441 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-06 17:59:54 +00:00 |
|
Jamis Buck
|
6c04eb2115
|
Make sure changing the controller from foo/bar to bing/bang does not change relative to foo.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4438 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-05 15:48:29 +00:00 |
|
Jamis Buck
|
149f5cad85
|
Escape the entire path before trying to recognize it (closes #3671)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4436 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-05 15:30:09 +00:00 |
|
Jamis Buck
|
2ffc84d23f
|
Make sure :id and friends are properly unescaped (closes #5275).
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4435 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-05 14:51:27 +00:00 |
|
Jamis Buck
|
332fcfaf6b
|
Make sure regexp chunks are grouped when the segment has a regexp constraint so that captures are counted correctly (closes #5267)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4434 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-05 14:31:38 +00:00 |
|
Jeremy Kemper
|
8cdf9126d3
|
Rewind readable CGI params so others may reread them (such as CGI::Session when passing the session id in a multipart form). Closes #210.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4410 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-02 06:30:23 +00:00 |
|
David Heinemeier Hansson
|
6dea52c54e
|
Finish custom handling [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4409 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-02 04:38:28 +00:00 |
|
David Heinemeier Hansson
|
5e998d1ea0
|
Make new mime types first class [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4407 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-02 04:29:34 +00:00 |
|
David Heinemeier Hansson
|
984aa7eeb9
|
Added Mime::Type.register(string, symbol, synonyms = []) for adding new custom mime types [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4405 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-02 04:11:56 +00:00 |
|
David Heinemeier Hansson
|
5c30352328
|
Added support for Mime objects in render :content_type option [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4404 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-02 03:39:56 +00:00 |
|
Jeremy Kemper
|
ac66cf1289
|
Add :status option to send_data and send_file. Defaults to '200 OK'. Closes #5243.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-02 00:51:56 +00:00 |
|
David Heinemeier Hansson
|
9e7e89a561
|
Dont keep nothing as a lookup [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4399 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-01 23:23:24 +00:00 |
|
Jamis Buck
|
b20c575ac0
|
New routes implementation. Simpler, faster, easier to understand. The published API for config/routes.rb is unchanged, but nearly everything else is different, so expect breakage in plugins and libs that try to fiddle with routes.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4394 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-01 15:42:08 +00:00 |
|
Jeremy Kemper
|
ce99c87551
|
Cope with missing content type and length headers. Parse parameters from multipart and urlencoded request bodies only. Accept multipart PUT parameters. Closes #5235.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4388 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-01 00:01:48 +00:00 |
|
David Heinemeier Hansson
|
f9cd92f4ee
|
Added interrogation of params[:format] to determine Accept type. If :format is specified and matches a declared extension, like "rss" or "xml", that mime type will be put in front of the accept handler. This means you can link to the same action from different extensions and use that fact to determine output [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4384 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-31 18:52:24 +00:00 |
|
Jeremy Kemper
|
6ce3bf70a2
|
follow_redirect doesn't complain about being redirected to the same controller. Closes #5153.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4361 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-22 22:59:56 +00:00 |
|
Marcel Molina
|
7252666b74
|
Add layout attribute to response object with the name of the layout that was rendered, or nil if none rendered. [Kevin Clark kevin.clark@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4346 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-17 07:25:36 +00:00 |
|
Michael Koziarski
|
d153525c53
|
Fix NoMethodError when parsing params like &&. [Adam Greenfield]. Closes #4955
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4343 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-16 20:56:41 +00:00 |
|
Rick Olson
|
04ef7f4be6
|
Small fix in routing to allow dynamic routes (broken after [4242]) [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4319 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-30 21:06:49 +00:00 |
|
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
|
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 |
|
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 |
|
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
|
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 |
|
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
|
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 |
|