Commit graph

5376 commits

Author SHA1 Message Date
mark_story
bd3178b9fc Deprecating Cookie::del() Unifying to 'delete' method. 2009-08-27 00:33:24 -04:00
mark_story
5e8eb83f7d Deprecating SessionComponent::del() unifying delete methods to 'delete' 2009-08-27 00:31:57 -04:00
mark_story
934bda0a74 Deprecating aliases in folder class. 2009-08-27 00:29:17 -04:00
mark_story
7ca1ef22f0 Adding cakeError calls to ModelBehavior. 2009-08-27 00:16:17 -04:00
mark_story
7c4d60abe8 Adding patch from 'grncdr' to allow default direction to be set for sort links created with PaginatorHelper::sort. Fixes #5151 2009-08-26 23:55:19 -04:00
mark_story
4f2d415663 Applying patch from 'kuja' to give default class names to links generated by Paginator::sort().
Fixes #6239
2009-08-26 23:33:13 -04:00
mark_story
38a4b619e6 Adding default classes to next and prev links.
Switching next() and prev() to use span by default.
2009-08-26 22:55:24 -04:00
mark_story
533f6e0d36 Updating doc block. 2009-08-26 22:54:23 -04:00
mark_story
136b4db7ad Deprecating $escape for HtmlHelper::tag() use $attributes['escape'] instead. Test case added. 2009-08-26 22:46:49 -04:00
mark_story
c2db059732 Adding error methods and templates for Missing Behavior class and Missing Behavior File errors. 2009-08-26 10:02:55 -04:00
mark_story
2dca77cbcb Updating Scaffold to merge hasAndBelongsToMany keys when generating field lists for scaffolded forms. Fixes #48 2009-08-25 23:34:19 -04:00
mark_story
56d2423bc3 Additional documentation. 2009-08-24 22:57:01 -04:00
mark_story
1a51d58713 Updating file header. 2009-08-24 22:53:55 -04:00
mark_story
b265a99bc9 Removing deprecated properties. 2009-08-24 22:53:09 -04:00
mark_story
31ec714e2e Adding View::_paths() optimization.
Test cases added.
Refs #49
2009-08-23 23:13:56 -04:00
mark_story
325446a8b3 Updating View::_paths to remove an always miss file_exists() check.
Test case added.
Refs #49
2009-08-23 22:43:51 -04:00
jperras
e9cfb66424 Fixing calling of method from incorrect object in DboOracle::describe(). Fixes #21. 2009-08-23 17:52:40 -04:00
jperras
6f8f4c5a05 Adding waves -> wave as irregular singularization rule. Fixes #47. 2009-08-22 20:26:33 -04:00
mark_story
a0feb84789 Removing support for deprecated .thtml view file extension. 2009-08-22 11:50:02 -04:00
mark_story
47d9181313 Adding test case from 'mradosta'.
Fixing issue with non-zero indexed arrays and Set::extract()
Fixes #6
2009-08-21 23:18:27 -04:00
mark_story
98ad480bf2 Fixing error string passing in SchemaShell::__run() Fixes #45 2009-08-21 22:33:33 -04:00
mark_story
3f0f4b901d Changing line endings to LF 2009-08-21 12:52:46 -04:00
mark_story
7a3a6966c2 Removing deprecated View::renderElement() 2009-08-20 01:20:44 -04:00
mark_story
6b6d7959e1 Updating doc blocks. 2009-08-20 01:20:13 -04:00
mark_story
add1dede86 Removing conditional calling of View::_render() as a static method.
Updating doc blocks.
2009-08-20 01:15:08 -04:00
mark_story
3b95b4c95d Merge branch '1.3' into 1.3-misc 2009-08-20 01:12:09 -04:00
mark_story
cca3281f8c Fixing complex expression handling in DboSource::fields(). Making AS a variable controlled by implementing dbo.
Test cases added.
Fixes #38
2009-08-19 13:03:36 -04:00
gwoo
474ec34a5d Merge commit 'origin/1.3-dev' into 1.3 2009-08-14 12:33:43 -04:00
gwoo
368c7556d4 Merge branch '1.3-console' into 1.3 2009-08-14 12:32:54 -04:00
mark_story
e306b65908 Updating View test case to work with updated API's 2009-08-14 12:08:33 -04:00
mark_story
5a971ddbf0 Fixing Xml::toArray() Where camelcased data was collapsed and corrupted. Causing unpredictable data structures with empty tags. Minor changes to existing behavior. See modified test cases. Fixes #8 2009-08-13 22:47:17 -04:00
mark_story
ab50bbe595 Cleaning up doc blocks.
Removing commented out code.
Removing use of a()
2009-08-13 21:29:33 -04:00
jperras
2737062c6f Fixing doc block for TimeHelper::timeAgoInWords(). Fixes #27. 2009-08-13 13:57:15 -04:00
jperras
deed69ea37 Adding ability to input an array parameter for 3rd argument of TextHelper::highlight(). Implements #17. 2009-08-13 13:32:34 -04:00
jperras
adc198805f Dispatcher::parseParams() now works with file uploads that are not indexed by model. Fixes #9 2009-08-13 11:29:00 -04:00
burzum
1a86de5fe3 Correction to escape the / 2009-08-12 17:11:36 +02:00
burzum
417bdb4514 Fixing building of the right vendor path in the dispatcher in the case the plugin name appears again in the path 2009-08-12 16:08:31 +02:00
mark_story
2893b29e11 Fixing inflection of Taxes. Fixes #15 2009-08-12 09:46:18 -04:00
AD7six
9d1e556486 Revert "mend"
This reverts commit a0f42640cc10342f96effe4d08be188bb51bd0db.
2009-08-12 09:46:18 -04:00
AD7six
96cebeede9 correcting global plugin path logic to match global vendors folder 2009-08-12 09:46:18 -04:00
mark_story
ae628f7f72 Applying patch from 'savant' Fixes usage of deprecated methods. Fixes #11 2009-08-12 09:46:18 -04:00
mark_story
0a1d8ca92a Updating test cases to reflect changes in default templates. 2009-08-12 09:46:17 -04:00
mark_story
78c4a21451 Fixing use of Model::del() to Model::delete() 2009-08-12 09:46:17 -04:00
mark_story
dfa9ccdaf9 Adding Test case option to bake main menu. 2009-08-12 09:46:17 -04:00
mark_story
267fcc1c81 Adding F as an option to bake menu. 2009-08-12 09:46:17 -04:00
AD7six
b53c7339c4 mend 2009-08-12 09:46:17 -04:00
mark_story
31d136ca67 Making constructClasses() call run against the correct object. test cases updated.
Fixes #4
2009-08-12 09:46:17 -04:00
mark_story
b731408deb Fixing constant use in ProjectTask.
Fixing newline.
2009-08-12 09:46:17 -04:00
mark_story
29d03ab722 Adding __() to ProjectTask 2009-08-12 09:46:17 -04:00
mark_story
74448e4dee Adding test cases for run create in Schema shell. 2009-08-10 21:54:29 -04:00
mark_story
dd1075a330 Adding i18n to schema shell. 2009-08-10 21:38:09 -04:00
jperras
9363a61c32 Unifying case for single-letter interactive shell input, most notably SchemaShell, which previously failed on uppercase interactive input. 2009-08-10 19:47:41 -04:00
AD7six
98b04dc0e7 Merge branch '1.3-console' of dev@code.cakephp.org:cakephp into 1.3-console 2009-08-09 22:32:28 +02:00
AD7six
3c53f5ea49 Merge branch '1.3' into 1.3-console 2009-08-09 18:27:26 +02:00
AD7six
de87fbd484 updating console output to use a more concise format
typing "cake" on the command line will now output

