Commit graph

4974 commits

Author SHA1 Message Date
AD7six
a87b6cdf91 allow rebaking all views based on available methods & templates 2009-07-29 12:48:31 +02:00
AD7six
bbc2562d3f Correcting use of CONSOLE_LIBS to refer to template files 2009-07-29 10:17:06 +02:00
AD7six
d54369e29e CONSOLE_LIBS isn't an absolute path
Adding app vendor folders

Correcting plugin test to match changes to the task
2009-07-29 10:12:54 +02:00
AD7six
803d19c80e preventing the possibility of trying to delete / if the test dir wasn't created correctly
And the ensuing exception if permission is denied
2009-07-29 09:58:35 +02:00
AD7six
b7b27e3f03 Changing the Plugin task to take the dirs to create from the App skeleton 2009-07-29 09:32:30 +02:00
mark_story
9092b25004 Fixing how scaffold arg works, now generates scaffolds.
Making admin arg only make admin methods and new both arg make both admin and non admin methods.
Adding test cases.
Adding new line to template.
2009-07-28 22:53:29 -04:00
mark_story
8ae8a086dd Fixing template path detection for plugins. 2009-07-28 22:14:33 -04:00
AD7six
84e0e10d56 Merge branch '1.3-bake' of dev@code.cakephp.org:cakephp into 1.3-bake
Conflicts:

	cake/console/libs/tasks/view.php
2009-07-28 23:54:56 +02:00
AD7six
5a5a4d86f5 Preventing a missing template from halting the bake console
Restructuring the  view task to be lest nested

allowing anything_add and anything_edit to map to anything_form
2009-07-28 23:49:04 +02:00
mark_story
092f58ba79 Merge branch '1.3-bake' of dev@code.cakephp.org:cakephp into 1.3-bake 2009-07-28 17:06:59 -04:00
mark_story
80f9e6f7d6 Finishing refactor on View task to use _methodsToBake 2009-07-28 17:06:39 -04:00
AD7six
23b0088285 PHP4 compatibility for plugin syntax change 2009-07-28 22:19:15 +02:00
AD7six
9d0d31409a Allowing admin baking to work with plugin controllers 2009-07-28 09:13:30 +02:00
AD7six
adc802815a Allow using dot notation to denote a plugin controller/model etc. 2009-07-28 09:09:35 +02:00
AD7six
c629d2c820 allow overriding the default templates
Allow templates to be distributed as plugins

Prevent any folder named skel or something_skel, or not containing any of the folders
that bake is expecting, from being considered a theme.
2009-07-28 09:02:29 +02:00
AD7six
3b1664b7dd Preventing loading the ConnectionManager from triggering reloading the Model file 2009-07-28 08:36:55 +02:00
AD7six
9d4aa3188e correcting path the skeleton core file 2009-07-27 23:26:13 +02:00
AD7six
f9dc6b01c1 Merge branch '1.3' into 1.3-bake 2009-07-27 22:39:24 +02:00
mark_story
478e90240d Updating paths in ProjectTask and PluginTask to reflect changed dirs.
Updating tests.
2009-07-26 01:52:05 -04:00
mark_story
b4f4aeeec7 Moving shell templates dirs.
Updating TemplateTask to reflect changes in directories.
Updating test cases to use App::build()/App::path()
2009-07-26 01:29:08 -04:00
gwoo
062f471b7f updating App::import usage. ran each test and everything seems ok. 2009-07-25 18:27:02 -07:00
gwoo
0c59c137e8 adding more tests for app::import to show proper usage of importing parent classes 2009-07-25 16:39:09 -07:00
gwoo
df6d62764f updating App::objects cache support 2009-07-25 15:57:49 -07:00
mark_story
e9afb63d19 Merge branch '1.3' into 1.3-bake 2009-07-25 18:19:44 -04:00
gwoo
fe569ecdf8 updating bootstrap comments 2009-07-25 15:17:27 -07:00
gwoo
cfb46024d7 fixing Configure where Set is not found.also adding to CakeSession 2009-07-25 12:32:02 -07:00
gwoo
766e12bc2a Merge branch '1.3' into 1.3-newlines 2009-07-25 10:41:40 -07:00
gwoo
1924eb9dde updating configure and debugger 2009-07-25 10:27:17 -07:00
gwoo
986af28de0 Merge branch '1.2' into 1.3 2009-07-24 15:57:30 -07:00
jperras
9d7b560817 Splitting model tests into separate files to allow more fine-grained test running.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8255 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-24 22:17:14 +00:00
AD7six
737740d9c2 adding some test case folders 2009-07-25 00:14:32 +02:00
gwoo
9a909c553f updating configure to handle infinite depths of keys. thanks to farhadi. 2009-07-24 13:50:50 -07:00
gwoo
7f6c2b6b33 adding more levels to confiure test 2009-07-24 13:29:46 -07:00
AD7six
00ac0348bf correcting reference to Dispatcher class 2009-07-24 22:04:06 +02:00
AD7six
ae74dca1a5 Moving the clear command into the shell dispatcher 2009-07-24 22:01:55 +02:00
AD7six
b2142df2bc adding a newline before all comment blocks 2009-07-24 21:18:37 +02:00
gwoo
38e1954996 Merge branch '1.3-bake' into 1.3 2009-07-24 10:37:22 -07:00
mark_story
565cd96120 Fixing issue in CakeTestCase where fixture tables were incorrectly detected and dropped when running tests with no $test config or $test config and $default config on the same database.
Updating TestAppsPostsController to fix compatibility issues with postgres.
Defining $name in CakeTestFixture to remove notice errors, when constructing a nameless Fixture.
Fixes #6518

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8254 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-24 16:29:18 +00:00
mark_story
04875033ea Removing trailing spaces. 2009-07-23 17:19:08 -04:00
DarkAngelBGE
9eaad7528f Removing usage of up() and low() from core
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8253 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-23 21:04:40 +00:00
DarkAngelBGE
8f61c666c2 Removing usage of r() from core
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8252 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-23 20:51:24 +00:00
gwoo
61c2c3009d updating session requires and removing deperacted method from text helper 2009-07-23 13:07:03 -07:00
gwoo
30281d6c59 fixes #6506, notice on 5.2.10 for habtm save with empty value
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8251 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-23 19:28:46 +00:00
mark_story
93d64c4e76 Removing use of e() from core classes. Refs #6525
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8250 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-23 13:35:14 +00:00
mark_story
e382f53ead Fixing duplicated test case class name.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8249 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-23 13:31:16 +00:00
gwoo
a9d98e73c3 Merge branch '1.2' into 1.3 2009-07-22 09:27:31 -07:00
gwoo
f295a21831 updating some code related to Configure/App changes. Fixing issue when cache is not configured 2009-07-22 09:11:38 -07:00
DarkAngelBGE
3e14d281df fixes #6397, removing unneeded line feed in email component headers, adding tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8248 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-22 16:04:53 +00:00
gwoo
8dc777a2b7 Merge branch '1.3-bake' into 1.3 2009-07-22 08:56:00 -07:00
DarkAngelBGE
07096f3bcc fixes #6403, removing unreachable code in router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8247 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-22 14:37:50 +00:00