CakePHP : the rapid development php framework

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

Changelogs

Version 2.5.0-beta.

  • c17cc39 Update version number to 2.5.0-beta
  • ff73229 Fix failing tests.
  • 2fe8c40 Insert manual joins *after* generated joins.
  • 06f47ee Introduced I18n category constants (#1894)
  • abacf0d Remove setting of Controller::$ext by RequestHandler.
  • 0ae2256 Match SP as per rfc2821
  • c182407 Expose last SMTP response.
  • 5326073 Refactor some code into overridable methods. This should make the transport a little more extensibility friendly.
  • 3a226b0 Remove typehint from generateAssociationQuery()
  • 5a94473 Remove typehint on $LinkModel argument.
  • 482b90e Php cs fixed
  • e4c47f8 Creation of a method to parse fixture path
  • 316fd50 Allow sub-directories for Fixture folder
  • aa0f1c1 Fix: Stray [] syntax in php 5.3 codebase
  • e71d650 Fix: Regression with format specifiers in i18n methods
  • 25f94f9 Add test to prove the fix made in pull/2899
  • a0c399e Remove whitespace.
  • 9d4f3e9 fix issues #2897
  • 3433f4a Clean up changes code standards and tests.
  • b32deed changed FormHelper::secure() and FormHelper::end() to support attributes in the hidden CSRF-protection tags that are being generated for SecurityComponent to allow specification of additional html attributes like HTML5s "form" attribute. This allows separation of Form instantiation/controls and form data - for instance within html tables
  • 9ae7f11 Made mimetype check case insensitive.
  • cde93ca 2.x needs to be compatible with PHP<5.4
  • 3919f93 Use simpler assertions.
  • 7a4cabe Add depth to log().
  • 5334fe0 handle loose % signs in __() function
  • d838e7b Updated upgrade shell to change CakeRequest::onlyAllow() usages.
  • 1da7908 Updated bake templates to use CakeRequest::allowMethod()
  • bea30e6 Renamed CakeRequest::onlyAllow() to CakeRequest::allowMethod().
  • f2b9aa5 Fixed HTTP Status code when ajaxLogin is set
  • 919cb7d Fix bake templates to generate functioning code.
  • 9f978e9 Check event against listeners registered in local and global manager
  • 35c22a2 Add test to prove Event Manager regression
  • a7f50e0 Using sprintf to convert number into non-scientific notation
  • 43604f6 Rendering a proper value for html5 attribute 'step'
  • 2d10707 Added regex support to Validation::mimeType().
  • b83b59a Log errors instead of calling trigger_error()
  • 4407cdb Avoid code duplication.
  • dae756c Added option to allowed headers
  • 84932fc Don't start a session if it's known to be empty.
  • 5d9d62b Fixed doc description
  • a8ea1c6 Fixed CS
  • 5af3da7 Changed tests to support PHP 5.2 :(
  • 5d016a7 Fixed code for PHP 5.2
  • ec71960 Added support to cross origin requests
  • 0536e05 correct the option key
  • 7b27b0d add whitespace to end-of-file
  • 0661d78 add AllTestsTest for skeleton app
  • 84eb46d allow additional status codes through constructor
  • 690f54a more corrections in order
  • 3ff23c7 unify and correct assert order
  • 97e43e5 unify to expected
  • 738b34c Correct assert param order
  • 29e1538 Follow the deprecation note of 2.1 migration guide and switch to fetch(title) correct assert order for test
  • e3befe3 deprecated loggedIn
  • 483cd13 rename method
  • 18255bd Fixed typo in var name.
  • 3e48d2e Add return early statements for redirecting in controllers.
  • 71fb17e keep name as well
  • 85337a5 correct templates
  • a02ab67 unify exception and error handling.
  • f30b43b Update documentation and typehint.
  • c15f7de Re-expose DboSource::fetchAssociated() for BC.
  • 5ccb77e Be consistent with the result set variable name.
  • 0adc062 Process query only when needed.
  • 422be67 Avoid recalculating whether the relationship is a self join.
  • 86b6996 Be more semantic with variable names. Isue less loockups for deep arrays. A bit of documentation added.
  • 7a378c3 Conveniently fetch hasAndBelongsToMany associations from within a function (like hasMany). Variable names should represent their values. Remove unnecessary references.
  • 60a8f09 Get Model associations only when needed.
  • 8355d32 Be more semantic indicating that association fields must be empty.
  • 5860cd4 Still more documentation.
  • c5c8cb8 Document DboSource::getConstraint().
  • 09188cc More documentation.
  • c1cdf19 Add documentation. Strict check.
  • 1bdb783 Update documentation.
  • a7ecf44 Deprecated scaffold and scaffoldview.
  • 3ecce19 Correct tokenize for empty strings.
  • bbbf307 undo remove end line break
  • 4639d35 add DispatcherFilter Settings
  • 49a9d24 By default use filter_var() to valid email addresses in CakeEmail.
  • 2797928 Revert change done in 11f543f1f2.
  • 8a666fb Don't throw exception when trying to encrypt falsey value.
  • 11f543f fix CookieComponent - when write null or empty string
  • 2d67604 Add more Model type hints, and ease the model testing replacing is_object() for '!== null'.
  • 63a192e Update DboSource::group():
  • 5c595b9 Remove is_object() calls when the test subject is already type hinted as a Model.
  • 2f24de8 Model objects should be in CamelCase. Add a Model type hint.
  • b7527c6 Test for a self join only when needed.
  • 2366e7c Make getConstraint() a tiny bit more readable.
  • 8645e05 Removed leading underscores from ReflectionProperty variables in test case
  • f0036b3 CakeFixtureManager::load now calls CakeTestFixture::truncate
  • bfdc41e Baked test methods are marked incomplete.
  • 5c08c77 Set console options in the same fashion for every shell/task.
  • b8e32dd Adding flags override to additional pdo drivers
  • cda9320 Added support for passing additional flags to mysql connection
  • 62a53d2 fix typo
  • c29d2ab Fixed test
  • 22d9cd8 Fixed test case
  • 881f81d Fixed undefined constant
  • 7056ccd Added msgpack support for Memcached
  • f817beb change method `public unsigned` to `protected _unsigned`
  • 1313b81 fix `since` phpdoc tag for fixture
  • 20dc922 fix broken test
  • 0286e41 fix code style
  • 8bcfe45 not add `unsigned` to not numeric fields, fix broken test, add new test
  • 2f6122c add `unsigned` property in `Model::describe`
  • 00fb663 remove `numeric` from `unsigned` config
  • b6b8d83 Remove non-portable data type from MySQL.
  • f1a2c1a add decimal type for unsigned
  • 15805e6 fix phpcs errors
  • 7bc8dac fix phpcs errors
  • 87fef89 fix phpcs errors
  • fd64d95 change position from afterDefault to beforeDefault during to wrong order, add test
  • e35823e fix tests, add numeric type for unsigned
  • 5a40944 fix test name testBuildColumn3 to testBuildColumnUnsigned
  • 2fcb4c3 - change check to strict for `options` of `$fieldParameters` - add `types` parameter and strict check if it present in `$fieldParameters` (if it present and not contain column type field parameter will be skipped) - add `noVal` parameter to `$fieldParameters` if it present and not empty value of this parameter from column will be ignored - add `unsigned` column type for integer, float and biginteger. If it set to `true` an 'UNSIGNED' will be add in sql column part, if not set or set not to `true` this parameter will be skipped
  • c02bc2e Changed .mo files from text to binary
  • 19b972c Implemented skipping of fields for the data validation rules when baking a model
  • ed142d8 Add missing type hints.
  • 0e74a07 Keep insertQueryData() DRY, issue less lookups. Remove unused $assocData and $LinkModel from the signature. Model objects should be CamelCase.
  • 52d4257 Call getDataSource() instead of the directly calling ConnectionManager::getDataSource().
  • c1f3d9c Model objects should be in CamelCase.
  • 014d2dd Remove 'self' key from getConstraint() calculations because it is not necessary anymore.
  • e658e07 Remove unused variable from the signature.
  • 67a6566 Assign before actually using it.
  • 0265650 Model objects variables should be CamelCase.
  • 6b8a79b Remove reference from the signature.
  • cb42b05 Remove the 'Line indented incorrectly' PHPCS error.
  • 7f570f3 Unindent, and remove unnecessary getDataSource() call. Also, objects should be CamelCase.
  • b35c967 Explicitly build SQL statements, calling buildAssociationQuery().
  • f0fcaa1 Improve generateAssociationQuery():
  • 64f34b7 Fix a couple of failing tests.
  • dcadfcb Remove inline assignment.
  • 53c6df5 Remove unused $resultSet argument from generateAssociationQuery().
  • 5da05d9 Remove unneeded test inside conditional.
  • f16695d Move variables to logical blocks. Unindent to ease readability, and avoid assigning variables when unneeded. Free a little memory before entering to recursive intensive loops.
  • fdb4b11 Remove unnecessary call to getDataSource().
  • c9e0131 Only generate query data for hasOne and belongsTo associations.
  • 2532228 Improve readability and optimize minimizing variable lookups.
  • 63d867c Restore global event managers that were causing cascading failures.
  • 3e37377 Corrected coding standards violations in CaKeEventManagerTest.php
  • 7656ffd Corrected coding standards violations in CateEventMAnagerTest.pnp
  • 11db7c1 Removed EventManager test that tested using a closure as it breaks compatability with php < 5.3.0
  • 615f700 Added EventManager::prioritisedListeners() function to alow the global event manager to return unprocessed listeners array
  • e8984a9 Profiles and optimised EventManager::listeners() function, reducing execution time by 14.5%
  • d647fe8 Added buffering of form tags generated by FormHelper::postLink()
  • 9499876 Fixing whitespace
  • e68a61c Added configurable default value to Hash::get()
  • fb43664 RedisEngine: Support for selecting database number
  • fecbef5 Pass depth through for Debugger::dump().
  • 93cd458 Changed to UNIX line ending
  • 9260a78 Fixes last items for #1665.
  • 98e11ce Adds File::replaceText().
  • ab2edbe Added a .gitattributes file to set the line ending behavior when checking out/committing
  • 3773311 Normalized associated models in unbindModel. Resolves #1764
  • fca8a01 Correct casing of class names.
  • def0151 Ability to use PaginatorHelper::sort() with only one direction.
  • ae00916 Added display of CakePHP version to the default layout
  • bf8a13a Added binary type to field type map, defaulting to file input field
  • f9c1c2a Optimized whitelist jugglery.
  • eb852a0 Strict checks where applicable.
  • 381a8c1 Simplify test.
  • 35ca406 Add doc block
  • c621985 Fix whitelist to be modifiable from behaviors to work with validate.
  • e85ac93 Fix coding standards in comment.
  • 1ce8954 Fix 5.4 only syntax.
  • cb91a2d Add example to documentation for Cache::remember()
  • f146d43 Add Cache::remember()
  • 5d30cb1 Improve serializer engine assignment code
  • eb98770 Remove leftover of pageTitle.
  • 0cffcd1 Added missing semi-colon in return
  • b9003e5 Allow Folder::addPathElement() to accept arrays, also corrected docblock
  • ac9b7f3 Refactored the shell reflection portion into a seperate task.
  • 5c523a0 Updated the shell given @renansaddam pointers
  • 79202ad Updated doc blocks
  • cdf2b8c Base completion files from @AD7six/cakephp-completion adjusted to be part of the framework
  • 85e5ef4 Change $serializer visibility, and other fix
  • 4806d09 Setting of step for decimal field based on precision.
  • 091658a Decimal support for FormHelper.
  • e527506 MySQL: Numeric data type now supported under decimal column. #3171
  • 73cae88 SQL Server support of numeric type. #3171
  • c74c8d4 Decimal support for SQLite. #3171
  • e0eb8f8 Added decimal CakeSchema test case and DatatypeFixture. #3171
  • a1a3e70 Decimal support for PostgreSQL. #3171
  • 7fb51ab Decimal support for MySQL. #3171
  • 1e7f11a $var in debug() docblock should be declared as mixed, not boolean
  • f7e50714 Case insensitive validation inList option. Resolves ticket 3521. Added two tests to proof the faulty behavior of $strict here. Also address the faulty behavior in multiple() and replace it with case sensitivity.
  • cbbd3ec correct doc block
  • b6a7cb7 Output overall coverage.
  • d099c5a Add doc about the new serialize setting
  • 7c83f71 Rename `serializer` to `serialize`
  • 0a704cc Fix test
  • 72965f7 Remove unnecessary sprintf
  • 5d509e2 Throw exception when selected serializer is not installed
  • bd3f005 Add serializer option to Memcached Cache engine
  • 61b05c4 remove autologging
  • 8311a16 Accurate description of what is returned
  • 50ad043 View::get() default param test
  • 0c3197a View::get() to support a fallback param
  • 84a669a Shortened the if clause line length by doing it the @markstory style ;-)
  • 13b870d Fix coding standards error.
  • b8ad7f3 Fix doc blocks.
  • 9b0e26c Deprecate MemcacheEngine and update defaults for Memcached
  • 9e8c4ad Rename persistent_id to persistentId.
  • 95ad5f5 Add hmac to encrypted data.
  • a54e8f2 Add y/yes option to schema create and update subcommands
  • c509285 Fix compatibility with PHP 5.2
  • 005a7d8 Add support for aes encrypted cookies.
  • 215d43e Add encrypt() and decrypt() methods.
  • 70f321e Starting the memcached server on travis
  • 244df07 Coding standard and readability
  • bdd00c2 Throw an exception if attempting to use authentication without SASL support installed
  • f093a31 Remove unnecessary return
  • ad75637 Expand doc blocks for CakeRequest::addDetector.
  • 075bf37 Added test case for param with options detector.
  • cf3dfb0 Allow 'options' to be given as array when adding a param detector - similar to env / options.
  • c7dacb0 Add support for Amazon ElastiCache
  • 2b20ddc Drop backup/restore Configure values
  • 7c33878 Coding standard fix
  • 6a89133 Fix coding standards
  • e315f56 Add MemcachedEngine
  • f655e8a Minor simplification.
  • a0014e7 Ticket 4011 - Adding matchers support for Hash::remove() and Hash::insert()
  • 9ad75e0 Successfully :)
  • 9536b3c Successfully
  • 2166b39 Successfully
  • 39f9d40 Fixed formaiing and Successfully
  • 2a27b37 New line on end
  • 8e5a9cd Accept 'connectOptions' in Router::mapResources()
  • 4e74b93 Start the 2.5.x branch.
  • 391d997 Fixed some formatting
  • 180ecb7 Fixed some formatting
  • f5daf1c Fixed some formatting
  • d7dab32 Remove added fixtures and use existing. Updated one old test to add data from afterFind callback
  • bb7ff48 Formatting issues
  • 8a8db72 Formatting issues
  • b5a8a6f Formatting issues
  • 1d9bce3 Formatting issues
  • 2235a0e Formatting issues
  • 50cf070 Formatting issues
  • a6efcae Deleted rows in ModelReadTest
  • 0c1dbde Added some test for related model afterFind callback
  • bb13af6 Added some test for related model afterFind callback
  • 39b202a Added some tests to related models afterFind callback
  • 4c460c1 Some tabbing issues
  • 8e40a3a Added some tests for related models afterFind callback
  • 74eb326 Some more space / tabs issues [Travis PHPCS=1 fail]
  • 2655d16 Fixed tabbing in some places
  • 3855c06 Fixed tabing formating
  • faff191 Problems with files :/
  • c033df3 Fixed duplication of Model's afterFind callback in HABTM relation and content of array passed to that callback [ticket 3970]