Commit graph

4692 commits

Author SHA1 Message Date
mark_story
b3a6a06f80 Applying patch from 'BrendonCoz'. Model::deconstruct() now allows null for time column types. Closes #5659
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7782 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-26 15:02:01 +00:00
mark_story
2d1483e1e5 Updating formHelper::dateTime() to work correctly with string timestamp values. Closes #5621
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7781 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-26 14:53:06 +00:00
renan.saddam
1c9b1d0d78 Removing unnecessary str_replace call.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7780 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-24 11:25:19 +00:00
AD7six
d8ad330bca correcting quotes which cause "undefined constant cache assumed 'cache'.." error
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7779 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-24 08:03:36 +00:00
renan.saddam
a04af731ab Allowing custom mime types and adding more default mime types. Fixes #4517.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7778 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-24 01:12:09 +00:00
AD7six
ce0a71aef7 fixes #5603 Duplicate first parameter from the paginator with existing url args
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7777 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 22:20:03 +00:00
phpnut
f4baaf60cb Adding fixtures missed in [7775]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7776 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 13:31:23 +00:00
phpnut
d3896854f5 Adding fix for join table using UUID's as the primary key.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7775 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 13:29:32 +00:00
nate
16e2579f01 Correcting Security component to treat POST data arrays as a single field for validation purposes, fixes #5588
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7774 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 03:18:08 +00:00
mark_story
3a7ccff571 Minor refactor to earlier code.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7773 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 02:05:34 +00:00
mark_story
1b456f2cf1 Applying patch from 'davidpersson' fixing code spacing. Closes #5643
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7772 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 00:10:44 +00:00
renan.saddam
6da2040b45 Aplying changes to localePaths made in [7754]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7771 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-22 19:07:43 +00:00
mark_story
8cf8ee93ea Fixing requestAction parameter merging. Url params were being incorrectly set to empty array for both string urls and array urls. Tests added. Fixes #5628
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7770 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-22 17:12:30 +00:00
mark_story
c2fee87b63 Added patch from 'shirsch' to fix Model::deleteAll() not returning a boolean value when callbacks = true. Updated test. Closes #5546
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7769 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-22 02:37:05 +00:00
AD7six
f32e557e9c converting ini_get statements to use strict comparisons where loose comparisons were used
correcting zlib comparison to expect ini_get to return a string, rather than a boolean.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7768 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-21 12:15:28 +00:00
mark_story
a629da67b7 Adding tests to requestAction() for POST/$this->data passing in requestAction(). Closes #5628
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7767 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-21 02:04:42 +00:00
TommyO
f5a8ce4612 Fixed bug where bcc was visible to all recipients when using smtp
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7766 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-20 17:09:42 +00:00
mark_story
2350000be0 Adding tests for formHelper::select() to test secured fields generation. Refs #5588
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7765 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-20 03:01:01 +00:00
mark_story
5f0fd5241e Fixing String::insert() to allow '.' in parameters, added tests to show usage of String::cleanInsert(). Closes #5627
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7764 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-18 23:56:41 +00:00
gwoo
f9f1c4df50 adding umask to file so cache files will be created without throwing an error when transitioning from shell to browser
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7763 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-18 20:11:41 +00:00
gwoo
f861d685d5 refactoring shell paths, also closes #5451, shell to return exit values
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7762 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-18 19:54:56 +00:00
mark_story
66cfeee8c7 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7761 3807eeeb-6ff5-0310-8944-8be069107fe0 2008-10-18 01:23:33 +00:00
mark_story
f875c0098b Updating test_suite header to improve readability of connection names.
Adding test for using CakeTestCase::testAction() with fixturize parameter.
Updating TestsAppPostsController and adding Post Model to test suite.
Refs #5620

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7760 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-17 16:39:39 +00:00
mark_story
f554d321b2 Fixing schema file regexp, to ignore .sql files. Fixes #5616
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7759 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-17 03:51:03 +00:00
renan.saddam
e3fb56f6be Fixing bug when primaryKey is not id. Fixes #5615.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7757 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-17 00:01:36 +00:00
renan.saddam
24949e30e0 Added tests to PagesController and removed twice call to count().
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7756 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-16 23:52:54 +00:00
phpnut
4311ba8000 Close #5534, Rename pages_controller.php to pages_controller.test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7755 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-16 06:51:10 +00:00
phpnut
760f79f4ec Closes #1855, Separate translation files per plugin. This is now supported using !__d() and !__dn().
Example singular usage: !__d('plugin_name', $string, true); returns translated singular string from pluginsPath/plugin_name/locale/"language"/LC_MESSAGE/plugin_name.(po/mo).
	Example plural usage: sprintf(!__dn('plugin_name', '%d = 1', '%d = 0 or > 1', $number, true), $number ); returns translated plural strings from pluginsPath/plugin_name/locale/"language"/LC_MESSAGE/plugin_name.(po/mo).
