Commit graph

52 commits

Author SHA1 Message Date
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
01d22ffd2e fixing up some App::import calls 2009-07-30 15:01:22 -07:00
AD7six
23b0088285 PHP4 compatibility for plugin syntax change 2009-07-28 22:19:15 +02:00
AD7six
adc802815a Allow using dot notation to denote a plugin controller/model etc. 2009-07-28 09:09:35 +02:00
AD7six
b2142df2bc adding a newline before all comment blocks 2009-07-24 21:18:37 +02: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
a7fb5f96e9 Adding fixture baking in when model is baked. 2009-07-16 09:12:32 -04:00
mark_story
08ce38c6cc Updating bake all to reflect changes in Task apis. Adding additional messages. 2009-07-16 08:52:33 -04:00
mark_story
375e175ac8 Updating path setting in bake, so paths
are not overwritten.
2009-06-06 20:03:26 -04:00
mark_story
dff90e892e Adding Template Task, removing CodeGenerator. 2009-05-12 21:19:15 -04:00
mark_story
3ea2b5a87d Moving CodeGenerator class into bake shell.
Updating FixtureTask and test cases.
Updating template for fixtures.
2009-05-10 22:16:38 -04:00
mark_story
6180ca80c9 Adding common parameter handling for connection
and plugin params.
2009-05-03 20:48:13 -04:00
mark_story
b5cc69c37c Adding Fixture task to bake. 2009-04-28 20:32:15 -04:00
john
d17cbbc7ca Adding @link tag to class definition.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7813 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-31 19:47:01 +00:00
AD7six
3f2fa6929b changing tabs for spaces in comment block indentation
Removing address and replacing with cakefoundation url


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7805 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 17:30:26 +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
mark_story
b05185f08a Fixed issue where 'cake bake all' would not allow continuous execution.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7121 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 02:23:18 +00:00
gwoo
b3f605c1d8 fixes #4836 components initialize for error pages, also changing Object::stop() to Object::_stop()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7116 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 19:04:58 +00:00
nate
42da5aba81 Moving Cake folder to correct location
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7063 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 11:40:08 +00:00
DarkAngelBGE
e6e0d852a2 deleting cake folder from svn
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7061 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 10:59:16 +00:00
gwoo
aaab0306aa removing exit() and replace with $this->stop();
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7012 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 16:57:46 +00:00
gwoo
2e1f8c6303 updating bake project, dbconfig, fixes #4563 now using int for port
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6763 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 15:42:02 +00:00
gwoo
6a1cdf2138 updating bake and tasks, closes #4326, closes #3993, closes #4032, closes #4337
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6574 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 05:45:43 +00:00
phpnut
cb53dc61b0 "Closes #2897, Built-in file validation.
Implemented Validation::extension(); and Vaidation::range();
Updated copyright notices in all files"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6296 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 22:18:17 +00:00
gwoo
4f97057a62 fix for DbConfig task caused when plugin support was added to bake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6265 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-27 07:41:56 +00:00
gwoo
0a703ef8c0 adding 'cake bake all' see cake bake help for more info, also refactored tasks (api changes) and class registry, closes #1470, closes #3612, closes #2697, closes #3412
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6198 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 19:24:56 +00:00
gwoo
ef3b73d690 adding plugin task, closes #965
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6179 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 02:54:45 +00:00
mariano.iglesias
897825d596 Adding documentation to classes belonging to Cake console.
Standarizing on datatypes used in phpdocblocs and removing unneeded @return types

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5851 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 05:52:20 +00:00
phpnut
e78fc1e90c Fixes #3305, Console i18n extract using wrong paths.
Closes #3396, i18n fixes
Fixed TranslateBehavior::_getLocale() throwing error if I18n class had not been loaded
Added [P]roject to bake
Updated locale pot file
Removed css and js directories from skel

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5809 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 05:55:37 +00:00
phpnut
b91f9b087d Fixes #1166, bake.php ability to supply alternate database configurations.
Removed debug code from FolderTest

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5640 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 20:23:30 +00:00
phpnut
549d86ac23 Refactoring dispatcher.
Added test for changes to Dispatcher.
Updating Model::_ _saveMulti(), moved the insert statement to DboSource::insertMulti() this will allow database that do not support multiple inserts in one statement to save data.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5460 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 04:38:28 +00:00
phpnut
d2ed329e76 Adding fix for #2877, adds quit option in bake.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5412 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 23:48:05 +00:00
phpnut
172f9817cb Fixing console scripts.
Correcting errors when using bake shell to create views.
Corrected errors when interactively creating controllers and views
Corrected issue in ProjectTask::cakeAdmin() with admin route not writing the admin define in core.php
Moved ControllerTask::getAdmin() to Shell::getAdmin()
Removed define setting CAKE_ADMIN to null which would cause issues with admin methods and views
Corrected missing ?>

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5322 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 14:38:46 +00:00
phpnut
23dfd90b29 Correcting code structure to standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5313 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 06:15:35 +00:00
gwoo
879e568d9d updating bake cake admin define
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5268 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-10 06:20:39 +00:00
gwoo
ad98ae8a1f updating help for bake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5264 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 08:44:34 +00:00
gwoo
ed23e08921 refactoring task loading
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5263 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 07:53:58 +00:00
dho
eea7d7aafc Initializing tasks before execution (ticket #2725)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5256 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-07 13:09:59 +00:00
gwoo
76a4ae2a79 updating shells with startup callback, so a shell initializes, then loads tasks, then starts up, Tasks are the same. few other minor fixes to bake, api and acl.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5239 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-04 07:21:17 +00:00
gwoo
5bcb658b37 updating main shell class and dispatcher
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5235 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-03 23:56:04 +00:00
gwoo
b77a0af14a updating db config task
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5106 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 04:21:44 +00:00
gwoo
9bc9ac4b31 updated file class, console classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5094 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 12:23:25 +00:00
phpnut
586fbc9dea Correcting doc comments
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5086 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 01:14:41 +00:00
phpnut
e2fadb5680 Refactoring translation string extractor class to work with new console
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5082 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 23:20:47 +00:00
gwoo
51e3ce02f6 updating baking of models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5081 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 23:11:40 +00:00
gwoo
e8292ec7fd updating acl and bake shells
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5075 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 20:18:57 +00:00
gwoo
b71eede168 updating bake setCake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5064 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 23:44:37 +00:00
gwoo
9b39236117 updating paths for shell, bake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5063 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 23:40:37 +00:00
gwoo
846c665497 updating shells for new conventions, better handling of paths, more help
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5058 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 21:18:07 +00:00
phpnut
44f611cba7 Fixing paths erros in new bash and CLI scripts.
Updated missing files and directories in skel.
Corrected paths for app custom scaffold templates

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5031 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-06 03:12:23 +00:00