Commit graph

888 commits

Author SHA1 Message Date
dho
c18cd26ccb Adding PHP5 constant
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3746 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-27 07:41:49 +00:00
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
nate
b90109059c Removing references to $this (Ticket #1587)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3743 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
nate
79a8944ba4 Refactoring Dbo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3741 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-25 13:43:35 +00:00
nate
2046eed40d Refactoring DboSource
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3740 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-25 13:27:32 +00:00
gwoo
42676402d3 fix for #1572, $this->id set to lastInsertId after save
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3739 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-25 12:07:16 +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
nate
81342be675 Adding additional options for Object::trace()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3732 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-21 01:46:22 +00:00
gwoo
8b680a0107 1.2: router fix for plugins in url()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3731 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-20 21:58:43 +00:00
gwoo
da2cf11ef3 1.2: pass the plugin name to renderElement
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3730 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-20 21:48:35 +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
nate
4caa838d09 Adding output fix for dynamically-called methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3728 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-20 19:20:50 +00:00
nate
2993a8d412 Adding Router path fixes for error pages (Ticket #1566), fixing code formatting (Dispatcher), and adding API enhancements for model behaviors
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3727 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-20 17:24:37 +00:00
nate
607158de45 Removing deprecated method AjaxHelper::linkToRemote()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3726 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-20 17:22:23 +00:00
nate
3ed7c6e931 Adding 1.2 fix for Ticket #1498
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3725 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-20 02:32:50 +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
755e3dbae1 1.2: updated file_put_contents in basics to return number of bytes written or false
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3721 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-19 18:14:09 +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
nate
fd4d9e41e2 Additional commit for [3713]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3716 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 23:03:55 +00:00
nate
9c8d4d83dd Adding Router fix for # URLs (Ticket #1552)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3715 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 21:15:54 +00:00
nate
7506859555 Fixing DataSource path typo in ConnectionManager, and removing hardcoded paths to DboSource
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3713 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 19:35:29 +00:00
nate
114a465a36 Adding fix for Ticket #1551
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3712 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 18:07:55 +00:00
phpnut
ad65992ead removed bad char in my last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3711 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 17:51:29 +00:00
phpnut
2e4101a54b Removed variable from the I18n::translate(); in basics.php __() function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3710 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 17:17:29 +00:00
nate
57f27126bd Adding conditions-based updating to DboSource
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3709 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 15:38:37 +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
37329bb385 Reverting changes in [3706]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3707 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 12:55:19 +00:00
phpnut
e6e50dc936 Warning: Invalid argument supplied for foreach() in /project/cake/libs/controller/controller.php on line 724
Error would occur when the associated table did not contain any records

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3706 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 12:23:28 +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
d485edd1ab adding fix for generate list to 1.2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3703 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 01:07:09 +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
nate
b570516c7e Adding more docblock information to RequestHandler, and enhancement for respondAs()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3699 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-17 20:23:30 +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
phpnut
06b4676172 changing user_id field to foreign_key in ACL schema
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3692 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-17 06:38:39 +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
nate
eea428e55d Code formatting and 1.2 interface updates
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3689 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-16 20:02:34 +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