Commit graph

807 commits

Author SHA1 Message Date
ceeram
cd6fd74caf Added -empty flag for ProjectTask to bake with empty dir files, tests included
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-22 18:18:14 -05:00
mark_story
94c0ec1699 Adding libs to templates/skel so baked projects contain an app/libs dir. 2009-11-17 10:27:09 -05:00
mark_story
925fda7ba6 Updating core layout, and skel layout to reflect changes in session->flash().
Updating skel layout to use $this->Helper.
2009-11-16 20:01:55 -05:00
mark_story
89558dc4af Fixing issues with models using default inflected tables instead of their actual tables when detecting associations. Fixes #315 2009-11-16 09:24:52 -05:00
mark_story
ddb9f8924c Updating i18n shell to use updated schema shell api. 2009-11-16 09:12:41 -05:00
mark_story
acd2c15690 Merge branch '1.3-misc' into 1.3-merger
Conflicts:
	cake/tests/cases/libs/configure.test.php
2009-11-15 20:09:12 -05:00
mark_story
0783176238 Replacing duplicated code with pluginSplit().
Updating test case.
2009-11-15 19:55:20 -05:00
mark_story
e1d60368f6 Adding missing reference operator. 2009-11-15 16:38:15 -05:00
predominant
0977b3fe15 Standardising docblock endings throughout. 2009-11-14 23:19:25 +11:00
mark_story
13f9b79dc9 Removing console/libs/templates. Has been moved in 1.3 and a merge with 1.2 added it again. 2009-11-13 09:15:31 -05:00
mark_story
61d56cd275 Changing order of text in project task.
Making ProjectTask::getPrefix silent when interactive = false.
Making ProjectTask silent from View task if all or a controller name is provided.
2009-11-11 09:56:35 -05:00
mark_story
0d37beca75 Removing duplicate variable assignment. 2009-11-10 09:23:43 -05:00
mark_story
b39b38aac9 Adding missing variable.
Adding Test case for previous commit.
2009-11-10 09:17:54 -05:00
mark_story
2af5318e7a Moving import in ModelTask to fix issue running bake model all. 2009-11-09 23:54:59 -05:00
mark_story
adaa2b689c Adding test case for previous commit.
Fixing function for non-windows paths.
2009-11-09 20:10:24 -05:00
ceeram
c810b3cde4 Making ProjectTask bake constants with DS instead of hardcoded / or \.
Makes developing/deploying to mixed systems easier.

