Commit graph

98 commits

Author SHA1 Message Date
phpnut
87060dbf86 Updating files with translation function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4135 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 00:29:39 +00:00
gwoo
f5e2dea563 adding automatic hidden field for FormHelper::input(), removed create() from bake controller edit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4097 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-12 22:43:01 +00:00
gwoo
6ffdf09d4d fix typo in bake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4089 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-08 21:48:19 +00:00
gwoo
d67977bba0 fix bug in model names
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4087 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-08 16:20:42 +00:00
gwoo
2bab8c5f57 updating code created by bake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4086 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-08 09:07:53 +00:00
gwoo
7e5c99a426 bake fix for self joins
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4030 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 21:23:31 +00:00
gwoo
8657757bde fix form helper, bake, refactor Controller::_selectedArray to just take the association name and checks Controller::data, also made Controller::_selectedArray work for submitted form data and returned model data
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4029 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 10:21:22 +00:00
gwoo
e2614e5140 updating bake and form helper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4027 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 07:58:35 +00:00
gwoo
31f62cca32 oops
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4024 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 06:58:11 +00:00
gwoo
5a39777c95 fix to baked views
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4023 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 06:44:45 +00:00
gwoo
8615ddecac fix to baked forms
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4022 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 05:45:46 +00:00
gwoo
8d4fe47571 fix to bake loading models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4021 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 04:19:50 +00:00
gwoo
3b4553a758 updating bake for 1.2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4008 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 09:34:25 +00:00
phpnut
26350a3890 Changed code format for test files generated by bake.php.
Changed name of controller test file

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3925 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 06:51:50 +00:00
gwoo
46408b2a8b 1.2 bake: porting changes from 1.1
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3924 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 06:46:10 +00:00
dho
a1be115dd1 Fixing several problems related to creating unit tests (ticket #1624)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3829 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-06 09:12:38 +00:00
phpnut
969676bbf9 Fixing path search for the test suite in bake script
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3826 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-04 07:08:17 +00:00
gwoo
1db5de6623 1.2: bake, merging changes from 1.1
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3823 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-03 22:47:43 +00:00
gwoo
45fd88df49 bake in 1.1 and 1.2 refactor and bug fixes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3780 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 19:57:17 +00:00
dho
fb7e66881c Fixing wrong key names for hasMany associations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3775 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 08:07:16 +00:00
gwoo
b68181311c fixing #1598: bake edit actions
fixing  baked views with admin

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3762 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-28 20:15:41 +00:00
phpnut
12a6df23ef Adding Controller::_selectedArray().
Changed Bake to use _selectedArray instead of _ _selectedArray()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3742 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-26 03:08:53 +00:00
gwoo
cd81fd3b24 baker 1.2: last one before adding i18n support back
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3729 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-20 20:58:14 +00:00
gwoo
20bdd8181b bake 1.2 : removed _ _() for now, added admin to urls for admin methods and views
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3722 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-20 01:19:46 +00:00
gwoo
5b6eb9f59d 1.2: updating bake to use _ _() function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3718 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-19 04:55:07 +00:00
phpnut
260c257514 Fixing bug in bake that would use the class name for the foreign key in a hasOne association
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3708 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 13:00:34 +00:00
phpnut
b64e19073b Fixed bake script dropping associations if no is selected during the model creation.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3705 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 11:22:34 +00:00
gwoo
6d572a2b2b bake: fixing lists
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3700 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 00:16:09 +00:00
gwoo
cf81d3077a bake: add list of controllers for controllers and view baking, just like models.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3698 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-17 19:37:55 +00:00
gwoo
3e2c52a5ab bake: fixing generated views
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3697 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-17 18:28:52 +00:00
gwoo
1b09e10216 bake: fixing controllers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3695 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-17 18:01:58 +00:00
gwoo
251bf74e6a bake: fixing pluralName error
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3694 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-17 17:39:48 +00:00
gwoo
0f4783b2ad bake: stop the primaryKey from being printed if it equals id
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3693 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-17 16:49:09 +00:00
gwoo
51f95aada4 re-format of generated model code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3691 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-17 05:05:08 +00:00
gwoo
3e21696255 removing debug code from bake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3688 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 20:57:56 +00:00
gwoo
cefde59a76 some more fixes for custom associations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3687 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 20:30:27 +00:00
gwoo
4e081f804e some more fixes and code changes in bake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3686 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 11:19:39 +00:00
gwoo
25b1bfa1c2 fix for custom model table in bake 1.2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3684 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 08:33:23 +00:00
gwoo
6f2d0f6951 fix for custom model name in bake 1.2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3683 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 08:28:26 +00:00
gwoo
5b0738d73f fix for custom associations in bake 1.2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3682 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 08:13:41 +00:00
gwoo
8e8898102c fix for custom associations in bake 1.2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3681 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 07:30:01 +00:00
gwoo
efa9eaba4d fix for custom associations in bake 1.2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3680 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 07:10:32 +00:00
gwoo
7554887b1e fix for custom associations in bake 1.2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3679 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 06:45:13 +00:00
gwoo
9a4e2c4f48 fix for custom associations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3678 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 06:19:46 +00:00
gwoo
878d786f05 removed useTable from bake model if it follows conventions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3677 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 06:06:49 +00:00
gwoo
c9a209ec92 updating bake 1.2 model building
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3676 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 05:58:13 +00:00
gwoo
f67e3189ab changing default connect setting in bake to connect rather than pconnect
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3671 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-14 19:05:23 +00:00
phpnut
337a7af264 Removing bad character in bake script
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3670 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-14 18:45:00 +00:00
phpnut
3d47887211 Updating Bake to create admin route in core.php if not already set and admin routing option is used.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3669 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-14 18:07:52 +00:00
gwoo
1c1bc8bfa8 more happy fixes for bake, admin option works now
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3640 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-13 09:31:20 +00:00