aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
* Fixed that all redirect and render calls now return true, so you can use the ↵David Heinemeier Hansson2005-01-202-7/+22
| | | | | | 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
* Fixed that a default fragment store wan't being set to MemoryStore as intendedDavid Heinemeier Hansson2005-01-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@461 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed a bug where cookies wouldn't be set if a symbol was used instead of a ↵David Heinemeier Hansson2005-01-171-1/+1
| | | | | | string as the key git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@453 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added assert_cookie_equal to assert the contents of a named cookieDavid Heinemeier Hansson2005-01-171-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@452 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed bug in page caching that prevented it from working at allDavid Heinemeier Hansson2005-01-171-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@447 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added more informative error message for "file not found" situation in ↵David Heinemeier Hansson2005-01-161-1/+1
| | | | | | send_file #484 [Alexey] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@427 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Finished documentation for cachingDavid Heinemeier Hansson2005-01-151-64/+102
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed page caching problems with saving cached file fails for the index ↵David Heinemeier Hansson2005-01-151-5/+17
| | | | | | 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
* Added arrays as a value option for params in url_for and friends #467 [Eric ↵David Heinemeier Hansson2005-01-131-1/+6
| | | | | | Anderson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@403 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that controller tests can now assert on the use of cookies #466 [Alexey]David Heinemeier Hansson2005-01-131-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@402 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that send_file would "remember" all the files sent by adding to the ↵David Heinemeier Hansson2005-01-131-4/+4
| | | | | | headers again and again #458 [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed url rewriter confusion when the controller or action name was a ↵David Heinemeier Hansson2005-01-121-2/+2
| | | | | | substring of the controller_prefix or action_prefix git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@398 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed url rewriter confusion when the controller name was a substring of the ↵David Heinemeier Hansson2005-01-121-2/+5
| | | | | | controller_prefix git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@397 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added option to turn off cachingDavid Heinemeier Hansson2005-01-111-1/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@394 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tweaks and tinkeringDavid Heinemeier Hansson2005-01-111-5/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@390 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added conditional layouts like <tt>layout "weblog_standard", :except => ↵David Heinemeier Hansson2005-01-111-21/+63
| | | | | | :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
* Added MemCacheStore to fragment caching #449 [Lucas Carlson]David Heinemeier Hansson2005-01-111-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@385 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that MemCacheStore wasn't included by default and added default ↵David Heinemeier Hansson2005-01-112-1/+2
| | | | | | MemCache object pointing to localhost #447 [Lucas Carlson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@384 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that host would choke when cgi.host returned nil #432 [Tobias Luetke]David Heinemeier Hansson2005-01-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@381 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed three issues with retrying breakpoints #417 [Florian Gross]David Heinemeier Hansson2005-01-101-4/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@370 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Some missing docsDavid Heinemeier Hansson2005-01-101-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@369 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated caching to include action caching as well and simplified the ↵David Heinemeier Hansson2005-01-101-43/+182
| | | | | | name/key reference to just be name git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@368 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that all renders and redirects now return false, so they can be used ↵David Heinemeier Hansson2005-01-101-0/+2
| | | | | | 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
* Apparently the temp hack for functional tests was still neededDavid Heinemeier Hansson2005-01-101-0/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@363 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed temporary hack for test/unit problems that only worked for ↵David Heinemeier Hansson2005-01-101-16/+0
| | | | | | functional tests git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@362 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed authentication framework as xal made me realize that with noradios ↵David Heinemeier Hansson2005-01-091-102/+0
| | | | | | 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
* Added conditional filters #431 [Marcel]David Heinemeier Hansson2005-01-091-15/+85
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@354 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :before option to authenticationDavid Heinemeier Hansson2005-01-091-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added authentication framework to protect actions behind a condition and ↵David Heinemeier Hansson2005-01-093-2/+101
| | | | | | redirect on failure. See ActionController::Authentication for more. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@351 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added first stab at page and fragment cachingDavid Heinemeier Hansson2005-01-082-2/+194
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@346 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Simplified the set_cookie method and made it indifferent to symbol or string ↵David Heinemeier Hansson2005-01-061-3/+3
| | | | | | as name git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@343 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the possibility of passing nil to UrlHelper#link_to to use the link ↵David Heinemeier Hansson2005-01-051-8/+8
| | | | | | itself as the name git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@338 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added MemCacheStore for storing session data in Danga's MemCache system [Bob ↵David Heinemeier Hansson2005-01-041-0/+95
| | | | | | Cottrell] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@330 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed redirects when the controller and action is named the same. Still ↵David Heinemeier Hansson2005-01-021-1/+1
| | | | | | 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
* Fixed problems with running multiple functional tests in Rails under 1.8.2 ↵David Heinemeier Hansson2005-01-021-0/+16
| | | | | | by including hack for test/unit weirdness git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@319 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added thread-safety to the DRbStore #66, #389 [Ben Stiglitz]David Heinemeier Hansson2005-01-021-1/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@315 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added class declaration for the MissingFile exception #388 [Kent Sibilev]David Heinemeier Hansson2005-01-011-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@297 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added "short hypertext note with a hyperlink to the new URI(s)" to redirects ↵David Heinemeier Hansson2004-12-311-0/+2
| | | | | | 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
* Added second boolean parameter to Base.redirect_to_url and Response#redirect ↵David Heinemeier Hansson2004-12-312-5/+6
| | | | | | 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
* Auto-requiring of helpers should stay silent when it isn't found for ↵David Heinemeier Hansson2004-12-311-1/+1
| | | | | | whatever reason git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@290 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that @request.remote_ip didn't work in the test environment #369 ↵David Heinemeier Hansson2004-12-311-4/+4
| | | | | | [Bruno Mattarollo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@289 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@276 ↵David Heinemeier Hansson2004-12-291-19/+0
| | | | 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved support files into Active SupportDavid Heinemeier Hansson2004-12-296-315/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@275 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved the cookies fix to cgi_extDavid Heinemeier Hansson2004-12-292-1/+122
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@274 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added documentation for using render_with_layoutDavid Heinemeier Hansson2004-12-291-0/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@272 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :host and :protocol options to url_for and friends to redirect to ↵David Heinemeier Hansson2004-12-231-3/+3
| | | | | | another host and protocol than the current. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@266 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Forgot to include the new session moduleDavid Heinemeier Hansson2004-12-221-0/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@254 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added more informative exception when using helper :some_helper and the ↵David Heinemeier Hansson2004-12-221-2/+7
| | | | | | 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
* Fixed regression with Base#reset_session that wouldn't use the the ↵David Heinemeier Hansson2004-12-211-1/+1
| | | | | | DEFAULT_SESSION_OPTIONS [adam@the-kramers.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@239 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added documentation for automatic layout inclusion #328 [Marcel]David Heinemeier Hansson2004-12-191-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de