mark_story
19eca9003d
Adding ability to generate fixtures from data in app tables, with custom conditions. Test cases added.
2009-07-21 00:00:39 -04:00
mark_story
10f5ae22a9
Adding prompt for supplying custom conditions for fixture.
2009-07-20 00:59:18 -04:00
mark_story
de51d880fb
Adding prompts for PluginTask with no args.
...
Test cases added.
2009-07-20 00:20:58 -04:00
mark_story
ad3e5f43e0
Removing newlines in files.
...
Adding and update bake.test to bake group test.
Fixing doc blocks.
2009-07-16 23:55:41 -04:00
mark_story
7b06ba2b3d
Adding support for -admin flag when baking a controller's views. Using -admin will only bake admin methods. Refactoring some methods, removing newlines.
2009-07-16 23:12:47 -04:00
mark_story
22c98cc712
Adding empty files to baked plugins.
2009-07-16 21:49:26 -04:00
mark_story
2e3a311b0d
Adding config/sql to plugin baking.
2009-07-16 21:34:14 -04:00
mark_story
9f3a9e6d78
Adding test case for BakeShell and bake all
2009-07-16 08:51:06 -04:00
mark_story
1e8d01992e
Adding test generation for controllers baked with ControllerTask::all()
2009-07-15 10:14:16 -04:00
mark_story
80b9692856
Adding test and fixture generation to ModelTask::all
2009-07-15 10:00:35 -04:00
mark_story
7e1f9eeebd
Updating tests for ModelTask. Making it impossible to bake a model which does not have a table on the active connection. Fixes #6035
2009-07-08 23:30:29 -04:00
mark_story
9bbb33ef2f
Fixing Configure::read() use in PluginTask. Adding PluginTask to the bake group test. Adding vendors directory generation to baked plugins. Fixes #5200 .
2009-07-08 22:25:27 -04:00
mark_story
41eecdaa91
Adding the ability to set $displayField from bake. Refactoring ModelTask::bake() Fixes #4438 .
2009-07-08 22:06:42 -04:00
mark_story
d671056044
Adding displayField detection and interaction to ModelTask. Test Cases added.
2009-07-08 09:10:18 -04:00
mark_story
dc98184086
Updating Shell and Bake tasks to use App::path() instead of Configure::read().
2009-07-06 23:11:57 -04:00
mark_story
5c9b5febdf
Merge branch '1.3' into 1.3-bake-integration
...
Conflicts:
cake/console/libs/tasks/controller.php
2009-07-06 23:03:04 -04:00
mark_story
8d1457e048
Merge branch '1.3' into 1.3-bake-integration
...
Conflicts:
cake/console/libs/tasks/controller.php
cake/console/libs/tasks/model.php
2009-07-06 22:20:03 -04:00
gwoo
f1a4352620
Merge branch '1.2' into 1.3
2009-07-03 08:24:42 -07:00
gwoo
f2b7a26be8
fixes #5710 , HABTM - constraining unique ids, but removing non-unique
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8217 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-03 03:31:05 +00:00
mark_story
45a51ed809
Changing return of Model::deleteAll(). When no records are matched by the delete conditions return is now (bool)true as no records matching those conditions exist.
...
Test case added.
Fixes #6453
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8216 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-03 00:26:58 +00:00
gwoo
8971aad8bf
closes #6413 , scaffoldFields not working with add/edit methods
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8214 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-03 00:14:36 +00:00
gwoo
9e143bc335
fixes #6473 , dot notation for sort in next/prev
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8213 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-02 23:48:10 +00:00
gwoo
92b8e87ed7
fix for cross database joins when recursive < 1
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8212 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-02 23:14:38 +00:00
gwoo
2ba8e8777c
Merge branch '1.2' into 1.3
2009-07-02 16:12:50 -07:00
gwoo
3c76f173f7
removing deprecated model methods
2009-07-02 10:24:42 -07:00
gwoo
bc359259a2
Merge branch '1.2' into 1.3
2009-07-02 09:27:00 -07:00
mark_story
1a7965fde0
Adding output to getThemePath()
...
Adding param setting to getThemePath() as well so template choice is saved between file generations in the same session. Test cases added.
2009-07-01 23:49:50 -04:00
mark_story
4cb70580a2
Expanding test cases for ViewTask to be more specific and finer tests for admin_ methods.
2009-07-01 23:21:41 -04:00
jperras
a6d3193a6d
Updated EmailComponent::__strip regex for mailto: links. Fixes #6464 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8211 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-02 02:58:43 +00:00
mark_story
975e4452d2
Fixing Xml parsing where multiple child elements of the same name, with no value are collapsed causing data errors when Xml object was converted to an array. Test cases from 'burzum' added.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8209 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-01 18:58:05 +00:00
mark_story
544188197d
Fixing use of TemplateTask in other Tasks. Updating bake.group.
2009-07-01 00:50:38 -04:00
mark_story
1c6d0d5642
Removing old files.
2009-07-01 00:48:53 -04:00
mark_story
ad98139e35
Moving bake templates into templates/default.
...
Adding 'console template themes' to TemplateTask.
Adding test cases for console themes.
Moving files around.
2009-07-01 00:24:20 -04:00
mark_story
ff5d9ed6e0
Fixing issues created in [8205] where allowedActions check was done incorrectly. Fixes #6482
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8208 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-01 03:56:16 +00:00
gwoo
58b5c0d77d
cleaning up some ;;
2009-06-30 19:56:15 -07:00
mark_story
9627af2050
Adding tests for ProjectTask::execute().
2009-06-30 22:23:48 -04:00
mark_story
a364e37b78
Updating file headers.
2009-06-30 22:01:10 -04:00
mark_story
f2031385c1
Fixing ViewTask test case in Group context.
...
Adding Group test for bake tasks
2009-06-30 21:59:37 -04:00
mark_story
11ecde194d
Updating ViewTask to use the ProjectTask.
...
Adding tests for previously missed code branch.
2009-06-30 21:50:28 -04:00
mark_story
0eef6577e2
Fixing test that failed when no models were found in app.
2009-06-30 21:22:10 -04:00
mark_story
ddc341e4de
Updating ControllerTask to use ProjectTask.
2009-06-30 20:49:58 -04:00
mark_story
da99aa1c6a
Moved Shell::getAdmin() to ProjectTask
2009-06-30 20:44:09 -04:00
mark_story
198511f639
Adding tests for security salt generation.
2009-06-30 18:30:39 -04:00
mark_story
fb6b2aecde
Renaming {{{SimpleTestOptions::ignore()}}} to {{{SimpleTest::ignore()}}} Refs #6425
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8207 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-30 01:37:33 +00:00
mark_story
fd7cf5e5e6
Adding test cases for boolean and boolean-ish values. Fixes false being converted to '' when using Xml::toString().
...
Fixes #6478
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8206 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-30 01:14:20 +00:00
mark_story
8c7883fe3e
Fixing camel cased methods in checks for allowedActions in AuthComponent under PHP5. Normalizes to lowercase method name. Fixes #6142
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8205 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-30 00:25:09 +00:00
mark_story
6a34c9ef31
Fixing Model::saveAll() PHP4 compatibility. Minor API change in __save(). __save() no longer takes a model instance as the first parameter. Because of Model implementation details in PHP4 this caused broken references. Fixes #6389 , #6223
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8204 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-27 15:25:07 +00:00
mark_story
285fdc22c6
Adding test case for api console.
...
Fixing issue where methods with no parameters were omitted from api method lists.
Fixes #6474
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8203 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-25 13:34:28 +00:00
mark_story
fd818bc493
Applying patch from 'mulleto'. Fixes plugin view file location with CamelCase plugin names. Test cases added.
...
Fixes #6334
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8202 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-24 22:02:00 +00:00
mark_story
16eb51e91c
Adding ControllerMergeVarsTestCase to more extensively test merging of vars in Controller::__mergeVars.
...
Fixing issue where components declared in AppController would get doubled settings if no components were declared in subclasses.
Fixes #6459
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8201 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-24 18:09:14 +00:00