Jose Lorenzo Rodriguez
e78345035a
Updating CommandListShell to use the new CakePLugin class
2011-05-12 00:20:29 -04:30
Jose Lorenzo Rodriguez
2be486844e
Fixing PluginTask tests
2011-05-11 23:48:51 -04:30
AD7six
c7794c1e1f
also move any error classes (AppError) to Lib/Error/*
2011-05-09 00:46:51 +02:00
AD7six
ade85c1cd0
add exception for Dbo classes
2011-05-09 00:00:19 +02:00
AD7six
07ffe2fcd8
update the move logic
...
whereas previously it only checked if the filename matched the class,
the logic now checks the file is located in the folder expected too.
2011-05-08 23:55:16 +02:00
AD7six
cb010b62e6
Merge branch '2.0-upgrade' into 2.0
2011-05-07 19:00:17 +02:00
AD7six
7532ab0586
reset files on each itteration
2011-05-01 23:30:24 +02:00
AD7six
4c66db253a
don't forget tasks
2011-05-01 23:30:24 +02:00
AD7six
1d493ca122
add a function to make sure file names match the class they contain
2011-05-01 23:30:24 +02:00
AD7six
d100f09bb2
move/rename folders
2011-05-01 23:30:24 +02:00
AD7six
afa6baab2d
add a command to run all options
2011-05-01 23:30:24 +02:00
AD7six
f3b216dfe2
remove unused var
2011-05-01 23:30:24 +02:00
AD7six
9ac717819f
code standards
2011-05-01 23:30:24 +02:00
AD7six
bbf87f062e
don't fail if the dir doesn't exist
2011-05-01 23:30:24 +02:00
Luís Armando
12bf3eae38
Correction of UpgradeShell file name.
2011-05-01 23:30:24 +02:00
Graham Weldon
35485a13e5
Moved Upgrade console into place for 2.0 Console standards.
2011-05-01 23:30:24 +02:00
mark_story
317aad9526
Fixing missing uses for Controller Task.
...
Fixing incorrect import() for ClassRegistry.
2011-05-01 14:58:32 -04:00
Sonny Gauran
4add005baa
Fixed baked database.php constants
2011-04-30 02:12:15 +08:00
Renan Gonçalves
170ba71850
Changing the visiblity from private to protected, for extensibility sake.
2011-04-25 22:08:12 +02:00
Renan Gonçalves
9da76a8655
Fixing a couple of typos from last commit.
2011-04-25 21:35:27 +02:00
Renan Gonçalves
abbe5aaea2
Updating console to use i18n'ed strings.
2011-04-25 21:24:16 +02:00
Renan Gonçalves
3251faf8e9
Expliciting methods visibility.
...
No need to keep track of line anymore, token_get_all (PHP 5.2.2) returns it.
... and fixing some grammar typos on the way.
2011-04-25 21:24:07 +02:00
Renan Gonçalves
cd3529c986
Implementing support to multiline string in __*() calls.
2011-04-25 21:23:56 +02:00
evilbloodydemon
cebcd64090
Unused variables in Console removed
2011-04-23 00:02:06 +04:00
Jose Lorenzo Rodriguez
cf73c1da3a
Removing refactoring artifact in TestsuiteShell
2011-04-21 13:31:34 -04:30
Jose Lorenzo Rodriguez
1014806c7b
Colorful error if not PHPUnit is found
2011-04-21 13:28:49 -04:30
Jose Lorenzo Rodriguez
8fa73e9650
Throwing an exception if no PHPUnit is installed and running from console
2011-04-21 13:26:50 -04:30
Jose Lorenzo Rodriguez
b1e74cff5b
Fixing more path generation for plugins, and typo from previous commit
2011-04-20 11:32:16 -04:30
Jose Lorenzo Rodriguez
254225372a
Fixing problem with skel generation in project task
2011-04-19 12:14:02 -04:30
AD7six
9ac79da3f7
don't repeat the default value in the message
...
the default value is the cli prompt anywaya
2011-04-17 18:17:25 +02:00
AD7six
1c62a66b0b
simpler bake prompt
...
we don't need to repeat the defualt path twice, and a user can just as
easily type "appname" instead of /some/absolute/path/appname
2011-04-17 18:12:25 +02:00
AD7six
4ab27d6fea
full paths are /not/ needed.
...
having the help/text state it is necessary is confusing
2011-04-17 18:08:10 +02:00
AD7six
010feb2092
prevent surpirses with Folder not being available.
...
Previously loading File would load Folder also - that's not true with
the new changes, ensure that the Folder class is regsitered with
App::users when the Folder class is used.
2011-04-17 18:03:43 +02:00
AD7six
c1a8dbbce7
provide a default skel dir, and default to the core
2011-04-16 20:20:27 +02:00
AD7six
a0fce70c13
prevent undefined index error baking a new project
...
if you call `cake bake project` the skel param is not present
2011-04-16 19:22:53 +02:00
mark_story
0c4a16bc98
Fixing missing import for AppModel when baking with cake bake all
2011-04-16 09:33:16 -04:00
Jose Lorenzo Rodriguez
9f5ab79abc
Fixing bake tasks after most recent changes
2011-04-11 23:01:48 -04:30
Jose Lorenzo Rodriguez
000e05b468
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
cake/libs/view/helpers/js.php
cake/tests/lib/templates/missing_conenction.php
cake/tests/lib/templates/missing_connection.php
lib/Cake/Model/ConnectionManager.php
lib/Cake/TestSuite/templates/missing_conenction.php
lib/Cake/View/Helper/FormHelper.php
lib/Cake/tests/Case/Core/ConfigureTest.php
2011-04-11 22:48:08 -04:30
Jose Lorenzo Rodriguez
75a1481e22
Fixing test loading in cli
2011-04-11 22:23:03 -04:30
Jose Lorenzo Rodriguez
1bbdefc4ad
Fixing some bake tasks
2011-04-11 22:15:51 -04:30
Jose Lorenzo Rodriguez
241a3bf624
Fixing ProjectTask tests and renaming folders in skel directory
2011-04-11 21:43:40 -04:30
Jose Lorenzo Rodriguez
662abd6419
Refactoring FixtureTask so it generates correct file names
2011-04-10 20:56:06 -04:30
Jose Lorenzo Rodriguez
d561460fda
Refactoring TestTask so it generates tests according to the new file naming standard
2011-04-10 20:49:16 -04:30
Jose Lorenzo Rodriguez
7f2734d053
Starting to migrate internal tests files to the new file schema, and fixing related tests
2011-04-10 15:02:19 -04:30
Jose Lorenzo Rodriguez
5c91827c44
Fixing typo in controller task
2011-03-21 00:45:05 -04:30
AD7six
2078dbccaa
use the cake_console domain for everything related to the cli
...
using big po files causes a lot of noise to be loaded whenver the
langauge domain is touched - therefore avoid any cli messages from being
loaded by web requests at all.
2011-03-19 18:32:35 +01:00
AD7six
39c7d03319
Merge branch '2.0-class-loading' into 2.0-translations
...
Conflicts:
lib/Cake/Console/Command/Task/ControllerTask.php
lib/Cake/Console/Command/Task/ProjectTask.php
lib/Cake/Core/Configure.php
lib/Cake/View/pages/home.ctp
2011-03-16 12:29:39 +01:00
Jose Lorenzo Rodriguez
8ce605ab88
Fix for regression introduced in last commit
2011-03-16 00:28:08 -04:00
Jose Lorenzo Rodriguez
3f7928fccc
Changing paths againg form datasources sub packages,
...
Updating database.php.default file
Fixing view generation task
2011-03-16 00:14:37 -04:00
Jose Lorenzo Rodriguez
8213160bb1
Udating template home.ctp and providing a default skel dir in tamplate task
2011-03-15 23:48:51 -04:00