refs #278

Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-09 18:58:21 -05:00
ceeram
d251a1d5ca Adding config() call to ensure that DATABASE_CONFIG has been
loaded before attempting to use it.
refs #277

Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-09 18:55:37 -05:00
mark_story
c4b493c934 Manually merging changes from ModelTask in 1.2 to FixtureTask
Adding test cases for FixtureTask.
2009-11-08 22:22:08 -05:00
mark_story
7981b44db4 Merge branch '1.3-misc' into mergers 2009-11-08 21:39:55 -05:00
mark_story
95cafc7138 Adding missing help text. 2009-11-08 13:46:45 -05:00
predominant
167c6e26c0 Removing more @filesource lines. 2009-11-06 18:12:27 +11:00
predominant
90248af9a4 Removing SVN lines. 2009-11-06 18:11:17 +11:00
predominant
62810fb4f4 Updating more Copyright dates. 2009-11-06 18:04:38 +11:00
predominant
1185681549 Removing newline caused by Subversion line removal. 2009-11-06 18:01:22 +11:00
predominant
384bb7a0e0 Update license lines throughout. 2009-11-06 17:51:51 +11:00
predominant
d7b604c8ed Fixing links throughout 2009-11-06 17:46:59 +11:00
predominant
8ff6505fe8 Removing excess whitespace 2009-11-06 17:08:23 +11:00
predominant
6782cb019c Update CakePHP Project link. 2009-11-06 17:00:11 +11:00
predominant
5dfe1777af Removing Subversion file headers. 2009-11-06 16:51:09 +11:00
predominant
ceee56013c Remove Subversion $Date$ lines. 2009-11-06 16:17:01 +11:00
predominant
04f1b6cdfe Remove Subversion $LastChangedBy$ lines. 2009-11-06 16:11:16 +11:00
predominant
42f3f16d60 Remove subversion $Revision$ lines. 2009-11-06 16:08:02 +11:00
predominant
1b9b0aae5e Updating Copyright date to include 2009. 2009-11-06 15:34:28 +11:00
predominant
8f75ff58c7 Removing @filesource 2009-11-06 15:24:02 +11:00
mark_story
5f1d090bf0 Adding import()s to DbConfigTask and ModelTask to fix missing class errors, when methods are run in certain orders. 2009-11-04 13:21:05 -05:00
mark_story
f81d3da175 Moving import to fix issue where cakeschema would not be found when baking models. 2009-11-04 12:59:32 -05:00
mark_story
dc07a05fca Merge branch '1.3' into 1.3-misc 2009-11-04 09:20:21 -05:00
predominant
cf42c8dd7f Updating default views and baking templates to use $this->Helper syntax for helpers. 2009-11-04 15:52:56 +11:00
mark_story
1d22adbc1a Merge branch '1.3-misc' into 1.3 2009-11-03 22:50:11 -05:00
renan.saddam
5ebdc88223 Fixing declaration of @access property. 2009-11-02 21:54:03 -02:00
mark_story
a3bb77c4f3 Merge branch '1.2' into 1.3-merger
Conflicts:
	cake/console/libs/acl.php
	cake/console/libs/tasks/controller.php
	cake/console/libs/tasks/db_config.php
	cake/console/libs/tasks/model.php
	cake/console/libs/templates/skel/views/layouts/xml/default.ctp
	cake/libs/model/datasources/dbo/dbo_mysql.php
	cake/libs/model/datasources/dbo/dbo_mysqli.php
	cake/libs/validation.php
	cake/libs/view/helpers/form.php
	cake/tests/cases/basics.test.php
	cake/tests/cases/console/libs/tasks/model.test.php
	cake/tests/cases/libs/cake_test_case.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysqli.test.php
	cake/tests/cases/libs/view/helpers/javascript.test.php
	cake/tests/cases/libs/view/helpers/session.test.php
	cake/tests/groups/controller.group.php
	cake/tests/groups/lib.group.php
	cake/tests/groups/no_database.group.php
2009-11-01 12:11:49 -05:00
mark_story
e6c58e8030 Fixing wierd workflows in bake when project baking was aborted, it would ask if you wanted to create a database config file for the aborted app. 2009-10-30 22:08:06 -04:00
mark_story
ad8cba41e6 Merge branch '1.3' into 1.3-misc 2009-10-30 22:04:20 -04:00
mark_story
bc26a6ab67 Updating fixture task to change when CakeSchema is loaded to fix issues with errors being generated when baking new projects.
Fixes #226
2009-10-30 22:03:23 -04:00
Gordon Pettey
2e3bbe363d Array coding convention and extraneous punctuation
Signed-off-by: Mark Story <mark@mark-story.com>
2009-10-30 16:38:27 -04:00
renan.saddam
df8895a266 Adding a optinal parameter and question for merge action. Refs #147. 2009-10-29 21:26:59 -02:00
mark_story
6c18c0e0c7 Fixing escape parameter usage. 2009-10-28 18:41:29 -04:00
mark_story
1e7c2bbfde Adding libs dir generation to PluginTask. Baked plugins now come with a libs dir. 2009-10-28 09:21:42 -04:00
mark_story
3b391e30df Adding help text for new -records flag in the FixtureTask 2009-10-28 08:26:52 -04:00
mark_story
102f10365f Implementing -records flag to enable quick access to building fixtures off of live data. Refs #196 2009-10-24 14:32:56 -04:00