CakePHP : the rapid development php framework

CakePHP makes building web applications simpler, faster and require less code.

Changelogs

Version 1.3.7.

  • 9f58309 Updating version numbers for 1.3.7
  • a0a87ad Adding non-zero exit codes to ErrorHandler in the console. Fixes #1468
  • ab337e2 Adding tests for TextHelper::autolinkurl(). Closes #1466
  • 6071788 Updated documentation for Router::connect. Fixed a few spelling issues as well.
  • d4e4957 Adding test case for FormHelper::input() for generation multiple checkboxes with space in option values. Refs #1465
  • 932533c Fixing incorrect content type headers from being set, when an action contains a requestAction to an action with a different Content-Type. Also populating RequestHandler->params as it was always empty. Fixes #1445
  • cfce0e4 Fixing issue where empty session id's would cause duplicate key errors. Empty session id sessions are no longer saved. Fixes #1450
  • b0d4951 Fixing TextHelper::autoLinkEmails() not linking email addresses that contain '. Test added. Fixes #1457
  • ca299a0 Fixing issue where get forms created with model = false would create inputs with name = ''. Tests added. Fixes #1455
  • b878058 Fixing issue where FormHelper::checkbox() would ignore an explicit checked = false, and use the post data instead. Test case added. Fixes #1437
  • 7548379 Small refactor for how HTTP_BASE is generated. Removing non-obvious regular expression. Fixes #1436
  • 5f612b7 Making memcache cache adapter, set the expiry time of any value greater than 30 days to never expire. This works around the 30 day limitation of the PHP extension. Test case added. Fixes #1451
  • 0f4c905 Fixing issue where elements did not get .ctp as a fallback extension unlike view and layout files. Adding a protected method to get extensions, as it would be in 3 places now. Added tests. Fixes #1438
  • f893e3b Applying patch from 'ryandesign' fixing incorrect datetime formats. Fixes #1441
  • 4f94b71 Revert "Fixing Set::filter() not predictably filtering in a recursive fashion. While a minor change in behavior, more predictable and uniform behavior is worth it." Refs #1431
  • 8d15ba5 Fixing env('HTTP_BASE') for site domain names that have the form xxx.yyy.zzz and use second level TLDs.
  • 8754d11 Adding EmailComponent::_getSocket() so EmailComponent + smtp is easier to test. Fixing issue where hosts with portnames could cause smtp emails to fail. Added tests, fixed an existing test to not depend on a local mailserver. Fixes #1433
  • f45f2e4 Making niceShort() compare the original dateString and userOffset. This fixes issues where timezone differences would cause the incorrect short form to be displayed. Fixes #1331
  • 6e2ffaf Fixing Set::filter() not predictably filtering in a recursive fashion. While a minor change in behavior, more predictable and uniform behavior is worth it. Fixes #1431
  • 5768bfe Fixing failing test caused by missing space.
  • a706151 Applying patch from 'rynop'. Fixing FixtureTask so it includes the datasource if its not the default one. Updating tests. Fixes #1419
  • 5092013 Making EmailComponent register and un-register its view object, when rendering email templates. This allows helpers to use the view to do additional processing. Fixes #442
  • c5c638e Fixing option documentation.
  • 56415f2 Fixing issue where CakeLog would log suppressed errors even when error reporting was disabled. Fixes #1403
  • 04929ae Applying patch from 'Thorsten Buss'. Fixes issues in DboSource, where mismatching types on join columns could result in incorrect query generation. Fixes #708
  • 5d2b4c7 Minor optimization in cache views.
  • a7c7436 Passing viewVars to cache views, avoiding cake:nocache problems.
  • 7416e58 Allowed comma-delimited list in smtp $to var to be consistent with standard mail delivery. Fixes #1353
  • 53a6870 Fixing encoding of address aliases. They are now mime-encoded like other headers. Tests added. Fixes #1360
  • e410509 Fixing TestTask not being able to find plugin objects when baking test skeletons interactively. Test case added. Fixes #1361
  • 5ffc84d Calling parent constructors in helpers that have it omitted. Fixes #1359
  • d7e62b8 Adding test cases for using helpers in nested elements from email templates. Closes #1355
  • a830632 Changing View::element() to not overwrite viewVars with helpers that have the same name. Test added. Fixes #1354
  • 48f32a1 Fixed incorrect docblock. Fixes #1350
  • 8681399 Forcing the plugin list to use a fresh directory listing in the web runner. Fixes #1338
  • 7024d14 Removing private annotations for File::__construct() and File::__destruct() as its just not true. This also prevents them from being included in the API docs.
  • 1dbed85 Append Controller to error class name for isAuthorized() not implemented.
  • 44b0917 Adding unicode letters and numbers to url path segment regex. Test case added. Fixes #1284
  • 96b30f0 adding tests for places that will leave a trailing 0 because of the way phps number_format() method works
  • c55a579 Typos in documentation: reguired -> required
  • 1186bc5 Adding EmailCompnent::lineFeed property toallow overriding the default line feed string when using mail() function to send mail. Closes #1320
  • 70ae66e Fixing test cases for EmailComponent
  • 15ca240 Fixing issue in DboSource::name() where special characters in column names would not be correctly quoted. Tests added. Fixes #1264
  • 7d158e8 Fixing Set::sort() for arrays with out of sequence, or missing keys. Tests added. Fixes #1312
  • 4214242 Adding test for correct merge order for $uses. Fixing incorrect merge ordering for $uses, so it matches historical behaviour. Fixes #1309
  • 0e29567 Adding an array cast to fix issues where users could modify cookie values causing iteration errors. Fixes #1309
  • b567de9 Fixed bug where Dispatcher::getUrl() returned incorrect URL if $base appeared in a $uri besides at start of $uri.
  • d5fb0b2 Fixing issue where Date header would be missing from Emails sent by EmailComponent. Adding user configurable field for date. Test cases added. Fixes #1304
  • d0d16a7 Fixing i18n extraction errors in Scaffold. Fixes #1305
  • bf10723 Applying patch from 'michealc' to fix duplicated comments. Fixes #1306
  • f48811a Moving include up so its not buried deep inside the class.
  • 244de1d Adding a comment about the messageId property and shells. Refs #1303
  • 79aafda Removing use of serialize() for locked fields. This removes any possible exploit related to serialize()/unserialize(). Instead values are passed as | delimited.
  • ae78556 Removing unserialize() as its dangerous. Instead using | delimited fields for locked fields. This totally avoids issues with serialize(). Removing str_rot13, as its only child proof. Tests updated.
  • ef3cb0e Adding tests for Set::normalize()
  • 6d9b000 Changing how mergeVars are handled, so the difference of app/current is used as a base. Also fixing issues where passing settings to helpers in AppController could result in them not being correctly merged. Thanks to hashmich for the partial patch. Fixes #1183
  • e0a8ffe Applying patch from 'jmccaffrey' to fix issues on windows where virtual machine paths would not be correctly handled. Fixes #1254
  • 82d4606 Corrected doc comment.
  • bed7767 Removing __cache property that can be altered outside of the class definition. Adding __resetCache() as a replacement for checking if cache should be reset and written.
  • 5349257 Changing empty() to !isset() to avoid additional cache hits when po files are missing or empty.