Commit graph

1546 commits

Author SHA1 Message Date
mariano.iglesias
3f3f86d62a Adding more tests for Set::extract()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4899 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 01:44:03 +00:00
mariano.iglesias
1a693ccc53 Fixing test for #2488
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4898 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 01:31:50 +00:00
mariano.iglesias
0bd1a41329 Adding test for #2488
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4897 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 00:56:21 +00:00
phpnut
dbf0181e26 Adding enhancement from #2502 replacing app with APP_DIR
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4896 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 00:19:29 +00:00
phpnut
c91965dc89 Adding fix for #2371, fixes HtmlHelper submit() method doesn't allow HTML entities in caption
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4895 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-28 23:52:19 +00:00
dho
efd8df1771 Applying fix from ticket #2485, adding test for it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4894 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-28 09:20:35 +00:00
dho
da0dacb013 Applying patch from ticket #2496, adding test for it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4893 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-28 08:57:34 +00:00
mariano.iglesias
5692e7f344 Adding test for #2494
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4892 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-28 07:48:31 +00:00
mariano.iglesias
abb287180d Adding tests for #2371
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4891 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-28 07:42:54 +00:00
phpnut
9b8f81cc82 Removing $fieldset = null; in FormHelper::inputs()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4890 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-27 20:19:27 +00:00
phpnut
30498981a7 Adding fix for #2473
Fixed undefined variable notice in Form::inputs()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4889 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-27 20:16:38 +00:00
mariano.iglesias
99b0ee21a8 Fixing tests so they expect validation errors of all available models to be defined in Form helper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4888 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-27 07:44:47 +00:00
phpnut
1d64691014 Adding fixes from phishy.
Added fixed for #2492

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4887 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-27 06:43:40 +00:00
mariano.iglesias
45625d65a9 Fixing conflict of class names between tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4885 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-26 12:02:51 +00:00
mariano.iglesias
6d058861e7 Removing unneeded lines
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4884 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-26 11:54:36 +00:00
mariano.iglesias
52f0548782 Adding test for inner model validation, including a two level test that fails
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4883 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-26 11:52:56 +00:00
dho
8a579c6585 Updating db_acl.sql in templates folder
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4882 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-26 09:18:35 +00:00
dho
c529d363a8 Adding patch and test for ticket #2369
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4881 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-25 07:28:20 +00:00
phpnut
0d69e3a085 Adding initial implementation of I18n database translation support
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4880 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-25 00:24:19 +00:00
phpnut
575dafe60a Fixing error when using AuthComponent and DEBUG < 1
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4879 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-24 00:26:10 +00:00
dho
35c7807cc3 Case-insensitive matching when using array of phrases in TextHelper::highlight
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4878 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-21 16:55:09 +00:00
nate
bb8c52dac0 Fixing display of core error messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4877 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-18 16:39:11 +00:00
mariano.iglesias
4b7e496446 Changed name from requestAction() to testAction()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4876 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-18 00:34:38 +00:00
mariano.iglesias
c290e10dd3 Fixing small issues
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4875 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-18 00:27:56 +00:00
mariano.iglesias
11d588ff15 Added ability to auto-fixturize models when testing controllers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4874 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 21:20:38 +00:00
mariano.iglesias
29cadf7460 Using reference to controller
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4873 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 09:11:58 +00:00
mariano.iglesias
79e9050136 Added option to get the view vars after running action
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4872 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 09:09:44 +00:00
mariano.iglesias
047b331c5b Improved code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4871 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 08:45:06 +00:00
mariano.iglesias
88da8d5b44 Fixed issue in CakeTestCase::requestAction() when wanting to get resulting HTML
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4870 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 08:41:52 +00:00
nate
3ba273b16d Adding URL fragment (hash) support in Router::url() (Ticket #2432)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4869 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 07:51:01 +00:00
nate
11c5e916b8 Adding undefined variable fix for PaginatorHelper::sortDir() (Ticket #2440)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4868 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 07:03:20 +00:00
nate
e5b0f2e3fa Moving Router::__filter() to Set::filter()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4867 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 07:00:26 +00:00
dho
9a865176aa Removing invalid character
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4866 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 06:48:16 +00:00
nate
5461eec22d Adding fix for <> condition in DboSource (Ticket #2101)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4865 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 05:17:06 +00:00
mariano.iglesias
a152849bde Removing indents from comments
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4864 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 04:30:23 +00:00
mariano.iglesias
a053a1aa7c Added new callbacks and ability to execute CakePHP URLs from CakeTestCase
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4863 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 04:27:43 +00:00
gwoo
f4c9be8be2 working on form helper, added a submit button to form end if you pass true, added fieldset options to inputs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4862 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 02:06:15 +00:00
nate
86d32e4313 Adding fix for misquoted SQL functions (Ticket #2199)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4861 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-16 21:49:28 +00:00
phpnut
97aa991f2d Correcting svn properties on files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4860 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-15 07:19:31 +00:00
nate
c9b2da1380 Adding field map to convert aliased column names in MSSQL queries
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4859 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-14 23:34:08 +00:00
nate
ef79f256a7 Adding auto-detection check for IIS (manually defining SERVER_IIS is no longer required), and fixing setUri for rewritten IIS URLs.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4858 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-14 21:35:48 +00:00
dho
ee403daf5d Fixing problem with highlighting multiple phrases (ticket #2418)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4857 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-13 14:27:59 +00:00
dho
c9d4fa6451 Applying patch from ticket #2417
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4856 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-13 11:56:03 +00:00
mariano.iglesias
74653e5fac Removed unneeded variable
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4855 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-13 05:23:29 +00:00
mariano.iglesias
0eb008fa58 Added ability to import table definition and/or records from either an existing Model, or an existing table
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4854 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-13 05:17:48 +00:00
phpnut
0f2e3a4a80 Merging fixes into the trunk:
Revision: [4851]
Adding patch from Ticket #2374

Revision: [4850]
Correcting [4849], would attempt to load non existent model is var $uses was not set

Revision: [4849]
Adding fix for Ticket #2349

Revision: [4848]
Adding fix for Ticket #2392
Added tests for this fix.

Revision: [4847]
Fixing SQL error in AuthComponent::identify() when username is empty (Ticket #2402)

Revision: [4846]
Fixing (moving) session string warning (Ticket #2377) and adding automatic logging code

Revision: [4845]
Adding fix for Ticket #2376

Revision: [4843]
Added tests for issue #2391

Revision: [4842]
Added tests for issue #2391

Revision: [4841]
Adding fix for Ticket #2380

Revision: [4840]
Adding fix for Ticket #2391

Revision: [4839]
Adding fix for Ticket #2387
Fixed issue in view with $session->valid() always returning false.

Revision: [4838]
Fixing JavascriptHelper::object() bug with numeric indexes, as reported on the mailing list

Revision: [4837]
Throwing Missing Model error for missing associated classes, per gwoo

Revision: [4835]
Adding fix for Ticket #2326

Revision: [4834]
Removing inline comments and fixing error in parseURI; also fixes Ticket #2382

Revision: [4833]
Adding user check fix for AuthComponent::isAuthorized(), and removing comments from Model test (Ticket #2381)

Revision: [4832]
Fixed typo in function name strpos replaces strrpos

Revision: [4831]
Refactoring association joins, Fixes the issue with adding the Model.id if it is not already added.
Adding fix for string based fields.

Revision: [4830]
Removing name() method from DBO drivers (Ticket #2372)

Revision: [4829]
Adding tests to force foreignKey fields in hasMany

Revision: [4828]
Adding tests for automatic addition of ids in hasMany

Revision: [4827]
Adding fix for undefined index

Revision: [4826]
Adding first implementation of hasMany associations using one select statement.

Revision: [4825]
Removing some duplicate code

Revision: [4824]
Initial work on using one select statement for hasMany associations

Revision: [4823]
Adding enhancement from Ticket #2366

Revision: [4822]
Adding patch from Ticket #2368

Revision: [4821]
Moving fixtures directory in the application skeleton

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4853 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-12 08:59:09 +00:00
phpnut
94704a2518 Adding patch from Ticket #2374
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4851 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-12 07:46:29 +00:00
phpnut
8170b1f89f Correcting [4849], would attempt to load non existent model is var $uses was not set
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4850 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-12 07:38:25 +00:00
phpnut
e6f519a0a8 Adding fix for Ticket #2349
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4849 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-12 07:29:45 +00:00
phpnut
a2ba6d7715 Adding fix for Ticket #2392
Added tests for this fix.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4848 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-12 07:17:39 +00:00
nate
4e8a803e81 Fixing SQL error in AuthComponent::identify() when username is empty (Ticket #2402)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4847 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-12 02:32:16 +00:00
nate
b0307904ae Fixing (moving) session string warning (Ticket #2377) and adding automatic logging code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4846 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-12 00:34:16 +00:00
mariano.iglesias
cf2abbed03 Added tests for issue #2391
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4843 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-11 21:27:16 +00:00
mariano.iglesias
4c7febfafa Added tests for issue #2391
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4842 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-11 21:22:26 +00:00
phpnut
385e0c02ba Adding fix for Ticket #2380
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4841 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-11 21:20:10 +00:00
phpnut
b752463592 Adding fix for Ticket #2391
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4840 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-11 20:49:41 +00:00
phpnut
4f78065c14 Adding fix for Ticket #2387
Fixed issue in view with $session->valid() always returning false.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4839 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-11 20:47:17 +00:00
nate
8df2d428ff Fixing JavascriptHelper::object() bug with numeric indexes, as reported on the mailing list
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4838 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-11 18:02:10 +00:00
nate
3a828d2338 Throwing Missing Model error for missing associated classes, per gwoo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4837 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-11 18:01:24 +00:00
phpnut
f1678686a4 Adding fix for Ticket #2326
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4835 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-11 15:20:37 +00:00
nate
aed74550fb Removing inline comments and fixing error in parseURI; also fixes Ticket #2382
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4834 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-10 22:56:07 +00:00
nate
0c43266ba7 Adding user check fix for AuthComponent::isAuthorized(), and removing comments from Model test (Ticket #2381)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4833 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-10 16:48:45 +00:00
phpnut
30ea0fb69b Fixed typo in function name strpos replaces strrpos
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4832 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-09 22:41:17 +00:00
phpnut
8ed1b69b3f Refactoring association joins, Fixes the issue with adding the Model.id if it is not already added.
Adding fix for string based fields.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4831 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-09 21:30:55 +00:00
nate
d416fbe4ed Removing name() method from DBO drivers (Ticket #2372)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4830 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-09 19:54:07 +00:00
mariano.iglesias
dd956694af Adding tests to force foreignKey fields in hasMany
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4829 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-09 19:21:42 +00:00
mariano.iglesias
e9d7d60292 Adding tests for automatic addition of ids in hasMany
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4828 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-09 19:12:59 +00:00
phpnut
dcf64033ed Adding fix for undefined index
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4827 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-09 09:40:56 +00:00
phpnut
00be91c954 Adding first implementation of hasMany associations using one select statement.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4826 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-09 08:54:25 +00:00
phpnut
cff6ea0ee8 Removing some duplicate code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4825 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-09 04:05:22 +00:00
phpnut
95e2782d72 Initial work on using one select statement for hasMany associations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4824 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-09 04:00:04 +00:00
phpnut
9a6d54b400 Adding enhancement from Ticket #2366
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4823 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-08 23:30:31 +00:00
phpnut
cc030bed0f Adding patch from Ticket #2368
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4822 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-08 04:13:28 +00:00
phpnut
29e1e6a570 Merging fixes into the trunk:
Revision: [4818]
Adding fix for test in [4816].
This fixes hasOne association conditions

Revision: [4817]
Fixed tests

Revision: [4816]
Added test for conditions in binding

Revision: [4815]
Removing fixtures directory

Revision: [4814]
Adding fix for Ticket #2364

Revision: [4813]
Fixed test

Revision: [4812]
Adding fixes for test in [4811] fixes Ticket #1100

Revision: [4811]
Added tests for issue #1100

Revision: [4810]
Adding fix for Ticket #2363
Removed use of:
mysql_insert_id($this->connection);
mysqli_insert_id($this->connection);

Revision: [4809]
Added test for #2361

Revision: [4808]
Adding fix for Ticket #2360

Revision: [4807]
Fixing test for PHP4

Revision: [4806]
Improved test for #2360

Revision: [4805]
Test added to replicate #2360

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4820 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-07 22:17:26 +00:00
phpnut
3ec4ecd127 Adding fix for test in [4816].
This fixes hasOne association conditions

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4818 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-07 20:12:06 +00:00
mariano.iglesias
0fbcd7f9a4 Fixed tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4817 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-07 19:51:20 +00:00
mariano.iglesias
81b473f2a3 Added test for conditions in binding
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4816 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-07 19:30:27 +00:00
phpnut
20e41074c9 Adding fix for Ticket #2364
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4814 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-07 06:44:18 +00:00
mariano.iglesias
b151eda69e Fixed test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4813 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-07 06:42:08 +00:00
phpnut
d0c8cde9ab Adding fixes for test in [4811] fixes Ticket #1100
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4812 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-07 06:29:46 +00:00
mariano.iglesias
5e2d4167e3 Added tests for issue #1100
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4811 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-07 04:56:17 +00:00
phpnut
784ee985b5 Adding fix for Ticket #2363
Removed use of:
mysql_insert_id($this->connection);
mysqli_insert_id($this->connection);

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4810 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-07 01:42:12 +00:00
mariano.iglesias
8b2e2e6a7a Added test for #2361
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4809 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-06 19:12:15 +00:00
phpnut
980e713df7 Adding fix for Ticket #2360
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4808 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-06 19:05:06 +00:00
mariano.iglesias
da5e9c05a5 Fixing test for PHP4
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4807 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-06 19:01:46 +00:00
mariano.iglesias
5eaa76afe0 Improved test for #2360
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4806 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-06 18:35:25 +00:00
mariano.iglesias
f18ebf2117 Test added to replicate #2360
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4805 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-06 17:33:49 +00:00
phpnut
847cf2345f Merging fixes into the trunk:
Revision: [4802]
Refactoring duplicate code into one method

Revision: [4801]
Adding fixes for Ticket #2357, Ticket #2358
Added tests from Ticket #2357, Ticket #2358
Fixed failing DboSourceTest:
source:/branches/1.2.x.x/cake/tests/cases/libs/model/datasources/dbo_source.test.php@4778#L1080

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4804 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-06 12:38:06 +00:00
phpnut
aaa2e3cf21 Refactoring duplicate code into one method
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4802 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-06 12:19:23 +00:00
phpnut
d5fa0a961b Adding fixes for Ticket #2357, Ticket #2358
Added tests from Ticket #2357, Ticket #2358
Fixed failing DboSourceTest:
source:/branches/1.2.x.x/cake/tests/cases/libs/model/datasources/dbo_source.test.php@4778#L1080


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4801 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-06 11:15:45 +00:00
phpnut
48f3349c9a Merging fixes into the trunk:
Revision: [4796]
Removing comments from Set::merge()

Revision: [4795]
Adding fix for Ticket #2353

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4798 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 21:40:37 +00:00
phpnut
924a235ec3 Removing comments from Set::merge()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4796 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 21:29:00 +00:00
phpnut
69da631d61 Adding fix for Ticket #2353
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4795 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 21:20:08 +00:00
phpnut
1ad04a6558 Merging fixes into the trunk:
Revision: [4792]
Merging changes from 1.2.x.x Set class to 1.1.x.x branch

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4794 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 20:19:33 +00:00
phpnut
135ebe8994 Merging changes from 1.2.x.x Set class to 1.1.x.x branch
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4792 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 20:09:32 +00:00
phpnut
a677c882e7 Merging fixes into the trunk:
Revision: [4789]
Fixing last commit, had removed the ! prior to committing

Revision: [4788]
Adding fix for duplicate conditions being merged into the final query on self associations

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4791 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 19:23:46 +00:00
phpnut
eae615527d Fixing last commit, had removed the ! prior to committing
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4789 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 19:04:07 +00:00
phpnut
10bb0f303a Adding fix for duplicate conditions being merged into the final query on self associations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4788 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 19:00:15 +00:00
phpnut
4f04f09978 Merging fixes into the trunk:
Revision: [4785]
Adding fix for Ticket #2347

Revision: [4784]
Adding fix for Ticket #2317.
Added ability to cache queries to Model::query() by passing true as a second param.
Before this method would turn off caching automatically and there was no way to turn it on.

Revision: [4783]
Adding fix for Ticket #2351

Revision: [4782]
Adding fix for Ticket #2349

Revision: [4781]
Fixing typo

Revision: [4780]
Adding headers

Revision: [4779]
Adding new Set::merge() and Set class test case, thanks Felix

Revision: [4778]
Fixing [Only variable references should be returned by reference]

Revision: [4777]
Remove deprecated methods from test cases

Revision: [4776]
finishing changes to FormHelper

Revision: [4775]
Preventing session started messages in session test

Revision: [4774]
Removing old AclNodeTest methods this code is no longer valid on 1.2

Revision: [4773]
Added test for combination of self joins and belongsTo

Revision: [4771]
Fixed test to used array based self join

Revision: [4770]
Adding fix for to correct additional 1:1 associations failing to query when there is a self join association.

Revision: [4769]
fixing some changes to FormHelper

Revision: [4768]
Removing preg_replace() and adding additional param $where = true to DboSource::conditions()

Revision: [4767]
Fixing self association joins with conditions and fields

Revision: [4766]
Fixed test

Revision: [4765]
Fixed test

Revision: [4764]
Fixed tests to include parenthesis used in ON clauses

Revision: [4763]
Adding fixes for association conditions

Revision: [4762]
adding fix to FormHelper::create() for plugin path with action, see #2342. Adding default sizes, maxlengths, and values to input. FormHelper::inputs() will now return all the fields in the model without the need to pass anything from the controller, uses a blacklist so some fields can be skipped. Added PaginatorHelper::numbers(),  will output current page numbers, uses a modulus to decide how many to show on each side of the current page. Paginator::options() now allows setting default paging params

Revision: [4761]
Adding fix for ModelTest::testRecursiveFindAll()

Revision: [4760]
Commenting debug code in model.test.php

Revision: [4759]
Adding fix for scaffold when using self associated HABTM

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4787 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 18:10:39 +00:00
phpnut
ba8421cce2 Adding fix for Ticket #2347
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4785 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 17:09:52 +00:00