CakePHP : the rapid development php framework

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

Changelogs

Version 2.2.0-RC1.

  • f414aae Update version number to 2.2.0-RC1
  • 661feb8 Create signed tags.
  • a393b20 Add some doc blocks.
  • ecd869d Changing int to integer
  • 0ed6752 Fix coding standards.
  • f816f6a Supported japanese legacy charset and changed to use upper case charset in Content-Type line
  • 671c312 Making FormHelper::inputDefaults() code more readable
  • f7ce526 Updating mixed @param documentation to seperate list of accepted types
  • e58e3c5 Fix regex for failing test on 5.2
  • 9cceb15 Improving ModelValidator::add() to allow multiple rules to be defined at once
  • 57ad5e2 Made FormHelper::inputDefaults() alawys return inputDefaults array
  • 327f809 Removing duplicate if statement
  • cfd9d8a Added CakeTime::listIdentifiers()
  • fd0dd7e Updating FormHelper::create to use new inputDefaults() method
  • 1d77ad3 Added FormHelper::inputDefaults setter/getter method
  • 024e30e Fix coding standards errors.
  • 16a1a0e Fix coding standards.
  • 3f7cbf5 Update PHPUnit install instructions
  • 16847b0 Backporting changes form 2.2 to fix some edge cases on deep saving. Fixes #2879
  • dc8c731 Fixed failing test case
  • 7dbd6bc make sure model data is moved to alias, even when first key in data is assoc model add extra tests for saveAll and validate first ensure db values dont get reset to default values
  • 7107cd6 Fix fatal error when checking for PHPUnit.
  • 97ebbc8 Fixing coding conventions
  • 5fe22cf Adding support for DateTime objects in the CakeTime Utility class
  • f89bc65 CakeTime::format crashed when timezone is passed
  • c6258fa HTML escape context variables.
  • c9b801b making CakeLog to work with bogus $type and $scope
  • a37bdba Revert accidental change.
  • 7d9f441 Add documentation.
  • 110536d Fixing CakeSchema to test APP_DIR with different names than all lowercase
  • 0faaedf Split up tests.
  • cbd6caf The event manager should be re-used.
  • 6bb29ea changing CakeLog::_autoConfig for better bc
  • ef270b9 Fixing test assert for APP_DIR scenarios with non standard folder names
  • 0d9506f Fixing issue where nice and niceShort did not use the timezone if no dateString is passed
  • 6ede36f removing unneeded LOG_* constant checks
  • e6860fb8 changing LOG_ERROR to LOG_ERR in core files
  • 595cad8 ensure that plain CakeLogInterface still works
  • 8e8763d change to match syslog levels & customizable levels
  • dbd826f Removing extra space in the extract() calls
  • 64f03ac Fix code standards errors.
  • d924404 Fix hard coded date.
  • 579aff5 Fix error with options.
  • 176ec2d Add documentation on additional options.
  • 683146d Add a few more tests.
  • 0edbe0a Fix more whitespace.
  • 14bfd83 Reduce complexity in timeAgoInWords.
  • ca8046b Fix whitespace and formatting.
  • a80a7da Re-factor element generation.
  • 4f12f25 Add test for element.
  • fd5a8a8 Fix code standards.
  • 352fbde Move out HTML logic to Helper/TimeHelper.php. The Utility/CakeTime.php timeAgoInWords() now returns a string with the time, while the same function in Helper/TimeHelper.php may return an HTML element.
  • 9fa531d Added test cases for new features.
  • 0729aca Added some more intelligence to the CakeTime class
  • 14b7210 Fixed server offset calculation
  • 8103eae Make input prompt clearer in extract task.
  • c2920aa Fixing small variable typo
  • a3a2655 Fix whitespace errors.
  • eeff950 Removing default null value for $data parameter. Refs GH pull request #646
  • 287c7b4 fix broken tests for TestTask class
  • c651bf2 remove stub class from controller tests template and mock condition to make it extends ControllerTestCase
  • 335f355 fixing null request returned by Router::getRequest()
  • e5b3362 minor updates to the logging changeset
  • be9bcfd adding convenience methods for CakeLog
  • 6040d96 adding scoped logging
  • a269a12 reorder constant definitions
  • 05243a1 updating Shell tests related to Console logging
  • e11f6b7 adding tests for ConsoleLog engine
  • 70177e4 updating tests for CakeLog
  • 68b49950 fix ErrorHandlerTest
  • bb090c5 changing Shell to use ConsoleLog
  • d107277 new ConsoleLog logging engine
  • 5c4f741 add default logging config in Config/bootstrap.php
  • b71e814 selective logging by scope
  • 49bc818 new base class Log/Engine/BaseLog
  • aab1eb6 refactor to use ObjectCollection
  • fe659c0 Refactored FormHelper to take advantage of the new validator object
  • 217bf85 Implemented new method isEmptyAllowed in CakeValidationRule
  • 785cf83 Fixing merge artifacts to make all tests pass
  • efc3536 Fixing a couple errors introduced in previous commit
  • 2b7c2ad Fixing doc blocks for CakeValidationRule and changing visibility for some methods
  • 34531d9 Cahnging doc in header for CakeValidationSet
  • c4202b7 Improving docs for CakeValidationSet
  • 8c9c6b4 Improving docs for ModelValidator
  • 15a7472 use LOGS constant
  • 2808931 Renaming CakeRule to CakeValidationRule
  • 539fa3a fixing method signature in test models
  • a96e439 check extension before passing to addTestFile()
  • 89959af fix incorrect __construct params for mock object
  • f06fbb0 Making validateAssociated overwrite data consistently with validateMany
  • 82e8779 Ugly hack to fix saveAll deep and beforeValidate callbacks changing model data
  • 1481f82 Added warning messages in doc block for validateMany and validateAssociated about first param being passed by reference
  • 7db2b97 Fixing error with validateMany and validateAssociated not saving values altered in beforeValidate callbacks
  • e4c88d8 Revert "Merge pull request #644 from nodesagency/hotfix/beforeValidate-copy-data"
  • 2cea668 Revert "Merge pull request #643 from nodesagency/hotfix/beforeValidate-copy-data"
  • ad4e461 Fixing saveMany
  • fbd2132 Another fix for Pull request 642
  • 484c3ec Adding support for a trailing & or & in the existing queryString
  • 7a1275a Copy changes made to $this->data in beforeValidate callbacks back to saveAssociated data variable
  • 7592eb9 Fix test cases with postgres.
  • d9bf3cf Fix additional issues with saveAll().
  • e53074d Fixing order inconsistency in queryString and bug with string based existing querystring
  • d73bc6b Fix error in Sqlite tests.
  • 8334ebe Fix saving translate records with saveAll()
  • c9e59c3 Removed triple nested condition.
  • 2be9ac8 Fixed HTTP status codes for non-redirects which were breaking AuthComponent.
  • 7695da6 Use correct argument order.
  • a238116 make controller test template extends ControllerTestCase
  • 6933b31 include plugin name in model tests
  • 6aca803 baked tests match code standard by default
  • 08c3008 load app classes automatically for plugins
  • 73c66e2 fixing method signature in test models
  • 2598d17 check extension before passing to addTestFile()
  • 5b67534 fix incorrect __construct params for mock object
  • b54dc69 Making validateAssociated overwrite data consistently with validateMany
  • 6da2fe8 Ugly hack to fix saveAll deep and beforeValidate callbacks changing model data
  • 00a34f1 Added warning messages in doc block for validateMany and validateAssociated about first param being passed by reference
  • 0fb025f Fixing error with validateMany and validateAssociated not saving values altered in beforeValidate callbacks
  • 2c1b5d9 Optimize the content type search.
  • 39a53fe updating model bake tempalte to meet code standards
  • 5b50763 baked controller code generates no errors
  • 12ae03b Revert "Merge pull request #644 from nodesagency/hotfix/beforeValidate-copy-data"
  • 07bf73e Revert "Merge pull request #643 from nodesagency/hotfix/beforeValidate-copy-data"
  • e8fce37 Fixing saveMany
  • 8060dd5 don't dump indexes all on the same line
  • 3a5e00f var_export dumps null as NULL
  • 5ef2a01 code standard fix
  • 0c4613f prevent NULL in fixture files
  • d1f522e attempt to get baked code output closer to phpcs standard
  • 3b154fa Another fix for Pull request 642
  • 0773506 Adding support for a trailing & or & in the existing queryString
  • 45a86a8 Copy changes made to $this->data in beforeValidate callbacks back to saveAssociated data variable
  • 05bcc4f Delete a space between ! and empty
  • 597913a Fix test cases with postgres.
  • fbba362 Fix additional issues with saveAll().
  • db20600 Fix SMTP Transparency (RFC5321 4.5.2. first line period)
  • 45a96ae Fixing order inconsistency in queryString and bug with string based existing querystring
  • fe0c7d3 add strict parameter to inList() and multiple()
  • 52c7b23 Added afterValidate callback to maintain consistency across all other callbacks in the model layer
  • a1e06b9 Fix error in Sqlite tests.
  • d4511af Implemented add and remove in ModelValidator
  • a7222bc Implemented removeRule in CakeValidationSet
  • 6c5255a Fix saving translate records with saveAll()
  • 1ff1af3 Fixing typo
  • ff91a09 Implemented countable interface for CakeValidationSet
  • 989a8b8 Implementing IteratorAggregate for CakeValidationSet
  • 6f16a66 Implmenting ArrayAcces in CakeValidationSet
  • 877e6c0 Removing the need for first param in CakeRule constructor
  • d180f6c Changed some of the doc-block links. !But think there is a mistake somewhere with the links! Camel-case or lowercase?
  • 3199b90 Implemented countable interface for ModelValidator
  • 81c0c3d Implementing IteratorAggregate interface for ModelValidator
  • d35f8e6 Implementing ArrayAccess in ModelValidator
  • b6c8a34 Renaming CakeField to CakeValidationSet
  • 843d95b Renaming some methods ands removing others
  • 7416c53 Fix missing view variables.
  • efe8364 Fix error when rendering fatal error page.
  • 985d680 Removed triple nested condition.
  • 6f9b26f Again using same serialization strategy for cached view files, as in some environments file is corrupted
  • ef9c5bc ClassRegistry::getDataSource doesn't exist
  • 7bb56e7 Fixed HTTP status codes for non-redirects which were breaking AuthComponent.
  • ed1a64c Use correct argument order.
  • 4ab6d37 Update assertions.
  • 73b0345 Fix issue with non-sequential array keys.
  • 3a18384 fix failing testcase
  • b57489f Remove duplicate template.
  • 49f8e73 Allow bulk storing/updating of mime types. Closes #2844
  • e18200a Fix assertion.
  • e7153b5 Add more tests
  • 7c4b7a2 Fix mistake in path.
  • d43e0aa Update dump() to allow partial dumps.
  • 6ba923d Make the configure adapters responsible for persistence.
  • 9f37277 Add Configure::dump().
  • 578dac9 Add dump() to PhpReader.
  • c703a63 Add dump() method to IniReader.
  • e7fa2a5 remove whitespace at eol
  • 1e28e2f fixing typo that causes failing BehaviorCollection test
  • 128c719 Add no-op method to base class.
  • 004bc5b Fix overwriting of GET/POST
  • c77c6f3 Removed unncessary line to fix coding standards
  • ef7e1b6 Removed leading indentation to fix coding standards in /index.php
  • 7f04fbd Minor spacing changes to fix coding standards in webroot/test.php in app/
  • 1253529 Removed indentation to satisfy coding standards in webroot/index.php in app/
  • dc0d055 Removed single line of whitespace to fix some coding standards in PagesController in app/
  • ce5e602 Fixed coding standards in cake.php console in app/
  • 9539023 Fixed coding standard errors in schema.php in app/
  • d40a8a9 Fixing coding standards in i18n schema in app/
  • 23d8e63 Fixed coding errors in db_acl.php in app/
  • 7fd1955 Update version number to 2.1.2
  • 05abff6 Fixing faling test case
  • 72e8992 Improving test coverage for CakeRule
  • d348bf6 Refactoring again CakeRule, making all tests pass
  • 9404085 Correctly calling method to not depend on functon call order
  • deedd7a Even more tests passing now, almost there
  • 66a568b More tests passing now
  • 8700f3c Fixed some validation tests
  • 30761f9 Removed more redundant lines in ModelValidation tests
  • 18c2611 Removing redundant code, cleaning up some sentences
  • c31f87b Refactored getMethods, got rid of validationErrors property in ModelValidator, made validateAssociated and many tests pass
  • b83f936 General refactor on ModelValidation to decrease class coupling and increase readability
  • 573d292 Fixed more refereces to old method
  • 4519ba1 Fixed variable reference
  • 3ea2d7b Removing validatior construction in model constructor
  • f54eb0c following coding standards and simplifying some logic
  • 8eb02d0 Simplifying options for setting/getting a model validator. Adding loading support for validators is was simplified into requiring custom validators to extend core ModelValidator
  • ec9966e Adding tests for Validator
  • 324684c Moving all validation logic into a new ModelValidator object.
  • 3c4087d Fixing default value of `contain`
  • bf628c4 Added ability for Auth login to use contain