aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/base
Commit message (Collapse)AuthorAgeFilesLines
* Remove one more note about deprecated behaviorYehuda Katz + Carl Lerche2009-06-171-3/+0
|
* Cleaning up if defined?(ActionController::Http) blocks from the pre new base ↵Yehuda Katz + Carl Lerche2009-06-173-36/+23
| | | | era.
* Remove some defined?(Http) checksYehuda Katz + Carl Lerche2009-06-175-47/+12
|
* RJS doesn't render with an HTML layout by defaultYehuda Katz + Carl Lerche2009-06-171-0/+1
|
* Move the exceptions for missing template into Compatibility in prep for ↵Yehuda Katz + Carl Lerche2009-06-161-0/+7
| | | | moving it into a "not-production" module
* An exception is raised if a layout is missing only if the layout is missing ↵Yehuda Katz + Carl Lerche2009-06-162-3/+3
| | | | for all mimes
* Exceptions now in an exceptions moduleYehuda Katz + Carl Lerche2009-06-161-0/+58
|
* Whoops, I guess we broke layouts ;)Yehuda Katz + Carl Lerche2009-06-151-6/+0
|
* rm -r controller/base!Yehuda Katz + Carl Lerche2009-06-159-0/+1380
|
* Get tests to run (with failures) without old base aroundYehuda Katz + Carl Lerche2009-06-1530-3980/+1223
|
* Finish making things pass with updated internal content_type semanticsYehuda Katz + Carl Lerche2009-06-152-5/+6
|
* A test to show that http_authentication needs to fail authentication if the ↵nate2009-06-091-1/+3
| | | | | | password procedure returns nil. Also includes a fix to validate_digest_response to fail validation if the password procedure returns nil. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* 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>
* 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>
* Ported Rescuable to new baseYehuda Katz + Carl Lerche2009-05-151-1/+1
|
* 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
|
* 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.