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.
Model::bind() duplicates bindModel() and should be deprecated https://trac.cakephp.org/ticket/6096Deprecate convenience methods, their use has been removed from the core, and they are often a bad practice. https://trac.cakephp.org/ticket/6525Their usage from inside CakePHP outside ofam()has been removed. The functions can be removed in a future version. Removing them now could cause a larger barrier to upgrading.CookieComponent::delete() https://trac.cakephp.org/ticket/6015Folder and other deprecations- See http://code.cakephp.org/wiki/RFCs/Method-cleanup
-
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.DeprecateRouting.admin. Add support forRouting.prefixesand 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/3270Make auth and acl work with plugins and plugin controllers. http://code.cakephp.org/tickets/view/33>Update bake to reflect changes inRouting.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? AddFile::copy.Custom Error methods defined in an AppError class are converted toerror404when 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 insideplugin/config/file_name.php.-
RemoveHelper::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 usestrlenand other str functions, update to usemb_to improve compatibility. ReferencesText Helper should work with Russian characters in PHP 4 https://trac.cakephp.org/ticket/1406multibyte strings should be supported https://trac.cakephp.org/ticket/2218
-
Helper localization improvements. There are a few helper methods that are not i18n friendly. References:
Time Helper should support localization https://trac.cakephp.org/ticket/1410Bake should create views with properly formatted i18n strings https://trac.cakephp.org/ticket/3356Time Helper methods should return i18n-friendly strings https://trac.cakephp.org/ticket/3583Allow default currency sets in number helper. https://trac.cakephp.org/ticket/5630
-
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:Alphanumeric field validation is not UTF-8 safe https://trac.cakephp.org/ticket/4819Spanish Phone Validation https://trac.cakephp.org/ticket/5678Validation::postal(...) should accept multiple countries https://trac.cakephp.org/ticket/5423Italian and France Phone Validation https://trac.cakephp.org/ticket/5839Validation::ip() should support IPv6 addresses https://trac.cakephp.org/ticket/5872Validation for Australian PostCode https://trac.cakephp.org/ticket/5874[PATCH+TEST] Validation for cs+sk postal codes https://trac.cakephp.org/ticket/6146[PATCH] Postal code validation rule should support nl (Dutch) format https://trac.cakephp.org/ticket/6479Postal code validation rule for jp (Japan) format https://trac.cakephp.org/ticket/6495
-
FormHelper
Implement a way to set defaults for input() https://trac.cakephp.org/ticket/4541 and http://code.cakephp.org/tickets/view/56- Implement templates for helper methods to allow more flexible output. https://trac.cakephp.org/ticket/6368
- Also see http://code.cakephp.org/wiki/RFCs/API-changes
FormHelper::button() should actually make button elements. Seems wierd that it makes submit inputs.Remove$dateFormat = 'NONE'and$timeFormat == 'NONE'from FormHelper::dateTime(). If you want only a date or a time use those methods instead.
-
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.Not complete, themes are not really intended to be inside plugins as they are similar to plugins. See the plugin/theme asset improvements.var $theme = 'plugin.theme'See http://code.cakephp.org/tickets/view/276
-
Model & Datasources
Fix query, to return result of_executewhen there is no resultset. https://trac.cakephp.org/ticket/6404- Complete addition of
tableParametersto all Dbo's. Already implemented in Mysql + Mysqli Create a way to get query list from DboSource without getting a blob of HTML- GROUP BY support in Containable behaviour https://trac.cakephp.org/ticket/6433
Datasources in Plugins. Be able to define and use datasources located in plugins.Schema shell should generate based on plugin model https://trac.cakephp.org/ticket/4268Implement counterCache for habtm relations https://trac.cakephp.org/ticket/5214 and http://bakery.cakephp.org/articles/view/counter-cache-behavior-for-habtm-relationsSeems like a feature that could open another set of messy situtations where it only works half the time. Passing on this one for nowImplement support for virtual fields or fields represented by SQL expressions at the model level. This will enable pagination etc on virtual fields.- Allow search_path to not be set for PostgreSQL connections. Allows PostgreSQL connections to use more than one schema. https://trac.cakephp.org/ticket/6373
-
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.
Separate HTTP Response Codes from Controller::header(), add 505 https://trac.cakephp.org/ticket/6522Model::findQueryType unset prior to Model::afterFind() https://trac.cakephp.org/ticket/5847Scaffolding doesn't support reverse routing https://trac.cakephp.org/ticket/6011-
Inflector Slug enhancements:Inflector::slug -> Polish chars added https://trac.cakephp.org/ticket/5124Inflector::slug() should support custom characters https://trac.cakephp.org/ticket/5168Inflector::slug doesn't handle "ã" and "õ" https://trac.cakephp.org/ticket/6007Add more accent characters to Inflector::slug https://trac.cakephp.org/ticket/6063
-
FormHelper
Improve required class usage. https://trac.cakephp.org/ticket/2563Improve schema introspection https://trac.cakephp.org/ticket/4203Form::error() should follow input() escape attribute https://trac.cakephp.org/ticket/2920Fix arbitrary limitations with goofyView::entity()methods. https://trac.cakephp.org/ticket/4499, https://trac.cakephp.org/ticket/4626Fix unchangeable select forcing https://trac.cakephp.org/ticket/5109Pass monthNames into datetime() https://trac.cakephp.org/ticket/5099- HABTM support for error messages. https://trac.cakephp.org/ticket/3604
Change default form target to current url https://trac.cakephp.org/ticket/5353Set encoding on generated forms https://trac.cakephp.org/ticket/6042
-
Remove magic 'title' https://trac.cakephp.org/ticket/6420
Possible to do
-
FormHelper
Allow disabling of hidden inputs for radio and checkbox methods. https://trac.cakephp.org/ticket/6185Unify html generated byhour()andminute()https://trac.cakephp.org/ticket/6300Add before and after tosubmit()https://trac.cakephp.org/ticket/6340
-
AclBehavior update nodes in afterSave() https://trac.cakephp.org/ticket/4261 and http://code.cakephp.org/tickets/view/31 Helpers should always be addressed by $this->Helper->func() instead of $helper->func() https://trac.cakephp.org/ticket/5935 In 1.3 maintain the local vars, but also create the $this->Helper alias.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
1.3.0—65% complete
Completed 210 of 321 tickets
Pages
- Home
- 1.3
- 1.3 migration guide
- 1.3 new features
- 1.3 new features > plugin assets
- 1.3 new features > logging
- 1.3 new features > formhelper
- 1.3 new features > bake updates
- 1.3 new features > js-helper
- 1.3 new features > js helper > methods
- 1.3 new features > virtual fields
- 1.3 new features > test suite
- 1.3 todo list
- Changelogs
- Changelog > 1.2.1
- Changelog > 1.2.2
- Changelog > 1.2.3
- Changelog > 1.2.4
- Changelog > 1.2.5
- Changelog > 1.2.6
- Changelog > 1.3-dev
- Changelog > 1.3.0-alpha
- Changelog - 1.3.0-alpha pt2
- Changelog > 1.3.0-alpha pt3
- Changelog > 1.3.0-beta
- Changelog > 1.3.0-beta pt2
- Changelog > 1.3.0-beta pt3
- Changelog > 1.3.0-RC1
- support > scripts
- Changelog > 1.3.0-RC2
