aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
* An exception is raised if a layout is missing only if the layout is missing ↵Yehuda Katz + Carl Lerche2009-06-163-3/+5
| | | | for all mimes
* Exceptions now in an exceptions moduleYehuda Katz + Carl Lerche2009-06-161-0/+58
|
* Merge process2 into process to people's regular tests run :PYehuda Katz + Carl Lerche2009-06-163-115/+12
|
* Whoops, I guess we broke layouts ;)Yehuda Katz + Carl Lerche2009-06-152-6/+6
|
* rm -r controller/base!Yehuda Katz + Carl Lerche2009-06-1518-2467/+0
|
* Keep ActionMailer using the old layouts code until it gets refactored.Yehuda Katz + Carl Lerche2009-06-151-0/+8
|
* Get tests to run (with failures) without old base aroundYehuda Katz + Carl Lerche2009-06-1537-1416/+1453
|
* Finish making things pass with updated internal content_type semanticsYehuda Katz + Carl Lerche2009-06-154-6/+9
|
* moves reopening of core classes to add generic stuff from Action Pack to ↵Xavier Noria2009-06-131-49/+4
| | | | | | | | AS/core_ext and adds tests [#2798 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* uses Object#metaclass and Object#class_eval in a few spotsXavier Noria2009-06-121-1/+2
| | | | | | [#2797 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Document and clean up HideActions and HttpYehuda Katz + Carl Lerche2009-06-103-26/+41
|
* Removed unnecessary codeYehuda Katz + Carl Lerche2009-06-102-32/+17
|
* Document ActionController::HelpersYehuda Katz + Carl Lerche2009-06-101-4/+71
|
* Cleaned up the #default_helper_module method to make better use of #helper ↵Yehuda Katz + Carl Lerche2009-06-101-9/+6
| | | | instead of duplicating code.
* Simplify helper use of ActiveSupport::Dependencies, and use super better for ↵Yehuda Katz + Carl Lerche2009-06-101-49/+34
| | | | in #helpers
* Clean up AbstractController::Logger and write documentationYehuda Katz + Carl Lerche2009-06-091-4/+12
|
* Cleaning up and documenting AbstractController::LayoutsYehuda Katz + Carl Lerche2009-06-093-39/+251
|
* Write documentation for AbstractController::HelpersYehuda Katz + Carl Lerche2009-06-093-20/+39
|
* 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>
* More documentation work on AbstractControllerYehuda Katz + Carl Lerche2009-06-084-25/+80
| | | This is still not completely done and there might be pointers to things that don't exist yet.
* Writing comments to AbstractControllerYehuda Katz + Carl Lerche2009-06-084-29/+148
|
* Remove extraneous response_objYehuda Katz + Carl Lerche2009-06-081-5/+0
|
* ActionPack components should no longer have undeclared dependencies.Yehuda Katz + Carl Lerche2009-06-081-2/+2
| | | | | | | * Tests can be run in isolation * Dependencies added * A few tests modified to avoid depending on AS deps not depended on my files they were testing
* Further cleaning up new callbacksYehuda Katz2009-06-021-3/+3
|
* Simplify callbacks to use less metaprogrammingYehuda Katz2009-06-021-15/+15
|
* Get all the callback tests to work on new baseYehuda Katz + Carl Lerche2009-06-011-0/+6
|
* Depend on Hash#slice and Object#tryJeremy Kemper2009-05-301-0/+3
|
* html-scanner uses Set and class_inheritable_accessorJeremy Kemper2009-05-301-0/+3
|
* AS::Concern redefines "include" to lazy include modules as dependenciesJoshua Peek2009-05-2918-26/+24
|
* 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-2826-45/+41
| | | | "included" block DSL into separate modules. But, unify both approaches under AS::Concern.
* Revert "Revert "Whitespace!""Joshua Peek2009-05-2823-264/+270
| | | This reverts commit 0cac68d3bed3e6bf8ec2eb994858e4a179046941.
* 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>
* Fix failing ActionCacheFilter tests due to around filter changes.Yehuda Katz + Carl Lerche2009-05-271-1/+1
|
* Added hook point in new base #send_action which does the actual action ↵Yehuda Katz + Carl Lerche2009-05-272-2/+4
| | | | method dispatching
* Add the ability to prepend filters to new callbacksCarl Lerche2009-05-271-0/+9
|
* Add % to RESERVED_PCHAR [#2574 state:resolved]Eduard Bondarenko2009-05-271-1/+1
| | | | 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>
* Reduce the cost of using ActionController::Http significantly by:Yehuda Katz2009-05-2711-28/+88
| | | | | | | | | | * Removing the dependency on AD::Request and AD::Response * Moving the logic for the request and response object into a new module that is included by default. * Changing Renderer and Redirector to use self.headers, self.content_type, and self.status, which have very basic default implementations on AC::Http. When RackConvenience is included (which it is by default on AC::Base), the full Request/Response logic is used instead of the simple logic.
* Get all template tests passing on new baseCarl Lerche2009-05-261-1/+1
|
* Got all the dispatch tests running on new baseCarl Lerche2009-05-261-0/+3
|
* Get controller/test_test.rb to pass on new baseCarl Lerche2009-05-261-1/+2
|
* Add html-scanner to the new base set of autoloadsCarl Lerche2009-05-261-0/+2
|
* Get controller/view_paths_test.rb to pass on new baseCarl Lerche2009-05-262-0/+17
|
* In new base Rails2Compatibility, move @template assignment to right before ↵Carl Lerche2009-05-261-6/+6
| | | | the first action is processed.
* Make Filter#filter work with around filtersPratik Naik2009-05-253-12/+22
|
* Make a couple more tests pass. Yehuda Katz2009-05-231-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 Katz2009-05-232-11/+11
| | | | other code
* Remove unnecessary asset_host initializationPratik Naik2009-05-232-2/+0
|