Commit graph

1665 commits

Author SHA1 Message Date
nate
f28e6d5b77 Removing fields() method from DboDbo2 (Ticket #2444)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4922 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 09:11:35 +00:00
phpnut
815b159ab3 Adding fix for #2478 corrects issue on php 4
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4921 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 08:56:10 +00:00
phpnut
027f7838b5 Adding fix for #2435. Fixes issues with custom inflection rules not being used before the default rules
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4919 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 08:41:46 +00:00
phpnut
87cfb1766d Adding fix for #2416 fixes Invalid query when using boolean conditions in PostgreSQL
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4916 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 07:02:25 +00:00
phpnut
1fa4e18487 Added fix for #2450
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4915 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 06:11:32 +00:00
phpnut
f1c03fe608 Adding fix for #2500 fixes adding of table.id when not using associated models and only wanting specific fields returned
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4914 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 06:06:15 +00:00
phpnut
5757d6b7e9 Adding fixes for test added in [4911] and [4912]
Fixed #2414 fixes findBy doesn't escape WHERE condition

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4913 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 05:37:39 +00:00
mariano.iglesias
6978359505 Adding more tests for #2414
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4912 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 04:24:47 +00:00
mariano.iglesias
5903e2226c Adding tests for #2414
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4911 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 04:18:41 +00:00
phpnut
91d4b05e9b Adding fix for #2419 fixes issue with long lines in email messages breaking links
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4910 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 04:16:43 +00:00
phpnut
0ddac86f58 Adding fix for #2466 fixes missed Router::__mapped reinit in Router::url()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4909 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 03:46:58 +00:00
phpnut
7cdb495068 Adding fix for #2428 fixes View::renderElement() behavior with multiple view paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4908 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 03:33:37 +00:00
mariano.iglesias
70b9de6903 Fixing label tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4906 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 03:10:44 +00:00
phpnut
aee7405863 Adding additional fix for #2481
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4905 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 03:05:08 +00:00
phpnut
e91a15e4e2 Adding fix for #2481 fixes Form::label() $tagName does not run through domId()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4904 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 02:58:01 +00:00
phpnut
527a2e6bcd Adding enhancement from #2483.adds scaffold index view field's label
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4903 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 02:52:17 +00:00
mariano.iglesias
80e40d6910 Adding tests trying to replicate #2451 and more variations of fake threaded self join
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4902 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 02:25:57 +00:00
phpnut
74ca09d759 Adding fix for #2491 fixes bad scaffold templates paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4901 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 02:03:43 +00:00
phpnut
698b221943 Adding fix for #2488 fixes Set::extract failed on assoc array if key starts with numeric
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4900 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 01:47:26 +00:00
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
phpnut
56451426fb 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.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4784 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 16:50:03 +00:00
phpnut
b486b6f076 Adding fix for Ticket #2351
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4783 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 16:09:51 +00:00
phpnut
52f03bd340 Adding fix for Ticket #2349
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4782 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 16:06:37 +00:00
dho
dc06a86291 Fixing typo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4781 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 12:11:23 +00:00
mariano.iglesias
df78e11548 Adding headers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4780 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 06:08:00 +00:00
nate
ac904cd4d4 Adding new Set::merge() and Set class test case, thanks Felix
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4779 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 05:57:52 +00:00
phpnut
1c6c32981e Fixing [Only variable references should be returned by reference]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4778 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 04:47:01 +00:00
mariano.iglesias
08526db3f4 Remove deprecated methods from test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4777 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 04:39:46 +00:00
gwoo
c81fd8b256 finishing changes to FormHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4776 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 04:31:46 +00:00
mariano.iglesias
5c1d178616 Preventing session started messages in session test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4775 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 04:27:44 +00:00
phpnut
56b7050858 Removing old AclNodeTest methods this code is no longer valid on 1.2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4774 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 04:22:42 +00:00
mariano.iglesias
003e30673e Added test for combination of self joins and belongsTo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4773 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 04:04:55 +00:00
mariano.iglesias
a53e15ee51 Fixed test to used array based self join
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4771 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 03:40:08 +00:00
phpnut
f0cd2d49ea Adding fix for to correct additional 1:1 associations failing to query when there is a self join association.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4770 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 03:31:46 +00:00
gwoo
f49183f70e fixing some changes to FormHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4769 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 02:11:20 +00:00
phpnut
aeac37e707 Removing preg_replace() and adding additional param $where = true to DboSource::conditions()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4768 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 01:08:39 +00:00
phpnut
ea144501ae Fixing self association joins with conditions and fields
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4767 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 00:47:17 +00:00
mariano.iglesias
ad2069af72 Fixed test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4766 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 00:07:30 +00:00
mariano.iglesias
6fe9f01c24 Fixed test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4765 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 00:05:57 +00:00
mariano.iglesias
5757d3b07b Fixed tests to include parenthesis used in ON clauses
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4764 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 22:14:45 +00:00
phpnut
cc46c03f31 Adding fixes for association conditions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4763 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 21:40:59 +00:00
gwoo
06d6bbdbae 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
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4762 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 20:38:26 +00:00
phpnut
da35cf3193 Adding fix for ModelTest::testRecursiveFindAll()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4761 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 19:55:57 +00:00
phpnut
46768f219e Commenting debug code in model.test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4760 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 18:24:17 +00:00
phpnut
49e58cec49 Adding fix for scaffold when using self associated HABTM
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4759 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 17:25:18 +00:00
phpnut
0d373a0c16 Merging fixes into the trunk:
Revision: [4756]
Adding fix for Ticket #2343
Corrected test case for InflectorTest:testInflectingPlurals() house, original test used wrong method from Inflector

Revision: [4755]
Adding fix to EmailComponent::_ _createHeader() that corrects addresses that are set in CC being added to BCC also

Revision: [4754]
Adding check for config/inflections.php back to Inflector

Revision: [4752]
Adding fix for Ticket #2339
Adding fix for Ticket #2335
Adding fix for Ticket #2344

Merged changes in dbo from 1.2 to 1.1
Merged changes to session handling in 1.2 to 1.1
Merged changes to Model::_ _saveMulti() in 1.2 to 1.1
Added Set::pushDiff() to append differences in array 2 to array 1
Added SessionComponent::activate() and SessionHelper::activate() to turn sessions usage on if AUTO_SESSION is set to false
Added test for Ticket #2343
Added change to AclNode to use correct table naming
Added garbage clean up to CakeSession::_ _close(); some installs, like Debian, have removed garbage clean
up and use a cron job instead. Currently this change is only supported for database session.

Revision: [4751]
Removing unnecessary requirements

Revision: 4750
Removing unnecessary requirements

Revision: [4749]
Implementing AclNodeTest through fixtures

Revision: [4748]
Adding test to reproduce ticket #2343

Revision: [4747]
Adding fix from Ticket #2336

Revision: [4746]
fixing check in magic methods for a value otherwise it will return false adding test to dbosource

Revision: [4745]
Adding fix for Ticket #2328

Revision: [4744]
Adding test for Ticket #2333.
Added fix for Ticket #2333

Revision: [4743]
Adding var $layout to EmailComponent

Revision: [4742]
Fixing EmailComponent::_ _formatAddress() was not returning $string

Revision: [4741]
Refactoring AuthComponent password hashing

Revision: [4740]
fixing router when affected by requestAction #2319, adding check in magic methods for a value otherwise it will return false

Revision: [4738]
Added test in testGenerateAssociationQuerySelfJoinWithConditions() to replicate issue when 'conditions' is not used after doing bindModel() for a $belongsTo relation

Revision: [4737]
Simplified failing test in model.test.php

Revision: [4736]
Simplified failing test in model.test.php

Revision: [4735]
Adding Ajax rendering fix for Ticket #2323

Revision: [4734]
Adding test for #2325

Revision: [4733]
Fixing Controller::cleanUpFields() formatting bug introduced in [4596] (Ticket #2322)

Revision: [4732]
Adding fix for TIcket #2325

Revision: [4731]
Adding patch from ticket #2324 plus test

Revision: [4730]
Adding patch from Ticket #2320

Revision: [4729]
Additional timestamp fix for Controller::cleanUpFields()

Revision: [4728]
Fixing typos

Revision: [4727]
Misc. fixes to DboPostgres, added basic schema generation, and fixed getting insert IDs from sequence (Ticket #2309)

Revision: [4726]
Refactoring FormHelper and fixing 'empty' option for date/time elements in FormHelper::input() (Ticket #2311)

Revision: [4725]
Fixed typo in function name

Revision: [4724]
Identified line that allows bakery issue test to succeed

Revision: [4723]
Added test that replicates issue in bakery with nested models after doing some bindModel() and unbindModel()

Revision: [4722]
Fixing Controller::cleanUpFields() to handle timestamp fields, and properly unset meridian values

Revision: [4721]
Added test for ticket #2321

Revision: [4720]
Adding Model::saveField() fix for triggering invalid hasAndBelongsToMany saves

Revision: [4719]
Moving session flash rendering from component to helper (fixes errors when using setFlash() in beforeFilter)

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4758 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 08:36:00 +00:00
phpnut
789f1f4f3d Adding fix for Ticket #2343
Corrected test case for InflectorTest:testInflectingPlurals() house, original test used wrong method from Inflector

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4756 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 08:01:38 +00:00
phpnut
6593be8239 Adding fix to EmailComponent::_ _createHeader() that corrects addresses that are set in CC being added to BCC also
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4755 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 07:46:04 +00:00
phpnut
4fb14b1506 Adding check for config/inflections.php back to Inflector
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4754 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 07:42:19 +00:00
phpnut
dcac88825a Adding fix for Ticket #2339
Adding fix for Ticket #2335
Adding fix for Ticket #2344

Merged changes in dbo from 1.2 to 1.1
Merged changes to session handling in 1.2 to 1.1
Merged changes to Model::_ _saveMulti() in 1.2 to 1.1
Added Set::pushDiff() to append differences in array 2 to array 1
Added SessionComponent::activate() and SessionHelper::activate() to turn sessions usage on if AUTO_SESSION is set to false
Added test for Ticket #2343
Added change to AclNode to use correct table naming
Added garbage clean up to CakeSession::_ _close(); some installs, like Debian, have removed garbage clean
up and use a cron job instead. Currently this change is only supported for database session.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4752 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 07:25:48 +00:00
mariano.iglesias
f4df563a84 Removing unnecessary requirements
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4751 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 07:16:37 +00:00
mariano.iglesias
44fb9aa60d Removing unnecessary requirements
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4750 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 07:15:27 +00:00
mariano.iglesias
f12d025a23 Implementing AclNodeTest through fixtures
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4749 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 07:13:33 +00:00
dho
87bb47b5af Adding test to reproduce ticket #2343
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4748 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 06:55:09 +00:00
phpnut
065b93c29a Adding fix from Ticket #2336
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4747 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-03 21:12:09 +00:00
gwoo
ed342c307d fixing check in magic methods for a value otherwise it will return false adding test to dbosource
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4746 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-03 05:43:31 +00:00
phpnut
a1e535a05d Adding fix for Ticket #2328
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4745 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-03 03:10:36 +00:00
phpnut
a46e1caa9e Adding test for Ticket #2333.
Added fix for Ticket #2333

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4744 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-03 03:03:42 +00:00
phpnut
8cead38c69 Adding var $layout to EmailComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4743 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-03 01:15:24 +00:00
phpnut
32c3001fbe Fixing EmailComponent::_ _formatAddress() was not returning $string
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4742 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-03 01:08:49 +00:00
nate
456baf5da1 Refactoring AuthComponent password hashing
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4741 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-02 20:00:56 +00:00
gwoo
923303b462 fixing router when affected by requestAction #2319, adding check in magic methods for a value otherwise it will return false
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4740 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-02 19:20:50 +00:00
mariano.iglesias
94f57cef86 Added test in testGenerateAssociationQuerySelfJoinWithConditions() to replicate issue when 'conditions' is not used after doing bindModel() for a $belongsTo relation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4738 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 23:09:56 +00:00
mariano.iglesias
a48f9cd908 Simplified failing test in model.test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4737 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 16:15:44 +00:00
mariano.iglesias
2f5fa26e29 Simplified failing test in model.test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4736 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 16:03:42 +00:00
nate
a702d4d41a Adding Ajax rendering fix for Ticket #2323
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4735 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 15:19:54 +00:00
dho
20be70a22e Adding test for #2325
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4734 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 15:07:27 +00:00
nate
c276d65d6f Fixing Controller::cleanUpFields() formatting bug introduced in [4596] (Ticket #2322)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4733 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 15:01:28 +00:00
nate
20645337f7 Adding fix for TIcket #2325
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4732 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 14:47:39 +00:00
dho
d4c5eea261 Adding patch from ticket #2324 plus test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4731 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 14:31:23 +00:00
phpnut
3af3f242f6 Adding patch from Ticket #2320
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4730 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 08:18:05 +00:00
nate
e98b37e7cf Additional timestamp fix for Controller::cleanUpFields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4729 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 07:47:56 +00:00
dho
408df0118a Fixing typos
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4728 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 07:43:52 +00:00
nate
a64434c636 Misc. fixes to DboPostgres, added basic schema generation, and fixed getting insert IDs from sequence (Ticket #2309)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4727 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 05:42:31 +00:00
nate
23fc1e8e53 Refactoring FormHelper and fixing 'empty' option for date/time elements in FormHelper::input() (Ticket #2311)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4726 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 04:55:56 +00:00
mariano.iglesias
76efc2acbc Fixed typo in function name
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4725 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 04:51:29 +00:00
mariano.iglesias
2a4fb7bc50 Identified line that allows bakery issue test to succeed
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4724 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 04:50:06 +00:00
mariano.iglesias
024fc47407 Added test that replicates issue in bakery with nested models after doing some bindModel() and unbindModel()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4723 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 04:40:18 +00:00
nate
0039859101 Fixing Controller::cleanUpFields() to handle timestamp fields, and properly unset meridian values
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4722 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 03:34:39 +00:00
mariano.iglesias
4da63e762f Added test for ticket #2321
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4721 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-31 20:49:26 +00:00
nate
f8995e0bde Adding Model::saveField() fix for triggering invalid hasAndBelongsToMany saves
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4720 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-31 20:27:47 +00:00
nate
9e1019787b Moving session flash rendering from component to helper (fixes errors when using setFlash() in beforeFilter)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4719 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-31 19:37:59 +00:00
phpnut
e569b97867 Merging fixes into the trunk:
Revision: [4716]
Adding fix for Ticket #2316

Revision: [4714]
Adding fix for Ticket #2232.
Added tests for ticket

Revision: [4713]
Adding fix for Ticket #2310

Revision: [4709]
Fixing typos.
Adding fix for $ID: search in I18nExtractor::_ _findVersion(), svn replaced this with the file name.

Revision: [4708]
Updating I18nExtractor. Added methods to extract translation strings from files.

Revision: [4707]
Fixing return value in Session::check()

Revision: [4706]
Removing column length from INT column type in DboMssql (Ticket #2308)

Revision: [4705]
Adding tests and fixtures for self-join associations, and fixing JS syntax for 'indicator' (Ticket #2302)

Revision: [4704]
Fixing NOT operations in query conditions in DboSource (Ticket #2307)

Revision: [4703]
Adding DboSource destructor rollback fix (Ticket #2110)

Revision: [4702]
Adding fix for Ticket #2298.
Added encoding wrapper for email addresses.

Revision: [4701]
Additional URL-parsing fixes for IIS

Revision: [4700]
Fixing limit / offset for SQL Server

Revision: [4699]
Fixing URL parsing/dispatching for IIS installs without rewrite support

Revision: [4698]
Refactoring Controller::paginate() to remove duplicate code.

Revision: [4697]
Adding field quoting fix in DboSource::name() (Ticket #2300)

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4718 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-31 17:34:42 +00:00
phpnut
095574ecc8 Adding fix for Ticket #2316
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4716 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-30 12:18:23 +00:00
phpnut
918c6e7e93 Backporting changes to dbo drivers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4715 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-30 02:54:23 +00:00
phpnut
3a62793d0e Adding fix for Ticket #2232.
Added tests for ticket

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4714 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-30 00:08:10 +00:00
phpnut
41012b86ba Adding fix for Ticket #2310
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4713 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 23:38:53 +00:00
phpnut
575b27d586 Backporting changes from 1.2 to 1.1
Adding Set class

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4711 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 22:48:24 +00:00
phpnut
eac541cfe4 Fixing typos.
Adding fix for $ID: search in I18nExtractor::_ _findVersion(), svn replaced this with the file name.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4709 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 17:01:07 +00:00
phpnut
860b5997aa Updating I18nExtractor. Added methods to extract translation strings from files.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4708 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 16:53:10 +00:00
nate
1a10bf9b8a Fixing return value in Session::check()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4707 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 13:43:06 +00:00
nate
15bae17de2 Removing column length from INT column type in DboMssql (Ticket #2308)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4706 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 02:21:50 +00:00
nate
381ec92b4c Adding tests and fixtures for self-join associations, and fixing JS syntax for 'indicator' (Ticket #2302)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4705 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 02:16:00 +00:00
nate
0c2b92a650 Fixing NOT operations in query conditions in DboSource (Ticket #2307)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4704 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 01:45:13 +00:00
nate
f32cc3eb79 Adding DboSource destructor rollback fix (Ticket #2110)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4703 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 00:49:53 +00:00
phpnut
f1c1c70664 Adding fix for Ticket #2298.
Added encoding wrapper for email addresses.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4702 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-28 22:57:07 +00:00
nate
823dac8166 Additional URL-parsing fixes for IIS
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4701 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-28 16:42:11 +00:00
nate
43297e3abd Fixing limit / offset for SQL Server
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4700 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-28 16:39:15 +00:00
nate
983c55005c Fixing URL parsing/dispatching for IIS installs without rewrite support
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4699 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-28 16:35:59 +00:00
nate
1f0d3d7145 Refactoring Controller::paginate() to remove duplicate code.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4698 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-28 16:31:16 +00:00
nate
8b7f46acaa Adding field quoting fix in DboSource::name() (Ticket #2300)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4697 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-28 00:53:37 +00:00