CakePHP : the rapid development php framework

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

Changelogs

Version 2.0.0-RC1.

  • b2fac1b Releasing 2.0.0-RC1
  • 684c154 Removing more flaky tests.
  • 2218923 Removing a failing test. I think the encoding of the file has changed over time, and I don't have a typeface with lowercase Georgian text.
  • 95c25a0 Oops, removing testing code
  • 3d0af8b Adding a new exception renderer method to show useful error for failed queries
  • 12c7380 Skipping tests on Sqlite that involve creating a duplicate connection/ It is not possible to open multiple connections to it
  • 8630f4c Fixing mistake in last commit.
  • 8c8dc6c Fixing the one failing Multibyte test.
  • dbf801b Fixing failing test.
  • 149deba Fixing Mysql test case after making the DboSource throw exceptions
  • 8897335 All tests passing on postgres
  • 74ba030 More postgres tests passing again
  • 61ff8d6 Making DboSource tests more portable
  • d597186 Fixing a few more failing tests. Adding some parent calls to tests, removing duplicated junk.
  • d06d5f8 Not checking length on databases that won't return it for floats
  • fcf5837 Fixing a failing postgres test
  • 7003ede Adding missing expectedException annotations
  • f0ef0aa Making postgres tests pass
  • 2c21fc9 Fixing failing tests and issues with Sqlite.
  • 4172eac Removing trigger_warning() that causes tests to fail in Sqlite, as it does not assign lengths for integer columns.
  • 2ceea79 Fixing errors and failing tests with SQLite. Seems that MySQL is extremely permissive with NOT NULL fields. SQLite is more strict it seems.
  • 36470f4 Removing $error property from DboSource, errors in queries will throw exceptions now
  • cc8d44f Adding an exception for when a PDO interface is not installed.
  • 783b5d4 Fixing fatal errors when running postgres
  • df303f9 Fixing remaining failing tests
  • 01f2699 Fixing failing test in fixture test case
  • 89b1e54 Removing Oracle driver, it will not make it to stable release. Revert this commit to bring it back for next version
  • 027dba7 Removing the helpPath feature as its not documented, not tested and most likely entirely unused.
  • 0bb19da Tidying up forms. Making forms look consistent in IE9. Minor updates.
  • e735c57 Fixing issues in Firefox.
  • ca078d9 Converging on 4px for border-radius. Updating debug() to output a tiny bit more HTML so it can be made sexy.
  • 1c40a37 Removing dead links from the home.ctp Updating CSS for changes in previous commit.
  • f1f4afa Fixing duplication of classes. cake-debug was used for debug and error messages.
  • 8c75488 More changes to the CSS, and updating the bake templates and scaffolds.
  • 815b78c More tweaks to the error output and headings. Removing extra | from debugger output.
  • 35024c0 Starting on pagination button refresh.
  • c36bc1e Adding more fancy CSS3 styling.
  • ec9d29f Removing the trailing ?> from the suggested error code text.
  • b56b6e3 Making error messages look a bit fancier.
  • 85d9b1a Fixing failing tests caused by path/object cache issues.
  • bc38281 Not using Folder if its a git repository.
  • 65956ab Adding __d(...) to the upgrade shell messages. Althought there is no 'real' need for it its good to be aligned to the others shells.
  • 81c46a7 Not running 'git mv ...' if its dry-run.
  • 265c094 Fixing the path to tests on upgrade shell and also fixing the option for git, it needs to be boolean.
  • 7ae89c3 Checking if short options exist, fixed an warning caused by not checking it.
  • 6f88696 Fixing issue where divide by 0 errors would crop up on empty files.
  • 957a8d5 Fixing log files to directories a webserver doesn't always have write access too.
  • 5424475 Fixing comment about Asset.timestamp to be accurate to the behavior. Refs #1959
  • 41b22c5 Fixing Router::mapResources() so it works with plugins. Fixes #1956
  • edbe60e Overriding the files array, so it will not try to perform actions on files that no longer exists.
  • 36eca67 Adding an isset so a non-existant view isn't accessed. Fixes #1954
  • 0c97df1 Removing database names that are no longer supported.
  • 4d1f41d Fixing failing tests cased by App::object() cache being warm. Removing code duplicated in CakeTestCase methods. Adding missing parent calls.
  • 572412e Removing bad integration test that wasn't required anymore.
  • bb3a1d5 Fixing RequesHandler::prefers(). It was previously entirely wrong. It took the ordered list of accept types, and blindly assumed the first in the list was the most preferred. This is an incorrect assumption to make, as all types with the same q value are equal.
  • e2f48b4 Refactoring how q values are parsed, as content types were reversed for similar q value types. This causes issues in RequestHandlerComponent.
  • 8ce6c31 Adding extra information about DboSource::fetchAll() and result caching.
  • 840d27b Fixed the allow method to parameters not be required.
  • 3bfd815 Fixing issue with boolean columns not correctly inserting data in MySQL. Fixes #1922
  • a8b38be Fixing bug in SchemaShell where it would always force a read on all tables
  • 3a8b344 Fixing issue where CakeTestCase would erase custom bootstrapped paths in tearDown(). Adding App::paths() to simplify getting all the paths App knows about. Fixes #1934
  • 40ba400 Affecting the REQUEST_METHOD env variable in order to ease controller testing with different http verbs
  • 443ff92 Adding missing import in EmailComponent. Fixes #1948
  • 0b00fb4 fixing bug in deliver(), and adding more tests
  • 4b093a8 adding more testcases for CakeEmail
  • c5d0955 adding back blank line
  • 87ffd92 Fixing transport test, as transport class now returns as stated in RFC 2822
  • 3be9a8a debugtransport now also returns in correct format as stated in RFC 2822 2.3, updated tests
  • ff0119b Fixing file deletion issue in windows where unlink() cannot delete files that have open file handles. Fixes #376
  • 5b43d6b Adding cafe to the list of irregular plurals. Seems that its french origins befuddle normal english pluralization rules. Fixes #1930
  • 2efa3b0 optmizing CakeEmail, and improving tests, transport class config() now returns configs array if no array is passed
  • 9ff922c App::objects() should skip directories and files starting with `.`. These generally contain version control or OS metadata, and not code CakePHP can use. Fixes #1933
  • 27ab909 Removing getTests() and fixing failing test in accidentaly skipped tests.
  • 4a7bd03 Adding a file_exists() check before unlinking cache files. This prevents issues where two concurrent requests could be clearing the same cache files. Fixes #1936
  • 1a872e6 Fixing CakeRequest::accepts() where ;q values on Accept header were not respected. Fixes #1940
  • 5df12a2 Fixing failing tests caused by moving params[ext].
  • 02a6883 Using Folder class in CakeTestSuite, this fixes issues where hidden directories from VCS would be added as test cases. Fixes #1933
  • 682dc5e Make Folder::tree use SPL Iterators.
  • 7656feb Converting internals of Folder::read() to use DirectoryIterator.
  • fdc006a Fixing how error handlers are registered when debug levels are toggled mid request. Previously Debugger would stay as the active error handler even after changing debug to 0. Now, either CakeLog or Debugger will be assigned as the error handler depending on the debug level. Fixes #1941
  • f94394f Removing routing url from query string in CakeRequest. This happens mostly with nginx setups
  • 9300f09 fixing output for logs and accept log level from configs
  • aee650d Adding a test and fixing issues where q value had whitespace as well. Refs #1684
  • 72ef310 Fixing Accept header parsing so content types with leading/trailing spaces are treated as spaceless. Fixes #1684
  • 5955cc6 Adding trimming of Accept headers to CakeRequest. Fixes #1684
  • ec79a09 Removing PHP5.2.6 only mode value, and replacing it with PHP4 & 5 compatible mode.
  • 9e0ff5a add Cakelog to send(), transport classes now all return in same format, fixing some typos
  • c93274a dropping first parameter for _applyConfig()
  • 4cc5295 more refactoring of CakeEmail
  • c60abb1 Fixed tests affected by the visibility changes.
  • 0b8a306 removing duplicate code, config() already applies configs now
  • f060fda Adding the --debug flag that later versions of PHPUnit support.
  • 6acf024 Fixing incorrect keying for ext routing parameter. It was nested under params[url][ext]. This makes it unlike all other routing parameters. Having the nested value also makes reversing requests harder, and generating urls more difficult. Adding a test for Router::reverse() and extensions. Fixes #1923, fixes #1928
  • 68b2d67 Adding support for callback style error formatters. This will allow other classes to inject custom error formatting code into debugger. Hopefully making it possible to remove the getInstance() workarounds.
  • 48c6b78 Adding tests for Debugger::addFormat()
  • 73f4b8c Adding additional test cases for assertTags.
  • daf1251 Adding tests for Debugger::outputAs() Adding exceptions for invalid state checking.
  • 35fc835 Extracting methods from nasty Debugger::output().
  • ea3b38e Adding doc block info for Debugger::output().
  • 8503ffd Adding a constant for TIME_START as $_SERVER[REQUEST_TIME] is only accurate to the second. Profilers and timers need ms resolution to be accurate.
  • 34d3d6f Fixing doc block related to session configuration. Closes #1927
  • dbb87a0 Changed protected callbacks of scaffold to public in Controller.
  • f7f3515 Fixed documentation to methods that use func_get_args().
  • e939098 Changed mergeAssociation scrubQueryData to be protected.
  • 689c7ff Fixed some problems caused by the visibility changes.
  • 9daa969 Switching FixtureTask to use var_export() instead of custom escaping code. Fixes issues with quotes in text. Fixes #1922
  • f9ff4e1 Add Tibetan locales
  • 5888839 Adding Todo about moving Cookie setting to CakeResponse.
  • 7276f33 Fixing issues where ControllerTestCase couldn't properly hit plugin controllers. Fixing some formatting. Fixes #1918
  • 70f4737 Fixing options[data] always writing its data into $_POST['data']. It now just overwrites $_POST. Fixes #1917
  • 0091fac Adding prefix based cache clearning to Wincache. This matches APC and Memcache. Fixes #1911
  • ef921fa Making ApcEngine::clear() only clear keys with a matching prefix. Refs #1911
  • 6183329 Changed the visibility to methods that not affect others classes.
  • f5a54d0 Changed methods and attributes from private to protected.
  • 3dd86eb Fixed the Memcache::clear() to not flush all the server, just the variables associated with the prefix. Refs #1911
  • 8dcb7fd Fixing failing tests.
  • 18acc65 Adding Cache disabling to bake tasks and parent bakeshell. Fixes #1889
  • acdfb48 Change casing of delivery method being passed to transport(), to ensure correct transport class will be loaded
  • 40654df Fixing more documentations.
  • 46c07ad Fixing issues with HTML5 number inputs and float columns. For float columns, the default step value is 'any' Fixes #1907
  • 0575e92 Added visibility in some methods and attributes.
  • 0e21093 Removing XmlHelper references in layouts. Fixes #1916
  • 138aae6 CakeEmail constructor now accepts $config
  • 803cd28 config() will apply configs from email.php if string is passed
  • c3884f4 Implemented feature to allow multiple counter caches per associated model.
  • 54e1de9 Adding visibility keywords to code that came from a 1.3 merge.
  • 16ef234 Removing trailing spaces.
  • 68c4b66 Fixed bug in Validation::date(). Closes #1908
  • 2b342d9 Optimizing various finds when deleting records and updating counter cache to avoid extra queries, unnecessary joins and callbacks triggering
  • 7581db2 More API description/examples to relations variables.
  • 0fcf6f6 Updating some sentenses.
  • 725e512 Description to some attributes in Model.
  • 182b13f Fixing failing test. In 2.0, absolute paths are not altered.
  • e29eb1c Fixing failing cache tests.
  • ef4826e Making Model::find('count') behave nicely when 'group' key is specified in options. Closes #1677
  • 5d79299 For paging links the 'class' attribute is now always applied to the wrapping tag for consistency. Closes #1759
  • b781762 Fixing regression in Set::extract(). Refs #1895, #1816, #1692.
  • 7983b41 Data returned by Model::save() not contains primary key too when new record is created. Closes #1869
  • 00a77b4 prepared utf8 database connection option
  • fdacc9d Fixing issues with request stack not being used correctly when there are requestAction requests being performed. Adding Router::popRequest() to allow manipulation of request stack so nested requestAction or serial requestAction calls work correctly. Fixes #1906
  • 3014d3f Fixing issues with CSRF token failure and requestAction. Fixes #1900
  • 1df8de6 Fixing notice error when all csrf tokens are expired at once. Fixes #1901
  • 1726bad Adding ability to Set class to iterate on ArrayObjects, or any object implementing ArrayAccess and Traversable
  • 3d46172 Re-adding primaryKey detection support to FormHelper, it was removed mistakenly in last refactor
  • 6026aa4 Adding tests for FormHelper::postButton() and SecurityComponent.
  • 2ce2d06 Fixing issue where postLink() would fail when used with SecurityComponent.
  • e9382d0 Fixing failing tests.
  • 826001a Added doc blocks for WincacheEngine. Fixed Memcache doc block.
  • 392102b Fixing regression in Set::extract(). Closes #1895 #1816 #1692
  • 2773450 Adding test case
  • 6cd89b0 Edited lib/Cake/View/Helper/FormHelper.php via GitHub
  • 48e6814 Fix for wrong 'cake_dev' i18n domain param.
  • cb5f57f Adding support for url input
  • 7ab1805 Adding `cake_dev` domain
  • 95f3eb4 Fixing plugin option + locations subcommand.
  • a268eea Expanding docs on HtmlHelper.
  • 4ab9ded Updating doc blocks in Debugger and CakeLog.
  • 5330096 Fixing parameter name in RssHelper docs. Fixes #1888
  • e4a7c8f Cleanup of minor issues found with phpmd.
  • be262f3 Fixing notice errors caused by undefined property.
  • 2f079b3 Fixing issues output xml help.
  • 5d3c470 Fixing issues where option values started with '-'.
  • b739127 Adding an exception when a short option is longer than one character. Having long short options breaks parsing, and doesn't make sense with how short options are used.
  • 10c78c5 Fixing bad include on text reporter. Fixing bad includes and updating usage in text coverage reports.
  • fb756c5 Fixing incorrectly inflected shell names in help.
  • 5f84b48 Making long options & arguments replaced with short forms. Fixes #1882
  • 6ef4ce4c Adding a line to the generated cache files, that re-assigns view params after component callbacks. Fixes issues with SecurityComponent and cache files. Fixes #1863
  • ea7c8c4 Adding better file locking in write(). This should reduce issues with file locking and unserialize(). Fixes #1660
  • c1b0eb8 Updating output of project task to better reflect what happened.
  • b45e8eb Adding comments about CAKE_CORE_INCLUDE_PATH. Removing ini_set() blocks that don't need to exist.
  • b362afe Changing assertPattern to assertRegExp.
  • cdcabc7 Doing some refactoring in the project task. Adding tests for constants staying commented out when CakePHP is on the include_path.
  • 6e2870c Removing APP_PATH it is always the same as APP. Fixing a typo in index.php.
  • 20e9015 Making skel files generate hard coded paths, when CakePHP is not on the include_path, and exclude hard coded paths when it is.
  • 721c438 Re-adding support for PHP's include_path. Moving constants that are made of other constants into bootstrap.php
  • dbdc0a1 moving test icons one dir up, and remove subdir img in img
  • b5a533b Fixing issues with duplicate content/empty tags with CacheHelper. Added internal tag munging proposed by 'FelipePtChO'. Uncommented a test that was failing. Fixes #1857
  • 895c10a Adjusted some types in @param, @return and @var.
  • 4df585e Changed method API description.
  • d84531d Using @property to autocomplete components and helpers in some IDEs. Also added @property to bake of controller and model. Fixes #103.
  • 7604763 Updated some file headers to include correct license and copyright.
  • ebb70c4 Fixed type to parameters that is defined in the code.
  • 2a50a1e Included @var in API that was missing.
  • fedadc0 Included @throws in API that was missing.
  • 416e527 Fixing issues with Sanitize::stripWhitespace() and utf8 characters. Fixes #1862
  • 9577fb0 Fixed TreeBehavior::childCount(). Closes #1833
  • eaa0163 Making ControllerTestCase abstract, that way PHP won't complain about empty test cases, closes #1868
  • b15c77e Enhancing validation messages to have placeholders. Closes #1855
  • 9bc3e56 Removed the @access and @static.
  • db80fe2 Changed the visibility to protected.
  • e4a1816 Changed the signature of methods to avoid strict messages.
  • 39b4032 Fixed some API doc in model.
  • e74d835 Fixed some API doc in routing and cache.
  • 3723f7d Fixed some API doc in controllers and errors.
  • 762fcf2 Fixed TreeBehavior::childCount(). Closes #1833
  • 7a9ac53 Fixing issues with SecurityComponent, where removing your session, would allow posting of invalid form data. Fixes #1867
  • fbbfbaf Fixed some API doc in controller.
  • 070980b Fixed some API doc in i18n and network.
  • 552791d Marked Helper::_parseAttributes() and Helper::_formatAttribute() as deprecated.
  • 511b480 Reverted the change from while to if.
  • 9e75de2 Fixed some API doc in core and utility folders.
  • 02f290a Fixed some API doc in views.
  • e1960d1 Changing Postgresql to use DELETE FROM instead of TRUNCATE. This should improve compatibilty with databases using constraints. Fixes #1838
  • a0ee8b4 Fixed some API doc in console.
  • f9373ff Fixing double output issues with Scaffold.
  • 8f38065 Adding missing Vendor directory. Fixes #1859
  • 8149e4f Removing unused property. Removing broken dispatch pass-though method.
  • 29e4cad Fix for lowercased schema folder when baking plugin skel
  • ecccfe9 Fixing issue wher times between 12:00 and 12:59 would be incorrectly marked as am. Fixes #1851
  • 2ef17ec Additional tweak to FormHelper::input(), make float types use the number input
  • 25682db Removing duplicate directory separator when looking for locale search paths, closes #1854
  • c73ae84 Updating version numbers
  • 804e88b Added test for HTML5 `FormHelper::input()` integer to number in $map
  • 333f365 Added `'integer' => 'number'` for HTML5
  • 9602de8 Adding tests for absolute urls on script elements.