...
Available Shells:
 acl [CORE]                     bake [CORE]                    i18n [CORE]                    testsuite [CORE]
 api [CORE]                     console [CORE]                 schema [CORE]

To run a command, type 'cake shell_name [args]'
...

Auto adjusting the width on *nix systems
2009-08-09 12:54:41 +02:00
mark_story
f70b97f4cb Adding more tests for generate(). 2009-08-08 23:46:00 -04:00
mark_story
a27575382b Adding tests for generate() from jperras 2009-08-08 23:21:24 -04:00
mark_story
4965551084 Adding test cases for dump() 2009-08-08 23:00:40 -04:00
mark_story
12b94756d0 Adding tests for view() 2009-08-07 22:28:28 -04:00
mark_story
3c46b51b7f Adding test cases for startup() 2009-08-07 22:19:40 -04:00
mark_story
32754c4261 Adding test case for SchemaShell 2009-08-07 22:10:39 -04:00
mark_story
c305b7a410 Adding tests to AclShell::view() 2009-08-07 08:37:31 -04:00
mark_story
2cc8ae631e Fixing notice error when non-existant node type is used.
Fixing view() so you can view a slice of the tree.
2009-08-07 08:32:27 -04:00
renan.saddam
ae89e709d2 Refactoring extract shell. Supporting use of $foo['bar'] as $count. 2009-08-06 18:14:25 -03:00
renan.saddam
ff04c7668a Fixing DS for Windows 2009-08-06 15:59:47 -03:00
mark_story
8d351d90b3 Updating file headers. 2009-08-05 23:43:01 -04:00
mark_story
eda74d08b4 Updating view() to use node references.
updating test cases to use new formating.
2009-08-05 23:41:25 -04:00
mark_story
e6b32e21ad Adding tests for getPath and inherit.
Refactoring the output of getPath
2009-08-05 23:13:48 -04:00
mark_story
3aa56e82c9 Fixing typo. 2009-08-05 12:20:12 -04:00
gwoo
27437a808d rmoving path check from Folder::tree fixes issues with classes not beign found in App::import 2009-08-05 11:26:19 -04:00
mark_story
cd9dd97eff Adding test cases for AclShell 2009-08-05 00:37:53 -04:00
mark_story
9e36d1bedc Fixing whitespacing on aco_fixture.
Adding tests to AclShell::grant()
Refactoring __getParams()
2009-08-05 00:23:59 -04:00
gwoo
5f87f74b09 setting version to 1.2.4.8284
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8284 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-03 20:53:50 +00:00
gwoo
6775e0997e Merge branch '1.2' into 1.3 2009-08-03 13:13:18 -07:00
jperras
d41a28c975 Fixing PHP4 compatibility issues for SecurityComponent.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8282 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-03 19:40:02 +00:00
mark_story
72d90f2ce8 Adding tests for array_diff_key() in php4. Increasing test compatibility with php4
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8281 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-03 19:24:38 +00:00
gwoo
33adb6e40b fixing test header from bad merge 2009-08-03 11:57:39 -07:00
gwoo
946f0c85fc Merge branch '1.3-jshelper' into 1.3 2009-08-03 11:55:40 -07:00
gwoo
01cbaafbf3 Merge branch '1.3-dev' into 1.3 2009-08-03 11:55:26 -07:00
gwoo
b2f7cd5aff fixing cache error 2009-08-03 11:55:14 -07:00
mark_story
6ca2127aea Fixing JsHelper tests to run in php4 2009-08-03 14:47:36 -04:00
gwoo
c33437af76 updating require of overloadbale in model 2009-08-03 11:44:06 -07:00
mark_story
d69772952c Fixing fatal error in php4 2009-08-03 14:42:33 -04:00
mark_story
83a705f739 Merge branch '1.3' into 1.3-jshelper 2009-08-03 14:39:21 -04:00
gwoo
57552c25fc updating some tests for php4
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8280 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-03 18:14:12 +00:00
mark_story
303b488bc1 fixing doc block indentation.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8279 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-03 18:13:46 +00:00
mark_story
bab62df0d8 Fixing fails caused by PHP4 and all lowercase classnames.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8278 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-03 18:12:42 +00:00
mark_story
401796e1a9 Adding missing reference operators in Controller::paginate().
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8277 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-03 17:55:16 +00:00
mark_story
29dd4ddf03 Fixing issues in Scaffold Test case with PHP4.
Cleaning up code formatting in Scaffold.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8276 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-03 17:38:40 +00:00
AD7six
47d50b1d93 Adding failing test case for invalid cache config causing a fatal error 2009-08-03 18:17:20 +02:00
jperras
33370fdc60 Fixing code coverage manager test. 2009-08-03 00:14:15 -04:00
jperras
6e7219b7ec Fixing no_database group test. 2009-08-03 00:02:17 -04:00
jperras
74e6b30d7b Removing duplicate classes & methods from a lost merge. 2009-08-02 22:59:15 -04:00
jperras
a0b04ed924 Adding proper skipIf to Javascript asset timestamp test. 2009-08-02 22:54:05 -04:00
jperras
43a7dee08a Fixing path for cake schema test in database group 2009-08-02 22:53:35 -04:00
gwoo
e3f8ee493e fixing path in folder test 2009-08-02 22:47:26 -04:00
jperras
31321df6ce Removing extra newline that was causing EmailComponent test to fail. 2009-08-02 21:09:33 -04:00
mark_story
4583873379 Fixing issues in PluginTask test due to addition of cake/plugins. Fixing undefined variable. 2009-08-02 20:42:08 -04:00
gwoo
2ae5d45180 fixing return of Folder::read when path is null 2009-08-02 17:22:57 -07:00
gwoo
d0c7397d5d added unlink to SchemaTest::tearDown() 2009-08-02 16:47:15 -07:00
gwoo
42d6a6f732 Merge branch '1.3-bake' into 1.3 2009-08-02 16:42:21 -07:00
gwoo
07d1ecdf6d adding change to DboSource test that was not committed in [8267]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8275 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-02 23:21:24 +00:00
gwoo
d905c274c8 Merge branch '1.2' into 1.3 2009-08-02 16:18:25 -07:00
AD7six
a4bc755cc7 whitespace normalization 2009-08-02 16:10:24 -07:00
AD7six
993643dd2a whitespace normalization 2009-08-02 16:10:12 -07:00
AD7six
b9987e1712 whitespace normalization 2009-08-02 16:09:39 -07:00
gwoo
15ed658a27 Revert "Merge branch '1.3-newlines' into 1.3"
This reverts commit c088131cd8e9f53396852e8a320e2b0396807d20, reversing
changes made to 9341a2bb5eda1db208019aa8a9171224fb76fc6b.
2009-08-02 15:59:54 -07:00
gwoo
ffe801bb28 fixing folder class when path give does not exist 2009-08-02 15:42:27 -07:00
gwoo
f9f67a1759 fixing some test cases 2009-08-02 15:18:44 -07:00
mark_story
48a483e5ce Fixing bake and bake related task test cases for PHP4. 2009-08-02 18:17:31 -04:00
AD7six
94e986561b allowing install/cake-wide plugins 2009-08-02 15:01:15 -07:00
AD7six
593bec85b7 adding tests for plugin file structure changes 2009-08-02 23:41:56 +02:00
AD7six
20b1dd795d Revert "Changing the Plugin task to take the dirs to create from the App skeleton"
This reverts commit fe8b641cd3257b4aa82ce93ac8a2e8f624e4ec58.

