Commit graph

917 commits

Author SHA1 Message Date
nate
7fd83394ca Fixing admin paths for string URLs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4080 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-07 18:59:58 +00:00
nate
8d1a23e008 Fixing reverse-route URL generator for admin routes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4077 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-07 05:58:08 +00:00
nate
94a57a89a4 Adding fixes for reverse routing engine
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4076 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-06 20:38:28 +00:00
nate
403ff35bdb Refactoring code and updating docblocks in Security and RequestHandler components
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4075 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-06 20:37:12 +00:00
phpnut
0419f05186 Adding fix for View::element().
params variable was reset to an array
Added the method to 1.2.x.x branch also

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4074 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-06 17:43:14 +00:00
dho
9ca5e14891 Adding new methods to Configure and moving all core messages using DEBUG to use Configure::read()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4069 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-05 09:49:59 +00:00
gwoo
b72ab690d4 fix for FormHelper::select() showEmpty
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4067 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-04 18:00:36 +00:00
gwoo
ecb2b8c786 fix for generateList
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4065 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-04 06:59:56 +00:00
phpnut
426bf45f98 Reverting changes in [4055]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4057 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-03 17:35:30 +00:00
dho
798298e251 Removing unused constant MODULES (ticket #1718)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4056 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-03 12:56:36 +00:00
phpnut
1040a34fa2 Added Object::debug() for setting debug levels.
Added Configure::debugLevel().
Added Configure::debug().

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4055 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-03 07:18:48 +00:00
nate
33d07d0af9 Refactoring RequestHandler, and updating docblocks for RequestHandler and Security components
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4048 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-01 23:51:43 +00:00
nate
f66b3372b4 Fixing <form /> method case to validate as XHTML, and fixing order in which empty select() elements are added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4045 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-01 19:04:16 +00:00
phpnut
7cc9b6e38f Adding fix for Ticket #1712
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4044 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-01 17:10:53 +00:00
phpnut
adae18da2d Corrected doc comments in dbo sources.
Renamed DBO_Pear to DboPear

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4042 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-01 02:34:56 +00:00
phpnut
85b0e9c842 Adding core Oracle DBO driver
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4041 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-01 02:26:12 +00:00
phpnut
1ac85066bc Moving misc files to docs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4040 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-01 01:24:42 +00:00
phpnut
7b6e81c1e2 Fixing Scaffold in 1.2.x.x when setting Controller::persistModel = true;
Corrected error message with correct method name in scaffold_error templates.
Removed unneeded check for Controller::persistModel in 1.2.x.x.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4038 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-01 00:48:00 +00:00
phpnut
83afee9a52 Merging fixes between branches for DboSource::generateAssociationQuery()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4037 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-30 22:26:24 +00:00
phpnut
32d3349eb2 Adding fix for Ticket #1568.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4036 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-30 18:54:22 +00:00
gwoo
4abc9e94f8 reverting change for empty options in FormHelper::select()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4035 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-30 18:07:08 +00:00
gwoo
f9290417e2 adding ctp extensions for Controller::flash(), removing Controller::flashOut()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4034 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-30 17:58:33 +00:00
phpnut
e42a93c639 Changing Sanitize::cleanValue() to enforce replacement of \r and \n with \n
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4033 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-30 17:40:37 +00:00
gwoo
e712f87fc0 fixing displayFields in formHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4031 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 21:37:54 +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
79e93c180e fix form helper notice with empty options
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4028 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 08:14:55 +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
phpnut
dc90e5f749 Renaming _viewVars to viewVars in ThemeView
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4026 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 07:32:14 +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
phpnut
876d11c46b Moving files to cake/
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4018 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 02:51:05 +00:00
phpnut
df9dbd855b Moving VERSION.txt to cake directory so people upgrading will always be able to know what version they upgraded to
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4016 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 02:06:16 +00:00
phpnut
5a74812c7b Adding fix for Ticket #1661
Fixed same issue in function cache() in basics.php

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4014 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 22:34:28 +00:00
gwoo
257ff1ef89 updating css
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4013 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 22:08:46 +00:00
phpnut
cbf61ff56f Merging fixes from 1.2 to 1.1.
Added fixes for missing models.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4012 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 22:05:22 +00:00
gwoo
32cca7345e updating css in 1.2, error_message is now error-message, form-error added for input fields, altRow changed to altrow. Cake conventions are CamelCased for DOM id, dashed-words for css classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4011 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 21:14:28 +00:00
phpnut
2e8730e543 Merging fixes from 1.1.x.x into 1.2.x.x
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4010 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 11:18:05 +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
bec875debc Renaming skel views to new ctp extension
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4007 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 09:29:33 +00:00
nate
cc484ddbd2 Adding DboSource::order parsing fix for Ticket #1677
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4004 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 08:18:53 +00:00
phpnut
881dc728cf Adding missing doc comments.
Updated use of Controller::persistModel; Lazy Loading of models now work when this is set to true.
Fixed Scaffold to work with Controller::persistModel = true;

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4003 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 06:25:11 +00:00
phpnut
d7e8a20b19 Adding missing doc comments to SecurityComponent.
Reformatted code to standards

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4000 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 00:00:23 +00:00
gwoo
5c5b77753e fix for scaffold
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3998 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 20:15:24 +00:00
gwoo
083a3bf990 fix for FormHelper:create()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3997 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 19:56:06 +00:00
gwoo
f5cdfcfd32 fix for generateFieldNames belongsTo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3996 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 19:11:15 +00:00
phpnut
25eedb8502 Starting work on Translate model.
Restructured code to standards

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3995 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 18:15:36 +00:00
gwoo
41faae6265 fix for view files in scaffold
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3993 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 16:04:11 +00:00
phpnut
d6159f1b09 Adding fixed for Ticket #1703
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3992 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 07:36:54 +00:00
phpnut
e935b51b8d Adding fix for Ticket #1699
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3991 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 05:57:53 +00:00
nate
b479c5f49e Adding fix for Ticket #1701
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3989 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 05:32:18 +00:00
gwoo
b056c5abbf refactoring scaffold, if var $uses exists scaffold will use the first model specified in the array, if $scaffold is an array, only methods added to the array will allow scaffold to render, ex: var $scaffold = array('index'); only the index action will be rendered
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3988 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 05:23:33 +00:00
nate
bce8e016d2 Adding to last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3987 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 04:46:25 +00:00
nate
1e5dbe0e69 Adding to last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3986 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 04:46:00 +00:00
nate
c4bee9b414 Fixing validationErrors, and updating ClassRegistry alias for View
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3985 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 04:45:03 +00:00
gwoo
2beb0f2f06 fixed bad check for uses from last commit, update scaffolding
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3984 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 02:31:18 +00:00
gwoo
dfcc29f6bf refactoring scaffold, scaffodl views, generateFieldNames, FormHelper, ClassRegistry, missingView
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3983 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 01:04:19 +00:00
nate
890c0125c8 Adding model-based form creation to FormHelper, deprecating old methods, and fixing issue where using $uses in AppController overwrites existing models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3982 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 20:43:54 +00:00
dho
38596258f1 Fixing undefined variable errors
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3981 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 15:24:58 +00:00
gwoo
59049a0fa8 refactoring scaffold and generateFieldNames
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3980 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 06:15:30 +00:00
gwoo
edef4155e3 changes to cake.generic.css
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3979 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 06:13:41 +00:00
phpnut
ccfd962f98 Renaming core view templates with the new CakePHP extension .ctp
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3978 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 03:22:02 +00:00
gwoo
3bcf9e6044 fix for thtml custom missingView
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3976 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 00:10:59 +00:00
gwoo
9ad12b1f4e removed errant echo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3975 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 00:06:20 +00:00
phpnut
aafdff2250 Fixing SessionComponent not loading when AppController has var $components set.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3971 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 22:58:58 +00:00
gwoo
9e404b3ce3 refactor of view paths
refactor theme view paths
fix cleanUpFields error, changed ext in controller to ctp, fix for paginate conditions and scope

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3970 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 22:04:43 +00:00
gwoo
4320acdb96 1.2: continue refactor of view files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3969 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 21:27:34 +00:00
phpnut
99f50e78c3 Removing class_exists('Model') in loadPluginModels()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3968 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 20:39:19 +00:00
phpnut
f8274a3862 Adding fix for Ticket #1698
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3967 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 20:30:17 +00:00
phpnut
76394b643f Refactoring loading plugin views and layouts.
Plugin templates can be overridden in the app/views/plugins/$plugin/$viewPath directory
If template is not found in this directory or the app/plugins/$plugin/views/$viewPath a missing 
view error will be rendered

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3966 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 19:58:16 +00:00
phpnut
0c0ba050cb Cleaning up core views/caching.php
Removing unused files in app/webroot/css/

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3965 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 18:23:53 +00:00
dho
3682fff468 Replacing deprecated $html->formTag with $form->create
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3964 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 17:33:42 +00:00
phpnut
e0096f0528 Fixing CacheHelper after removal of controller from View
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3962 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 09:27:13 +00:00
nate
c680a98eea Refactoring Controller::generateFieldNames()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3961 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 09:27:01 +00:00
nate
b7e8551143 Updating AjaxHelper docblocks to remove references to deprecated methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3960 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 08:57:27 +00:00
nate
41c79da1c3 Removing direct reference between View and helpers, and explicitly defining all Helper object properties
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3959 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 08:55:16 +00:00
phpnut
1fa21aa551 Refactoring session classes.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3958 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 08:43:17 +00:00
nate
d4af73c2a6 Adding Overloadable2 interface for get() and set() magic methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3957 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 08:19:51 +00:00
nate
e955f3fd65 Refactoring DboSource::update(), and adding magic finder method fix for Ticket #1673
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3955 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 07:53:31 +00:00
nate
e8222444b8 Removing extra directory separators in uses() paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3954 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 06:42:24 +00:00
nate
11d5b0fa7b Removing extra directory separators in uses() paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3953 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 04:31:26 +00:00
phpnut
c308326555 SessionComponent and SessionHelper to extend CakeSession.
Refactored both classes and added doc comments

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3952 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 04:15:08 +00:00
gwoo
f77254511f 1.2 updates to ACL
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3951 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-24 17:27:11 +00:00
dho
50a8925070 Replacing wiki link with link to the bakery
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3950 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-24 12:30:59 +00:00
phpnut
54f770ae53 Refactoring fix for Ticket #1648
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3949 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-24 04:41:56 +00:00
phpnut
e42df60a24 Adding fix for Ticket #1648
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3948 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-24 03:53:44 +00:00
nate
e8751b7103 Refactoring Security component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3947 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 23:06:19 +00:00
nate
00741f0ca6 Adding default overload methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3946 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 22:48:47 +00:00
phpnut
35ff9d45dc Allowing loadModel to accept null as a param.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3944 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 21:39:09 +00:00
phpnut
ca5753bc39 Adding fix for Ticket #1683
This frees memory returned from a result set.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3943 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 20:23:43 +00:00
dho
ac310dbabe Typo (ticket #1416)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3942 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 17:07:28 +00:00
phpnut
fd65f226e6 Adding fix for Ticket #1626.
This fixes deleting of associated hasOne and hasMany when using bindModel before Model::delete()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3941 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 11:31:59 +00:00
phpnut
2e0ec28018 Fix for Ticket #1689.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3940 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 11:05:47 +00:00
phpnut
553190bb98 Added fix for Ticket #1679
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3939 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 10:48:22 +00:00
phpnut
c41db64070 Adding fix for Ticket #1527
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3937 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 10:17:05 +00:00
phpnut
282ca26319 Adding fix for Ticket #1666
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3936 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 10:13:36 +00:00
phpnut
984ceb3b51 Adding fix for Ticket #1629
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3935 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 10:06:49 +00:00
phpnut
2d83d125e4 Updating core views to render better notices
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3934 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 09:50:20 +00:00
phpnut
9703a90937 Merging fix from [3228]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3933 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 07:51:13 +00:00
phpnut
6ed2c67521 Fixing bad merge in last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3926 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 06:55:44 +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
phpnut
92bce405b0 Merging fix from [3914]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3915 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 05:12:24 +00:00
phpnut
ac552a256e Merging fix from [3912]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3913 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 21:32:59 +00:00
phpnut
ca5f7d952c Merging fix when using Controller::persistModel = true and a requestAction method is used
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3911 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 20:33:21 +00:00
phpnut
87af38c7dc Merging fixes from [3908] for Ticket #1689
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3909 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 20:25:13 +00:00
phpnut
b76c2179e1 Merged fixes from [3906]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3907 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 20:08:53 +00:00
phpnut
3180035f0f Merged fixes for Ticket #1681
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3905 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 19:58:53 +00:00
phpnut
883ecc1cd0 Merged fix for Ticket #1675
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3903 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 19:36:59 +00:00
phpnut
4ebbdd9055 Fixing error in default view when database file is present.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3899 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 18:02:14 +00:00
phpnut
3343368dde Adding loadModels() to cached views
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3897 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 17:54:22 +00:00
nate
b11e215827 Refactoring Router to eliminate usage of NeatArray
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3894 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 16:33:50 +00:00
phpnut
2ab7e5120d Removing Helper::readConfigFile().
tags.ini.php will not be used as of 1.2
file should be changed to tags.php and use php arrays.
$tags['tagname'] = 'value';

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3893 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 04:27:23 +00:00
phpnut
056bda7e4b Moving all tags from Helper to child classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3892 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 03:51:21 +00:00
phpnut
22588729d4 Moving helper tags to specific helper classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3891 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 03:32:58 +00:00
phpnut
204ff6bcbb Refactoring Helper class and adding tags.php as a var.
Removing old /config/tags.php

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3890 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 03:16:34 +00:00
phpnut
95c919a7a5 Updating changes made to the core files that are loaded
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3889 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 22:47:42 +00:00
nate
099144bcbd Changing Set interface to act like NeatArray, disabling Model::cacheQueries by default, and removing NeatArray usage in Model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3888 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 22:40:30 +00:00
nate
403bcb54b4 Fixing typo in tags.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3887 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 22:22:58 +00:00
nate
91b9b3be6c Fixing Notice on "Missing Model" page
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3886 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 22:03:52 +00:00
phpnut
c773b64bfe Starting to refactor model loading
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3885 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 21:48:05 +00:00
nate
51fe30c65f Rewriting tags.php as a single array def
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3884 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 21:16:38 +00:00
phpnut
ca5778ff52 Removing bad characters in last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3882 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 20:17:26 +00:00
phpnut
a867b2ff3e renaming tags.ini.php to tags.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3881 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 20:06:35 +00:00
phpnut
30cf172bbc Refactoring helper tags
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3880 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 20:05:57 +00:00
dho
38a606d2a2 Adding doc strings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3877 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-19 15:03:46 +00:00
gwoo
8b88865c29 1.2 RssHelper: fixing enclosure bug
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3876 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-18 22:58:29 +00:00
phpnut
7d63f4340c Changing the date string used in CakeLog::write() to use full 4 digit year
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3875 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-17 03:04:45 +00:00
gwoo
d31434336b fix for enclosures in rss helper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3871 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-15 16:33:57 +00:00
phpnut
8048251fd0 Added implementation of Validation::decimal()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3869 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-15 06:14:12 +00:00
phpnut
ac30edb9f0 Implementing custom regular expression in Validation::date()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3867 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-15 03:51:35 +00:00
phpnut
ded7398254 Adding doc comment for Validation::date()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3865 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-15 03:37:47 +00:00
phpnut
6f6b068227 Finishing Validation::date()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3864 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-15 03:08:41 +00:00
nate
85ee09fb19 Purging the "evil" from comments
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3862 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-14 16:20:52 +00:00
nate
47c86b8c8b Minimizing RequestHandler array usage
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3861 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-12 19:55:30 +00:00
nate
eb59ae1534 Unsetting redundant form data in parseParams()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3860 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-12 19:53:42 +00:00
phpnut
f95285d75f Starting to change all core code that uses $this->params
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3859 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-12 00:12:34 +00:00
nate
99a420c8ef Refactoring code, adding error message to deprecated method (View::setLayout), and updating method references
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3858 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-11 21:05:00 +00:00
nate
26955aefda Adding coding-issue fix (Ticket #1633), and insert ID fix (Ticket #1641), and updating method reference
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3857 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-10 18:45:46 +00:00
nate
31623de654 Adding $scripts_for_layout to default template
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3856 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-10 18:41:35 +00:00
nate
bd4f1aceff Modifying JavascriptHelper::link() to accept arrays of links, and adding warning for deprecated methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3855 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-10 18:31:27 +00:00
nate
6ba7032e68 Moving strip_plugin() to Router::stripPlugin(), and enabling reverse routes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3854 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-10 17:08:31 +00:00
phpnut
3ca4762d32 Adding Validation::date() implementation for:
mm/dd/yyyy mm/dd/yy m/d/yy m/d/yyyy
yyyy/mm/dd yy/mm/dd y/m/d/ /yyyy/m/d/

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3853 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-09 16:26:54 +00:00
phpnut
678e1be889 Adding Validation::date() implementation for dd/mm/yyyy dd/mm/yy d/m/yy d/m/yyyy
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3851 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-09 14:19:32 +00:00
phpnut
fa3e71d169 Additional changes to Validation::comparison()
Refactored Validation::custom()to set an error.
Added more doc comments.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3849 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 22:48:15 +00:00
phpnut
2a5f53ddb9 Changes made to Validation::comparison().
Added Validation::__reset().
Removed redundant code.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3847 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 21:15:34 +00:00
phpnut
a046a338bb Changed Validation::cc() so custom regex match will call Validation::_luhn()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3845 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 12:50:39 +00:00
phpnut
57ef07a04d Added additional credit card validation regex in Validation:cc().
Added Validation::_luhn() to check the Luhn algorithm or credit cards.
[http://en.wikipedia.org/wiki/Luhn_algorithm Luhn algorithm]
Added new doc comments for both methods

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3843 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 10:55:07 +00:00
nate
075891f1f9 Refactoring code and updating method references
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3841 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 03:28:24 +00:00
nate
13c579292a Refactoring and moving countdim() to Set::countDim()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3840 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 03:26:09 +00:00
nate
97753554c6 Adding Security::requireSecure() to require controller actions to be accessed via SSL-secured connections
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3839 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 02:18:41 +00:00
nate
199eac5a35 moving strip_plugin() to Router::stripPlugin()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3838 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 02:07:11 +00:00
phpnut
803bf4d0e4 Correcting Validation::blank() implementation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3837 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 01:56:07 +00:00
phpnut
d2ffbe2016 Adding changes to Validation::alphaNumeric().
Added doc comment to Validation::alphaNumeric() and Validation::between()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3835 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 01:09:56 +00:00
phpnut
20da5e67a7 Formatting Validation class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3830 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-07 21:05:48 +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
4cfafba726 Fixing overload() calls in both branches
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3828 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-05 06:56:28 +00:00
phpnut
d77a19e4a4 Adding fix for loadModel() not checking for existence of model before loading
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3827 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-05 06:29:15 +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
phpnut
b42373467f Adding fix for scaffold when using an alias association, mostly found on self joined models, or models that have multiple associations to the same model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3820 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-03 21:01:24 +00:00
gwoo
8fef7cf4ba 1.2: fix for groupPath recursive in generateList
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3819 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-03 19:49:32 +00:00
nate
cf6aef3059 Enabling full base URL to be used with array-based URLs in Router::url() (Ticket #1444)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3818 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-03 19:38:54 +00:00
phpnut
0a2db46225 Added a few changes the AclCLI::upgradedb()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3814 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-03 06:24:49 +00:00
phpnut
a8c98f38d9 corrected method name
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3813 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-03 06:09:34 +00:00
phpnut
0c759b9ce7 Adding AclCLI::upgrade() for upgrading previous releases to 1.1.9.x and above
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3812 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-03 06:01:48 +00:00
nate
3b8b34114b Adding path fixes for DataSource loading
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3809 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-03 05:45:11 +00:00
nate
e17610842c Refactoring RequestHandler::setAjax() to use respondAs(), adding fix for respondAs(), and adding RequestHandler::isSSL() (Ticket #1604)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3808 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-03 04:53:27 +00:00
nate
eb01aad01d Fixing associations for ADODB driver (Ticket #1568)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3806 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-03 04:10:40 +00:00
gwoo
9b659da949 1.2: changing some names in Xml class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3804 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-02 19:20:50 +00:00
nate
b002cd0ec3 Updating method names in XML and XMLNode
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3803 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-02 18:08:21 +00:00
nate
50da950aba Fixing Model::findCount() for ADODB (Ticket #1613)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3802 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-02 14:44:44 +00:00
phpnut
d4e539f1a5 Removing inline comment since \n is not longer converted to < br/>
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3800 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-02 03:51:26 +00:00
nate
91ade8fe45 Enabling overload of AppHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3798 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 20:42:11 +00:00
phpnut
dedb404423 Merging fixes for associations to 1.1.x.x branch
Removed commented code from Model::_ _generateAssociation() in 1.2.x.x

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3796 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 20:31:45 +00:00
phpnut
708dc77ae8 Merging __mergeAssociation() into 1.2 branch
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3793 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 19:27:08 +00:00
phpnut
f187ac9cef Adding fix for IN( sql.
Merging fixes between versions

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3792 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 19:19:11 +00:00
dho
613bb29300 Adding special log output for cli
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3791 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 15:58:52 +00:00
dho
f6be113855 Adding functionality to add and modify database configurations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3790 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 08:57:51 +00:00
phpnut
9bc506b058 Merging fixes from 1.2.x.x into 1.1.x.x and vice versa.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3788 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 07:15:44 +00:00
phpnut
d6b2545628 Adding fix for #1544.
Adds additional path searches for elements and layouts

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3786 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 06:51:57 +00:00
nate
e72eba2f82 Fixing PostgreSQL boolean conversion (Ticket #1586), and fixing code formatting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3784 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 06:14:50 +00:00
phpnut
ce9f9bc4da Adding $this->params['requested']; if method is called through requestAction
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3783 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 04:54:25 +00:00
phpnut
29ba60481a Fixing DboSource::execute() so it only logs when fullDebug is set to true
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3782 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 03:52:41 +00:00
phpnut
b4306ac594 Adding fix for #1606
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3781 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 03:24:49 +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
phpnut
d7724fbfc4 Adding Controller::_selectedArray() to 1.1.x.x branch
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3779 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 19:35:47 +00:00
dho
7a69c02c7c Adding functionality to rename database.php.default to database.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3777 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 15:59:59 +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
phpnut
19f5a9b677 Adding fix for #1556.
Errors are no longer cached

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3774 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 06:52:04 +00:00
phpnut
f22dc77ea1 Added fix for #1442.
SessionHelper was creating a second instance of CakeSession which would call the session_start(). Added a second param that can be set to false so this does not happen anymore

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3771 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 06:06:16 +00:00
phpnut
d9113f5165 Adding fix #1532
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3770 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 05:23:37 +00:00
phpnut
8963f1d4e1 Added fix for #1535.
Whitespaces are now preserved in error messages

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3769 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 05:01:48 +00:00
phpnut
581dec2248 Applied part of patch from #1603
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3768 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 03:42:36 +00:00
phpnut
54583f0afe Changing code in View::_loadHelpers() to use Inflector::variable()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3767 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 03:20:57 +00:00
phpnut
1634eefce5 Adding Inflector::variable() to create camelBacked version of a string
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3766 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 03:14:26 +00:00
dho
846af89259 Refactoring help parameter handling
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3764 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-30 17:58:50 +00:00
nate
40381bf3ff Allowing SessionComponent::write() to accept an associative array of keys/values
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3763 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-30 16:35:57 +00:00