Commit graph

115 commits

Author SHA1 Message Date
gwoo
4573cf0796 adding fix for bake form template: #2834
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5352 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 14:55:13 +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
dac1bd0913 Correcting code structure to standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5315 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 07:51:52 +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
mariano.iglesias
d733eced60 Adding basic description to Acl shell class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5301 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-19 14:56:28 +00:00
mariano.iglesias
259303d935 Adding documentation for Acl shell and internationalizing messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5300 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-19 14:50:19 +00:00
mariano.iglesias
1bfcc44b18 Adding documentation for ErrorHandler in Cake console and internationalizing error messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5299 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-19 13:56:25 +00:00
mariano.iglesias
8150647bd1 Adding documentation for Cake console dispatcher
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5298 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-19 13:42:51 +00:00
phpnut
ffdc3bc89a Fixing translations function typo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5295 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-19 08:01:03 +00:00
phpnut
4b6c5afe35 Adding loadPluginModels back to dispatcher until I fix issue with loading associated plugin models.
Corrected form.ctp template parse error

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5294 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-19 07:52:32 +00:00
gwoo
c4c64fa9df fix bake index template
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5281 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-16 02:21:48 +00:00
gwoo
6d91aad41e updating bake templates for i18n, fixes for scaffold templates
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5280 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-16 02:19:31 +00:00
gwoo
c9a2da3e0c Refactored Scaffold: deprecated generateFieldNames, aligned scaffold and bake view templates, set var $scaffold = CAKE_ADMIN; will scaffold only the admin actions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5277 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-14 17:28:35 +00:00
gwoo
63387a79e3 updating acl shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5271 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-10 17:38:50 +00:00
gwoo
85a662d9ba updating headers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5270 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-10 17:05:08 +00:00
dho
37178c764a Fixing path in help text
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5269 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-10 06:49:20 +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
95bb7e0f04 updating bake view templates
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5266 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 16:30:22 +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
5f0740add8 updating view task and view template
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5249 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-06 07:31:55 +00:00
dho
b3b1b0ad74 Fixing problem when baking only admin functions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5247 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-05 17:06:00 +00:00
dho
40c943112f Fixing typo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5246 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-05 15:37:06 +00:00
gwoo
3b80f5a866 updating view task and view template
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5244 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-05 08:49:36 +00:00
gwoo
661b32a241 #2672: fixed model task unit test baking
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5243 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-04 19:53:22 +00:00
gwoo
9402ab76ef fixing extra ; in bake form template
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5241 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-04 19:12:11 +00:00
gwoo
0a52326b0c fixing arg shifting in shells for php4
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5240 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-04 19:07:50 +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
7ab1cad783 updating view task and adding view task templates
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5237 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-03 23:56:56 +00:00
gwoo
1b8ad3927d updating dbconfig, project, model, and controller tasks
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5236 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-03 23:56:33 +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
dho
08e2db3251 Fixing bug introduced in [5228].
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5232 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-02 05:49:06 +00:00
gwoo
772c4714cd fixing missing passedArgs member in controller
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5228 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-01 17:34:42 +00:00
chartjes
9e16b0a404 Added "Model columns" command to get a list of columns and column type for a model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5225 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-30 01:49:00 +00:00
chartjes
84feacd6b2 Added in more verbose output of Model->save() functionality
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5220 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-29 21:11:34 +00:00
chartjes
37fd7e41ef Added in Model->save() method along with help text explaining how to use it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5219 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-29 21:07:39 +00:00
gwoo
537f28878d updating acl and model cli
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5217 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-29 06:30:08 +00:00
chartjes
ff40f65fab Removed "protected" declaration from a function...PHP 5 only
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5216 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-28 18:08:52 +00:00
chartjes
2680afb990 Added in dynamic unbinding, verification of existing models, verification of existing associations, added in help text and reorganized code in swich-case block now that I figured out you could put preg_matches in a case statement :)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5215 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-28 16:06:12 +00:00
gwoo
b77586db23 updating project task paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5212 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 16:13:42 +00:00
dho
4dc7d4ab8c Formatting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5198 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 12:13:00 +00:00
dho
83f0635b3b Refactoring tasks
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5196 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 09:00:54 +00:00
gwoo
fbb3a73828 removing whitespace
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5190 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 02:00:20 +00:00
gwoo
be46c1fa4a fixing bug in paths of shell well accessing php cli through cake.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5189 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 01:59:12 +00:00
gwoo
241ec845cd minor enhancements like sorting in api shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5188 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 01:34:53 +00:00
chartjes
06e728eebb Added message when no result set is found
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5187 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-25 21:45:39 +00:00
chartjes
aef4b1b21b Made changes to properly parse output of find() and findAll()...but I don't like how it's doing it, have to find a more elegant solution later
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5186 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-25 19:52:30 +00:00
chartjes
e965ac1df0 Added code to handle outputting associations like hasMany properly
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5183 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-25 03:38:40 +00:00
chartjes
89c2ce23b0 Using $this->hr() instead of $this->out('------------') as per gwoo's request
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5172 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 16:34:07 +00:00