Revision: [4985]
* Adding fix to allow multiple forms when using SecurityComponent
Revision: [4984]
* Fixing undefined notice after removing RequestHandler::disableStartup = false; in [4981]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4986 3807eeeb-6ff5-0310-8944-8be069107fe0
NOTICE ALL DEPRECATED METHODS ARE REMOVED FROM THE CORE AS OF THIS REVISION!
Revision: [4981]
* Removing deprecated code and files
/basics.php
* normalizeList() Deprecated: see Set::normalize
* countdim() see Set::countDim
libs/controller/components/request_handler.php
* RequestHandler::disableStartup = false; see RequestHandler::$enabled
* RequestHandlerComponent::setView() see RequestHandlerComponent::renderAs()
* RequestHandlerComponent::setAjax() see RequestHandlerComponent::renderAs()
libs/controller/components/session.php
* SessionComponent::flash() use $session->flash('key'); in your views
libs/controller/controller.php
* Controller::_setTitle() see Controller::set()
libs/model/datasources/dbo_source.php
* DboSource::fetchArray() see DboSource::fetchRow()
* DboSource::one() see DboSource::fetchRow()
libs/model/db_acl.php
* DB_ACL::getAco() see AclComponent::$Aco::node()
* DB_ACL::getAro() see AclComponent::$Aro::node()
libs/neat_array.php
* Class is not longer available use libs/set.php Set class
libs/sanitize.php
* Sanitize::sql() see Sanitize::escape()
* Sanitize::cleanArray() see Sanitize::clean()
* Sanitize::cleanArrayR() see Sanitize::clean()
* Sanitize::cleanValue() see Sanitize::clean()
libs/view/helper.php
* Helper::parseHtmlOptions() see HtmlHelper::_parseAttributes()
libs/view/helpers/form.php
* define('TAG_DIV', '<div class="%s">%s</div>');
* define('TAG_P_CLASS', '<p class="%s">%s</p>');
* define('TAG_LABEL', '<label for="%s">%s</label>');
* define('TAG_FIELDSET', '<fieldset><legend>%s</legend>%s</label>');
* FormHelper::labelTag() see FormHelper::label()
* FormHelper::divTag() see HtmlHelper::div()
* FormHelper::pTag() see HtmlHelper::para
* FormHelper::generateInputDiv() see FormHelper::input()
* FormHelper::generateCheckboxDiv() see FormHelper::input()
* FormHelper::generateDate() see FormHelper::input()
* FormHelper::generateTime() see FormHelper::input()
* FormHelper::generateDateTime() see FormHelper::input()
* FormHelper::generateAreaDiv() see FormHelper::input()
* FormHelper::generateSelectDiv() see FormHelper::input()
* FormHelper::generateSubmitDiv() see FormHelper::input()
* FormHelper::generateFields() see FormHelper::input()
libs/view/helpers/html.php
* HtmlHelper::file() see FormHelper::file()
* HtmlHelper::submit() see FormHelper::submit()
* HtmlHelper::selectTag() see FormHelper::select()
* HtmlHelper::formTag() see FormHelper::create()
* HtmlHelper::linkEmail() see HtmlHelper::link()
* HtmlHelper::dayOptionTag() see FormHelper::day()
* HtmlHelper::yearOptionTag() see FormHelper::year()
* HtmlHelper::monthOptionTag() see FormHelper::month()
* HtmlHelper::hourOptionTag() see FormHelper::hour()
* HtmlHelper::minuteOptionTag() see FormHelper::minute()
* HtmlHelper::meridianOptionTag() see FormHelper::meridian()
* HtmlHelper::dateTimeOptionTag() see FormHelper::dateTime()
libs/view/helpers/javascript.php
* JavascriptHelper::linkOut() see JavascriptHelper::link()
libs/view/view.php
* View::setLayout() use $this->layout in your view
Revision: [4980]
Adding option to send extra parameters to a custom validation and more tests for validation
Revision: [4978]
* Adding ability to disable specific form data fields from being added to the validation key.
* Example of using this would be javascript that changes hidden fields, adding additional fields added using javascript, etc.
* This is set in a Controller::beforeFilter().
Example usage:
{{{
$this->Security->disabledFields = array('fieldname', 'additional fields');
$this->Security->disabledFields = array('Model.fieldname', 'OtherModel.fieldname');
}}}
Revision: [4977]
* Setting replyTo and return headers only when defined
Revision: [4976]
* Adding fix for forms that pass an empty value for a hidden field
Revision: [4973]
* Changing where the from token holding the fields from the form is created
Revision: [4972]
* Refactoring SecurityComponent
Revision: [4971]
* Fixing typo
Revision: [4970]
* Adding additional tests for validation.
* Added fix to model to pass the new tests
Revision: [4969]
* Adding hidden field values to hash. This will prevent altering of hidden fields in a form when using the FormHelper and adding the var $components = array('Security'); to a controller or the AppController to use by all child controllers
Revision: [4968]
* Adding form security enhancements.
* Forcing checking of Session form token if security component is used.
* Enhancement will not allow a form to be submitted if the fields in the form created with the FormHelper do not match the fields in the submitted form.
Revision: [4967]
* Adding fix for failing model validation tests
Revision: [4966]
* Restoring commented tests
Revision: [4965]
* Adding test to evaluate emptiness in validation
Revision: [4964]
* Correcting subpackage tag
Revision: [4963]
* Removing acl related directories from components tests
Revision: [4962]
* moving tests
Revision: [4961]
* Fixing paths to correctly load acl models.
* Updating test for acl
Revision: [4960]
* Moving all acl related models to model/db_acl.php.
* Removing components/models directories
* Changing the ACL_FILENAME setting in core.php
Revision: [4959]
* Moving AclBase class to the acl.php file.
* Removing components/iniacl directory.
* Removing acl_base.php file.
Revision: [4958]
* Restructuring locations of acl related classes
Revision: [4957]
* Adding fix for #2510, Use shorter names for attached files in EmailComponent
Revision: [4956]
* Adding fix for #2505
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4983 3807eeeb-6ff5-0310-8944-8be069107fe0
/basics.php
* normalizeList() Deprecated: see Set::normalize
* countdim() see Set::countDim
libs/controller/components/request_handler.php
* RequestHandler::disableStartup = false; see RequestHandler::$enabled
* RequestHandlerComponent::setView() see RequestHandlerComponent::renderAs()
* RequestHandlerComponent::setAjax() see RequestHandlerComponent::renderAs()
libs/controller/components/session.php
* SessionComponent::flash() use $session->flash('key'); in your views
libs/controller/controller.php
* Controller::_setTitle() see Controller::set()
libs/model/datasources/dbo_source.php
* DboSource::fetchArray() see DboSource::fetchRow()
* DboSource::one() see DboSource::fetchRow()
libs/model/db_acl.php
* DB_ACL::getAco() see AclComponent::$Aco::node()
* DB_ACL::getAro() see AclComponent::$Aro::node()
libs/neat_array.php
* Class is not longer available use libs/set.php Set class
libs/sanitize.php
* Sanitize::sql() see Sanitize::escape()
* Sanitize::cleanArray() see Sanitize::clean()
* Sanitize::cleanArrayR() see Sanitize::clean()
* Sanitize::cleanValue() see Sanitize::clean()
libs/view/helper.php
* Helper::parseHtmlOptions() see HtmlHelper::_parseAttributes()
libs/view/helpers/form.php
* define('TAG_DIV', '<div class="%s">%s</div>');
* define('TAG_P_CLASS', '<p class="%s">%s</p>');
* define('TAG_LABEL', '<label for="%s">%s</label>');
* define('TAG_FIELDSET', '<fieldset><legend>%s</legend>%s</label>');
* FormHelper::labelTag() see FormHelper::label()
* FormHelper::divTag() see HtmlHelper::div()
* FormHelper::pTag() see HtmlHelper::para
* FormHelper::generateInputDiv() see FormHelper::input()
* FormHelper::generateCheckboxDiv() see FormHelper::input()
* FormHelper::generateDate() see FormHelper::input()
* FormHelper::generateTime() see FormHelper::input()
* FormHelper::generateDateTime() see FormHelper::input()
* FormHelper::generateAreaDiv() see FormHelper::input()
* FormHelper::generateSelectDiv() see FormHelper::input()
* FormHelper::generateSubmitDiv() see FormHelper::input()
* FormHelper::generateFields() see FormHelper::input()
libs/view/helpers/html.php
* HtmlHelper::file() see FormHelper::file()
* HtmlHelper::submit() see FormHelper::submit()
* HtmlHelper::selectTag() see FormHelper::select()
* HtmlHelper::formTag() see FormHelper::create()
* HtmlHelper::linkEmail() see HtmlHelper::link()
* HtmlHelper::dayOptionTag() see FormHelper::day()
* HtmlHelper::yearOptionTag() see FormHelper::year()
* HtmlHelper::monthOptionTag() see FormHelper::month()
* HtmlHelper::hourOptionTag() see FormHelper::hour()
* HtmlHelper::minuteOptionTag() see FormHelper::minute()
* HtmlHelper::meridianOptionTag() see FormHelper::meridian()
* HtmlHelper::dateTimeOptionTag() see FormHelper::dateTime()
libs/view/helpers/javascript.php
* JavascriptHelper::linkOut() see JavascriptHelper::link()
libs/view/view.php
* View::setLayout() use $this->layout in your view
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4981 3807eeeb-6ff5-0310-8944-8be069107fe0
Example of using this would be javascript that changes hidden fields, adding additional fields added using javascript, etc.
This is set in a Controller::beforeFilter().
Example usage:
{{{
$this->Security->disabledFields = array('fieldname', 'additional fields');
$this->Security->disabledFields = array('Model.fieldname', 'OtherModel.fieldname');
}}}
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4978 3807eeeb-6ff5-0310-8944-8be069107fe0
Forcing checking of Session form token if security component is used.
Enhancement will not allow a form to be submitted if the fields in the form created with the FormHelper do not match the fields in the submitted form.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4968 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [4952]
Added variation for a field parsing test
Revision: [4951]
Adding test for field parsing
Revision: [4950]
Adding tests for #2506
Revision: [4949]
Fixing overriding of default messages
Revision: [4948]
Adding overriding error messages when multiple rules
Revision: [4947]
Adding Xcache support http://trac.lighttpd.net/xcache/
Revision: [4946]
Adding fix for failing ajax tests
Revision: [4945]
Adding fix when mysql_connect is set as a connection in the database config and persistent key is not set in the config, the default for persistent is true and this would override the settings in the database config
Revision: [4944]
Adding a check to prevent if $test is not defined in DATABASE_CONFIG
Revision: [4943]
Fixed tests for PHP4
Revision: [4942]
Fixing assigned by reference on php 4
Revision: [4941]
Fixing assigned by reference on php 4, removing reference in Cache::engine()
Revision: [4940]
Making changes to cache classes and rearranging code to use new cache
Revision: [4939]
Adding return false when Memcache is set as the cache engine and the memcache extension is not installed.
Revision: [4938]
Changing settings used for new caching in core.php
Revision: [4937]
Renaming files _engine was redundant
Revision: [4936]
Refactoring new cache classes
Revision: [4935]
Fixing Model::invalidFields to account for '0' in empty checks
Revision: [4934]
Changing 'allowEmpty' for model validation, adding 'required' and enabling multiple rules per field
Revision: [4933]
Adding initial implementation of extended caching capabilities
Revision: [4932]
Adding fix for Controller::modelClass; name when var $uses; is not the same as the Controllers singular name.
This is now set to the first value of the key $uses[0] if multiple models are added to var $uses;
Revision: [4931]
Adding fix for #2505, fixes Recursive delete in self joined models
Revision: [4929]
Fixing bug with first level validation not showing
Revision: [4928]
fixing theme view layout and element paths #2388
Revision: [4927]
Adding fix for #2452 (patch from #2476).
Added tests for ticket #2452
Revision: [4926]
Added fix for #2453, fixes HtmlHelper link escape title as string
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4955 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [4923]
Fixing last commit [4922]
Revision: [4922]
Removing fields() method from DboDbo2 (Ticket #2444)
Revision: [4921]
Adding fix for #2478 corrects issue on php 4
Revision: [4919]
Adding fix for #2435. Fixes issues with custom inflection rules not being used before the default rules
Revision: [4916]
Adding fix for #2416 fixes Invalid query when using boolean conditions in PostgreSQL
Revision: [4915]
Added fix for #2450
Revision: [4914]
Adding fix for #2500 fixes adding of table.id when not using associated models and only wanting specific fields returned
Revision: [4913]
Adding fixes for test added in [4911] and [4912]
Fixed#2414 fixes findBy doesn't escape WHERE condition
Revision: [4912]
Adding more tests for #2414
Revision: [4911]
Adding tests for #2414
Revision: [4910]
Adding fix for #2419 fixes issue with long lines in email messages breaking links
Revision: [4909]
Adding fix for #2466 fixes missed Router::__mapped reinit in Router::url()
Revision: [4908]
Adding fix for #2428 fixes View::renderElement() behavior with multiple view paths
Revision: [4907]
Adding empty files to all tmp/* directories
Revision: [4906]
Fixing label tests
Revision: [4905]
Adding additional fix for #2481
Revision: [4904]
Adding fix for #2481 fixes Form::label() $tagName does not run through domId()
Revision: [4903]
Adding enhancement from #2483.adds scaffold index view field's label
Revision: [4902]
Adding tests trying to replicate #2451 and more variations of fake threaded self join
Revision: [4901]
Adding fix for #2491 fixes bad scaffold templates paths
Revision: [4900]
Adding fix for #2488 fixes Set::extract failed on assoc array if key starts with numeric
Revision: [4899]
Adding more tests for Set::extract()
Revision: [4898]
Fixing test for #2488
Revision: [4897]
Adding test for #2488
Revision: [4896]
Adding enhancement from #2502 replacing app with APP_DIR
Revision: [4895]
Adding fix for #2371, fixes HtmlHelper submit() method doesn't allow HTML entities in caption
Revision: [4894]
Applying fix from ticket #2485, adding test for it
Revision: [4893]
Applying patch from ticket #2496, adding test for it
Revision: [4892]
Adding test for #2494
Revision: [4891]
Adding tests for #2371
Revision: [4890]
Removing $fieldset = null; in FormHelper::inputs()
Revision: [4889]
Adding fix for #2473
Fixed undefined variable notice in Form::inputs()
Revision: [4888]
Fixing tests so they expect validation errors of all available models to be defined in Form helper
Revision: [4887]
Adding fixes from phishy.
Added fixed for #2492
Revision: [4885]
Fixing conflict of class names between tests
Revision: [4884]
Removing unneeded lines
Revision: [4883]
Adding test for inner model validation, including a two level test that fails
Revision: [4882]
Updating db_acl.sql in templates folder
Revision: [4881]
Adding patch and test for ticket #2369
Revision: [4880]
Adding initial implementation of I18n database translation support
Revision: [4879]
Fixing error when using AuthComponent and DEBUG < 1
Revision: [4878]
Case-insensitive matching when using array of phrases in TextHelper::highlight
Revision: [4877]
Fixing display of core error messages
Revision: [4876]
Changed name from requestAction() to testAction()
Revision: [4875]
Fixing small issues
Revision: [4874]
Added ability to auto-fixturize models when testing controllers
Revision: [4873]
Using reference to controller
Revision: [4872]
Added option to get the view vars after running action
Revision: [4870]
Fixed issue in CakeTestCase::requestAction() when wanting to get resulting HTML
Revision: [4869]
Adding URL fragment (hash) support in Router::url() (Ticket #2432)
Revision: [4868]
Adding undefined variable fix for PaginatorHelper::sortDir() (Ticket #2440)
Revision: [4867]
Moving Router::__filter() to Set::filter()
Revision: [4866]
Removing invalid character
Revision: [4865]
Adding fix for <> condition in DboSource (Ticket #2101)
Revision: [4864]
Removing indents from comments
Revision: [4863]
Added new callbacks and ability to execute CakePHP URLs from CakeTestCase
Revision: [4862]
working on form helper, added a submit button to form end if you pass true, added fieldset options to inputs
Revision: [4861]
Adding fix for misquoted SQL functions (Ticket #2199)
Revision: [4860]
Correcting svn properties on files
Revision: [4859]
Adding field map to convert aliased column names in MSSQL queries
Revision: [4858]
Adding auto-detection check for IIS (manually defining SERVER_IIS is no longer required), and fixing setUri for rewritten IIS URLs.
Revision: [4857]
Fixing problem with highlighting multiple phrases (ticket #2418)
Revision: [4856]
Applying patch from ticket #2417
Revision: [4855]
Removed unneeded variable
Revision: [4854]
Added ability to import table definition and/or records from either an existing Model, or an existing table
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4925 3807eeeb-6ff5-0310-8944-8be069107fe0
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