Commit graph

4652 commits

Author SHA1 Message Date
mark_story
a85bf16560 Cleaning up model template. 2009-05-13 23:50:46 -04:00
mark_story
4a9a5bce69 Removing template code. 2009-05-13 23:37:21 -04:00
mark_story
3c08369e3a Adding bake model template.
Adding tests for bake model.
2009-05-13 23:36:13 -04:00
mark_story
a7f0071c61 Forcing templatePaths to exist. 2009-05-13 23:35:41 -04:00
mark_story
333713e978 removing whitespace. 2009-05-12 22:01:27 -04:00
mark_story
15fb1a711a Updating TemplateTask adding test case and test object file. 2009-05-12 22:00:30 -04:00
mark_story
3a36979a21 fixing doc block 2009-05-12 21:35:06 -04:00
mark_story
a38233e75d Updating FixtureTask and FixtureTask test to use TemplateTask 2009-05-12 21:26:37 -04:00
mark_story
dff90e892e Adding Template Task, removing CodeGenerator. 2009-05-12 21:19:15 -04:00
mark_story
3ea2b5a87d Moving CodeGenerator class into bake shell.
Updating FixtureTask and test cases.
Updating template for fixtures.
2009-05-10 22:16:38 -04:00
mark_story
a6d16500a9 Adding CodeGenerator in a temporary place. 2009-05-10 13:33:52 -04:00
mark_story
328756f686 Adding fixture template 2009-05-10 13:33:05 -04:00
mark_story
4b75c6b78e minor cleanup 2009-05-10 12:43:38 -04:00
mark_story
ef519621b4 Adding tests for doAssociations 2009-05-10 12:11:20 -04:00
mark_story
6be70c3cfa Adding test coverage for inOptions. 2009-05-10 11:01:15 -04:00
mark_story
d066a4a0d6 Extracting method out. 2009-05-10 01:35:59 -04:00
mark_story
ec443c4371 Moving method and adding tests. 2009-05-10 01:04:40 -04:00
mark_story
5c48603bd0 Refactoring methods, adding self join association detection.
Test cases updated.
2009-05-09 23:32:22 -04:00
mark_story
4b4875e0a9 Renaming methods, fixing issue with habtm bleed through.
Added test cases for all relation generation.
2009-05-09 21:28:51 -04:00
mark_story
0467641469 minor cleanup 2009-05-09 02:22:29 -04:00
mark_story
31a266fc4c Refactoring association generation. 2009-05-09 02:20:46 -04:00
mark_story
11e2912945 Making output fit nicely on 80col display. 2009-05-09 01:00:14 -04:00
mark_story
8775f15375 Updating multiple validation generation.
Adding test coverage for interactive validations.
2009-05-09 00:35:03 -04:00
mark_story
103b97493a Adding test cases for validation generation
Updating validation generation functions.
2009-05-08 01:09:19 -04:00
mark_story
fae7ed5584 Refactoring model task. Starting to refactor
validation generation to enable multiple validation.
2009-05-08 00:49:26 -04:00
mark_story
fd5b422357 Fixing error when no connection is specified and
bake fixture Foo is used.
2009-05-07 23:59:43 -04:00
mark_story
37d81cb92d Adding __()
Refactoring duplicate code, and pulling out separate methods.
2009-05-05 00:43:29 -04:00
mark_story
bb2f6b2ef5 Consolidating $useDbConfig to $this->connection.
Updating test cases.
2009-05-05 00:10:24 -04:00
mark_story
f4dc4bc1ed Adding test cases to FixtureTask.
Removing useless param.
2009-05-04 23:08:15 -04:00
mark_story
e21cc3db72 Adding test cases for bake()
Adding support for -connection param
Adding partial support for -plugin param
Separating file writing and code generation functions.
Updating help()
2009-05-03 21:43:22 -04:00
mark_story
6180ca80c9 Adding common parameter handling for connection
and plugin params.
2009-05-03 20:48:13 -04:00
mark_story
1cc3a6ecfb Removing unused variable. 2009-04-29 22:50:57 -04:00
mark_story
40ebdf8aac Adding fixture all command.
Fixing errors with maxlength and timestamp fields
Adding return for ModelTask::listAll()
2009-04-29 22:50:43 -04:00
mark_story
d3fe3d5959 Adding fixture <name> baking 2009-04-29 22:42:11 -04:00
mark_story
2b87be1d7c Updating FixtureTask help
Adding test case for FixtureTask
2009-04-29 22:40:49 -04:00
mark_story
80287223f1 Additional Test for ModelTask 2009-04-29 22:25:42 -04:00
mark_story
aad2bd702d Adding test case for Model Task 2009-04-29 22:17:08 -04:00
mark_story
f992406501 Removing fixture generation from ModelTask 2009-04-29 21:18:08 -04:00
mark_story
0b2232d05a Updating fixture task. Refactored methods.
Multiple rows can now be generated.
2009-04-29 20:52:12 -04:00
mark_story
d705e8943a Refactoring table naming interaction into getTable() 2009-04-28 21:20:34 -04:00
mark_story
0b40e5c709 Refactoring out to use DbConfig::getConfig
Continuing fixture bake
2009-04-28 20:45:07 -04:00
mark_story
802ed73c0a Adding getConfig() so other tasks can pick connections more easily. 2009-04-28 20:44:23 -04:00
mark_story
b5cc69c37c Adding Fixture task to bake. 2009-04-28 20:32:15 -04:00
mark_story
f7a7b07740 Turning off interactive for bake all commands. 2009-04-27 23:58:36 -04:00
mark_story
1291d4f025 Adding cake bake view all 2009-04-27 23:55:34 -04:00
mark_story
73b9cbfead Adding help text entries for controller all and model all. 2009-04-27 23:43:06 -04:00
mark_story
f0543987e1 Adding cake bake controller all 2009-04-27 23:36:57 -04:00
mark_story
798a9d5e43 Adding cake bake model all. 2009-04-27 23:15:28 -04:00
gwoo
ec18aac4ab Merge branch 1.2 into 1.3 2009-04-15 15:16:01 -07:00
mark_story
8db4fe682b Allowing name attribute to pass on to hidden field in FormHelper::radio().
Fixes inconsistency with checkbox().  Test case added.
Fixes #6260

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8145 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-04-15 17:18:01 +00:00