Commit graph

622 commits

Author SHA1 Message Date
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
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
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
nate
8b23234b53 Fixing code formatting in DBOs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3668 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-14 17:21:28 +00:00
nate
3a03674c76 Moving DataSource::getFieldValue to Set::extract
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3667 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-14 17:19:03 +00:00
gwoo
94bd840e8a another fix for Set::extract()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3653 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-13 20:21:38 +00:00
gwoo
d39b398a20 another fix for Set::extract()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3651 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-13 20:08:00 +00:00
gwoo
294bf20624 fixing Set::extract()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3645 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-13 19:00:04 +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
nate
8a64ba93fc Refactoring Paginator helper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3631 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-12 20:03:58 +00:00
phpnut
e2ffad5a65 Reverting changes made in [3622] and reopening ticket #1442
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3630 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-12 20:03:56 +00:00
nate
91f6adcfab Adding Paginator helper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3629 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-12 19:45:12 +00:00
nate
d66ca81671 Adding validation logic fix (Ticket #1518)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3628 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-10 22:29:13 +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
phpnut
ebbb773c57 Moving session_start to CakeSession::__begin()
Fixes #1442 

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3622 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-10 00:49:38 +00:00
phpnut
af7856e505 Adding fix for #1489
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3621 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-09 23:44:20 +00:00
nate
d412939912 Refactoring Model::save and teaching Model to eat XML
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3620 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-09 22:00:22 +00:00
nate
76e52d3862 Adding fix for decimal numbers being quoted (Ticket #1360)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3618 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-09 21:42:35 +00:00
phpnut
d88f2bae9a Reverting changes made to the Session class related to #1442
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3617 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-09 21:33:13 +00:00
nate
0544a063f6 Adding 1.2 fix for Ticket #1442
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3616 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-09 21:06:29 +00:00
nate
1842759ed4 Adding 'with' join fixes, and field quoting fix for Ticket #1445
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3614 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-09 21:03:45 +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
nate
dc5a209a03 Adding fix for Ticket #1514 (1.2)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3611 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-09 15:53:09 +00:00
nate
a0ee5743e5 Allowing user to specify database for ACL tables. (Ticket #1508)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3610 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-09 15:47:50 +00:00
nate
81679cc123 Adding fix for Ticket #1468
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3608 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-08 15:30:58 +00:00
nate
3c1a71027d Transitioning to allow mulitple IDs in form inputs, and adding fix for Ticket #1468
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3607 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-08 15:30:32 +00:00
nate
c5befd7569 Adding ability to auto-serialize POSTed XML data, and requestedWith(), for detecting Content-type of POSTed data
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3606 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-08 14:52:58 +00:00
nate
5a170cc2da Fixing XML header generator, and adding ability to build XML from objects or model results arrays
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3605 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-08 14:30:28 +00:00
nate
7df9917319 De-enforcing key naming conventions when converting Model results to object
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3604 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-06 18:39:38 +00:00
phpnut
1b9155afe6 Adding fix for Ticket #1503
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3601 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-05 16:50:29 +00:00
dho
899cf2bebf Applying patch from ticket #1502 (fixing problem with redirect)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3600 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-05 09:17:47 +00:00
dho
4a9f72cefa Applied patch for ticket #1501, modified doc block of select function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3599 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-05 08:50:04 +00:00
nate
0771adf8c9 Adding default JavaScript template
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3596 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-30 23:23:09 +00:00
nate
04a095d45a Adding field type interpreting to FormHelper::input()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3595 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-29 01:32:09 +00:00
nate
8319e0ff30 Adding extra URL parameters for pagination
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3594 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-29 01:30:09 +00:00
nate
cb29921144 Adding constructClasses() fix for using named URL arguments (Ticket #1400)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3593 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-29 00:15:13 +00:00
nate
d783b537e5 Removing reference to HtmlHelper::linkOut in TextHelper::autoLinkUrls (Ticket #1468)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3592 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 23:54:06 +00:00
nate
49d8dac242 Merging in MS SQL fixes from 1.1
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3591 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 22:41:50 +00:00
nate
03ec6ccb2a Adding helper object variables to Helper base class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3590 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 22:27:31 +00:00
nate
5bb71da382 Adding fix for single-DIV updates not being properly outputted
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3589 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 21:15:27 +00:00
nate
f0a44f4810 Small refactoring in DboMysql
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3588 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 20:51:35 +00:00
nate
2373415c0f Adding Object::trace() method for debugging
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3587 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 20:49:12 +00:00
nate
1609ea337a Refactoring Router and transitioning URL generation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3586 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 20:29:52 +00:00
nate
6cf1447217 Refactoring controller paginatiion
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3585 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 20:29:04 +00:00
nate
ff2870fb41 Adding model name mapping property to mapped objects in Set::map()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3584 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 20:26:54 +00:00
gwoo
29436a0ec5 adding fix for #1462 and an older error component file name
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3583 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 17:39:39 +00:00
gwoo
c3bd56d464 adding fix for #1461
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3582 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 17:15:35 +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
gwoo
5025a6dfcb selectOptions is good now
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3580 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 02:57:29 +00:00
gwoo
89b34f30ca fixing wrong file name for missing component in 1.2, and fixing some bad code I introduced into the form helper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3579 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 02:38:58 +00:00
gwoo
67aba9ea45 updating FormHelper::select and __selectOptions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3578 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-26 19:53:22 +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
phpnut
963eef2c65 Committing fixes to email component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3573 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-23 23:35:22 +00:00
nate
1f475dc193 Disabling content-type header output when DEBUG >= 2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3572 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-22 17:52:46 +00:00
nate
48d00ed018 Syntax fix in RSSHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3571 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-22 17:52:13 +00:00
nate
091a127c33 Moving URL generator code to Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3570 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-22 16:39:15 +00:00
gwoo
11b0fe92bc adding fix for showEmpty on date time options, merging a couple other changes from the 1.1 helper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3542 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-21 21:43:22 +00:00
phpnut
549a2ce350 correcting duplicate spaces added to email messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3538 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-21 09:32:05 +00:00
phpnut
e459a7c4e2 Refactoring EmailComponent class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3537 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-21 08:49:18 +00:00
nate
f01e1a28f4 Adding field quoting fix for Ticket #1372
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3536 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-21 03:56:57 +00:00
nate
a184f16268 Adding delete() method for Aro/Aco models, thanks Andy (Ticket #1233)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3533 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-21 00:12:40 +00:00
nate
355ad78cc1 Adding HTTPS detection fix (Ticket #1405)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3531 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-20 19:13:57 +00:00
phpnut
cc8b842467 Adding fix for #1353
magic_quotes_runtime would double quote the html source of the tags.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3529 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-20 15:08:41 +00:00
nate
9a03326ad6 Adding DboPostgres::value() fix for boolean values (Ticket #1285)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3528 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-20 05:00:06 +00:00
nate
daf235cd23 Adding fix for Ticket #1435
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3526 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-20 04:43:28 +00:00
phpnut
bdf3e7e61f Fixed #1433
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3524 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-20 03:26:52 +00:00
nate
fbfcdc24dd Adding 1.2 branch fix for Ticket #1077
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3522 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-19 16:12:50 +00:00
phpnut
2d6eee36ac Refactored fix that was created in [3519]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3521 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-19 15:24:15 +00:00
phpnut
6cc9c12839 reverting changes made in [3519]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3520 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-19 15:17:17 +00:00
phpnut
79ad31c514 Adding fix for #833.
Fixes recursive >=1 when using Model::findCount();
Removed all fields being added to the query.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3519 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-19 07:20:51 +00:00
nate
08948afbd8 Adding 1.2 branch fix for Ticket #1295 (AjaxHelper::_optionsToString)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3517 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-19 05:18:47 +00:00
nate
68e046e3a2 Adding 1.2 branch fix for Ticket #1357
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3515 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-19 02:50:53 +00:00
phpnut
fb7585e7ee Added fix for #1345 and #1417.
This fixes Self Referencing Models losing data when recursive > 1

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3513 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-19 02:08:54 +00:00
phpnut
8760dce3ef Adding fix for #1173.
Component startup method or beforFilters not called when controller missing action

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3511 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-18 20:28:34 +00:00
phpnut
eec9f66d74 Adding fix to [3509]
Forgot check for loaded class that was removed from basics.php

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3510 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-18 20:11:40 +00:00
phpnut
2a3f651d3d Adding fix for #1402
Multiple requestActions to same plugin setting wrong view path.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3509 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-18 20:00:39 +00:00
dho
78d38fe5eb Adding fix for security exploit (#1429) to /templates/skel/webroot/js/vendors.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3507 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-18 05:54:46 +00:00
phpnut
ead9f329e9 Adding fix for #1396.
Would not allow saving values with \ in the string

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3504 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-16 02:39:06 +00:00
phpnut
2e581426be Missed regex in Router::parse() in [3502]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3503 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-16 02:16:27 +00:00
phpnut
af2da53de2 Added fix for #1342
Corrected issue with ; in a URL

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3502 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-16 02:10:02 +00:00
phpnut
9eb0c89035 Removed extra ; in [3500]
Merged fixed from [3500] into branches/1.2.x.x/cake/libs/view/helpers/html.php

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3501 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-16 01:41:36 +00:00
gwoo
ab56074c40 adding changes to bake.php in 1.2.x.x
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3496 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-15 20:19:03 +00:00
phpnut
5e72327e47 Adding fix for CacheHelper replacing the wrong values in the CacheHelper::__parseOutput()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3494 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-15 04:38:23 +00:00
phpnut
91ccb116eb Adding fix for #1281
View::renderCache() now removes the <!--cachetime:#--> from the output

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3493 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-15 02:13:21 +00:00
phpnut
6675bf9e62 Adding fix for #1302
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3492 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-15 00:36:35 +00:00
phpnut
4e3e5df7d6 Adding fix from #1316
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3491 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-15 00:10:09 +00:00
phpnut
fc54b0f31a Adding fix for #1165.
Changing Model::__constructLinkedModel() to use the association name for 
the instance of an associated model.
Changed DboSource::read() to use the association name.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3484 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-14 21:59:51 +00:00
phpnut
f08a4d7fa2 Removing empty lines
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3480 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-14 18:50:33 +00:00
phpnut
fec633f227 Corrected bad merge on model.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3479 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-14 18:42:51 +00:00
phpnut
678ec860a1 Adding fix from #1215
Fixes issues with saving HABTM

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3478 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-14 18:37:51 +00:00
phpnut
27fc6bced9 Fixing error when using associations with recursive level deeper then 1
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3474 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-14 02:47:11 +00:00
phpnut
10ad71b30c Adding fix for association query when the association has a null value
for a FK


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3473 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-14 02:11:38 +00:00
phpnut
9fa1748678 "Refactoring email component,
adding smtp method for sending email using smtp"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3471 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-12 01:55:32 +00:00
phpnut
40d39976c1 "Adding initial design for EmailComponent.
This is still being developed and has not been fully tested as it is.
Some vars are not used yet."

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3470 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-12 00:26:50 +00:00
phpnut
dbdf3c7ddc "Adding vars to the EmailComponent class"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3469 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-11 20:37:13 +00:00
phpnut
3078352759 "Adding email component class"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3467 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-11 20:06:01 +00:00
nate
39c32d0454 Adding default parameter for TextHelper::truncate
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3466 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-11 18:01:00 +00:00
dho
6af78cde12 Adding folder for custom tasks and a task to create the application skeleton
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3465 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-11 09:05:12 +00:00
nate
93f7dd32ca Fixing issue with magic field values ({$__cake_ID__}) being quoted twice
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3464 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-11 07:09:14 +00:00
nate
198dab8a46 Filtering out empty magic fields when saving models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3463 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-11 00:35:06 +00:00
nate
28b18839c3 Minor fixes and updates to HtmlHelper and FormHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3461 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-10 17:30:29 +00:00
nate
725a2700aa Updating Router method name, and adding magic route variables
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3460 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-10 17:25:44 +00:00
nate
c42b793266 Minor update to Controller::postConditions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3459 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-10 17:08:53 +00:00
phpnut
e08a4a1da6 Merging changes for SessionHelper into 1.2.x.x branch
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3458 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-10 14:33:20 +00:00
dho
5dcd93f0ff Adding execute function to interface
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3457 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-10 14:11:21 +00:00
dho
4df649dae5 Adding help function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3456 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-10 13:50:23 +00:00
nate
8cfaa0538b Adding SessionHelper to 1.2 branch
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3455 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-07 20:35:35 +00:00
phpnut
eb202d44f9 Merging fixes into trunk:
Revision: [3440]
Adding note to api doc of the redirect function (#1358)

Revision: [3439]
Revoking previous change, fixing bug in api doc

Revision: [3432]
added fix for #1352

Revision: [3430]
Adding nl2br in Sanitize::html

Revision: [3420]
Typo fixed

Revision: [3383]
Refactoring last commit for admin check

Revision: [3382]
Adding fix for admin being searched in entire string

Revision: [3379]
Fixing errors when CSS not showing after recent fixes to error class

Revision: [3376]
Backporting string-escaping fix from 1.2 for Ticket #

Revision: [3373]
Adding Windows-specific port delimiter for connecting to SQL Server (Ticket #1261).

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3454 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-07 19:23:27 +00:00
nate
fe903b2531 Adding regex limiter for route $requirements
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3453 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-06 12:57:17 +00:00
nate
f9b45b4114 Adding $requirements parameter to Router::connect(), to enable custom named expressions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3452 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-06 03:41:38 +00:00
nate
d232f47d72 Adding CGI_MODE detection and CGI-mode SCRIPT_NAME emulation to env()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3451 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-05 18:10:59 +00:00
nate
213e22b1a8 Adding descrption compatiblity fixes to SQLite driver (Ticket #1211)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3450 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-05 15:37:13 +00:00
nate
9f454bf5b9 Fixing operator parsing issue with array-based conditions (Ticket #1364)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3447 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-04 13:37:26 +00:00
nate
c40e3e355c Fixing class load order in vendors() and uses()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3446 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-03 06:46:43 +00:00
nate
a4dbb38d78 Fixing field() issue in HtmlHelper::radio()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3445 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-01 13:47:21 +00:00
nate
0856014477 Fixing undefined default action issue in Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3444 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-31 19:23:11 +00:00
nate
e812204ebc Moving model and field information into view
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3443 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-30 16:23:24 +00:00