phpnut
a6f19c8240
Adding fix for Model::afterFind(); not having access to $this->data when using TreeBehavior
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7586 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 18:42:18 +00:00
mark_story
8e6a5a7214
Fixing issue with CakeTestCase::testAction not properly being able to simulate query string parameters.
...
Added tests for various parameter syntaxes.
Closes #5400
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7585 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 16:48:52 +00:00
phpnut
a14e939ac4
Reverting some of the changes made in [7578]
...
Removed usage like: $var = $foo = $bar = null;
Replaced with:
$var = null;
$foo = null;
$bar = null;
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7584 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 11:32:18 +00:00
nate
13545bcf79
Removing loose type detection from DboDb2, no longer needed since type information is now explicitly passed. Fixes #4458
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7583 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 06:17:10 +00:00
nate
5d746a938d
Removing quotes when saving binary data in DboMssql, fixes #5242
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7582 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 06:00:54 +00:00
DarkAngelBGE
10bb597fd6
rewriting configure values after successful execution of CakeTestCase::testTestAction()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7581 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 05:41:56 +00:00
nate
ee0e81406c
Restoring previous patch to DboMssql
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7580 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 05:41:51 +00:00
DarkAngelBGE
dbeb3af384
removing unneeded code from cake_test_case.test.php; fixing CakeTestCase test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7579 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 05:36:18 +00:00
DarkAngelBGE
823d9252de
minor refactorings for the configure class
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7578 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 05:26:09 +00:00
nate
0b227e6c24
Fixing DboMssql::buildColumn() to correct columns being created with incorrect null constraints, fixes #5373 , fixes #5381
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7577 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 05:23:11 +00:00
DarkAngelBGE
8e546b23b8
removing commented code from dbo_source
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7576 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 04:47:52 +00:00
DarkAngelBGE
ab167ffb9f
removing unneeded code lines in Folder->find(), which will never fire according to Folder->read()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7575 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 04:39:43 +00:00
DarkAngelBGE
8346bba694
fixing Folder->chmod() to take account files in subfolders as well when the recursive option is set; adding tests to prove the fix; fixes #5392
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7574 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 04:34:11 +00:00
mark_story
7e55088b77
Adding error supression to chmod() making folder::chmod() functionally similar to delete(). Closes #5393
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7573 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-08 20:38:55 +00:00
DarkAngelBGE
19d4f3d596
adding a couple 'return home early' refactorings
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7572 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-08 20:33:48 +00:00
DarkAngelBGE
411671f76f
typo fix in doc block in class_registry.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7571 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-08 16:58:39 +00:00
mark_story
d791603791
Updating folder::delete() to properly record file deletions. Thanks for the patch 'davidpersson'. Tests Added. Closes #5394
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7570 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-08 16:44:06 +00:00
DarkAngelBGE
fe82e827f0
Refactoring ScaffoldView::_getViewFileName()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7569 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-08 15:44:32 +00:00
DarkAngelBGE
311072f4ae
Refactoring View::_getLayoutFileName()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7568 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-08 15:39:40 +00:00
nate
1520314cac
Fixing view file extension in config/routes.php docblock
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7567 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-07 14:36:06 +00:00
gwoo
094e07dc7e
closes #4797 , constants for test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7566 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-07 14:21:21 +00:00
gwoo
1f2ffe2b75
fixes #5285 , requestAction with array params
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7565 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-07 13:43:39 +00:00
gwoo
e632f79c49
fixing view baking based on methods in the controller
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7564 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-07 13:12:27 +00:00
gwoo
66589e2f18
fixing undefined index in model task when defining custom additional associations
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7563 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-07 13:03:51 +00:00
nate
dba8d8740d
Adding object hook calls for JsHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7562 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-07 03:26:58 +00:00
mark_story
b3c33af9ee
Removing test disabler in CacheHelper test.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7561 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-05 21:44:30 +00:00
mark_story
e5cfd69636
Adding test layout with cake:nocache tags.
...
Adding tests to CacheHelper
Fixing CacheHelper not parsing cake:nocache after $content_for_layout when view file has cake:nocache tags as well.
Closes #5275
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7560 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-05 21:41:07 +00:00
TommyO
f96f7f0926
Added additional Set test for Xml class.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7559 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-05 17:48:51 +00:00
mark_story
a83a0f099f
Switching CakeTestCaseTest to use Core app controller instead of app/app_controller. Closes #5389
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7558 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-05 17:27:20 +00:00
TommyO
5014b9d330
Found bug where mulitple instances of mulitple nodes within the same parent node caused conflicts in toArray(). Added test and fix.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7557 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-05 17:20:18 +00:00
nate
ccc602c82a
Updating PaginatorHelper::options() docblock and adding test cases to demonstrate correct usage, closes #5380
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7556 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-04 19:10:15 +00:00
gwoo
2a84ec9944
fixes #5384 , Xml::toArray()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7555 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-04 15:34:08 +00:00
AD7six
ff7428e676
adding connection name to sql debug log
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7554 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-04 15:29:48 +00:00
mariano.iglesias
310af6694a
Reverting changes to core config
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7553 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-04 13:36:38 +00:00
mariano.iglesias
46620f8ee2
Fixing issue where reference fatal is thrown with PHP 5.0.5
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7552 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-04 13:35:04 +00:00
nate
927950e81c
Adding TranslateBehavior tests to disprove #3805
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7551 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-04 02:04:44 +00:00
mark_story
ba2542ec29
Fixing infinite loop when importing models that have relations that are also fixturized. Closes #5166 .
...
Tests updated and added.
Added documentation concerning use of app_error.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7550 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-04 01:49:29 +00:00
nate
57c633a64f
Adding proper callback disabling for multiple finder types, fixes #5343
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7549 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-04 01:00:08 +00:00
mark_story
aeb8a4176f
Adding non-breaking space to view.ctp. Closes #5377
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7548 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-03 20:01:12 +00:00
mark_story
a8bb2eb826
Fixing saveAll() using validate => only, applied patch from 'ADmad'. saveAll() now returns value of all validations, not just the last row to be validated. Closes #5376 . Tests added.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7547 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-03 16:44:48 +00:00
the_undefined
95947053fe
Fixed bug in parent traversal, closes #5225
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7546 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-03 15:40:25 +00:00
DarkAngelBGE
2deb6f3828
fixing possible notices in SecurityComponent::__validatePost, closes #5232
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7545 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-02 04:04:49 +00:00
mark_story
55361320d4
Adding tests to fixture test showing model imports.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7544 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-01 23:04:59 +00:00
DarkAngelBGE
58bbba0c4f
refactoring DboSource::_mergeConditions()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7540 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-01 19:31:28 +00:00
DarkAngelBGE
0b8006625c
fixing missing $group variable in mssql driver renderStatement method, closes #5357 , changing indetation in dbo_mssql.test.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7539 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-01 19:00:00 +00:00
mark_story
91a6508a26
Adding CakeFixture Test Case
...
Adding TestSuite group test
Fixing documentation and removing unecessary ife() calls from CakeTestFixture.
Made CodeCoverage test run nicely in group tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7538 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-01 14:21:57 +00:00
nate
26e2747180
Fixing quoting of numeric literals in DboSource::order(), closes #5360
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7537 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-29 20:40:15 +00:00
nate
7b8e69f120
Added config value caching and just-in-time compiling to Router
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7536 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-29 18:17:14 +00:00
gwoo
d76b15ba39
closes #5352 , xcache auth credentials
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7535 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-29 16:51:00 +00:00
mark_story
38565d7069
Adding test to disprove #5356
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7534 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-29 14:38:24 +00:00