Commit graph

17 commits

Author SHA1 Message Date
phpnut
0f2e3a4a80 Merging fixes into the trunk:
Revision: [4851]
Adding patch from Ticket #2374

Revision: [4850]
Correcting [4849], would attempt to load non existent model is var $uses was not set

Revision: [4849]
Adding fix for Ticket #2349

Revision: [4848]
Adding fix for Ticket #2392
Added tests for this fix.

Revision: [4847]
Fixing SQL error in AuthComponent::identify() when username is empty (Ticket #2402)

Revision: [4846]
Fixing (moving) session string warning (Ticket #2377) and adding automatic logging code

Revision: [4845]
Adding fix for Ticket #2376

Revision: [4843]
Added tests for issue #2391

Revision: [4842]
Added tests for issue #2391

Revision: [4841]
Adding fix for Ticket #2380

Revision: [4840]
Adding fix for Ticket #2391

Revision: [4839]
Adding fix for Ticket #2387
Fixed issue in view with $session->valid() always returning false.

Revision: [4838]
Fixing JavascriptHelper::object() bug with numeric indexes, as reported on the mailing list

Revision: [4837]
Throwing Missing Model error for missing associated classes, per gwoo

Revision: [4835]
Adding fix for Ticket #2326

Revision: [4834]
Removing inline comments and fixing error in parseURI; also fixes Ticket #2382

Revision: [4833]
Adding user check fix for AuthComponent::isAuthorized(), and removing comments from Model test (Ticket #2381)

Revision: [4832]
Fixed typo in function name strpos replaces strrpos

Revision: [4831]
Refactoring association joins, Fixes the issue with adding the Model.id if it is not already added.
Adding fix for string based fields.

Revision: [4830]
Removing name() method from DBO drivers (Ticket #2372)

Revision: [4829]
Adding tests to force foreignKey fields in hasMany

Revision: [4828]
Adding tests for automatic addition of ids in hasMany

Revision: [4827]
Adding fix for undefined index

Revision: [4826]
Adding first implementation of hasMany associations using one select statement.

Revision: [4825]
Removing some duplicate code

Revision: [4824]
Initial work on using one select statement for hasMany associations

Revision: [4823]
Adding enhancement from Ticket #2366

Revision: [4822]
Adding patch from Ticket #2368

Revision: [4821]
Moving fixtures directory in the application skeleton

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4853 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-12 08:59:09 +00:00
phpnut
29e1e6a570 Merging fixes into the trunk:
Revision: [4818]
Adding fix for test in [4816].
This fixes hasOne association conditions

Revision: [4817]
Fixed tests

Revision: [4816]
Added test for conditions in binding

Revision: [4815]
Removing fixtures directory

Revision: [4814]
Adding fix for Ticket #2364

Revision: [4813]
Fixed test

Revision: [4812]
Adding fixes for test in [4811] fixes Ticket #1100

Revision: [4811]
Added tests for issue #1100

Revision: [4810]
Adding fix for Ticket #2363
Removed use of:
mysql_insert_id($this->connection);
mysqli_insert_id($this->connection);

Revision: [4809]
Added test for #2361

Revision: [4808]
Adding fix for Ticket #2360

Revision: [4807]
Fixing test for PHP4

Revision: [4806]
Improved test for #2360

Revision: [4805]
Test added to replicate #2360

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4820 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-07 22:17:26 +00:00
phpnut
847cf2345f Merging fixes into the trunk:
Revision: [4802]
Refactoring duplicate code into one method

Revision: [4801]
Adding fixes for Ticket #2357, Ticket #2358
Added tests from Ticket #2357, Ticket #2358
Fixed failing DboSourceTest:
source:/branches/1.2.x.x/cake/tests/cases/libs/model/datasources/dbo_source.test.php@4778#L1080

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4804 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-06 12:38:06 +00:00
phpnut
48f3349c9a Merging fixes into the trunk:
Revision: [4796]
Removing comments from Set::merge()

Revision: [4795]
Adding fix for Ticket #2353

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4798 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 21:40:37 +00:00
phpnut
1ad04a6558 Merging fixes into the trunk:
Revision: [4792]
Merging changes from 1.2.x.x Set class to 1.1.x.x branch

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4794 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 20:19:33 +00:00
phpnut
a677c882e7 Merging fixes into the trunk:
Revision: [4789]
Fixing last commit, had removed the ! prior to committing

Revision: [4788]
Adding fix for duplicate conditions being merged into the final query on self associations

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4791 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 19:23:46 +00:00
phpnut
4f04f09978 Merging fixes into the trunk:
Revision: [4785]
Adding fix for Ticket #2347

Revision: [4784]
Adding fix for Ticket #2317.
Added ability to cache queries to Model::query() by passing true as a second param.
Before this method would turn off caching automatically and there was no way to turn it on.

Revision: [4783]
Adding fix for Ticket #2351

Revision: [4782]
Adding fix for Ticket #2349

Revision: [4781]
Fixing typo

Revision: [4780]
Adding headers

Revision: [4779]
Adding new Set::merge() and Set class test case, thanks Felix

Revision: [4778]
Fixing [Only variable references should be returned by reference]

Revision: [4777]
Remove deprecated methods from test cases

Revision: [4776]
finishing changes to FormHelper

Revision: [4775]
Preventing session started messages in session test

Revision: [4774]
Removing old AclNodeTest methods this code is no longer valid on 1.2

Revision: [4773]
Added test for combination of self joins and belongsTo

Revision: [4771]
Fixed test to used array based self join

Revision: [4770]
Adding fix for to correct additional 1:1 associations failing to query when there is a self join association.

Revision: [4769]
fixing some changes to FormHelper

Revision: [4768]
Removing preg_replace() and adding additional param $where = true to DboSource::conditions()

Revision: [4767]
Fixing self association joins with conditions and fields

Revision: [4766]
Fixed test

Revision: [4765]
Fixed test

Revision: [4764]
Fixed tests to include parenthesis used in ON clauses

Revision: [4763]
Adding fixes for association conditions

Revision: [4762]
adding fix to FormHelper::create() for plugin path with action, see #2342. Adding default sizes, maxlengths, and values to input. FormHelper::inputs() will now return all the fields in the model without the need to pass anything from the controller, uses a blacklist so some fields can be skipped. Added PaginatorHelper::numbers(),  will output current page numbers, uses a modulus to decide how many to show on each side of the current page. Paginator::options() now allows setting default paging params

Revision: [4761]
Adding fix for ModelTest::testRecursiveFindAll()

Revision: [4760]
Commenting debug code in model.test.php

Revision: [4759]
Adding fix for scaffold when using self associated HABTM

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4787 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 18:10:39 +00:00
phpnut
0d373a0c16 Merging fixes into the trunk:
Revision: [4756]
Adding fix for Ticket #2343
Corrected test case for InflectorTest:testInflectingPlurals() house, original test used wrong method from Inflector

Revision: [4755]
Adding fix to EmailComponent::_ _createHeader() that corrects addresses that are set in CC being added to BCC also

Revision: [4754]
Adding check for config/inflections.php back to Inflector

Revision: [4752]
Adding fix for Ticket #2339
Adding fix for Ticket #2335
Adding fix for Ticket #2344

Merged changes in dbo from 1.2 to 1.1
Merged changes to session handling in 1.2 to 1.1
Merged changes to Model::_ _saveMulti() in 1.2 to 1.1
Added Set::pushDiff() to append differences in array 2 to array 1
Added SessionComponent::activate() and SessionHelper::activate() to turn sessions usage on if AUTO_SESSION is set to false
Added test for Ticket #2343
Added change to AclNode to use correct table naming
Added garbage clean up to CakeSession::_ _close(); some installs, like Debian, have removed garbage clean
up and use a cron job instead. Currently this change is only supported for database session.

Revision: [4751]
Removing unnecessary requirements

Revision: 4750
Removing unnecessary requirements

Revision: [4749]
Implementing AclNodeTest through fixtures

Revision: [4748]
Adding test to reproduce ticket #2343

Revision: [4747]
Adding fix from Ticket #2336

Revision: [4746]
fixing check in magic methods for a value otherwise it will return false adding test to dbosource

Revision: [4745]
Adding fix for Ticket #2328

Revision: [4744]
Adding test for Ticket #2333.
Added fix for Ticket #2333

Revision: [4743]
Adding var $layout to EmailComponent

Revision: [4742]
Fixing EmailComponent::_ _formatAddress() was not returning $string

Revision: [4741]
Refactoring AuthComponent password hashing

Revision: [4740]
fixing router when affected by requestAction #2319, adding check in magic methods for a value otherwise it will return false

Revision: [4738]
Added test in testGenerateAssociationQuerySelfJoinWithConditions() to replicate issue when 'conditions' is not used after doing bindModel() for a $belongsTo relation

Revision: [4737]
Simplified failing test in model.test.php

Revision: [4736]
Simplified failing test in model.test.php

Revision: [4735]
Adding Ajax rendering fix for Ticket #2323

Revision: [4734]
Adding test for #2325

Revision: [4733]
Fixing Controller::cleanUpFields() formatting bug introduced in [4596] (Ticket #2322)

Revision: [4732]
Adding fix for TIcket #2325

Revision: [4731]
Adding patch from ticket #2324 plus test

Revision: [4730]
Adding patch from Ticket #2320

Revision: [4729]
Additional timestamp fix for Controller::cleanUpFields()

Revision: [4728]
Fixing typos

Revision: [4727]
Misc. fixes to DboPostgres, added basic schema generation, and fixed getting insert IDs from sequence (Ticket #2309)

Revision: [4726]
Refactoring FormHelper and fixing 'empty' option for date/time elements in FormHelper::input() (Ticket #2311)

Revision: [4725]
Fixed typo in function name

Revision: [4724]
Identified line that allows bakery issue test to succeed

Revision: [4723]
Added test that replicates issue in bakery with nested models after doing some bindModel() and unbindModel()

Revision: [4722]
Fixing Controller::cleanUpFields() to handle timestamp fields, and properly unset meridian values

Revision: [4721]
Added test for ticket #2321

Revision: [4720]
Adding Model::saveField() fix for triggering invalid hasAndBelongsToMany saves

Revision: [4719]
Moving session flash rendering from component to helper (fixes errors when using setFlash() in beforeFilter)

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4758 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 08:36:00 +00:00
phpnut
e569b97867 Merging fixes into the trunk:
Revision: [4716]
Adding fix for Ticket #2316

Revision: [4714]
Adding fix for Ticket #2232.
Added tests for ticket

Revision: [4713]
Adding fix for Ticket #2310

Revision: [4709]
Fixing typos.
Adding fix for $ID: search in I18nExtractor::_ _findVersion(), svn replaced this with the file name.

Revision: [4708]
Updating I18nExtractor. Added methods to extract translation strings from files.

Revision: [4707]
Fixing return value in Session::check()

Revision: [4706]
Removing column length from INT column type in DboMssql (Ticket #2308)

Revision: [4705]
Adding tests and fixtures for self-join associations, and fixing JS syntax for 'indicator' (Ticket #2302)

Revision: [4704]
Fixing NOT operations in query conditions in DboSource (Ticket #2307)

Revision: [4703]
Adding DboSource destructor rollback fix (Ticket #2110)

Revision: [4702]
Adding fix for Ticket #2298.
Added encoding wrapper for email addresses.

Revision: [4701]
Additional URL-parsing fixes for IIS

Revision: [4700]
Fixing limit / offset for SQL Server

Revision: [4699]
Fixing URL parsing/dispatching for IIS installs without rewrite support

Revision: [4698]
Refactoring Controller::paginate() to remove duplicate code.

Revision: [4697]
Adding field quoting fix in DboSource::name() (Ticket #2300)

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4718 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-31 17:34:42 +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
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
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
381bd36c94 Merging fixes into the trunk:
Revision: 4423
Author: phpnut
Date: 8:32:42 PM, Friday, February 02, 2007
Message:
Adding fix for #1989
----
Modified : /branches/1.2.x.x/cake/libs/router.php


Revision: [4422]
Adding fix for #2018

Revision: [4420]
Adding additional fix for #1994

Revision: [4419]
Adding changes to Router to pass tests cases

Revision: [4417]
Adding page # fix for PaginatorHelper::counter() (Ticket #1994)

Revision: [4416]
Adding SQL Server column aliasing fix for hasMany/HABTM associations (Ticket #1931)

Revision: [4415]
Merging changes made to app/webroot/index.php to cake/scripts/templates/skel/webroot/index.php

Revision: [4414]
Merging changes made to app/webroot/index.php to cake/scripts/templates/skel/webroot/index.php

Revision: [4413]
Added missing return in Model::invalidFields()

Revision: [4412]
Adding fix for #1936

Revision: [4411]
Adding numeric value quoting fix for DboSource (Ticket #1927)

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4425 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 03:02:14 +00:00
phpnut
069275ef7c Merging fixes into the trunk:
Revision: [4408]
Adding patch for #2041

Revision: [4407]
Correcting all headers in the files

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4410 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 13:31:21 +00:00
phpnut
a8a91e35be Correcting all headers in the files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4407 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 10:39:45 +00:00
phpnut
4e3f36e7ac Merging fixes into the trunk:
Revision: 4404
Adding fix for #2012

Revision: [4403]
Adding fix for #2021

Revision: [4402]
Changing the order of include_path this is done to fix issues with servers having core cake files in one location and a user wanting to use a local copy

Revision: [4401]
Added fix for #1991

Revision: [4400]
Adding redirect fix for Ticket #1951

Revision: [4399]
Disabling REST-compliant hidden field temporarily

Revision: [4397]
Applying patch from #2019

Revision: [4396]
Adding magic method fix for null query values (Ticket #1999), and adding PostgreSQL boolean quoting patch (Ticket #1788)

Revision: [4395]
adding patch to dbo_postgres, #1828

Revision: [4394]
Adding patch from #1844

Revision: [4393]
Adding fix for #1928

Revision: [4392]
Added plugin view caching #1805.
Also fixed #1315

Revision: [4391]
Adding patch from #1851.
Fixed #1851 and #1876

Revision: [4390]
Fixed bad merge on Model::bindModel().

Revision: [4389]
Adding fix for #1946.

Revision: [4388]
fix in acl.php cli for delete and getPath, #1831

Revision: [4387]
Updating Japanese translations (ticket #2030)

Revision: [4386]
Fix for #2031

Revision: [4385]
Adding fix for #1988

Revision: [4384]
Adding fix for #2001

Revision: [4383]
Adding fix for #2027

Revision: [4382]
Adding fix for #1965

Revision: [4381]
Adding fix for #2023 

Revision: [4379]
Adding fix for #1908

Revision: [4378]
Adding fix for #1822

Revision: [4377]
Adding fix for #1993

Revision: [4376]
Correcting doc comments for #1852

Revision: [4375]
Reverting changes recent changes to DboSource

Revision: [4374]
Fixing undefined variable notice in DboSource::update()

Revision: [4373]
Fixing $fields error for belongsTo associations

Revision: [4371]
updating inflector rules #1939

Revision: [4370]
Adding fix for #1872.
Fixed helpers not being set in cached files

Revision: [4369]
Adding fix for AjaxHelper::drag() (Ticket #1906), and adding AjaxHelper test case

Revision: [4368]
Updating DboSource with new query generator implementation, and updating DboSource tests

Revision: [4367]
adding fixes to acl cli for #1885, and new upgradedb in acl cli for #1857

Revision: [4366]
changing field types to char(2) on table aros_acos

Revision: [4365]
Replacing ternary operations in FormHelper, and adding DOM ID's back to hidden inputs

Revision: [4364]
Adding fix for #1888

Revision: [4363]
adding fixes to bake #1881, #1929, 1891

Revision: [4362]
Fixing key quoting in JavascriptHelper::object() (Ticket #1986)

Revision: [4360]
Adding PostgreSQL conditional expressions to DboSource (Ticket #1914)

Revision: [4359]
Adding fix for #1953

Revision: [4357]
Adding insertQueryData fix for foreign keys = 0 (Ticket #1959)

Revision: [4356]
Adding fix for #1853

Revision: [4355]
Adding patch from #1973
This fixes issues with singular words that end in us or ss

Revision: [4353]
Adding fix for Status singular inflection

Revision: [4352]
Allowing user defined inflections to override the core

Revision: [4350]
Removing directories that are not used

Revision: [4349]
Adding ternary op wrapper function to basics

Revision: [4348]
adding uses('set') for Set::normalize() fix in RequestHandler

Revision: [4347]
fixing use of normalize in RequestHandler

Revision: [4346]
fix for xml helper

Revision: [4345]
Adding fix for Notice: Undefined variable: data

Revision: [4344]
refactored most methods, transaction support, case insensitive comparison & sorting, added createSequence() and sequenceExists(), bug fixes

Revision: [4343]
Applying patch from ticket #2009

Revision: [4342]
Enabling join models for all DBOs

Revision: [4341]
Updating HtmlHelper::css() to support array paths

Revision: [4340]
Fixing magic method query generation for array condition values (Ticket #2008)

Revision: [4339]
Updating Model for testing compatiblity

Revision: [4338]
Fixing script output caching in JavascriptHelper

Revision: [4337]
Rewriting automatic variable detection to work with any field

Revision: [4336]
Fixing typo (ticket #2003)

Revision: [4335]
Adding Socket core class and unit test

Revision: [4330]
Fixing column quoting for array-based conditions when columns are wrapped in SQL functions

Revision: [4329]
Fixing column length parsing in DboMysql

Revision: [4328]
Fixing error introduced in [4311] the DboSource::limit() does  not return results as expected.
When column is tinyint(1) is $limit = LIMIT tinyint(1).
All others are similar result with $limit = LIMIT [column type][#]

Revision: [4327]
Refactoring AuthComponent::user()

Revision: [4326]
Updating AuthComponent docblocks

Revision: [4325]
Fixing AuthComponent redirect URLs

Revision: [4324]
Adding shortcut icon generating to HtmlHelper::meta()

Revision: [4323]
Adding fallback for deprecated function mysql_list_tables() in DboMysql::listSources()

Revision: [4322]
Adding AuthComponent::user() to return current user, fixing config/paths docblocks, and adding IMAGES path

Revision: [4321]
Adding automatic password hashing for user logins and creates in AuthComponent

Revision: [4320]
Implementing shutdown() callback for components

Revision: [4319]
Fixing issue with conditional values being empty arrays in DboSource::conditionKeysToString()

Revision: [4318]
Fixing $model parameter in FormHelper::create() (Ticket #1963)

Revision: [4316]
Clearing validation errors on Model::create() (Ticket #1960)

Revision: [4315]
Updating helper method references, and fixing FormHelper::hidden() to work with '_method'

Revision: [4314]
Fixing return value of loadModels()

Revision: [4313]
Adding Model::isUnique() for simplified checking of unique fields/values

Revision: [4312]
Refactoring AuthComponent, and fixing URL comparison error

Revision: [4311]
Adding schema generation support to DboMysql

Revision: [4309]
Adding Controller::redirect() fix (Ticket #1951), and fixing redirect URL to conform with HTTP/1.1

Revision: [4308]
Adding fix for Ticket #1974

Revision: [4307]
Moving normalizeList() (basics) to Set::normalize()

Revision: [4306]
Fixing AppController::$uses merging for controllers with no models of their own.  To completely disable $uses, set $uses = null in your controller.

Revision: [4305]
Enforcing component callback disabling in Dispatcher (do $this->Component->enabled = false in beforeFilter).

Revision: [4304]
Fixing typo in HABTM definition (ticket #1975)

Revision: [4303]
Adding some spaces (ticket #1961)

Revision: [4302]
fixing FormHelper::input() error messages, ticket #1957

Revision: [4301]
Fixing array key name in FormHelper::input()

Revision: [4300]
updating bake and css, also added a name key to the generateFieldNames

Revision: [4299]
changing cache() to allow writing to the tmp directory

Revision: [4298]
Adding 'before', 'between', and 'after' options to FormHelper::input()

Revision: [4297]
Adding back 'default' key to table description, and fixing Model::create() to not include empty default values

Revision: [4296]
Fixing URL error condition in AuthComponent::startup(), and adding login failure handler

Revision: [4295]
Fixing $model parameter for FormHelper::create().  Must pass false if the form is not associated with a model.

Revision: [4294]
Adding 'default' option to HtmlHelper::link() to prevent default action

Revision: [4293]
Adding FormHelper::input() fix for generating select menus (Ticket #1860)

Revision: [4292]
Changed Configure::_ _writeConfig() to use instance from getInstance().

Revision: [4291]
Adding check for existence of Core key in class.paths.php.
Change Configure::_ _writeConfig() to cache files for 10 seconds if DEBUG > 0.

Revision: [4290]
Fixing key checking in AuthComponent

Revision: [4289]
Adding check for new dot notation that will be used to load classes

Revision: [4288]
Adding changes to other load*() functions in basics.php to create cached paths for loaded classes

Revision: [4287]
Adding Auth component

Revision: [4286]
Reverting changes from [4285]

Revision: [4285]
adding a return false to cache and configure

Revision: [4284]
Adding addslashes() to Configure::store() so content will have backslashes before characters that need to be quoted.
Removed error notice that is thrown when file is not present

Revision: [4283]
updating cake.generic.css

Revision: [4282]
updating FormHelper, #1860

Revision: [4281]
fixing typo in bake, #1902

Revision: [4280]
updating skel templates

Revision: [4279]
adding pagination and sorting to scaffold. refactoring plugin views and redirects, updating default layout

Revision: [4278]
adding check for is_writeable to cache()

Revision: [4277]
moving data conversion for xml from Model::set() to RequestHandler::startup();

Revision: [4276]
adding empty $config to Configure::__writeConfig, update to model for multiple datasources with a table prefix, added option to wrap xml with <data> to wrap the model elements  when using Model::set() 

Revision: [4275]
Correcting params in doc comments

Revision: [4274]
Adding new methods to Configure class that is used to created a cached version of config files.
Adding Configure::store() method call to bootstrap.php to create a cached file for class paths.
Adding Configure::read() to load class paths into Configure instance.
Adding check in loadModel() to get the class path from Configure::read('Models'); if set, if values are not set, the correct file is found and added to the cache file for faster loading.

Revision: [4273]
Changing .thtml to .ctp in templates

Revision: [4272]
Removing links to wiki

Revision: [4271]
Adding Ajax indicator fix for Ticket #1880

Revision: [4270]
Adding additional fix to [4269] to bypass cache when multiple forward slashes are used in the url

Revision: [4269]
Adding fix to CacheHelper when $this->url is / 

Revision: [4268]
Fixing $options array merge order in PaginatorHelper::link()

Revision: [4267]
Adding 'indicator' feature to AjaxHelper

Revision: [4266]
Updating TextHelper::autoLinkEmails() with new API changes (Ticket #1874)

Revision: [4265]
Implementing Validation::ip()

Revision: [4264]
Implementing minLength and maxLength

Revision: [4263]
Fixing typos

Revision: [4262]
Adding Sanitize::clean() to replace Sanitize::cleanArray(), cleanValue(), etc.

Revision: [4261]
Updating DboPear to be consistent with DboSource API 1.2

Revision: [4260]
Adding validation fix for Ticket #1850, and adding warning messages for Model::invalidFields() and Model::validates()

Revision: [4259]
Adding FormHelper::create() fix for AjaxHelper (Ticket #1836)

Revision: [4258]
Adding PaginatorHelper::options() to set default pagination options

Revision: [4257]
Additional helper detection for paginate()

Revision: [4256]
Fixing DOM ID's for HtmlHelper::selectTag() (Ticket #1847)

Revision: [4255]
Fixing HtmlHelper::link() to allow passing $escapeTitle and $confirmMessage params as 'escape' and 'confirm' in $options

Revision: [4254]
Fixing ambiguous key sorting in Controller::paginate()

Revision: [4253]
Fixing URL passing in AjaxHelper::form()

Revision: [4252]
bake, redirect links

Revision: [4251]
bake, generated links

Revision: [4250]
re-fixing for the custom controllers in bake

Revision: [4249]
updating bake, added fix for ticket #1835 and #1841, css update for #1835.

Revision: [4248]
Adding fix to allow Configure::write('debug', '0'); in a controller method

Revision: [4247]
Adding Indonesian translation

Revision: [4246]
Fixing array key in PaginatorHelper::counter()

Revision: [4245]
Cleaning up FormHelper code

Revision: [4244]
Adding patch from phishy:

sets case insensitivity of sorting after connect
clears statements/cursors when done interating through them
begun adding transaction support
fixed date/timestamp support to support more date formats
added supports for dates and timestamps
added a sequence public property instead of the hardcoded name

Revision: [4243]
Adding skeleton of translation string extractor class

Revision: [4238]
making it possible to use FormHelper without a model

Revision: [4237]
Adding 'json' parameter for Ajax onComplete callback (Ticket #1843)

Revision: [4236]
overfactoring namedArgs, they are used by default with a  colon as a separator

Revision: [4235]
Fixing issue in FormHelper::input() where the 'type' attribute appears twice

Revision: [4234]
Adding Paginator methods for links and sorting

Revision: [4233]
Replacing deprecated Html->formTag() with Form->create()

Revision: [4232]
Adding additional Dispatcher fixes for named arguments; fixing parameters passed in Paginator URLs

Revision: [4231]
"Correcting doc comments in basics.php
Changed the params order for _ _c()."

Revision: [4230]
Fixing "undefined variable" error in dispatch

Revision: [4229]
Adding fix for Ticket #1823

Revision: [4228]
adding router fix for array params, ticket #1824, removing ternary operator from HtmlHelper::link();

Revision: [4227]
Fixing an error in I18n class that would sometimes show up when using Scaffolded methods 

Revision: [4226]
"A little more refactoring on HtmlHelper::checkbox()"

Revision: [4225]
"Fixed typo in [4221]"

Revision: [4224]
Adding fix for Notice: Use of undefined constant action - assumed 'action' on Scaffolded view()

Revision: [4223]
Adding patch from Ticket #1354

Revision: [4222]
"Adding a second param to bindModel and unbindModel to allow
turning off the auto resetting of the associations.
By default associations are always reset to the orignal models values"

Revision: [4221]
Adding patch from Ticket #1821

Revision: [4220]
Adding fix from Ticket #1808.
Correcting language name in I10n class.
Removed unused var from CookieComponent

Revision: [4219]
Adding Slovenian translation

Revision: [4218]
Updating CookieComponent class to allow multidimensional arrays to be stored in one cookie.
Changed write() to allow passing $expire and $encrypt.

Revision: [4217]
Replacing '_view_' with 'view'

Revision: [4216]
Fixing parse error in PHP4

Revision: [4215]
Updating French, Italian, and Danish translations

Revision: [4214]
fixing typo in doc comment for CookieComponent::$_ _values;

Revision: [4213]
Adding secure CookieComponent class.

Revision: [4212]
fixing router args in urls, ticket #1811

Revision: [4211]
Fixing magic method names

Revision: [4210]
Merging changes from 1.1.x.x CakeSession

Revision: [4209]
Updating Danish translation

Revision: [4208]
Updating Danish translation

Revision: [4207]
Adding fix for I18n when $domain is specified using any of the _ _d*() functions

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4406 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 06:53:25 +00:00
phpnut
3fb74c2796 Updating version files for 1.2.x.x branch
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4206 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-25 12:44:31 +00:00