Commit graph

1533 commits

Author SHA1 Message Date
phpnut
095574ecc8 Adding fix for Ticket #2316
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4716 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-30 12:18:23 +00:00
phpnut
918c6e7e93 Backporting changes to dbo drivers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4715 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-30 02:54:23 +00:00
phpnut
3a62793d0e Adding fix for Ticket #2232.
Added tests for ticket

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4714 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-30 00:08:10 +00:00
phpnut
41012b86ba Adding fix for Ticket #2310
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4713 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 23:38:53 +00:00
phpnut
575b27d586 Backporting changes from 1.2 to 1.1
Adding Set class

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4711 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 22:48:24 +00:00
phpnut
eac541cfe4 Fixing typos.
Adding fix for $ID: search in I18nExtractor::_ _findVersion(), svn replaced this with the file name.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4709 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 17:01:07 +00:00
phpnut
860b5997aa Updating I18nExtractor. Added methods to extract translation strings from files.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4708 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 16:53:10 +00:00
nate
1a10bf9b8a Fixing return value in Session::check()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4707 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 13:43:06 +00:00
nate
15bae17de2 Removing column length from INT column type in DboMssql (Ticket #2308)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4706 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 02:21:50 +00:00
nate
381ec92b4c Adding tests and fixtures for self-join associations, and fixing JS syntax for 'indicator' (Ticket #2302)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4705 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 02:16:00 +00:00
nate
0c2b92a650 Fixing NOT operations in query conditions in DboSource (Ticket #2307)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4704 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 01:45:13 +00:00
nate
f32cc3eb79 Adding DboSource destructor rollback fix (Ticket #2110)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4703 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 00:49:53 +00:00
phpnut
f1c1c70664 Adding fix for Ticket #2298.
Added encoding wrapper for email addresses.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4702 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-28 22:57:07 +00:00
nate
823dac8166 Additional URL-parsing fixes for IIS
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4701 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-28 16:42:11 +00:00
nate
43297e3abd Fixing limit / offset for SQL Server
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4700 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-28 16:39:15 +00:00
nate
983c55005c Fixing URL parsing/dispatching for IIS installs without rewrite support
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4699 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-28 16:35:59 +00:00
nate
1f0d3d7145 Refactoring Controller::paginate() to remove duplicate code.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4698 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-28 16:31:16 +00:00
nate
8b7f46acaa Adding field quoting fix in DboSource::name() (Ticket #2300)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4697 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-28 00:53:37 +00:00
phpnut
7b1f458b0f Merging fixes into the trunk:
Revision: [4695]
Correcting headers in files.
Adding correct mime-type for files.
Formated code to conventions

Revision: [4694]
Refactoring RequestHandler

Revision: [4690]
Adding fix for Ticket #2295

Revision: [4689]
Adding test for Validate::ip().
Fixed Ticket #2298.
Fixed issue with I10n class not setting default language

Revision: [4688]
Forcing SQL debug mode for model tests

Revision: [4687]
Fixing issue in DboSource with left joins on self joins

Revision: [4686]
Fixing calculated field parsing for DboSource::fields()

Revision: [4685]
Reverting changes made in last revision

Revision: [4684]
Fixing SQL expression handling in Model::field() (TIcket #2283)

Revision: [4682]
Fixing token key regeneration on requestAction calls (Ticket #2282)

Revision: [4681]
Fixing query order in Controller::paginate() (Ticket #2201)

Revision: [4680]
Adding JavascriptHelper::object() fix for 0 being converted to null (Ticket #2296)

Revision: [4679]
Rewriting SQL generation for self-joins

Revision: [4678]
Patching SELECT query test in DboSource::fetchAll() (Ticket #2288)

Revision: [4677]
Disabling ORDER BY clause for Model::findCount (Ticket #2227) and updating test case

Revision: [4676]
Adding fix for Ticket #2291

Revision: [4675]
Fixing comments

Revision: [4674]
Adding fix for Ticket #2183

Revision: [4673]
Added fix for Ticket #2098

Revision: [4672]
Adding enhancement idea from Ticket #2201.
Fixed the use of parseHtmlOptions which is deprecated.
Fixed an undefined index on check box when there is no model.

Revision: [4671]
Adding fix for Ticket #2285

Revision: [4670]
Adding fix for Ticket #2287

Revision: [4669]
adding fix to bake for #2253: table prefixes and #2267: primary keys

Revision: [4668]
Adding headers to files.
Formating doc comments

Revision: [4667]
Adding changes to test suite submitted by Mariano

Revision: [4666]
Reformatting code comments

Revision: [4665]
Adding test for Validation::alphaNumeric() to check empty $check.
Corrected Validation::alphaNumeric() to return false if $this->check; is empty

Revision: [4664]
Fixing default input values for form inputs, and adding test case

Revision: [4663]
Fixing URL normalization for AuthComponent redirects

Revision: [4662]
Adding test cases for FormHelper::error()

Revision: [4661]
Added $config['database'] mysqli_connect() in DboMysqli::connect(), removed mysqli_select_db()

Revision: [4660]
Refactoring Helper::setFormTag()

Revision: [4659]
Corrected view tests.
Added fix for Ticket #2245
Refactored loading of components and helpers to allow for use of dot notation with plugins.

Revision: [4658]
Adding fix for Ticket #2239

Revision: [4657]
Adding fix for Ticket #2235

Revision: [4656]
Adding fix for Ticket #2214
Removed persistent connection setting in DboMysqli::connect() since there is no persistent connection function for mysqli

Revision: [4655]
Adding fix for #2210

Revision: [4654]
Adding fix for #2219

Revision: [4652]
Removed declaration of class variables as private...stuck in PHP 5 mode :)

Revision: [4651]
Added in some more skeletons for parsing out commands in the console

Revision: [4650]
fixing loadHelpers on renderElement, fixes Email too

Revision: [4649]
Fixing undefined variable in Router

Revision: [4648]
Fixing undefined variable in Router, updating Socket test, and fixing FormHelper::label() for dot notation (Ticket #2277)

Revision: [4647]
Fixing boolean conditions expression handling in DboSource::conditionKeysToString() and added test case (Ticket #2268)

Revision: [4646]
Updating Socket test to account for differences in local machine hosts files (Ticket #2053)

Revision: [4645]
Fixing unique script check in View::addScript() (Ticket #2262), and adding View test case

Revision: [4644]
Fixing redundant SQL condition generation in DboSource::conditionKeysToString(), fixing SQL ORDER parsing (Ticket #2266) and updating test cases

Revision: [4643]
Adding method to generate a random key for CAKE_SESSION_STRING when using bake

Revision: [4642]
Adding AppHelper to skel 

Revision: [4641]
Refactoring AuthComponent::hashPasswords()

Revision: [4640]
Implementing AuthComponent::$logoutAction

Revision: [4639]
Adding conditions parsing test to disprove Ticket #2256

Revision: [4638]
Adding 1.2 regression test for escaping fields for Ticket #1372

Revision: [4637]
Fixing MySQL schema generation for null columns

Revision: [4636]
Updating DboSource with new query generator, and updating model/dbo test cases

Revision: [4635]
adding fix for cleanUpFields

Revision: [4634]
adding fix for cleanUpFields

Revision: [4633]
Applying patch of ticket #2263

Revision: [4632]
Updating model test case

Revision: [4631]
Updating model test case

Revision: [4630]
Adding changes needed to allow passing $tagName param using dot notation so use Model.field instead of Model/field which is being deprecated

Revision: [4629]
Fixing order of operations in Model::invalidFields() (Ticket #2229)

Revision: [4628]
Adding Model::create() fix for Ticket #2200 and updating test case

Revision: [4627]
Setting checks for mock object declaration in FormHelper test

Revision: [4626]
Fixing AjaxHelper::dropRemote() (Ticket #2260) and updating test cases

Revision: [4625]
Updating core test cases and groups

Revision: [4624]
updating themeView for 2225, fixing layout paths noticed when using email component

Revision: [4623]
updating cleanUpFields to skip created, modified, updated and only update if the field is set

Revision: [4622]
Adding env('HTTP_BASE') to get base domain

Revision: [4621]
Shortening notation in Session test, removing debug data from HtmlHelper test

Revision: [4620]
Adding phishy's Oracle patch, fixing Sybase queries and column defs

Revision: [4619]
Fixing $_this reference in ConnectionManager (Ticket #2254)

Revision: [4618]
Fixing small bug in Session::check() (ticket #2257)

Revision: [4617]
Fixing FormHelper::create() for use with associated models

Revision: [4616]
updating cleanUpFields to skip created, modified, updated

Revision: [4615]
Appending .js to strings like script-x.x.x in link() function

Revision: [4614]
Added in code to parse the submitted command for tokens

Revision: [4613]
Making sure $attributes is an array in FormHelper::select()

Revision: [4612]
AuthComponent::isAuthorized() now returns true if valid authorization requirement is disabled

Revision: [4611]
Updating AjaxHelper::autoComplete() for new API

Revision: [4610]
Adding View::uuid() to generate DOM IDs, updating HTTP headers in View::error(), and fixing code formatting

Revision: [4609]
fixing bug introduced in cleanUpFields where it would add the current date to any datetime field

Revision: [4608]
Adding test.php to cake/scripts/templates/skel/webroot/

Revision: [4607]
adding fix for router urls without the *

Revision: [4606]
Disabling tests for new DboSource so they pass on old DboSource

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4696 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-27 05:17:49 +00:00
phpnut
4235732e6f Correcting headers in files.
Adding correct mime-type for files.
Formated code to conventions


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4695 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-27 05:10:42 +00:00
nate
1685fe8fc4 Refactoring RequestHandler
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4694 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-27 05:02:40 +00:00
phpnut
70e11838a7 Adding fix for Ticket #2295
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4690 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-27 03:47:19 +00:00
phpnut
9ace567e8e Adding test for Validate::ip().
Fixed Ticket #2298.
Fixed issue with I10n class not setting default language

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4689 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-27 02:59:22 +00:00
nate
51250a4e5d Forcing SQL debug mode for model tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4688 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-27 02:22:35 +00:00
nate
dbbe90c22c Fixing issue in DboSource with left joins on self joins
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4687 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-27 01:59:39 +00:00
nate
f2c7c5a677 Fixing calculated field parsing for DboSource::fields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4686 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-27 01:34:59 +00:00
phpnut
804e21e869 Reverting changes made in last revision
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4685 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-26 19:15:55 +00:00
nate
282bfbf4fc Fixing SQL expression handling in Model::field() (TIcket #2283)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4684 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-26 18:38:54 +00:00
nate
994cfd3c89 Fixing token key regeneration on requestAction calls (Ticket #2282)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4682 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-26 18:13:52 +00:00
nate
2c906bc4c8 Fixing query order in Controller::paginate() (Ticket #2201)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4681 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-26 18:06:45 +00:00
nate
8e92df3bbb Adding JavascriptHelper::object() fix for 0 being converted to null (Ticket #2296)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4680 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-26 17:22:02 +00:00
nate
bb2a68caec Rewriting SQL generation for self-joins
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4679 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-26 17:16:43 +00:00
nate
6afca88bb2 Patching SELECT query test in DboSource::fetchAll() (Ticket #2288)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4678 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 19:46:16 +00:00
nate
f48b908ac6 Disabling ORDER BY clause for Model::findCount (Ticket #2227) and updating test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4677 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 18:17:15 +00:00
phpnut
7737224368 Adding fix for Ticket #2291
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4676 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 18:16:24 +00:00
dho
0c24af29cb Fixing comments
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4675 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 16:39:26 +00:00
phpnut
b899bb58b4 Adding fix for Ticket #2183
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4674 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 03:14:41 +00:00
phpnut
f072902d80 Added fix for Ticket #2098
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4673 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 03:02:10 +00:00
phpnut
3292a8efdb Adding enhancement idea from Ticket #2201.
Fixed the use of parseHtmlOptions which is deprecated.
Fixed an undefined index on check box when there is no model.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4672 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 02:03:34 +00:00
phpnut
8fa50d9100 Adding fix for Ticket #2285
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4671 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 01:16:29 +00:00
phpnut
12f99cd1e9 Adding fix for Ticket #2287
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4670 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 00:33:57 +00:00
gwoo
65f67c0c2e adding fix to bake for #2253: table prefixes and #2267: primary keys
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4669 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-24 07:17:28 +00:00
phpnut
44f4d8d6f8 Adding headers to files.
Formating doc comments

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4668 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 22:11:06 +00:00
phpnut
3a4a49ef03 Adding changes to test suite submitted by Mariano
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4667 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 21:59:08 +00:00
phpnut
719d704360 Reformatting code comments
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4666 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 18:07:35 +00:00
phpnut
2d0eaf517b Adding test for Validation::alphaNumeric() to check empty $check.
Corrected Validation::alphaNumeric() to return false if $this->check; is empty

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4665 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 18:01:36 +00:00
nate
e03c12eea3 Fixing default input values for form inputs, and adding test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4664 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 17:32:02 +00:00
nate
1bf81bbee9 Fixing URL normalization for AuthComponent redirects
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4663 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 16:46:19 +00:00
nate
88563ebe46 Adding test cases for FormHelper::error()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4662 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 16:06:48 +00:00
phpnut
f8023ff0dc Added $config['database'] mysqli_connect() in DboMysqli::connect(), removed mysqli_select_db()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4661 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 10:56:42 +00:00
phpnut
7cee084212 Refactoring Helper::setFormTag()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4660 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 10:50:41 +00:00
phpnut
c20a8c80f3 Corrected view tests.
Added fix for Ticket #2245
Refactored loading of components and helpers to allow for use of dot notation with plugins.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4659 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 10:34:21 +00:00
phpnut
3b90fdbe2e Adding fix for Ticket #2235
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4657 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 09:09:28 +00:00
phpnut
330630c9d0 Adding fix for Ticket #2214
Removed persistent connection setting in DboMysqli::connect() since there is no persistent connection function for mysqli

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4656 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 08:57:42 +00:00
phpnut
2925df7c54 Adding fix for #2210
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4655 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 07:08:40 +00:00
phpnut
38577ca149 Adding fix for #2219
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4654 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 06:36:24 +00:00
chartjes
a06dce5a69 Removed declaration of class variables as private...stuck in PHP 5 mode :)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4652 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 02:14:41 +00:00
chartjes
554aa74913 Added in some more skeletons for parsing out commands in the console
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4651 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 02:00:10 +00:00
gwoo
2f3d8d154a fixing loadHelpers on renderElement, fixes Email too
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4650 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 00:25:27 +00:00
nate
8fc055bfa6 Fixing undefined variable in Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4649 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-22 18:52:45 +00:00
nate
6b7d4f37d4 Fixing undefined variable in Router, updating Socket test, and fixing FormHelper::label() for dot notation (Ticket #2277)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4648 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-22 18:47:38 +00:00
nate
c65f2a1fd2 Fixing boolean conditions expression handling in DboSource::conditionKeysToString() and added test case (Ticket #2268)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4647 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-22 00:59:28 +00:00
nate
086a9cd97f Updating Socket test to account for differences in local machine hosts files (Ticket #2053)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4646 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-22 00:49:34 +00:00
nate
5e0de9b90e Fixing unique script check in View::addScript() (Ticket #2262), and adding View test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4645 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-22 00:37:45 +00:00
nate
2a095d9ea6 Fixing redundant SQL condition generation in DboSource::conditionKeysToString(), fixing SQL ORDER parsing (Ticket #2266) and updating test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4644 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-22 00:26:42 +00:00
phpnut
77d789c0ac Adding method to generate a random key for CAKE_SESSION_STRING when using bake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4643 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-21 20:07:10 +00:00
phpnut
a5aa05da83 Adding AppHelper to skel
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4642 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-21 19:26:27 +00:00
nate
b89757a3af Refactoring AuthComponent::hashPasswords()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4641 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-21 15:40:46 +00:00
nate
6e77abb3ca Implementing AuthComponent::$logoutAction
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4640 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-21 05:55:04 +00:00
nate
3cb77b98c9 Adding conditions parsing test to disprove Ticket #2256
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4639 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-21 05:30:08 +00:00
nate
363ff0c9ab Adding 1.2 regression test for escaping fields for Ticket #1372
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4638 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-21 05:24:03 +00:00
nate
c2c17f9b90 Fixing MySQL schema generation for null columns
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4637 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-21 05:00:54 +00:00
nate
5197bf60d3 Updating DboSource with new query generator, and updating model/dbo test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4636 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-20 17:38:53 +00:00
gwoo
3cb33ee23b adding fix for cleanUpFields
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4635 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-19 21:15:54 +00:00
gwoo
6a8092b239 adding fix for cleanUpFields
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4634 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-19 20:53:52 +00:00
dho
0ae88d6234 Applying patch of ticket #2263
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4633 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-19 07:01:13 +00:00
nate
dba900eb30 Updating model test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4632 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-17 21:37:22 +00:00
nate
97396819cc Updating model test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4631 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-17 19:15:41 +00:00
phpnut
b183501e85 Adding changes needed to allow passing $tagName param using dot notation so use Model.field instead of Model/field which is being deprecated
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4630 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-17 07:58:22 +00:00
nate
e1452240e1 Fixing order of operations in Model::invalidFields() (Ticket #2229)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4629 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-17 02:59:48 +00:00
nate
222d19a43a Adding Model::create() fix for Ticket #2200 and updating test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4628 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-17 00:24:33 +00:00
nate
08805f57b7 Setting checks for mock object declaration in FormHelper test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4627 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-17 00:03:36 +00:00
nate
92cd894314 Fixing AjaxHelper::dropRemote() (Ticket #2260) and updating test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4626 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 23:54:24 +00:00
nate
116b330503 Updating core test cases and groups
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4625 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 23:35:25 +00:00
gwoo
7ff6ac5bcb updating themeView for 2225, fixing layout paths noticed when using email component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4624 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 20:36:24 +00:00
gwoo
48a1a9cba2 updating cleanUpFields to skip created, modified, updated and only update if the field is set
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4623 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 17:30:58 +00:00
nate
85c5f0513a Adding env('HTTP_BASE') to get base domain
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4622 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 14:59:40 +00:00
nate
fb7c56024c Shortening notation in Session test, removing debug data from HtmlHelper test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4621 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 14:58:19 +00:00
nate
de7423e4b6 Adding phishy's Oracle patch, fixing Sybase queries and column defs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4620 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 14:23:54 +00:00
nate
00c3711dd4 Fixing $_this reference in ConnectionManager (Ticket #2254)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4619 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 13:26:09 +00:00
dho
a0897be3fb Fixing small bug in Session::check() (ticket #2257)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4618 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 12:47:49 +00:00
nate
3dae247bab Fixing FormHelper::create() for use with associated models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4617 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 04:47:10 +00:00
gwoo
8581323bf5 updating cleanUpFields to skip created, modified, updated
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4616 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-15 22:09:59 +00:00
dho
8917efcc0a Appending .js to strings like script-x.x.x in link() function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4615 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-15 16:37:46 +00:00
chartjes
c07021b2bc Added in code to parse the submitted command for tokens
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4614 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-15 01:41:18 +00:00
nate
32887a68ec Making sure $attributes is an array in FormHelper::select()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4613 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-14 23:05:19 +00:00
nate
729c75affe AuthComponent::isAuthorized() now returns true if valid authorization requirement is disabled
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4612 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-14 20:53:14 +00:00
nate
4b022122d1 Updating AjaxHelper::autoComplete() for new API
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4611 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-14 20:47:39 +00:00
nate
261ff6f219 Adding View::uuid() to generate DOM IDs, updating HTTP headers in View::error(), and fixing code formatting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4610 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-14 18:28:36 +00:00
gwoo
5be52520c5 fixing bug i introduced in cleanUpFields where it would add the current date to any datetime field
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4609 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-14 11:46:32 +00:00
phpnut
aa9128492c Adding test.php to cake/scripts/templates/skel/webroot/
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4608 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-13 06:33:32 +00:00
gwoo
9b7787d039 adding fix for router urls without the *
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4607 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-12 01:52:40 +00:00
nate
36076a15e1 Disabling tests for new DboSource so they pass on old DboSource
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4606 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-10 01:01:37 +00:00
phpnut
aba50d3e89 Merging fixes into 1.2.x.x trunk:
Revision: [4604]
Adding new CLI tools suite

Revision: [4602]
adding caching for elements

Revision: [4601]
updating domId to always return an array

Revision: [4600]
Adding patch for multipart boundary formatting (thanks sdevore)

Revision: [4599]
Fixing up test for HtmlHelper::selectTag() (Deprecated methods will still be tested until they are removed)

Revision: [4598]
fixing latest bug in router reverse mapping

Revision: [4597]
fixing links in bake

Revision: [4596]
refactoring cleanUpFields even though its going to be removed, uncommenting the ajax and abre routes in router

Revision: [4595]
Adding and updating core error messages

Revision: [4594]
Renaming dummy controller, commenting out test for deprecated function

Revision: [4593]
Updating AjaxHelper::submit() with FormHelper reference

Revision: [4592]
Fixing 'ambiguous column' bug in Model::findCount()

Revision: [4591]
Adding core load error in webroot/index, and updating setting for debug reference in Auth

Revision: [4590]
Adding fix for Ticket #2198

Revision: [4589]
Adding fix for Ticket #2101.
Changed Helper::loadConfig() to accept a param with the name of the file to load

Revision: [4588]
Adding Helper::clean() to strip all harmful tags from output.
CHanged Sanitize::escape() to strip off the beginning and ending ' that is added by Dbo*::value()

Revision: [4586]
Removing error view path setting from viewPaths in Configure class

Revision: [4585]
Adding fix for Ticket #2090.
Refactored view loading.

Revision: [4584]
fixing bake for ticket #2123

Revision: [4583]
Moved all deprecated methods to end of file.
Added notices for all methods that are deprecated.
Added fix for Ticket #2185.

Revision: [4582]
Adding fix for Ticket #2161

Revision: [4581]
Moving deprecated methods to end of file.
Corrected fix for Ticket #2188

Revision: [4580]
Adding fix for Ticket #2188

Revision: [4579]
Moving date/time related form methods to FormHelper.
Fixed Ticket #2189.

Revision: [4578]
Removing $this->Html-> in FormHelper::textarea()

Revision: [4577]
Adding fix for Ticket #2156

Revision: [4576]
Adding fix for Ticket #2055.

Revision: [4575]
Adding fix for Ticket #2130, Ticket #2168, Ticket #2178
Adding beforeRender() callback for helpers.
Adding fix for Set::diff();

Revision: [4574]
Adding fix for Ticket #2084

Revision: [4573]
Removing debug code from Inflector

Revision: [4572]
Adding patch from Ticket #2176, extracts the sequence name from the default value for the primary key and returns it's last value

Revision: [4571]
Adding fix for Ticket #1442.
Controller components are now initialized in cached views

Revision: [4570]
Adding fix for Ticket #2118.
Removing check for inflections.php file, this file has been included in releases since v 1.0.0.2312

Revision: [4569]
Adding fix from Ticket #2074

Revision: [4568]
Moving loading of Debugger class to Configure::write() so it loads only when DEBUG > 0

Revision: [4567]
Refactoring Model::getColumnType() and Model::getColumnTypes()

Revision: [4566]
Updating HttpSocket::serialize() to use Router::queryString(), updating Auth to use salted hashes, and resolving RequestHandler conflict for Ajax-based requests to custom content types

Revision: [4565]
Adding bootstrap check for unique application salt value, and updating File error message

Revision: [4564]
Patching Configure to bootstrap without an app

Revision: [4563]
Fixing class "Controller" not found error (ticket #2181)

Revision: [4562]
Fixing default JavaScript template, and code generation

Revision: [4561]
Initial implementation code for dynamic POST variable names

Revision: [4560]
updating bake, ticket #2067

Revision: [4559]
Temporarily disabling Ajax/bare routes

Revision: [4558]
Deprecating HtmlHelper::selectTag()

Revision: [4557]
Adding testcase for HTML helper

Revision: [4556]
Fixing reverse route matching in Router::url() and updating Router tests

Revision: [4555]
Fixing layout search paths for alternate content types

Revision: [4554]
Refactoring Router

Revision: [4553]
Updating Router test case

Revision: [4552]
Finished retro-fitting CakeSession::del() (Ticket #2163)

Revision: [4551]
Fixing conflict between JS script caching and dynamic updating of 'magic' Ajax div's

Revision: [4550]
Initial import of JsHelper JavaScript generator. PHP5-only until further notice.

Revision: [4549]
Removing deprecated settings key 'connect' and replacing with 'persistent' in default database connection class

Revision: [4548]
Forcing cached script output to be written inline (JavascriptHelper)

Revision: [4547]
Beefing up documentation blocks.

Revision: [4546]
Importing initial draft of HttpSocket class, as implemented by Felix Geisendorfer

Revision: [4545]
Removing eval() calls from Session and replacing with Set methods

Revision: [4544]
Fixing AuthComponent::redirect() to redirect back to $loginRedirect instead of $loginAction

Revision: [4543]
Corrected doc comment in Validation::blank()

Revision: [4542]
Adding core Debugger object

Revision: [4541]
Adding fix for secure cookie not being destroyed 

Revision: [4540]
Replacing "thtml" with "ctp" in error templates

Revision: [4539]
More debug styles

Revision: [4538]
Adding debug CSS

Revision: [4537]
Adding fix for #2137

Revision: [4536]
Adding fix for #2070

Revision: [4535]
Setting max_execution_time to 0 on all CLI scripts

Revision: [4534]
Adding fix for #1815

Revision: [4533]
Adding fix for #2068.
Renaming Translate to TranslateBehavior.
Added empty class methods to TranslateBehavior.

Revision: [4532]
Proofing the comments in core.php. Fixing spelling errors and trying to reword sections.

Revision: [4531]
Adding some clarifications to controller doc comments.

Revision: [4530]
Removing 'showParents' attribute from FormHelper::select() output (Ticket #2134)

Revision: [4529]
Fixing instance references in Set method calls

Revision: [4528]
Fixing typo (ticket #2144)

Revision: [4527]
Renaming $__transactionStarted to $_transactionStarted (ticket #2141)

Revision: [4526]
Renaming $__sources to $_sources (ticket #2140)

Revision: [4525]
Moving Translate class to the behaviors directory.
Moving i18n sql to app/config/sql

Revision: [4524]
Fixing event:Selectors implementation for Ajax reloads

Revision: [4523]
Fixing implementation of Set::remove() for instance and static calling

Revision: [4522]
Adding key fix for Model::create() (Ticket #2106), and adding warning message for model load failures

Revision: [4521]
Refactoring ACL and tree code for query optimization changes

Revision: [4520]
Fixing the display of SQL errors when DEBUG > 0

Revision: [4519]
Adding the DB2 driver submitted by Daniel Krook

Revision: [4518]
Updating core Auth/ACL error messages

Revision: [4517]
Optimizing ACL node querying

Revision: [4516]
Adding parameters for AjaxHelper::sortable()

Revision: [4515]
Implementing Set::check() and Set::remove()

Revision: [4514]
Refactoring SessionHelper and SessionComponent

Revision: [4513]
Adding Model::bindNode() callback for optional authorization aliasing

Revision: [4512]
Refactoring SessionHelper and SessionComponent

Revision: [4511]
Refactoring CakeSession to remove eval()

Revision: [4510]
Fixing issue with Set::insert(), and changing CakeSession::_ _writeSessionVar() to use Set::insert()

Revision: [4509]
Implementing Set::insert() for dynamic array writes

Revision: [4508]
Implementing controller (CRUD)-based authorization

Revision: [4507]
Adding Set class dependency to Session

Revision: [4506]
Refactoring SessionComponent::write() to allow the first param to be an array.
Removing eval() from CakeSession::returnSessionVars() and CakeSession::readSessionVar() 

Revision: [4505]
Refactoring Auth

Revision: [4504]
Adding AjaxHelper::sortable() fix for Ticket #2100

Revision: [4503]
Updating AclComponent for distributed ACL system

Revision: [4502]
Refactoring ACL system to require less model code

Revision: [4501]
Refactoring AclBehavior

Revision: [4500]
Fixing object support for Set::diff()

Revision: [4499]
Adding null value checks to Set::diff()

Revision: [4498]
Moving Object::enum() to Set::enum()

Revision: [4497]
Fixing typo, those happen when you are in a coma

Revision: [4496]
fixing last commit

Revision: [4495]
Adding Object::enum()

Revision: [4494]
Fixing ACL node creation for multiple insertions

Revision: [4493]
Fixing permissions setting for ACL

Revision: [4492]
Loading additional ACL model classes in AclBehavior

Revision: [4491]
Adding define ACL_DATABASE 

Revision: [4490]
Adding missing headers

Revision: [4489]
Updating ACL SQL table definitions

Revision: [4488]
Adding Permission join model for ACL nodes

Revision: [4487]
Importing new ACL system

Revision: [4486]
Changing Object::set() to non-conflicting _set()

Revision: [4485]
Removing need for plugins to need a model

Revision: [4484]
Removing password data from user record access in AuthComponent

Revision: [4483]
Implementing AuthComponent::$autoRedirect()

Revision: [4482]
Adding tests for DboSource and AjaxHelper, and fixing code formatting in XmlHelper

Revision: [4481]
Adding object support to Set::extract()

Revision: [4480]
Fixing order of operations for AuthComponent

Revision: [4479]
Changing param order in Model::updateAll() so it makes more sense

Revision: [4478]
Fixing $conditions === true in DboSource

Revision: [4477]
Reverting changes made in last commit

Revision: [4476]
Implementing Model::deleteAll()

Revision: [4475]
Refactoring set() method into Object, and adding $conditiions === true translation in DboSource

Revision: [4474]
Adding Helper::webroot() to return correct url if theme is used

Revision: [4473]
Adding check for webroot/themed/[theme name]

Revision: [4472]
Fixing theme class

Revision: [4471]
Changing check for theme to empty

Revision: [4470]
Updating theme class to allow setting theme to null and deafult locations will be used.

Revision: [4469]
Fixing Configure::store().
Original version of method would set the array for a $key $value par incorrectly

Revision: [4468]
fixing issue with bake reading tables

Revision: [4467]
Allowing 'error' => false to disable validation error output in FormHelper::input() (Ticket #2071)

Revision: [4466]
Updating Behavior class def with new callback param

Revision: [4465]
Refactoring Model::save() and adding $created parameter to afterSave()

Revision: [4464]
Restructuring Inflector tests, and adding test for Ticket #2068

Revision: [4463]
Adding Inflector test for Ticket #2061

Revision: 4461
Fixing null child reference issue in XML

Revision: [4460]
Updating View class properties, and committing additional core tests

Revision: [4459]
Additional Ajax test

Revision: [4458]
Adding AjaxHelper tests

Revision: [4457]
Adding tests directory to scripts/templates/skel

Revision: [4456]
Fixing undefined index 'action' notice in Router

Revision: [4455]
Securing AuthComponent against re-POSTing password data

Revision: [4453]
Adding missing loadModel() (ticket #2058)

Revision: [4452]
Fixing typo (ticket #2057)

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4605 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-09 23:26:37 +00:00
nate
877b3934fd Adding new CLI tools suite
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4604 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-09 23:15:03 +00:00
gwoo
d28aaae113 adding caching for elements
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4602 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-09 04:50:45 +00:00
gwoo
6e256bd593 updating domId to always return an array
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4601 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-08 17:25:21 +00:00
nate
7c65f4c6a2 Adding patch for multipart boundary formatting (thanks sdevore)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4600 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-08 02:01:29 +00:00
nate
a6d0b4b844 Fixing up test for HtmlHelper::selectTag() (Deprecated methods will still be tested until they are removed)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4599 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-08 00:44:25 +00:00
gwoo
3b2264f56f fixing latest bug in router reverse mapping
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4598 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-07 07:53:43 +00:00
gwoo
373f661342 fixing links in bake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4597 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-06 23:56:50 +00:00
gwoo
ac89620c88 refactoring cleanUpFields even though its going to be removed, uncommenting the ajax and abre routes in router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4596 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-06 23:48:25 +00:00
nate
169832606c Adding and updating core error messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4595 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-06 20:56:45 +00:00
dho
06eea06980 Renaming dummy controller, commenting out test for deprecated function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4594 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-06 08:48:45 +00:00
nate
272efd4c07 Updating AjaxHelper::submit() with FormHelper reference
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4593 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 17:53:43 +00:00
nate
3b0a6bf5d4 Fixing 'ambiguous column' bug in Model::findCount()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4592 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 17:47:16 +00:00
nate
8131f2a55c Adding core load error in webroot/index, and updating setting for debug reference in Auth
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4591 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 15:14:35 +00:00
phpnut
fd3e9fe9f8 Adding fix for Ticket #2198
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4590 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 14:48:49 +00:00
phpnut
a9c128b0ec Adding fix for Ticket #2101.
Changed Helper::loadConfig() to accept a param with the name of the file to load

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4589 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 13:48:21 +00:00
phpnut
59908ac629 Adding Helper::clean() to strip all harmful tags from output.
CHanged Sanitize::escape() to strip off the beginning and ending ' that is added by Dbo*::value()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4588 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 12:13:37 +00:00
phpnut
9b19833273 Removing error view path setting from viewPaths in Configure class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4586 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 09:48:07 +00:00
phpnut
d1134c071c Adding fix for Ticket #2090.
Refactored view loading.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4585 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 09:38:31 +00:00
gwoo
9e67f1ca66 fixing bake for ticket #2123
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4584 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 19:02:39 +00:00
phpnut
d6f73252ae Moved all deprecated methods to end of file.
Added notices for all methods that are deprecated.
Added fix for Ticket #2185.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4583 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 15:28:08 +00:00
phpnut
0e44a16fbd Adding fix for Ticket #2161
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4582 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 13:00:50 +00:00
phpnut
82c4b1e0a9 Moving deprecated methods to end of file.
Corrected fix for Ticket #2188

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4581 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 12:28:42 +00:00
phpnut
6c6efd4244 Adding fix for Ticket #2188
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4580 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 12:19:13 +00:00
phpnut
694bee97ac Moving date/time related form methods to FormHelper.
Fixed Ticket #2189.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4579 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 12:14:33 +00:00
phpnut
d931b77111 Removing $this->Html-> in FormHelper::textarea()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4578 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 10:51:24 +00:00
phpnut
d4c62a855b Adding fix for Ticket #2156
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4577 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 10:31:02 +00:00
phpnut
41aff9c2f6 Adding fix for Ticket #2055.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4576 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 09:33:21 +00:00
phpnut
dea1dc77fb Adding fix for Ticket #2130, Ticket #2168, Ticket #2178
Adding beforeRender() callback for helpers.
Adding fix for Set::diff();

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4575 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 09:12:09 +00:00
phpnut
55a66a9091 Adding fix for Ticket #2084
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4574 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 05:19:30 +00:00
phpnut
ba89ee9298 Removing debug code from Inflector
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4573 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 05:18:02 +00:00
phpnut
b3b1c80a69 Adding patch from Ticket #2176, extracts the sequence name from the default value for the primary key and returns it's last value
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4572 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 04:54:48 +00:00
phpnut
f05ab47e94 Adding fix for Ticket #1442.
Controller components are now initialized in cached views

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4571 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 04:43:30 +00:00
phpnut
91c821ae6c Adding fix for Ticket #2118.
Removing check for inflections.php file, this file has been included in releases since v 1.0.0.2312

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4570 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 04:28:59 +00:00
phpnut
82d0c2e742 Adding fix from Ticket #2074
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4569 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 04:05:57 +00:00
phpnut
5cdb3bfc91 Moving loading of Debugger class to Configure::write() so it loads only when DEBUG > 0
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4568 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 03:45:44 +00:00
nate
7c9e71e72d Refactoring Model::getColumnType() and Model::getColumnTypes()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4567 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-03 15:18:45 +00:00
nate
5964d074c5 Updating HttpSocket::serialize() to use Router::queryString(), updating Auth to use salted hashes, and resolving RequestHandler conflict for Ajax-based requests to custom content types
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4566 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-02 20:41:10 +00:00
nate
b81d297f5c Adding bootstrap check for unique application salt value, and updating File error message
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4565 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-02 20:38:57 +00:00
nate
f4172f0de3 Patching Configure to bootstrap without an app
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4564 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-28 15:41:44 +00:00
dho
4e7538d333 Fixing class "Controller" not found error (ticket #2181)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4563 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-28 12:44:31 +00:00
nate
e823ca1bf2 Fixing default JavaScript template, and code generation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4562 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-27 18:23:09 +00:00
nate
c0ac0f536b Initial implementation code for dynamic POST variable names
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4561 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-26 18:58:18 +00:00
gwoo
b5d0db814b updating bake, ticket #2067
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4560 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-26 17:43:28 +00:00
nate
7aea4e5a18 Temporarily disabling Ajax/bare routes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4559 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-26 16:51:51 +00:00
nate
9bec5d8ebb Deprecating HtmlHelper::selectTag()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4558 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-26 13:44:04 +00:00
dho
b950e735ff Adding testcase for HTML helper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4557 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-26 12:58:02 +00:00
nate
9b904515f3 Fixing reverse route matching in Router::url() and updating Router tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4556 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-26 02:11:30 +00:00
nate
563f960ae0 Fixing layout search paths for alternate content types
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4555 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-23 19:07:43 +00:00
nate
e8cfab14a0 Refactoring Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4554 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-23 00:14:51 +00:00
nate
0748c69183 Updating Router test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4553 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-22 23:41:00 +00:00
nate
2650c3a582 Finished retro-fitting CakeSession::del() (Ticket #2163)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4552 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-22 19:53:25 +00:00
nate
105b17799a Fixing conflict between JS script caching and dynamic updating of 'magic' Ajax div's
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4551 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-21 22:13:16 +00:00
nate
00c6f22532 Initial import of JsHelper JavaScript generator. PHP5-only until further notice.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4550 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-21 20:46:34 +00:00
nate
552e6850c3 Forcing cached script output to be written inline (JavascriptHelper)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4548 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-21 16:53:32 +00:00
john
163e820188 Beefing up documentation blocks.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4547 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-21 03:41:13 +00:00
nate
f912c4fd57 Importing initial draft of HttpSocket class, as implemented by Felix Geisendorfer
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4546 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-20 20:06:55 +00:00
nate
cb511b95ed Removing eval() calls from Session and replacing with Set methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4545 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-20 19:51:58 +00:00
nate
e24b44e266 Fixing AuthComponent::redirect() to redirect back to $loginRedirect instead of $loginAction
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4544 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-20 17:45:41 +00:00
phpnut
b82cf78964 Corrected doc comment in Validation::blank()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4543 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-20 17:27:14 +00:00
nate
21dd6a96fb Adding core Debugger object
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4542 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-20 16:57:43 +00:00
phpnut
43db90d1b9 Adding fix for secure cookie not being destroyed
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4541 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-20 06:41:54 +00:00
dho
23f559a4b0 Replacing "thtml" with "ctp" in error templates
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4540 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-19 07:41:46 +00:00
phpnut
4a9110828d Adding fix for #2137
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4537 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-18 15:25:56 +00:00
phpnut
7328080ce1 Adding fix for #2070
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4536 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-18 13:41:51 +00:00
phpnut
8b15fb5563 Setting max_execution_time to 0 on all CLI scripts
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4535 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-18 13:25:37 +00:00
phpnut
ff434df4e5 Adding fix for #1815
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4534 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-18 13:17:28 +00:00
phpnut
a324348be2 Adding fix for #2068.
Renaming Translate to TranslateBehavior.
Added empty class methods to TranslateBehavior.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4533 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-18 13:10:11 +00:00
john
3b06d7ad6c Adding some clarifications to controller doc comments.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4531 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 17:59:44 +00:00
nate
0e7fd21a8e Removing 'showParents' attribute from FormHelper::select() output (Ticket #2134)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4530 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 16:56:25 +00:00
nate
c8da214170 Fixing instance references in Set method calls
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4529 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 16:54:36 +00:00
dho
c46c6de561 Fixing typo (ticket #2144)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4528 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 13:58:00 +00:00
dho
076a5dbd63 Renaming $__transactionStarted to $_transactionStarted (ticket #2141)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4527 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 08:28:09 +00:00
dho
34c63427fb Renaming $__sources to $_sources (ticket #2140)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4526 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 07:31:29 +00:00
phpnut
46c5c36fcb Moving Translate class to the behaviors directory.
Moving i18n sql to app/config/sql

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4525 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 07:07:57 +00:00
nate
84a5c14c9b Fixing event:Selectors implementation for Ajax reloads
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4524 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-15 20:40:26 +00:00
nate
770446905a Fixing implementation of Set::remove() for instance and static calling
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4523 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-15 20:39:43 +00:00
nate
a633a7392a Adding key fix for Model::create() (Ticket #2106), and adding warning message for model load failures
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4522 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-15 18:45:47 +00:00
nate
64bbd74c85 Refactoring ACL and tree code for query optimization changes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4521 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-15 06:09:20 +00:00
nate
6989f80376 Fixing the display of SQL errors when DEBUG > 0
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4520 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-15 03:03:17 +00:00
phpnut
074598a96f Adding the DB2 driver submitted by Daniel Krook
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4519 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-14 20:41:06 +00:00
nate
4c24c7b784 Updating core Auth/ACL error messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4518 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-14 20:04:00 +00:00
nate
c78b777db7 Optimizing ACL node querying
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4517 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-14 07:26:42 +00:00
nate
b45f8984f8 Adding parameters for AjaxHelper::sortable()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4516 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-14 07:24:54 +00:00
nate
939d141287 Implementing Set::check() and Set::remove()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4515 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-13 18:20:28 +00:00
phpnut
b6bc6d6033 Refactoring SessionHelper and SessionComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4514 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-12 22:29:49 +00:00
nate
eaa0881285 Adding Model::bindNode() callback for optional authorization aliasing
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4513 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-12 21:56:06 +00:00
phpnut
53254d9a0f Refactoring SessionHelper and SessionComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4512 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-12 21:46:17 +00:00
phpnut
2847ba7f82 Refactoring CakeSession to remove eval()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4511 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-12 21:20:30 +00:00
nate
71115620bf Fixing issue with Set::insert(), and changing CakeSession::_ _writeSessionVar() to use Set::insert()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4510 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-12 20:06:39 +00:00
nate
cdb8925912 Implementing Set::insert() for dynamic array writes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4509 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-12 18:31:26 +00:00
nate
73fdbfe8c5 Implementing controller (CRUD)-based authorization
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4508 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-12 05:05:31 +00:00
nate
8fabe04f58 Adding Set class dependency to Session
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4507 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-12 03:22:45 +00:00
phpnut
0db06d9fdb Refactoring SessionComponent::write() to allow the first param to be an array.
Removing eval() from CakeSession::returnSessionVars() and CakeSession::readSessionVar() 

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4506 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-12 00:57:44 +00:00
nate
5b85b87dc3 Refactoring Auth
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4505 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-11 18:09:27 +00:00
nate
42193deb8f Adding AjaxHelper::sortable() fix for Ticket #2100
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4504 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-11 18:07:40 +00:00
nate
d312737d84 Updating AclComponent for distributed ACL system
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4503 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-11 00:29:23 +00:00
nate
2a954b5fbf Refactoring ACL system to require less model code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4502 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 22:59:08 +00:00
nate
c87b48e034 Refactoring AclBehavior
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4501 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 20:28:22 +00:00
nate
3bff0fd2d1 Fixing object support for Set::diff()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4500 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 17:21:32 +00:00
nate
4fb52738d3 Adding null value checks to Set::diff()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4499 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 17:19:49 +00:00
nate
6331a6d4c4 Moving Object::enum() to Set::enum()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4498 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 16:02:45 +00:00
phpnut
d8a8cbfb92 Fixing typo, those happen when you are in a coma
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4497 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 08:17:39 +00:00
phpnut
0fc79cdf6a fixing last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4496 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 08:14:01 +00:00
phpnut
2c837ffac2 Adding Object::enum()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4495 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 08:13:28 +00:00
nate
96abdcb619 Fixing ACL node creation for multiple insertions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4494 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 04:15:25 +00:00
nate
b50b478f8a Fixing permissions setting for ACL
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4493 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 21:26:09 +00:00
nate
45bff19372 Loading additional ACL model classes in AclBehavior
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4492 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 19:13:38 +00:00
phpnut
de3d0bb193 Adding define ACL_DATABASE
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4491 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 18:33:32 +00:00
phpnut
115037e815 Adding missing headers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4490 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 18:18:01 +00:00
nate
6ec10af951 Adding Permission join model for ACL nodes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4488 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 08:29:07 +00:00
nate
30134cbd9e Importing new ACL system
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4487 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 08:13:13 +00:00
nate
ce71e04618 Changing Object::set() to non-conflicting _set()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4486 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 05:08:15 +00:00
phpnut
1c07701223 Removing need for plugins to need a model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4485 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 02:38:19 +00:00
nate
24fd9b1e9b Removing password data from user record access in AuthComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4484 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 23:44:58 +00:00
nate
a1afe34106 Implementing AuthComponent::$autoRedirect()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4483 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 22:25:45 +00:00
nate
8a025938b5 Adding tests for DboSource and AjaxHelper, and fixing code formatting in XmlHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4482 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 22:16:35 +00:00
nate
9468feec18 Adding object support to Set::extract()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4481 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 22:14:36 +00:00
nate
b5dc025a61 Fixing order of operations for AuthComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4480 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 22:10:58 +00:00
nate
a7653e4d80 Changing param order in Model::updateAll() so it makes more sense
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4479 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 18:36:26 +00:00
nate
fbc0ea77b7 Fixing $conditions === true in DboSource
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4478 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 18:13:14 +00:00
phpnut
af4bacb960 Reverting changes made in last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4477 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 17:58:19 +00:00
nate
1e4ce0d35d Implementing Model::deleteAll()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4476 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 17:50:47 +00:00
nate
15f7509171 Refactoring set() method into Object, and adding $conditiions === true translation in DboSource
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4475 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 17:33:59 +00:00
phpnut
f377ed6d2a Adding Helper::webroot() to return correct url if theme is used
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4474 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 07:42:23 +00:00
phpnut
88ac78f03d Adding check for webroot/themed/[theme name]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4473 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 05:21:28 +00:00
phpnut
869dbb6b05 Fixing theme class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4472 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 05:15:04 +00:00
phpnut
d791bd75b4 Changing check for theme to empty
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4471 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 04:55:26 +00:00
phpnut
2bacc6603e Updating theme class to allow setting theme to null and deafult locations will be used.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4470 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 04:38:10 +00:00
phpnut
5403b58ab7 Fixing Configure::store().
Original version of method would set the array for a $key $value par incorrectly

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4469 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 03:25:37 +00:00
gwoo
7754dbd284 fixing issue with bake reading tables
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4468 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-07 21:29:47 +00:00
nate
90b0f1f1cc Allowing 'error' => false to disable validation error output in FormHelper::input() (Ticket #2071)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4467 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-07 20:13:59 +00:00
nate
0baab3b06f Updating Behavior class def with new callback param
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4466 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-07 00:37:49 +00:00
nate
76548b0aad Refactoring Model::save() and adding $created parameter to afterSave()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4465 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-07 00:36:19 +00:00
nate
194e9e09b1 Restructuring Inflector tests, and adding test for Ticket #2068
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4464 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-07 00:01:04 +00:00
nate
5c2e4821f7 Adding Inflector test for Ticket #2061
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4463 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-06 23:57:45 +00:00
nate
709e257707 Fixing null child reference issue in XML
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4461 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-06 17:19:11 +00:00
nate
a175687bd5 Updating View class properties, and committing additional core tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4460 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-06 17:18:23 +00:00
nate
3500fa5917 Additional Ajax test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4459 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-06 14:28:04 +00:00
nate
454d9716d2 Adding AjaxHelper tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4458 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-06 14:23:36 +00:00
nate
d25aa2a4cb Fixing undefined index 'action' notice in Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4456 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-05 23:45:26 +00:00
nate
9bba7b70a2 Securing AuthComponent against re-POSTing password data
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4455 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-05 20:19:34 +00:00
dho
80e503a70f Adding missing loadModel() (ticket #2058)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4453 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-05 12:49:35 +00:00
dho
24d65cafbc Fixing typo (ticket #2057)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4452 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-05 12:26:31 +00:00
phpnut
dddbaa69f2 Merging fixes into the trunk:
Revision: [4449]
Adding fix for #2051
Adding additional methods to the ClassRegistry to set mappings to class names.
Added ClassRegistry::map() in the model to set mappings where needed

Revision: [4448]
Adding 'evalScripts' fix for AjaxHelper (Ticket #2048)

Revision: [4447]
Fixing tests for DboSource after changes made to remove extra white spaces

Revision: [4445]
Updating test suite

Revision: [4444]
Removing directories from cases.
Updating DispatcherTest

Revision: [4443]
Updating test suite

Revision: [4442]
fixing h2 in test suite

Revision: [4441]
Removing redundant group test

Revision: [4440]
Updating html for test suite.
Added error page when SimpleTest is not installed.
Fixed model.test.php failing on PHP 4

Revision: 4439
updating test suite layout

Revision: [4438]
Removing all language file svn these are now located at http://cakeforge.org/projects/translations/

Revision: [4437]
Adding fix for #2047

Revision: [4436]
Fixing notice when not group tests are found

Revision: [4435]
Fixing unset variable error

Revision: [4434]
Updating test suite with correct paths.php
Changed vendor() to return true or false

Revision: [4433]
Adding test suite to the core.
Creating directories for application level testing

Revision: [4432]
Fixing default extension parsing behavior for Router::parseExtensions()

Revision: [4430]
Moving tests and test suite in the 1.2.x.x core releases

Revision: [4429]
Updating Router::parseExtensions() so that parameters do not need to be wrapped in an array

Revision: [4427]
Fixing AjaxHelper::form() for compatibility with FormHelper::create()

Revision: [4426]
Disabling Model::loadInfo() for models that do not use tables

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4451 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-05 05:32:30 +00:00
phpnut
0c490af5b1 Adding fix for #2051
Adding additional methods to the ClassRegistry to set mappings to class names.
Added ClassRegistry::map() in the model to set mappings where needed

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4449 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-05 04:53:31 +00:00
nate
8f641887b7 Adding 'evalScripts' fix for AjaxHelper (Ticket #2048)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4448 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 19:28:22 +00:00