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 |
|
renan.saddam
|
8bbc0d7078
|
Added test case to prove #5096. Refs #5096
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7340 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-07-16 00:48:58 +00:00 |
|
mark_story
|
b2d74c8be1
|
Added tests to cover model validation setting errors, controller render passing error and form helper field error display. Closes #5077.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7338 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-07-15 02:13:14 +00:00 |
|
AD7six
|
a98cafcfbe
|
Adding test case for #5064
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7332 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-07-09 17:51:08 +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
|
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 |
|
mark_story
|
3da913f392
|
Updated String::insert() so that when using ? as parameter it offsets the length of the parameter. Added tests to model, and string. Closes #5035
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7307 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-07-03 02:19:19 +00:00 |
|
renan.saddam
|
88197569ad
|
Added test case to #5008. Quoting numeric value 0 (zero)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7302 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-30 13:44:16 +00:00 |
|
nate
|
99eb60e7b0
|
Adding test case for DboSource::conditions(), disproves #5008
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7297 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-28 01:08:52 +00:00 |
|
gwoo
|
c004dd68a5
|
removing empty lines from the end of test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7295 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-27 08:17:02 +00:00 |
|
gwoo
|
2bf3a0b08f
|
commented behavior.test for future cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7292 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-27 07:23:22 +00:00 |
|
gwoo
|
c78b02460f
|
updating mode.test to comply with last changes to deprecated methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7287 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-27 06:33:53 +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
|
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 |
|
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
|
383c11fc13
|
Adding test case for find('threaded');
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7269 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-26 17:28:12 +00:00 |
|
joelmoss
|
a34c3a85de
|
removing getTests method from model test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7267 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-26 17:09:02 +00:00 |
|
joelmoss
|
65281500b3
|
Added test to disprove #4992. Closes #4992.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7265 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-26 14:12:48 +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
|
3552ebea58
|
converting spaces to tabs in dbo_postgres.test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7256 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-24 04:12:39 +00:00 |
|
renan.saddam
|
64486027db
|
moving models to models.php
fixing translating issue
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7254 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-24 03:16:28 +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 |
|
DarkAngelBGE
|
8b9aa057dd
|
adding test for #4861
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7237 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-22 15:18:30 +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 |
|
mariano.iglesias
|
f7c447aa32
|
Adding test to containable, disproves and closes #4790
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7233 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-22 00:02:30 +00:00 |
|
mariano.iglesias
|
689c0d9762
|
Fixing matches from previous tests added to Containable
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7232 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-21 23:55:03 +00:00 |
|
mariano.iglesias
|
8d8fb99e37
|
Adding one more test case to Containable, refs #4872
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7231 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-21 23:54:00 +00:00 |
|
mariano.iglesias
|
9746c713fa
|
Adding test cases to Containable, disproves and closes #4872
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7230 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-21 23:52:38 +00:00 |
|
mariano.iglesias
|
64d49c8afc
|
Adding test cases to Containable, disproves and closes #4934
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7229 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-21 23:41:54 +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
|
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 |
|
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 |
|
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
|
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
|
2d3480a9ae
|
closes #4917, adding test cases to show that 0 is properly handled in conditions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7187 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-14 21:26:01 +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 |
|
gwoo
|
21072ae707
|
fixes #4889, or conditions and parentheses. Also removes unneeded parentheses which hopefully makes for cleaner looking query strings. Tests updated to match the new output.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7183 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-14 19:45:26 +00:00 |
|
DarkAngelBGE
|
70aa290f5b
|
fixing find('list') calls with a fields array that doesn't contain the model alias, closes #4851
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7158 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-10 17:27:12 +00:00 |
|
DarkAngelBGE
|
e221e9fb61
|
forcing the db layer to make an WHERE field IS NULL when find statements are called with empty arrays, closes #4845
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7155 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-10 16:17:44 +00:00 |
|
DarkAngelBGE
|
3c518c182f
|
fixing wrong NOT IS in dbo_source, closes #4844
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7154 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-10 15:45:54 +00:00 |
|
the_undefined
|
2f761ccba1
|
Set correct permissions for dbo_oracle.test.php, fixes #4843
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7144 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-09 07:31:00 +00:00 |
|
AD7six
|
a978fb2661
|
adding Doc blocks to everything in tests folder missed in the first pass.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7126 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-05 15:20:45 +00:00 |
|
gwoo
|
f7365640bf
|
updating dbo source test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7124 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-05 14:54:56 +00:00 |
|
gwoo
|
288db81884
|
fixes #4850
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7122 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2008-06-05 14:48:54 +00:00 |
|