David Heinemeier Hansson
|
93f7cb2a80
|
Added TestResponse#binary_content that'll return as a string the data sent through send_data/send_file for testing #500 [Alexey]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@467 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-20 14:43:59 +00:00 |
|
David Heinemeier Hansson
|
1a5bf720b2
|
Added @request.env['RAW_POST_DATA'] for people who need access to the data before Ruby's CGI has parsed it #505 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@463 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-20 14:31:48 +00:00 |
|
David Heinemeier Hansson
|
2ee84cc6f9
|
Fixed that all redirect and render calls now return true, so you can use the pattern of "do and return". Added that renders and redirects called in before_filters will have the same effect as returning false: stopping the chain. Added that only one render or redirect can happen per action. The first call wins and subsequent calls are ignored.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@462 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-20 14:13:34 +00:00 |
|
David Heinemeier Hansson
|
91ff8352a4
|
Fixed that a default fragment store wan't being set to MemoryStore as intended
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@461 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-20 14:12:53 +00:00 |
|
David Heinemeier Hansson
|
cd3f14cf38
|
Fixed a bug where cookies wouldn't be set if a symbol was used instead of a string as the key
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@453 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-17 23:38:14 +00:00 |
|
David Heinemeier Hansson
|
6ca5eba396
|
Added assert_cookie_equal to assert the contents of a named cookie
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@452 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-17 23:24:47 +00:00 |
|
David Heinemeier Hansson
|
4ec7a4b5b7
|
Fixed bug in page caching that prevented it from working at all
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@447 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-17 17:30:40 +00:00 |
|
David Heinemeier Hansson
|
9a33b9a737
|
Added more informative error message for "file not found" situation in send_file #484 [Alexey]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@427 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-16 13:06:15 +00:00 |
|
David Heinemeier Hansson
|
bc4156e09e
|
Finished documentation for caching
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-15 22:16:41 +00:00 |
|
David Heinemeier Hansson
|
c755b29a86
|
Fixed page caching problems with saving cached file fails for the index action and that it shouldnt cache files with GET/POST parameters #462
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@407 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-15 13:22:58 +00:00 |
|
David Heinemeier Hansson
|
9c09f81bc6
|
Added arrays as a value option for params in url_for and friends #467 [Eric Anderson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@403 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-13 14:06:33 +00:00 |
|
David Heinemeier Hansson
|
1d61071e7c
|
Fixed that controller tests can now assert on the use of cookies #466 [Alexey]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@402 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-13 14:01:17 +00:00 |
|
David Heinemeier Hansson
|
96e54780b3
|
Fixed that send_file would "remember" all the files sent by adding to the headers again and again #458 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-13 13:29:49 +00:00 |
|
David Heinemeier Hansson
|
d3a8d5f93c
|
Fixed url rewriter confusion when the controller or action name was a substring of the controller_prefix or action_prefix
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@398 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-12 16:23:18 +00:00 |
|
David Heinemeier Hansson
|
cb8a020ec9
|
Fixed url rewriter confusion when the controller name was a substring of the controller_prefix
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@397 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-12 15:21:09 +00:00 |
|
David Heinemeier Hansson
|
d44deadd39
|
Added option to turn off caching
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@394 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 22:03:27 +00:00 |
|
David Heinemeier Hansson
|
2182a8203f
|
Tweaks and tinkering
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@390 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 02:11:24 +00:00 |
|
David Heinemeier Hansson
|
e38ee7cd7f
|
Added conditional layouts like <tt>layout "weblog_standard", :except => :rss</tt> #452 [Marcel Molina] -- We are still missing unit tests for layouts in general, so please do contribute if you want some testing workout
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@387 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 00:50:11 +00:00 |
|
David Heinemeier Hansson
|
18e945d887
|
Added MemCacheStore to fragment caching #449 [Lucas Carlson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@385 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 00:30:53 +00:00 |
|
David Heinemeier Hansson
|
0d1e3846d6
|
Fixed that MemCacheStore wasn't included by default and added default MemCache object pointing to localhost #447 [Lucas Carlson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@384 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 00:29:55 +00:00 |
|
David Heinemeier Hansson
|
bcb8116796
|
Fixed that host would choke when cgi.host returned nil #432 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@381 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 00:15:02 +00:00 |
|
David Heinemeier Hansson
|
ebf424061d
|
Fixed three issues with retrying breakpoints #417 [Florian Gross]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@370 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 22:46:45 +00:00 |
|
David Heinemeier Hansson
|
7ed4b745fc
|
Some missing docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@369 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 19:18:37 +00:00 |
|
David Heinemeier Hansson
|
de5c48c4e3
|
Updated caching to include action caching as well and simplified the name/key reference to just be name
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@368 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 18:20:58 +00:00 |
|
David Heinemeier Hansson
|
576b162725
|
Added that all renders and redirects now return false, so they can be used as the last line in before_filters to stop execution.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@364 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 01:27:39 +00:00 |
|
David Heinemeier Hansson
|
e96c08b1aa
|
Apparently the temp hack for functional tests was still needed
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@363 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 01:17:53 +00:00 |
|
David Heinemeier Hansson
|
c04b71a4b1
|
Removed temporary hack for test/unit problems that only worked for functional tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@362 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 00:40:27 +00:00 |
|
David Heinemeier Hansson
|
11f766d3eb
|
Removed authentication framework as xal made me realize that with noradios conditional filters, it was actually more code to use the framework than doing it by hand. Killing a darling! Props to noradio for the patch and xal for the nerve to stand up and question the captain before the plane crashed. Oh, and a pad on my own back for walking away from a couple of hours of work without getting pissy
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@355 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 17:21:29 +00:00 |
|
David Heinemeier Hansson
|
677d92299b
|
Added conditional filters #431 [Marcel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@354 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 17:14:47 +00:00 |
|
David Heinemeier Hansson
|
cbd367b7fa
|
Added :before option to authentication
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 16:43:21 +00:00 |
|
David Heinemeier Hansson
|
75fca04590
|
Added authentication framework to protect actions behind a condition and redirect on failure. See ActionController::Authentication for more.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@351 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 15:20:00 +00:00 |
|
David Heinemeier Hansson
|
df79e135ac
|
Added first stab at page and fragment caching
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@346 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-08 23:32:11 +00:00 |
|
David Heinemeier Hansson
|
98c02b9656
|
Simplified the set_cookie method and made it indifferent to symbol or string as name
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@343 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-06 23:25:19 +00:00 |
|
David Heinemeier Hansson
|
efe0348486
|
Added the possibility of passing nil to UrlHelper#link_to to use the link itself as the name
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@338 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-05 00:38:09 +00:00 |
|
David Heinemeier Hansson
|
3e74ea89bc
|
Added MemCacheStore for storing session data in Danga's MemCache system [Bob Cottrell]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@330 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-04 02:09:38 +00:00 |
|
David Heinemeier Hansson
|
3e7a4ecc57
|
Fixed redirects when the controller and action is named the same. Still haven't fixed same controller, module, and action, though #201 [Josh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@321 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-02 20:10:11 +00:00 |
|
David Heinemeier Hansson
|
dc79236120
|
Fixed problems with running multiple functional tests in Rails under 1.8.2 by including hack for test/unit weirdness
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@319 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-02 19:34:49 +00:00 |
|
David Heinemeier Hansson
|
ddcc67115c
|
Added thread-safety to the DRbStore #66, #389 [Ben Stiglitz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@315 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-02 16:00:50 +00:00 |
|
David Heinemeier Hansson
|
250a570c04
|
Added class declaration for the MissingFile exception #388 [Kent Sibilev]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@297 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-01 16:29:11 +00:00 |
|
David Heinemeier Hansson
|
60caf0e661
|
Added "short hypertext note with a hyperlink to the new URI(s)" to redirects to fulfill compliance with RFC 2616 (HTTP/1.1) section 10.3.3 #397 [Tim Bates]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@294 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-31 17:07:20 +00:00 |
|
David Heinemeier Hansson
|
2e1a27fa4d
|
Added second boolean parameter to Base.redirect_to_url and Response#redirect to control whether the redirect is permanent or not (301 vs 302) #375 [Hodel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@293 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-31 17:04:15 +00:00 |
|
David Heinemeier Hansson
|
2dd2b56482
|
Auto-requiring of helpers should stay silent when it isn't found for whatever reason
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@290 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-31 16:48:02 +00:00 |
|
David Heinemeier Hansson
|
670fa63342
|
Fixed that @request.remote_ip didn't work in the test environment #369 [Bruno Mattarollo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@289 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-31 16:47:08 +00:00 |
|
David Heinemeier Hansson
|
84d5519b74
|
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@276 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-29 21:12:47 +00:00 |
|
David Heinemeier Hansson
|
8efa1513ed
|
Moved support files into Active Support
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@275 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-29 21:09:59 +00:00 |
|
David Heinemeier Hansson
|
5d0f633239
|
Moved the cookies fix to cgi_ext
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@274 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-29 21:07:50 +00:00 |
|
David Heinemeier Hansson
|
1b0da48fe9
|
Added documentation for using render_with_layout
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@272 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-29 13:36:27 +00:00 |
|
David Heinemeier Hansson
|
00deaf6d56
|
Added :host and :protocol options to url_for and friends to redirect to another host and protocol than the current.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@266 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-23 18:59:24 +00:00 |
|
David Heinemeier Hansson
|
822742164e
|
Forgot to include the new session module
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@254 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-22 14:30:29 +00:00 |
|
David Heinemeier Hansson
|
a04b1f3d8a
|
Added more informative exception when using helper :some_helper and the helper requires another file that fails, you'll get an error message tells you what file actually failed to load, rather than falling back on assuming it was the helper file itself #346 [dblack]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@250 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-22 13:44:16 +00:00 |
|