CakePHP : the rapid development php framework

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

Changelogs

Version 2.1.0-beta.

  • 62b203f Update version number to 2.1.0-beta
  • 64d4387 Added default prefix to cache configurations.
  • 9d0a67d Avoiding class name conflicts
  • c2519e7 Merging ThemeView and View class
  • b8d67e5 Set encoding in CSS file.
  • 37314a2 Logging transaction commands in DboSource, fixes #2457
  • 6aa08b5 Preventing datasource creationa and access on models having $useTable = false;
  • 70bb839 Add validation guess for not null + text types.
  • bc68915 Add note about PHP's include_path.
  • e6f5ebc Merge changes from hmic/CakeEmail-2.0
  • d4e2fbf set correct default validate option, now matches saveAll/saveMany default value, fixes #2492
  • a70c8c7 Merge changes from 1.3 to 2.0
  • 1c64515 added sftp to url()
  • 69a69d4 Add test for Validation::url() + sftp.
  • 00a5510 Readability changes
  • 5df2a09 Not sending the response in beforeRender, better let Dispatcher do its work
  • 1693478 Adding test for #GH424
  • ad304e0 Reformat long line.
  • eb101b9 Update Model::saveAssociated() documentation
  • c95ab28 Test case and Fix for: Number::currency() issue
  • d61b6dc Removed constant available only in php 5.3 and changed exception type to fix errors on php 5.2. Fixes #2487
  • 2a9e677 allow other parent field, set in find options or TreeHebavior, for threaded find. Fixes #1769
  • 2c239cc Removed constant available only in php 5.3 and changed exception type to fix errors on php 5.2. Fixes #2487
  • c3b806c Prevent blackhole auth error where are present multi fields
  • 769a5c2 Fixing some failing test cases
  • 979f7a2 Fixing a couple bugs in CakeResponse::checkNotModified() and implementing conditional rendering in RequestHandlerComponent
  • 28ee27e Making it possible to cancel the render() process from any beforeRender listener
  • b79e0ad Moving checkModified() to CakeResponse, having it in the RequestHandler has too restrivtive
  • 6839f0c Fixing typo in docblock
  • a7662eb fixing doc comment identation
  • dffe84c Implementing RequestHandler::checkNotModified() as a helper for HTTP caching
  • 8e979cc Implementing CakeResponse::notModified()
  • dbd097d Implementing the CakeResponse::etag()
  • 803d49c Adding CakeResponse::vary()
  • 3240f62 Implementing mustRevaidate()
  • 552c70a Removing Pragma headers, implementing sharedMaxAge in CakeResponse
  • 2428e83 Adding test case for maxAge()
  • d9987c9 Implementing sharable() and maxAge() in CakeResponse for a finer grain and easier control of cache headers
  • 130b827 Implementing the modified() method in CakeResponse to have an easier way of setting the modification time
  • bab7e77 Adding expires() to CakeResponse to help adding expiration dates to the http response cache directives
  • f32c703 Not appending the charset information for content types that are not text/* in CakeResponse
  • 4d19d53 Saving a few bytes by unsetting the content if the response status code is 204 (No Content) or 304 (Not Modified)
  • 5b42cb8 Adding length() method to CakeResponse as a shortcut for Content-Length. If you wish to force not Content-Length use length(false)
  • 336ba19 Adding protocol() method to CakeResponse to be able to change it on the fly
  • e1738c8 Added check for NOT in key when array count === 1 to prevent SQL error
  • f1f1ce0 allow specifying an explicit root
  • 5e495ad Simplify how options are checked.
  • d2dd861 Update doc block for 'keepExisting' HABTM option.
  • e947df3 Remove unnecessary condition in Model::getID().
  • 826374e Remove unnecessary param when calling begin, commit and rollback on datasource.
  • 8281175 fix that argument with 0 as value will stop parsing args, tests added
  • c81fe62 Fix prefix = false in connect()
  • 153b9f9 Updated to use camelize rather than classify
  • 33dc57e Added check for duplicate methods to prevent fatal php error
  • 3a3d89d Updating test to reflect last changes made by pull #413.
  • 5cb974e Fixes the MethodNotAllowed when deleting a model from an scaffolding view.ctp page
  • ddbaa66 Reviewing the logic in the Shell::in($prompt, $options = null, $default = null)
  • adde2a9 Fixed broken Controller::setAction() testcase
  • ad2472a Testcase for Controller::setAction()
  • 6046b8d Properly set the current action on CakeRequest when invoking Controller::setAction()
  • 81b41aa Optimizing Configure::delete(), you can now delete arbitrarily nested keys
  • eab2d8a Optimizing Configure::read(), now it is possible to read arbitrarily nested keys
  • f5b62eb Fixed typo in DocBlock Router::defaultRouteClass will return the current routeClass if null is passed Router::connect and Router::defaultRouteClass both validate the routeClass now using Router::_validateRouteClass
  • 22f844c prevent block="css" when using inline=false css
  • c89c49c Enhance HtmlHelper::getCrumbs() $startText param
  • 7badb1d fix magic __isset()
  • 3a48f64 Optimizing and simplifying Configure::write(), this also allows arbitrary nesting limit in configure keys
  • b14072a Add Router::defaultRouteClass()
  • b6040ae Update UpgradeShell for App classes.
  • e25867d Catching any possible exception in DatabaseSession destructor, using exceptions in destructors is a bad idea in PHP
  • e6e14a7 Fixing php 5.2 specific problem, closes #2468
  • eaf6f0e add missing App::uses()
  • 9c652e6 add missing tests
  • 7414d0f rename set::getValue to set::get - and make it public
  • 0e607bf $action in AclShell::_getParams() defaults to '*', not NULL
  • c53f0e6 Explicitly casting to string a variable that could in times be either string or integer
  • 4d73f4e Fix boundaries used in multi-part messages.
  • 29cfdb4 Fixed wrong boundary marker for inline-files, inline-files should start new rel-boundaries, not (outer-)mixed-boundaries.
  • 0f8e150 Ensure helpers are loaded in data views.
  • cf8c1cd Return length 36 for uuid columns in Postgres.describe()
  • 32cb416 Replace smart quotes with ASCII equivalents.
  • aeda986 Add additional empty() for tablePrefix.
  • 7877e7f Make allow(null) and deny(null) consistent with no args.
  • a8bc916 Move check out of the loop, and allow nulls.
  • 941d503 documentation clarification
  • a62c535 whitespace
  • d5fdf45 add a test for what happens when you nest on a field that doesn't exist
  • 3b1dd82 add tests for set nest method
  • d534013 reduce code repetition
  • d238d8c Fix incorrect `__isset()`.
  • dbea156 Add iPad to the list of mobile clients.
  • 5608d63 allow set nest to work with any-d arrays
  • 442d889 move the paths used into options
  • 7b640b8 move find threaded logic to the set class
  • b8598c5 Ensure the class has a constructor
  • 336c750 Ensure the class has a constructor
  • 0be71a0 Adding / updating I18n class test cases.
  • 30522d0 Adding $language parameter to I18n::translate()
  • 08825e5 Replacing hardcoded default domain with static property I18n::$defaultDomain
  • 1f246d6 Refactoring I18n class to expose public methods to read .po, .mo and locale definition files.
  • c832646 add a space after the comma in the $merge array
  • 22ad6cd removing the condition and adding actsAs to the default list of merged keys.
  • afa4dd0 Solving the small defect in the array of behaviors(actsAs)
  • 2b5b769 Property 'name' removed of PagesController.
  • 521dff8 Added 'recursive' settings option to BaseAuthenticate and BasicAuthenticate to have a bit more fine grained control in custom Authenticate objects.