aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Added Request#port_string to get something like ":8080" back on 8080 and "" ↵David Heinemeier Hansson2004-12-182-7/+10
| | | | | | on 80 (or 443 with https). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@214 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Request#domain (returns string) and Request#subdomains (returns array).David Heinemeier Hansson2004-12-181-0/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added POST support for the breakpoint retries, so form processing that ↵David Heinemeier Hansson2004-12-181-1/+12
| | | | | | raises an exception can be retried with the original request [Florian Gross] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@211 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tagged the 0.9.1 releaseDavid Heinemeier Hansson2004-12-171-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@204 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed a bug that would cause an ApplicationController to require itself ↵David Heinemeier Hansson2004-12-171-4/+5
| | | | | | three times and hence cause filters to be run three times [evl] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@201 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made the last tweaks before 0.9David Heinemeier Hansson2004-12-161-0/+36
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated documentationDavid Heinemeier Hansson2004-12-166-29/+63
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that controllers will now attempt to require a model dependency with ↵David Heinemeier Hansson2004-12-161-0/+12
| | | | | | their name and in a singular attempt for their name. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that controllers will now search for a layout in ↵David Heinemeier Hansson2004-12-151-1/+15
| | | | | | $template_root/layouts/$controller_name.r(html|xml), so PostsController will look for layouts/posts.rhtml or layouts/posts.rxml and automatically configure this layout if found #307 [Marcel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the option of passing false to :module or :controller_prefix in order ↵David Heinemeier Hansson2004-12-132-5/+17
| | | | | | to "break out" of a module or prefix git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved require_association to associations.rb and added methods for resetting ↵David Heinemeier Hansson2004-12-121-0/+4
| | | | | | the inheritable attributes on subclasses git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Display error messages on scaffolded form pagesDavid Heinemeier Hansson2004-12-122-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@124 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed CgiRequest so that it'll now accept session options with Symbols as ↵David Heinemeier Hansson2004-12-122-3/+7
| | | | | | keys (as the documentation points out) [Suggested by Andreas] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed CgiRequest#out to fall back to #write if doesn't have #syswrite ↵David Heinemeier Hansson2004-12-121-4/+10
| | | | | | [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed problem with cookies not being set to path=/ by default and a test ↵David Heinemeier Hansson2004-12-101-2/+3
| | | | | | buggerboo git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added breakpoint retries on rescue screensDavid Heinemeier Hansson2004-12-092-0/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@103 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* We need to pass the name when deleting the cookieDavid Heinemeier Hansson2004-12-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@93 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added CookieJar#delete and fixed CookieJar[] to just call first, so you get ↵David Heinemeier Hansson2004-12-091-1/+6
| | | | | | a string instead of an array back. This limits each cookie to one value, which I consider a mighty fine restriction git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@92 5ecf4fe2-1ee6-0310-87b1-e25e094e27de