Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Punt on ConcurrentHash [#3322 state:resolved] | Joshua Peek | 2009-10-14 | 1 | -5/+5 |
| | |||||
* | Rename Orchestra to Notifications [#3321 state:resolved] | Joshua Peek | 2009-10-14 | 2 | -6/+6 |
| | |||||
* | Test cases should see all the cookies, not just cookies that have been set ↵ | Craig Smith | 2009-10-15 | 1 | -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 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 |
| | |||||
* | Revert "Revert "Fix Dispatch.new so passenger works" as it broke the build" | Joshua Peek | 2009-10-05 | 1 | -1/+1 |
| | | | | This reverts commit 49b52cadc2e66c11a025e7719837ae77b3736046. | ||||
* | Revert "Fix Dispatch.new so passenger works" as it broke the build | Michael Koziarski | 2009-10-05 | 1 | -1/+1 |
| | | | | This reverts commit c97c31b096e627480b64403d1460065738941c3e. | ||||
* | Fix Dispatch.new so passenger works | Joshua Peek | 2009-10-04 | 1 | -1/+1 |
| | |||||
* | Ported the new ActionView::TestCase from 2-3-stable to master [#3260 | Erik Ostrom | 2009-09-28 | 1 | -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 Peek | 2009-09-26 | 2 | -10/+3 |
| | | | | application object | ||||
* | Move default middleware stack into initializer | Joshua Peek | 2009-09-26 | 2 | -20/+1 |
| | |||||
* | Move railties/lib/* into railties/lib/* | Yehuda Katz + Carl Lerche | 2009-09-24 | 1 | -0/+1 |
| | |||||
* | Resurrect AC::Benchmarking [#3140 state:resolved] | Joshua Peek | 2009-09-24 | 2 | -0/+93 |
| | |||||
* | SessionRestoreError belongs in AD | Joshua Peek | 2009-09-23 | 1 | -3/+0 |
| | |||||
* | Move helpers specific to functional tests out of TestProcess into AC::TestCase | Joshua Peek | 2009-09-23 | 2 | -152/+149 |
| | |||||
* | Move integration test runner into ActionDispatch | Joshua Peek | 2009-09-23 | 4 | -493/+3 |
| | |||||
* | Use NewCallbacks on ActionDispatch::Callbacks. | José Valim | 2009-09-20 | 1 | -1/+1 |
| | |||||
* | Add Orchestra instrumentation to fragment and page caching. | José Valim | 2009-09-20 | 3 | -19/+34 |
| | |||||
* | Remove global exception catching from ApplicationController. | Joshua Peek | 2009-09-15 | 2 | -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_accessor | Jeremy Kemper | 2009-09-14 | 1 | -0/+2 |
| | |||||
* | Omit PATH_INFO in integration test so rack mock will properly override it | Joshua Peek | 2009-09-13 | 1 | -1/+0 |
| | |||||
* | Memoize in the endpoint. | Yehuda Katz | 2009-09-12 | 1 | -5/+10 |
| | |||||
* | Add per-controller middleware | Yehuda Katz | 2009-09-12 | 1 | -1/+14 |
| | |||||
* | 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> | ||||
* | Cleanup hacky routing with controller_path in url helper tests. This doesn't ↵ | Joshua Peek | 2009-09-06 | 1 | -1/+1 |
| | | | | work in real life anyway. | ||||
* | Refactor ActionController to use find_template and template_exists? | Yehuda Katz + Carl Lerche | 2009-09-03 | 2 | -2/+2 |
| | |||||
* | Refactor ActionView::Resolver | Yehuda Katz + Carl Lerche | 2009-09-03 | 1 | -1/+1 |
| | |||||
* | rack-test 0.4.2 has rack 1.1.pre goodies, we'll use it instead | Joshua Peek | 2009-08-31 | 2 | -9/+7 |
| | |||||
* | Back off rack 1.1-pre and bundle in the new testing goodies | Joshua Peek | 2009-08-31 | 2 | -2/+3 |
| | |||||
* | 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> | ||||
* | Reset session in integration tests after changing routes to reload the ↵ | Joshua Peek | 2009-08-27 | 1 | -1/+3 |
| | | | | middleware stack | ||||
* | Fixed stupid mistake... nothing to see here. | Carl Lerche | 2009-08-26 | 1 | -1/+1 |
| | |||||
* | Set the request and response in ActionController::Middleware | Carl Lerche | 2009-08-26 | 1 | -0/+4 |
| | |||||
* | UrlRewriter#rewrite_url should call #to_param on the value given in :anchor ↵ | Jeffrey Hardy | 2009-08-26 | 1 | -1/+1 |
| | | | | | | | | option, just as #url_for does [#2746 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Create new ActionController::Middleware class that will work as a normal ↵ | Yehuda Katz | 2009-08-26 | 2 | -22/+34 |
| | | | | | | Rack middleware. * This initial implementation is a bit hackish, but it uses a normal middleware API so it's future-proof when we improve the internals. | ||||
* | 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 | 2 | -12/+36 |
| | |||||
* | Move legacy param_parsers config onto AD::ParamsParser | Joshua Peek | 2009-08-21 | 1 | -6/+0 |
| | |||||
* | Cleanup route reloading in tests. Prefer with_routing over using ↵ | Joshua Peek | 2009-08-16 | 1 | -4/+8 |
| | | | | ActionController::Routing::Routes directly | ||||
* | Axe "best fit" generation support | Joshua Peek | 2009-08-15 | 1 | -27/+2 |
| | |||||
* | Normalize route generation order: associations, yield block, then own routes. | Jeremy Kemper | 2009-08-15 | 1 | -9/+9 |
| | |||||
* | Got tests to pass with some more changes. | Yehuda Katz | 2009-08-15 | 2 | -8/+16 |
| | | | | | | | | | | | | | | | | * 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 | 6 | -19/+23 |
|\ | |||||
| * | More perf work: | Yehuda Katz | 2009-08-11 | 5 | -16/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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! |