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: [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: [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: [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