CakePHP : the rapid development php framework

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

Changelogs

Version 2.2.0-beta.

  • f14f18f Update version number to 2.2.0-beta
  • 9444af2 classify the first cli argument for this task
  • 6a744b2 create tests for baking a test for a component, behavior and helper
  • 6b6fdd2 don't dump fatal errors as html on the cli
  • 77f6d88 Fixed bug in model validation translate
  • 333ea29 Renamed variable name from nested transaction
  • 37537fa Renamed method to check if the driver supports nested transaction.
  • ba8a3c5 added missing utf8_encode to pass tests on windows
  • daa695b Added NotImplementedException with status code 501
  • 061483d Added missing keyword
  • 10a4b87 Fixed tests with nested transaction in DboSource.
  • 5bec15d Added file that was missing in previous commit.
  • 5f722cb Update nested transaction test to use InnoDB table in MySQL.
  • f6288a4 Disabled the default nested configuration. MySQL use MyISAM as default and it can affect many applications.
  • 4ffca84 Fix coding standards.
  • 12392b6 Fixed variable name.
  • 4e480ea Disabling nested transaction for fixtures.
  • 74830b9 File::create() does not need to change umask
  • 0785ace fix error caused by non-existent fixture
  • b95f367 Disabled nested transactions for fixtures.
  • 5674e9f Another micro-optimization, sorry
  • 63c0c2c Very random micro-optimizations
  • 7e38f9d Fix more coding standards errors.
  • 7240286 Fix coding standards errors.
  • acd06d6 fixing test case
  • 6353558 bame themes now in correct order: app -> plugin -> default
  • 53a4de7 More coding standard fixes
  • 02d222a Adhering to coding standards
  • 4b2804b Fixing broken test and coding standard
  • 15dcd60 Fixing typos
  • b1e7164 Implemented translation of validation rule arguments in validation error messages. Closes #2816
  • a233460 Adding file lock when use cache function. It will avoid errors when view cache is created by 2 threads concurrently.
  • 3800029 Fix docblock
  • d26f869 Added function to get timezone object
  • 058d57a Added function to convert time from user timezone to server timezone.
  • a96de99 Tweak docblocks
  • ebf3049 Added "Config.timezone" config param to avoid having to specify timezone in each function call.
  • d34f0c2 CakeTime functions can now use timezone string or DateTimeZone object for user offsets. (Passing numeric offsets has been kept for BC)
  • 8a52a77 correct argument order for phpunit asserts
  • bc2cd00 cake 2.2 test case fixes (assert corrections, correct class names)
  • 2480ee1 Fix coding standards.
  • a0d78ed require models.php to avoid fatal error when running AllComponentsTest
  • da3b424 Fixed several fails in the tests concerning windows. Especially in AllConsole
  • fcb7714 Fix failing test.
  • a5c3230 domain configurable for mailing in CLI environment
  • fd8971b Adding smart header checking to return 304 response in AssetDispatcher filter
  • 826699a Extracting asset dispatcher and cache dispatcher into separate classes to provide examples on how to use Dispatcher Filters
  • 70f3cc5 Renaming a few things in dispatcher filters to maccht general naming style in CakePHP
  • 565a58f Introducing dispatcher filters and adding tests for them
  • 8639d5a Fix mistakes.
  • 72c3059 Add missing parent calls.
  • 05b88f3 Fixed another failing test case
  • f574e96 Fixed failing test case
  • cfaa1ee Adding missing docblocks
  • d17a471 Initial middelware implementation
  • 9fbd573 Clear configure at the end of each test.
  • f990ecf Add Configure::clear()
  • 3715780 Removing some dup code in nested transaction tests.
  • 7be5349 Added configuration to disable nested transaction, even if the db supports it.
  • b0a3a1a Added test to check when driver do not support nested support.
  • 79f7ca7 Oops, forgot one change in last commit.
  • a512d46 Sqlite is failing in PHP 5.2, re-adding the check for driver support.
  • ffe0a18 ReflectionMethod::setAccessible() is not compatible with PHP 5.2, causing fatal error in CI. Assuming that the db servers support nested transaction.
  • 22cd65b Added tests in each datasource to test the nested transactions.
  • 30258ac Added test for nested methods sequence.
  • 2c1cf29 Added real support to nested transactions for Mysql, Postgres, Sqlite.
  • 2c9399a Removed unused attribute and moved getVersion to be reused in all PDO drivers.
  • 9beaa96 Unified error handlers. Now the regular error handler will receive the fatal errors too.
  • a72288c Fixing doc.
  • a56f7b8 Setting the core fatal error handler if it is not configured.
  • 05cdae6 Renamed fatal error handler configuration for follow the same logic of consoleHandler name.
  • eeec217 Added tests to fatal error handler.
  • 1428659 Moved the fatal error detection to App::shutdown and keeping the fatal error handler cleaner. It helps to be extended by applications/plugins.
  • 440f0c3 Added a handler for fatal errors, showing internal server error page when debug is disabled or a custom fatal error page when enabled.
  • d588758 Removing extra space after boolean cast
  • f677bfe Remove duplicated test code.
  • a4f0399 Fix coding standards warnings.
  • e3b1245 Move where set is loaded.
  • 8d1b5c3 Fix notice errors with postgres.
  • 15c94de Fix whitespace and remove duplicate method calls.
  • a24aca6 Fix a few code standards errors.
  • ff35762 Fix coding standards warnings.
  • 38b7ae3 Coding standards cleanup.
  • 613e382 add tests for the 'empty radio option' feature
  • a7a5563 remove 'empty' option from once checked
  • 00b2c49 FormHelper : use the empty option for radio buttons
  • 5b324f8 Outputs messages of which plugin is going to have locations upgrade.
  • c6ce157 Revert "Always use error layout when rendering error pages."
  • 8378991 Update docs about PHP5.4 constant.
  • 2b7fe21 remove all Set::extract() from core and tests
  • 7700a02 only use and test SORT_NATURAL on PHP 5.4
  • 72cb96b Fix a few more coding standards errors.
  • 18296d2 Fix a few coding standards errors.
  • e5ca80b Add additional sort flag support.
  • 26b93af fixed CakeEmail::reset, no initialized charset and headerCharset property
  • 432d00d Another small optimization.
  • 7d098fa Some small performance optimizations.
  • 6a9fdd8 Fix failing tests.
  • a463033 Set -> Hash
  • 3495422 Always use error layout when rendering error pages.
  • 4958f0e Using a more specific function to check for numbers on redis engine read
  • e6a87ba Removing extra spaces
  • f105abd Implementing Redis cache engine
  • 18b8434 Making lazy loader throw an exception for missing helpers
  • 6fa30db CakeEmail can use theme when rendering template
  • 5a41024 Removing hardcoded helper from PagesController in skel
  • f349c9e Removing hardcoded helpers from Controller and PagesController class since they are now lazy loaded
  • f688d57 Implementing helper lazy loading
  • c270e7f Adding test for lazy loading helpers in views
  • f009e96 Adding test for lazy loading helpers using the collection
  • c700fed Update test suite header version to 2.2
  • 4f6f041 Using same serialization strategy for request object in cached views, this prevents some failing tests in environments with different charsets
  • e5cc7d0 Fixed failing test
  • 2a1e4a2 Making clearGroup() a no-op method instead of abstract to ease migration to 2.2
  • 2bb3dc6 Reducing key length when using groups in WincacheEngine
  • afba5aa Redcing key name when using groups in MemcacheEngine
  • 27b90b0 Reducing key size when using groups in ApcEngine
  • 2100a64 Prefixing group names in XcacheEngine
  • ffdd98b Prefixing group names in WincacheEngine
  • 98b14ff Prefixing group names in MemcacheEgine
  • 957322e Prefixing group names with the cache enging prefix to avoid possible conflicts with shared servers
  • 95d4549 Docs + coding standards.
  • c087576 Port changes done to Set into Hash
  • 6e0e156 Remove duplication where possible.
  • 66eabe4 Copy Set::expand into Hash class.
  • c7a9f34 Add compatibility for 2.1.
  • a76a926 Fix more uses of Set -> Hash
  • 9015d78 Port most recent changes in Set to Hash.
  • e55927c Update the doc links.
  • ed32e0b Update another usage.
  • 17bfbbb Port over Set to Hash usage.
  • 0ef9adb Move and rename pushDiff onto Hash.
  • 19e0d8d Switch usage to Hash where possible.
  • 29048b3 Update to use Hash.
  • 8becc4c Fix misnamed method calls.
  • 2231087 Rename Set2 -> Hash.
  • 5b4b936 Make filter() more flexible.
  • 239f52c Move nest() over
  • afa0329 Fix incomplete test.
  • ae66682 Add apply(), map() and reduce()
  • 8cadac3 Add tests for issue #104
  • ff5e72c Move Set::format across.
  • e4a5057 Move combine() across.
  • aa4dca6 Move Set::check across.
  • 771efd9 Fix sort() not working.
  • 57d50cd Extract common method.
  • 3d8a955 Add remove() and insert()
  • 6b69ed2 Extracting duplicate loops.
  • e72127e WIP, adding sort() and remove()
  • 31181f5 Add attribute pattern matching.
  • cbfa938 Fix muliple attribute conditions.
  • 8ad4e66 Making attributes work with any selector type.
  • 9269a6d Added some more operators.
  • 6c87be9 Implement presence and equality attributes.
  • e87901a Adding tests for {n} and {s}
  • 37181e9 Basic path selectors implemented for extract().
  • b3861c0 Move numeric() into Set2.
  • 1315e0f Moving filter() into Set2.
  • 885d5df Make contains() non-recursive.
  • d37e10a Move contains() across.
  • ad65098 Move normalize() into Set2.
  • e736ea3 Move merge() into Set2.
  • 51f45c0 Moving flatten() across.
  • 51e3ee0 Adding dimensions() and maxDimensions()
  • db3485d Add function prototypes.
  • 328513d Start Set2.
  • ce8b10e Fixing cache group related test cases.
  • cf2b6ac Fixing some typos
  • 945925b Implemented group cache delete in FileEngine
  • 04ec413 Implemented read/write support for groups in FileEngine
  • c5c99a7 Implemented group support in WincacheEngine
  • 9c733b4 Implementing group support for XcacheEngine
  • 6f9d2c0 Implmented cache group clearing in Memcache engine
  • d0f7842 Added test for deleting kwys under a group in MemcacheEngine
  • 411bd85 Implementing group read/write support to MemcacheEngine
  • 4f131d5 Implemented group delete for cache keys in ApcEngine
  • ae34c64 Adding test for delete + groups in ApcEngine
  • 3c9c3ef Implemented group read/write support for the ApcEngine
  • 58a59fd Fixing broken test
  • 68e4e0e Revert "Added TestCakeSession::clear() to CakeSessionTest teardown."
  • b346ac9 Added TestCakeSession::clear() to CakeSessionTest teardown.
  • fda0651 Fixed test cases for successful being built on travis.
  • 34e1afd Add support for custom console error handling
  • 69e63b1 Change method to only return true/false.
  • cabb0d0 Added support for 'on' validation key in FormHelper. Fixes #2169.
  • 8ad6536 Fixed ModelWrite test. Removed undefined method calls to assertCount().
  • e8993b5 add .travis.yml file
  • b28b25f Added 'Fixed whitespace.
  • 7cfcef5 Added 'Enable Debug Output' link to CakeHtmlReporter.
  • 0832e18 Adding separate `error` layout for CakeErrorController as using `default` layout often caused nested errors. Closes #2682
  • d3a4481 adding test and fix for hightlighting tags, old bug 2111 for 1.3 but its the same issue. This should make more options possible
  • a06eba7 Adding basic implementation of DataSource::close(). Since this method will be called in Destructor.
  • 358b84b Add charset() / headerCharset() methods to CakeEmail class
  • 079ae82 Set::expand as implemented by jeremyharris
  • 40f4f54 Several fixes for testcases. - Ensure correct ordering of find results - avoid fatal error when testing email transport classes on 5.2 - add skips when running cross db join tests and multiple sqlite configs are defined
  • b871095 ensure correct order in results as postgres does not always return in same order
  • 7145bd6 fix another failing test on postgres
  • 467b0f1 fix failing test for postgres
  • 2ad0f8b setting defaults in the DBO so you do not need to pass every field possible to avoid errors. also adds a test for calling with some missing fields. fixes #1779
  • c754fb2 Updated copyright to 2012.
  • a495216 make acl methods available in permission model
  • baf8991 updating version.txt
  • bbfaa9e Paginating now work well with custom find methods. _findCount() will now pass $query['operation'] = 'count' for more flexibility. Custom finders can distinguish the operation and return other $query if needed.