Ticket #2805, fixes Blacklisting fields in FormHelper::inputs doesn't work like intended
Ticket #2806, adds FormHelper::inputs can work recursively on $fields
Merged changes from [5326]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5327 3807eeeb-6ff5-0310-8944-8be069107fe0
Correcting errors when using bake shell to create views.
Corrected errors when interactively creating controllers and views
Corrected issue in ProjectTask::cakeAdmin() with admin route not writing the admin define in core.php
Moved ControllerTask::getAdmin() to Shell::getAdmin()
Removed define setting CAKE_ADMIN to null which would cause issues with admin methods and views
Corrected missing ?>
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5322 3807eeeb-6ff5-0310-8944-8be069107fe0
Ticket #1303, fixes On HABTM save() the associated field 'id' must be first in $this->params
Ticket #1819, fixes save() for HABTM to allow array keys in any order.
Ticket #2762, fixes Model::save() for HABTM not saving if no data from the parent Model is present
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5320 3807eeeb-6ff5-0310-8944-8be069107fe0
Router::url() replaced $_this with $this which is an instance of the class from which the method is called, in the case of this ticket it was an instance of the HtmlHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5319 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [5316]
* Adding correct fix for Ticket #2775
Revision: [5315]
* Correcting code structure to standards
Revision: [5314]
* Correcting class method names
Revision: [5313]
* Correcting code structure to standards
Revision: [5312]
* Adding fix for Ticket #2786, fixes form dateTime helper does not set year to current
Revision: [5311]
* Adding fix for Ticket #2792, fixes AuthComponent: Blank password at user login generates SQL error
Revision: [5310]
* Adding fix for Ticket #2795, fixes hidden field for checkbox.
* Updated FormHelperTest::testCheckboxField() to reflect the correct return value
Revision: [5309]
* Adding fix for Ticket #2799, default error message should be i18n
Revision: [5308]
* Adding fix for Ticket #2737, changed TRUNCATE to TRUNCATE TABLE
Revision: [5307]
* Adding patch from Ticket #2642, fixes TranslateBehavior doesn't work with Model::saveField()
Revision: [5306]
* Adding fix for Ticket #2773, fixes Security Component requireAuth
Revision: [5305]
* Adding fix for Ticket #2798, fixes Hidden field causes undefined Index warning in Security Component
Revision: [5304]
* Adding ability to read cookies in the Controller::beforeFilter()
Revision: [5303]
* Adding fix for Ticket #2635, fixes Association data not correct if data is changed in afterFind()
Revision: [5302]
* Adding fix for Ticket #2736, fixes Core testing broken when libraries are relocated
Revision: [5301]
* Adding basic description to Acl shell class
Revision: [5300]
* Adding documentation for Acl shell and internationalizing messages
Revision: [5299]
* Adding documentation for ErrorHandler in Cake console and internationalizing error messages
Revision: [5298]
* Adding documentation for Cake console dispatcher
Revision: [5297]
* Adding documentation for Dispatcher
Revision: [5296]
* Adding documentation for CakePHP basic functions
Revision: [5295]
* Fixing translations function typo
Revision: [5294]
* Adding loadPluginModels back to dispatcher until I fix issue with loading associated plugin models.
* Corrected form.ctp template parse error
Revision: [5293]
* Replacing "&&" by "AND" (ticket #2784)
Revision: [5292]
* Fixing forced empty element selection in FormHelper::select() (Ticket #2749)
Revision: [5291]
* Fixing double merging of URL parameters in PaginatorHelper::sort() (Ticket #2692)
Revision: [5290]
* Fixing typo (ticket #2779)
Revision: [5289]
* Adding fix for Ticket #2775, fixes $this->here shows incorrect value for admin route
Revision: [5288]
* Adding fix for Ticket #2714, fixes requestAction not working properly
Revision: [5287]
* Rolling back DboSource changes from 1.2 to 1.1
Revision: [5286]
* Adding fix for Ticket #2738, fixes Nesting level too deep error when writing object in CakeSession in php 5.2+
Revision: [5285]
* Refactoring DboSource::__quoteFields() and improving support for mixed string and array conditions
Revision: [5284]
* Adding fix for #2651, fixes query creation problem in DboAdodb
Revision: [5283]
* Adding patch from #2652 fixes SQLite LIMIT statement broken
Revision: [5281]
* fix bake index template
Revision: [5280]
* updating bake templates for i18n, fixes for scaffold templates
Revision: [5279]
* fix for scaffold without CAKE_ADMIN
Revision: [5278]
* Applying patch from ticket #2763, adding test for it
Revision: [5277]
* Refactored Scaffold: deprecated generateFieldNames, aligned scaffold and bake view templates, set var $scaffold = CAKE_ADMIN; will scaffold only the admin actions
Revision: [5276]
* Adding test to disprove ticket #2763
Revision: [5275]
* Removing localization code from core-not-found error
Revision: [5274]
* Fixing substring quoting in DboSource::__quoteFields()
Revision: [5273]
* updating Acl, should fix#2733
Revision: [5272]
* changing Model::create to use Set::filter
Revision: [5271]
* updating acl shell
Revision: [5270]
* updating headers
Revision: [5269]
* Fixing path in help text
Revision: [5268]
* updating bake cake admin define
Revision: [5267]
* Adding query conditions parenthesis fix for Ticket #2663
Revision: [5266]
* updating bake view templates
Revision: [5265]
* update to formhelper habtm fields
Revision: [5264]
* updating help for bake
Revision: [5263]
* refactoring task loading
Revision: [5262]
* Adding fix for #2723, this fixes Saving an array in an encrypted cookie, with the CookieComponent, prevents you from deleting it later.
* Adding fix for #2667 move the CookieComponent::startup() implementation to CookieComponent::initialize().
* Deprecated the use of the Controller properties to set the CookieComponent properties
Revision: [5261]
* Updating doc strings with clarified instructions.
Revision: [5259]
* udpated view to work with form helper
Revision: [5258]
* fixing form helper for tickets #2726 and #2659, updated tests.
Revision: [5257]
* Adding fix for #2640, fixes nested array issues with Router::stripEscape()
Revision: [5256]
* Initializing tasks before execution (ticket #2725)
Revision: [5255]
* Adding documentation for Component
Revision: [5254]
* Adding fix for #2691, fixes error caching xml files
Revision: [5253]
* Adding fix for #2650, fixes alias in DboAdodb::fields()
Revision: [5252]
* Adding fix for #2689, fixes issue when using FormHelper::submitImage with Security Component enabled
Revision: [5251]
* Adding fix for #2648, fixes issue with token not being regenerated
Revision: [5250]
* Adding fix for undefined variable in Controller::cleanUpFields()
Revision: [5249]
* updating view task and view template
Revision: [5248]
* Enabling custom pagination methods in model
Revision: [5247]
* Fixing problem when baking only admin functions
Revision: [5246]
* Fixing typo
Revision: [5245]
* Using $connection param when cleaning arrays (ticket #2712)
Revision: [5244]
* updating view task and view template
Revision: [5243]
* #2672: fixed model task unit test baking
Revision: [5242]
* fixing missing passedArgs member in controller that was not committed in [5228], fixing cleanUpFields to not set a default time or date.
Revision: [5241]
* fixing extra ; in bake form template
Revision: [5240]
* fixing arg shifting in shells for php4
Revision: [5239]
* updating shells with startup callback, so a shell initializes, then loads tasks, then starts up, Tasks are the same. few other minor fixes to bake, api and acl.
Revision: [5238]
* Adding fix for FormHelper::checkbox() not creating the hidden fields.
* Corrected errors when multiple hidden fields used in a form.
* Fixed SecurityComponent::_ _validatePost() that would invalidate a form when checkboxes used.
Revision: [5237]
* updating view task and adding view task templates
Revision: [5236]
* updating dbconfig, project, model, and controller tasks
Revision: [5235]
* updating main shell class and dispatcher
Revision: [5234]
* Adding fixtures for afterFind() test
Revision: [5233]
* Adding test case for Model::findAll() results modified in afterFind (disproves Ticket #2635)
Revision: [5232]
* Fixing bug introduced in [5228].
Revision: [5231]
* Adding changes to Controller::set() to force $camelBacked variables only if second params is null
Revision: [5230]
* Adding change to Controller::set() to force variable to $camelBacked
Revision: [5229]
* Fixing issue with bad key set in Controller::generateFieldNames() causing HABTM not to save
Revision: [5228]
* fixing missing passedArgs member in controller
Revision: [5227]
* adding pass to the default set of router params
Revision: [5226]
* Fixing typo (ticket #2674)
Revision: [5225]
* Added "Model columns" command to get a list of columns and column type for a model
Revision: [5224]
* Correcting date string in tests
Revision: [5223]
* fixing File again adding info property
Revision: [5222]
* Adding fix for #2657, fixes form with Textarea does not save when Security Component is enabled
Revision: [5221]
* fixing File tests and class
Revision: [5220]
* Added in more verbose output of Model->save() functionality
Revision: [5219]
* Added in Model->save() method along with help text explaining how to use it
Revision: [5218]
* Correcting loading of plugin view classes
Revision: [5217]
* updating acl and model cli
Revision: [5216]
* Removed "protected" declaration from a function...PHP 5 only
Revision: [5215]
* Added in dynamic unbinding, verification of existing models, verification of existing associations, added in help text and reorganized code in swich-case block now that I figured out you could put preg_matches in a case statement :)
Revision: [5214]
* fixing typo in cleanUpfields
Revision: [5213]
* Changing Helper::_ _value(); to Helper::value();
* Removed HtmlHelper::value();
* Changed all references to _ _value() to value();
* Started changes needed for loading custom view classes located in a plugin
Revision: [5212]
* updating project task paths
Revision: [5211]
* updating File class and tests
Revision: [5209]
* Finishing vendors function to allow loading of plugin vendors files
Revision: [5208]
* Allowing spaces in session keys (Ticket #2639)
Revision: [5207]
* Implementing lazy loading of plugin models
Revision: [5206]
* fixing typo
Revision: [5205]
* adding check to previous cleanUpFields fix
Revision: [5204]
* updating cleanUpFields in 1.2 and 1.2 for #2632
Revision: [5203]
* updating file class deprecated getters, fixes for tickets #1838 and #2641, adding tests, changing Folder default directory to TMP
Revision: [5202]
* Moving loading of plugins controller to use loadController()
Revision: [5201]
* Adding documentation for Socket, Validation and Xml
Revision: [5200]
* Adding comments to Set
Revision: [5199]
* Fixing docs for Session
Revision: [5198]
* Formatting
Revision: [5197]
* Starting code changes to allow dot notation for loading of all classes
Revision: [5196]
* Refactoring tasks
Revision: [5195]
* Fixing problem with handling "0" in NumberHelper::toReadableSize() (ticket #2654)
Revision: [5194]
* Adding comments for Sanitize and Security
Revision: [5193]
* Adding comments for Router
Revision: [5192]
* Adding missing accessors
Revision: [5191]
* Adding documentation for Overloadable in both PHP versions
Revision: [5190]
* removing whitespace
Revision: [5189]
* fixing bug in paths of shell well accessing php cli through cake.php
Revision: [5188]
* minor enhancements like sorting in api shell
Revision: [5187]
* Added message when no result set is found
Revision: [5186]
* Made changes to properly parse output of find() and findAll()...but I don't like how it's doing it, have to find a more elegant solution later
Revision: [5184]
* moving beforeRender to before loadView
Revision: [5183]
* Added code to handle outputting associations like hasMany properly
Revision: [5182]
* Adding fix for #2637, fixes issue with Router::stripEscape() corrupting boolean values
Revision: [5181]
* updating formHelper for #1035 adding more tests, fixing some tags the would produce spaces
Revision: [5180]
* fixing FormHelper::month to use the comment from ticket #700
Revision: [5179]
* fixing bad tests in socket and some working in error messages
Revision: [5178]
* adding strfrotime to FormHelper::month #700, fix to radios which still need to be moved
Revision: [5177]
* adding and to TextHelper::toList #1934
Revision: [5176]
* updating html helper, deprecated methods moved to bottom
Revision: [5175]
* adding formHelper::checkbox
* adding tests
Revision: [5174]
* typo in number test
Revision: [5173]
* adding number helper format and test for format and currency
Revision: [5172]
* Using $this->hr() instead of $this->out('------------') as per gwoo's request
Revision: [5171]
* updating interactive console for the grumpy guy
Revision: [5170]
* Added missing parameter to dynamic bind call
Revision: [5169]
* updating interactive console for the grumpy guy
Revision: [5168]
* Correcting quoting
Revision: [5167]
* Correcting DboSybase class methods
Revision: [5166]
* Adding enhancement suggestion from #1565 to all Dbo classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5318 3807eeeb-6ff5-0310-8944-8be069107fe0
Adding fix for #2667 move the CookieComponent::startup() implementation to CookieComponent::initialize().
Deprecated the use of the Controller properties to set the CookieComponent properties
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5262 3807eeeb-6ff5-0310-8944-8be069107fe0
Corrected errors when multiple hidden fields used in a form.
Fixed SecurityComponent::_ _validatePost() that would invalidate a form when checkboxes used.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5238 3807eeeb-6ff5-0310-8944-8be069107fe0
Removed HtmlHelper::value();
Changed all references to _ _value() to value();
Started changes needed for loading custom view classes located in a plugin
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5213 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [5163]
* changing param check in Router::stripEscape()
Revision: [5162]
* Added in initial functionality for for returning result sets and providing help information
Revision: [5161]
* Adding API Shell to get method signatures from core CakePHP classes
Revision: [5160]
* Merging changes from [5157] into DboSource.
* Adding better check in Router::stripEscape()
Revision: [5159]
* Adding beforeRender() callback to components
Revision: [5158]
* fixing pre color in css
Revision: [5157]
* cleaning up auth, adding options to sort in paginator, adding preg match for database in dbo source
Revision: [5156]
* Refactoring ACL class locations
Revision: [5155]
* Fixing undefined variable in Shell:error()
Revision: [5154]
* adding Media to inflector tests
Revision: [5153]
* Correcting doc comment
Revision: [5152]
* Adding Firebird support
Revision: [5151]
* Fixing visibility based on attribute name convention
Revision: [5150]
* Adding fix to SecurityComponent::_ _validatePost()
Revision: [5149]
* Adding fix to allow empty multiple select when using the Security component. Prior to this fix a form would be considered invalid if nothing was selected.
Revision: [5148]
* Adding access visibility to comment
Revision: [5147]
* Adding comments to code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5165 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [5145]
* Adding fix for #2614
Revision: [5143]
* Adding fix for #2611, fixes App crashes when using requestAction with Security Component enabled
Revision: [5142]
* Adding patch from #2610, fixes Scaffold plugin produces incorrect form "action"
Revision: [5141]
* Adding fix for #2607
Revision: [5140]
* Adding fix for #2613, fixes afterFind callback not called on models in depth search > 1 (recursive).
* Changed the regex pattern matching in Router::stripEscape()
Revision: [5139]
* Adding fix for #2612, Fixes AuthComponent::identify SQL injection, and also removes ability to pass the -! in the posted data
Revision: [5138]
* Adding comments and internationalizing messages in HttpSocket
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5146 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [5132]
* Adding documentation and internationalizing some messages
Revision: [5131]
* Removing inline comments in test file
Revision: [5130]
* Adding link to Xcache in doc comments
Revision: [5128]
* Adding comments for cache
Revision: [5127]
* small change in folder chmod
Revision: [5126]
* Adding fix for failing DboSource tests
Revision: [5125]
* Adding fix for #2587, _ _backAssociation as real class member
Revision: [5124]
* Adding fix for #2607, fixes Fatal error: Call to a member function on a non-object when using php 4
* Adding fix for #2590, fixes ps_files_cleanup_dir: failed: Permission denied
Revision: [5123]
* Fixing string-based URL generation inside plugins (Ticket #2588)
Revision: [5122]
* Fixing bad merge
Revision: [5121]
* Fixing notice in in the skel home.ctp
Revision: [5120]
* Fixing error notices that are thrown when tmp directory is not writable
Revision: [5119]
* Adding tests to test usage of set() & save() for editing records
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5135 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [5110]
* Adding sequence map to DboPostgres for database tables using non-standard sequences
Revision: [5109]
* Adding tests for 'page' and 'offset' with hasMany bindings
Revision: [5108]
* Adding test that fails when using page + limit and offset + limit on a HABTM binding
Revision: [5107]
* updating scaffold links and views
Revision: [5106]
* updating db config task
Revision: [5105]
* Applying patch from #2575 adds summary attribute to SQL query table in debug mode
Revision: [5104]
* Adding media as an uninflected word
Revision: [5103]
* updating project task
Revision: [5102]
* updating project task
Revision: [5101]
* updating project task
Revision: [5100]
* fix to paths in shell
Revision: [5099]
* updating shell paths and help
Revision: [5098]
* Changing order of XML class defs (Ticket #2572)
Revision: [5097]
* Adding missing returns
Revision: [5096]
* updating acl shell
Revision: [5095]
* adding bake tasks
Revision: [5094]
* updated file class, console classes
Revision: [5093]
* Fixing support for error messages when multiple validation rules are used with numeric indexes
Revision: [5092]
* updated folder class and test
Revision: [5091]
* Adding fix for errors on some linux and windows install when using bash scripts
Revision: [5090]
* Removing unused tasks
Revision: [5089]
* Fixing incorrect index in ACL shell script error message, and clarifying help text
Revision: [5087]
* Adding tests and fixes for #2570, this corrects DboSource::conditions fails to quote mixed array/string conditions
Revision: [5086]
* Correcting doc comments
Revision: [5085]
* Adding schema support to Postgres driver (Ticket #1623)
Revision: [5084]
* refactoring paths
Revision: [5083]
* Fixing output caused when class was loaded in console
Revision: [5082]
* Refactoring translation string extractor class to work with new console
Revision: [5081]
* updating baking of models
Revision: [5080]
* fixing paths in shell
Revision: [5079]
* fixing error in shell taskNames
Revision: [5078]
* Fixing cache setting when installing a fresh version on a Win box
Revision: [5077]
* updating tasks, removing BakeTask base class, Task extends Shell
Revision: [5076]
* updating shell task handling, removing bake2
Revision: [5075]
* updating acl and bake shells
Revision: [5074]
* adding tasks and uses to shells, var $tasks and var $uses. if the task exists in the var it will be executed if the command is the same as the task. uses will load the model.
Revision: [5073]
* removing em from css
Revision: [5072]
* Merging [5070] into DboMysqli and also adding changes to 1.1.x.x versions
Revision: [5071]
* Fixing and adding tests for ticket #2551
Revision: [5070]
* Fixing problem in listSources when using '-' in database name
Revision: [5069]
* Adding admin route matching fix (Ticket #2541)
Revision: [5068]
* updating shell
Revision: [5067]
* updating model constructor in 1.1, 1.2 to use the $table param
Revision: [5065]
* Adding fix for irregular inflections returning word in lowercase
Revision: [5064]
* updating bake setCake
Revision: [5063]
* updating paths for shell, bake
Revision: [5062]
* Fixing ACL script for new model interface (Ticket #2164)
Revision: [5061]
* updating paths for shell
Revision: [5060]
* Adding help() as a default command if main() is not defined in shell script
Revision: [5059]
* updating paths for shell
Revision: [5058]
* updating shells for new conventions, better handling of paths, more help
Revision: [5057]
* Adding directories to skel/vendors
Revision: [5056]
* Renaming file
Revision: [5055]
* Renaming vendors/console to vendors/shells
Revision: [5054]
* not fully complete changes but adding so we can change from Script to Shell
Revision: [5053]
* adding application specific vendors/console/templates
Revision: [5052]
* Adding templates directory to vendors/console to allow overriding templates used by the cli
Revision: [5051]
* Removing unneeded empty files
Revision: [5050]
* Adding application specific directories to vendors
Revision: [5049]
* moving tasks directory
Revision: [5048]
* Adding console directory to vendors.
* Added missing empty files
Revision: [5047]
* Added fix for #2545, fixes VALID_NUMBER does not allow negative values
Revision: [5046]
* Adding fix for #2552, fixes JavascriptHelper::object does not convert boolean values correctly
Revision: [5045]
* Adding fix for #2538, fixes findAll doesn't work with TranslateBehavior when specifying which fields to fetch
Revision: [5044]
* Adding test for #2550.
* Added fix for #2550, fixes incorrect inflection of Alias
Revision: [5043]
* Adding fix for #2534, refactored mysql and mysqli dbo
Revision: [5042]
* Added fox for #1815
Revision: [5041]
* Adding fix for #2547, fixes issue when saving arrays with numeric keys
Revision: [5040]
* Applying patch of ticket #2560
Revision: [5039]
* Removing unused function
Revision: [5038]
* updating scaffolding and css
Revision: [5037]
* Correcting call to __value and using dot notation in button()
Revision: [5036]
* Updating help text on ACL script
Revision: [5035]
* Applying patch from ticket #2540
Revision: [5034]
* Removing bake() function and implementation of help()
Revision: [5033]
* Fixing undefined variable error
Revision: [5032]
* Adding fix for #2530, adds support for Oracle to acl cli
Revision: [5031]
* Fixing paths erros in new bash and CLI scripts.
* Updated missing files and directories in skel.
* Corrected paths for app custom scaffold templates
Revision: [5030]
* Adding empty file to all empty directories
Revision: [5029]
* Copying missing directories to skel/views/layouts
Revision: [5028]
* Copying i18n.sql to skel directory
Revision: [5027]
* Adding sanity checking / warning messages for data returned from Model::loadInfo() (thanks phishy)
Revision: [5026]
* Reverting last commit
Revision: [5025]
* Renaming file to see if executable bit will remain
Revision: [5024]
* Test commit to see if executable bit is removed
Revision: [5022]
* Correcting property settings on file
Revision: [5021]
* Correcting property settings on file
Revision: [5020]
* Correcting line endings on bash script.
* Starting to correct paths to new console directory.
* Replaced SCRIPTS define with CONSOLE_LIBS
Revision: [5019]
* Adding possibility to specify if option values should be escaped, and adding tests for it
Revision: [5018]
* Removing wrong delete call
Revision: [5017]
* Moving dispatch.php to console/cake.php
Revision: [5016]
* updating acl console script
Revision: [5015]
* Restructuring console directory
Revision: [5014]
* Adding new libs directory
Revision: [5013]
* Renaming scripts directory to better explain what it is for
Revision: [5012]
* Removing the _task from file names
Revision: [5011]
* updating scripts and skel homepage
Revision: [5010]
* Adding patch from #2528, fixes validation passing when even when allowEmpty === false
Revision: [5009]
* converted bake script to use console. refactored some other script code
Revision: [5006]
* adding commands to scripts, similar to controller actions, will call main action if it exists, cleaning up some other stuff
Revision: [5005]
* fixing typo in ConsoleScript
Revision: [5004]
* Fixed folder test
Revision: [5003]
* Adding tests for Folder
Revision: [5002]
* fixed missing dispatcher in ErrorHandler, updated AclScript, added initialize method to CakeScript which should be used by subclasses as the constructor.
Revision: [5001]
* Adding empty test cases for File and Folder
Revision: [5000]
* updating createFile in CakeScript, adding mode to Folder construct in File class
Revision: [4999]
* changing reference to createFile in acl.php
Revision: [4998]
* updating console scripts, added script path searching, for /vendors and /app/vendors, class names must be like "AclScript" in /scripts/acl.php, all scripts now extend CakeScript
Revision: [4997]
* Renaming file to cake_script.php
Revision: [4996]
* updating console_script
Revision: [4995]
* Adding fix for #2522, fixes errors when primary key is not auto increment and the primary key is set in the data to be saved.
Revision: [4994]
* Cleaning up line endings
Revision: [4993]
* updating default homepage
Revision: [4992]
* Updating ACL script for new Console classes
Revision: [4991]
* Adding fix for #2512, fixes translation behavior count queries
Revision: [4990]
* Adding newlines to ConsoleScript::hr()
Revision: [4989]
* Adding tests for #2520
Revision: [4988]
* Renaming file extensions of scaffolding templates to ctp
Revision: [4987]
* Fixing problem with submit options in FormHelper::end() (ticket #2516)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5118 3807eeeb-6ff5-0310-8944-8be069107fe0
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
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
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
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
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.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4784 3807eeeb-6ff5-0310-8944-8be069107fe0
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
Corrected test case for InflectorTest:testInflectingPlurals() house, original test used wrong method from Inflector
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4756 3807eeeb-6ff5-0310-8944-8be069107fe0
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.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4752 3807eeeb-6ff5-0310-8944-8be069107fe0
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
Adding fix for $ID: search in I18nExtractor::_ _findVersion(), svn replaced this with the file name.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4709 3807eeeb-6ff5-0310-8944-8be069107fe0
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