Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | controller_path is required by ActionView, so move it up to ↵ | José Valim | 2009-12-31 | 1 | -1/+1 |
| | | | | AbstractController and refactor AbstractController::Layouts. | ||||
* | Remove ActionView inline logging to ActiveSupport::Notifications and create ↵ | José Valim | 2009-12-26 | 1 | -1/+0 |
| | | | | ActionController::Base#log_event, so everything can be logged within one listener. Also expose log_process_action as a hook for different modules to include their own information during the action processing. This allow ActiveRecord to hook and any other ORM. Finally, this commit changes 'Processing' and 'Rendering' in logs to 'Processed' and 'Rendered' because at the point it's logged, everying already happened. | ||||
* | AD::StatusCodes support is now part of rack | Joshua Peek | 2009-12-22 | 1 | -1/+1 |
| | |||||
* | Make ActionMailer::Base inherit from AbstractController::Base | José Valim | 2009-12-22 | 1 | -0/+1 |
| | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | ||||
* | AC::Head now doesn't have an unfulfilled Rendering dependency, and instead ↵ | Yehuda Katz | 2009-12-20 | 1 | -1/+1 |
| | | | | works just fine standalone (which means that ConditionalGet also doesn't have a Rendering dependency) | ||||
* | Merge branch 'master' of github.com:rails/rails | David Heinemeier Hansson | 2009-12-20 | 1 | -2/+1 |
|\ | |||||
| * | Rename RackConvenience => RackDelegation | Joshua Peek | 2009-12-20 | 1 | -1/+1 |
| | | |||||
| * | Merge Session stuff into RackConvenience | Joshua Peek | 2009-12-20 | 1 | -1/+0 |
| | | |||||
* | | Rename RenderOptions to Renderers | David Heinemeier Hansson | 2009-12-20 | 1 | -1/+1 |
|/ | |||||
* | Renamed Redirector to Redirecting (its a module, not a class) | David Heinemeier Hansson | 2009-12-20 | 1 | -1/+1 |
| | |||||
* | Rename the RenderingController module to just plain Rendering | David Heinemeier Hansson | 2009-12-20 | 1 | -1/+1 |
| | |||||
* | Added alert/notice from 2-3-stable and refactored redirect_to into just ↵ | David Heinemeier Hansson | 2009-12-17 | 1 | -66/+0 |
| | | | | living in Redirector [DHH] | ||||
* | Reduce usage of interpret_status. It should also return a integer | Joshua Peek | 2009-12-10 | 1 | -4/+12 |
| | | | | not a string. | ||||
* | Reorganize autoloads: | Carlhuda | 2009-12-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications. | ||||
* | Base setup for config object in AC. | Yehuda Katz | 2009-10-26 | 1 | -0/+1 |
| | |||||
* | Resurrect AC::Benchmarking [#3140 state:resolved] | Joshua Peek | 2009-09-24 | 1 | -0/+1 |
| | |||||
* | Add Orchestra instrumentation to fragment and page caching. | José Valim | 2009-09-20 | 1 | -1/+0 |
| | |||||
* | Refactor ActionController to use find_template and template_exists? | Yehuda Katz + Carl Lerche | 2009-09-03 | 1 | -1/+1 |
| | |||||
* | Use response_body rather than performed? | Yehuda Katz | 2009-08-09 | 1 | -1/+1 |
| | |||||
* | Rename find_by_parts and find_by_parts? to find and exists? | Yehuda Katz | 2009-08-07 | 1 | -1/+1 |
| | |||||
* | Renamed presenter to renderer, added some documentation and defined its API. | José Valim | 2009-08-07 | 1 | -2/+2 |
| | |||||
* | Rename /base to /metal and make base.rb and metal.rb top-level to reflect ↵ | Yehuda Katz | 2009-08-06 | 1 | -0/+167 |
| | | | | their module locations | ||||
* | Reorganize ActionController folder structure | Joshua Peek | 2009-01-27 | 1 | -1392/+0 |
| | |||||
* | Begin unifying the interface between ActionController and ActionView | Yehuda Katz | 2009-01-22 | 1 | -112/+146 |
| | |||||
* | Deprecate ActionController::Base#session_enabled? | Pratik Naik | 2009-01-19 | 1 | -1/+1 |
| | |||||
* | Build query string and POST params parser on top of Rack::Request. Also ↵ | Joshua Peek | 2009-01-17 | 1 | -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 test | Jeremy Kemper | 2009-01-06 | 1 | -1/+1 |
| | |||||
* | Memoize request accessors on the Rack env so other request objects have ↵ | Joshua Peek | 2009-01-04 | 1 | -2/+2 |
| | | | | access to the same cache [#1668 state:resolved] | ||||
* | Test that exceptions raised in filters are properly rescued | Jeremy Kemper | 2008-12-30 | 1 | -4/+7 |
| | |||||
* | Clean up view path cruft and split path implementations into Template::Path ↵ | Joshua Peek | 2008-12-29 | 1 | -6/+6 |
| | | | | and Template::EagerPath | ||||
* | Make router and controller classes better rack citizens | Joshua Peek | 2008-12-28 | 1 | -0/+7 |
| | |||||
* | Don't recurse when ActionController#render is called without any arguments | Pratik Naik | 2008-12-26 | 1 | -1/+1 |
| | |||||
* | Make ActionController#render(symbol) behave same as ↵ | Pratik Naik | 2008-12-26 | 1 | -5/+5 |
| | | | | ActionController#render(string) [#1435] | ||||
* | Make ActionController#render(string) work as a shortcut for render :action ↵ | Pratik Naik | 2008-12-25 | 1 | -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 Naik | 2008-12-25 | 1 | -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 Naik | 2008-12-25 | 1 | -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 method | Pratik Naik | 2008-12-25 | 1 | -8/+14 |
| | |||||
* | Ensure the template format is always passed to the template finder. Now we ↵ | Joshua Peek | 2008-12-21 | 1 | -12/+18 |
| | | | | can cleanup some nasty stuff. | ||||
* | Switch to Rack::Response#set_cookie instead of using CGI::Cookie to build ↵ | Joshua Peek | 2008-12-20 | 1 | -2/+2 |
| | | | | cookie headers | ||||
* | Use status response accessor instead of the 'Status' header | Joshua Peek | 2008-12-19 | 1 | -2/+2 |
| | |||||
* | Remove CGI::Session memory leak patch | Joshua Peek | 2008-12-16 | 1 | -5/+0 |
| | |||||
* | Switch to Rack based session stores. | Joshua Peek | 2008-12-15 | 1 | -10/+2 |
| | |||||
* | Fixed session related memory leak [#1558 state:resolved] | Frederick Cheung | 2008-12-11 | 1 | -0/+3 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Making the IP Spoofing check in AbstractRequest#remote_ip configurable. | Darren Boyd | 2008-12-01 | 1 | -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 Peek | 2008-11-28 | 1 | -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 Hansson | 2008-11-27 | 1 | -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 Peek | 2008-11-26 | 1 | -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 Peek | 2008-11-25 | 1 | -1/+0 |
| | | | | not loaded | ||||
* | Drop unneeded drb require | Jeremy Kemper | 2008-11-23 | 1 | -1/+0 |
| | |||||
* | Use autoload instead of explicit requires for ActionController | Joshua Peek | 2008-11-23 | 1 | -7/+7 |
| |