Commit graph

52 commits

Author SHA1 Message Date
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
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
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
08c412c4ca Updating test suite with correct paths.php
Changed vendor() to return true or false

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4434 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 02:08:17 +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
nate
685054fac3 Adding AuthComponent::user() to return current user, fixing config/paths docblocks, and adding IMAGES path
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4322 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-23 16:27:34 +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
dho
798298e251 Removing unused constant MODULES (ticket #1718)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4056 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-03 12:56:36 +00:00
phpnut
92bce405b0 Merging fix from [3914]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3915 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 05:12:24 +00:00
phpnut
204ff6bcbb Refactoring Helper class and adding tags.php as a var.
Removing old /config/tags.php

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3890 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 03:16:34 +00:00
nate
403bcb54b4 Fixing typo in tags.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3887 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 22:22:58 +00:00
nate
51fe30c65f Rewriting tags.php as a single array def
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3884 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 21:16:38 +00:00
phpnut
ca5778ff52 Removing bad characters in last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3882 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 20:17:26 +00:00
phpnut
a867b2ff3e renaming tags.ini.php to tags.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3881 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 20:06:35 +00:00
phpnut
30cf172bbc Refactoring helper tags
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3880 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 20:05:57 +00:00
nate
355ad78cc1 Adding HTTPS detection fix (Ticket #1405)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3531 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-20 19:13:57 +00:00
nate
fd99791566 Removing all references to AUTO_OUTPUT, adding HtmlHelper::meta() for creating <link /> tags, and enhancing HtmlHelper::url()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3414 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-20 21:54:50 +00:00
nate
a75f33f430 Adding optgroup support for 2D arrays in FormHelper::select(); adding grouping ability to Model::generateList()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3326 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-30 23:31:04 +00:00
nate
07ec77ef22 Adding model behaviors, model onError callback, and updating FormHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3280 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-22 14:13:07 +00:00
nate
5af4c7e372 Adding same fixes as [3225] and [3223], and adding HtmlHelper::para() and HtmlHelper::div()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3226 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-11 14:34:35 +00:00
nate
cd88eb01ef Adding new tags for JavaScript and FormHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3208 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-06 16:43:18 +00:00
phpnut
9d19dee879 Renaming branched version directory
git-svn-id: https://svn.cakephp.org/repo/branches/1.1.x.x@3085 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-14 18:02:37 +00:00
phpnut
e5c074a0dc Merging fixes into 1.x.x.x branched code:
Revision: [2955]

Revision: [2951]

Revision: [2918]

Revision: [2911]

git-svn-id: https://svn.cakephp.org/repo/branches/1.x.x.x@2958 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-05-26 05:29:17 +00:00
phpnut
1dc168abc7 Merging fixes into 1.x.x.x branched code:
Revision: [2887]

git-svn-id: https://svn.cakephp.org/repo/branches/1.x.x.x@2890 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-05-16 20:46:06 +00:00
phpnut
e41214da87 Merging fixes into 1.x.x.x branched code:
Revision: [2706]
Adding check for selecting insert id's

Revision: [2701]
Adding fix for Ticket #727

Revision: [2700]
Added patch from Ticket #730

Revision: [2698]
Added fix for Ticket #732

Revision: [2696]
More dbo_source::order() fixes

Revision: [2695]
Adding fix for order(), and results checking in __filterResults()

git-svn-id: https://svn.cakephp.org/repo/branches/1.0.0.2685@2727 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-05-04 00:35:48 +00:00
phpnut
e385b666dd Merging fixes into the trunk.
Revision: [2641]
Adding fix for file upload data

Revision: [2640]
Disabling Dispatcher access to controller callbacks

Revision: [2639]
Fixing output bug in AjaxHelper::link()

Revision: [2638]
Adding fix for Ticket #714 (The OC! [not the tv show])

Revision: [2637]
Additional refactoring of DB_ACL


git-svn-id: https://svn.cakephp.org/repo/trunk/cake/1.x.x.x@2642 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-04-29 21:51:30 +00:00
phpnut
87d703eaa5 Merging fixes and enhancements into trunk.
Revision: [2426]
Added patch from Ticket #566.

Revision: [2425]
Adding patch from Ticket #603.

Revision: [2424]
Adding fix for Ticket #604

Revision: [2423]
Adding fix for Ticket #601

Revision: [2422]
Refactoring ACL and updating queries

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2427 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-03-28 02:44:55 +00:00
phpnut
d595e46055 Merging fixes and enhancements into trunk.
Revision: [2406]
Adding model persistence when using var $uses array.
Added var $name to PagesController

Revision: [2405]
Adding 5 of the 7 patches from Ticket #594

Revision: [2404]
Added fix for Ticket #575

Revision: [2403]
"Adding fix for core vendors directory when cake installation is separated into different paths "

Revision: [2402]
Added fix for Ticket #588

Revision: [2397]
Adding fix for Ticket #580

Revision: [2387]
Adding fix for Ticket #558

Revision: [2386]
Adding fix for Ticket #562

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2407 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-03-26 09:59:40 +00:00
phpnut
9c5e3bb979 Merging fixes and enhancements into trunk.
Revision: [2168]
Added patch from Ticket #458

Revision: [2167]
Merging changes made to model_php5.php

Revision: [2166]
Added methods to allow what is discussed in Ticket #452

Revision: [2165]
Added fix for Ticket #453

Revision: [2164]
Added DBO column abstraction and column-based data formatting/escaping

Revision: [2163]
Added patch from Ticket #457.
Added fix for Ticket #456.

Revision: [2162]
"Added fix suggested in Ticket #454"

Revision: [2161]
"Diff added + symbol, removed it"

Revision: [2160]
"Added all fixes for Ticket #448"

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2169 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-03-01 19:13:48 +00:00
phpnut
2cb80a132f Merging fixes and enhancements into trunk.
Revision: [2158]
Changing vendors() to user require_once().

Revision: [2157]
Fixed missing directory separator.

Revision: [2156]
Added a few more fixes for Ticket #447

Revision: [2155]
Reverting changes in [2153]
Adding fix for Ticket #447

Revision: [2154]
Adding patch from Ticket #448


git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2159 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-02-28 19:45:28 +00:00
phpnut
f37dfb6302 Merging fixes and enhancements into trunk.
Revision: [2133]
Fixing sub package doc tag

Revision: [2132]
Added fixes when ini_set() is disabled.                   
Problem reported here:
    http://groups.google.com/group/cake-php/browse_thread/thread/f8e537b165da733e/06888a4112345f59

Revision: [2131]
"Correcting subpackage doc block tags "

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2134 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-02-25 19:20:18 +00:00
phpnut
8eeff93637 Merging fixes and enhancements into trunk.
Revision: [2112]
Fixing path to tmp/logs

Revision: [2106]
Fixing $disableStartup

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2113 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-02-23 21:50:08 +00:00
phpnut
d2bd117486 Merging fixes and enhancements into trunk.
Revision: [2098]
Removed check for database class to load model classes from the models directory.
Fixed missing views not being found.

Revision: [2097]
Fixed the WWW_ROOT setting

Revision: [2096]
Changed the way Sessions component is added to the components array

Revision: [2095]
Moved the WWW_ROOT define.

Revision: [2094]
Components/Helpers etc. in AppController are now automatically added to all controllers

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2099 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-02-23 08:24:23 +00:00
phpnut
e16bb286e0 Merging fixes and enhancements into trunk.
Revision: [2092]
Added fix for = not being added the conditions.
Corrected paths for test suite.
  Test are now located in app/test/

Revision: [2090]
Added fix to DboSource::conditions() that will check for the escaped single quotes.
Before this fix any matching single quote pair could cause failure

Revision: [2089]
Fixed duplicate WHERE being added to the sql string

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2093 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-02-22 18:35:41 +00:00
phpnut
a75e08976f Merging fixes and enhancements into trunk
Revision: [2025]
A little more work on plugin to set some default routing.

Revision: [2024]
Changed DboSource::field() so the name() is not called for some field variables.

Revision: [2023]
Changes made in [2022] should only check if the $conditions is not empty.

Revision: [2022]
Changed DboSource::conditions() so it will add the "ticks" needed around the Model.field names.
The Model.field name conventions must be used for this to work.

Revision: [2021]
Adding fix for Ticket #405

Revision: [2020]
Added fix for Ticket #403

Revision: [2019]
Added patch from Ticket #404.
Fixing formatting of files.

Revision: [2018]
Fixing formatting of files 

Revision: [2017]
Fixed bad search and replace

Revision: [2016]
Fixing formatting of files 

Revision: [2015]
Replaced all 3 space indents with 4 space indents

Revision: [2014]
Updating variables to use the naming proper conventions

Revision: [2013]
Added patch from Ticket #406

Revision: [2012]
Adding fix for Ticket #407.
Fix variables that where not formatted per the coding conventions

Revision: [2011]
Adding patch from Ticket #401

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2026 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-02-18 23:42:21 +00:00
phpnut
9a8d5c15fe Merging fixes and enhancements into trunk
Revision: [2009]
Adding fixes for session errors posted in the google group.
Changed the header for PHP version in the model classes.
Change uses() back to require_once 

Revision: [2008]
Adding reference back to the PHP 4 model

Revision: [2007]
Merging changes from model_php5

Revision: [2006]
Fixing recursive associations, adding whitelist to Model::save

Revision: [2005]
Added fix for error in CakeSession class.
Updated home.thtml

Revision: [2004]
Rearranged  some of the defines moving the most often changed ones to the top of the script

Revision: [2003]
Moved SQL files distributed with the core to app/config/sql/
Removed app/config/routes.php.default
Fixed class_exists check in TextHelper

Revision: [2002]
adding sql directory

Revision: [2001]
Fixed error when cake distribution is installed inside of the DOCUMENT ROOT 

Revision: [2000]
Adding checks for classes that are already loaded so the require() calls will not error

Revision: [1999]
Replacing all require_once() with require()

Revision: [1998]
Moved creation of the Dispatcher object to app/webroot/index.php

Revision: [1997]
Adding session sql file

Revision: [1996]
Revision: [1995]
Fixing session db queries

Revision: [1994]
Change the require_once in bootstrap to require.
Merged changes John made to the CakeSession database methods

Revision: [1993]
Removing some constants that are not needed

Revision: [1992]
Adding fix for Ticket #400

Revision: [1991]
Fixing Ticket #348

Revision: [1990]
Fixing Tickets #397 and #399

Revision: [1989]
Fixed callbacks in JavaScript events and Ajax, fixed Controller::beforeRender so you can set view variables, and fixed Ticket #394

Revision: [1988]
Renamed the $dir param to $direction.
Added default value to the DboSource::order() $direction param.

Revision: [1987]
Adding changes back to the sessions class I reverted in [1984]

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2010 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-02-17 10:12:15 +00:00
phpnut
818806195f Merging fixes and enhancements into trunk
Revision: [1985]
Changed DboSource?::order() to allow passing an array in the order param

Revision: [1984]
Reverting changes from [1983]

Revision: [1983]
Merging change from [1966] and [1967]

Revision: [1982]
Adding fix for DboSource::order().
This allows setting the order in the find methods.

Revision: [1981]
cleaned up code

Revision: [1980]
Corrected the array keys in the regex I added

Revision: [1979]
Added check to DboMysql::value() that does not add quotes around a numerical value.
Refactored DboSource::conditions() adding better regex. 

Revision: [1978]
Added check for LIKE in a condition array this fixes the = being added.

Revision: [1977]
Added fix for Ticket #392

Revision: [1976]
Adding changes suggested in Ticket #381.
These have not been fully tested.

Revision: [1975]
Added fix for Ticket #391

Revision: [1974]
Added patch from Ticket #390

Revision: [1973]
Adding patch from Ticket #386

Revision: [1972]
Added patch from Ticket #385.
Changed wording of a comment.

Revision: [1971]
Added patch from Ticket #383

Revision: [1970]
Adding fix for Ticket #395

Revision: [1969]
Adding more detailed comment to path defines

Revision: [1968]
Making a few more changes to the path settings

Revision: [1965]
fixing path issue with loading PagesController

Revision: [1964]
Added model method for getting column types by field

Revision: [1963]
Corrected paths to the tmp directory.
Making a few more changes to the defines in index.php

Revision: [1962]
Moving tmp directory to app

Revision: [1961]
Starting separation of core from the application.

Revision: [1960]
Adding vendors directory to app directory

Revision: [1959]
Finished support for recursive associations.  Still needs some testing...

Revision: [1958]
Adding fix for Ticket #387, and automagic id's for form inputs

Revision: [1957]

Revision: [1956]
Adding fix for error reported in Google Group: http://groups.google.com/group/cake-php/browse_thread/thread/395593a3cea34174

Revision: [1955]
Adding fix for Controller::referer()

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1986 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-02-16 09:29:28 +00:00
phpnut
73830ec0dc Merging fixes and enhancements into trunk
Revision: [1841]
Merging changes made in model_php5.php to model_php4.php

Revision: [1840]
Adding fix for PHP 5 when using mysql_connect setting.
Commented out the call to Dbo*::disconnect(). This was closing connections early.
Adding fixe for Ticket #302.
Adding Enhancement for Ticket #300.
Adding fix for Ticket #299
Adding Enhancement for Ticket #298
Adding fix for Ticket #297
Adding Enhancement/Patch from Ticket #296

Revision: [1838]
working on deeper recursive joins

Revision: [1837]
Updating copyright information in all files

Revision: [1836]
Adding fix when setting a field value to 0.
Before it would set this to NULL, which was not expected result.  


git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1842 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-01-20 07:46:14 +00:00
phpnut
677a39a445 Merging changes to trunk:
Revision: [1761]
Removing old db_acl.sql

Revision: [1759]
Removed unneeded calls to uses().
Changed basics.php listClasses() no longer using folder class.
Starting corrections in  DboPostgres class.
Adding missing DboPostgres::query().
Added missing doc blocks to AjaxHelper.
Fixed undefined keys in FormHelper::generateFields()
Reformatted FormHelper::generateFields() adding open and close brackets where needed

Revision: [1758]
Fixed typo

Revision: [1757]
Fixed errors found when using PHP 4.
Fixed a scaffold error

Revision: [1756]
Merging changes to model_php4.php

Revision: [1755]
Fixed scaffolding for the changes made to the model.
Fixed Model::isForeignKey(), replaced array_key_exists with in_array, other function was failing

Revision: [1754]
Committing changes from bundt model to beta.
DataSources will not be in the beta release

Revision: [1751]
Cleaning up a little more in the code.
Removing loading of log.php unless it is really needed.
Refactored dispatcher to speed up the stripslashes code if it is called

Revision: [1748]
removing all references to error_messages and deleting the file

Revision: [1747]
updated more error messages

Revision: [1746]
removing all error message defines

Revision: [1745]
added _() method from 1.0 to basics.php only used to return string right now

Revision: [1744]
Adding fix for ticket #220

Revision: [1743]
More work on ErrorHandler class

Revision: [1742]
Renaming error view for missing database connection

Revision: [1741]
More work on ErrorHandler class

Revision: [1740]
More work on error class

Revision: [1739]
Replacing all $_SERVER variable check with env() in basics.php

Revision: [1738]
Adding env() to basic

Revision: [1737]
Updated session to use env()

Revision: [1736]
Removing ternary operators from Dispatcher

Revision: [1735]
Per nates request I am rolling back ACL to [1373]

Revision: [1734]
Removed the IP in the session class this was not very reliable.
Added a time setting that generates current time adding the Security::inactiveMins() to the session
Removed code that was added to basics.php to replace gethostbyaddr().
Added CAKE_SESSION_STRING define to core.php which is used in the by the Session class to generate a hashed key.

Revision: [1733]
Moving errors messages to ErrorHandler class.
Updating errors view for use with new class.
Updating Scaffold to use new class.
Updated Dispatcher to use new class.
Removing methods from Object class

Revision: [1732]
Adding ErrorHandler class

Revision: [1731]
Adding fix for Ticket #223


git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1762 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-01-12 02:10:47 +00:00
phpnut
134744b5d6 Merging:
[1613]
Fixing Bake (Ticket #5)

[1612]
Adding new file header

[1611]
Starting to fix Bake (Ticket #5)

[1610]
Adding patch for Ticket #63

[1609]
Fixing ticket #13

[1608]
Fix so only sub classes that have a __destruct() implemented will have it registered

[1607]
Fixing ticket #130

[1606]
Fix for Ticket #190

[1605]
Fixing ticket #136

[1604]
Fixed would throw error if a action was camelCased in the url or in requestAction()

[1603]
fixed a few typos in home view

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1614 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-12-24 07:56:48 +00:00
phpnut
2cc0ec8e97 Clean up files and directories that are not used in this version of Cake
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1595 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-12-23 22:01:38 +00:00
phpnut
c7d02c8068 Merging changes to the trunk.
Updated headers.
beginning to clean up files that are not used in this version of Cake

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1593 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-12-23 21:57:26 +00:00
phpnut
67d156ef2b [1285]
Author: phpnut
Date: 10:09:03 PM, Monday, October 31, 2005
Message:
Removed references in the Session class

[1283]
Author: phpnut
Date: 8:47:37 PM, Monday, October 31, 2005
Message:
Added fix to the Controller::constructClassess().
The database should have an instance available if a component will use it.

[1282]
Author: phpnut
Date: 8:36:07 PM, Monday, October 31, 2005
Message:
Updated the Model association methods to correct and error I introduced when reactoring last week.
Added a return from each of the settings in Security::inactiveMins(); This class is not fully implemented.
Updated scaffold and dipatcher with changes to the session class.
Fixed problem with session not working properly.
Added a regenrate id for sessions.
When CAKE_SECURITY is set to high this will regenrate a new session key on each request.
The old session file will be removed from the file system. This is a added security measure.

[1270]
Author: phpnut
Date: 1:55:28 PM, Sunday, October 30, 2005
Message:
Updated Session class to regenrate a new session key on each request when security level set to high.
Updated doc comments in some classes

[1269]
Author: phpnut
Date: 9:49:43 AM, Sunday, October 30, 2005
Message:
Added a fix for Ticket #105

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1286 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-11-01 04:20:28 +00:00