Closes #5007, Support for multiple additional locale paths. Configure::write('localePaths', $paths); accepts an array of $paths. $localePaths = array(); can also be used in bootstrap.php
Added Configure::$shellPaths; additional paths can be set in bootstrap.php $shellPaths = array();

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7754 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-16 05:16:00 +00:00
renan.saddam
6a33ca5b5b Adding tests to __* functions and doing a little refactoring to reduce overload.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7753 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-16 01:11:09 +00:00
phpnut
f281f8814a Adding changes to tests to correct expected results when using hasAndBelongsToMany associations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7752 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-16 00:38:38 +00:00
nate
a239ccc74a Adding correct skip test method for Oracle DB test, cleaning up code formatting, fixes #4671
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7751 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 23:07:19 +00:00
mark_story
342f701e70 Updating CakeTestCase test to fix issue with broken tests if app/models/post.php exists.
Reverting and correcting earlier change on cake_test_fixture, where models and relations that are imported connected to the wrong connection.
Closes #5578

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7750 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 19:14:11 +00:00
gwoo
0a8274332a fixing issue with plugins in primary components introduced in [7745]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7749 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 17:37:19 +00:00
phpnut
f51ae718e6 Closes #5607, Configure::store can no longer be uses statically.
Corrected test cases to call Configure statically.
Added fixes for tests added in [7741]
Closes #5594, Related models should be built when $useTable = false;

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7748 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 17:30:08 +00:00
mark_story
1aa0fc069a Updating baked model tests to reflect newer style of test that uses ClassRegistry::init() instead of a TestModel class. Refs #5549
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7747 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 17:00:53 +00:00
mark_story
cdc12d9eb8 Changing cake_test_fixture::init() to not alter ClassRegistry::config() settings. Instead model is built with ds parameter. Closes #5578.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7746 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 16:50:10 +00:00
nate
19975a2cf6 Fixing issue where startup() / shutdown() etc. were being called on components not directly attached to the controller. Only initialize() should be called on sub-components.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7745 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 13:07:46 +00:00
nate
6a06194292 Fixing locking for file-based cache, fixes #5541
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7744 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 12:42:03 +00:00
nate
1b9357f5e8 Correcting behavior of layering allow/deny calls in AuthComponent, fixes #5595, formatting fixes for RequestHandler
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7743 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 02:52:19 +00:00
renan.saddam
ccb83c341e Added test to cover Cache::write with optional duration time. Refs #5601.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7742 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 00:55:20 +00:00
renan.saddam
bbd6089aec Added tests to prove non-initializing associated models when useTable is equal to false. Refs #5594.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7741 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-14 23:28:22 +00:00
phpnut
4c2a3ee02f Closes #5591.
Modified models in models.php setting the with key since these models are not used unless the with key is defined in the association.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7740 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-13 01:17:34 +00:00
phpnut
f139b0312f Fixes #5591 Dynamic With Models broken after changeset [7732]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7739 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 22:21:55 +00:00
phpnut
a170464d3c Reverting changing Router::compile(); to private method. Since this method is called using an instance of the Router we can still remove code that called Router::getInstance();
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7738 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 14:23:16 +00:00
phpnut
404e4ed2c6 Fixing @access tag
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7737 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 04:00:48 +00:00
phpnut
47f78d13a0 Adding more optimizations for the static classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7736 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 03:52:24 +00:00
phpnut
3c50e54213 Closes #5542 Duplicate cookies
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7735 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 03:29:10 +00:00
phpnut
aa248a126f Closes #5560 Class Registry::_duplicate call for getObject returns false it will cause an error
Added additional optimizations.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7734 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 02:36:39 +00:00
phpnut
2f85fefa29 Closes #5557 model.php and App::__settings try to import inexistent class Behavior
Removed loading of ModelBehavior in App::__settings(); this it not needed since the behavior is loaded in the model.
Added additional optimizations.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7733 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 02:33:12 +00:00
phpnut
93a54735d6 Fix loading of dynamic 'with' model, each dynamic 'with' would attempt to find and load the file 5 times, fixed so no it longer attempts loading a file if the 'with' key is not defined in the association.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7732 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 02:16:43 +00:00
phpnut
26a503ee33 Refactoring I18n for performance.
Added changes needed for tests added in [7724]

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7731 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-11 03:22:41 +00:00
mark_story
439116fd03 Adding test to paginator test. Disproves #5582
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7730 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-10 20:20:44 +00:00
mark_story
c128505a2c Adding read() into CookieComponent::del() so that values will always be populated. Reversing change from [7725]. Fixes #5563
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7729 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-10 17:24:10 +00:00
AD7six
26c7262acc correcting message as to how to override core error message for missing_connection
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7728 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-10 16:12:15 +00:00
AD7six
51503d45c8 updating the console to use Configure::read('vendorPaths'). This will allow otherwise hidden shell tasks to be listed in the main console index.
Inaccessible (overriden) shells are not listed.
minor format changes


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7727 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-10 15:47:06 +00:00
mark_story
f94bc3e4bc Adding Test case for Shell
Adding Comment Model to test_app
Fixing Plugin model loading in Shells, fixes #5566

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7726 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-10 02:14:57 +00:00
mark_story
aa217716b9 Applying patch from 'halogenandtoast' Fixes issues with deleting cookie values before read() is used. Closes #5563
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7725 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-10 01:16:04 +00:00
renan.saddam
67abae6307 Adding remaining tests to I18n (rule 11-14).
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7724 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-10 00:39:01 +00:00
gwoo
88e5d14c3c small fix to the Cache::read() use of Cache::set() when using default configuration
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7723 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 23:24:28 +00:00
gwoo
9a22018e40 removing some unneeded code from scaffold
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7722 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 22:26:33 +00:00
AD7six
488f1f41ee correcting test to use DS rather than / seperator
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7721 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 17:42:10 +00:00
AD7six
ad059df35d changing simpleTest test to use app import
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7720 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 17:23:17 +00:00
renan.saddam
42241b2b27 Removing if block missed from an older refactoring.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7719 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 17:16:39 +00:00
gwoo
62d1f367db adding test cases to show #5553 is invalid, $uses is not merged when == null.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7718 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 17:03:44 +00:00
mark_story
fb4277a852 Updating css.php to use App::import(). Closes #4613
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7717 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 03:43:42 +00:00
mark_story
136f9c4b6d Removing getAco(), getAro(), setAco(), and getAco() from AclComponent. These methods were deprecated and not removed. Refs #5561
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7716 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 03:35:17 +00:00
mark_story
17e2b4c054 Applying patch from 'Pixelation' fixes cross platform issues in cookie test. Closes #5559
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7715 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 02:35:33 +00:00
TommyO
d5dbb7ba32 Fixed problem where already-authorized user was failing.
Added return of respond code found on success, allowing for more fine-grained post-query activity.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7714 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-08 17:53:48 +00:00
mark_story
5c962accc1 Fixing timehelper::fromString when input time is invalid.
Tests added and renamed for better consistentancy with other tests.
Closes #5556

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7713 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-08 17:19:07 +00:00
renan.saddam
e184838451 Adding tests to L10n and refactoring to be more readable.
Removing duplicated entry of es-mx. Fixes #5087.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7712 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-08 14:01:50 +00:00
mark_story
acce4fa54e Adding interval to minute() attributes when timeformat = 24.
Tests added.
Closes #5428, refs #4641

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7711 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-07 16:57:22 +00:00
mark_story
11a29679e4 Fixing issue in CakeTestFixture, where $import'ing models required connection to be specified, default connection should be automatic.
Caused by changes in ClassRegistry::init().
Closes #5519

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7710 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-07 03:58:04 +00:00
phishy
091325bcd1 Fixes #5539 - $config prototype was not being set correctly
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7709 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-07 00:55:51 +00:00
mark_story
06955ad42f Removing stray comment from last commit.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7708 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-06 23:58:35 +00:00
mark_story
5ca239870d Adding tests to disprove #5540. Closes #5540
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7707 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-06 23:57:27 +00:00
the_undefined
38bc438fc7 Applying patch by rnowotniak, fixes #5523
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7706 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-06 10:43:57 +00:00
mark_story
b5473a5f9b Refactoring variable names, more readable variable names.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7705 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-06 02:44:05 +00:00
mark_story
a5feed0284 Updating method names and doc blocks in model.test. Closes #5516
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7704 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-05 22:26:40 +00:00
AD7six
3ddc5e6be2 adding failing testcase for identical <cake:nocache> content confussion.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7703 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-05 18:27:02 +00:00
phpnut
385ebbce1f Closes #5509 Executable flag set on sequencial_nocache.ctp
Closes #3817 Some non-executable files in source tree have executable permissions

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7702 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-05 00:19:25 +00:00
nate
ae8a6b958a Disabling query caching in DboMssql::listSources(), fixes #5514
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7701 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-04 22:06:56 +00:00
nate
34c5f74300 Changing handling of numeric node values in Xml class, fixes #5520
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7700 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-04 19:50:38 +00:00
mark_story
9c734f32a2 Adding test to disprove #5521
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7699 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-04 18:01:48 +00:00
mark_story
08866a90ca Updating tests in cake_test_case test, so they run in group test.
Fixing issue in cakeTestCase when running tests with fixtures. Fixture tables were not being created if $test DB config and $default DB were using the same database. Closes #5519

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7698 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-04 16:35:53 +00:00
nate
b29f805632 Allowing $attributes param of FormHelper::select() to be null, fixes #5518
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7697 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-03 21:55:41 +00:00
mark_story
b2bda3d1bd Changing spelling of neighbours to neighbors. Closes #4948.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7696 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-03 21:23:13 +00:00
mark_story
2a115d0fa3 Updating doc block for Model::find() adding references for missing find types. Closes #4948
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7695 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-03 18:06:15 +00:00
john
f3de3ce9af Adding svg and svgz mime types to the media view, both as 'image/svg+xml'.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7694 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-02 16:25:35 +00:00
nate
0c64ddfa49 Copying changes from app/webroot/js/vendors.php to cake/console/libs/templates/skel/webroot/js/vendors.php, fixes #5508
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7693 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-02 14:32:54 +00:00
nate
faa8e8af60 Updating 1.1 and 1.2 verison numbers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7692 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-02 05:06:48 +00:00
gwoo
443491e7fa reverting changes from 7668
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7689 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-02 02:16:09 +00:00
nate
300dbc5e91 Correcting how parameters and default values are merged in Controller::paginate(), fixes #5503
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7688 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-02 00:46:26 +00:00
mark_story
915a1e119d Adding test to Auth.test to cover logged in user being denied on an action when there is no HTTP_REFERER set. Refs #5507.
Fixed tests that break when Routing.admin is not set.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7687 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-02 00:18:47 +00:00
nate
62184023d5 Allowing custom salt values in Security::hash(), thanks Jippi
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7686 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-02 00:03:52 +00:00
TommyO
3da0451907 Added basic mb_encode_mimeheader() to Multibyte class.
Modified EmailComponent to take advantage of multibyte support. fixes #5448
Modified EmailComponent to fix newline issues in long subject lines when using mail send method. fixes #5049

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7685 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-01 18:36:38 +00:00
nate
2bfd5a4b3e Refactoring schema test and fixing formatting, refactoring Model::_findCount() to use DboSource::calculate() in all cases, closes #4501
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7684 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-01 15:27:29 +00:00
mark_story
1a0299d257 Adding tests to basics.test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7683 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-01 00:09:00 +00:00
nate
8758f36915 Correcting table index formatting for schema generation in DboPostgres, fixes #5471, docblock formatting fixes in ClassRegistry.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7682 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-30 18:59:17 +00:00
mark_story
1ae8cda6c2 Adding documentation to beforeValidate(). Closes #5498
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7681 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-30 00:13:15 +00:00
nate
4b8acf4647 Adding 'type' key to both sets of query calls in Controller::paginate(), fixes #5441
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7680 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-29 21:19:37 +00:00
AD7six
2cb2ca554c Correcting env('HTTP_BASE') ensuring that when used with no subdomain (http://example.com) it does not return '.com' as the HTTP_BASE
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7679 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-29 18:01:52 +00:00
nate
badfb42c6a Fixing issue with file upload inputs not being factored into form security hash, closes #5489
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7678 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-29 16:23:39 +00:00
mark_story
bf3e254987 Removing secure() from FormHelper::submit(). Removes creation of multiple _Token inputs when multiple submit buttons are created. Fixes #5490.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7677 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-29 01:58:27 +00:00
phpnut
d98137b272 Fixing text in a test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7676 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-28 23:55:40 +00:00
the_undefined
b0cca2c61e Added new problem that needs fixing
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7675 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-28 18:02:25 +00:00
the_undefined
aab1e506a1 Fixes #5225
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7674 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-28 17:41:23 +00:00
TommyO
901c64abde Minor refactoring to better respect static method definitions, and to improve on unnecessary singleton instances.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7673 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-27 17:57:48 +00:00
mark_story
e8945ef04f Fixing doc block and method visibility doc tag for Configure::buildPaths(). Closes #5488
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7672 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-27 14:56:32 +00:00
mark_story
b6f9e1e537 Correcting scaffold view file implementation. Was incorrectly using separate add and edit templates. Changes bring scaffold templates more inline with bake templates.
Tests added to cover use with both primary app and plugins. Refs #4862 and closes #5484 

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7671 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-27 03:48:23 +00:00
renan.saddam
0a0ba598e5 Proving that ClassRegistry will not overwrite alias from associations. Closes #5482 as invalid.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7670 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-27 02:38:15 +00:00
john
6ad3cfa0ef Enhancing Set::map() so that it doesn't override manual setting of _name_. Test case enhanced to make sure it does so.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7669 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-26 21:11:51 +00:00
gwoo
f8f4bcc16c fixes #5482, playing with model that uses alias
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7668 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-26 15:27:36 +00:00
mark_story
1a0d87ba83 Correcting type and expanding documentation for Model::invalidate(). Closes #5481
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7667 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-26 15:14:31 +00:00
gwoo
e6b994bcb1 updating handling of required classes, fixes #5480
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7666 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-26 14:03:16 +00:00
renan.saddam
a628dfa028 Added test to prove #5482 (Trying to get property of non-object).
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7665 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-26 01:37:17 +00:00
mark_story
370b20dce6 Minor optimizations
Closes #5249 and #5282

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7664 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-26 00:46:53 +00:00
mark_story
c416b5d241 Removing cruft from form test
Adding test descriptions.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7663 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-26 00:07:57 +00:00
mark_story
62168bfe0f Updating doc blocks to include access and return PHPDOC tags.
Removing use of e() in Debugger.
Fixing code formatting in CookieComponent
Closes #5477

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7662 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-25 16:49:56 +00:00
mark_story
bd57349665 Updating help for schema shell. Clarifying use of schema dump.
Reformatting help for other commands.  Closes #5407

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7661 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-25 03:50:45 +00:00
renan.saddam
8cc72d853d Added test to disprove ticket #3771. Closes #3771 as invalid.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7660 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-25 00:58:06 +00:00
nate
ee36956000 Minor security class refactoring.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7659 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-24 23:05:51 +00:00
nate
eb7fb6d7e3 Re-implementing form hashing security to using string-based keying. Fixes #5262, fixes #5300
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7658 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-24 23:02:14 +00:00
gwoo
7266f86d14 fixing some errors in schema and test shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7657 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-24 13:49:37 +00:00
renan.saddam
3f8c959ab3 small refactoring for the ClassRegistry
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7656 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-24 13:37:06 +00:00
DarkAngelBGE
5aade5b581 small return home early refactorings for the set class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7655 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-24 12:08:24 +00:00
DarkAngelBGE
cc425a5e0a adding a couple whitespace corrections (trailing tabs, newlines, ..)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7654 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-24 11:52:29 +00:00
renan.saddam
3459fef98f Fixing wrong class_exists check. Fixes #5474.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7653 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-24 02:12:35 +00:00
renan.saddam
5245b3fa7c Added test to prove #5474. Refs #5474
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7652 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-24 02:00:57 +00:00
mark_story
3662f8c4d0 Changing how Folder Class is loaded. Fixes infinite loops resulting in segfault under apache 2 when Cache.disable = true and debug = 0. Closes #5458
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7651 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-24 00:33:54 +00:00
DarkAngelBGE
4ce3f21608 adding missing options array in Model::beforeValidate(0 and Model::beforeSave() as they are called with them out of the model and it is good practice, although they are meant to be overriden; closes #5470
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7650 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-23 18:50:27 +00:00
DarkAngelBGE
e245d18ed8 fixes #5469
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7648 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-23 12:04:02 +00:00
DarkAngelBGE
c8ab1ec092 small readability refactorings for Set::filter() and Set::matches()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7647 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-23 11:33:36 +00:00
mark_story
676459224c Adding patches from andy__ to dbo_odbc
Schema related functions will not work due to the way odbc works.
Closes #5398

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7646 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-23 02:59:05 +00:00
DarkAngelBGE
caa4e321f2 Fixing unneeded conditions in child queries when conditions are present in the model declaration; fixes #5323
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7645 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-22 20:08:31 +00:00
nate
24b444ca55 Fixing behavior initialization in model construction, adding Set::flatten() utility method for future refactoring, updating Set test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7644 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-22 16:32:41 +00:00
gwoo
ea7981023b updating doc block for Cache::set() refs #5460
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7643 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-22 13:06:26 +00:00
phpnut
8b45eeed8b Fixing MediaView so it will stop reading file when connection is aborted.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7642 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-22 05:35:36 +00:00
mark_story
fafb01b09d Fixing modelClass when using plugin models.
Added TestPluginPost to test_app/test_plugin
Test case added.
Closes #5459

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7641 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-22 04:10:49 +00:00
nate
d9b357d05c Making Model::$_findMethods protected, and fixing fatal error when table calls are attempted on a model with a missing table
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7640 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-21 04:09:16 +00:00
nate
80c1950530 Refactoring FormHelper security token generation, fixing code formatting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7639 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-21 04:06:37 +00:00
nate
42911f5bc3 Adding example Ajax layout for Auth test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7638 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-20 21:48:43 +00:00
nate
fc5b128d68 Refactoring Auth test, adding coverage, and enabling custom Ajax layouts (as specified by RequestHandler), fixes #5446
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7637 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-20 20:18:16 +00:00
mark_story
9482105abe Applying patch from renan_saddam. Fixes session checkAgent logic. Closes #5450
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7636 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-20 13:51:49 +00:00
nate
f695170365 Fixing console routing commands and implementing route loading so commands work with lazy route compiling
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7635 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-19 21:33:59 +00:00
nate
91838d6d5d Fixing bug in RequestHandler::prefers() not respecting accept order for single items, test case updated
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7634 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-19 19:48:22 +00:00
the_undefined
740bd4e769 Partial fix for #5225
Corrected expected behavior for 2nd issue

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7633 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-19 18:08:27 +00:00
gwoo
931d996d90 fixes #5438, multiple binding with alias
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7632 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-19 15:27:43 +00:00
renan.saddam
4f5a51d79d Proving bad condition structure when Session.checkAgent equal to false. Refs #5450
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7631 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-19 02:57:58 +00:00
renan.saddam
5cedddb9d2 Fixing since tag from file added on last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7630 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-19 02:40:07 +00:00
renan.saddam
597f7642fa Added tests to disprove strange App::import behavior. Closes #5395
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7629 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-19 02:37:20 +00:00
renan.saddam
f080163e8a Added test to disprove multiple calls to session start. Closes #5328
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7628 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-19 00:55:42 +00:00
mark_story
768e25c4fd Updating Controller::paginate(). Custom paginate() and paginateCount() methods now receive $extra params similar to find('all') and find('count') do. Allows the use of things like 'contain' with custom paginate() methods.
Test case added. Closes #5433 refs #5123.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7627 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-19 00:46:20 +00:00
renan.saddam
8fadcbafea Added test to show parent transversal bug. Merged patch from 'sneeka2'. Refs #5225
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7626 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-19 00:01:48 +00:00
phpnut
953db61447 Adding ability to cache content rendered with MediaView.
Fixed header()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7625 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-18 06:37:35 +00:00
mark_story
0f9a4e0470 Optimizing in_array() checks to isset().
No more in_array($a, array_keys($b)) patterns exist.
Closes #5161

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7624 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-18 03:40:28 +00:00
phpnut
8ae5866a1c Additional optimization refactoring
Removed ability to use deprecated / with plugin, helper, etc combinations. The dot notation is only allowed from this point forward.
Corrected tests for the above changes.
Corrected formating in basics.php

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7623 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-18 03:09:19 +00:00
nate
e3788dd6fa Updating XmlHelper test case for consistency with recent quoting fix
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7622 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-18 02:33:33 +00:00
renan.saddam
3e8261b465 Proving error when try to overwrite association name with bindModel. Refs #5438
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7621 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-18 01:54:31 +00:00
nate
66240f0c5d Refactoring DboPostgres and adding '.' to sequence name detection, fixes #5424, fixing code formatting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7620 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-18 00:23:17 +00:00
gwoo
fd73cf738a adding umask back to Folder class, see #27 for some amusement
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7619 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-17 21:54:36 +00:00
mark_story
f65de0b28d Adding test to dispatcher.test.php showing paths with named params. Tested on windows XP with apache 2.x and php 5.x Disproves #5445.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7618 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-17 21:08:50 +00:00
nate
e3d7aee9da Adding option to disable POST data validation in Security component, fixes #5412
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7617 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-17 15:27:41 +00:00
nate
85646b1908 Small refactor of Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7616 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-17 15:26:31 +00:00
nate
906dbcccbf Ensuring Dispatcher does not return an empty action, fixes #5434
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7615 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-17 15:17:23 +00:00
mark_story
05a5eda3d1 Adding CSS for skipped test icon to test suite.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7614 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-17 12:35:39 +00:00
mark_story
26a6a0e36f CakeSchema no longer takes tables that are not properly prefixed. Tests added to show prefixed db config and schema read. Closes #5413
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7613 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-17 01:47:19 +00:00
mark_story
616fac0f99 Applied patch from 'grigri' updating Model test to clear possible mis-interpretation of test cases. Closes #5439
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7612 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-16 17:17:24 +00:00
nate
14b17fed39 Changing private methods in Security component to protected
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7611 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-16 01:39:20 +00:00
mark_story
65cbbcf019 Changing '.id' to primaryKey reference. Closes #5437
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7610 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-16 00:42:01 +00:00
the_undefined
3ff9c49f82 Performance improvements by removing array_merge
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7609 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-15 18:05:31 +00:00
the_undefined
0e621885ab Fixed docblock error
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7608 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-15 18:05:26 +00:00
gwoo
06ee84a128 fixes #5429, Xml::toString() quotes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7607 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-15 11:50:51 +00:00
mark_story
44cf61b240 Updating doc blocks for ajax helper. Closes #5426
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7606 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-15 04:03:15 +00:00
mark_story
593871d58f Removing redundant html escaping from ErrorHandler
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7605 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-14 23:24:01 +00:00
phpnut
5658e26e07 Changing comparison operators to === (identical) which is faster than == (equal)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7604 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-14 17:17:49 +00:00
DarkAngelBGE
35a2b466de performance improvements for code coverage analysis
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7603 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-14 12:14:39 +00:00
AD7six
93c5b68a93 fixes #5427 missing brackets for connection_aborted call
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7602 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-14 09:14:59 +00:00
mark_story
2b984bed94 changing array_key_exists to isset. Refs #5161
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7601 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-14 05:00:05 +00:00
phpnut
869cd1fe36 Small fix for MediaView randomly outputting 1 and corrupting output.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7600 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-14 03:02:57 +00:00
mark_story
ca584c5f1d Removing error suppression from mysql and mysqli drivers. Refs #3877
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7599 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-14 02:28:12 +00:00
mark_story
2c5819ed67 Removing object from ClassRegistry fixes broken tests in dbo_source.test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7598 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-14 02:08:29 +00:00
phpnut
2b95df3abf Additional optimization refactoring
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7597 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-13 18:59:30 +00:00
phpnut
cb487bd6e6 More optimization refactoring.
Fix cache but causing  object_map to be created and deleted on each request.
Replacing function and method calls with better performing code.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7596 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-12 05:11:34 +00:00
nate
c9c18741fb Small security fix for Auth component when invalid Ajax request is triggered with no $ajaxLogin set
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7595 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-12 02:10:55 +00:00
nate
8b3a0a8782 Adding $options param to DboSource::execute()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7594 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-12 02:09:38 +00:00
nate
b7b235c2a5 Small test-correcting fix for Dispatcher
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7593 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-12 02:06:53 +00:00
gwoo
970ef7dc56 fixing issue in schema when model does not use a table. updating cache test to properly test Cache::set()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7592 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-11 13:35:11 +00:00
AD7six
0df14f183f adding cache test with multiple no cache tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7591 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-10 16:48:43 +00:00
the_undefined
4a5c4b3659 Removing random char
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7590 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 22:18:49 +00:00
the_undefined
c7ccc5ae71 Added dropTables option to CakeTestCase
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7589 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 21:49:49 +00:00
phpnut
bfa180e4af Setting missing props on files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7588 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 18:51:28 +00:00
phpnut
8a30e58504 Fixing class name in doc comment
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7587 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-09 18:48:13 +00:00
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
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
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
mark_story
c58e58a491 Adding tests for secured forms. Fixes the issues related to checkboxes in multi row forms.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7533 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-29 03:11:35 +00:00
renan.saddam
f817cb9a07 Added more tests to resetBindings at ContainableBehavior. Closes #4988, #4934.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7532 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-29 02:13:55 +00:00
gwoo
dde620edb4 fixing bug in Set:map() handling of recursive records
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7531 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-28 18:16:40 +00:00
mark_story
84b6d1b66c Removing pear from supported list of drivers. Adding odbc. Closes #5349
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7530 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-28 16:47:30 +00:00
renan.saddam
3dc8bcbfe8 Fixing typo in test method name. Fixes #5348
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7529 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-28 12:08:36 +00:00
renan.saddam
db5235261e Proving correct especial char encoding. Closes #5335
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7528 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-28 02:37:37 +00:00
phpnut
6bdc60731f Adding more changes to improve performance. Fixes loading of Models when instance has already been created in the registry
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7527 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-27 16:43:15 +00:00
AD7six
5e11e1490b fixes #5339 incorrect bracketting for bindModel statement in tree behavior recover method. removing the actsAs key
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7526 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-27 14:05:58 +00:00
nate
e64af40530 More fixes for Postgres boolean handling, fixes #5327
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7525 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-27 12:42:13 +00:00
phpnut
32e5f7c886 Removed unused tests route, this route has been obsolete for some time.
Reducing calls to Router::getInstance(); by almost half, increasing performance on applications larger than a hello world benchmark.

Before changes 5551 requests.
After changes 2873 requests.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7524 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-27 12:36:57 +00:00
gwoo
8805173355 refactoring Inflector
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7523 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-27 12:25:40 +00:00
gwoo
bae3424fb2 fixing questionable test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7522 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-27 11:17:54 +00:00
DarkAngelBGE
fa4c69fb29 commenting failing Set::extract() test because of additional SimpleTest errors showing up when performing the Identical Expectation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7521 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-27 09:10:05 +00:00
DarkAngelBGE
384c5a0624 adding failing test that proves #5225
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7520 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-27 08:53:44 +00:00
DarkAngelBGE
7863669dab prevent model->save() validating all fields when a fieldList option is supplied, closes #5320
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7519 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-27 08:01:00 +00:00
nate
1940d8877c Fixing Model/db $cacheSources conflicts, model can now disable only. Fixes #5177
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7518 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-27 04:55:15 +00:00
nate
57e53775ff Automatically unescaping binary data in DboPostgres, and auto-handling boolean values, fixes #5118
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7517 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-27 04:21:01 +00:00
phpnut
80fa429785 Adding fix for undefined notice in vendors.php
Removed check for required file in Cache::!__loadEngine();
Fixed cache being wrote on each request from Configure::listObjects(); when data was an empty array
Removed extra call to App::getInstance(); in App::import();
Moved setting of App::!__loaded; inside of if statement.
Removed cake core install directory paths from the cached dir_map.
Changed uses('file'); to require statement in file.php
Changed uses('set'); to require statement in inflector.php
Removed check for existing inflections.php since this file has been included in 1.2 since Dev releases.
Added additional test for Helper::clean();
Fixed bug in Helper::!__clean();
Fixed random output of 1 when using MediaView;
Added csv mime type to MediaView



git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7516 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-27 03:42:17 +00:00
gwoo
7fe1a03fda fixes #5331, model alias no longer overwritten
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7515 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-27 01:30:09 +00:00
mark_story
7e039ee62d Adding additional tests to XML.
Added XML group, updated RssHelper and XmlHelper tests to not cause issue when run as part of a group.  
Updated assertions on helper test.  
Fixed broken methods in XML

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7514 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-26 23:15:48 +00:00
john
94af139170 Adding case for HABTM with extra fields in Set::map tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7513 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-26 18:51:23 +00:00
gwoo
173e53eb25 closes #5324,applying patch from davidpersson for typos in schema
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7512 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-26 18:39:18 +00:00
mark_story
8a76b86c85 Updating doc block for Controller::flash(). Closes #5333
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7511 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-26 18:35:44 +00:00
gwoo
253c5a87ec closes #5330, broken camelCased actions from [7502]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7510 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-26 18:33:00 +00:00
mark_story
6086e96a61 Adding inflection rule for empty string. Fixes #5325. Tests added.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7509 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-26 18:30:54 +00:00
Jippi
fc012dc32f Adding test for incorrect escapeing of numeric fields with value '' in postgresql dbo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7508 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-26 16:41:41 +00:00
gwoo
65df6ca0d8 closes #5322
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7507 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-26 14:39:37 +00:00
DarkAngelBGE
285d075475 Fxiing validation error when trying to update records using saveAll for hasMany fixes #4981
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7506 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-26 13:31:07 +00:00
gwoo
59efe5c445 fixes #5209, appending node in Xml. Adds more test coverage form Xml class and adds removeNamespace for convenience.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7505 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-26 01:18:15 +00:00
gwoo
47d36456f8 updating dispatcher test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7504 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-25 22:57:24 +00:00
gwoo
ecac053ea2 minor optimization on loading helpers in view
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7503 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-25 22:56:56 +00:00
gwoo
126602902d fixes #5313, browser freeze with content length header on compressed assets. Some refactoring to improve speed, refactored Folder class to use read() inside of tree()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7502 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-25 22:55:10 +00:00
gwoo
e35a215883 fixes #5307, model name being overridden by class registry for no reason, thanks to vizjerai for the helpful ticket.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7501 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-25 22:33:36 +00:00
gwoo
4b3a5f5df0 fixes #5314, cache settings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7500 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-25 20:15:08 +00:00
gwoo
78a2eb2723 fixes #5194, cake bake with no params
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7499 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-25 18:52:50 +00:00
gwoo
33da4b0e75 fixes #5221, overflow bug in mozilla
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7498 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-25 18:29:22 +00:00
mark_story
c4b4c25402 Removed BOM from form.php. Closes #5317
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7497 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-25 14:57:37 +00:00
mark_story
9ae4975bff Applied patch from 'biscazziere' updated TimeHelper::timeAgoInWords() to be i18n friendly. Closes #5082.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7496 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-25 03:15:10 +00:00
gwoo
921a5770db fix for Set::reverse() with _name_
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7495 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-24 22:08:13 +00:00
mark_story
d8e1778a0d Adding additional tests to expand coverage of stripping script elements.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7494 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-24 19:01:54 +00:00
mark_story
c54fd3c720 Applied patch from 'djclue917' to fix multiple file uploads for multi record forms. Tests Added. Closes #5237
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7493 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-24 16:44:33 +00:00
mark_story
9895f6d39b Added check in AuthComponent::hashPasswords() to ensure that data is an array. Tests Added.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7492 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-24 15:18:37 +00:00
mark_story
ce8dccc1fc Expanding docblock on model::save()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7491 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-23 21:31:38 +00:00
mark_story
e114cc4e80 Adding test case for CakeTestCase (72% coverage). Adding necessary pieces to test_app as well.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7490 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-23 17:28:08 +00:00
nate
b0b10f16ce Moving operator checking in DboSource::__parseKey(), fixes #5294 (extra = being added to queries with bound parameters)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7489 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-23 14:50:27 +00:00
gwoo
fb47301258 adding _name_ property to nested Set::map() objects
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7488 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-22 19:17:48 +00:00
mark_story
792863a3b4 Adding test to illustrate #5302. Corrected Error in doc block. Closes #5302
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7487 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-22 17:50:32 +00:00
nate
6f660812ca Adding FormHelper security token patch from renan.saddam, fixes #5061, adding test to disprove #2729 (FormHelper::input() and float fields)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7486 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-22 16:05:34 +00:00
nate
dbbbccdf18 Refactoring Router, fixed coding standards. Fixed quoting issue in DboSource::name(), affecting quoting of fields starting and ending with ()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7485 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-22 04:06:29 +00:00
mark_story
4db90553ec Router::parse will now pass ids of '0'. Test Added. Closes #5299
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7484 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-22 03:27:07 +00:00
mark_story
5199c5cb9d Fixed issues with inifinite recursion on missing component. Refactored missing helper errors. Closes #5297
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7483 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-22 01:52:37 +00:00
gwoo
a17e64d108 fixes #5293, memcache initialization
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7482 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-21 16:57:59 +00:00
mark_story
79c4b5bb36 Fixing doc block typo. Closes #5296
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7481 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-20 18:05:26 +00:00
mark_story
44d454fe77 Removing getTests() on last commit.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7480 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-20 02:38:08 +00:00
mark_story
b4c14ab89c Adding tests for db source prefix switching. Refs #5266
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7479 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-20 02:37:23 +00:00
mark_story
a59f4d0170 Adding conditional check for constant. Removes notice when running all_tests group. Closes #5281
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7478 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-19 01:34:44 +00:00
mark_story
21acac5c59 Removing Helper::assign()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7477 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-19 01:25:33 +00:00
mark_story
b3b9827862 Changed check for tablePrefix. Closes #5266
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7476 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-19 01:18:33 +00:00
mark_story
158d19e0a0 Removing variable assignment from $this->{$className}->recursive = -1; Fixes #5280
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7475 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-18 23:28:16 +00:00
AD7six
01eec6b12e adding test case for complex, calculated, sort expression
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7474 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-18 18:34:01 +00:00
gwoo
582d8277fd fixes #5119, PDT warning in acl.ini.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7473 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-16 18:04:28 +00:00
gwoo
9af76b2512 fixes #5226, locale in translate behavior
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7472 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-16 16:39:48 +00:00
mark_story
d6f5d9782c Fixing typo in ClassRegistry Doc block. Closes #5274
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7471 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-15 17:11:54 +00:00
mark_story
a53a08574d Added ClassRegistry::flush() to testAction(). Repairs issue with view vars not being unique between testAction() calls in the same test case. Closes #5273
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7470 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-15 17:08:00 +00:00
mark_story
fb5a0a6f12 Removed collision with testCase fixtures, causing fixtures to be missing when running testAction() more than once per test case. Closes #5267
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7469 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-15 01:26:24 +00:00
mark_story
5874916ccb Adding Tests to cover 'in' when doing finds, and making multi record forms with loops.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7468 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-15 01:12:31 +00:00
mark_story
3fb44e4485 Adding 'submitOnBlur' to $editorOptions. Closes #5263
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7467 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-14 21:03:15 +00:00
nate
dfc115d5da Updating findCount() calls to find('count') in Model test, fixing custom field counting support, regex typo in DataSource
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7466 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-14 16:52:29 +00:00
gwoo
7d9af97bd0 fixes #5261, return by reference in class registry
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7465 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-14 06:09:31 +00:00
mark_story
9cb854b48e Fixed default values being declared for integer column types when default = ''. Closes #5244
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7464 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-14 00:33:44 +00:00
gwoo
074ede4639 adding additional case for Router::normalize() and Controller::referer() to show #5157 is invalid
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7463 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-13 18:07:52 +00:00
gwoo
0b8d7027ec fixes #5259, undefined variable in CakeTestCase
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7462 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-13 16:24:21 +00:00
TommyO
fe62d7f70d Allow smtp response to be handled more efficiently by Socket class.
Parse test for smtp response checks more accurately at the beginning of the response.
Fixes #5062.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7461 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-13 16:06:23 +00:00
mariano.iglesias
0b5fbe04f6 Making code PHP4 friendly again
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7460 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-13 11:29:33 +00:00
mark_story
fb15d71284 Fixing CakeTestCase::testAction() Now works as expected. Closes #5246
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7459 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-13 01:22:33 +00:00
gwoo
6fb27553f1 fixes #5254, setting secure session cookie when https is used
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7458 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-12 23:47:00 +00:00
gwoo
abfaf85955 reverting change to CakeSocket::read()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7457 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-12 23:02:39 +00:00
gwoo
34b4ecb9c2 correcting usage of feof in CakeSocket::read()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7456 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-12 22:42:33 +00:00
nate
1fa9939965 Refactoring Cache key generation, fixing SQLite cache, and invalidating cache on database reconnect
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7455 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-12 21:08:51 +00:00
gwoo
995040a98a fixes #5239, primary key for HABTM, reverts last change for #5233 which broke the tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7454 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-11 16:18:19 +00:00
AD7six
460223b61a fixes #5203 - removeFromTree should return after deleting a node with no children.
Also modified removeFromTree to set the parent_id to null if removeFromTree is called on a node with no children and
	delete is set to false


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7453 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-11 15:54:54 +00:00
gwoo
8cb73ead3c fixes #5233, uppercase fields in containable
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7452 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-11 15:11:06 +00:00
gwoo
1ba01ef786 fixes #5227, adodb fetch row
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7451 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-11 14:42:37 +00:00
gwoo
fb3eb24a0d fix for xml::toArray to allow any node to use it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7450 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-10 16:26:43 +00:00
mark_story
a180071f6c FormHelper::checkbox() now sets name of hidden field when name option is set. Closes #5224
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7449 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-09 22:08:17 +00:00
mark_story
3a06f840c3 Adding patch from 'dardosordi' fixes RequestHandler type detection with character set. Closes #5223
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7448 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-09 18:32:59 +00:00
renan.saddam
cd09746201 Added tests to prove wrong generation of hash when hidden value equal to 0 (zero). Refs #5061.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7447 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-08 15:08:18 +00:00
mark_story
9e51a64f87 Adding additional doc block explanations for method options.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7446 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-08 12:29:49 +00:00
gwoo
2ecfeb182d fixes #5228, wrong numbers in model task validation routine
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7445 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-08 08:53:50 +00:00
mark_story
01db539c39 Missing append operator, causing field name output to not be generated fixed. Closes #5228
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7444 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-08 03:59:06 +00:00
mark_story
54fa1833e8 Added category handling to RssHelper. Additional tests added. Closes #5135
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7443 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-08 03:49:53 +00:00
gwoo
cda0009723 Fixing registry so the model group has
8/8 test cases complete: 1509 passes, 0 fails and 0 exceptions.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7442 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-07 18:53:05 +00:00
mark_story
1d94d3ccfd Removed $ from model task. Closes #5216.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7441 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-07 17:06:03 +00:00
nate
b3395569cf Fixing quoting for complex conditions in DboSource, fixing broken DboSource tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7440 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-07 16:38:15 +00:00
gwoo
76f7d6dc43 making changes to all the model group to run. Currently I get 8/8 test cases complete: 1486 passes, 22 fails and 3 exceptions.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7439 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-07 15:36:26 +00:00
AD7six
99e3b11a61 correcting name variable of AclPerson model used in acl tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7438 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-06 14:13:01 +00:00
TommyO
48f55a0f56 Greatly modified the way newLine characters are handled.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7437 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-05 17:02:22 +00:00
gwoo
ed6ea45581 closes #5207, empty values in scaffold view
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7436 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-05 14:33:44 +00:00
gwoo
a29b328c16 closes #5206, adding clearstatcache() to File::delete()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7435 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-05 14:19:29 +00:00
renan.saddam
5319e89b5c Refactoring RssHelper tests.
Adding tests to multiple category inside item. Refs #5135.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7434 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-05 03:24:18 +00:00
renan.saddam
57575402bc Removing deprecated methods. Commenting several classes.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7433 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-05 03:22:25 +00:00
mark_story
0f8326e376 fixing error from earlier
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7432 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-05 02:53:56 +00:00
gwoo
18c0e70151 fixing root vendor path which was changed in 7422
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7431 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-04 20:09:27 +00:00
mark_story
e7e43252f3 Allowing overriding of schema class and file name. Closes #5175. Fixed issue with php4 compatibility in CakeSchema
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7430 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-04 19:46:44 +00:00
DarkAngelBGE
b3f06defcd adding workaround for schema generate snapshot. Fixes #5159 Adding documentation for schema generate snapshot.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7429 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-04 16:53:39 +00:00
AD7six
ac6c22d910 Allowing schema test to run as part of a group test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7428 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-03 17:41:05 +00:00
AD7six
903b78d108 Changing FormatColumns to refer to model->alias instead of model->name
Test case modified to use a unique class name (to allow test groups to run)


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7427 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-03 15:32:33 +00:00
nate
c917c611dc Adding Spanish-language error message detection to DboMssql, fixes #5195
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7426 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-03 14:12:08 +00:00
mark_story
d9de0c6cd5 Adding documentation to doc-blocks for View
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7425 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-03 05:24:10 +00:00
mariano.iglesias
eb02ec4ca9 Fixing issue on Containable when multiple unbindings take place on the same model, fixes #5096. Fixing notices on unmergable results on DboSource.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7424 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-02 21:56:55 +00:00
AD7six
c3e28fdb66 correcting eroneous reference to $db in model tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7423 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-02 19:57:04 +00:00
AD7six
0bfaa1ab89 Modifying the core path method to break on the first found core installation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7422 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-02 19:49:54 +00:00
AD7six
53dcefff53 Modifying dbo_source to refer to $this->fullDebug rather than Configure::read() to determine whether or not to log
queries
modifying fixture loading to not log create, drop, truncate statements
correcting model tests that change fullDebug to reset to the value before the test ran


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7421 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-02 19:41:53 +00:00
DarkAngelBGE
f131b2e441 refactoring Security::hash(), fixing two broken tests in Security
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7420 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-02 14:44:42 +00:00
DarkAngelBGE
27125a247b fixing broken sanitize::escape() test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7419 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-02 14:31:50 +00:00
renan.saddam
a07a023bbc Added tests to prove conditions parsing complex keys bug. Refs #5134
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7418 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-02 14:26:50 +00:00
renan.saddam
616682decd Added tests to save data with non existent fields. Closes #5154 as invalid
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7417 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-02 00:50:40 +00:00
mark_story
9e9775ee53 Fixing clearCache() no notices are generated. Closes #5012
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7416 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 23:46:53 +00:00
the_undefined
8fb9a50d3c Added test for using Set::insert to overwrite keys with empty values and reverted change permitting it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7415 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 16:52:34 +00:00
AD7six
739c5169e4 fixes #5064 Preventing 'floating' results from being returned by find('threaded')
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7414 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 16:49:56 +00:00
mark_story
5ff62650e5 Correcting file layout in test_app. Fixing tests in Configure test and ThemeView Test.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7413 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 16:23:16 +00:00
mark_story
bdf4c8406c Fixing broken view tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7412 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 15:50:37 +00:00
nate
185a832e22 Removing column length from unsupporting columns in DboPostgres::buildColumn(), fixes #4804
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7411 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 13:10:37 +00:00
TommyO
570145d568 Added test to show (deprecated?) support of string status codes in redirect().
Fixed fail on string status codes in redirect().

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7410 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 11:27:53 +00:00
nate
8284872b82 Adding schema scoping to table description queries in DboPostgres, fixes #5006
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7409 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 06:33:01 +00:00
nate
793295036f Re-fixing Model::set() to allow for fields that don't exist, fixing model validation with messages, adding tests to prove parameter order for custom validation errors, refs #50005
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7408 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 06:28:59 +00:00
nate
661e757612 Refactoring configuration handling in DataSource
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7407 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 06:08:23 +00:00
nate
22edda11ad Adding FormHelper test to disprove ticket #5184
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7406 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 05:39:53 +00:00
nate
f5977baeb5 Fixing magic find methods in DboSource, and fixing DboSource::reconnect() to merge old params instead of overwriting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7405 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 04:54:54 +00:00
nate
974e62baf1 Adding file to previous commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7404 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 04:53:45 +00:00
nate
0119c0d46f Fixing HTML entity escaping in helpers, fixing broken XmlHelper test, all helper tests now passing
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7403 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 04:53:16 +00:00
mark_story
c5cfc77365 Removing php5 only code.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7402 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 01:34:17 +00:00
gwoo
4a94397b43 removing deprecated code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7401 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 01:04:03 +00:00
gwoo
cf8ddbada0 reverting accident commit in time helper from [7387]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7400 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 00:48:14 +00:00
gwoo
c350448cd8 adding a notEmpty rule to validation and updating bake default for strings to use notEmpty
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7399 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 23:58:20 +00:00
gwoo
b0d2451a97 removing optional instantiation of Set class. Adding toArray() to xml class and calling it from Set::reverse(); updated test cases.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7398 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 23:50:32 +00:00
gwoo
e8acb375ec fixes #5179, set::numeric and other fails in set.test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7397 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 19:36:28 +00:00
gwoo
4a5282bcd7 closes #5172, AuthComponent login with with UUID
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7396 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 19:00:12 +00:00
gwoo
7ce4bd4131 closes #5160, finishing tag implementation on paginator helper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7395 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 16:58:57 +00:00
renan.saddam
93c29a1f3a Added tests to cover numeric array comparison. Refs #5179
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7394 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 16:33:56 +00:00
gwoo
f6d269a9e0 closes #5142 primary key on custom join models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7393 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 15:38:23 +00:00
mark_story
f97a3f27b0 Quick update to AclBehavior test. Expanded coverage on deletion of dependant Nodes.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7392 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 03:35:26 +00:00
mark_story
3402f40061 Adding test case for AclBehavior. Modified AclBehavior to use $model->name for configuration and operation. Closes #5163
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7391 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 03:26:15 +00:00
mark_story
7f75f74f5b Updated test_plugin/tests views to reflect changes made in tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7390 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 00:55:24 +00:00
mark_story
8b28eec1ab Removed almost all am() calls from core.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7389 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 00:16:16 +00:00
gwoo
a4499befe3 fixes #4086 caching with params
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7388 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 21:14:22 +00:00
TommyO
b6e9888753 Replaced all instances of ife() in /cake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7387 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 20:34:01 +00:00
gwoo
565163303c changing ClassRegistry::params() to ClassRegistry::config()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7386 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 19:53:12 +00:00
nate
5c796f4dbe Disabling caching on SQLite table list queries, adding SQLite test, fixes #5174
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7385 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 19:18:48 +00:00
TommyO
7c7410bda2 Replaced instances of ife() with more sutiable alternatives in model.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7384 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 16:26:48 +00:00
DarkAngelBGE
501437baa0 introducing ClassRegistry::params() to fix testing of models associations; also removes the need for TestModels that extend the model under test to change the useDbConfig, fixes #5158, #5076 (kudos to nate)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7383 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 15:37:26 +00:00
DarkAngelBGE
eddf2ee5f3 conditional inclusion for ErrorHandler class in the session.test file in order to prevent the CakeSession class being redeclared when running the testsuiteshell; fixes #5092
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7382 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 14:00:36 +00:00
DarkAngelBGE
0948035eba fixing broken test in theme test file
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7381 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 13:57:24 +00:00
DarkAngelBGE
0d147f8652 fixing broken test in view test file
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7380 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 13:56:45 +00:00
DarkAngelBGE
1052d21522 fixing broken tests in FormHelper, closes #5088
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7379 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 13:40:59 +00:00
DarkAngelBGE
1fdc76ba1a enabling different paths for plugin tests closes #5105
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7378 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 13:39:17 +00:00
DarkAngelBGE
838ecb8527 doc comments for the test manager class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7377 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 13:37:06 +00:00
mark_story
3c1ebafa0a Modified dbo_mysql update() fixes issue with updateCounterCache on self join tables. updateCounterCache query optimized. Closes #4652, #5152
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7376 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 02:22:15 +00:00
mark_story
bd298f0ff3 Fixed broken test.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7375 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 01:12:03 +00:00
mark_story
4267a4f631 Added patch from 'cavendish' releasing previous result resources in resultSet(). Closes #4801
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7374 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-29 23:29:26 +00:00
mark_story
96b5a6fa87 Added test to prove #5125. Added documentation to updateAll.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7373 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-29 01:18:57 +00:00
gwoo
e0e20aa4fb fixing check for cache settings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7372 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-28 20:29:55 +00:00
gwoo
ce5550fb37 adding Cache::set() will change settings until write, delete, clear, or set is called. refactoring class to use Cache::set()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7371 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-28 02:29:58 +00:00
mark_story
ac45340a71 Optimization when checking for setTable prefix.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7370 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-27 15:55:49 +00:00
gwoo
460b219810 small refactor to Controller::paginate handling of sort direction
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7369 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-27 15:55:19 +00:00
mark_story
9b857e9f36 Added camelCase check for setTablePrefix. setTablePrefix now fires on PHP5. Closes #5147
Updated test in model.test to reflect changes in empty string handling for float and integer types.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7368 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-27 04:19:54 +00:00
mark_story
8185fb87fc cleaning up requires to be App::import()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7367 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-27 03:36:30 +00:00
mark_story
8d2e4721e3 Added checks for empty string in integer columns. value() Now returns NULL. Closes #5141
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7366 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-27 02:49:02 +00:00
gwoo
e26b7e7a63 refactor dispatcher, fixes #5033
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7365 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-26 20:09:20 +00:00
gwoo
caa7bb6218 updating cache engines so key will expire when duration is changed, updated datasource and configure to for new settings, closes #5083
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7364 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-26 20:00:20 +00:00
nate
4451c02b1c Corrects handling of fully-qualified URLs in Router::normalize(), fixes #4036
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7363 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-25 11:45:00 +00:00
mark_story
6add903d84 Corrected key in validation::multiple test. closes #5146
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7362 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 23:55:15 +00:00
TommyO
5dc4388fa0 Added tests for template and layout rendering. Currently fail as component doesn't wordwrap properly. May also explain #4498
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7361 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 13:54:39 +00:00
TommyO
e235e422ed log fix: Committed in error. No real changes made to file.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7360 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 13:52:37 +00:00
TommyO
c466cfdc8b Adding elements and templates to test app for EmailComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7359 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 13:34:46 +00:00
nate
b0b9c1e4bd Adding PaginatorHelper tests for additional custom URL settings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7358 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 04:04:21 +00:00
mark_story
cc098629a6 Added direction check to Controller::paginate(). paginate() now forces 'asc' when wrong. Added tests. Closes #5120
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7357 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 02:46:39 +00:00
mark_story
b45a369d1d Added string cast to FileEngine::read() closes #5094
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7356 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 02:23:46 +00:00
mark_story
d7b043a374 Fixing test_app/test_plugin files. Many had incorrect file / class names. Added tests to cover plugin class loading, and dispatching.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7355 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 02:19:05 +00:00
gwoo
d6d7bd68bd changing include to readfile, fixes #5033
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7354 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-23 20:53:59 +00:00
mark_story
c1dce9e7ff Implemented Validation::multiple() Tests added. Closes #5086, #3329, #4852
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7353 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-23 02:15:48 +00:00
mark_story
71634b6b1d Relaxing Sanitization on error messages to prevent UTF-8 characters from being stripped. Closes #5133
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7352 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-22 23:33:01 +00:00
mark_story
d9bb166721 Added firebird transaction commands. Thanks to 'daniele.teti'. Closes #5130
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7351 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-22 23:22:17 +00:00
phishy
9cf8a77e88 added fetchResult() wrapper
fixed queryAssociation(), it was producing invalid queries


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7350 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-22 12:20:18 +00:00
mark_story
2bf7181f05 Added check to Configure::getPaths() to account for chroot 'ed hosting. Tested with open_basedir. Closes #5093
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7349 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-22 01:12:53 +00:00
mark_story
0b23ec64ff Modified all remaining tests to use CakeTestCase. Switched all uses() calls to App::import().
Added tests to configure.test to test importing from plugins.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7348 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-21 02:40:58 +00:00
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
mark_story
c1bac3358a Adding additional tests related to prefix routing. Shows usage in paginator. Refs #5115
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7346 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-19 17:20:42 +00:00
mark_story
c19e7ff3da Modified test to use accented characters.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7345 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-17 17:14:28 +00:00
mark_story
993bee59fa Moving charset meta tag above title tag. Closes #5107
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7344 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-17 17:07:42 +00:00
the_undefined
d363dfccd1 Fixed documentation for date 'my' validation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7343 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-17 15:59:18 +00:00
mark_story
4355a13939 Altered TextHelper::truncate() when using exact = false and considerHtml = true close tags would be chopped off leaving incorrect Html. Closes #4941
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7342 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-16 12:40:49 +00:00
mark_story
2e5532348d Removed end of generated file whitespace from plugin bake task. Closes #5102
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7341 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-16 12:34:03 +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
joelmoss
029f2ab75c Created test to prove #4941. Refs #4941
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7339 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-15 11:01:44 +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
mark_story
c53669f928 Updated CSS files to remove display:block property on all inputs. Added additional padding to radio buttons. Closes #5073
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7337 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-13 23:28:45 +00:00
mark_story
684fb5fcce Replaced in_array() with array_key_exists(). Closes #4465
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7336 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-12 00:23:08 +00:00
mark_story
20851bd548 Added ability to singularize 'gloves', 'wolves', 'shelves' and other ves words. Added tests. Closes #5080
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7335 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-12 00:22:09 +00:00
mark_story
96fa4e4db1 Updated skel/config/routes.php to reflect .ctp extension. Fixed spelling error. Closes #5084
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7334 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-10 17:37:32 +00:00
mark_story
5ec8eef6ce Added userOffset check to timeAgoInWords, tests added. Closes #5068.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7333 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-10 03:30:28 +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
nate
0cd5b435d9 Adding Router tests to verify URL generation with flags and prefixes both in and out of context
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7331 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-09 14:28:32 +00:00
joelmoss
aa1b0c776e JavascriptHelper::blockEnd now correctly respects safe option. Test also added. Fixes #5074
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7330 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-09 12:08:51 +00:00
renan.saddam
8d644172c9 fixing broken test, improving code coverage
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7329 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-09 04:07:16 +00:00
mark_story
acdbf66f50 Adding tests to object test. Coverage now ~80%
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7328 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-09 03:15:01 +00:00
mark_story
a341e74f03 String::insert() now variable safe. Tests added. Fixes 5041.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7327 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-07 23:24:39 +00:00
gwoo
c3aa47f08e updating Securiity::hash(), closes #5060, closes #5044.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7326 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-07 17:13:09 +00:00
mark_story
e20944a976 Added patch from 'biesbjerg' corrects timestamps not being applied to Vendors css and js. Closes #5045
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7325 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-07 01:19:41 +00:00
phpnut
3713fe25ae Reverting change to Security::cipher(); in [7322]. Newer versions of PHP 5.2.1 and above no longer produce same identical seeds
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7324 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 15:03:46 +00:00
phpnut
ed0a031ec4 Adding correct test cases for #5046 showing proper prefix usage, closes #5046 as invalid
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7323 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 14:48:09 +00:00
phpnut
9bc1acb2ec Closes #5051, AjaxHelper form function should use mt_rand() instead of rand().
Replaced all rand() with mt_rand() in the core.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7322 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 14:31:22 +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
d853520e46 Fixes #5025, UTF8 signs are not treated correctly at form validation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7320 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 13:25:22 +00:00
phpnut
1c2b1ef8eb Fixes #5008, DBO Source fails on >= query fixes failing tests added in [7302]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7319 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 12:56:56 +00:00
phpnut
84069e372f Fixes #5021, findAllThreaded does not work with tables that have set primaryKey to something other than 'id'
Removed am() from Model::_findThreaded();
Cleaned up error.php and dispatcher.test.php

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7318 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 12:37:18 +00:00
gwoo
20439c098b adding another test case for img from vendors, closes #5033
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7317 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 12:24:51 +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
phpnut
8b3dc85907 Committing test case I missed in [7314] for ticket #5016
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7315 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 10:27:29 +00:00
phpnut
30a49a39e4 Fixes #5016, Security->disabledFields not working properly. Empty value arrays needed to be unset
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7314 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 10:10:19 +00:00
phpnut
6ee4849172 Removing invalid test case added in last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7313 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 09:47:13 +00:00
phpnut
822c8978a9 Fixes #5002 Model name in PaginatorHelper sortKey.
Closes #5032
Small performance improvement in App::!__load();

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7312 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 09:44:42 +00:00
gwoo
5ddd330b11 closes #5019, updating test case to show that security component is operating as expected. fix for newLine in utf subject of email component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7311 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-04 14:18:01 +00:00
gwoo
a764b471f6 closes #5011, target _blank for all html links that open new windows
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7310 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-04 13:44:23 +00:00
gwoo
3ab12a868f updating controller test. closes #5029, if you change the content type with request handler in a test debug must be set to 0, see line 630 of RequestHandler. Fixed duration handling for core cache settings when debug equal to 1
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7309 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-04 13:26:43 +00:00
mark_story
23dac08d77 Updated non-existent variable, removes notice error, closes #5043
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7308 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-03 17:34: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
mark_story
c25ed9016a Fixed attributes being set for select elements in formHelper::dateTime() when $options[id] is specified. Closes #5013.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7306 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-03 00:46:42 +00:00
mark_story
80b6e027c1 Fixed infinite recursion on missingHelper error triggered by missing helper defined in AppController. MissingHelpers are now removed from the helpers array to prevent recursion. Closes #5010.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7305 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-02 00:54:53 +00:00
mark_story
a2fdf97c41 Added test for deep array read and writes.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7304 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-01 23:55:46 +00:00
nate
f6934e3237 Fixing test database checking in CakeTestCase
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7303 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-01 16:42:44 +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
DarkAngelBGE
90d243aabc adding constructClasses() call to controller test generation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7301 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-30 12:36:20 +00:00
nate
200673dfce Fixing database errors when no DB connection present on initial splash page
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7300 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-30 01:09:13 +00:00
mark_story
551cf75bbc Added check for empty array, removes warning. Closes #5012.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7299 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-29 21:26:37 +00:00
mark_story
4b1de6ac0e Added test for setting extension with Router::connect()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7298 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-29 20:24:06 +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
2967fd8d01 Merging 1.2.x.x changes and enhancements to trunk: [7295] [7294] [7293] [7292] [7291] [7290] [7289] [7288] [7287] [7286] [7285] [7283] [7281] [7280] [7278] [7276] [7275] [7274] [7273] [7272] [7271] [7269] [7268] [7267] [7266] [7265] [7264] [7263] [7262] [7261] [7260] [7259] [7258] [7257] [7256] [7254] [7253] [7252] [7251] [7250] [7249] [7248] [7247] [7246] [7245] [7244] [7243] [7242] [7241] [7240] [7239] [7238] [7237] [7236] [7235] [7234] [7233] [7232] [7231] [7230] [7229] [7228] [7227] [7226] [7225] [7222] [7221] [7220] [7219] [7217] [7216] [7215] [7214] [7213] [7212] [7211] [7210] [7209] [7208] [7207] [7206] [7205] [7204] [7203] [7202] [7201] [7200] [7198] [7197] [7196] [7195] [7194] [7193] [7192] [7191] [7190] [7189] [7188] [7187] [7186] [7185] [7184] [7183] [7182] [7181] [7180] [7179] [7178] [7177] [7175] [7174] [7173] [7172] [7171] [7170] [7169] [7167] [7165] [7164] [7163] [7162] [7158] [7155] [7154] [7153] [7152] [7149] [7148] [7146] [7145] [7144] [7143] [7141] [7140] [7139] [7138] [7137] [7136] [7134] [7133] [7128] [7126]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7296 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 09:09:03 +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
a6d12c7842 updating folder test to use TMP
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7294 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 08:04:54 +00:00
phpnut
558c93a46e Correcting typo in package doc tag
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7293 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 07:23:27 +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
phpnut
815c6fb1f5 Fixes #4997 CookieComponent write multiple values doesn't not obey $encrypt
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7291 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 07:14:55 +00:00
nate
4fa9872969 Small correction to previous test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7290 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:54:40 +00:00
nate
7bad69a2d0 Adding test for CookieComponent::write() and writing an array of unencrypted key/value pairs, disproves #4997
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7289 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:52:36 +00:00
gwoo
06869fd4b3 updating file.test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7288 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:46:42 +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
phpnut
022ffa3f4f Adding fixes for pagination on associated models.
Corrected dot notation use in Controller::paginate();

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7286 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:25:08 +00:00
gwoo
7ad1790ea2 removing and moving deprecated code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7285 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:19:04 +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
0fc7355e6b another small optimization from last fix
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7281 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 05:34:37 +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
gwoo
b8714ede74 fix to paginate sort order for self associated models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7278 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 03:12:45 +00:00
gwoo
1576a83505 fixing issue with sort in pagination and adding tests, removes previously deprecated controller methods and adds trigger_error to recent ones
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7276 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 00:43:31 +00:00
gwoo
5e92674990 fixes #4995, call time pass by reference in dbo_mysql
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7275 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 23:07:42 +00:00
nate
376ee191cb Commenting fix in DboMssql
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7274 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 21:13:10 +00:00
gwoo
924ca38fea updating view test case for enhancement
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7273 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 21:04:46 +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
2ce0f1f3cf deprecating findAllThreaded
removing __doThread
adding find('threaded')


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7271 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 19:33:44 +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