Commit graph

63 commits

Author SHA1 Message Date
Jose Lorenzo Rodriguez
97e51f1d94 Removing Sqlserver::value() as it is already abstracted in DboSource 2011-06-21 18:07:05 -04:30
Jose Lorenzo Rodriguez
f79fc74aad Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-06-21 17:09:53 -04:30
Jose Lorenzo Rodriguez
9aa2a4227f Fixing offsetting in paginated queries in SqlSrv 2011-06-21 17:09:12 -04:30
Mark Story
f353eb733f Fixing incorrect default value. 2011-06-21 14:20:20 -07:00
Mark Story
4deedf6da2 Removing extra paging result that ends up because of SQLserver 10 workarounds. 2011-06-21 13:17:49 -07:00
Jose Lorenzo Rodriguez
3d2a732cd3 Reverting testing changes pushed in past commit 2011-06-21 15:30:17 -04:30
Jose Lorenzo Rodriguez
a34358faa4 Fixing FormAuthenticateTest for Sqlsrv 2011-06-21 14:29:18 -04:30
Graham Weldon
f1108b2ef1 Fixed pagination for SqlServer 2011-06-21 11:38:09 -07:00
Jose Lorenzo Rodriguez
cdc81333e8 Adding support in SqlSrv for drop table if exists 2011-06-20 19:49:06 -04:30
Jose Lorenzo Rodriguez
cf49d51e75 Fixing the binary type for SqlSrv 2011-06-20 19:14:21 -04:30
Jose Lorenzo Rodriguez
9f85e24413 Adding float precision support to CakeSchema when using Sqlsrv 2011-06-20 18:43:26 -04:30
Florian Krmer
98e29b7246 Fixing the DatabaseSession to work with models that use a different primary key field than id. 2011-06-15 22:56:55 +02:00
Leonid Mamchenkov
8271970639 Fix for PHP notice (Fixes #1424) 2011-06-02 01:12:25 +03:00
Juan Basso
192812ee7f Updating the copyright to 2011. 2011-05-30 22:32:43 -04:00
ADmad
4c042ae133 Adding proper visibility keywords for class functions 2011-05-29 03:31:34 +05:30
Juan Basso
a744a74f1e Not changing to NULL strings. 2011-05-23 23:10:44 -04:00
Juan Basso
7bae41c461 Fixed the error check in queries and storing the right value to last affected in non-select queries. 2011-05-23 00:22:08 -04:00
Juan Basso
39320ef352 Renamed the Mssql driver to Sqlserver. 2011-05-22 23:19:13 -04:00
Juan Basso
e049e35b5d Catching the error in execute for SQL Server to have the same behavior from the others drivers. 2011-05-22 22:16:22 -04:00
Juan Basso
f0db55de6f Using dbo methods to manage the transaction. 2011-05-22 01:07:58 -04:00
Juan Basso
ad67f3e1bc SQL Server PDO support prepare only to SELECT statements, others commands need to use exec method. 2011-05-22 00:49:49 -04:00
Juan Basso
968fa1d5ef Included an option to configure the prepate statement. SQL Server requires the cursor option to return the affected rows. 2011-05-21 22:40:30 -04:00
Juan Basso
11d249e43b Updating PHPDoc and method visibility. 2011-05-21 22:18:57 -04:00
Juan Basso
375f86d2a6 Changed the default empty value when create columns. 2011-05-21 21:50:25 -04:00
Renan Gonçalves
c602fc845b Reverting the change to insertMulti, worked to solve the cache issue when trying to get the model schema. 2011-05-18 20:59:17 +02:00
Renan Gonçalves
37b9bd59bc 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.
2011-05-18 20:12:36 +02:00
Juan Basso
9dfc7d6593 Changed the field map to protected to run the tests. It is not requeried to be private. 2011-05-05 21:30:51 -04:00
Juan Basso
3231755d63 Fixed the tests for value. 2011-05-05 21:30:51 -04:00
Juan Basso
24bf56b44e Revert "Removed the value method from MSSQL. It is provided by DboDatasource now."
This reverts commit bf0fb8302385d384239939df2ea6bc6f1a8dbaa0.
2011-05-05 21:30:51 -04:00
Juan Basso
b91f6eb991 Fixed error in change. 2011-05-05 21:30:51 -04:00
Juan Basso
a7a86e42a3 Changes for fetch results. 2011-05-05 21:30:51 -04:00
Juan Basso
83b81ffd87 Removed more methods that is implemented by DboSource. 2011-05-05 21:30:51 -04:00
Juan Basso
f11b153d80 Removed the value method from MSSQL. It is provided by DboDatasource now. 2011-05-05 21:30:51 -04:00
Juan Basso
37d26f2923 Update the describe. 2011-05-05 21:30:51 -04:00
Juan Basso
3f984b68fa Update the listSources. 2011-05-05 21:30:51 -04:00
Juan Basso
244bc1369a Removed the execute method from MSSQL. It is provided by DboDatasource now. 2011-05-05 21:30:51 -04:00
Juan Basso
4e8b863910 Initial changes for init the connection with MSSQL. 2011-05-05 21:30:50 -04:00
Juan Basso
30fd9fff14 Changed the import files and Mssql class name to the new structure. 2011-05-05 21:30:50 -04:00
Jose Lorenzo Rodriguez
d83555cc52 Merge remote-tracking branch 'origin/1.3' into merger
Conflicts:
	cake/console/cake.php
	cake/dispatcher.php
	cake/libs/controller/components/auth.php
	cake/libs/controller/controller.php
	cake/libs/view/helpers/xml.php
	cake/libs/view/pages/home.ctp
	cake/libs/xml.php
	cake/tests/cases/console/cake.test.php
	cake/tests/cases/libs/controller/components/cookie.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
	cake/tests/cases/libs/model/datasources/dbo_source.test.php
	cake/tests/cases/libs/view/helpers/xml.test.php
	cake/tests/cases/libs/xml.test.php
	lib/Cake/Console/Command/SchemaShell.php
	lib/Cake/Controller/Component/CookieComponent.php
	lib/Cake/Network/Http/HttpSocket.php
	lib/Cake/TestSuite/Fixture/CakeTestFixture.php
	lib/Cake/VERSION.txt
	lib/Cake/View/Helper/FormHelper.php
	lib/Cake/View/Helper/TextHelper.php
	lib/Cake/View/Helper/TimeHelper.php
	lib/Cake/config/config.php
	lib/Cake/tests/Case/Cache/CacheTest.php
	lib/Cake/tests/Case/Model/CakeSchemaTest.php
	lib/Cake/tests/Case/TestSuite/CakeTestFixtureTest.php
2011-05-04 01:10:23 -04:30
Jose Lorenzo Rodriguez
8dc675335a Small refactoring, and adding some App::uses() to avoid problems 2011-04-21 17:56:03 -04:30
AD7six
32df3156a7 consolidate cake_error and cake_developer to simply "cake_dev"
it's a lot easier for adding new translations to think:
	is it for the end user?
		use 'cake' as the domain
	is it for the developer
		use 'cake_dev' as the domain
	is it for the console
		use 'cake_console' as the domain

also neatly avoids the "this message is an error, and it's in
cake_developer, why?" - question (because cake_error was intended for
anything which is used in trigger_error/exceptions, not a variable named
$error
2011-03-20 16:38:31 +01:00
AD7six
268c061a2e t
dividing language domains

cake - end user
cake_error - error messages
cake_developer - not an error, just for the developer
2011-03-19 18:16:12 +01:00
AD7six
38180e8951 translation changes in the model dir 2011-03-12 20:01:12 +01:00
Jose Lorenzo Rodriguez
ba694c45c9 Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading 2011-02-27 22:50:53 -04:30
José Lorenzo Rodríguez
6e4f4efb79 Merge remote branch 'origin/2.0' into 2.0-class-loading
Conflicts:
	cake/bootstrap.php
	lib/Cake/Console/Command/TestSuiteShell.php
	lib/Cake/Console/TaskCollection.php
	lib/Cake/Controller/ComponentCollection.php
	lib/Cake/Controller/Controller.php
	lib/Cake/Core/App.php
	lib/Cake/Model/BehaviorCollection.php
	lib/Cake/Network/CakeRequest.php
	lib/Cake/TestSuite/CakeTestSuiteDispatcher.php
	lib/Cake/TestSuite/CakeWebTestCase.php
	lib/Cake/TestSuite/TestManager.php
	lib/Cake/TestSuite/TestRunner.php
	lib/Cake/View/HelperCollection.php
	lib/Cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
	lib/Cake/tests/cases/libs/test_manager.test.php
2011-02-13 23:10:19 -04:30
José Lorenzo Rodríguez
d9c99b5ef6 Merge remote branch 'origin/2.0' into 2.0-class-loading
Conflicts:
	cake/tests/cases/libs/controller_test_case.test.php
	lib/Cake/Controller/ComponentCollection.php
	lib/Cake/Model/ConnectionManager.php
	lib/Cake/TestSuite/Fixture/CakeTestFixture.php
	lib/Cake/View/pages/home.ctp
2011-01-22 01:00:15 -04:30
José Lorenzo Rodríguez
1332561164 Merge remote branch 'origin/2.0' into 2.0-class-loading
Conflicts:
	cake/libs/view/helpers/js.php
	lib/Cake/Console/Command/Task/FixtureTask.php
2011-01-09 23:32:05 -04:30
José Lorenzo Rodríguez
e87dca62f1 Fixing postgres dbo source tests 2011-01-05 23:00:33 -04:30
José Lorenzo Rodríguez
e8a93aef93 Merge remote branch 'origin/2.0' into 2.0-class-loading
Temporarly commenting code on App class while the transition is made
Conflicts:
	lib/Cake/Core/App.php
2011-01-05 22:21:27 -04:30
José Lorenzo Rodríguez
4c0e06c451 Merge remote branch 'origin/2.0' into 2.0-class-loading
Conflicts:
	cake/bootstrap.php
	cake/libs/view/helpers/js.php
	lib/Cake/Model/AclNode.php
	lib/Cake/Model/ConnectionManager.php
	lib/Cake/bootstrap.php
	lib/Cake/tests/cases/libs/controller/controller.test.php
2011-01-02 02:00:03 -04:30