Commit graph

434 commits

Author SHA1 Message Date
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
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
mariano.iglesias
734d52b608 Adding API Shell to get method signatures from core CakePHP classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5161 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 21:03:01 +00:00
gwoo
5e6afe29be fixing pre color in css
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5158 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 18:22:27 +00:00
nate
22611de49b Fixing undefined variable in Shell:error()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5155 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 17:27:30 +00:00
phpnut
50fb02cb17 Fixing notice in in the skel home.ctp
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5121 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-18 21:20:56 +00:00
dho
5077bfc93e Fixing undefinded variable error
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5115 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-16 09:26:33 +00:00
gwoo
c114cb1259 updating cake.bat to handle paths with spaces in the directory name, ticket #2581
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5113 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-16 06:05:27 +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
c2968d91e9 updating project task
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5103 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 03:54:47 +00:00
gwoo
d1a44e9777 updating project task
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5102 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 03:51:40 +00:00
gwoo
673d0e1492 updating project task
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5101 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 03:41:50 +00:00
gwoo
8e161f4079 fix to paths in shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5100 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 03:17:17 +00:00
gwoo
4c9a9ebb31 updating shell paths and help
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5099 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 01:16:10 +00:00
gwoo
b9c1fb8ed8 updating acl shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5096 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 14:10:32 +00:00
gwoo
e77f5b52ea adding bake tasks
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5095 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 12:24:40 +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
96e80a3e29 Adding fix for errors on some linux and windows install when using bash scripts
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5091 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 06:34:56 +00:00
phpnut
edd112eae9 Removing unused tasks
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5090 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 04:36:42 +00:00
nate
a17d40e948 Fixing incorrect index in ACL shell script error message, and clarifying help text
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5089 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 02:19:26 +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
f742c8f879 refactoring paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5084 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 00:12:15 +00:00
phpnut
a27b0f2fa6 Fixing output caused when class was loaded in console
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5083 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 23:42:16 +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
172492963e fixing paths in shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5080 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 22:25:40 +00:00
gwoo
aca2ccf3bb fixing error in shell taskNames
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5079 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 22:03:03 +00:00
gwoo
338a8c8f4b updating tasks, removing BakeTask base class, Task extends Shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5077 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 21:47:36 +00:00
gwoo
1875d74e4a updating shell task handling, removing bake2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5076 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 20:49:37 +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
be64c569b1 adding tasks and uses to shells, var $tasks and var $uses. if the task exists in the var it will be executed if the command is the same as the task. uses will load the model.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5074 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 20:17:27 +00:00
gwoo
0a428b371c removing em from css
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5073 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 16:03:24 +00:00
gwoo
130d95bd5d updating shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5068 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 01:36:56 +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
nate
7154feb7c8 Fixing ACL script for new model interface (Ticket #2164)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5062 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 23:11:58 +00:00
gwoo
5b42ca4355 updating paths for shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5061 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 22:53:32 +00:00
nate
026d680ccb Adding help() as a default command if main() is not defined in shell script
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5060 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 21:56:55 +00:00
gwoo
1ea4631ac2 updating paths for shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5059 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 21:43:27 +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
2e8e37860d Adding directories to skel/vendors
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5057 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 21:02:50 +00:00
phpnut
16a71704bd Renaming file
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5056 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 20:08:27 +00:00
gwoo
f1bf1fa6ee not fully complete changes but adding so we can change from Script to Shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5054 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 19:47:14 +00:00
phpnut
5be2a6ef40 Removing unneeded empty files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5051 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 18:33:33 +00:00
dho
6e4f66555d Removing unused function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5039 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-11 12:13:00 +00:00
gwoo
d1d583f0cd updating scaffolding and css
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5038 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-10 16:19:23 +00:00
nate
ca92008260 Updating help text on ACL script
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5036 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-08 15:24:00 +00:00
dho
e46be32f43 Removing bake() function and implementation of help()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5034 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-07 15:30:06 +00:00
dho
d0961d5871 Fixing undefined variable error
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5033 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-06 15:39:01 +00:00
phpnut
6295402bc3 Adding fix for #2530, adds support for Oracle to acl cli
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5032 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-06 03:32:06 +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
phpnut
c803acea56 Adding empty file to all empty directories
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5030 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-06 03:09:27 +00:00
phpnut
aecb9e63f0 Copying missing directories to skel/views/layouts
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5029 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-06 02:50:02 +00:00
phpnut
32cc12553e Copying i18n.sql to skel directory
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5028 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-06 02:39:44 +00:00
phpnut
8a3914f8df Reverting last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5026 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-05 06:25:11 +00:00
phpnut
d6e6249f05 Renaming file to see if executable bit will remain
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5025 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-05 06:24:17 +00:00
phpnut
20baea33dc Test commit to see if executable bit is removed
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5024 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-05 06:21:34 +00:00
phpnut
e4da27674a Correcting property settings on file
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5022 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-05 06:14:58 +00:00
phpnut
883d8a963c Correcting line endings on bash script.
Starting to correct paths to new console directory.
Replaced SCRIPTS define with CONSOLE_LIBS

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5020 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-05 06:00:38 +00:00
phpnut
476d621309 Moving dispatch.php to console/cake.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5017 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 21:46:55 +00:00
gwoo
694a1f30dc updating acl console script
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5016 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 20:12:08 +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
phpnut
b32d55e28d Renaming scripts directory to better explain what it is for
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5013 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 20:05:34 +00:00