CakePHP : the rapid development php framework

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

Changelogs

Version 2.3.0-beta.

  • b75bb8e Update version number to 2.3.0-beta
  • 1e50ead Fix coding standard error
  • f8d602c Fix coding standard.
  • 8bca041 Revert "Fixing failing test case in RssHelper"
  • 8538c0e Avoiding problems with relative paths in shell dispatcher
  • 7715689 Fixing failing test case in RssHelper
  • 0f97819 coding standards regarding whitespaces
  • 5324a8c cleanup
  • f4f4aa4 Squashed commit of the following:
  • e614831 CakeSchema: adds empty line between tables
  • 02cface Make app/Console/cake pwd insensitive on Mac OS X. Follow up of [36e15a065b2a1b9fe93e22e62a9802d6e88a7004].
  • cc43614 making tests pass on windows again
  • f3bbe89 solves ticket 3306
  • 83d307e Try to set order on more things.
  • 9e07789 Add some fixed orders.
  • 5786245 Fix lint error.
  • c4b9fa6 Fix failing tests.
  • 6fc019e afterRender should not be triggered when callbacks is false
  • 3ee267d Moving the mb_* functions to bootstrap.php
  • 35686c9 use the right language domain
  • c00d58b Fixed problems with resetSequence() not using the correct sequence name in postgres
  • d4631a6 Remove bad test.
  • f457f07 Force field validation to use sha1
  • 5a8092f allow ini files to have separators between sections for better readability
  • 41ae19b Removed spaces at the end of lines.
  • 56a0eb0 Fix incomplete patch 61dd1098d3
  • 61dd109 Allow specifying tag for current page number. Closes #2892
  • 17be6d0 remove default value for debug's first argument
  • 7bf08fd default value null makes more sense. add test cases for false.
  • 57681ff Fix code style errors.
  • a1aa73c Cache character set names
  • fa6defe url encode nested named parameters in unmatched routes
  • 52f2060 unbrake Console/cake on osx
  • 5140baf Load routes as late as possible.
  • 57f81da Fix variable naming.
  • 1c0492e Allow throwing exception instead of redirecting upon unauthorized access attempt. Closes #591
  • feda6e0 Reduce some code complexity.
  • e58c93c Fix trailing whitespace.
  • 47708c5 Allow content to be added before existing content in view block.
  • ce9ad1f Fix failing tests
  • 7383298 making messages() and errors() reset themselves by default
  • fa5d2c1 removed 2 empty lines
  • f5be83d formatting changes..
  • 095e8df fixing a error in the tests
  • 035f727 Replace Model::read() with Model::find('first') in baked controller Removed references to Ajax and Javascript helpers
  • a33b187 doc block correction
  • 0327043 after correcting nld the iso standard should be enforced for all languages
  • b7f1740 correcting coding-standards
  • e550332 Fix coding standard error.
  • eed59a9 Fix whitespace.
  • b47e3a7 move charset/App.encoding into CakeResponse
  • c87b53a correcting iso standard for nld (dutch) - making dut the alias
  • 76d21c6 Try to fix another test failure caused by blowfish.
  • ea784f6 Try skipping blowfish tests if hashes are wrong.
  • 8bbb1f1 Revert "Attempting to get passing builds on travisci"
  • 61d6f71 Attempting to get passing builds on travisci
  • c870044 Fixed typo
  • 047ffd1 Removing variable from dump test as it does not exist anymore
  • e454282 avoid pass by reference error on 5.4
  • 3665a95 refactoring asset dispatcher filter
  • 1b36853 undo the change to avoid change in behavior
  • cd99b7d fixing error pointed out by dereuromark with recursive https://github.com/cakephp/cakephp/pull/846#commitcomment-1884073
  • 36314e6 converting if ($foo != "") to if ($foo)
  • 8dc4de5 converting if ($foo != false) to if ($foo)
  • b1f26b5 converting if ($foo != null) to if ($foo)
  • 6d4f4b5 adding a plugin propery to models wwith tests for ticket #85
  • 268e589 Attempt to make tests pass when OpenSSL is not enabled.
  • aaefbf1 Add MySQL FULLTEXT support.
  • 0be1943 adding basic test
  • 213d4ca coding standards
  • 8a070ca doc block
  • 3fa6b96 adding CakeNumber::formatDelta() and fixing issue with near-zero values and format()
  • 60385d1 test the query() method with arrays passed via $_GET
  • 99cbd22 Fix coding standards.
  • a1838a0 Implement missing bits for automatic sequence resetting.
  • e8cfac0 adding query() for CakeRequest
  • ff676b5 allow for lowercase as well, also strip the unit part off before pow()
  • d30e092 Fixed test case
  • f1a344e Added test case for view block default value
  • 6d98069 Added ability to set default view block content
  • 90c32ad opmitisation of fromReadableSize
  • 55dcb9c Implement resetSequence()
  • 9530e68 add default return value as parameter to use when size can not be determined
  • 2693423 skipping the rijndael test if mcrypt_encrypt() is not available
  • d0bb8a9 die() to exit()
  • 4899b5b changing is_writeable() to is_writable()
  • aa87791 replacing is_integer() with is_int()
  • a38a616 changing join() to implode() for consistency
  • ccd3378 Fix whitespace errors.
  • 6d3e0a2 save some memory usage (PHP < 5.4) in case of huge content and cut off the isset call
  • f5a8eb6 ADmads comments
  • cfadc4d strict type checks and removing some duplicate count() calls by setting a variable
  • 5cc03ca converting if($foo == true) to if($foo)
  • 22a2e1b converting $foo == / $foo == 0 to !$foo (and a few $foo === 0)
  • cf8fcca converting $foo == null / $foo == false to !$foo
  • e09bf02 Cleaning up the RequestHandlerCompoent
  • c7faad9 You cant pass func_get_args() in PHP < 5.3
  • 6f3e6c1 Adding a check to the object before use
  • c13ed33 Fix whitespace errors.
  • 921c2c6 Fix strict error in 5.4
  • 2c70319 Cleaning up the AuthComponent
  • 95b895b Simplify the cake time class
  • bf18fc4 cleaning up the code, removing extra variables set and un-needed else
  • eb98fed Cleaning up the paginator component by removing extra else statements and shifting code around.
  • 173524a PHP 5.4 strict error fix
  • 50333a2 adjusting the way the regex is done so its easier to read
  • 288fb12 added missing App::uses('Hash', 'Utility');
  • dc3995f Simplify the ClassRegistry by removing else, early returns
  • cf36104 adding the timezone as it was not being used
  • b1db2ae fixing the missing space on the if
  • b842248 that change did make wonky uuids
  • 91c09d8 simplify the code for object collection
  • 44f8f84 Simplify the code for sanitize class
  • f886d87 simplify the code in the string class
  • 0cae19a enable PluginDot for routeClass parameter
  • 2d9d400 correct spelling
  • f7acab7 doc block update
  • 3706853 allow Folder to merge recursivly and add scheme option
  • 99b798f make it possible to override all of basics.php
  • 2895186 Hidden divs created by FormHelper can now be customized.
  • 771cfde Fix coding standards.
  • 2170d87 check() for CookieComponent and Configure (similar to `CakeSession::check()`)
  • 387a974 avoid path being made absolute twice
  • fca98e3 Allow postLink() to support other HTTP methods; it defaults to POST
  • 21a51a3 Revert "Make test a bit more solid."
  • 072991d Make test a bit more solid.
  • e64f5f1 Fix big int lengths on SQLserver
  • d4ee62b Add support for biginteger on SQLserver.
  • 8d8f4b5 Add bigint support for Sqlite.
  • 7bad865 Add bigint support for postgres
  • ec35e31 added tests for bigints
  • 68116f7 BIGINTs can also be primary keys
  • 15555a7 added schema support for mysql bigints
  • 6a95b57 Remove un-necessary parameter.
  • 19c2a58 Fix strict errors.
  • fd2f3ae Changed to accept language do not return the qualifiers and order the values by the qualifier. Also, making the test case insensitive
  • f1ce3f9 remove settings parameter from initialize as this is not being passed. only the constructor gets settings passed
  • 934838f Fix whitespace.
  • 028795e Clarify docs.
  • abe74ad partial remove onlyAllow from baked code, only keep in delete to be rfc compliant
  • 27d83ee use new onlyAllow() method in baked code, to ensure 405 responses have required Allow header included
  • 17ba713 Simplify code.
  • 0441c9f Added tests for bake shell cache prefix generation
  • 8e818c8 Added `$prefix` generation in `core.php` for `cake bake` shell
  • f3ba2bd Remove legacy test for all actions allowed (*) in startup and tidy code
  • 24b68ec Ensure = is removed from generated salt values.
  • d24bbcb Add BlowfishAuthenticate adapter.
  • d730acb Add onlyAllow() to CakeRequest, to check if the request method matches the allowed ones. Throws exception if not matched, using the required Allow response header.
  • e7dc23b Ensure callbacks are triggered when using Xml/Json view with view templates. PaginatorHelper for instance needs this to correctly set options
  • 62dd391 Fix lint errors + comment content.
  • 07d92ef correcting test
  • 7969062 legacy support with test cases
  • 4039842 coding standards
  • f201684 use html ellipsis if possible (only a single char and therefore does not line break or mess up the strlen count for length)
  • b0f2cfd Fix coding standards.
  • e1fbfce fix contain for find method
  • 11227f5 Fix coding standards.
  • 0bbf61c Add removed getDataSource() call.
  • ab7dd99 add missing docblock, remove unneeded code
  • 7ea1a59 adding test for viewClass mapping
  • 21431cb Add viewClass map method to RequestHandler component, to map content types to viewclass.
  • e2e42ee move serialization to separate method, for easier overriding in subclasses
  • e5ad204 Ignore standards for PHP defined constants.
  • 6f75578 Fix whitespace and comment errors.
  • d4986b5 add responseHeader() method to new base exception class, ExceptionRenderer will pass the headers to the response. Tests added.
  • 36243b4 Full url prefix is better defined before auto loading
  • 5190b9f asserting that under_scored names result in valid ClassNames
  • bed5453 correcting order
  • 62dee78 adding models for schema generate
  • 5e0e850 reduce 5-level if cases to 2 levels
  • 57c495f Enabled Debugger::exportVar() to display private & protected properties.
  • 8931b74 Removed variable escaping in CakeErrorController::beforeRender(). Closes #3074
  • b32273e Fix whitespace errors.
  • 2a570e6 ellipsis instead of ending/beginning for core wide consistency
  • 788cf52 Fix saving empty values for translated fields with multiple locales
  • bbd0b9d Tweaked DocBlocks
  • de14507 Added a failing test to testSavePartialFields
  • 617d470 Renamed disabledActions to unlockedActions
  • 853fa7d doc block correction
  • e620433 Update doc block.
  • e38c149 Decompose complex nested conditionals.
  • a208eb6 fixes disabled attribute for multiple checkboxes
  • df8ec17 Added `disabledActions` feature to SecurityComponent
  • 917d912 String::tail()
  • 64ba8c6 remove debug statement
  • 57bf15a multiple strpos to preg_match
  • 319658e asserting escaped output for sms protocol
  • b6fe8af adding sms as protocol
  • 2a674fc adding a test for the yet untested javascript protocol
  • f0ffe09 adding html helper tests for special protocols
  • b73be31 allowing tel protocol for mobile devices
  • f963e37 Fix coding standards errors.
  • 6e0cf0d Fix failing test.
  • 7418be0 fixing translation domain to cake_dev
  • 2a553dc unified doctype for browser related layout templates
  • f9f380d using annotations for catching exceptions in tests
  • d7f93f5 adding a related message to the enableCrypto InvalidArgumentException
  • 2359fb7 Simplify number formatting.
  • 434d3a7 Add bcrypt support to Security::hash()
  • 15cf55d different approach on the failing test
  • 93957bc fix for windows. the check seems to be the wrong way. at least compared to the one in the rss class itself
  • 93eb8c2 another correction for app uses
  • 7150779 Add docs.
  • 6ce4a3a Add tests for contentDisposition flag.
  • 9deb966 Add ability to disable content-disposition for email attachments.
  • 55c9206 adding a tls option to SmtpTransport to support TLS SMTP servers like MS Exchange 2010
  • 01f1b0d correcting previously added app uses statements
  • 2e71ef8 Add CakeSession Fixture
  • 6557e3b only try to get comparison failure for the appropriate object
  • 27a895d adding enableCrypto() method to CakeSocket class
  • 4fe1ab1 missing app uses statements
  • a7865b5 Removing some new by reference calls
  • c41ee9a remove debug statement that slipped through
  • bce82a2 Better custom find for pagination
  • 7979ee5 Remove test that is no longer needed for validation.
  • 3945c0e rtim files
  • e1357ca indentation in templates
  • 760cf33 make sure a missing validation rule always triggers a warning (in productive mode this will be logged in the log files)
  • 70ac1c7 Adding symlink resolution to app/Console/cake
  • 2f7f5e1 Use file cache as the default cache engine.
  • 32d5f11 fixed phpcs errors.
  • dd524c9 Added ServerShell for PHP Built-in Server.
  • 69eba67 Deprecated MediaView and updated MediaView::render() to use CakeResponse::file()
  • c5d1260 Added CakeResponse::file() for serving files as response
  • 369bbcc Fix failing tests.
  • 2967a4d text/javascript is not the correct mime for js
  • 790a53d Revert "sort the mimeTypes map alphabetically"
  • 83903cd Changing the signature of View::_elementCache()
  • b2bb7bf Fixing a few issues within the new methods
  • ca9ff02 Refactoring View::element()
  • 90ae2df sort the mimeTypes map alphabetically
  • 8a09b3d update mimetype map
  • 4db909b update version.txt to 2.3.0-dev
  • 6ec0afc Add CakeNumber::fromReadableSize() and Validation::filesize()