Commit graph

1704 commits

Author SHA1 Message Date
mark_story
3ea8c2246a Merge branch '1.3' into merger
Conflicts:
	cake/console/cake.php
	cake/dispatcher.php
	cake/libs/controller/components/cookie.php
	cake/libs/view/helper.php
	cake/libs/view/helpers/ajax.php
	cake/tests/cases/dispatcher.test.php
	cake/tests/cases/libs/model/model_validation.test.php
	cake/tests/cases/libs/view/helpers/ajax.test.php
	cake/tests/lib/cake_test_fixture.php
2011-03-01 22:21:44 -05:00
Ceeram
e9011badb5 Ensure both node() and afterSave() use ->name
Fixes #1564
2011-02-28 21:43:33 -05:00
Juan Basso
0e30042f82 Removed the ReflectionClass when filtering results. The Reflection just help in big data. 2011-02-26 18:24:05 -03:00
Juan Basso
d7991aac23 Optimizations related with hasMany and HABTM assoc. 2011-02-26 17:43:46 -03:00
Juan Basso
f9b5d419cd Fixed wrong attribute name. 2011-02-26 14:06:50 -03:00
Juan Basso
ef9dfe7f26 Some optimizations in queryAssociation. 2011-02-26 14:03:17 -03:00
Juan Basso
cbe8d9ca76 Removed unused var. 2011-02-26 13:45:06 -03:00
Juan Basso
731cc7bb0c Reverted the change to quote the table name. 2011-02-26 12:39:33 -03:00
Juan Basso
63d700a9d6 Refactored the filterResults again. Now this method not call the callback afterFind when model is Model. 2011-02-26 05:23:59 -03:00
Juan Basso
34b4ff9204 More changes in read. 2011-02-26 04:31:13 -03:00
Juan Basso
ef6632a5ed Optimizations in generateAssociationQuery and fullTableName. 2011-02-26 04:17:42 -03:00
Juan Basso
164c2a59f3 Optimizating scrubQueryData. 2011-02-25 23:43:15 -03:00
Juan Basso
7fc3eead9c Fixed error in update statement. 2011-02-25 22:14:52 -03:00
Juan Basso
7efe15393d Fixed error caused by code optimizations. 2011-02-25 21:11:25 -03:00
Juan Basso
8c7b0f48d8 Checking if has item before fetch virtual fields, avoiding call a function with result (can be large). It save a good time. 2011-02-25 19:55:34 -03:00
Juan Basso
d095f5fe8d Optimizations in filterResults. 2011-02-25 19:15:40 -03:00
Juan Basso
fea2b5798c Minor optimizations in DboMysql. 2011-02-25 17:22:15 -03:00
Juan Basso
73b3b65a53 Changed to filterResults be protected instead of private. 2011-02-25 13:26:14 -03:00
Juan Basso
728d9b2a26 Removed the unused var. 2011-02-25 13:05:08 -03:00
Juan Basso
9baeaf8338 Some code optimizations. 2011-02-25 13:01:32 -03:00
Juan Basso
765c094cf1 Extra protection. 2011-02-25 12:54:58 -03:00
Juan Basso
a091302c92 Removed the isInterfaceSupported method. It not make sense in PHP5. 2011-02-25 12:54:57 -03:00
Juan Basso
05fc10e717 Removed the Datasource::sources method that is used to PHP4. Changed the isInterfaceSupported to be case sensitive (PHP4 restriction). 2011-02-25 12:54:55 -03:00
Juan Basso
6f5be8ff95 Minor changes. 2011-02-25 12:54:53 -03:00
Juan Basso
7f58d2628f Removing return from constructor. 2011-02-25 12:54:51 -03:00
Juan Basso
9e8fc96bf8 Trimming whitespaces. 2011-02-25 12:54:50 -03:00
Juan Basso
5ab5197090 Less one var. 2011-02-25 12:54:48 -03:00
Juan Basso
6e14fa8949 Moving attributes from Datasource to DboDataSource. 2011-02-25 12:54:46 -03:00
Juan Basso
f15544018f Minor optimizations in find. 2011-02-25 12:54:44 -03:00
Juan Basso
5bfa0867ef Removed the support to notation of 1.2. 2011-02-25 12:54:43 -03:00
Juan Basso
31679c3efa Changed the scope of methods in Model. 2011-02-25 12:54:41 -03:00
José Lorenzo Rodríguez
19bcec599b Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
Conflicts:
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
2011-02-24 01:38:11 -04:30
José Lorenzo Rodríguez
69b70249da Fixing more issues with database prefixes 2011-02-24 01:31:03 -04:30
mark_story
98df3e331f Fixing DboMysql not quoting database names in listSources.
Updated tests.
Fixes #1552
2011-02-23 11:36:41 -05:00
José Lorenzo Rodríguez
00f3aaf615 Fixing some issues in ACL related classes when using database prefixes 2011-02-23 01:22:23 -04:30
José Lorenzo Rodríguez
8f62d01701 Fixing lazy loading of database conenction when using prefixes and performing delete operations 2011-02-23 00:51:48 -04:30
José Lorenzo Rodríguez
fc060b5e9c Starting to lazy load database conenctions again, model read tests fixed 2011-02-23 00:43:56 -04:30
José Lorenzo Rodríguez
a79877d11a Revert "Making Model::setSource() eager again to fix issues where joined models"
This reverts commit d20f68c44e.
2011-02-22 23:49:02 -04:30
mark_story
d20f68c44e Making Model::setSource() eager again to fix issues where joined models
would not have the table prefixes correctly configured.  Fixes #1507
2011-02-13 18:42:04 -05:00
mark_story
08509cc6d3 Fixing issue where static variable would be shared inconsistently across multiple instances. Fixes #1504 2011-02-11 22:39:09 -05:00
mark_story
26c5f78a14 Fixing notice error caused when looking for info on tables that don't exist. 2011-02-11 22:37:56 -05:00
mark_story
11d20f80d0 Fixing failing tests imported with the merge. 2011-02-05 15:24:53 -05:00
mark_story
e149c411fb Merge branch '1.3' into merger
Conflicts:
	cake/VERSION.txt
	cake/config/config.php
	cake/console/shells/tasks/template.php
	cake/dispatcher.php
	cake/libs/controller/component.php
	cake/libs/controller/components/email.php
	cake/libs/controller/scaffold.php
	cake/libs/model/datasources/dbo/dbo_mysqli.php
	cake/libs/view/helpers/cache.php
	cake/libs/view/pages/home.ctp
	cake/tests/cases/dispatcher.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
	cake/tests/fixtures/datatype_fixture.php
2011-02-05 12:20:09 -05:00
mark_story
8d5e68d582 Fixing issue where habtm tables would not have the connection prefix removed when generating schema. Fixes #1180 2011-02-05 11:19:05 -05:00
mark_story
304f12d0ed Removing a pointless import in CakeRequest.
Moving inclusion of ObjectCollection to bootstrap.  This avoids repetitive calls to import()
2011-02-05 01:28:41 -05:00
mark_story
5b8499c8c7 Adding $name back in as it causes numerous notice errors in fixtures when it is missing. 2011-01-29 20:54:15 -05:00
ADmad
88d5db76fd Removed overriding of recursive to 0 in Model::_findNeighbors() if 'recusive' option is not specified in find options. Closes #860 2011-01-30 04:13:01 +05:30
Maggion Emmanuel
01801a7777 Reducing code related to CakeSchema. Fixes #1477 2011-01-29 17:26:08 -05:00
mark_story
71d8e744f1 Fixing case-sensitivity of AS in fields. Tests added. Fixes #1474 2011-01-26 20:58:16 -05:00
mark_story
d192ed32f0 Adding a socket key to DboMysqli::$baseConfig. Fixes notice errors when socket is undefined. Fixes #1482 2011-01-26 20:54:14 -05:00