Set::reverse() will now reverse the object to an array that was created in Set::map();
Added testMapReverse() to Set tests.
Removed code in Model::set() that was no longer needed
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5373 3807eeeb-6ff5-0310-8944-8be069107fe0
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
Fixed the use of parseHtmlOptions which is deprecated.
Fixed an undefined index on check box when there is no model.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4672 3807eeeb-6ff5-0310-8944-8be069107fe0
Removed persistent connection setting in DboMysqli::connect() since there is no persistent connection function for mysqli
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4656 3807eeeb-6ff5-0310-8944-8be069107fe0
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
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
Adding additional methods to the ClassRegistry to set mappings to class names.
Added ClassRegistry::map() in the model to set mappings where needed
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4449 3807eeeb-6ff5-0310-8944-8be069107fe0
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
When column is tinyint(1) is $limit = LIMIT tinyint(1).
All others are similar result with $limit = LIMIT [column type][#]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4328 3807eeeb-6ff5-0310-8944-8be069107fe0
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.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4274 3807eeeb-6ff5-0310-8944-8be069107fe0
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
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4244 3807eeeb-6ff5-0310-8944-8be069107fe0
turning off the auto resetting of the associations.
By default associations are always reset to the orignal models values"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4222 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [4199]
Fixes for:
Ticket #1394 setFlash with layout fails because of missing params to View
Ticket #1480 Incorrect urls with Plugins
Ticket #1670 HtmlHelper::selectTag: problem when is_array($selected)
Ticket #1685 Router::url can cause incorrect links
Ticket #1774 Route::url() don't find the right route
Ticket #1776 Postgres - after each insert atempting to retrieve last inserted id from seq.
Ticket #1765 Dispatcher, route and plugins
Adding doc comments to EmailComponent
Removed ) in I10n::__l10nCatalog['lv']
Revision: [4196]
"Merging fixes made in 1.2 branch.
Adding fixes for Ticket #1785 hourOptionTag can never be empty
and Ticket #1792 dateTimeOptionTag hour is always set to 12 even if selected is null"
Revision: [4195]
Adding URL fix for Ticket #1679
Revision: [4182]
cli acl.php fixes. #1773 and #1780
Revision: [4169]
Adding 1.1 fix for Ticket #1794
Revision: [4168]
Adding NOT query conditions fix for Ticket #1793
Revision: [4166]
Adding beforeFind() reference fix for 1.1 (#1784)
Revision: [4131]
Adding fix for Ticket #1797, and URL fix for Ticket #1755
Revision: [4130]
fix for #1789
Revision: 4118
Mering changes from [4117] Configure::read()
Revision: [4105]
Adding loadControllers() fix for Ticket #1745
Revision: [4103]
Fixing error messages in File::create (ticket #1770)
Revision: [4100]
Changing Model::del to check for existence of itself before allowing deletes
Revision: [4095]
Checking if model exists when setting 'created' field, to enable use with custom IDs
Revision: [4093]
Adding fix for Ticket #1746
Revision: [4091]
Adding fix for Ticket #1740
Revision: [4088]
Typo (ticket #1738)
Revision: [4079]
Adding fix for ErrorHandler throwing error when Dispatcher class is not in memory
Revision: [4078]
Adding fix for Ticket #1732
Revision: [4074]
Adding fix for View::element().
params variable was reset to an array
Added the method to 1.2.x.x branch also
Revision: [4073]
Adding fix for Ticket #1731
Revision: [4072]
Fixing error in Router::parse() when no params are passed.
Initialized $pass variable as an array before the foreach
Revision: [4071]
Adding fix for Ticket #1721
Revision: [4070]
Adding fix for Ticket #1723
Revision: [4066]
Adding fix when using database storage for sessions.
This fixes
Fatal error: Class 'ConnectionManager' not found in
/cake/libs/session.php on line 445
Removed validators.php
Updated svnconfig.txt
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4202 3807eeeb-6ff5-0310-8944-8be069107fe0
Ticket #1394 setFlash with layout fails because of missing params to View
Ticket #1480 Incorrect urls with Plugins
Ticket #1670 HtmlHelper::selectTag: problem when is_array($selected)
Ticket #1685 Router::url can cause incorrect links
Ticket #1774 Route::url() don't find the right route
Ticket #1776 Postgres - after each insert atempting to retrieve last inserted id from seq.
Ticket #1765 Dispatcher, route and plugins
Adding doc comments to EmailComponent
Removed ) in I10n::__l10nCatalog['lv']
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4199 3807eeeb-6ff5-0310-8944-8be069107fe0
This should be used when LC_MESSAGES does not contain the translation strings.
Added doc comments to I18n and I10n classes.
Refactored I18n class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4188 3807eeeb-6ff5-0310-8944-8be069107fe0
Changed I10n class to attempt setting language based on DEFAULT_LANGUAGE if it is set and the auto detection of the HTTP_ACCEPT_LANGUAGE fails to find a match
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4171 3807eeeb-6ff5-0310-8944-8be069107fe0
Refactoring I18n class to use one locale directory for an application.
Translations will be located in app/locales/[LANGUAGE]/LC_MESSAGES/[CONTROLLER].mo or [CONTROLLER].po
If not found app/locales/[LANGUAGE]/LC_MESSAGES/default.mo or default.po
All core translations will be located in cake/locales/[LANGUAGE]/LC_MESSAGES/
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4122 3807eeeb-6ff5-0310-8944-8be069107fe0
Corrected error message with correct method name in scaffold_error templates.
Removed unneeded check for Controller::persistModel in 1.2.x.x.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4038 3807eeeb-6ff5-0310-8944-8be069107fe0
Updated use of Controller::persistModel; Lazy Loading of models now work when this is set to true.
Fixed Scaffold to work with Controller::persistModel = true;
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4003 3807eeeb-6ff5-0310-8944-8be069107fe0
Plugin templates can be overridden in the app/views/plugins/$plugin/$viewPath directory
If template is not found in this directory or the app/plugins/$plugin/views/$viewPath a missing
view error will be rendered
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3966 3807eeeb-6ff5-0310-8944-8be069107fe0
tags.ini.php will not be used as of 1.2
file should be changed to tags.php and use php arrays.
$tags['tagname'] = 'value';
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3893 3807eeeb-6ff5-0310-8944-8be069107fe0
SessionHelper was creating a second instance of CakeSession which would call the session_start(). Added a second param that can be set to false so this does not happen anymore
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3771 3807eeeb-6ff5-0310-8944-8be069107fe0
Changing Model::__constructLinkedModel() to use the association name for
the instance of an associated model.
Changed DboSource::read() to use the association name.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3484 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [3440]
Adding note to api doc of the redirect function (#1358)
Revision: [3439]
Revoking previous change, fixing bug in api doc
Revision: [3432]
added fix for #1352
Revision: [3430]
Adding nl2br in Sanitize::html
Revision: [3420]
Typo fixed
Revision: [3383]
Refactoring last commit for admin check
Revision: [3382]
Adding fix for admin being searched in entire string
Revision: [3379]
Fixing errors when CSS not showing after recent fixes to error class
Revision: [3376]
Backporting string-escaping fix from 1.2 for Ticket #
Revision: [3373]
Adding Windows-specific port delimiter for connecting to SQL Server (Ticket #1261).
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3454 3807eeeb-6ff5-0310-8944-8be069107fe0
Added check in View::renderCache() for xml layout, if the layout is xml
then correct header will be sent.
Before it would render text output
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3356 3807eeeb-6ff5-0310-8944-8be069107fe0
Fixing errors when trying to use plugin components.
Added Controller::_initComponents();
Changed helpers and components to allow using plugins helpers or
components.
Syntax:
var $helpers = array('PluginName/HelperName');
var $components= array('PluginName/ComponentName');
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3316 3807eeeb-6ff5-0310-8944-8be069107fe0
Added Controller::_initComponents();
Changed helpers and components to allow using plugins helpers or
components.
Syntax:
var $helpers = array('PluginName/HelperName');
var $components= array('PluginName/ComponentName');
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3315 3807eeeb-6ff5-0310-8944-8be069107fe0
Fixed lowercased model name being generated in bake.php
Removed $this->viewPath from generated controller classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3215 3807eeeb-6ff5-0310-8944-8be069107fe0
The View::__construct() had a check for $controller != null;
Removing this fixed the errors related to not setting the vars from the controller instance.
Removed $this->parent =& $this->controller->parent; and $this->displayFields=&$this->controller->displayFields; which are not defined in the core Controller
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3204 3807eeeb-6ff5-0310-8944-8be069107fe0
This corrects: "No such file" error with bake.php when choosing to
include basic class methods message
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3143 3807eeeb-6ff5-0310-8944-8be069107fe0
Check box in edit view does not work.
Model::column() was returning text instead of boolean for the column type
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3136 3807eeeb-6ff5-0310-8944-8be069107fe0
[3132]
Adding patch from Ticket #1004.
This fixed problem with table prefix not being used when querying for the last record id
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3133 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2654]
Refactored the Object::cakeError()
Revision: [2653]
Adding check for custom error class in app/.
Added check for AppController::appError(); will be called if this method
is in AppController.
Revision: [2652]
Adding fix for Ticket #704
Revision: [2650]
Fixing scaffold CSS
Revision: [2648]
Adding fix for Ticket #717
Revision: [2647]
Adding fix for Ticket #718
git-svn-id: https://svn.cakephp.org/repo/trunk/cake/1.x.x.x@2685 3807eeeb-6ff5-0310-8944-8be069107fe0
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
Revision: [2629]
Fixed recursive associations when set to 0, did not add the hasOne or belongsTo in the query.
Changed scaffold to use recursive setting of 0 in all methods that call Model::findAll()
Fixed Invalid argument supplied for foreach() notice in show.thtml
Removed 500 record limit in Controller::generateFieldNames()
Revision: [2628]
Merging changes from model_php5.php
Revision: [2627]
Fixing messed up characters in dbo_odbc, adding docstrings, and giving connect() a return value
Revision: [2625]
Bringing all DB drivers up to date
Revision: [2624]
Changed fixed for Ticket #609 so and empty array is set instead of null.
This is more consistent with the other arrays that are returned if an association is found
Revision: [2623]
Adding fix for Ticket #712
git-svn-id: https://svn.cakephp.org/repo/trunk/cake/1.x.x.x@2630 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2618]
Adding fix for Ticket #609
Revision: [2617]
Added fix for Ticket #684
Revision: [2616]
Adding patch from Ticket #649
Revision: [2615]
Adding fix for Ticket #608
Revision: [2614]
Additional fix for Ticket #584
Revision: [2613]
Adding fix for Ticket #584
Revision: [2612]
Added fix for undefined index notices
Revision: [2609]
Adding fix for Ticket #658
Revision: [2608]
Adding fix for Ticket #635, and code formatting fixes in FormHelper
Revision: [2607]
Adding fix for Ticket #636
Revision: [2606]
Adding fix to allow associations to be defined through non-associative arrays
Revision: [2605]
Adding fix for Ticket #672
Revision: [2604]
Adding fix for Ticket #708
Revision: [2603]
Adding fix for Ticket #687
Revision: [2602]
Refactoring database drivers, and adding fix for Ticket #398
Revision: [2601]
Merging change from model_php5.php
Revision: [2600]
Adding ODBC driver
Revision: [2599]
Adding fix for Ticket #702
Revision: [2598]
Adding fix for Ticket #699
Revision: [2597]
Fixing an issue in Model::set(), and moving limit() to DboSource
Revision: [2595]
Fixing unit test download URL in Bake
Revision: [2594]
Adding fix for Ticket #698
Revision: [2593]
Adding fox for Ticket #231
Revision: [2592]
Adding fix for Ticket #630, and updating MS SQL driver docstring
Revision: [2577]
Adding $alias property to enable future Oracle support
Revision: [2568]
Merging changes to bake from old sandboxes
git-svn-id: https://svn.cakephp.org/repo/trunk/cake/1.x.x.x@2620 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2522]
renamed Bake class file
Revision: [2521]
removing old bake scripts
Revision: [2520]
Adding new Bake script
Revision: [2519]
Adding fix for Ticket #622
Revision: [2518]
Adding fix for Ticket #535
Revision: [2517]
Adding fix for Ticket #648, associated records are now post-processed by afterFind() method in associated model
Revision: [2516]
Adding fix for Ticket #618
Revision: [2515]
More error page fixes
Revision: [2514]
Adding fix for Ticket #690
Revision: [2513]
Removing empty method
Revision: [2512]
Adding fix for Ticket #675
Revision: [2511]
More fixes for Ticket #670
Revision: [2510]
Adding fix for Ticket #670, and removing pointless part of Helper::output(), since print() *always* returns 1.
Revision: [2509]
Adding fixes for Tickets #677 and #681
Revision: [2508]
Added patch from Ticket #632
Revision: [2502]
Adding fix to prevent model ID from getting overwritten when saving HABTM data [TEST ME] - thanks sdevore
Revision: [2501]
Rewriting foreach loops in queryAssociation()
Revision: [2493]
Adding fix for Ticket #673
Revision: [2492]
Adding reconnect() method, to reconnect to database with different settings
Revision: [2491]
Adding Microsoft SQL Server driver [EXPERIMENTAL]
Revision: [2490]
Fixing a bug that occurs when connecting to two different databases on the same server, and enabling cross-database model associations
Revision: [2488]
Adding fix for Ticket #651
Revision: [2487]
Adding fix for Ticket #665
Revision: [2486]
Adding fix for Ticket #655
Revision: [2485]
Forcing DboMysql to validate disconnect, and adding fix for Ticket #663
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2528 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2470]
Adding fix for Ticket #653
Revision: [2469]
Adding fix for Ticket #652
Revision: [2468]
Enabling table list caching for DB DataSources
Revision: [2467]
Adding fix for Ticket #623
Revision: [2466]
Adding fix for Ticket #652
Revision: [2465]
More dbo_source::order() fixes, moving query() to dbo_source, and supporting additional find/findAll parameters in magic find methods
Revision: [2464]
Adding fixes for Ticket #610
Revision: [2463]
Adding an alias fix in DBO_Source, and an IIS rewrite patch for setUri()
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2477 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2457]
Adding fix for Ticket #612
Revision: [2456]
"Enables use of Controller::$data in addition to Controller::$params['data']"
Revision: [2455]
"Adding fix for Ticket #634"
Revision: [2454]
"Removing trailing directory separator on ROOT"
Revision: [2451]
Dispatching and routing changes for IIS
Revision: [2450]
Downgrading error level in AclNode::create and adding additional filename check in listClasses()
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2462 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2448]
removing tabs in last commit
Revision: [2447]
Adding fix for limit in all associations
Revision: [2446]
Added fix for Ticket #569
Revision: [2443]
Adding fix for Ticket #592.
Revision: [2437]
Adding fix for Model::findNeighbours().
Was returning all associations and fields. Now recursive is set to 0 and only returns the prev and next keys array
Example $this->Category->findNeighbours(null, 'Category.id', 4);
Will return,
Array
(
[prev] => Array
(
[Category] => Array
(
[id] => 3
)
)
[next] => Array
(
[Category] => Array
(
[id] => 5
)
)
)
Revision: [2432]
Removed the DS constant from the plugin var when it is set in Dispatcher.
Added "$this->plugin.DS." constant in files where needed after change above.
Added fix for Ticket #577.
Revision: [2428]
Added fix for HtmlHelper::checkbox() it ignored the value provided as a parameter
Fix for Ticket #605.
Fix for Ticket #607.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2449 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2420]
Added fix for Ticket #320.
Fixed Model::save() so it will only allow a model to save itself.
Fixed Model::save() when saving a HABTM association
Revision: [2419]
Added fix for Ticket #463
Revision: [2418]
Added patch from Ticket #598
Revision: [2417]
Added fix for Ticket #581
Revision: [2416]
Adding fix for Ticket #579
Revision: [2415]
Adding patch from Ticket #597
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2421 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2413]
Adding fix for Model::bindModel() when association name is different from className setting in the array.
Removed second param in Model::__generateAssociation() that was not used.
Removed unneeded foreach() in Model::__createLinks().
Revision: [2412]
Adding fix for Ticket #564
Revision: [2411]
Adding fix for Ticket #596.
Also found other variables that where not used properly
Revision: [2410]
Added fix for Ticket #561
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2414 3807eeeb-6ff5-0310-8944-8be069107fe0
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
Revision: [2369]
Added missing doc comments to classes
Revision: [2368]
Removing core view paths from Configure class
Revision: [2367]
Updating View class to use new Configure class to search paths for view files
Revision:[ 2366]
Corrected loadControllers() in basics.php
Revision: [2365]
Updating function in basics.php to use new Configure class
Revision: [2364]
removed duplicate loading of app/config/bootstrap.php
Revision: [2363]
Added new Configure class to hold paths to models, views, and controllers related to Ticket #470.
Moved loading of app/config/bootstrap.php to Configure class from app/webroot/index.php.
Added creating instance of Configure instance in cake/bootstrap.php
Added example of setting custom paths in app/config/bootstrap.php
Corrected error in Object::_savePersistent().
Revision: [2362]
Added fix for Ticket #534
Revision: [2361]
Refactoring persistent code a little more.
File now holds a variable with the serialized class and is include vs. reading file contents.
Revision: [2360]
Refactored persistent methods to use cache()
Revision: [2359]
Fixing array_combine() Warning in Model::generateList()
Revision: [2358]
Set var $persistModel to false by default
Revision: [2357]
Moved persistent code to Object class.
Moved $TIME_START variable to top of file.
added __sleep methods for models
Revision: [2356]
Reverting persistent changes to Model class
Revision: [2355]
Adding fix for Ticket #550
Revision: [2354]
Corrected errors in persistent code
Revision: [2353]
Corrected overwrite in the model/model_php4.php file.
Revision: [2352]
Adding persistent methods to Model class.
This will allow caching of classes.
Added app/tmp/persistent directory.
Revision: [2351]
Reverting changes to dbo_source.php in [2350]
Revision: [2350]
Removed name pattern matches related to Ticket #534
Revision: [2349]
Adding fix for Ticket #548
Revision: [2348]
Adding fixes from Ticket #547.
Revision: [2347]
Adding fixes from Ticket #546.
Revision: [2346]
Adding fix for Ticket #527
Revision: [2345]
Refactored Html::url()
Revision: [2344]
Last fix for Ticket #483
Revision: [2343]
Updating last commit
Revision: [2342]
Adding fix for Ticket #483
Revision: [2341]
Adding fix for Ticket #543, DBO will now only cache SELECT queries
Revision: [2340]
Adding session_write_close() to the CakeSession::__regenerateId()
Revision: [2339]
Adding patch from Ticket #544
Revision: [2338]
Adding patch from Ticket #529
Revision: [2337]
Adding patch from Ticket #528
Revision: [2336]
Removing the converting of \n to <br /> in Sanitize::html()
Revision: [2335]
Added bash script from Ticket #533
Revision: [2334]
Added enhancement for Ticket #474
Revision: [2333]
Correcting errors introduced with prior fix
Revision: [2332]
Correcting errors introduced with prior fix
Revision: [2331]
Performance optimization for NeatArray::findIn(): replaced foreach loop with for
Revision: [2330]
Minor performance optimization: Replacing all occurrences of low() with strtolower()
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2370 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2328]
Merging changes from model_php5.php
Revision: [2327]
Fixing queries that don't respect model aliases in conditions clauses
Revision: [2326]
Adding in-memory query caching to DBO_Source, and Model->cacheQueries property to control the behavior
Revision: [2325]
A recovering discarded association data for recursive belongsTo joins
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2329 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2323]
Adding SQL error message display.
Fixed Invalid argument supplied for foreach() in dbo_source.php on line 472
Revision: [2322]
Fixed undefined index datasource.php on line 438
Revision: [2321]
Adding error messages for ConnectionManager if no database file is present.
Revision: [2320]
Merging changes from model_php5.php
Revision: [2319]
Removing $this->validationErrors = null; in Model::set();
Revision: [2318]
Refactoring Model::invalidFields()
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2324 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2316]
Added fix for message: Warning: array_diff(): Argument #2 is not an array in Controller::__construct()
Revision: [2315]
Adding fix for Ticket #517
Revision: [2314]
Corrected scaffold throwing errors when irregular words are used for model/table names
Revision: [2313]
Added patch from Ticket #495.
Added missing ?> bracket at end of file
Revision: [2312]
Corrected model names being set to lower case, When matched to an irregular word in Inflector methods.
Added custom inflections.php file to allow application to have custom inflection rules.
Correct variable in View::renderCache(). error thrown if time class was used $time variable changed to $timeStart.
Revision: [2311]
Corrected $db placed in wrong section of the method
Revision: [2310]
Removing the db attribute from the model, This will help better with persistent objects
Revision: [2309]
Adding fix for Ticket #490
Revision: [2308]
Update to previous commit
Revision: [2307]
Removing references to Model->db. DataBase connections are now singleton-only.
Revision: [2306]
Refactoring getDataSource() into loadDataSource() and enumConnectionObjects()
Revision: [2305]
Reverting changes to this file
Revision: [2304]
Fixing Ticket #496, getColumnType, and docstrings
Revision: [2303]
Adding fix for Ticket #510
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2317 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2301]
"Moving the check for cached pages after the models are loaded.
Some issues where found when using acl components"
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2302 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2299]
Added fix for Ticket #494.
Added fix for Ticket #489.
Revision: [2298]
Fixed regex that would match more than one <cake:nocache></cake:nocache> group and cause a wrong replace of the tags
Revision: [2297]
Corrected error in the convertSlash() function
Revision: [2296]
Another bug found and corrected after last commit.
This is working as expected now, and will be refactored.
Revision: [2295]
Fixed undefined index in CacheHelper::__parseFile();
Fixed caching when method is cached without params being set in the key
Revision: [2294]
Corrected caching for index method when accessing www.example.com/controller this would not use default index method.
Removed auto setting of the data variable in Controller::render();
Added additional check for cached index view in bootstrap.php
Revision: [2293]
Refactoring caching code.
Fixed problem with files being cached for all methods.
Added code to cache files to create helpers.
Moved duplicate code to basics.php as a function
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2300 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2287]
Merging changes from model_php4.php
Revision: [2286]
Added serialized object data to the cached file.
Instances of the view helpers are available in the views now.
You also have access to the Controller::<component>, example $this->controller->Session;
Revision: [2285]
Adding Controller::postConditions() to convert a POST'ed data array to a Model conditions array
Revision: [2284]
Adding Model::invalidate() and refactoring Model::invalidFields(). Adding a fix for RequestHandler::accepts()
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2288 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2282]
Fixed caching of content when wrapped with the <cake:nocache> tags </cake:nocache>
Revision: [2281]
Fixing DBO compatibility in AclNode::_resolveID(), adding docblock and fixing code for stripslashes_deep(), and adding request detection helper methods to RequestHandler
Revision: [2280]
Added fix for empty pages being cached
Revision: [2279]
Fixed undefined index in CacheHelper::cache()
Revision: [2278]
Fixed bug in CacheHelper::__parseFile() regex pattern did not match properly
Revision: [2277]
Adding CacheHelper class.
Refactored View::_render() to use new CacheHelper.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2283 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2275]
Change the way the cacheAction arrays can be set.
var $cacheAction = array('action/params/' => time); Multiple params are allowed, will only cache params level and deeper (action/params/params/)
var $cacheAction = array('action/' => time); Setting to just the method without any params will cache all request to that method.
var $cacheAction = string; Will set cache time for entire class.
Both settings can be used in the Controller::method().
$this->cacheAction = array() or string;
Revision: [2274]
Changed clearCache function to allow using url like param setting for cache.
Example:
One of the following can be used.
clearCache('controller'); Will remove all cached pages that have the controller name.
clearCache('controller/action/'); Will remove all cached pages that have the controller_action name.
clearCache('controller/action/params'); Will remove all cached pages that have the controller_action_params name. Note you can have multiple params
clearCache(array('controller/action/params','controller2/action/params)); You can also use and array to set more than one value, same setting as above apply to arrays.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2276 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2267]
Removed the 50 record limit on the Model::findAll().
Added _ between file and timestamp
Fixed error thrown when variable was not an array
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2268 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2265]
Corrected error when cached file was found with partial matching name.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2266 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2263]
Fixed Model::_clearCache() not having the name of the current model in the $assoc array
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2264 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2261]
Adding fix for Ticket #479.
Removed unused $alias variable.
Revision: [2260]
Merging changes from model_php4.php
Revision: [2259]
Added Model::_clearCache(). This is used to delete cached pages when changes are made to a model,
will also be used to delete cached queries
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2262 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2257]
Refactored cache code in view class.
Removed adding the timestamp to the file contents, it is now
added to the file name
Revision: [2256]
Refactored cache checking code.
Time stamp is not added to file name so we check this
instead of reading the file and finding timestamp
Revision: [2255]
Adding clearCache function to delete contents of cache
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2258 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2253]
"Changing define to false by default"
Revision: [2251][2252]
"Adding check if define is not set"
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2254 3807eeeb-6ff5-0310-8944-8be069107fe0
Changing version number to 1.x.x.x, 0.10.x.x code base had been changed to the version number 1.x.x.x, and what was planned for 1.x.x.x code has
now been moved to 2.x.x.x, and 2.x.x.x moved to 3.x.x.x. This will give us easier to track version numbers from now on.
Revision: [2248]
Merging changes from model_php5.php
Revision: [2247]
"Removing test code from view class"
Revision: [2246]
Removed cache time define from core.php.
Modified the __() function in basics.php to echo string like it will in later versions of cake with translations.
Refactored the cache checking in bootstrap.php to read the files embedded time stamp and delete or output the cached version.
Added View::cacheView() for caching pages.
Revision: [2245]
Moving column formatting from DBO to Sanitize
Revision: [2244]
Adding beforeValidate() Model callback, and allowing query data to be modified in beforeFind()
Revision: [2243]
"Adding caching changes to Controller class "
Revision: [2242]
"Added check to delete cached version if it has expired"
Revision: [2241]
Adding app/cache/views directory
Revision: [2240]
"Fixed missing variable"
Revision: [2239]
"Adding full page caching to view class."
Revision: [2238]
"Adding defines for caching"
Revision: [2237]
"Adding caching check too bootstrap.php"
Revision: [2236]
Adding ClassRegistry::removeObject from Ticket #477
Revision: [2235]
"Correcting setting in DATABASE_CONFIG class"
Revision: [2231]
Adding convenience function am(), which allows merging an infinite number of arrays merged into one
Revision: [2207]
Change Model::save() to call beforeSave() before validations
Revision: [2199]
Removing conditions method call in Model::field()
Revision: [2196]
Setting proper mime type again
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2250 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2193]
Adding fix for Ticket #471
Revision: [2192]
Adding fix from Ticket #464.
Revision: [2191]
Adding fix for Ticket #461
Revision: [2190]
Adding fix for array_merge_recursive() error when unbindModelis used
Revision: [2189]
merging changes made in model_php5.php
Revision: [2188]
Fixing controller so $viewPath can be set as a var
Revision: [2186]
Adding Security component
Revision: [2185]
Adding additional RequestHandler detection, form security authentication, and automagic view variable $data
Revision: [2183]
Fixing Ticket #473
Revision: [2182]
Adding fix for Ticket #261
Revision: [2181]
Changing MySQL column defs from 12 hour times to 24 (#465)
Revision: [2180]
Fixing Tickets #463 and #462, and an error in Controller::setAction()
Revision: [2179]
Fixing a bug I found in AjaxHelper::link(), and changing the stopwatch time to 4 decimals
Revision: [2177]
Added patch from Ticket #459
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2195 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2175]
Merging changes made to model_php5.php
Revision: [2174]
Adding fix for empty values being set for an update.
Fixed problem with view paths being set wrong on Windows.
Revision: [2173]
Adding additional condition operators
Revision: [2172]
Adding fix for Ticket #455
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2176 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2170]
Adding column formatting for create() and update()
This is also a fix for Ticket #450
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2171 3807eeeb-6ff5-0310-8944-8be069107fe0
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
Revision: [2151]
Merging changes made to model_php5.php into model_php4.php.
Revision: [2150]
Cleaning up code, removing in line comments
Revision: [2149]
Fixed wrong params passed to SessionComponent::setFlash() in Scaffold class.
Changed View::_render() to only suppress errors in the view when DEBUG is set to 0.
Revision: [2148]
Adding suggestion from Ticket #446.
Revision: [2147]
Added fix for Ticket #443
Revision: [2146]
Added fix for Ticket #444.
Added table.field in the CakeSession class database methods
Revision: [2145]
Renamed _new to _blank in default.thtml.
Starting to refactor changes that broke self joined associations.
Revision: [2144]
Adding fix for Ticket #202
Revision: [2143]
Adding support for nested array-based conditions
Revision: [2141]
Updating View for Session flash changes
Revision: [2140]
Adding Session flash enhancements for a ticket that I took but can't find because someone else closed it
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2152 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2129]
Removed Scaffold::__renderScaffold();
Added more detailed Page Title.
Revision: [2128]
Renamed Scaffold::__scaffoldView to Scaffold::__scaffoldIndex
Removed all Scaffold::__scaffoldIndex ()
Revision: [2127]
Removing Scaffold::__scaffoldNew() and Scaffold::__scaffoldEdit()
Revision: [2126]
Added Scaffold::__scaffoldForm() to replace
Scaffold::__scaffoldNew() and Scaffold::__scaffoldEdit()
Revision: [2125]
Removed Scaffold::__scaffoldCreate() and Scaffold::__scaffoldUpdate()
Revision: [2124]
Refactoring Scaffold class. Added Scaffold::__scaffoldSave() to replace
Scaffold::__scaffoldCreate() and Scaffold::__scaffoldUpdate()
Revision: [2123]
Removed debug code
Revision: [2122]
Added fix for Ticket #435.
Select boxes now repopulate with the selected values pass in the form
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2130 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2120]
Added fix for error in Controller::cleanUpFields().
Fixed typo in Scaffold::__scaffoldUpdate().
Revision: [2119]
Added fix for missing view error.
Added changes to allow SessionComponent::flash() to return similar to what was suggested in Ticket #430.
Changed delimiter to -! in the arrays used in DboSource::conditions().
Fixed single quotes being added when value was empty
Revision: [2118]
Corrected some bugs found in DboSource::conditions();
Added loading of app/config/bootstrap.php to index.php after the core bootstrap.php loads.
Changed doc block comment in app/config/bootstrap.php
Revision: [2117]
"Adding app/config/bootstrap.php.
Used for application wide settings"
Revision: [2116]
"Added better regex to the DboSource::fields()"
Revision: [2115]
Moving the DIRECTORY_SEPARATOR to top section of the file
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2121 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2104]
Correct changes of names in scaffold.
Revision: [2103]
Changed methods to protected methods
Controller::_beforeScaffold($method)
Controller::_scaffoldError($method)
Revision: [2102]
Added 2 methods to Controller class that must be overridden in child classes if you place to use Scaffold in production applications.
This will allow you to perform checks before displaying the forms, and also before performing any Scaffold methods.
Each of these methods are passed the name of the method they represent in Scaffold.
Controller::beforeScaffold($method)
Controller::scaffoldError($method)
These 3 name are passed to the methods above, but are not view related
'create' when creating a new record in the database
'update' when updating a record in the database.
'delete' name says what it does
These are view related names passed to the methods above
'index' the list of all records shown in scaffold.
'edit' the edit record form.
'show' when displaying a specific record.
'add' add record form.
Scaffold can now be used to generate forms and customize these on a per app or per controller basis.
Scaffold will first look:
Example: app/views/posts/
Then: app/views/scaffold/
There are also specific naming used for these views each related to a scaffold method.
scaffold.list.thtml
scaffold.edit.thtml
scaffold.new.thtml
scaffold.show.thtml
Added scaffold_error.thtml that is used if a controller does not implement Controller::scaffoldError() when using scaffold and Controller::beforeScaffold() is implemented and returns false
Revision: [2101]
Corrected some bugs found in View that would cause errors when using scaffold.
Revision: [2100]
Added fix for Ticket #427
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2105 3807eeeb-6ff5-0310-8944-8be069107fe0
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
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
Revision: [2087]
Removed array setting that is not needed
Revision: [2086]
Added unbindModel to turn off associations on the fly.
These are reset after a call to a find<*> method.
Added one more level key to isset check in DboSource::conditions.
Previous check would always return true.
Revision: [2085]
Refactored DboSource::fields()
Revision: [2084]
Added fix for Ticket #419
Revision: [2083]
Refactoring DboSource::conditions.
Revision: [2082]
Deleted a few methods by accident adding them back
Revision: [2081]
Added fix for Ticket #420
Added $startQuote and $endQuote vars to the MySql class, these must be added to each Dbo<database> if the database uses
a quote char around fields. Example MySql uses this ` MSSQL uses [ and ].
Revision: [2080]
Added delete() alias for del() in Model and SessionComponent classes.
This is suggestion from Ticket #421
Revision: [2079]
Added fix for Ticket #106.
This was added before but lost in a merge.
This fix allows adding a custom tags.ini.php file to app/config.
This file will be merged with the core, overwriting any keys that match, and adding those that do not.
Revision: [2078]
Refactoring DboSource::conditions().
This method will now return the Model.field properly when passed a string.
You can also set you own clause.
WHERE, GROUP BY, HAVING, and ORDER BY.
If one of these in not the first characters in the string, WHERE will be added by deafult.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2088 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2076]
Correcting a few more bugs found in the CakeSession class
Revision: [2075]
Adding fix fro Ticket #417
Revision: [2074]
Corrected name of method
Revision: [2073]
Added patch submitted by lemp on IRC channel
Revision: [2072]
Added fix for Ticket #418.
Bug fix added for session_destroy();
Revision: [2071]
Updated DboSource::conditions() with regex discussed in IRC channel.
Added --return delimiter to allow returning the value of an array key without
the string being wrapped by $this->Model->value();
It is used like:
$this->Model->find(array('Model.field' => '--return STRING'))
Revision: [2070]
Changed the DboSource::condition().
New syntax has been added.
By default all conditions are joined using AND.
array('Model.field' => ' = value','Model.field' => ' > value');
`Model`.`field` = 'value' AND `Model`.`field` = 'value'
To change this you would add a space CONDITIONAL space to the array key
Incorrect: array('Model.field' => ' = value','OR Model.field' => ' > value');
Correct: array('Model.field' => ' = value',' OR Model.field' => ' > value');
would produce
`Model`.`field` = 'value' OR `Model`.`field` = 'value'
Change where also made the the value of the key space OPERATION space is now needed.
Incorrect: array('Model.field' => '= value';
Correct: array('Model.field' => ' = value';
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2077 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2068]
Fixed typo in method names.
Updated DboSource::conditions().
Added a delimiter --return that would be used in a complex condition string.
NOTE: You limit your self to database specific code using this. Cake will not add the name() wrap around any of the
Model.field.
$this->Model->find('--return MY CUSTOM CONDITION STRING);
Added ability to use a array key that will not have $this->value() called to wrap the $value.
It is used like this (The word status will not have the value() called)
Also note you can add Conditional selections used in the where clause:
= Equal
> Greater than
< Less than
>= Greater than or equal
<= Less than or equal
<> Not equal to
LIKE can also use % with this
$this->Model->find(array('Model.field' => '= value',
'Model.field' => '> value',
'Model.field' => '< value',
'Model.field' => '>= value',
'Model.field' => '<= value',
'Model.field' => '<> value',
'Model.field' => 'LIKE value',
'Model.field' => 'LIKE %value%',
'status',
'any key withou a => "value" wil not be wrapped'));
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2069 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2066]
Change the bindTo<ModelName>() to bindModel()
This works similar to before but has sytax as follows.
$this->Book->bindModel(array('belongsTo' =>
array('Author' =>
array('conditions' => 'these conditions',
'order' => 'this order by DESC',
'foreignKey' => 'foreign key',))));
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2067 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2064]
Added doc block for Model::__resetAssocitions();
Removed unused params in Model::__constructLinkedModel();
Revision: [2063]
Refactored bindTo<ModelName> to allow method to be used to change associations settings.
This method will change the association on the fly, and reset them back once the query has completed.
This will allow something like this simple example.
$this->Book->bindToAuthor(array('belongsTo' => array('conditions' => array('Author.active'=>'1'))));
$this->set('changed', $this->Book->findAll());
$this->set('original', $this->Book->findAll());
$changed would have the associated for Books/Authors where Author.active = 1.
$original would have the associations for Books that where set in the Book class association vars.
Revision: [2062]
Added magic method to allow late binding of association model.
Revision: [2058]
Adding fix for error in acl.php reported in google group
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2065 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2056]
Corrected typo in a variable name
Revision: [2055]
Added regex to remove ORDER BY if it is passed in the string
Revision: [2054]
A little refactoring to changes made in [2053]
Revision: [2053]
Adding fix for Ticket #413
Revision: [2052]
Reverting changes made in [2050]
Revision: [2051]
Fixing Ticket #410
Revision: [2050]
Fixing Ticket #409, and adding additional column functions
Revision: [2049]
Removing old DBO class. Fixes Ticket #408
Updated all Dbo* database classes to extent DboSource.
Corrected formatting of code in CakeSession
Revision: [2048]
Adding fix for Ticket #411.
Updating variables and method to use coding standards.
Updated CakeSession doc blocks
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2057 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2035]
Cleaning up code formating
Revision: [2034]
Added fix for parse error when using PHP 4
Revision: [2033]
Fixed dispatcher to set the proper paths when app/webroot is moved outside of a normal cake install path
and placed deeper in the web path of the DOCUMNET ROOT
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2036 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [2031]
Added ability to turn off the cascading deletes when using Model::del($id, false);
Revision: [2030]
Corrected association cascading for hasOne and hasMany.
Revision: [2029]
Implemented cascading delete for hasMany, and hasOne associations.
Revision: [2028]
Renamed Model::__deleteJoins() to Model::__deleteMulti();
Revision: [2027]
Implemented Model::__deleteJoins() to delete HABTM associations.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2032 3807eeeb-6ff5-0310-8944-8be069107fe0
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
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
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
Revision: [1953]
Added @ before session_destroy() in CakeSession::_destroyInvalid() to suppress warning
Revision: [1952]
Fixing Ticket #380, and adding JSON object generator to JavascriptHelper
Revision: [1951]
Removing code that is not used in Inflector class
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1954 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1948]
Added fix for Ticket #376
Revision: [1947]
Renamed log.php to cake_log.php
Revision: [1946]
Added fix for Ticket #371;
Moved LogError to bascis.php from log.php
Renaming Log class to CakeLog to avoid conflicts with Pear Log class or any other Log class.
Added check to File class to load Folder class if it is not in memory already
Moved LOG_ERROR define to app/config/core.php
Revision: [1945]
Updated Inflector::pluralize(); and Inflector::singularize(); to use some code that is in the new Inflector class from version 1.x.x.x
Added fix for Ticket #373
Added fix for Ticket #357
Added patch from Ticket #363
Revision: [1944]
Added fix for Ticket #349 PHP 5 version
Revision: [1943]
Added fix for Ticket #349
Revision: [1942]
Adding patches from Ticket #377
Revision: [1941]
Quick URL fix for AjaxHelper::editor
Revision: [1940]
Fixing Ticket #375
Revision: [1939]
Adding fix for Ticket #369, plus slider control and Ajax In-Place editor
Revision: [1938]
diff patched applied from gwoo
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1949 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1936]
Adding fix for Ticket #364
Revision: [1935]
Adding script.ac slider control and fixing Ticket #188 for real this time
Revision: [1934] [1933] [1932] [1931] [1930]
Docstrings, and some inconsistency fixed. Wrong parameters in one case. Moved them into the signature. Also some code standards fiddling.
Some outdated parameters. Added a todo in docstrings.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1937 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1927]
A little refactoring on the findBy<field> and findAllBy<field>.
These should both work on PHP 4 now without an issue.
Change the condition to be built as an array in DboMysql::query().
Still want to refactor the DboSource::conditions() which is note around line 1058 TODO:
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1928 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1925]
Adding fix for association conditions when set in the association array
Revision: [1924]
Adding fixes for $recursive
Revision: [1923]
Adding fix from Ticket #362
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1926 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1917]
Adding fix to pass args when using plugins.
Adding fix to allow plugin elements to be rendered properly
Revision: [1916]
Adding plugin layouts to search path if a plugin is being accessed.
If no layout is found then the app/views/layouts/*.thtml will be used.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1918 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1914]
Adding prefix setting to the database config class.
Setting the value here will use the prefix for all models.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1915 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1910]
Adding fix to correct paths when using plugins
Revision: [1909]
Adding a fix to load plugin AppController if AppController is not present in memory already
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1911 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1907]
Fixed doc comment for loadPluginModels()
Revision: [1906]
Added function to load plugin models.
This will not attempt to load an AppModel used by a plugin.
More work is needed on work around for this.
A conflict with class names would be an issue.
Revision: [1905]
Adding component callbacks and RequestHandler component
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1908 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1901]
More work on deeper associations.
Seems to work now, but going to test more.
Revision: [1900]
Getting closer with deeper joins.
Revision: [1899]
Committing changes made to recursive associations.
Revision: [1898]
Adding fixes for Tickets #188 and #195
Revision: [1896]
Adding controller callbacks
Revision: [1895]
A little more refactoring for Controller::redirect()
Revision: [1894]
Removed :// from Controller::redirect()
Revision: [1893]
Adding fix for Ticket #308.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1902 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1891]
Added patch from Ticket #278
Revision: [1890]
Adding patch from Ticket #227
Revision: [1889]
Adding fix from Changeset [1631].
This fixes Ticket #319
Revision: [1888]
Added fix for Ticket #315
Revision: [1887]
Adding patch from Ticket #312
Revision: [1886]
Adding fix that was committed in [1304] back.
Closing Ticket #77 again
Revision: [1885]
Fix added for Ticket #306
Added patch from Ticket #318
Added patch from Ticket #322
Revision: [1884]
Adding fix to Ticket #332
Revision: [1883]
Adding patch from Ticket #330
Revision: [1882]
Adding fix for Ticket #170 back to HtmlHelper::selectTag().
Was lost in a previous merge
Revision: [1881]
Adding fix for Ticket #336
Revision: [1880]
Adding fix from Ticket #307
Revision: [1879]
Plugins will use their own helpers and components if present
Revision: [1878]
Basic implementation of plugins within app/plugins working.
Revision: [1877]
Starting plugin code for multiple apps within one app.
Revision: [1876]
Added Ticket #345.
Revision: [1875]
Added check to AcoAction class that would not attempt to load AppModel Class if it is already defined in memory
Added fixes for Ticket #317, Ticket #333, Ticket #343, Ticket #337
Revision: [1874]
Adding fix for Ticket #340
Revision: [1873]
Added themeWeb var to helpers that will be used if a theme class overrides the view class
Revision: [1872]
Adding $format to timeAgo and relativeTime, for gwoo
Revision: [1871]
Docstrings changes. One char at a time we map out Cake.
Revision: [1870]
Docstrings for Session, and corrections to tabbing on datasource.
Revision: [1869]
Docstrings for the core database classes.
Revision: [1868]
Adding patch for Ticket #131
Revision: [1867]
Allowing ajax link titles to not be escaped
Revision: [1866]
Changed error class so calls to ErrorHandler::error() in production setting will work.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1892 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1864]
Adding fix to DataSource::__cacheDescription().
The call to cache() was always passing $data as a serialized value,
this would result in a failure in the cache function check $data == null
since $data was not null but had a value of "N;".
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1865 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1855]
Forgot to merge changes between the PHP 5 and PHP 4 model classes
Revision: [1854]
Added fix to Model class so that setting var $useTable = false; will not try to create a datasource connection.
Added fix to basics.php in the file_put_contents function that would give a Warning :failed to open stream: File exists.
This fix allows the file to be wrote to if it already exists.
Added fix for undefined notice in DboSource::generateAssociationQuery();
Added Model::$keyToTable to map foreign keys to thier proper tables so scaffold could work with them properly.
Fixed Controller::__generateAssociation() to use Model::$keyToTable.
Fixed layout issue with show view in scaffold.
Revision: [1853]
Added DataSource::buildSchemaQuery() which must be implemented in the child classes.
This will be used to import a table schema.
Added DboMysql::buildSchemaQuery()
Added fix for Ticket #304 by reverting change made in [1825].
Reopened Ticket #286
Added fix for Ticket #310
Revision: [1852]
Added fix for PHP Fatal error: Call to a member function on a non-object in... Controller::generateFieldNames() in PHP 4
when using a HABTM association.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1856 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1850]
Added fix for duplicate alias name being added to fields passed the the Model methods,
when a field already was aliased Example: Post.id will no longer return Post.Post.id.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1851 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1848]
Fixing references.
Revision: [1847]
Adding fix for errors when using scaffold.
On some version of PHP 4 some people where getting Call to member function on non-object...
in Controller::generateFieldNames() at line 494.
Fixed call to get_class_methods that was using the name of the class and not the instance of the class,
this would cause a Wrong datatype for second argument...
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1849 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1845]
Adding changes to DboSource::generateAssociationQuery and DboSource::conditions() noted in Ticket #301.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1846 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1843]
Added param $allowed to Sanitize::paranoid() this array will allow
passing characters that you do not want removed in the string.
Modified Sanitize::paranoid() to check an array.
Modified Model::findNeighbours() setting param $conditions to null by default.
Added fix for Ticket #294
Added fix to scripts/acl.php
changed DboSource::fields() to use the count() one time
instead of using it in the for loop also
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1844 3807eeeb-6ff5-0310-8944-8be069107fe0
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
Revision: [1834]
Few more changes to recursive associations.
These changes and the others that are being made
will allow deeper levels of associations. Currently
this is only 1 level deep and can not go deeper until completed.
Revision: [1833]
Making changes to recursive associations
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1835 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1829]
Fixing AjaxHelper::form()
Revision: [1828]
Added check to return false is passing an empty string to requestAction(),
method would seg fault if param was empty.
Fixing another problem found when passing fields to the model methods.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1830 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1823]
Adding one last fix to fields pulled in a query
Revision: [1822]
Copying changes made in model_php4.php to model_php5.php
Revision: [1821]
Fixed problem when passing fields to get from a table.
Working on deeper levels of associations.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1824 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1819]
Added fix for undefined index in Form::generateFields()
Adding missing doc blocks.
Adding fix for Ticket #290.
Added fix to allow setting fields for models.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1820 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1817]
Adding fix from Ticket #287
Removing a change to DboSource::generateAssociationQuery()
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1818 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1815]
Adding the path.php require back, and removing the code that was in the path.php file.
Revision: [1814]
More work on Model.
Removed all code from app/webroot/index.php that is moved to the bootstrap file.
Added CAKE_SESSION_TIMEOUT define in app/config/core.php
Revision: [1813]
Adding a bootstrap file to remove need to edit index.php anymore
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1816 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1809]
Fixed self join code, may refactor after looking at it more. Currently it is working as expected.
Fixed errors in scaffold view caused by the changes I made.
Removed adding Child_ prefix to self joined associations.
Revision: [1808]
Adding changes I started on the self join code.
Revision: [1807]
Adding patch from Ticket #283.
Changed doc comment in SessionComponent class.
Added fix for Ticket #285
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1810 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1805]
Adding fix for Ticket #238
Revision: [1804]
Fixing associations queries.
Adding fix from Ticket #275
Revision: [1803]
Removing the auto generating of a new session id when CAKE_SECURITY set to high.
Adding renew() to the session component, this can be used to regenerate a new session id.
Revision: [1802]
Adding fix for Ticket #280.
Need to decide if we should set the 2 vars mentioned in the ticket automatically,
I changed the 2 method to call the dbo.
Revision: [1801]
Fixing errors in AclCLI class
Revision: [1800]
Made change to fields name setting, * will no longer be used, query will be built using the tables meta data
Revision: [1799]
Revision: [1798]
Adding fix for Ticket #269
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1806 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1796]
Adding missing layout error messages.
Changed more errors in View class to use the ErrorHandler class
Revision: [1795]
Added the missing error messages I found after RC 1 was built.
Corrected errors in the View class when helpers where not found.
Added error views for missing component classes and files.
Updated views for missing view classes and files
Revision: [1794]
Adding fix for Ticket #273
Revision: [1793]
Correcting loading order of required files in bake.php
Revision: [1792]
Added fix for Ticket #271
Revision: [1791]
Fix for Ticket #268 and Ticket #272
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1797 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1786]
Little more cleaning up of the code
Revision: [1785]
Deleting old dbo files
Revision: [1784]
Adding [1780] fix lost in [1782]
Revision: [1783]
Added patch from Ticket #267.
Removed all debug output in the error views, this is moved to one error element that is loaded in View::renderLayout() if DEBUG > 2.
Added fix to Ajax::dropRemote().
Revision: [1782]
Added controller dump view when DEBUG is set greater than 2
Revision: [1781]
Adding elements directory to the core
Revision: [1780]
Adding this to close Ticket #265
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1787 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1778]
Fixing a few more bugs in the model code
Revision: [1777]
Fixes to Model::save() that allows saving a new record when primary key is not auto generated in database.
Added the DboSource::hasAny() back to the code.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1779 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1773]
adding fixes to PHP 5 model class
Revision: [1772]
Fixed errors in PHP model.
Fixed parse error in CakeSession Class.
Added stripslashes_deep function to basics.php
Fixed errors in Dispatcher class.
Revision: [1771]
reverting changes in last commit
Revision: [1770]
Fixing save() in model
Revision: [1769]
correcting more errors that we are finding
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1774 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1767]
Fixed error if database.php is not present in app/config/
Revision: [1766]
Moved ajax helper from bundt to beta
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1768 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1764]
Changed var $ds back to $db and var $source back to $table in beta.
Moved last error message out of the object class.
Fixed PHP 4 error in home.thtml.
Revision: [1763]
Added changes made in model error handling lost in merge
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1765 3807eeeb-6ff5-0310-8944-8be069107fe0
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
Revision: [1729]
Fixed loading - added model, cakesession, security.
Now loads properly.
Revision: [1728]
Fixing problems found in the way Cake handles sessions.
These updates seem to work properly now.
Added gethost() to basics.php to replace using gethostbyaddr which can be very slow.
Added session_write_close(); in Controller::redirect();
Revision: [1719]
Fix scaffold show.thtml undefined index error
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1730 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1700]
Fixed loadController() to return true if the controller is already loaded.
Fixed validation errors messages that where not showing.
Revision: [1699]
Fixed missingView error
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1701 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1696]
Adding fix to allow NULL values to be passed as a string or NULL setting the SQL to NULL or "NULL".
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1697 3807eeeb-6ff5-0310-8944-8be069107fe0
Merging:
Revision: [1647]
Commit to fix auto render using requestAction()
Revision: [1646]
Added fix for the date select forms in scaffold when using date field type in the database.
Added fix for Ticket #132.
Added @ to stop warning in php if a call to gethostbyaddr fails with a bad ip sent.
Performance increased more with changes the View::_loadHelpers.
Each helper would load the config file whan an instance was created and parse, change now reads it once.
Fixed previous fix I added to only load helpers once, this time it works.
Change the constructor in View to use __construct() like other classes in the core.
Added $this->autoRender = false; in PagesController::display() after $this->render() is called.
PHP 5 would work fine without it, PHP 4 would display a view under the rendered layout.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1648 3807eeeb-6ff5-0310-8944-8be069107fe0
Merging:
Revision: [1644]
Bad merge last commit had second param in the class_exists() call
Revision: [1643]
Fixed errors introduced in last changes:
Variable that was passed the loadController function was not expected controller class name,
It was the name fo the class without Controller. This would cause the loading to fail, since
it was possible that a class was already loaded with the name that was passed.
Example NewsController and a model called News.
Revision: [1642]
Added patch for MySql 5
Revision: [1641]
removing second parameter in the class_exists function calls.
closes Ticket #209
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1645 3807eeeb-6ff5-0310-8944-8be069107fe0
Revision: [1638]
removing php short tags
Revision: [1637]
Remove renderElememnts loading of helpers also, forgot it in the last commit
Revision: [1636]
Refactoring after profiling code.
Session was creating a new instance of Dispatcher removed the need for it.
Added a check to the Component class to pass the base to the SessionComponent class, will refactor that at a later time.
Changed View class so it would not load helpers when rending a layout, no need for that.
A great performance boost after the change.
Change the loadModels method call in app/webroot/index.php.
Will only attempt the loadModels call if the AppModel class is not in memory, and the Database class is in memory.
Removed all unnecessary calls to basics uses(). Again another big performance increase.
Added fix to the Html::guiListTree() after discussing the output that is expected.
A ticket was closed on this already.
Revision: [1635]
Removing calls to basic uses()
Revision: [1634]
Removing calls to basics uses() that are not needed.
Revision: [1633]
Removing calls to basics uses() that are not needed.
Moved Object class further up in the loading order
Revision: [1632]
adding fix for Ticket #132
Revision: [1631]
Added fix from Ticket #122
Revision: [1630]
Scaffold views can now be placed in a view directory.
These will override the core.
Example (Must have the scaffold dot name):
app/views/posts/scaffold.list.thtml
app/views/posts/scaffold.new.thtml
app/views/posts/scaffold.edit.thtml
app/views/posts/scaffold.show.thtml
Revision: [1629]
Think I fixed the issue with scaffold showing proper dates prior to January 1 1970 00:00:00.
Revision: [1628]
Added a few more change to allow saving dates prior to January 1 1970 00:00:00.
Still a few issues with this, but will get them figured out soon.
Changed scaffold to use only one form view.
Revision: [1627]
Added fix for Ticket #189
Revision: [1626]
Added fix for Ticket #120.
Revision: [1625]
left justified doc blocks
Revision: [1624]
remove files from uses() that are loaded by default in app/webroot/index.php no reason to attempt to load them again in the classes
Revision: [1623]
adding check to the loadModels and loadController that will only attempt to load files if the classes are not already in memory
Revision: [1622]
Adding fix to time helper that was lost in a previous merge
Removing all tabs from code
Revision: [1621]
Addtional model validation fixes
Revision: [1620]
fixed parse error
Revision: [1619]
Fixing ticket #102
Revision: [1618]
correcting mime types and keywords
Revision: [1617]
correcting mime types and keywords
Revision: [1616]
fixed link in footer
Revision: [1615]
Fixing ticket #207
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1639 3807eeeb-6ff5-0310-8944-8be069107fe0
[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
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
Author: phpnut
Date: 2:11:57 PM, Saturday, November 05, 2005
Message:
Fixing Controller::generateFieldNames() to work with changes to Model
[1334]
Author: phpnut
Date: 1:18:02 PM, Saturday, November 05, 2005
Message:
More work on changes made in the model to allow association names to be used as an alias.
These changes are being made to update scaffold to work with changes in [1330].
Added var $alias that holds an array with the key value pair of the table name and the association name.
[1330]
Author: phpnut
Date: 10:25:16 PM, Friday, November 04, 2005
Message:
Adding fix for Ticket #127. The query returns properly now but, this breaks scaffold which I will be fixing soon.
Also the save methods for the model have not been tested but I am sure these need to be corrected also.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1336 3807eeeb-6ff5-0310-8944-8be069107fe0
Author: phpnut
Date: 10:02:08 PM, Friday, November 04, 2005
Message:
Merging new ACL
[1312]
Author: phpnut
Date: 8:20:15 AM, Wednesday, November 02, 2005
Message:
More coding on the Security class.
Added cipher method provided by Nate to the class.
Added hash method that will be used to generate a authentication key
Added method to the CakeSession class to return all session vars if the session components read method is called with empty params.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1329 3807eeeb-6ff5-0310-8944-8be069107fe0
Author: phpnut
Date: 12:11:27 PM, Tuesday, November 01, 2005
Message:
Uncommented a line I commented out for testing
[1293]
Author: phpnut
Date: 12:09:54 PM, Tuesday, November 01, 2005
Message:
Fixed bug found while chatting on IRC.
Removed duplicate code that has been moved to CakeSession class.
[1292]
Author: phpnut
Date: 11:16:49 AM, Tuesday, November 01, 2005
Message:
Changing the CakeSession class.
It is no longer a singleton class.
This is being done to correct problems with sessions and requestAction();
[1291]
Author: phpnut
Date: 10:24:56 AM, Tuesday, November 01, 2005
Message:
Added fix from [1218]
[1290]
Author: phpnut
Date: 10:09:36 AM, Tuesday, November 01, 2005
Message:
Added fixed to a bug reported in IRC channel.
Added skeleton methods to Security class for for authentication using a generated key in a hidden form tag.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1299 3807eeeb-6ff5-0310-8944-8be069107fe0
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
Author: phpnut
Date: 12:05:28 AM, Saturday, October 29, 2005
Message:
Fixed issue with components not creating an instance of their components
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1265 3807eeeb-6ff5-0310-8944-8be069107fe0
Author: phpnut
Date: 10:10:22 PM, Friday, October 28, 2005
Message:
Fixed errors found in the sessions class
Removed code in Model::findAll that was no longer needed
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1263 3807eeeb-6ff5-0310-8944-8be069107fe0
Author: phpnut
Date: 8:13:45 PM, Friday, October 28, 2005
Message:
adding version text file
[1257]
Author: phpnut
Date: 8:03:24 PM, Friday, October 28, 2005
Message:
small typo in last commit
[1256]
Author: phpnut
Date: 7:16:50 PM, Friday, October 28, 2005
Message:
Added fix for a self join of 1 to 1 associations.
This is automatic and adds Child_ to the joined class for hasOne or belongsTo.
Scaffold is updated to work with this change.
You will have to consider the Child_ prefix when working with self joins.
[1253]
Author: phpnut
Date: 4:07:55 PM, Friday, October 28, 2005
Message:
Fixed problem with session cookies being set for each path in the URL.
Added char to switch in Controller::generateFieldNames()
[1252]
Author: phpnut
Date: 1:59:49 PM, Friday, October 28, 2005
Message:
Updated routes.php.default with change to route case.
Removed debug code I had added to Model::findAll
[1251]
Author: phpnut
Date: 1:51:00 PM, Friday, October 28, 2005
Message:
Added a fix for class already defined error.
Updated core.php docblock with level 3 setting for DEBUG.
Change instances of AppController to Controller for loading error messages.
Updated 404 errors to use default layout
[1250]
Author: phpnut
Date: 1:34:08 PM, Friday, October 28, 2005
Message:
renaming error or error404
[1249]
Author: phpnut
Date: 1:32:51 PM, Friday, October 28, 2005
Message:
moving error.thtml to errors directory
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1259 3807eeeb-6ff5-0310-8944-8be069107fe0
Author: phpnut
Date: 3:20:08 AM, Friday, October 28, 2005
Message:
Adding fix for Ticket #107
Revision: 1244
Author: phpnut
Date: 2:18:00 AM, Friday, October 28, 2005
Message:
Adding config setting to allow setting a admin path that can access admin methods only on a controller.
Added ability to add objects to the session.
Updated some scaffold templates.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1246 3807eeeb-6ff5-0310-8944-8be069107fe0
Author: phpnut
Date: 6:19:00 PM, Thursday, October 27, 2005
Message:
removing session directory
[1241]
Author: phpnut
Date: 6:13:46 PM, Thursday, October 27, 2005
Message:
added docblocks and temp error messages when trying to use the unimplemeted database for sessions
[1239]
Author: phpnut
Date: 5:28:57 PM, Thursday, October 27, 2005
Message:
More work on session.
Added config settings to core.php
updated model to allow models without a database table.
[1237]
Author: phpnut
Date: 3:50:27 PM, Thursday, October 27, 2005
Message:
adding directories for sessions
[1235]
Author: phpnut
Date: 3:36:08 AM, Thursday, October 27, 2005
Message:
Typo
[1234]
Author: phpnut
Date: 3:34:07 AM, Thursday, October 27, 2005
Message:
More work on the Session classes and adding the first methods the to Security class
[1233]
Author: phpnut
Date: 3:05:46 AM, Thursday, October 27, 2005
Message:
Start to core security class added.
Moved paths.php to cake/config/
Refactoring Session classes
[1232]
Author: phpnut
Date: 2:20:25 AM, Thursday, October 27, 2005
Message:
More work on the core session class.
Adding session component class.
Added fix for errors messages not working with validation.
Added possible fix for inflector now working on the word status.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1243 3807eeeb-6ff5-0310-8944-8be069107fe0
Author: phpnut
Date: 10:18:54 AM, Wednesday, October 26, 2005
Message:
Removing link.
[1215]
Author: phpnut
Date: 10:16:54 AM, Wednesday, October 26, 2005
Message:
Changed alpha version number.
[1213]
Author: phpnut
Date: 9:48:55 AM, Wednesday, October 26, 2005
Message:
Reverting changes to the HtmlHelper class to include AJAX by default in my last commit.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1217 3807eeeb-6ff5-0310-8944-8be069107fe0
Author: phpnut
Date: 4:44:45 AM, Wednesday, October 26, 2005
Message:
AJAX is now available as a by default in the $html variable in the templates.
You access it like this:
$html->Ajax->xxx();
Updated default templates.
[1208]
Author: phpnut
Date: 6:49:26 PM, Tuesday, October 25, 2005
Message:
Adding fix in Controller::generateFieldNames();
[1203]
Author: phpnut
Date: 10:40:28 AM, Tuesday, October 25, 2005
Message:
Changes made to core templates and css.
Fixed added for Ticket #60
[1202]
Author: phpnut
Date: 2:30:58 AM, Tuesday, October 25, 2005
Message:
Fix for cake error templates
Fixed a key for tables that are underscored in scaffolded code.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1211 3807eeeb-6ff5-0310-8944-8be069107fe0
Author: phpnut
Date: 9:51:53 PM, Monday, October 24, 2005
Message:
Reverting changes to the Html::formTag();
I had changed it to allow CamelCase class names to be used, but this is a reference to a url
not a model class like the other Html::methods();
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1201 3807eeeb-6ff5-0310-8944-8be069107fe0
Author: phpnut
Date: 4:50:40 AM, Monday, October 24, 2005
Message:
Adding comment to doc block with possible settings for the driver configuration
[1191]
Author: phpnut
Date: 4:37:46 AM, Monday, October 24, 2005
Message:
Adding configuration setting in database.php to set the type of connection you want to use.
Read the comments in the doc block to explain how to set the connection type.
doc block also has information on setting the port to connect to.
Corrected Html::tableHeaders();
Closing Ticket #98 and Ticket #26
[1190]
Author: phpnut
Date: 3:25:00 AM, Monday, October 24, 2005
Message:
Fix for Ticket #36
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1193 3807eeeb-6ff5-0310-8944-8be069107fe0
Author: phpnut
Date: 2:44:40 AM, Monday, October 24, 2005
Message:
Should complete work on new look for scaffold
[1187]
Author: phpnut
Date: 1:59:09 AM, Monday, October 24, 2005
Message:
More work on scaffold to get all changes done in the last few days correctly displaying.
Fix for Ticket #89
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1189 3807eeeb-6ff5-0310-8944-8be069107fe0
Author: phpnut
Date: 10:42:06 PM, Sunday, October 23, 2005
Message:
Fixed errors created with change I have been making.
Controller::generateFields(); was not setting the tagName properly.
[1182]
Author: phpnut
Date: 10:13:33 PM, Sunday, October 23, 2005
Message:
Removing the need to set hasMany and hasAndBelongsToMany to plural.
All associations should be created as CamelCase associations now.
[1181]
Author: phpnut
Date: 9:38:50 PM, Sunday, October 23, 2005
Message:
Forgot dispatcher.php in last commit
[1180]
Author: phpnut
Date: 9:37:06 PM, Sunday, October 23, 2005
Message:
refactoring and removing unneeded calls to Inflector
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1184 3807eeeb-6ff5-0310-8944-8be069107fe0
Author: phpnut
Date: 8:52:12 PM, Sunday, October 23, 2005
Message:
adding cakephp power image
[1177]
Author: phpnut
Date: 8:48:32 PM, Sunday, October 23, 2005
Message:
Updated scaffold to use new layout template.
[1176]
Author: phpnut
Date: 7:09:27 PM, Sunday, October 23, 2005
Message:
renaming cake/conf to cake/config
[1175]
Author: phpnut
Date: 7:06:04 PM, Sunday, October 23, 2005
Message:
moving tags.ini.php to cake/conf/tags.ini.php
[1174]
Author: phpnut
Date: 6:52:19 PM, Sunday, October 23, 2005
Message:
updating css/cake.scaffold.css
[1173]
Author: phpnut
Date: 6:46:07 PM, Sunday, October 23, 2005
Message:
updating css/cake.deafult.css and default layout
[1172]
Author: phpnut
Date: 6:42:48 PM, Sunday, October 23, 2005
Message:
updating css/cake.scaffold.css
[1171]
Author: phpnut
Date: 6:41:00 PM, Sunday, October 23, 2005
Message:
Adding spaces to tags.ini file
[1170]
Author: phpnut
Date: 6:37:17 PM, Sunday, October 23, 2005
Message:
Removing code that is no longer used
[1169]
Author: phpnut
Date: 6:34:24 PM, Sunday, October 23, 2005
Message:
removing files that are no longer used
[1168]
Author: phpnut
Date: 6:19:46 PM, Sunday, October 23, 2005
Message:
Cleaning up Scaffold class.
[1167]
Author: phpnut
Date: 5:26:27 PM, Sunday, October 23, 2005
Message:
Changes are added to remove the $this->models array that would hold the instance of the models.
Now they are available as $this->ModelName; This should be CamelCased.
Added check in the Scaffold to return forms when accessing the actions update, create without a form being submitted.
[1166]
Author: phpnut
Date: 3:53:08 PM, Sunday, October 23, 2005
Message:
Making change to allow setting the name of a class camel cased to fix issues with PHP 4.
In both the model and the controllers:
Model: var $name = 'ModelName';
Controller: var $name = 'ControllerName'; ControllerName not ControllerNameController.
[1165]
Author: phpnut
Date: 1:45:17 PM, Sunday, October 23, 2005
Message:
Fix added for problems with key name that was added to the class registry when underscored
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1179 3807eeeb-6ff5-0310-8944-8be069107fe0
Author: phpnut
Date: 1:39:26 PM, Saturday, October 22, 2005
Message:
Just about done with refactoring the model class.
This should be tested to make sure all changes are working as expected.
[1158]
Author: phpnut
Date: 5:34:41 AM, Saturday, October 22, 2005
Message:
More work on associations.
Adding fields setting, order by and conditions to hasMany and hasAndBelongsToMany
[1157]
Author: phpnut
Date: 3:39:13 AM, Saturday, October 22, 2005
Message:
More cleanup in Model class.
[1156]
Author: phpnut
Date: 2:43:38 AM, Saturday, October 22, 2005
Message:
Removing duplicate code the the associations.
Added Model::_associationSwitch(); to move all association settings to one location and remove duplicate code.
[1155]
Author: phpnut
Date: 1:52:47 AM, Saturday, October 22, 2005
Message:
More cleaning up of the model class
[1154]
Author: phpnut
Date: 1:40:34 AM, Saturday, October 22, 2005
Message:
Cleaning up code layout
[1153]
Author: phpnut
Date: 1:32:05 AM, Saturday, October 22, 2005
Message:
removing temp variables and extra calls to Inflector::underscore();
[1152]
Author: phpnut
Date: 1:22:58 AM, Saturday, October 22, 2005
Message:
More work on associations.
Removing code that is no longer needed.
[1151]
Author: phpnut
Date: 12:02:43 AM, Saturday, October 22, 2005
Message:
more work on associations
[1150]
Author: phpnut
Date: 6:25:45 PM, Friday, October 21, 2005
Message:
more refactoring of associations
[1149]
Author: phpnut
Date: 6:04:18 PM, Friday, October 21, 2005
Message:
refactoring model and adding more association code
[1145]
Author: phpnut
Date: 2:43:05 PM, Thursday, October 20, 2005
Message:
more refactoring on associations
[1143]
Author: phpnut
Date: 1:44:42 PM, Thursday, October 20, 2005
Message:
Refactoring associations code.
Starting work allowing full use of associations array settings
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1160 3807eeeb-6ff5-0310-8944-8be069107fe0
Adding empty directories where overrides for the core views can be placed.
Adding an empty directory for elements
[1127]
Adding directory to hold core inflection files
[1128]
More work on the new inflector.
This still is not completed but should be soon
[1130]
Documentation strings, du jour.
[1131]
Docstringed and ready. Inflector lacks one docstring. It is noted in its todo
[1132]
Incomplete documentation, and some corrections to previous documentation.
Gwoo noted that there'll be more changes in the Helpers soon, so I back off here.
[1134]
Adding before filters back to code.
Commented out a regex in Inflector::pluralize(); that os causing problems.
Removed a duplicate define in index.php.
Removed the bare array being set automatically when using requestAction().
With this change you must use requestAction(); like this.
$object->requestAction('/bare/controller/action/param');
Added GOTCHAS file with links to problems people may have with CakePHP.
Some more work done on new Inflector.
[1135]
Added a check when trying to access a private method of a controller.
This will now display an error page informing user that this is not allowed.
[1137]
Fixed a few undefined variable errors in the code
Corrected problem with double layout display when an error is returned and caught.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1138 3807eeeb-6ff5-0310-8944-8be069107fe0
[1079]
Merged [1005] committed by nate but not added to core prior to release.
Merged [1078] prior to modifying all developers sandboxes.
[1081]
adding view and template directories
[1082]
adding base files for view generator
[1083]
correcting all package and sub package tags for in doc blocks.
Making sure every file in the core has doc block in them
[1084]
renaming working copy of latest release
[1093]
Added fix for associations using underscores if var $useTable is set in the associated models.
This closes ticket #11.
[1094]
Fix for Ticket #24.
The problem was tracked to a variable in View::_render();
$loadedHelpers was being assigned a reference when it when it should not have been.
[1096]
Initial work on controller components needs testing.
Also added a work around for the basics.php uses().
Using the define DS where the files from the original version are now located in deeper libs directories.
[1097]
committing a few typos in the code I added
[1098]
reformatting code in component.php
[1104]
changed the test route and corrected a regex in inflector.
[1111]
removing the contructor from dispatcher, it is not needed
[1112]
Changes made for errors when a file is not present in webroot.
Fixed the regex used in Router::parse().
Change the error layout template.
[1113]
Changes to Folder class to allow setting the permissions mode when constructing.
This class needs to be refactored and move everything that is in the contructor out.
The constructor should set the vars for use in other Folder::"methods"().
Will work on this at a later time.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1114 3807eeeb-6ff5-0310-8944-8be069107fe0