mark_story
|
93d64c4e76
|
Removing use of e() from core classes. Refs #6525
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8250 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-07-23 13:35:14 +00:00 |
|
nate
|
a75d1fad2a
|
Modifying quoting method used in conditions with array values in DboSource, fixes #6519
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8243 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-07-22 01:50:11 +00:00 |
|
DarkAngelBGE
|
fefbe77208
|
Minor refactorings for DboMysql, DboSource and TextHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8241 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-07-21 20:57:39 +00:00 |
|
mark_story
|
fb6b16c467
|
Fixing empty time value handling in Model::deconstruct(). Both null and 00:00:00 are valid values now. Test cases added and refactored. Fixes #6488, #6018, Refs #5659
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8225 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-07-08 03:25:30 +00:00 |
|
gwoo
|
f2b7a26be8
|
fixes #5710, HABTM - constraining unique ids, but removing non-unique
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8217 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-07-03 03:31:05 +00:00 |
|
mark_story
|
45a51ed809
|
Changing return of Model::deleteAll(). When no records are matched by the delete conditions return is now (bool)true as no records matching those conditions exist.
Test case added.
Fixes #6453
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8216 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-07-03 00:26:58 +00:00 |
|
gwoo
|
92b8e87ed7
|
fix for cross database joins when recursive < 1
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8212 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-07-02 23:14:38 +00:00 |
|
mark_story
|
6a34c9ef31
|
Fixing Model::saveAll() PHP4 compatibility. Minor API change in __save(). __save() no longer takes a model instance as the first parameter. Because of Model implementation details in PHP4 this caused broken references. Fixes #6389, #6223
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8204 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-06-27 15:25:07 +00:00 |
|
gwoo
|
88e0cfa2f8
|
fixes #6427, default datasource not loaded when ds is specified
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8197 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-06-16 21:35:21 +00:00 |
|
DarkAngelBGE
|
d9489b942b
|
Removing duplicate START TRANSACTION sql execution in mysqli environment, fixes #6422
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8191 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-06-06 15:41:33 +00:00 |
|
mark_story
|
2c1b7fc24e
|
Adding nullish value handling for date, datetime, and timestamp column types to DboPostgres. Empty string values now return instead of "". Fixes #6386
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8190 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-06-05 02:43:08 +00:00 |
|
jperras
|
d2b4995e43
|
Updating Model::deconstruct to handle db expressions correctly. Fixes #6372; thanks to mattcurry for the patch.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8185 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-06-02 03:23:15 +00:00 |
|
mark_story
|
a9bbae31ee
|
Fixing primary key column length in DboSqlite. UUID primary keys now return defined length.
Test cases added for describe()
Fixes #6412
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8184 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-06-02 03:03:51 +00:00 |
|
mark_story
|
f498ba0a87
|
Adding german error string to dbo_mssql::lastError() Fixes #6352
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8180 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-05-29 02:59:30 +00:00 |
|
mark_story
|
f0752feeec
|
Adding patch from 'burzum'. Fixes ambiguous field sql error when joining two trees with a defined scope.
Test cases and fixtures added.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8178 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-05-26 17:17:57 +00:00 |
|
mark_story
|
41f32d8cee
|
Updating doc block for Model::beforeDelete(). Fixes #6219
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8174 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-05-22 01:20:47 +00:00 |
|
nate
|
8369a8f2d8
|
Sanitizing path in Dispatcher::baseUrl(), fixes #6336, misc. whitespace fixes.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8165 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-05-04 20:36:22 +00:00 |
|
renan.saddam
|
975ddaa4be
|
Fixes #6135: Primary Key detection and load record fixtures on mssql. Tests added.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8161 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-04-29 16:26:03 +00:00 |
|
jperras
|
8bb11e49d7
|
Fixing counterCache behavior when updating an existing record's counterScope value. Thanks for the patch, mattcurry. Fixes #6270.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8155 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-04-25 01:17:21 +00:00 |
|
gwoo
|
9ab6339392
|
fixes #6240, DboOracle: fix cache sources and php version compatibility
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8154 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-04-25 01:06:46 +00:00 |
|
gwoo
|
fd0c39fcc6
|
fixes #6293, Deleting non-existing record causes save() to fail. Thanks to msadouni for the patch and test!
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8150 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-04-22 16:47:34 +00:00 |
|
gwoo
|
0cc3d5149f
|
fixes #6277, relaxing character length comparison for UUID
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8149 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-04-22 16:05:13 +00:00 |
|
jperras
|
066629d566
|
Removing hard-coded 'id' field from Model::_prepareUpdateFields. Fixes #6274.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8139 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-04-13 14:15:58 +00:00 |
|
renan.saddam
|
76e0f17dbc
|
Updating documentation to improve code completion
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8114 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-03-17 21:10:28 +00:00 |
|
gwoo
|
de5907326e
|
fixes #6203, Model::invalidFields respecting Model::whitelist
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8113 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-03-17 18:19:12 +00:00 |
|
jperras
|
beb6aeec0c
|
Fixing incorrect doc blocks for connection_manager.php. Thanks to ADmad for noticing the inconsistency.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8106 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-03-15 23:01:21 +00:00 |
|
nate
|
80d4dfa306
|
Cleaning up previous commit.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8088 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-03-11 00:22:28 +00:00 |
|
nate
|
4466c9f7b7
|
Reverting changes to Behavior so that all models use the same behavior instance, fixes #6038, refs #4408.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8087 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-03-11 00:06:41 +00:00 |
|
nate
|
cb95f13608
|
Correcting issue in String::insert() where 0 offsets were handled incorrectly, affecting issue where values were not properly quoted and inserted into conditions strings. Fixes #6163.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8085 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-03-09 20:03:02 +00:00 |
|
nate
|
eea46e7cc8
|
Fixing issue where calculated columns were getting quoted incorrectly. Test included. Reformatting code to be 100 characters or less.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8084 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-03-09 18:36:32 +00:00 |
|
mark_story
|
1497fddf80
|
Applying patch from 'rafaelbandeira3' fixing formatting of generated code to better follow cake coding standards. Fixes #5754
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8082 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-03-08 18:05:18 +00:00 |
|
mark_story
|
965b8e9641
|
Updating doc blocks on tree behavior.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8081 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-03-08 17:12:30 +00:00 |
|
mark_story
|
62ea98bdb2
|
Fixing minor typo in model.php. Closes #6176
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8080 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-03-08 16:20:11 +00:00 |
|
mark_story
|
ffc537aaa8
|
Minor optimization. Removing additional variable assignment.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8077 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-03-06 03:54:52 +00:00 |
|
gwoo
|
7dc627dd19
|
refs #4119, another check for binary uuid
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8074 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-03-04 01:36:53 +00:00 |
|
gwoo
|
088815834e
|
fixes #4119, refs #6151 binary uuid
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8070 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-03-03 16:33:17 +00:00 |
|
mark_story
|
2a139b171c
|
Applying patch from 'farhadi' correcting regular expression when using magic findBy and fields that contain findBy in them. Fixes #6138
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8057 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-02-25 03:22:31 +00:00 |
|
renan.saddam
|
52f4cd42db
|
Fixing issue when Model::$translateTable is set
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8050 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-02-19 13:45:51 +00:00 |
|
mark_story
|
ce4fa20f3f
|
Fixing escaping of fields in hasAny() also adding in correct model aliases.
Tests added.
Fixes #6089
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8032 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-02-15 21:05:42 +00:00 |
|
mark_story
|
b1b67c811c
|
Applying patch from 'ralph.marchildon' Fixes saving habtm data using 'with' data. Fixes #6077
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8021 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-02-11 03:53:04 +00:00 |
|
mark_story
|
d3ee6b31f1
|
Added conditional check for compatibility with MySQL 4.x result sets to DboMySqlBase::index(). Tests added. Thanks to 'teknoid' for the help. Closes #4503
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8020 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-02-08 23:09:08 +00:00 |
|
mark_story
|
4b00c29eef
|
Updating doc blocks to improve readability in API.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8015 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-02-04 05:00:59 +00:00 |
|
mark_story
|
1895f1c3be
|
Fixing saveAll() when used in conjunction with belongsTo data and validate => first. Tests added.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8010 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-01-25 23:48:28 +00:00 |
|
nate
|
d75b063dca
|
Correcting quoted-alias replacement in DboSource, adding (and mocking) MS SQL test, fixes #5942
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8003 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-01-16 19:08:44 +00:00 |
|
nate
|
76fba20721
|
Adding sanity checking to setup() callback for behaviors.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8002 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-01-16 17:49:41 +00:00 |
|
mark_story
|
1111829e99
|
Fixing issue in __saveMulti() where unique was not always honoured. Thanks for the patch 'Jafinto'. Tests added. Closes #6006
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8001 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-01-16 04:09:44 +00:00 |
|
AD7six
|
b9ea171429
|
fixes #6003 tree behavior fails with uuids
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7997 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-01-15 00:50:01 +00:00 |
|
AD7six
|
704188e2b9
|
correcting shorthand if else statement
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7996 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-01-15 00:01:19 +00:00 |
|
AD7six
|
56afb72825
|
changing $model for $Model to follow conventions ($Model is an object)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7994 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-01-14 23:21:53 +00:00 |
|
AD7six
|
eec4d15898
|
fixes #5971 - Error generated by behavior if invoking overloaded method from within the behavior
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7993 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-01-14 23:19:59 +00:00 |
|