Todo list for 1.3

The following are grouped by mark_story preference of getting them complete. Feel free to move them around, or remove tickets you think are no good. Also this list encompasses most of the remaining items from [wiki:Hit_List the old hit list] . If it is a change that will affect userland code document it in Migration Guide

Really should do

  • Method deprecations.

  • Session cookie path should be configurable https://trac.cakephp.org/ticket/6324

  • Decouple Session cookie lifetime from security level https://trac.cakephp.org/ticket/5985.
  • Convert SessionHelper::flash() and SessionComponent::setFlash() to use an element instead of a layout. Its counter intuitive that a page fragment is a layout and not an element.
  • Deprecate Routing.admin. Add support for Routing.prefixes and automatically create prefix routes much like admin routes are currently handled.
  • Allow logging when debug = 0. Can be a special log or just use error.log. https://trac.cakephp.org/ticket/3270
  • Make auth and acl work with plugins and plugin controllers. http://code.cakephp.org/tickets/view/33>
  • Update bake to reflect changes in Routing.prefixes, Use prefixes instead of singular admin, and allow choice for baking views for any prefix the user has declared.
  • Update Scaffold to allow scaffolding of any one prefix.
  • File::copy() Where are thou? Add File::copy.
  • Custom Error methods defined in an AppError class are converted to error404 when debug == 0. This is not intuitive and makes it harder to use custom error handling methods. Propose that when debug ==0, any methods of ErrorHandler are converted into error404. Any methods of a subclass as long as they exist are left alone. Otherwise they are converted to error404.
  • Configure::load() should be able to load config files inside plugin/config/file_name.php.
  • Remove Helper::output() the idea behind it (enabling auto echoing of helper methods) is flawed and not feasible. Furthermore, it is not uniformly implemented throughout the core helpers. Removing it will reduce helper overhead.

  • Caching

    • Cache engines should be able to reside in plugins as well as app/libs
  • Logging

    • Implement the CakeLog streams as discussed in [wiki:RFCs/logging-enhancements Logging enhancement RFC]
    • Ensure that logging streams can be provided by plugins.
  • Multibyte support in helpers. TextHelper and others use strlen and other str functions, update to use mb_ to improve compatibility. References

  • Helper localization improvements. There are a few helper methods that are not i18n friendly. References:

  • Localization extensions for validations. The current implementation of validation localization is not sustainable and needs to be changed, there are numerous tickets containing various requests for different locales. Implementing a generic solution is a much better approach. References:

  • FormHelper

  • JsHelper

    • JsHelper::set() allows you to set variables to javascript. The variables are converted to a javascript object, and are part of the contents in getBuffer/writeBuffer. A class property should control the javascript variable created.
  • Views

    • themes should be able to reside in plugins. var $theme = 'plugin.theme' See http://code.cakephp.org/tickets/view/276 Not complete, themes are not really intended to be inside plugins as they are similar to plugins. See the plugin/theme asset improvements.
  • Model & Datasources

  • Controller

    • Convert SessionHelper::flash() and SessionComponent::setFlash() to use an element instead of a layout. Its counter intuitive that a page fragment is a layout and not an element.
    • Controller::$data to an Xml object as is done now is dumb. Instead, the Xml class should be used to simply convert the data into an array.
  • Components

    • Update all core components to allow settings to be declared in the $components array. This will make component use more declarative and more consistent with behaviors.
  • Test suite

    • Add time and memory use to test suite output.
    • Improve speed of CodeCoverage, right now its super slow. Most of the time consumed was due to xdebug collecting reports and generating html diff reports.
    • Improve CodeCoverage for GroupTests see https://trac.cakephp.org/ticket/5725

Would like to do.

Possible to do

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

1.3.065% complete

 

Completed 210 of 321 tickets