aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/base.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fixed simplified render with nested models [#2042 state:resolved]Joshua Peek2009-03-071-0/+3
|
* Ensure expires_in without a :public key sets the Cache-Control header to ↵Johan Sørensen2009-03-071-1/+3
| | | | | | | | | private. [#2095 state:resolved] This fixes a regression introduced in f2a32bd0, which wasn't exposed due to two test methods having the same name. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix layouts with absolute paths [#2134 state:resolved]thedarkone2009-03-051-1/+0
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fixed that redirection would just log the options, not the final url (which ↵David Heinemeier Hansson2009-03-051-1/+1
| | | | lead to "Redirected to #<Post:0x23150b8>") [DHH]
* Added ability to pass in :public => true to fresh_when, stale?, and ↵Gregg Pollack2009-02-281-7/+35
| | | | | | expires_in to make the request proxy cachable [#2095 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Force all internal calls to Array#to_sentence to use English [#2010 ↵David Heinemeier Hansson2009-02-271-2/+2
| | | | state:resolved]
* Merge with docrailsPratik Naik2009-02-241-3/+31
|
* workaround for picking layouts based on wrong view_paths [#1974 state:resolved]Sven Fuchs2009-02-141-0/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Implement HTTP Digest authentication. [#1230 state:resolved] [Gregg Kellogg, ↵Gregg Kellogg2009-01-291-2/+2
| | | | | | Pratik Naik] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed deprecated methods on TestSession [#1801 state:resolved]Joshua Peek2009-01-271-5/+0
|
* Deprecate ActionController::Base#session_enabled?Pratik Naik2009-01-191-1/+1
|
* Build query string and POST params parser on top of Rack::Request. Also ↵Joshua Peek2009-01-171-4/+1
| | | | switch our multipart parser to use Racks. Moved XML, JSON, and YAML parsers into ActionController::ParamsParser middleware [#1661 state:resolved]
* Fix failing flash testJeremy Kemper2009-01-061-1/+1
|
* Memoize request accessors on the Rack env so other request objects have ↵Joshua Peek2009-01-041-2/+2
| | | | access to the same cache [#1668 state:resolved]
* Test that exceptions raised in filters are properly rescuedJeremy Kemper2008-12-301-4/+7
|
* Clean up view path cruft and split path implementations into Template::Path ↵Joshua Peek2008-12-291-6/+6
| | | | and Template::EagerPath
* Make router and controller classes better rack citizensJoshua Peek2008-12-281-0/+7
|
* Don't recurse when ActionController#render is called without any argumentsPratik Naik2008-12-261-1/+1
|
* Make ActionController#render(symbol) behave same as ↵Pratik Naik2008-12-261-5/+5
| | | | ActionController#render(string) [#1435]
* Make ActionController#render(string) work as a shortcut for render :action ↵Pratik Naik2008-12-251-1/+3
| | | | | | | | | | => string. [#1435] Examples: # Instead of render(:action => 'other_action') render('other_action') Note : Argument must not have any '/'
* Make ActionController#render(string) work as a shortcut for render :template ↵Pratik Naik2008-12-251-1/+3
| | | | | | | | | | => string. [#1435] Examples: # Instead of render(:template => 'controller/action') render('controller/action') Note : Argument must not begin with a '/', but have at least one '/'
* Make ActionController#render(string) work as a shortcut for render :file => ↵Pratik Naik2008-12-251-1/+8
| | | | | | | | | | string. [#1435] Examples: # Instead of render(:file => '/Users/lifo/home.html.erb') render('/Users/lifo/home.html.erb') Note : Filename must begin with a forward slash ('/')
* Move ActionController::Base#render arguments validation to a separate methodPratik Naik2008-12-251-8/+14
|
* Ensure the template format is always passed to the template finder. Now we ↵Joshua Peek2008-12-211-12/+18
| | | | can cleanup some nasty stuff.
* Switch to Rack::Response#set_cookie instead of using CGI::Cookie to build ↵Joshua Peek2008-12-201-2/+2
| | | | cookie headers
* Use status response accessor instead of the 'Status' headerJoshua Peek2008-12-191-2/+2
|
* Remove CGI::Session memory leak patchJoshua Peek2008-12-161-5/+0
|
* Switch to Rack based session stores.Joshua Peek2008-12-151-10/+2
|
* Fixed session related memory leak [#1558 state:resolved]Frederick Cheung2008-12-111-0/+3
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Making the IP Spoofing check in AbstractRequest#remote_ip configurable.Darren Boyd2008-12-011-0/+4
| | | | | | | | | | | | | | Certain groups of web proxies do not set these values properly. Notably, proxies for cell phones, which often do not set the remote IP information correctly (not surprisingly, since the clients do not have an IP address). Allowing this to be configurable makes it possible for developers to choose to ignore this simple spoofing check, when a significant amount of their traffic would result in false positives anyway. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1200 state:committed]
* Reinstate "Super lazy load view paths in development mode (no indexing or ↵Joshua Peek2008-11-281-2/+3
| | | | caching at all). Switch layout finders to use view path api to take advantage of cache." as it killed dev mode reloading."
* Revert "Super lazy load view paths in development mode (no indexing or ↵David Heinemeier Hansson2008-11-271-3/+2
| | | | | | caching at all). Switch layout finders to use view path api to take advantage of cache." as it killed dev mode reloading. This reverts commit 4d910b033379727e5e7355590c50c72fc75e56db.
* Super lazy load view paths in development mode (no indexing or caching at ↵Joshua Peek2008-11-261-2/+3
| | | | all). Switch layout finders to use view path api to take advantage of cache.
* Ensure ActionView will be available to ActionMailer if ActionController is ↵Joshua Peek2008-11-251-1/+0
| | | | not loaded
* Drop unneeded drb requireJeremy Kemper2008-11-231-1/+0
|
* Use autoload instead of explicit requires for ActionControllerJoshua Peek2008-11-231-7/+7
|
* Revert "Simplify benchmarking and rescue". Need a different approach.Pratik Naik2008-11-201-15/+1
| | | | This reverts commit 3be9134d1cb882f4be3be8d57b2f8bde5ecde887.
* Simplify benchmarking and rescuePratik Naik2008-11-201-1/+15
|
* Remove deprecated ActionController::Base#assign_default_content_type_and_charsetPratik Naik2008-11-191-5/+0
|
* Remove deprecated render_component. Please use the plugin from ↵Pratik Naik2008-11-191-1/+1
| | | | http://github.com/rails/render_component/tree/master
* Merge docrails.Pratik Naik2008-11-141-3/+3
|
* Dont bother logging the parameters hash if there are no parametersDavid Heinemeier Hansson2008-11-061-1/+1
|
* Dont log the _method attribute either. Its already available in the headerDavid Heinemeier Hansson2008-11-041-13/+4
|\
| * Remove unused debug_routesPratik Naik2008-11-021-6/+0
| |
| * Dont dup params twice when filter_parameters is presentPratik Naik2008-11-021-2/+2
| |
| * Dont document internalsPratik Naik2008-11-021-3/+0
| |
| * Backwards compatibility fixes for relative_url_rootMichael Koziarski2008-11-021-5/+2
| | | | | | | | | | * Make the old deprecated relative_url_root still set the value as it's still used by mongrel * Set the default from the ENV value when the file is required, not at runtime.
| * Merge with docrailsPratik Naik2008-11-021-0/+3
| |
* | Dont log the _method attribute either. Its already available in the headerDavid Heinemeier Hansson2008-11-041-2/+2
|/
* Simplified the logging format for parameters (don't include controller, ↵David Heinemeier Hansson2008-11-011-6/+23
| | | | action, and format as duplicates) [DHH]