mark_story
98c2801d00
Applying patch to clarify Schema error message. Fixed #5337
2009-08-27 22:24:44 -04:00
mark_story
98ad480bf2
Fixing error string passing in SchemaShell::__run() Fixes #45
2009-08-21 22:33:33 -04:00
mark_story
ae715ef882
Adding in fallback for sql & schema dirs.
...
Starting to add plugin support for schema shell.
tests added.
2009-08-20 01:07:21 -04:00
AD7six
7c4dfed299
Updating view and controller tasks to use (_singluar|_plural)HumanName functions
...
Modifying the test case to expect humanized forms
2009-08-19 10:17:10 +02:00
mark_story
34b6e18e8d
Adding help() for TestTask.
2009-08-16 21:32:10 -04:00
mark_story
a7499be154
Adding missing & operators.
...
Adding tests for run update.
Adding -f param to schema run update to allow for testing and forcing of table comparison. Skips model checks and uses tables only instead.
2009-08-14 20:06:27 -04:00
mark_story
dc4cfc59eb
Updating fileheader.
2009-08-14 18:06:38 -04:00
gwoo
368c7556d4
Merge branch '1.3-console' into 1.3
2009-08-14 12:32:54 -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
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
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
mark_story
f70b97f4cb
Adding more tests for generate().
2009-08-08 23:46:00 -04:00
mark_story
3c46b51b7f
Adding test cases for startup()
2009-08-07 22:19:40 -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
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
9e36d1bedc
Fixing whitespacing on aco_fixture.
...
Adding tests to AclShell::grant()
Refactoring __getParams()
2009-08-05 00:23:59 -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
mark_story
48a483e5ce
Fixing bake and bake related task test cases for PHP4.
2009-08-02 18:17:31 -04: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
9e4cb97026
Revert "allow running all core test cases via the console"
...
This reverts commit 86e5cc5a89e7307ebf827c688311cdbe945feb85.
2009-08-02 13:19:16 -07: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
gwoo
d118c6a764
Merge branch '1.3-newlines' into 1.3
2009-08-02 12:08:55 -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
mark_story
449c390d48
Refactoring out Model.fk parsing. Updating create(). Adding tests.
2009-08-01 18:57:54 -04:00
mark_story
f658f17b7e
Merge branch '1.3' into 1.3-console
2009-08-01 17:22:39 -04: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
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
gwoo
01d22ffd2e
fixing up some App::import calls
2009-07-30 15:01:22 -07:00
AD7six
77f371d1e1
Merge branch '1.3-bake' of dev@code.cakephp.org:cakephp into 1.3-bake
2009-07-30 22:14:51 +02:00
gwoo
1423b0067b
Merge branch '1.2' into 1.3
2009-07-30 11:34:33 -07:00
gwoo
6cb70f0929
Merge branch '1.3-console' into 1.3
2009-07-30 11:26:23 -07:00
mark_story
8e152ada32
Updating model import()
2009-07-30 10:07:58 -04:00
mark_story
f6d6272f97
Changing guessed validation type for boolean.
2009-07-29 22:20:07 -04:00
AD7six
38e48e5f7f
Changing folder create logic to use Folder->tree
2009-07-29 21:52:20 +02:00
mark_story
ad3d34c239
Removing un-necessary if()
2009-07-29 14:15:17 -04:00
mark_story
189480e499
Correcting parameter names for ControllerTask. Updating tests in Controller and ViewTask.
2009-07-29 12:47:25 -04:00
AD7six
a87b6cdf91
allow rebaking all views based on available methods & templates
2009-07-29 12:48:31 +02:00
AD7six
d54369e29e
CONSOLE_LIBS isn't an absolute path
...
Adding app vendor folders
Correcting plugin test to match changes to the task
2009-07-29 10:12:54 +02:00
AD7six
b7b27e3f03
Changing the Plugin task to take the dirs to create from the App skeleton
2009-07-29 09:32:30 +02:00
mark_story
9092b25004
Fixing how scaffold arg works, now generates scaffolds.
...
Making admin arg only make admin methods and new both arg make both admin and non admin methods.
Adding test cases.
Adding new line to template.
2009-07-28 22:53:29 -04:00
mark_story
8ae8a086dd
Fixing template path detection for plugins.
2009-07-28 22:14:33 -04:00
AD7six
84e0e10d56
Merge branch '1.3-bake' of dev@code.cakephp.org:cakephp into 1.3-bake
...
Conflicts:
cake/console/libs/tasks/view.php
2009-07-28 23:54:56 +02:00
AD7six
5a5a4d86f5
Preventing a missing template from halting the bake console
...
Restructuring the view task to be lest nested
allowing anything_add and anything_edit to map to anything_form
2009-07-28 23:49:04 +02:00
mark_story
092f58ba79
Merge branch '1.3-bake' of dev@code.cakephp.org:cakephp into 1.3-bake
2009-07-28 17:06:59 -04:00
mark_story
80f9e6f7d6
Finishing refactor on View task to use _methodsToBake
2009-07-28 17:06:39 -04:00
AD7six
23b0088285
PHP4 compatibility for plugin syntax change
2009-07-28 22:19:15 +02:00
DarkAngelBGE
f88cc56cfe
Coding standards fixes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8260 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-28 20:01:42 +00:00
AD7six
9d0d31409a
Allowing admin baking to work with plugin controllers
2009-07-28 09:13:30 +02:00
AD7six
adc802815a
Allow using dot notation to denote a plugin controller/model etc.
2009-07-28 09:09:35 +02:00
AD7six
c629d2c820
allow overriding the default templates
...
Allow templates to be distributed as plugins
Prevent any folder named skel or something_skel, or not containing any of the folders
that bake is expecting, from being considered a theme.
2009-07-28 09:02:29 +02:00
AD7six
99fc6458a4
allow running all core test cases via the console
2009-07-26 19:23:46 +02:00
AD7six
76927b35ba
whitespace normalization
2009-07-26 12:04:07 +02:00
mark_story
478e90240d
Updating paths in ProjectTask and PluginTask to reflect changed dirs.
...
Updating tests.
2009-07-26 01:52:05 -04:00
mark_story
b4f4aeeec7
Moving shell templates dirs.
...
Updating TemplateTask to reflect changes in directories.
Updating test cases to use App::build()/App::path()
2009-07-26 01:29:08 -04:00
mark_story
e9afb63d19
Merge branch '1.3' into 1.3-bake
2009-07-25 18:19:44 -04:00
gwoo
fe569ecdf8
updating bootstrap comments
2009-07-25 15:17:27 -07:00
gwoo
766e12bc2a
Merge branch '1.3' into 1.3-newlines
2009-07-25 10:41:40 -07:00
gwoo
986af28de0
Merge branch '1.2' into 1.3
2009-07-24 15:57:30 -07:00
AD7six
737740d9c2
adding some test case folders
2009-07-25 00:14:32 +02:00
AD7six
00ac0348bf
correcting reference to Dispatcher class
2009-07-24 22:04:06 +02:00
AD7six
ae74dca1a5
Moving the clear command into the shell dispatcher
2009-07-24 22:01:55 +02:00
AD7six
b2142df2bc
adding a newline before all comment blocks
2009-07-24 21:18:37 +02:00
jperras
e40428801e
Removing all uses of uses() global method & replacing with require or App::import.
2009-07-24 13:41:08 -04:00
gwoo
38e1954996
Merge branch '1.3-bake' into 1.3
2009-07-24 10:37:22 -07:00
mark_story
04875033ea
Removing trailing spaces.
2009-07-23 17:19:08 -04:00
DarkAngelBGE
9eaad7528f
Removing usage of up() and low() from core
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8253 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-23 21:04:40 +00:00
DarkAngelBGE
8f61c666c2
Removing usage of r() from core
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8252 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-23 20:51:24 +00:00
gwoo
f295a21831
updating some code related to Configure/App changes. Fixing issue when cache is not configured
2009-07-22 09:11:38 -07:00
gwoo
8dc777a2b7
Merge branch '1.3-bake' into 1.3
2009-07-22 08:56:00 -07:00
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
gwoo
f14a223f1d
Merge branch '1.3-bake' into 1.3
2009-07-20 09:37:18 -07:00
gwoo
a2f0ab8b27
Merge branch '1.2' into 1.3
2009-07-20 09:31:56 -07: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
2ab3986d14
Removing extra ; from generated code.
2009-07-17 16:00:44 -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
cbb568b3c7
Fixing getAdmin() method location to reflect changes in API.
2009-07-16 12:50:37 -04:00
mark_story
a7fb5f96e9
Adding fixture baking in when model is baked.
2009-07-16 09:12:32 -04:00