mark_story
|
3c1ebafa0a
|
Modified dbo_mysql update() fixes issue with updateCounterCache on self join tables. updateCounterCache query optimized. Closes #4652, #5152
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7376 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-07-30 02:22:15 +00:00 |
|
mark_story
|
4267a4f631
|
Added patch from 'cavendish' releasing previous result resources in resultSet(). Closes #4801
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7374 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-07-29 23:29:26 +00:00 |
|
mark_story
|
96b5a6fa87
|
Added test to prove #5125. Added documentation to updateAll.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7373 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-07-29 01:18:57 +00:00 |
|
mark_story
|
ac45340a71
|
Optimization when checking for setTable prefix.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7370 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-07-27 15:55:49 +00:00 |
|
mark_story
|
9b857e9f36
|
Added camelCase check for setTablePrefix. setTablePrefix now fires on PHP5. Closes #5147
Updated test in model.test to reflect changes in empty string handling for float and integer types.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7368 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-07-27 04:19:54 +00:00 |
|
mark_story
|
8d2e4721e3
|
Added checks for empty string in integer columns. value() Now returns NULL. Closes #5141
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7366 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-07-27 02:49:02 +00:00 |
|
gwoo
|
caa7bb6218
|
updating cache engines so key will expire when duration is changed, updated datasource and configure to for new settings, closes #5083
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7364 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-07-26 20:00:20 +00:00 |
|
mark_story
|
d9bb166721
|
Added firebird transaction commands. Thanks to 'daniele.teti'. Closes #5130
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7351 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-07-22 23:22:17 +00:00 |
|
phishy
|
9cf8a77e88
|
added fetchResult() wrapper
fixed queryAssociation(), it was producing invalid queries
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7350 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-07-22 12:20:18 +00:00 |
|
mark_story
|
c286736f69
|
Added afterFind callback to Models where recursive >= 2. Added tests from 'ezyang'. Closes #5103
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7347 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-07-20 17:25:39 +00:00 |
|
phpnut
|
bdc3685e62
|
Fixes #5024, find('threaded') returns empty array if root node is not included in the results.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7321 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-07-05 14:10:42 +00:00 |
|
phpnut
|
1c2b1ef8eb
|
Fixes #5008, DBO Source fails on >= query fixes failing tests added in [7302]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7319 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-07-05 12:56:56 +00:00 |
|
phpnut
|
84069e372f
|
Fixes #5021, findAllThreaded does not work with tables that have set primaryKey to something other than 'id'
Removed am() from Model::_findThreaded();
Cleaned up error.php and dispatcher.test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7318 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-07-05 12:37:18 +00:00 |
|
phpnut
|
5131e1c3b3
|
Fixing undefined variable usage in Model::saveField();
Fixes #5053 Model:saveField $options bug;
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7316 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-07-05 11:02:09 +00:00 |
|
phpnut
|
558c93a46e
|
Correcting typo in package doc tag
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7293 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-27 07:23:27 +00:00 |
|
phpnut
|
022ffa3f4f
|
Adding fixes for pagination on associated models.
Corrected dot notation use in Controller::paginate();
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7286 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-27 06:25:08 +00:00 |
|
gwoo
|
7ad1790ea2
|
removing and moving deprecated code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7285 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-27 06:19:04 +00:00 |
|
nate
|
14e8c5fe7b
|
Correcting inconsistent return values in Model::saveAll(), updating bad tests, fixes #4981
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7283 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-27 06:07:00 +00:00 |
|
gwoo
|
0fc7355e6b
|
another small optimization from last fix
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7281 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-27 05:34:37 +00:00 |
|
gwoo
|
70276afa3b
|
fixes #3456, Use = instead of IN where possible
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7280 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-27 05:14:52 +00:00 |
|
gwoo
|
5e92674990
|
fixes #4995, call time pass by reference in dbo_mysql
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7275 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-26 23:07:42 +00:00 |
|
nate
|
376ee191cb
|
Commenting fix in DboMssql
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7274 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-26 21:13:10 +00:00 |
|
AD7six
|
d000c59ceb
|
Deprecating findNeighbours
adding find('neighbors')
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7272 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-26 19:42:07 +00:00 |
|
AD7six
|
2ce0f1f3cf
|
deprecating findAllThreaded
removing __doThread
adding find('threaded')
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7271 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-26 19:33:44 +00:00 |
|
gwoo
|
e70f45e1d6
|
fixes #4987, unable to delete by adding version compare and setting useAlias in DboMysql
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7268 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-26 17:24:16 +00:00 |
|
nate
|
f52706ea9a
|
Fixing transaction statement and Italian-language error checking in MSSQL database driver, fixes #4074, fixes #4890
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7266 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-26 14:45:32 +00:00 |
|
phishy
|
c60b232ab4
|
fixed quoting bug in name()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7259 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-24 21:11:23 +00:00 |
|
gwoo
|
f2fd386217
|
fixes #4892 different users on oracle, fixes #4894 escaping field
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7258 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-24 20:30:51 +00:00 |
|
nate
|
3ce765358d
|
Fixing boolean handling in DboPostgres, closes #4878
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7257 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-24 04:55:59 +00:00 |
|
gwoo
|
91d86b91a4
|
fixes #4832, lastinsert in postgres. test added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7247 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-23 15:59:27 +00:00 |
|
mariano.iglesias
|
6eb4aba543
|
Changing test for Containable to reflect #4790
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7246 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-23 06:33:31 +00:00 |
|
gwoo
|
ca38b035b5
|
fixes #4790, restoring associations in Containable. Thanks to maular for the patch
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7245 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-23 04:41:15 +00:00 |
|
gwoo
|
1ff02bde7a
|
fixes #4861, find all recursive 2 with habtm
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7238 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-22 17:34:05 +00:00 |
|
the_undefined
|
95522fa3a9
|
Applied patch by floob, fixes #4876
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7234 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-22 12:27:54 +00:00 |
|
nate
|
ebe635a827
|
Correcting syntax error in DboAdodb, fixes #4965
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7226 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-21 13:03:25 +00:00 |
|
nate
|
7b6ee7386b
|
Correcting issue where TranslateBehavior hijacks find() calls from Model::exists(), fixes #4765
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7225 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-21 02:33:04 +00:00 |
|
nate
|
df75a06756
|
Fixing coding standards violations in core, and adding misc tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7222 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-20 20:17:23 +00:00 |
|
gwoo
|
c75cad26d5
|
updating model test for new find syntax
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7217 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-19 17:06:50 +00:00 |
|
gwoo
|
a0c4d2783a
|
removing redundant $not from previous commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7216 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-19 16:15:49 +00:00 |
|
gwoo
|
7d06612b35
|
closes #4935, NOT usage requires ()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7215 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-19 16:12:57 +00:00 |
|
gwoo
|
ce4cbba4f5
|
fixes #4944, documentation of setDataSource
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7210 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-18 17:46:56 +00:00 |
|
gwoo
|
2b699435f0
|
initial commit for dbo hasResult. should lead to further refactoring
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7209 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-18 17:28:17 +00:00 |
|
gwoo
|
193959ebf3
|
closes #3901 unnecessary setting of path in App::__settings, closes #4115 DboSource::fetchAll() does not need resultSet for every row
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7205 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-17 15:43:08 +00:00 |
|
phpnut
|
886183fcd4
|
Closes #4202
Adding patches
Added fixture files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7198 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-16 03:11:32 +00:00 |
|
gwoo
|
eb67aa879e
|
fixes #4841, TreeBehavior ambiguous columns
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7196 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-15 17:51:25 +00:00 |
|
AD7six
|
9d87ce5a06
|
minor syntax correction, changing a string condition to be an array for consistency
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7195 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-15 13:08:36 +00:00 |
|
DarkAngelBGE
|
a83d373f51
|
allowing the passing group statements to Model::find() in array notation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7192 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-15 09:08:50 +00:00 |
|
gwoo
|
4e36492440
|
fixes #4919, updating model to use $this->__exists throughout
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7191 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-15 02:58:23 +00:00 |
|
gwoo
|
552af82e7b
|
closes #4857, data validation in translate behavior, if field in model data is passed as an array. Either the data with current mode local or the first value in the array of data is used for validation purposes.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7190 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-14 23:21:09 +00:00 |
|
gwoo
|
e57a7cc88c
|
fixes #4888, closes #4864 Model::set when saving multi dimensional arrays, tests added from patch, thanks renan
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7184 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-14 20:39:27 +00:00 |
|