aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* html-scanner uses Set and class_inheritable_accessorJeremy Kemper2009-05-301-0/+3
|
* Depend on Hash#diff extensionJeremy Kemper2009-05-301-0/+2
|
* Revert "Only save the session if we're actually writing to it [#2703 ↵Joshua Peek2009-05-301-10/+1
| | | | | | state:resolved]" This reverts commit dd98280e38d640f5724887cf8a715b79f0439d2d.
* 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
|
* Ruby 1.9: ERB template encoding using a magic comment at the top of the fileJeremy Kemper2009-05-282-8/+14
|
* Ruby 1.9: flushing the output buffer preserves its encodingJeremy Kemper2009-05-281-3/+10
|
* Break up DependencyModule's dual function of providing a "depend_on" DSL and ↵Joshua Peek2009-05-2827-46/+42
| | | | "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.
* Only save the session if we're actually writing to it [#2703 state:resolved]Johan Sörensen2009-05-281-1/+10
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* 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
|
* Make the default 500 Internal Server Error page more friendly. Many people ↵Hongli Lai (Phusion)2009-05-271-1/+4
| | | | | | don't know they're supposed to look in the log files. [#2716 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* 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-262-5/+9
|
* 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
|
* Don't want Rack's Content-Type default header thoughJeremy Kemper2009-05-241-2/+3
|
* Construct a single HeaderHash. Speed up assign_default_content_type_and_charsetJeremy Kemper2009-05-241-4/+10
|
* Speed up Request#formatsJeremy Kemper2009-05-231-6/+14
|
* 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-233-13/+19
| | | | other code
* Remove unnecessary asset_host initializationPratik Naik2009-05-232-2/+0
|
* Add asset_host to Rails2CompatibilityPratik Naik2009-05-231-0/+6
|
* Created an ActionController::Renderers::All that includes all the default ↵Yehuda Katz + Carl Lerche2009-05-222-4/+12
| | | | render options (:json, :js, :rjs, :xml)
* Got controller/render_js_test.rb to pass on new baseYehuda Katz + Carl Lerche2009-05-222-0/+11
|
* Port cookies to new baseJeremy Kemper2009-05-222-1/+3
|
* Add Translation to the new basePratik Naik2009-05-232-0/+2
|
* Get controller/render_other_test.rb to pass on new base and fixed a bug in ↵Yehuda Katz + Carl Lerche2009-05-222-2/+3
| | | | new base with regards to rendering layouts.
* Make logging_test pass with the new basePratik Naik2009-05-231-1/+1
|
* Use super wherever possible in ActionController::Helpers#helperPratik Naik2009-05-231-5/+2
|
* Get controller/layout_test.rb running on new base except for ↵Yehuda Katz + Carl Lerche2009-05-224-16/+17
| | | | 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 Lerche2009-05-223-22/+30
| | | | to render to a separate hook point.
* Add all the existing helpers related features to the new basePratik Naik2009-05-235-19/+168
|
* Move FilterParameterLogging to a stand alone module and make it work on new basePratik Naik2009-05-225-57/+101
|
* Make assertion tests pass with the new basePratik Naik2009-05-222-1/+2
|
* Ruby 1.9 compat: don't rely on lexical scoping since the included block is ↵Jeremy Kemper2009-05-211-2/+2
| | | | called from dependency_module
* Move Safari response-padding fix to Rails2Compatibility. Should be a Rack ↵Jeremy Kemper2009-05-215-22/+11
| | | | concern.
* Dead localJeremy Kemper2009-05-211-1/+0
|
* Implemented layout conditions in new baseYehuda Katz + Carl Lerche2009-05-211-3/+22
|
* Added the :rjs render optionYehuda Katz + Carl Lerche2009-05-215-14/+31
|