Conflicts:

	cake/console/libs/tasks/plugin.php
2009-08-02 23:39:59 +02:00
AD7six
db6f2cec96 Revert "Changing folder create logic to use Folder->tree"
This reverts commit a60677070d41f3a1c7841e4ca24f6ee2658f3067.
2009-08-02 23:26:15 +02:00
AD7six
a0bd6e9db5 Merge branch '1.3' into 1.3-bake 2009-08-02 23:23:15 +02:00
AD7six
60154b64be Allowing the running of all core test cases via the console 2009-08-02 23:20:59 +02:00
AD7six
d61e8736e4 Merge branch '1.3' into 1.3-bake 2009-08-02 22:44:28 +02:00
AD7six
7eb150b49a Merge branch '1.3' into 1.3-bake
Conflicts:
	cake/console/libs/tasks/model.php
2009-08-02 22:31:01 +02:00
gwoo
c017f80e02 Merge branch '1.2' into 1.3 2009-08-02 13:25:55 -07:00
gwoo
9e4cb97026 Revert "allow running all core test cases via the console"
This reverts commit 86e5cc5a89e7307ebf827c688311cdbe945feb85.
2009-08-02 13:19:16 -07:00
AD7six
6d6f97de59 This will be implemented in the Folder class itself
Revert "preventing the possibility of trying to delete / if the test dir wasn't created correctly"

