aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/base
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'mainstream/master'Pratik Naik2009-06-018-60/+56
|\
| * AS::Concern redefines "include" to lazy include modules as dependenciesJoshua Peek2009-05-295-8/+6
| |
| * AS::Concern includes InstanceMethods module if it existsJoshua Peek2009-05-291-6/+1
| |
| * Break up DependencyModule's dual function of providing a "depend_on" DSL and ↵Joshua Peek2009-05-286-6/+6
| | | | | | | | "included" block DSL into separate modules. But, unify both approaches under AS::Concern.
| * The FlashHash and friends causes a lot of needless session storing, when we ↵Johan Sörensen2009-05-281-33/+37
| | | | | | | | | | | | know for a fact that there's no content in the flash. By not storing the empty hash in the session we save a lot of communication with the various session backends, while still keeping the same interface to the flash. [#2703 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Memoize cookies so that updates to cookies are available in the current ↵Olly Legg2009-05-281-1/+1
| | | | | | | | | | | | request. [#2733 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * ActionController::Flash::FlashHash.use now returns either the value ↵Niels Ganser2009-05-271-6/+5
| | | | | | | | | | | | corresponding to the passed key or itself when no key is passed [#1792 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* | Merge commit 'mainstream/master'Pratik Naik2009-05-2411-230/+302
|\| | | | | | | | | Conflicts: actionpack/lib/action_controller/base/mime_responds.rb
| * Remove unnecessary asset_host initializationPratik Naik2009-05-231-1/+0
| |
| * Make logging_test pass with the new basePratik Naik2009-05-231-1/+1
| |
| * Add all the existing helpers related features to the new basePratik Naik2009-05-231-13/+9
| |
| * Move FilterParameterLogging to a stand alone module and make it work on new basePratik Naik2009-05-222-57/+98
| |
| * Add missing dependency in StreamingPratik Naik2009-05-221-0/+7
| |
| * Remove some response content type concepts from ActionViewYehuda Katz + Carl Lerche2009-05-211-4/+3
| |
| * Add Streaming to new basePratik Naik2009-05-211-0/+1
| |
| * RequestForgeryProtection now works with the new basePratik Naik2009-05-211-5/+19
| |
| * Allow Module#depends_on to accept multiple modulesPratik Naik2009-05-211-4/+1
| |
| * Made ActionController::Verification work with new_basePratik Naik2009-05-211-3/+9
| |
| * Make ActionController::Flash work with new_basePratik Naik2009-05-211-22/+52
| |
| * Added responds_to to new base.Yehuda Katz + Carl Lerche2009-05-201-108/+107
| |
| * Ported simple benchmarking in new baseYehuda Katz + Carl Lerche2009-05-181-1/+1
| |
| * Ensure HTTP Digest auth uses appropriate HTTP method [#2490 state:resolved] ↵Pratik Naik2009-05-181-1/+2
| | | | | | | | [Steve Madsen]
| * Rescue hack was supposed to be removed. Some how it crept back in.Joshua Peek2009-05-171-3/+2
| |
| * Simplify filter_chain method implementation [#2327 state:resolved]Thomas E. Glasgow2009-05-171-6/+1
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | Merge commit 'mainstream/master'Pratik Naik2009-05-161-1/+1
|\|
| * Ported Rescuable to new baseYehuda Katz + Carl Lerche2009-05-151-1/+1
| |
* | Merge commit 'mainstream/master'Pratik Naik2009-05-157-31/+89
|\| | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/form_helper.rb
| * Cherry-pick core extensionsJeremy Kemper2009-05-134-3/+11
| |
| * Implemented redirects and partial rendering in new base.Yehuda Katz + Carl Lerche2009-05-121-1/+3
| |
| * Merge branch 'master' into wip_abstract_controllerYehuda Katz + Carl Lerche2009-05-113-16/+67
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/abstract/callbacks.rb actionpack/lib/action_controller/abstract/renderer.rb actionpack/lib/action_controller/base/base.rb actionpack/lib/action_controller/dispatch/dispatcher.rb actionpack/lib/action_controller/routing/route_set.rb actionpack/lib/action_controller/testing/process.rb actionpack/test/abstract_controller/layouts_test.rb actionpack/test/controller/filters_test.rb actionpack/test/controller/helper_test.rb actionpack/test/controller/render_test.rb actionpack/test/new_base/test_helper.rb
| | * Extract ActionController rescue templates into Rescue and ShowExceptions ↵Joshua Peek2009-05-022-7/+52
| | | | | | | | | | | | | | | middleware. This commit breaks all exception catching plugins like ExceptionNotifier. These plugins should be rewritten as middleware instead overriding Controller#rescue_action_in_public.
| | * Deprecate Controller.process interfaceJoshua Peek2009-05-021-0/+1
| | |
| | * Switch functional tests to run through the rack interface instead of processJoshua Peek2009-05-021-4/+8
| | |
| | * Deprecate assert_redirect_to's partial hash matchingJoshua Peek2009-05-022-5/+0
| | |
| * | Implement FooController.action(:name)Yehuda Katz2009-05-021-16/+11
| |/ | | | | | | | | | | * Rails actions are now Rack endpoints, and can be retrieved via FooController.action(name) and called with an env * Updated some tests that relied on the old internal #process/#call implementation
| * Fix render :json => nil [#2589 state:resolved]Jeremy Kemper2009-04-301-1/+2
| |
| * Start moving TestRequest and TestResponse into ActionDispatchJoshua Peek2009-04-301-1/+2
| |
* | Some spelling changes.Evan Farrar2009-05-072-2/+2
| |
* | Merge commit 'mainstream/master'Pratik Naik2009-04-303-26/+29
|\|
| * Deprecate template, session, assigns, and layout accessors on response ↵Joshua Peek2009-04-282-2/+4
| | | | | | | | object. Instead access them through the controller instance. This mainly affects functional test assertions.
| * Refactor ActionView::TemplateYehuda Katz + Carl Lerche2009-04-272-8/+19
| | | | | | | | | | | | | | | | ActionView::Template is now completely independent from template storage, which allows different back ends such as the database. ActionView::Template's only responsibility is to take in the template source (passed in from ActionView::Path), compile it, and render it.
| * Delegate controller.session to request.session and deprecate response session Joshua Peek2009-04-271-9/+5
| |
| * Check for to_str rather than StringJeremy Kemper2009-04-261-1/+1
| |
| * Inherit TestSession from Session::AbstractStore and add indifferent access ↵Joshua Peek2009-04-261-8/+2
| | | | | | | | to Session::AbstractStore.
* | Removed reference in documentation of form_authenticity_token to deprecated ↵Luke Amdor2009-04-271-2/+1
| | | | | | | | :secret option of protect_from_forgery
* | Add documentation for respond_to's any methodRyan Bigg2009-04-271-0/+12
|/
* * Add pluggable JSON backends with support for the JSON gem. [rick]rick2009-04-231-1/+1
| | | | | | | | | | | | | | Example: ActiveSupport::JSON.backend = "JSONGem" All internal Rails JSON encoding is now handled by ActiveSupport::JSON.encode(). Use of #to_json is not recommended, as it may clash with other libraries that overwrite it. However, you can recover Rails specific functionality if you really want to use #to_json. gem 'json' ActiveSupport::JSON.backend = "JSONGem" class ActiveRecord::Base alias to_json rails_to_json end
* Refactor ActionView::PathYehuda Katz + Carl Lerche2009-04-222-2/+7
| | | | | | | | * Decouple from ActionController and ActionMailer * Bring back localization support. * Prepare to decouple templates from the filesystem. * Prepare to decouple localization from ActionView * Fix ActionMailer to take advantage of ActionView::Path
* Rack::Utils.body_to_s doesn't exist in 1.0Jeremy Kemper2009-04-221-1/+3
|
* Reinstate Base#render_to_string. Introduce ↵Jeremy Kemper2009-04-211-5/+9
| | | | AbstractController#render_to_string which stringifies render_to_body.