Commit graph

117 commits

Author SHA1 Message Date
nate
58f1dcd0ff Adding install task for bake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3745 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-26 17:31:46 +00:00
dho
41465fe8bd Typo fixed (ticket #1590)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3744 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-26 16:29:10 +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
dho
d9b8b52eba Adding definition for WWW_ROOT constant (ticket #1533)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3738 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-24 14:45:55 +00:00
dho
2069b63e11 Fixing a problem with PHP4
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3737 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-24 12:10:33 +00:00
dho
2b008eb66a Initial version of a DBConfig task
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3735 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-22 16:04:30 +00:00
dho
c186656ae3 Show error message if a task is not found
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3734 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-22 12:34:50 +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
dho
8115129597 Actualizing config file in skel folder
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3719 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-19 07:39:59 +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
64359fe7ba Removing functions from basics.php that where added as workarounds for PHP < 4.3.
Removing legacy.php and all references to the file

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3717 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-19 00:37:29 +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
0078f8291e updating generic css
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3696 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-17 18:15:18 +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
gwoo
89549ec129 fix belongsTo select for bake 1.2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3639 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-13 08:52:26 +00:00
gwoo
46b1451a8e another fix for bake 1.2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3638 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-13 07:54:27 +00:00
gwoo
9d1c5334bd another fix for bake 1.2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3637 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-13 07:51:55 +00:00
gwoo
80481ae318 added extract() to Set, added format() to TimeHelper, fixed bake admin views creation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3636 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-13 07:41:10 +00:00
gwoo
c7e5a528a3 removing debug code from bake 1.2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3635 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-13 04:45:12 +00:00
gwoo
1a977a2053 bake fix for root path
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3633 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-13 03:46:47 +00:00
gwoo
ff847150e2 bake 1.2 fixes, skel and css updates
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3627 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-10 22:05:41 +00:00
gwoo
5f88da5d70 bake 1.2 fixes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3625 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-10 20:00:35 +00:00
gwoo
79a538d6c5 updating css and bake in 1.2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3624 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-10 18:24:25 +00:00
gwoo
f0ce5ba0ce bake refactoring for 1.2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3613 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-09 20:27:28 +00:00
gwoo
46d9b86b76 adding fix for #1465 and #1469
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3581 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 16:44:02 +00:00
dho
09ff467443 Actualizing config files in skel folder
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3574 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-24 15:24:52 +00:00