CakePHP : the rapid development php framework

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

Changelogs

Version 2.0.0-beta.

  • 402934f Updating version numbers to 2.0.0-beta
  • 8c60e01 Reverting change done to validation that was duplicating the validates() process for the main model, returning the correct value in validateAssociated() instead
  • cfd2d9e Updating all @package annotations in doc blocks
  • 21ff9ca Solving scope problem after clearing up variables in the default routes file
  • 1c7f181 Making saveAll with validate => only validate the current model data first
  • 74e2cb1 Updating doc blocks and @package strings for Console classes.
  • f534ea0 Updating docs for Configure classes.
  • c35d52e Cleaning up after route connection.
  • 2b7888e Reverting change done by previous merge
  • f140080 Added Bake-Banner to home.ctp for baked projects.
  • b8daa99 Splitting saveAll into separate save and validation methods for many rows and associated rows. Closes ticket #1157
  • 31efa02 Adding a backwards compatible check to ClassRegistry::init() so it is still able to return classes that are not instance of Model
  • d63dde0 Ensuring the correct HtmlReporter class is used in the web test runner
  • b8c00d5 Changed the paginator to do a count after the find.
  • 6fb3c72 Fixing issue where plugin models in $uses, would create incorrect forms when create() is called with no arguments. Fixes #1841
  • 63ea4ef Fixing missing fixture causing test failure.
  • ec3de84 Removing getResponse, its not used and it doesn't serve much purpose.
  • 4101388 Syncing skel directory with app/Config.
  • c8647b2 Moving plugin route loading to app/Config/routes.php Its old position would end up with plugin routes being loaded after the core fallback routes.
  • c37c641 Fixing failing tests because of core routes not being loaded.
  • 16073b4 Fixing notice errors in Router. Updating AuthComponent tests for changes in Router behavior.
  • be98e0b Updating Folder tests for new file. Converting assertIdentical to assertSame.
  • f0819d3 Updating Dispatcher tests for changes in Router.
  • cfb3e8a Moving default routes into a separate file. Removing Router::defaults() as its not needed anymore. Removing default routes from inside router. Removing properties related to default routes. Removing dead tests and updating tests.
  • 358d591 Making ApiShell test, which uses Controller pass.
  • f28b42d Pulling construction of Scaffold into a method so its easier to allow plugins/user classes to replace the core Scaffold class.
  • b569313 Adding tests.
  • 61ab769 Moving tests for private actions to ControllerTest.
  • c253942 Returning response objects from controllers wasn't working correctly.
  • 177cd39 Moving private method detection into Controller. This fixes an issue where potected methods would not be called, and no exception would be raised.
  • 8bfc0a8 Reverting previous change that prevent entry into a special case.
  • 70744f3 Fixing failing tests for Controller. Adding a string cast for easier testing.
  • b0749ac Starting to change how Controller::render() and response objects are handled.
  • 65d28f4 Fixing failing tests for ControllerTestCase.
  • 04147ca Updating ExceptionRenderer and CakeErrorHandler for Controller changes.
  • 173e043 Fixing more failing tests caused by requestAction and changes in Controller::__construct.
  • 2141b49 Adding charset as it was previously omitted.
  • fc08784 Making Controller tests pass.
  • ec40ce6 Updating index.php and skel dir for response change.
  • 5240ede Refactoring tests to better use PHPUnit's features Removing non-functional cruft.
  • 9641bcc Modifying Dispatcher and its test cases to accept a CakeResponse as part of its arguments.
  • eefde54 Updating path constant in CodeCoverageManager to better support custom installs. Fixes #1831
  • 3cf4dd8 Reversing the order fixtures are truncated in order to remove data in a way that better supports foreign keys. Fixes #1837
  • f94c50d added ModelDeleteTest to AllModelTest
  • 011d9b4 Updating compatibility assertions so they correctly reverse arguments for SimpleTest wrappers. Reformated doc blocks. Fixes #1827
  • a2e7c0f Optimization in FormHelper::postLink().
  • 50d4330 Ensuring uniqueness of method cache keys, all tests passing now
  • 222df2c Removing unneeded assert that fails when run in the all test suite
  • 3594f7a Adding condition inside Controller::render() to avoid storing in the request an empty model definition
  • 4c8f5ce Bringing up to date the ModelTask test case after adding the new validation method
  • 03dac31 Using the static property instead
  • a786f4b Making DboSource::$methodCache a static variable to be able to share the cache between multiple instances of the same class
  • 58282c3 Micro optimization on Mysql source
  • 762ebd4 Implementing a persitent method cache for DboSource, using a stronger hashing algorithm to ensure unique keys
  • ca0a7e4 Removing method cache from DboSource::conditions() this was consuming too much memory and bringing little to no performance increase
  • b603232 Removing redundant call to DboSource::fields(), the fields come already quoted from DboSource::read()
  • ff5ac73 Removing redundant/always true conditions in Controller::__mergeVars. Fixes #1830
  • ad28228 Removing unused parameters of tagIsInvalid()
  • c6c1bf1 Fixing caching of class loading in App class, this was broken after a recent refactoring Additionally a new property $bootstrapping is added to App, this is set during the bootstrap process to indicate that classes loaded before the caching is initialized should not trigger the cache write routine. Performance++
  • a02db65 Removing persist object feature, it was problematic an incomplete
  • d5ce09c Restoring the validationErrors property in FormHelper, it will be checked first before the validation errors in the model
  • 11f4d1c Fixing whitespace in CakeSchema
  • e4c1f28 Included validation to skip AppModel on CakeSchema->readSchema because it tries to find 'app_models' table. Added testSchemaReadWithAppModel test
  • fb264d9 Adding a datetime validation method to the Validation class, closes #1021
  • 8a6d97d Fixing loading of default options in CakePlugin::loadAll(), fixes #1737
  • 84aba00 Documentation and code cleaning, this commit means that the FormHelper is now fully able to locate models even though lazy loading is used in the controller, closes #1690
  • b16a5f2 Making sure the default model for controller is added to the request models parameter in render()
  • 37231b4 Updating Controller test case
  • ac2538b REmoving call to deprecated method in PHPUnit
  • 0c79ad8 Cleaning up the code and adding tests for new features
  • dcd8811 Fixing typo
  • 0228611 Fixing remaining failing tests on FormHelperTest case
  • a5851e9 Updating test to reflect that models passed as a request parameter are now in an associative array
  • 4ed46cf Updating more tests on FormHelperTest case
  • ba012ed Adding a special case for not trying to instantiate a Model called Model in FormHelper
  • 9304f34 Currently the FormHelper fails if the Model supplied is 'Model', perhaps we need to add a special case for this
  • ef5650c Fixing ClassRegistry that was incorrectly checking class inheritance Fixing Model class that was incorrectly sending model names to be instantiated Fixing more FormHelper tests
  • 1941be6 Updating FormHelper tests
  • e8efc67 Ensuring that classes returned by ClassRegistry::init() are model instances
  • 60b44e0 Cleaning up the ClassRegistry::init() method, removing the use of the second parameter as it always accepted but one value The second parameter is now $strict, meaning that if the model class is not found it will not try to create an AppModel instance
  • d54e8cd Starting to update tests after removing the validationErrors property in Helper
  • 39dadf5 Refactoring how model information is extracted in the FormHelper, it is done now in a lazy manner and hopefully using less memory
  • 22f0237 Moving tagIsInvalid from Helper back to FormHelper, as it is a better home for it
  • 567ac02 Refactoring how models are passed as a request parameter to the view, now the full plugin and model name will be passed on
  • a025cb2 Adding option to ProjectTask, for setting CAKE_CORE_INCLUDE_PATH. Tests added.
  • 7d1c99a Fixed typo
  • e3dfec9 fixing regex for setting constant in test.php
  • adb943b Refactoring the code to build the query array as suggested here https://github.com/cakephp/cakephp/pull/147#issuecomment-1553663
  • 6047024 removing unneeded parameter
  • e45b35c Removing the Controller::modelNames property and loading it's contents in the uses variable. Simplifying code in Controller::render() Setting all models loaded into the request parameters so it can be used later on the Form helper
  • f8ab1d3 Adding App::location() method to be able to obtain the defined path for a class
  • 9d7c97c Adding the "returnQuery" key to the 2nd argument of the find() method to be able to get the query array back from the before state of findMethod() calls. This was required in the past for some more complex queries and is in 2.0 no longer possible because the find methods became protected.
  • 4d702ee removing unused parameter for value()
  • 00dd1cc removing unneeded parameter, describe() only takes one parameter
  • 028065e Closing forgotten tag.
  • cde13da Refactored DatabaseSession to use only 'Session.handler.model' config. Fixed static call on non-static method DatabaseSession::gc(). Fix for SessionFixture -primary key too long (MySQL Error: 1071)
  • 9e79756 fixed unassigned "show passes" parameter for test
  • 1bccc77 Fixing singularization of "curves"
  • 742130b Fix for wrong Exception messages and typos. Added missing ExceptionRenderer tests for Datasource
  • 9f4ad94 Fixing singularization of "curves"
  • af12a17 Fixing copy paste typos from previous commit
  • b6ff3a6 Fixed typo in the comment
  • feb567d Adding better help and documentation for loading plugins. The exception renderer will serve a helpful page if a plugin is missing
  • eaa80bb Completing support for extracting model validation messages from application plugins
  • d2519ae Adding support to the extract task to operate on a single plugin, thus removing the hassle of declaring the plugin path in command line
  • 1d0d3f8 Fixing Helper::value() when models exist in ClassRegistry and field values are empty. Fixes #1817
  • 71933f5 Adding a logout callback to authenticate objects. Adding tests for the callback. Adding doc blocks for the new callback. Fixes #1758
  • 9ea1a04 Fixing typo in UpgradeShell
  • be09c67 Fixing failing test that happened between 12:00 & 12:59
  • ae9a3ef Update component task, make components extend Component instead of Object.
  • 0366d8f Changing title CSS for web test runner. Fixes #1752
  • ee16348 Fixing issues with ApcEngine and duration = 0 (forever) values. Fixes #1795
  • 71ed244 Fix for render element - allow under_scored plugin name. Fixes #1814
  • 4854b4a Removed legacy app/config folder from 2.0 branch.
  • bef2e75 Fixing failing debugger test. Adding doc blocks for helper properties.
  • c9acb6b Moving FormHelper specifics into that class.
  • ee2930d Removing magic variable in DboSource to bypass the adding of fields to association queries, instead adding the ability to declare 'fields' => false in the association array. This opens the possibility of having joins for filtering purposes.
  • b22e30c Removing unneeded magic methods. Closes #1802
  • df043ed Removed unnecessary str_replace Sanitize class.
  • 8925832 Moving entity() and its related attributes to Helper Removing entity() and its attributes from View. Having that information on View allowed for unwanted side effects, and seemed like a break of encapsulation.
  • e4d7010 Fixing failing tests caused by merge with 1.3
  • 1ffa736 Removing now dead code.
  • 4073584 Fixing more failing tests. Fixing use of properties that are going away.
  • 87fe663 Removing pointless test that was in the middle of an unrelated test.
  • f5b3549 Fixing issue where _method would be remembered as a field.
  • 2587044 Fixing '2.name' style fields when creating multiple record forms.
  • 96cc1b9 Making a test more specific.
  • b7e554f Starting to update FormHelper's internals to work with changes in Helper.
  • 3a847ae Updating more tests for change in Helper setEntity().
  • 8a8336c Starting to convert Helper::setEntity() and View::entity() to not be nearly as complex and magic. This also helps reduce coupling between the helpers and Models.
  • ffe575b Removing expectation that was not being fulfilled.
  • 2470096 renamed chmod to mode in the comments for function copy.
  • 3189872 Adding early return when connection to MySQL or MySQLi fails. Fixes #1732
  • 41d2852 Unnecessary str_replace
  • fb3a192 Minor comment and path changes.
  • a0c08cd Synchronizing home.ctp file in skel directory with the one in default app, closes #1777
  • fcd0505 Hide db credentials
  • e4fee14 Hide db credentials
  • 08f1afe Updating varchar, text columns to use nvarchar. This storage type stores unicode properly, and is the saner default datatype for most applications. Fixes #1321
  • 6bcfd19 Fixing tests that shouldn't have been changed.
  • 3169c5a Fixing issues with unicode quoting.
  • 9ab2ec7 Adding support for Unicode characters. Refs #1321
  • 623466d Removing duplicated code.
  • d6e262d Fixing form action attributes being double encoded with querystring attributes. Fixes #1748
  • 68378f2 Adding a test for double escaped form urls. Refs #1748
  • 13bcaaf Fixing doubly encoded action attributes in FormHelper. Fixes #1748
  • f3f0363 Adding a test for double escaped form urls. Refs #1748
  • 55387ef Removing a apparently bad hack in the FolderTest case
  • d86dcd6 Fixing test broken in Mysql driver
  • 1814b06 Fixing a couple of recently broken tests
  • 5035bb9 Renaming FileLog test case.
  • 3e4388d Fixing failures from merging.
  • de893b1 Unnecessary line
  • e33a9a7 Adding new limit/offset pagination for SQLServer 11.
  • 0e09f75 Updating table styles.
  • 7392902 Syncing skel CSS with app/webroot css.
  • f547032 Removing altrow from the bake default templates. Refs #306
  • edda41e Removing 'altclass' from scaffold templates. Refs #306
  • 1a155c8 Fixing support for nchar and nvarchar fields in SQL server. These fields report their length as double of what its defined.
  • 1df0801 Updating SQLServer test to pass when the app has a model.
  • a825d82 Adding support for SQLServer's datetime2 column, as that is the preferred datetime format in SQLServer.
  • d45b7fa Fixing identity check.
  • 876a047 Change type check to loose type checking for Sqlserver limit -1
  • 853c0bd Removing var_dump() because I'm dumb.
  • 0c1472e Adding better support for nvarchar(MAX) in SQLServer Newer versions of SQLServer perfer to use nvarchar(max) for text columns.
  • 936d068 Reformating SQLServer 'describe' query.
  • 26aeb11 remove needless line of code
  • a1f47a8 Added paths for Controller/Component/Auth (ticket #1757)
  • 694819c Fixing issue with generic.css and overlapping in view scaffolds. Thanks to 'euromark' for the patch. Fixes #1787
  • f641da8 Fixing issue with generic.css and overlapping in view scaffolds. Thanks to 'euromark' for the patch. Fixes #1787
  • d0ef655 Using the field name for aliasing for Sqlsrv as in Postgres, removing dead code
  • 9e4c367 Adding Wincache support. Wincache is a fast shared memory cache that performs very well on windows platforms.
  • 97e51f1 Removing Sqlserver::value() as it is already abstracted in DboSource
  • 9aa2a42 Fixing offsetting in paginated queries in SqlSrv
  • 734495d Removing bogus code that doesn't work when tests fail.
  • f353eb7 Fixing incorrect default value.
  • 2e5bdd8 Adding a new change to the AuthComponent test to make it pass with Sqlsrv
  • e6b4475 Fix for wrong MissingPluginException message
  • 4deedf6 Removing extra paging result that ends up because of SQLserver 10 workarounds.
  • 3d2a732 Reverting testing changes pushed in past commit
  • e14c441 Fixing more AuthComponent tests for Sqlsrv
  • a34358f Fixing FormAuthenticateTest for Sqlsrv
  • 3474837 Fix error message for database configuration missing.
  • f1108b2 Fixed pagination for SqlServer
  • c1e674f Actually checking that files exist before saying they do.
  • b722693 Fixing all console tests on windows
  • 552bd82 Fixing tests from CommandListShell when run on windows
  • d54f8dc Fixing some shell tests when that fail when they are run in window
  • f4aeb51 Fiing CakeSchema so it runs without errors on Sqlsrv
  • 5ffab8c Added App::import('Model', 'ConnectionManager') to cake/libs/sanitize.php to prevent missing class errors.
  • cdc8133 Adding support in SqlSrv for drop table if exists
  • cf49d51 Fixing the binary type for SqlSrv
  • 41603ca Fixing Fixture generation task to be more compatible with SqlSrv
  • 9f85e24 Adding float precision support to CakeSchema when using Sqlsrv
  • 0cc76b3 Fixing some tests on ShellDispatcher to make them run on windows
  • e758b27 Fixing problems when running the AllTests testsuite
  • 08c72a6 Adding tags file to gitignore.
  • ce7ec44 Importing Multibyte. Fixes fatal errors when mbstring is not installed.
  • 72ca894 Fixing failing test, because I forgot to update it earlier.
  • ed8ccc2 Remove persistModel. The benefits of persistModel are no longer needed. Because of lazy model associations, the performance benefits persistModel are no longer realized. Fixes #1782
  • 33c74b6 Implementing validation domain extraction in the ExtractionTask
  • 1c7d54e Updated the paths from comments.
  • d220ee5 Implemented the support to use helpers in CakeEmail. Fixes #1754
  • b4a7803 Add the 'model' key to PaginatorHelper::counter() Its available as both '%model%' and '{:model}' Fixes #1773
  • 28ba1c9 Removing unneeded line in test case
  • 6637d25 Adding a Debug transport class to help users test their apps when sending emails
  • 8a98ee2 Adding a Debug transport class to help users test their apps when sending emails
  • 52a5c76 Synchronizing default css file in skel directory, closes #1777
  • 98e29b7 Fixing the DatabaseSession to work with models that use a different primary key field than id.
  • 98f2684 Assigning the viewVars to $this too. It was empty before, the result was no variables.
  • 87d3a2e Fix failing tests caused by path changes.
  • 613410f Making submit() and button() create unlocked fields by default. This fixes issues where buttons would cause post validation checks to fail. Fixes #1746
  • 878b854 More updates for disabledFields -> unlockedFields.
  • c136349 Updating SecurityComponent to use unlocked instead of disabled.
  • f3f475f Updating method name, variables, and properties to be unlocked. This better reflects what is actually going to happen, as fields that are unlocked are not checked. It also works better with the idea that secure = false means unlocked or unsecured.
  • 3389579 Adding test cases for disableFields being part of the POST data.
  • 046ddce Updating SecurityComponent tests to include the disabled field.
  • be6a2e0 Starting to update SecurityComponent.
  • 0c3c6e5 Adding a new hidden field for the disabled fields. Updating the FormHelper tests for the new field.
  • 83184c9 Adding disableField() to start allowing disabled fields to be manipulated from the view/helper.
  • 2a15e63 Starting to refactor field securing, so disabledFields can be controlled from the Helper.
  • 01b2e7e Removed unnecessary Inflector::camelize() calls
  • ffab734 Camelize file names in Errors
  • aeb510e Camelized controller file names in Errors
  • 4c02fa7 Updated paths in all Errrors
  • d5012f0 add required uses to template.
  • 2e3f828 Updating the home.ctp file to include last changes made on directories name and i18n usage.
  • 564bf87 Using exit instead of die, as did in 2e8bbd5e. Fixing an typo. Using i18n on test.php file and pointing it to right directory.
  • 2a3f49b Updating the cake.generic.css from skeleton template to match the changes made on commit cb946bbc.
  • 1079889 fix missing uses command in bake template. fixes #1770.
  • 182a89b Fixing default/fallback url when no referrer is set. Fixes #1761
  • 71e2c8e Changing how 'id' attribute is treated for multiple checkboxes. Setting the id option, will now also override the generated id's for checkboxes. Fixes #1691
  • 21ba5a8 Fixing documentation
  • 487c4d2 Fixed spelling mistake
  • cb946bb Added warning message on homepage for misconfigured URL rewriting. Removed dead link for cakeforge.org
  • ccc3b9d Updating docblock for Sanitize::stripScripts()
  • 6c8b7fd Fixing locales lookup folder name. Closes #1744
  • bfa7c12 printing the legend of the forms in the templates
  • cbc7e82 Fixing issue where Aro nodes would be incorrectly formatted for use with the AclComponent. Fixes #1749
  • 1e9af71 removed invalid access modifier from javascript in HtmlCoverageReport
  • 2650bd4 Adding missing import that causes a fatal error when a deep value is written to Configure early on. Fixes #1753
  • dcbf36c fixed underscored plugin name for coverage, now it must be camel-cased.
  • 00f29f3 Updating docblock for Sanitize::stripScripts()
  • 8271970 Fix for PHP notice (Fixes #1424)
  • b22fdea Add doc block for CakeSchema::_noPrefixTable
  • cb88b95 Supporting template/layout in plugins for CakeEmail. Fixes #1743.
  • 282196a Fixing doc block for CakeRequest::$data. Refs #1746
  • ea82261 Removing call to RssHelper::header() as method does not exit
  • 169b0a5 Consolidate table prefix removal.
  • c5d7637 Added test for datasource prefixes. Fixed another instance of error in prefix replacement in CakeSchema.
  • 52b9087 Fixed schema reading where table name contains the datasource prefix.
  • 6f821e0 Changes relatives to templates from last commit.
  • 2134816 Camelized templates folder.
  • 6aca8dc Updating the copyright to 2011.
  • 192812e Updating the copyright to 2011.
  • 69c43a5 Fixing issue where SecurityComponent::csrfUseOnce = false caused forms that weren't the first to fail. Fixes #1745
  • aacb921 Pattern to use skipIf in tests.
  • cd8b18d Fixing notice errors caused by trying to operate on keys that don't exist. Fixes #1651
  • ed96936 According to CakePHP conding styles, methods prefixed by _ are protected. Changing where it makes sense and don't break anything.
  • 438050d Adding 'public' visibility to all public methods.
  • 9f9b368 Fixing the bake_test_app path, so any remaining file will be removed at the end of the test.
  • d0af5c7 Fixing the path used to create fixtures.
  • f55fa4d Removing the specific getPath() method, it was giving the same result as the parent one.
  • 8671aa3 Updating version numbers to 1.3.10
  • 9402f66 Added notice about SimpleTest compatability. Fixes #1333.
  • 0d1ae69 Fixing small mistake from last commit trying to improve styles for url rewriting detection notice
  • d51e902 Improving styles for url rewriting detection notice, and copying it to the skel app
  • 88db6f3 Fixing tests to reflect last changes made on TestTask.
  • 3c996bb Addition to commit a80d82e4a054d494db74311a211e62335e20cb89. Adding unloading of TestPlugin in ShellTest.
  • a80d82e Fixed Shell naming from using Inflector::underscore() to Inflector::camelize(). Added small test case for Shell naming. Fixed missing CakePlugin::load() call in ShellTest.
  • 4c042ae Adding proper visibility keywords for class functions
  • e5f2f6a Fixing test cases
  • b658806 Fixing test cases
  • 3f58509 Fixing Xml::toString() not slugging elements with no children.
  • b76901e Ensuring that nested cookie values are deleted.
  • b64b121 Fixing CakeLog::handleError() being called too often.
  • 5fd1926 Updating MediaView test
  • 684c377 Handling files with Uppercase extesion name
  • f905237 Adding missing import. Fixes #1736
  • 8a701f3 Fixed this following error: failed to open stream: No such file or directory [CORE\Cake\Model\Behavior\AclBehavior.php, line 52]
  • 93ac47f Adding ability to ExtractTask to inspect models and extract the validation messages from them
  • 17384f3 Fix for wrong callback in $callbacks array: renamed afterError to onError
  • 2d78d59 Small optimization, remove unneeded else
  • 991501d Implementing a new option 'exclude-plugins' from the ExtractTask
  • e669a81 Reverting change in ConnectionManager, sourceList() will only return the instantiated datasources Fixing remaining tests failing due to contamination of loaded plugin is app
  • aca592a Avoiding the use of default connection in schema shell tests
  • b320e43 Improving ConnectionManager tests
  • 2c32d34 Removing more dead code
  • 1f6c5fb Removing dead code
  • ad456bd Removing code that should not have existed in the first place
  • faa8b3d Avoiding the load of default connection in Sanitize test
  • 01f6744 Removing unneeded line in ConnectionManager
  • 005c690 Fixing incorrect filename for FormAuthenticateTest
  • 266058e Moving the sort to also sort plugin objects, sorting in test removed
  • cea4e4e Sort objects before storing
  • 6b7dbcd Adding warning message on homepage for misconfigured URL rewriting. Closes #1577
  • 964ff45 Fixing assumptions parameter order
  • 2658882 Fix incorrect exceptions message for missing plugins
  • 5f97292 Change case of Controller::$plugin, fixing missing plugin exceptions, tests updated. Also removing no longer needed camelize() calls
  • 3f72c92 Removing the unset(->db); since it trigger errors by the Fixture Manager when it tries to drop the created tables.
  • 2ca849a Tests no longer have access to ->_fixtures, refactoring it to use Fixture Manager instead.
  • 33d0038 Fixing cross database tests by making sure the fixture was created for the right database.
  • 423fa81 Skipping Oracle tests if not using Oracle configuration.
  • a6ed668 Including SqlServer and Oracle tests to the AllDatabase tests.
  • aac8f68 load the TestPlugin to avoid missing plugin exception in testInitialize()
  • 76b3f5a removing unneeded App::build() calls in the tests, tearDown() already does this, also always build with App::RESET
  • 14b065e changing AppImportTest classname to AppTest
  • acc0660 Changed the emails folder in layouts to CamelCased. Fixes #1730.
  • 3812ac7 Fixed the default name of email transport. Fixes #1728.
  • dee3efa Renaming the index name to be compatible with SQL Server.
  • 02d4188 Skipping tests that is not compatible with SQL Server.
  • a744a74 Not changing to NULL strings.
  • 1e7bf96 Removing unused function App::setObjects()
  • 37fcfb9 reset objects when using App::build() with App::RESET
  • 0ae9974 Updating the test to be compatible with others dbo drivers.
  • 7bae41c Fixed the error check in queries and storing the right value to last affected in non-select queries.
  • a2f725f Fixing loading list of tests cases for plugins broken in recent commits
  • 39320ef Renamed the Mssql driver to Sqlserver.
  • 846634d Changed the test to be compatible with all tests.
  • 7683186 Skipping tests that is not compatible with SQL Server.
  • 5b8865a Making plugin routes load after app routes, closes #1722
  • e049e35 Catching the error in execute for SQL Server to have the same behavior from the others drivers.
  • 87bccda Updating PluginTask to filter out paths that don't exist, and not offer them as options for baking plugins into. Fixes #1723
  • 68482be Updating path to match the one found in the repository.
  • 85752e2 Removing undefined variable use. Making the plugin path match the old plugins directory.
  • 661a0cc removing DS, App::core('Console') already ends with DS
  • 1d68721 Fixing ViewTask so it creates properly cased directories for 2.0. Fixes #1725
  • 600609c Adding testsuite icons to the repo, so they are local assets instead of remote ones. Fixes #1708
  • 4d76840 Fixing 'no' option when baking projects. Replying no, will enter iteractive mode now. Fixes #1721
  • 2b20eb8 Fixing issues with ProjectTask and absolute paths. Fixes #1720
  • 195653b Updated the Mssql tests with fixes of insertMulti.
  • f0db55d Using dbo methods to manage the transaction.
  • 82e2d9e Updating model tests to support Mssql driver.
  • ad67f3e SQL Server PDO support prepare only to SELECT statements, others commands need to use exec method.
  • 968fa1d Included an option to configure the prepate statement. SQL Server requires the cursor option to return the affected rows.
  • 11d249e Updating PHPDoc and method visibility.
  • 3e4cd4f Removed the simulate flag that is not used.
  • 375f86d Changed the default empty value when create columns.
  • 3dcee71 Bumping version number. Fixes #1724
  • 42b93dc Adding assert left out of previos commit.
  • 438734c Improving code coverage in Configure.
  • ed68368 Fixing HtmlCoverageReport so it properly enables the test subject class as best it can.
  • 91391fd Updating version numbers
  • 0494876 Adding [ and ] to the list of allowed characters in validation::url() This matches the behavior of PHP's filter_var() Fixes #1717
  • efbb647 Fixing issues in DboSource::group(), which always expected an optional argument. Fixes #1656
  • c602fc8 Reverting the change to insertMulti, worked to solve the cache issue when trying to get the model schema.
  • 37b9bd5 Trying to fix the Mssql as much as possible. Adding parameter to the insertMulti() method because Mssql tries to get the table schema and it fails most of the time.
  • 5abd00e Fixed undefined variable
  • bf37054 Fixed wrong passing of $expected and $results in model task test.
  • 8ef7016 Fixed wrong validation init in Model bake task when having index starting at 1. Added guess 'uuid' for type 'string' and length 36. Updated missing calls to assertEqual() testFieldValidationGuessing(). Added test for uuid guessing.
  • b6ef130 Backporting changes made to Memcache in 2.0 to address issues with persistent connections. Refs #1705
  • f65cf55 Revert "Merge pull request #45 from joeytrapp/router-reverse"
  • e53407c Fixing issues with tests, and adding another test. Refs GH-57
  • 50ec7e6 Fixed a bug in the dateTime function that prevented the proper hour from being selected because the check for past noon required seconds to be set and they weren't
  • 877c874 Adding tests for GH-57
  • 922595c Moving time tests into a separate method.
  • 1cdf55f Fixing whitespace and adding doc comment.
  • 66de46c Fix ticket #825. Related with session set to cache.
  • 9e4ecba fixed error when passing false for $conditions, closes #1685
  • 527ff5f adding tests for Auth::identify()
  • 5329c18 adding help info for bake connection parameter, closes #1679
  • 8b78507 Changed the test setup to not run the test if test db config is not mssql.
  • 9dfc7d6 Changed the field map to protected to run the tests. It is not requeried to be private.
  • 3231755 Fixed the tests for value.
  • 24bf56b Revert "Removed the value method from MSSQL. It is provided by DboDatasource now."
  • b91f6eb Fixed error in change.
  • a7a86e4 Changes for fetch results.
  • 83b81ff Removed more methods that is implemented by DboSource.
  • f11b153 Removed the value method from MSSQL. It is provided by DboDatasource now.
  • 37d26f2 Update the describe.
  • 3f984b6 Update the listSources.
  • 244bc13 Removed the execute method from MSSQL. It is provided by DboDatasource now.
  • 4e8b863 Initial changes for init the connection with MSSQL.
  • 30fd9ff Changed the import files and Mssql class name to the new structure.
  • 6a8322a Added a flag to Router::reverse that is passed on to the Router::url call