Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Break up DependencyModule's dual function of providing a "depend_on" DSL and ↵ | Joshua Peek | 2009-05-28 | 6 | -6/+6 |
| | | | | "included" block DSL into separate modules. But, unify both approaches under AS::Concern. | ||||
* | Revert "Revert "Whitespace!"" | Joshua Peek | 2009-05-28 | 8 | -62/+60 |
| | | | This reverts commit 0cac68d3bed3e6bf8ec2eb994858e4a179046941. | ||||
* | Added hook point in new base #send_action which does the actual action ↵ | Yehuda Katz + Carl Lerche | 2009-05-27 | 1 | -1/+3 |
| | | | | method dispatching | ||||
* | Add the ability to prepend filters to new callbacks | Carl Lerche | 2009-05-27 | 1 | -0/+9 |
| | |||||
* | Get controller/view_paths_test.rb to pass on new base | Carl Lerche | 2009-05-26 | 1 | -0/+4 |
| | |||||
* | Make a couple more tests pass. | Yehuda Katz | 2009-05-23 | 1 | -0/+11 |
| | | | | | | | A large number of the remaining failing tests have to do with the semantics of filters that are Objects. The right solution is probably to just implement the filter/before/after semantics in NewCallbacks directly (the current semantics are based on the old AS::Callbacks specs) | ||||
* | Slightly modify things to get content type matching working without breaking ↵ | Yehuda Katz | 2009-05-23 | 2 | -11/+11 |
| | | | | other code | ||||
* | Get controller/render_other_test.rb to pass on new base and fixed a bug in ↵ | Yehuda Katz + Carl Lerche | 2009-05-22 | 1 | -1/+1 |
| | | | | new base with regards to rendering layouts. | ||||
* | Get controller/layout_test.rb running on new base except for ↵ | Yehuda Katz + Carl Lerche | 2009-05-22 | 1 | -3/+3 |
| | | | | ActionController::Base.exempt_from_layout which is going to be deprecated. | ||||
* | Cleaned up the #render_to_body chain by extracting determining the templates ↵ | Yehuda Katz + Carl Lerche | 2009-05-22 | 2 | -13/+15 |
| | | | | to render to a separate hook point. | ||||
* | Add all the existing helpers related features to the new base | Pratik Naik | 2009-05-23 | 1 | -4/+23 |
| | |||||
* | Implemented layout conditions in new base | Yehuda Katz + Carl Lerche | 2009-05-21 | 1 | -3/+22 |
| | |||||
* | Added responds_to to new base. | Yehuda Katz + Carl Lerche | 2009-05-20 | 1 | -1/+6 |
| | |||||
* | Ported simple benchmarking in new base | Yehuda Katz + Carl Lerche | 2009-05-18 | 2 | -0/+29 |
| | |||||
* | Refactored AbstractController to provide better hook points for overriding ↵ | Yehuda Katz + Carl Lerche | 2009-05-15 | 2 | -14/+17 |
| | | | | aspects of action dispatching | ||||
* | Merge commit 'origin/master' | Yehuda Katz + Carl Lerche | 2009-05-14 | 2 | -1/+5 |
|\ | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/abstract/base.rb actionpack/lib/action_controller/routing.rb | ||||
| * | Minimal base/new_base comparison | Jeremy Kemper | 2009-05-14 | 2 | -3/+7 |
| | | |||||
* | | Got new base to pass controller/base_test.rb, implemented method_missing ↵ | Yehuda Katz + Carl Lerche | 2009-05-14 | 2 | -2/+41 |
| | | | | | | | | action semantics in compatibility mode, and fixed a few action_missing bugs. | ||||
* | | Cleaning up more render tests | Yehuda Katz + Carl Lerche | 2009-05-14 | 1 | -0/+9 |
|/ | |||||
* | Implemented redirects and partial rendering in new base. | Yehuda Katz + Carl Lerche | 2009-05-12 | 3 | -17/+24 |
| | |||||
* | Fixed new callbacks to not call the action when a callback sets the response ↵ | Yehuda Katz + Carl Lerche | 2009-05-12 | 1 | -1/+1 |
| | | | | body | ||||
* | Merge branch 'master' into wip_abstract_controller | Yehuda Katz + Carl Lerche | 2009-05-11 | 5 | -14/+24 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | Revert "Whitespace!" | Yehuda Katz + Carl Lerche | 2009-05-11 | 7 | -44/+50 |
| | | | | | | | | This reverts commit a747ab5b20b9d543e9d311070e3b720c761ae716. | ||||
| * | Whitespace! | Joshua Peek | 2009-05-07 | 7 | -50/+44 |
| | | |||||
| * | Prefer "included" language over "setup" | Joshua Peek | 2009-05-07 | 4 | -12/+15 |
| | | |||||
| * | Make module dependency DSL opt in | Joshua Peek | 2009-05-07 | 4 | -2/+9 |
| | | |||||
* | | Don't run the action if callbacks are halted. | Yehuda Katz + Carl Lerche | 2009-05-11 | 1 | -1/+1 |
| | | | | | | In AbstractController, this means that response_body is not empty | ||||
* | | More community code review :) | Yehuda Katz | 2009-05-11 | 3 | -12/+4 |
| | | |||||
* | | Add support for stripping "layouts/" from the layout name | Yehuda Katz + Carl Lerche | 2009-05-01 | 1 | -0/+3 |
| | | |||||
* | | Modify new_base to use String action_names for back-compat | Yehuda Katz + Carl Lerche | 2009-05-01 | 2 | -6/+6 |
| | | |||||
* | | Ported over the concept of public instance methods on controller child ↵ | Yehuda Katz + Carl Lerche | 2009-05-01 | 1 | -7/+41 |
| | | | | | | | | classes as callable action methods | ||||
* | | Support implicit render and blank render | Yehuda Katz + Carl Lerche | 2009-05-01 | 2 | -3/+14 |
| | | |||||
* | | Ported over render :template tests | Yehuda Katz + Carl Lerche | 2009-05-01 | 2 | -3/+1 |
| | | |||||
* | | Finished implementing render :text in Base2 | Yehuda Katz + Carl Lerche | 2009-05-01 | 1 | -0/+13 |
| | | |||||
* | | OMG, a lot of work | Yehuda Katz + Carl Lerche | 2009-05-01 | 2 | -2/+5 |
|/ | |||||
* | Refactor ActionView::Path | Yehuda Katz + Carl Lerche | 2009-04-22 | 2 | -3/+3 |
| | | | | | | | | * 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.0 | Jeremy Kemper | 2009-04-22 | 1 | -1/+13 |
| | |||||
* | Reinstate Base#render_to_string. Introduce ↵ | Jeremy Kemper | 2009-04-21 | 1 | -1/+11 |
| | | | | AbstractController#render_to_string which stringifies render_to_body. | ||||
* | Rename render_to_string to render_to_body since it may return any ↵ | Jeremy Kemper | 2009-04-17 | 1 | -3/+3 |
| | | | | Rack-compatible body, not just strings | ||||
* | Get Base2 layouts to work :) | Yehuda Katz and Carl Lerche | 2009-04-07 | 1 | -13/+21 |
| | |||||
* | Layouts work in AbstractController. Add support for the rspec runner for T::U | Yehuda Katz and Carl Lerche | 2009-04-07 | 1 | -6/+18 |
| | |||||
* | Add depends_on, use, and setup to abstract up ideas about module inheritance. | Yehuda Katz and Carl Lerche | 2009-04-07 | 5 | -40/+33 |
| | |||||
* | In the middle of some refactoring... some fails due to changes in ↵ | Yehuda Katz and Carl Lerche | 2009-03-23 | 1 | -11/+31 |
| | | | | AbstractController not yet reflected in ActionController tests | ||||
* | Checkpoint | Yehuda Katz and Carl Lerche | 2009-03-23 | 1 | -0/+36 |
| | |||||
* | Finished implementing layout for render :text | Carl Lerche | 2009-03-23 | 1 | -3/+5 |
| | |||||
* | Working on being able to render :text with layouts | Carl Lerche | 2009-03-23 | 1 | -1/+1 |
| | |||||
* | Get very basic layouts working. | Yehuda Katz | 2009-03-19 | 2 | -20/+34 |
| | | | * Required small architecture change | ||||
* | Started implementing render :action | Yehuda Katz | 2009-03-19 | 1 | -2/+2 |
| | |||||
* | Implemented basic template rendering in AC::Base2: | Yehuda Katz | 2009-03-18 | 1 | -1/+5 |
| | | | | | | | * Created several macros for writing simpler specs * Finished making Rack::Test work right * Implemented render_to_string * Status Codes * render :text => nil | ||||
* | Working toward getting a basic AbstractController framework | Yehuda Katz | 2009-03-17 | 2 | -1/+14 |
| |