Commit graph

70 commits

Author SHA1 Message Date
gwoo
76acfafa5a fixes #4848, console building paths when config does not exist.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7138 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-07 22:09:40 +00:00
gwoo
8c1566b1a3 fixes #4849, DS in WWW_ROOT of console
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7123 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 14:52:42 +00:00
gwoo
394fe24e90 closes #4776, cleaning up output from console shells
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7100 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 05:11:04 +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
047c5fc040 refactor ShellDispatcher::parseParams(), fixes #4771
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7049 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-27 21:43:15 +00:00
gwoo
df5fd8160f fixing undefined paths variable in console
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7029 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 15:17:13 +00:00
mariano.iglesias
f05a9399cb Fixing path issues on Windows with bake, fixes #4495
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6946 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-19 05:11:50 +00:00
gwoo
17379fff80 fixes #4495. updating cake.php and cake.test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6890 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 15:40:35 +00:00
gwoo
18b627636b updating cake.test.php, fixes #4638. updating cake.php, fixes #4648 (with tests), updated Cache
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6870 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 19:43:55 +00:00
DarkAngelBGE
6d1f927b3f fixes #4495
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6854 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 21:27:33 +00:00
the_undefined
24d8878ab6 Added CAKEPHP_SHELL constant to shell dispatcher making it easy to recognize when in shell mode
Fixed #4599

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6834 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 05:23:57 +00:00
gwoo
f6a78538ff updating shell, fixes #4540 where shell name and model are the same
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6738 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 04:44:21 +00:00
nate
6a6928e084 Adding array index fix for loading vendor files in console
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6689 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 05:29:46 +00:00
gwoo
df15244909 fix for console on php 4 probably also related to #4326 & #4337. Thanks for testing sdevore.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6579 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 04:46:35 +00:00
phpnut
2e3391006f "Fixes #4201, Cake i18n script in command line.
Fixed i18n shell to prompt for task commands.
Changed i18n shell to create database tables using schema
Changed acl shell to create database tables using schema"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6516 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 07:14:33 +00:00
gwoo
f5de1ac9a2 adding shell loading from plugins, updating exit from lists controller and model in tasks
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6437 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 00:44:34 +00:00
gwoo
f598b58465 updating console so shells and tasks do not have to extend Shell, updated error handler params and maintained backwards compatibility closes #3538, updated Object::cakeError to add app_error, closes #3982
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6407 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-24 20:32:10 +00:00
phpnut
15be9d3cb9 "Fixes #3862, set_time_limit(0) has no effect because of ini_set('max_execution_time', 60 * 5);
changed max_execution_time , 0. Since php 4.3 this is the default anyway"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6340 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 13:53:03 +00:00
nate
181aa97ca1 Adding String class to shell boostrap, fixes #3793
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6312 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 13:14: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
39b37c5c34 updating api shell, will now show comments about a method. normalizing paths in configure
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6081 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-26 03:08:50 +00:00
gwoo
ff8faa5318 updating AclShell, added check comand, closes #2780
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6076 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-25 15:27:42 +00:00
gwoo
caefdbb6d7 updating console params, schema, db acl schema, and deprecated api shell initidb in favor or cake schema run create -name DbAcl, closes #3566
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6073 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-24 23:12:57 +00:00
gwoo
ae9cdb78f4 fixed usage of empty params in ShellDispatcher, fixed missing variable in ProjectTask, updated SchemaShell and generation. Schema can now generate a snapshot, and can be forced to generate before models are created. Added 'run' command to handle create and update of the database. Test runs can be performed using -dry. Be sure to check out cake schema help.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5908 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-27 20:00:29 +00:00
mariano.iglesias
896f62544b Changing @return int to @return integer and @param bool to @param boolean
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5860 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:54:36 +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
gwoo
0230c3184b updating project task and folder, fixes #3284
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5756 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-14 19:18:24 +00:00
gwoo
b2e263cd46 updating console paths fixes #3092 and fixes #3109
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5627 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-11 19:03:34 +00:00
phpnut
1ed5a285ba Fixes #3220, Hitting Ctrl-D in a cake console, causes it to loop forever.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5623 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-10 11:51:59 +00:00
gwoo
9072c07cd6 updating console help for ticket #3133
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5584 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-26 15:51:05 +00:00
gwoo
49df24a5e3 another update for console bootstrap
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5534 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 08:42:21 +00:00
gwoo
db9b9d0e1b updating console bootstrap in cake.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5532 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 07:35:18 +00:00
gwoo
e4b57ef80f fixing acl console for help, #3024, updating bake controller task help
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5493 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-05 18:18:30 +00:00
gwoo
797b10f0ed the real fix for lost params in console, #2807
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5482 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-03 03:12:52 +00:00
gwoo
1e141a567f adding set_time_limit fix for #2914
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5469 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-27 03:47:11 +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
gwoo
0d999092d9 updating console paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5449 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-22 03:23:32 +00:00
gwoo
0519196d69 updating console paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5448 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-22 03:22:16 +00:00
gwoo
a215447f83 updating project task, adding option to specify full path to skel directory
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5440 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-18 01:54:47 +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
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
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
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
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
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