This reverts commit 61c9771e7d163d8e7131a07a304b5a8dd6a3696a.
2009-08-02 22:00:57 +02:00
gwoo
292b37c6e8 Merge branch '1.3-console' into 1.3 2009-08-02 12:31:12 -07:00
gwoo
bf2b8a60e6 Merge branch '1.3-misc' into 1.3 2009-08-02 12:20:07 -07:00
jperras
3f46bf9568 Updating doc block for Model::invalidate. Fixes #4583.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8274 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-02 19:18:54 +00:00
jperras
6b0bbc44bb Updating doc block for Object::requestAction. Fixes #6391.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8273 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-02 19:12:02 +00:00
gwoo
d118c6a764 Merge branch '1.3-newlines' into 1.3 2009-08-02 12:08:55 -07:00
jperras
f426017a9e Changing l10n language name from 'Slovack' to 'Slovak', as per ISO 693-1 guidelines. Thanks to savant for the patch. Fixes #5870.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8272 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-02 19:00:30 +00:00
gwoo
7fc465309e Merge branch '1.2' into 1.3 2009-08-02 11:58:39 -07:00
jperras
70c331f5db Updating doc blocks for paginator helper. Thanks to savant for the patch. Fixes #4994.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8271 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-02 18:55:37 +00:00
jperras
e9e8951a27 Updating doc blocks for datasource - thanks to savant for patch. Fixes #5738.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8270 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-02 18:52:55 +00:00
gwoo
c7050c9879 Merge branch '1.3-inflector' into 1.3 2009-08-01 23:53:36 -07:00
gwoo
38221e7aa2 Merge branch '1.2' into 1.3 2009-08-01 23:47:28 -07:00
mark_story
ce64f2fa6e reformatting help() to fit on 80 col displays. 2009-08-01 21:23:06 -04:00
mark_story
ca8744c8b9 Updating setParent() to use either Model.key or alias. Tests added. 2009-08-01 20:56:58 -04:00
mark_story
a599f53c63 Fixing _getNodeId() 2009-08-01 20:21:22 -04:00
mark_story
acaba022c6 Updating delete() and adding test cases. Refactoring out common methods. 2009-08-01 20:17:44 -04:00
jperras
12e4db0810 Rewriting HttpSocket::parseCookies() to not use a negative lookbehind regex, due to a bug in PCRE engine in PHP 5.1.x. Fixes #6533.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8269 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-01 23:38:26 +00:00
mark_story
449c390d48 Refactoring out Model.fk parsing. Updating create(). Adding tests. 2009-08-01 18:57:54 -04:00
mark_story
3aa6d22c2c Correcting path that CakeSchema looks for schema files in. 2009-08-01 17:50:03 -04:00
mark_story
b2ac7661b3 Adding E_DEPRECATED to console environment. 2009-08-01 17:49:21 -04:00
mark_story
f658f17b7e Merge branch '1.3' into 1.3-console 2009-08-01 17:22:39 -04:00
jperras
5172035e02 Adding table prefix detection for sequence maps in DboOracle::describe(). Fixes #6527.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8268 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-01 19:40:52 +00:00
gwoo
887f8335ee fixes #6539 quoting in buildIndex
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8267 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-01 18:25:25 +00:00
nate
7847044711 Moving error flags to core bootstrap to avoid extra changes in user files, fixing error in previous commit. 2009-08-01 08:36:57 -04:00
mark_story
878f3367d4 Updating doc block on JavascriptHelper::object(). Thanks BrendonKox. Fixes #6540.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8266 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-01 06:24:55 +00:00
nate
e47b1960ad Merge branch '1.3' of dev@code.cakephp.org:cakephp into 1.3 2009-07-31 11:54:01 -04:00
nate
729d8fddea Applying PHP 5.3 compatibility patch from Mark Story. Please update your config/core.php, webroot/index.php and webroot/test.php accordingly. 2009-07-31 11:48:30 -04:00
renan.saddam
76e50ef625 Adding support for Model.* syntax, which translates to a list of fields from Model.
Fixing buildColumn for null values.
Fixing small containable merge, it was duplicating values, tests added.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8265 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-31 02:08:20 +00:00
gwoo
9e1dec3ff3 fixes #6538, xml serialization on multi dimensional
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8264 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-31 01:50:14 +00:00
gwoo
01d22ffd2e fixing up some App::import calls 2009-07-30 15:01:22 -07:00