aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
* Clean up and update cookiesYehuda Katz2009-10-261-17/+27
|
* Fixes expires_now and cleans things up a bitYehuda Katz2009-10-261-1/+1
|
* Extract #head into its own module and simplify itYehuda Katz2009-10-262-36/+30
|
* Base setup for config object in AC.Yehuda Katz2009-10-263-12/+32
|
* Start rewriting some internal tests to use the new routing dslJoshua Peek2009-10-201-0/+4
|
* Group together all the old routing dsl logicJoshua Peek2009-10-201-1/+0
|
* Move Routing into ADJoshua Peek2009-10-206-1765/+3
|
* Replace decaying routing internals w/ rack-mountJoshua Peek2009-10-1911-1234/+337
|
* Only undef to_json if it's definedJeremy Kemper2009-10-191-1/+1
|
* Unify class_inheritable_accessor and extlib_inheritable_accessor and allow ↵José Valim2009-10-171-6/+3
| | | | responder to be set in the class level.
* Use Rails.application where we want a valid rack appJoshua Peek2009-10-161-1/+1
|
* Deprecate RAILS_ROOT in favor of Rails.root (which proxies to the ↵Carl Lerche2009-10-161-1/+1
| | | | application's object root)
* Renamed Orchestra to Notifications once again [#3321 state:resolved]José Valim2009-10-153-8/+8
|
* Unify benchmark APIs.José Valim2009-10-152-23/+6
|
* Update Orchestra instrumentations and move part of logging to Orchestra.José Valim2009-10-153-27/+15
|
* Revert "Rename Orchestra to Notifications [#3321 state:resolved]"José Valim2009-10-152-6/+6
| | | | This reverts commit 8cbf825425dc8ad3770881ea4e100b9023c69ce2.
* Punt on ConcurrentHash [#3322 state:resolved]Joshua Peek2009-10-141-5/+5
|
* Rename Orchestra to Notifications [#3321 state:resolved]Joshua Peek2009-10-142-6/+6
|
* Test cases should see all the cookies, not just cookies that have been set ↵Craig Smith2009-10-151-1/+1
| | | | | | | | | | | | | in the controller. Previously this example would always pass, even when cookies.delete was not called. @request.cookies['foo'] = 'bar' get :delete_cookie assert_nil cookies['foo'] Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2768 state:committed]
* Use ERB::Util.h over CGI.escapeHTML as the former is safety aware and the ↵Michael Koziarski2009-10-151-1/+1
| | | | latter isn't
* CookieJar#delete should return the key's value, consistent with a HashJeffrey Hardy2009-10-141-1/+2
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Finish porting over the initializers to the app object and fix all the testsCarl Lerche2009-10-081-1/+1
|
* Revert "Revert "Fix Dispatch.new so passenger works" as it broke the build"Joshua Peek2009-10-051-1/+1
| | | | This reverts commit 49b52cadc2e66c11a025e7719837ae77b3736046.
* Revert "Fix Dispatch.new so passenger works" as it broke the buildMichael Koziarski2009-10-051-1/+1
| | | | This reverts commit c97c31b096e627480b64403d1460065738941c3e.
* Fix Dispatch.new so passenger worksJoshua Peek2009-10-041-1/+1
|
* Ported the new ActionView::TestCase from 2-3-stable to master [#3260Erik Ostrom2009-09-281-1/+1
| | | | | | | | | | | | | | | | | state:resolved] The test case now mimicks the template environment more closely, so it's possible to use render, load helper dependencies. This also fixes assert_select, and similar assertions. Because view tests and helpers generally don't render full templates assert_select looks first in rendered and then in output_buffer to find the rendered output. Additional `master'-only changes: Made the Action Pack Rakefile run the ActionView::TestCase tests, and made ActionView::Rendering#_render_text always return a string. Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Move middleware and route configuration from AC::Dispatcher to Rails ↵Joshua Peek2009-09-262-10/+3
| | | | application object
* Move default middleware stack into initializerJoshua Peek2009-09-262-20/+1
|
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-241-0/+1
|
* Resurrect AC::Benchmarking [#3140 state:resolved]Joshua Peek2009-09-242-0/+93
|
* SessionRestoreError belongs in ADJoshua Peek2009-09-231-3/+0
|
* Move helpers specific to functional tests out of TestProcess into AC::TestCaseJoshua Peek2009-09-232-152/+149
|
* Move integration test runner into ActionDispatchJoshua Peek2009-09-234-493/+3
|
* Use NewCallbacks on ActionDispatch::Callbacks.José Valim2009-09-201-1/+1
|
* Add Orchestra instrumentation to fragment and page caching.José Valim2009-09-203-19/+34
|
* Remove global exception catching from ApplicationController.Joshua Peek2009-09-152-48/+7
| | | It was severely broken since it was ported to NewBase and is causing problems with normal exception catching. A replacement is coming soon.
* Uses extlib_inheritable_accessorJeremy Kemper2009-09-141-0/+2
|
* Omit PATH_INFO in integration test so rack mock will properly override itJoshua Peek2009-09-131-1/+0
|
* Memoize in the endpoint.Yehuda Katz2009-09-121-5/+10
|
* Add per-controller middlewareYehuda Katz2009-09-121-1/+14
|
* Fix filtering parameters when there are Fixnum or other un-dupable values.Nathaniel Talbott2009-09-101-1/+1
| | | | | | [#3184 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Cleanup hacky routing with controller_path in url helper tests. This doesn't ↵Joshua Peek2009-09-061-1/+1
| | | | work in real life anyway.
* Refactor ActionController to use find_template and template_exists?Yehuda Katz + Carl Lerche2009-09-032-2/+2
|
* Refactor ActionView::ResolverYehuda Katz + Carl Lerche2009-09-031-1/+1
|
* rack-test 0.4.2 has rack 1.1.pre goodies, we'll use it insteadJoshua Peek2009-08-312-9/+7
|
* Back off rack 1.1-pre and bundle in the new testing goodiesJoshua Peek2009-08-312-2/+3
|
* Ensure that blocks are also handled inside the responder.José Valim2009-08-292-23/+36
|
* Attempt to render the template inside the responder, so it can be used for ↵José Valim2009-08-292-26/+37
| | | | | | caching and pagination. Signed-off-by: Yehuda Katz <wycats@gmail.com>
* Reset session in integration tests after changing routes to reload the ↵Joshua Peek2009-08-271-1/+3
| | | | middleware stack
* Fixed stupid mistake... nothing to see here.Carl Lerche2009-08-261-1/+1
|