CakePHP : the rapid development php framework

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

Changelogs

Version 2.4.0-RC1.

  • 64b6940 Update version number to 2.4.0-RC1
  • 8150b89 Allow setting path constants in app/Console/cake.php as you can in webroot/index.php
  • f760466 Updated doc block comment
  • 19afed0 Updated unit test for HTTP status codes
  • 2ce2a2a Updated the handling of response status codes
  • f6e1c7c Improve code readability
  • 777a46f Fix CS issue
  • 1d809e9 Deprecated Sanitize class
  • 86dcebf Update bakeshell so `bake all` gets the correct connection name.
  • 29314e0 Fixing some errors related to unlink() on windows
  • dc381dd Fix unlink() for CacheEngine::clear() failed on windows.
  • 14f876f Improved code readability
  • fc2d289 remove undocumented code and uncessary in_array() checks + cleanup
  • e7e5f46 prevent rtrim to remove whitespace from test
  • 1339a9d coding standards according to new sniffer rules
  • e136533 avoid notice in mime()
  • af48904 Combined strings of Testsuite Shell's description to a one translatable sentence.
  • 4d3c049 Do not translate "CakePHP"
  • e36c537 Switch from LEFT to INNER joins.
  • f5859ca allow creating of missing tmp directories in debug (development) mode for cache and log to avoid unnecessary errors thrown - using 0775 for dirs and 0664 for files
  • 9efad54 Fix missing expiry times on cookies.
  • 2150e8d Added case for `unknown` type. Fixes #3966
  • 84dcd30 Loop instead of duplicate code
  • ad6fcd43 Fix currency output for fraction values using fractionExponent option.
  • 18cd372 Deprecated DEFAULT_LANGUAGE constant and config value 'Config.language' is not used for default. Cleaned up L10n::_setLanguage(). Removed unused L10n::$found
  • 34d848d Fixed order of assert params
  • 3559aa3 Removed a stray tab.
  • a6e3bb3 Restructured CakeResponse::header() to avoid multiple returns, assignments, and calls to itself Added ability to send multiple values with the same type of header in CakeResponse
  • 8601e00 Implement a Helper method to generate confirm() links
  • d9b99d0 Fixes a bug where server would not run when there are spaces in documentRoot.
  • 04fb1eb Added more tests to db related tests group
  • f68701d Created new test group for all db related tests
  • e5be998 Run all tests only once, not for all databases.
  • ff856b7 bark if the model doesn't exist
  • 35b4ac0 make it possible to run this test on its own
  • 46b28aa merge config in getMockForModel
  • cda1a1e Added test for relative path using app asset configuration
  • db6d0a7 Fix for relative protocol on assets
  • 316c658 Fixed pathPrefix for css and script methods
  • c0212a0 Supporting full urls on css/js/image url constants
  • b5edcba Unlink files with full path.
  • b999b4d Fix error when clearing FileCache.
  • 1b610a8 Move disabling of bootstrap mode to after init().
  • a5531f7 fix casing
  • 6c1e609 fix cs
  • b3860b3 Fix clearing files in multiple groups.
  • a2e818e Deprecated ConsoleShell
  • 473e4f9 Fixed bug when using multi model fieldList and whitelists for all models are not provided. Fixes #3948
  • 19ac399 Remove duplicate code.
  • 8209a29 Make CakeRoute::persistParams() more tolerant
  • 1643e10 pretty print json and xml responses in debug mode
  • d218313 Removing legacy code that will not work on current versions of phpunit, fixes #3955
  • 585ac15 CS fix.
  • 0adef20 Camel case SecurityComponent::blackHole() method call
  • 5bd45ec Fix double printing of models in ConsoleShell.
  • 69be4bb Update the console shell for easier maintenance
  • 1202456 Fix errors in ConsoleShell.
  • 810fd28 Fix double printing of models in ConsoleShell.
  • 61bf8df Renaming base url config keys and methods for better uniformity.
  • b22b39f Deprecate constants IMAGES_URL, CSS_URL, JS_URL and add corresponding config values instead.
  • b7cee8f Ensure Configure::boostrap() doesn't overwrite existing configs under 'App' key. Fixes #3874
  • 95b74bd Make sure ComponentCollection has the controller dependency.
  • 37ab061 Fix whitespace
  • 35cc737 Add for required fields when using only ModelValidator::add()
  • bce0eb3 Don't need to check for empty because Model::validator() returns an interator
  • a691e70 Docblock and return type fixes
  • 3a4f781 Removed unused setup & teardown methods from MyAppSchema in CakeSchemaTest
  • 1cac184 Added missing calls to setUp & tearDown in tests
  • 4a37ad5 Added return before redirects
  • 8a81903 Fix FileEngine not clearing keys when groups are used.
  • 17b2538 Throw exceptions when '' is used as translation domain.
  • 76aab0a Add failing test for #3930
  • c28cde4 Update webroot files to fix an issue in ServerShell.
  • a70e004 Corrects bad merge.
  • 933013f Test case to prove base urls are stripped.
  • f7eab23 Strips the base off the generated URL from the AuthComponent.
  • 5937685 Use ModelValidator::count() to count dynamiclly added validation rules
  • 8b21710 whitespace correction
  • 24fa926 remove private in favor of protected visibility
  • 881e757 Paths for App::build() require trailing /.
  • 5953171 Fixes cake bake all. Refs #1443.
  • 6d6be87 Replaces deprecated paginate() calls in controller bake templates.
  • 2d2721d Update docs for MySQL
  • c780ded add SSL support to MySQL PDO connections
  • da8e50a Added missing test + minor cleanup of ViewTests.php
  • db1876d Adds order to the test models to make the results more predictable.
  • 36cac11 Fixes errors in tests with APC installed but not enabled in CLI.
  • 32b818d Fixes bug in the first link of PaginatorHelper::numbers().
  • f725779 Better support various ranges as described in RFC2616
  • 3f9e8e8 Add missing calls to parent.
  • 0b6919e force option for bake tasks (view, model, controller, test, fixture)
  • 7a1a3e5 Always create user agent hash in session
  • 717b1de Update version number to 2.3.8
  • 7b5122a Fix pluralization of Objective.
  • 6c18f6a Add failure messages to test assertions.
  • 22d6625 fix test
  • 2df8734 Add CakeResponse::location()
  • a8f4ec0 Simplify whitelist logic.
  • 05415dd do not display page:1 or ?page=1 to avoid duplicate content in paginator helper output
  • d4db64f Ignore asset requests containing %2e in them.
  • b873186 Fix being unable to sort on custom synthetic columns.
  • b412e2c provide ability for rounding - closes #1986
  • 304b54f wording
  • 13ee5b7 ability to provide custom strings for timeAgoInWords()
  • 4d6258a Correct off by one error.
  • 1fe424a Moves code out of the try/catch blocks in the connect() methods.
  • 5a6f125 Fix the "testAssetUrlNoRewrite" test
  • 6b66aee use a simpler rewrite rule
  • 1ce9fc5 Pages controller should render 404 on missing view file
  • d40c737 Rebalance where URL normalization happens in AuthComponent.
  • e016f11 Revert previous changes.
  • 8133f72 Update AuthComponent to not strip when normalizing URLs.
  • 52be365 Introduce the `strip` argument to Router.
  • 494fd05 Fix downloading Ranges in files.
  • b3273e9 Correct documentation.
  • 64ff9ad Fixed indenting
  • 3d83c62 Added more words to InflectorTest
  • a27499d Updated Inflector's 'pluralize and singularize to correctly handle addisional words. Updated InflectorTest to test new words.
  • ec1e75f I split out the regex to make it more readable as requested.
  • e35bd80 Adds option to multiply decimal percentages. Fixes #3814
  • 960ce7f Don't use inline assignment.
  • cfa260d Update ServerShell to use provided documentRoot.
  • 2918ae9 Update index.php to serve static files with query strings.
  • fa3d4a0 Updating the phone validation routine.
  • 542d594 Fix deprecated value in argument and disable caching
  • a643295 remove @access and unnecessary $name
  • 0555895 Remove leftover temp file
  • 4bb0a12 Fix I18n to extract plugin model validation messages
  • a397f03 Some love for a deprecated class
  • 11eeb33 Some minor CS improvements to FormHelper
  • cbb4f7d allow serialize in json and xml alias
  • d9882fc Fixed three @param data types
  • a7213b2 Update doc block.
  • 85a7590 Minor doc block improvements
  • af455b4 correct return types in doc blocks
  • ba02678 doc block corrections
  • c478d60 bool to boolean
  • e7f380d doublespace to single space
  • c989624 whitespace coding standards
  • 06fc8db Update version number to 2.3.7
  • cd71a84 Add option to send email attachment from string (not only from file).
  • ce5563f Supoprt query parameters on Router::parse. It will increase the symmetry of parse and reverse methods