mark_story
|
af4b0c9c1b
|
Make DboSource::lastError() fallback to the connection.
If there is no argument the connection error should be checked
for an error.
Add a test for most of lastError(). Mocking PDO is a pain.
Fixes #2046
|
2011-09-30 21:56:39 -04:00 |
|
mark_story
|
a3f25ee5e3
|
Fixing issue with integer columns and NULL values.
Fixes #2037
|
2011-09-29 20:28:52 -04:00 |
|
Jose Lorenzo Rodriguez
|
fbdb058441
|
Converting regular expression assertions to simple string contains, those perform faster and consume less memory
|
2011-09-29 00:05:15 -04:30 |
|
Jose Lorenzo Rodriguez
|
7b3ceb5a29
|
Fixing a few failing test cases and attempting to work around php segmentation fault when running the complete test suite
|
2011-09-28 22:57:50 -04:30 |
|
ADmad
|
33030a4502
|
Fixing my previous attempt in ef4826e to make Model::_findCount() behave nicely with 'group' option. Refs #1677, #573
|
2011-09-28 02:58:48 +05:30 |
|
mark_story
|
7e44836837
|
Fixing failing test.
|
2011-09-26 21:46:25 -04:00 |
|
Yosuke Basuke Suzuki
|
5612d411f3
|
Added unittest for saveAll() validation with the data no id assigned.
|
2011-09-23 22:23:26 +09:00 |
|
mark_story
|
8d43764801
|
Fix issue with duplicate associations when using string form.
Fixes #2002
|
2011-09-18 12:26:59 -04:00 |
|
mark_story
|
6a4e7558fc
|
Merge branch '1.3' into merger
Conflicts:
cake/basics.php
cake/console/libs/tasks/extract.php
cake/libs/view/helpers/js.php
cake/tests/cases/console/libs/tasks/extract.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/test_app/views/pages/extract.ctp
lib/Cake/Cache/Engine/MemcacheEngine.php
lib/Cake/Model/Behavior/ContainableBehavior.php
lib/Cake/Model/Datasource/Database/Mysql.php
lib/Cake/Model/Datasource/DboSource.php
lib/Cake/Model/Model.php
lib/Cake/Test/Case/Model/Behavior/ContainableBehaviorTest.php
lib/Cake/Test/Case/Model/CakeSchemaTest.php
lib/Cake/Test/Case/Model/Datasource/Database/PostgresTest.php
lib/Cake/Test/Case/View/Helper/FormHelperTest.php
lib/Cake/Test/Case/View/Helper/TimeHelperTest.php
|
2011-09-18 12:09:04 -04:00 |
|
mark_story
|
09e7f1d491
|
Splitting apart the Scaffold and ScaffoldView tests.
Fixes #1985
|
2011-09-16 22:08:19 -04:00 |
|
Renan Gonçalves
|
4378bb6dc4
|
Fixed bug in CakeSchema where it determines the field position.
- Respective tests were added.
- Schema files will now have 'after' => 'previous_field' on it.
|
2011-09-16 15:28:28 +02:00 |
|
Jelle Henkens
|
7ba2f90b2a
|
Refactoring expectError() calls to PHPUnit annotations
|
2011-09-13 19:56:37 +01:00 |
|
mark_story
|
d74f442608
|
Making test case class names match file names.
Refs #1985
|
2011-09-12 23:01:04 -04:00 |
|
ADmad
|
97a975c6c4
|
Refactoring Model::invalidFields() a bit.
|
2011-09-12 05:10:34 +05:30 |
|
mark_story
|
39c270fd84
|
Attempting to fix build failure in Jenkins.
|
2011-09-05 21:53:29 -04:00 |
|
Jose Lorenzo Rodriguez
|
12c73806f4
|
Skipping tests on Sqlite that involve creating a duplicate connection/ It is not possible to open multiple connections to it
|
2011-09-03 21:07:40 -04:30 |
|
Jose Lorenzo Rodriguez
|
149deba416
|
Fixing Mysql test case after making the DboSource throw exceptions
|
2011-09-03 19:12:06 -04:30 |
|
Jose Lorenzo Rodriguez
|
74ba030e7c
|
More postgres tests passing again
|
2011-09-03 18:34:11 -04:30 |
|
Jose Lorenzo Rodriguez
|
61ff8d6154
|
Making DboSource tests more portable
|
2011-09-03 18:07:26 -04:30 |
|
Jose Lorenzo Rodriguez
|
d06d5f8738
|
Not checking length on databases that won't return it for floats
|
2011-09-03 17:21:48 -04:30 |
|
Jose Lorenzo Rodriguez
|
fcf58371fd
|
Fixing a failing postgres test
|
2011-09-03 17:09:41 -04:30 |
|
Jose Lorenzo Rodriguez
|
7003edeb8f
|
Adding missing expectedException annotations
|
2011-09-03 17:05:09 -04:30 |
|
Jose Lorenzo Rodriguez
|
0ca8af2c22
|
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
|
2011-09-03 17:01:49 -04:30 |
|
Jose Lorenzo Rodriguez
|
f0ef0aab62
|
Making postgres tests pass
|
2011-09-03 17:00:16 -04:30 |
|
mark_story
|
2c21fc90fb
|
Fixing failing tests and issues with Sqlite.
|
2011-09-03 22:07:45 +01:00 |
|
Jose Lorenzo Rodriguez
|
49b8b24ac2
|
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
|
2011-09-03 13:09:04 -04:30 |
|
mark_story
|
2ceea79862
|
Fixing errors and failing tests with SQLite.
Seems that MySQL is extremely permissive with NOT NULL fields.
SQLite is more strict it seems.
|
2011-09-03 18:37:29 +01:00 |
|
Jose Lorenzo Rodriguez
|
36470f4a86
|
Removing $error property from DboSource, errors in queries will throw exceptions now
|
2011-09-03 12:17:00 -04:30 |
|
Jose Lorenzo Rodriguez
|
89b1e54071
|
Removing Oracle driver, it will not make it to stable release. Revert this commit to bring it back for next version
|
2011-09-03 06:50:19 -04:30 |
|
mark_story
|
85d9b1af8d
|
Fixing failing tests caused by path/object cache issues.
|
2011-09-03 01:14:51 +01:00 |
|
Juan Basso
|
e9390985ca
|
Changed mergeAssociation scrubQueryData to be protected.
|
2011-08-21 21:27:35 -04:00 |
|
Juan Basso
|
a1a049c700
|
Merge remote-tracking branch 'origin/2.0' into 2.0-api-doc
Conflicts:
lib/Cake/Model/Model.php
lib/Cake/View/Helper/CacheHelper.php
|
2011-08-20 01:47:27 -04:00 |
|
ADmad
|
c3884f407f
|
Implemented feature to allow multiple counter caches per associated model.
|
2011-08-17 18:10:32 +05:30 |
|
Juan Basso
|
620a65b2fc
|
Merge branch '2.0' into 2.0-api-doc
Conflicts:
lib/Cake/Test/Case/View/Helper/CacheHelperTest.php
lib/Cake/Utility/Debugger.php
|
2011-08-14 21:12:05 -04:00 |
|
ADmad
|
ef4826eb70
|
Making Model::find('count') behave nicely when 'group' key is specified in options. Closes #1677
|
2011-08-14 07:37:23 +05:30 |
|
ADmad
|
7983b4109b
|
Data returned by Model::save() not contains primary key too when new record is created. Closes #1869
|
2011-08-14 02:56:08 +05:30 |
|
Jose Lorenzo Rodriguez
|
1726bad396
|
Adding ability to Set class to iterate on ArrayObjects, or any object implementing ArrayAccess and Traversable
|
2011-08-11 13:26:06 -04:30 |
|
ADmad
|
9577fb0ca2
|
Fixed TreeBehavior::childCount(). Closes #1833
|
2011-07-31 12:39:52 +05:30 |
|
ADmad
|
b15c77ecc3
|
Enhancing validation messages to have placeholders. Closes #1855
|
2011-07-31 06:33:56 +05:30 |
|
Juan Basso
|
9bc3e567c1
|
Removed the @access and @static.
|
2011-07-30 20:56:48 -04:00 |
|
Jose Lorenzo Rodriguez
|
cfd2d9e00b
|
Updating all @package annotations in doc blocks
|
2011-07-26 01:46:14 -04:30 |
|
Ceeram
|
b8daa99cac
|
Splitting saveAll into separate save and validation methods for many rows and associated rows. Closes ticket #1157
|
2011-07-25 09:39:03 +02:00 |
|
Jose Lorenzo Rodriguez
|
50d4330487
|
Ensuring uniqueness of method cache keys, all tests passing now
|
2011-07-17 23:45:22 -04:30 |
|
Jose Lorenzo Rodriguez
|
08be8300ee
|
Merge branch '2.0' into 2.0-dbo-performance
|
2011-07-17 23:22:58 -04:30 |
|
Jose Lorenzo Rodriguez
|
222df2c315
|
Removing unneeded assert that fails when run in the all test suite
|
2011-07-17 23:12:51 -04:30 |
|
Jose Lorenzo Rodriguez
|
b603232aee
|
Removing redundant call to DboSource::fields(), the fields come already quoted from DboSource::read()
|
2011-07-17 17:42:47 -04:30 |
|
José Lorenzo Rodríguez
|
7596fcf45a
|
Merge pull request #153 from ajibarra/e4c1f28d849c6a60c369265a502315260babe80b
Preventing AppModel to be inspected inside CakeSchema
|
2011-07-15 14:48:01 -07:00 |
|
José Lorenzo Rodríguez
|
57a8c108a6
|
Merge pull request #147 from burzum/feature/2.0-return-query
Feature/2.0 return query
|
2011-07-15 14:10:08 -07:00 |
|
Alejandro Ibarra
|
e4c1f28d84
|
Included validation to skip AppModel on CakeSchema->readSchema because it tries to find 'app_models' table. Added testSchemaReadWithAppModel test
|
2011-07-15 15:18:38 -04:30 |
|
Florian Krmer
|
adb943b7fd
|
Refactoring the code to build the query array as suggested here https://github.com/cakephp/cakephp/pull/147#issuecomment-1553663
|
2011-07-12 23:31:07 +02:00 |
|