Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Simpler RenderOption API -- removes the need for registering the types and ↵ | Carlhuda | 2009-12-09 | 1 | -56/+45 | |
| | | | | | | | | extending a module | |||||
* | | Responder redirects to resource if destroy fails. | José Valim | 2009-12-07 | 1 | -2/+7 | |
| | | | | | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | |||||
* | | Make controller.flash public to be used in responders. | José Valim | 2009-12-07 | 1 | -12/+12 | |
|/ | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | |||||
* | Reorganize autoloads: | Carlhuda | 2009-12-02 | 3 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | * 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. | |||||
* | cache_store and page_cache_directory are already defined in caching | Joshua Peek | 2009-12-01 | 1 | -4/+1 | |
| | | | | and pages | |||||
* | Allow ActionController::Responder to have a common entry point for all formats. | José Valim | 2009-12-01 | 1 | -3/+8 | |
| | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | |||||
* | Extract form_authenticity_param instance method so it's overridable in ↵ | Jeremy Kemper | 2009-11-17 | 1 | -0/+5 | |
| | | | | subclasses | |||||
* | Split mime responder into smaller chunks and allow action to be configured. | José Valim | 2009-11-13 | 1 | -17/+27 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | String#bytesize is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -2/+0 | |
| | ||||||
* | Update AC::Middleware to play better with the normal AC::Metal stack. This ↵ | Yehuda Katz | 2009-11-05 | 1 | -1/+1 | |
| | | | | required stopping to use #call for non-rack-related stuff | |||||
* | Extracted localized_cache.rb from ActionController, added it to ↵ | José Valim | 2009-11-01 | 1 | -38/+3 | |
| | | | | AbstractController and made ActionMailer use it. | |||||
* | Add some basic render_test to AbstractController. | José Valim | 2009-11-01 | 1 | -0/+9 | |
| | ||||||
* | Improve AbstractController layouts coverage. | José Valim | 2009-11-01 | 1 | -0/+4 | |
| | ||||||
* | Move all render and layout pieces required in ActionMailer from ↵ | José Valim | 2009-11-01 | 2 | -34/+0 | |
| | | | | ActionController to AbstractController. | |||||
* | Remove ActionMailer helpers and rely on AbstractController one. | José Valim | 2009-11-01 | 1 | -65/+4 | |
| | ||||||
* | Refactor ActionMailer layout and remove legacy one. | José Valim | 2009-11-01 | 1 | -11/+0 | |
| | ||||||
* | Caching refactoring | Yehuda Katz | 2009-10-29 | 1 | -3/+5 | |
| | ||||||
* | New semantics eliminate the need for __send__ | Yehuda Katz | 2009-10-28 | 1 | -2/+2 | |
| | ||||||
* | Reorganize CSRF a bit | Yehuda Katz | 2009-10-28 | 1 | -33/+23 | |
| | ||||||
* | #include should be #extend | Yehuda Katz | 2009-10-27 | 1 | -1/+1 | |
| | ||||||
* | Clean up flash a bit | Yehuda Katz | 2009-10-27 | 1 | -1/+1 | |
| | ||||||
* | Clean up flash a bit | Yehuda Katz | 2009-10-26 | 1 | -25/+23 | |
| | ||||||
* | Clean up parameter logging some | Yehuda Katz | 2009-10-26 | 1 | -42/+23 | |
| | ||||||
* | Clean up and update cookies | Yehuda Katz | 2009-10-26 | 1 | -17/+27 | |
| | ||||||
* | Fixes expires_now and cleans things up a bit | Yehuda Katz | 2009-10-26 | 1 | -1/+1 | |
| | ||||||
* | Extract #head into its own module and simplify it | Yehuda Katz | 2009-10-26 | 2 | -36/+30 | |
| | ||||||
* | Base setup for config object in AC. | Yehuda Katz | 2009-10-26 | 2 | -12/+31 | |
| | ||||||
* | Only undef to_json if it's defined | Jeremy Kemper | 2009-10-19 | 1 | -1/+1 | |
| | ||||||
* | Unify class_inheritable_accessor and extlib_inheritable_accessor and allow ↵ | José Valim | 2009-10-17 | 1 | -6/+3 | |
| | | | | responder to be set in the class level. | |||||
* | Deprecate RAILS_ROOT in favor of Rails.root (which proxies to the ↵ | Carl Lerche | 2009-10-16 | 1 | -1/+1 | |
| | | | | application's object root) | |||||
* | Unify benchmark APIs. | José Valim | 2009-10-15 | 1 | -21/+2 | |
| | ||||||
* | Use ERB::Util.h over CGI.escapeHTML as the former is safety aware and the ↵ | Michael Koziarski | 2009-10-15 | 1 | -1/+1 | |
| | | | | latter isn't | |||||
* | CookieJar#delete should return the key's value, consistent with a Hash | Jeffrey Hardy | 2009-10-14 | 1 | -1/+2 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Finish porting over the initializers to the app object and fix all the tests | Carl Lerche | 2009-10-08 | 1 | -1/+1 | |
| | ||||||
* | Resurrect AC::Benchmarking [#3140 state:resolved] | Joshua Peek | 2009-09-24 | 1 | -0/+92 | |
| | ||||||
* | SessionRestoreError belongs in AD | Joshua Peek | 2009-09-23 | 1 | -3/+0 | |
| | ||||||
* | Remove global exception catching from ApplicationController. | Joshua Peek | 2009-09-15 | 1 | -42/+3 | |
| | | | It was severely broken since it was ported to NewBase and is causing problems with normal exception catching. A replacement is coming soon. | |||||
* | Fix filtering parameters when there are Fixnum or other un-dupable values. | Nathaniel Talbott | 2009-09-10 | 1 | -1/+1 | |
| | | | | | | [#3184 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Ensure that blocks are also handled inside the responder. | José Valim | 2009-08-29 | 2 | -23/+36 | |
| | ||||||
* | Attempt to render the template inside the responder, so it can be used for ↵ | José Valim | 2009-08-29 | 2 | -26/+37 | |
| | | | | | | caching and pagination. Signed-off-by: Yehuda Katz <wycats@gmail.com> | |||||
* | And the same thing for Basic | Yehuda Katz + Carl Lerche | 2009-08-25 | 1 | -1/+2 | |
| | ||||||
* | HTTP Auth should not depend on RenderingController | Yehuda Katz + Carl Lerche | 2009-08-25 | 1 | -1/+2 | |
| | ||||||
* | Redirector had an undeclared dependency on Logger. | Yehuda Katz + Carl Lerche | 2009-08-25 | 1 | -0/+3 | |
| | ||||||
* | Modify Digest and Basic to take a request so they can be used outside of the ↵ | Yehuda Katz + Carl Lerche | 2009-08-25 | 1 | -7/+7 | |
| | | | | controller | |||||
* | ActionController::Metal can be a middleware | Yehuda Katz + Carl Lerche | 2009-08-25 | 1 | -7/+1 | |
| | ||||||
* | Move legacy param_parsers config onto AD::ParamsParser | Joshua Peek | 2009-08-21 | 1 | -6/+0 | |
| | ||||||
* | Got tests to pass with some more changes. | Yehuda Katz | 2009-08-15 | 1 | -7/+15 | |
| | | | | | | | | | | | | | | | | * request.formats is much simpler now * For XHRs or Accept headers with a single item, we use the Accept header * For other requests, we use params[:format] or fallback to HTML * This is primarily to work around the fact that browsers provide completely broken Accept headers, so we have to whitelist the few cases we can specifically isolate and treat other requests as coming from the browser * For APIs, we can support single-item Accept headers, which disambiguates from the browsers * Requests to an action that only has an XML template from the browser will no longer find the template. This worked previously because most browsers provide a catch-all */*, but this was mostly accidental behavior. If you want to serve XML, either use the :xml format in links, or explicitly specify the XML template: render "template.xml". | |||||
* | Caches and cache clearing seems to actually work, but the actual ↵ | Yehuda Katz | 2009-08-15 | 1 | -0/+32 | |
| | | | | architecture is kind of messy. Next: CLEAN UP. | |||||
* | Merge branch 'master' of git://github.com/rails/rails | José Valim | 2009-08-13 | 4 | -17/+22 | |
|\ | ||||||
| * | More perf work: | Yehuda Katz | 2009-08-11 | 3 | -14/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move #set_cookie and #delete_cookie inline to optimize. These optimizations should almost certainly be sent back upstream to Rack. The optimization involves using an ivar for cookies instead of indexing into the headers each time. * Was able to use a bare Hash for headers now that cookies have their own joining semantics (some code assumed that the raw cookies were an Array). * Cache blankness of body on body= * Improve expand_cache_key for Arrays of a single element (common in our case) * Use a simple layout condition check unless conditions are used * Cache visible actions * Lazily load the UrlRewriter * Make etag an ivar that is set on prepare! |