Commit graph

37 commits

Author SHA1 Message Date
mark_story
bc90f0aa01 Merge branch '1.3-console' into 1.3
Conflicts:
	cake/console/libs/tasks/fixture.php
2009-09-27 16:26:45 -04:00
davidpersson
ccbc6f35f0 Updating all calls to Shell::out(). 2009-09-26 23:08:37 +02:00
mark_story
24448775c2 Removing use of r() from core classes. 2009-08-27 23:08:23 -04:00
AD7six
b2142df2bc adding a newline before all comment blocks 2009-07-24 21:18:37 +02:00
gwoo
a2f0ab8b27 Merge branch '1.2' into 1.3 2009-07-20 09:31:56 -07:00
mariano.iglesias
bc5de16b6c Fixing bug introduced in r5219 that was preventing model save operations from working in Console shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8222 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-06 07:38:03 +00:00
gwoo
c3643767bf some more updates to path handling 2009-06-10 16:13:39 -07:00
nate
c200fcb062 Updating and refactoring help text for Cake console, adding support for reverse-route lookups 2009-02-06 18:12:18 -05:00
renan.saddam
6319f8ea69 Removed trailing whitespaces from core.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7847 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 02:54:07 +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
nate
f695170365 Fixing console routing commands and implementing route loading so commands work with lazy route compiling
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7635 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-19 21:33:59 +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
nate
3a11fe2340 Refactoring find types in Model::find()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6481 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 01:50:38 +00:00
nate
074cfeb75d Fixing Configure::listObjects() to not return incorrect core classes, closes #3954. Adding route testing support to cake console.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6404 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-23 04:14:58 +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
phpnut
da97a5c871 Correcting @return bool
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5857 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:09:35 +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
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
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
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
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
gwoo
1968312773 updating interactive console for the grumpy guy
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5171 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 16:17:30 +00:00
chartjes
cfe54f4049 Added missing parameter to dynamic bind call
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5170 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 15:35:33 +00:00
gwoo
01d59c7a70 updating interactive console for the grumpy guy
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5169 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 15:26:50 +00:00
chartjes
20c0a87876 Added in initial functionality for for returning result sets and providing help information
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5162 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 03:03:15 +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
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
900d180ec9 Restructuring console directory
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5015 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 20:09:34 +00:00
Renamed from cake/console/console.php (Browse further)