CakePHP : the rapid development php framework

CakePHP makes building web applications simpler, faster and require less code.

Changelogs

Version 1.3.0-RC1.

  • ee3c2ef Updating version number to 1.3.0-RC1
  • 6516997 Making memory leak test work with margins present in php5.3.1
  • 428ee19 Updating paths so app layout doesn't break tests.
  • dbe35a4 Updating Object test to include fixtures for both comment fixtures.
  • 2a19a8d Updating CakeSchema test so it runs in both solo and group contexts. Changing table used on TestPluginComment to match its name.
  • 27ffd43 Fixing issue in component test where AppController will cause failing tests due to bleed through.
  • a6efda6 Adding fixtures to fix errors in schema shell test case.
  • f0e73e1 Changing order of expectations to get more correct results
  • 4256cbc Fixing fails in apishell test.
  • 322d8e6 Removing duplicate method.
  • d5fa897 Adding tests for startupProcess and shutDownProcess in controller Fixing variable reference
  • e0eb48d Adding expectError to catch errors coming from FileEngine. Fixing incorrect tests in ApcTest.
  • 75e9838 Removing debug() from test case.
  • a1124e3 Fixing formatting.
  • a38846b prevent creating tmp dirs all over the file system if running 'anonymous' shells
  • 8dfadaf Changing ternary operator usage syntax to be compliant with php 5.2 and below
  • 3f0c0d8 Adding doc blocks for new methods.
  • 37cf554 Adding tests for Component::triggerCallback(). Deprecating other Component methods, as they are just wrappers for triggerCallback().
  • c8f6a8e Re-adding file delete by error
  • b782563 Adding test for form input templates
  • 0ca5c11 Making the form helper put the "required" class on all imputs that have a validation rule and does not explicitly sets allowEmpty => true in validation array
  • cec6692 Re-arrange the arguments of triggerCallback. Modifying Dispatcher so its not calling methods on Component directly. Additional methods added to Controller.
  • e75f6fe Refactoring existing callbacks into triggerCallback().
  • 748ec4e Fixing baking views for models in plugins. Making sure that the temporary controller object gets its plugin property set so the correct models are loaded and used. Fixes #381
  • ec5d972 Model::find(first) no longer uses the id set in a model as the default conditions. Fixes #266
  • 0960abc Removing workaround code for PHP 5.3.0. Error is no longer being generated in PHP 5.3.1
  • 1f25bb3 Refactoring option extraction into a separate method.
  • 3192e13 Fixing magic select creation for fields that have plural variables added to the view.
  • 056b87d Implementing template for input formats, test pending
  • e4b392a Updating and expanding form helper submit documentation. Refs #335
  • 47afcee Expanding documentation for FormHelper::submit() Fixes #390
  • 348fe6f Expanding documentation for FormHelper::submit() Fixes #390
  • 585f731 Mostly reverting changes made in [8ce9560f4107125a0b4b8128ee5f9c51c86e3179]. Using a console like project bake from outside a cake app no longer causes errors from Configure. Fixes #387
  • 9632e74 Making bake model.ctp only include the association comment when there is a non empty association. Fixes #393
  • 48cd4d5 Fix newline in VERSION.txt
  • 6ae54fd Using the method cache for the rest of the return statements in DboSource::name
  • 9a4de85 Improving the guessing process of required fields in the form helper. Now it does not rely on the "required" property of the validation array anymore, which was misleading
  • 753721c Making private properties and methods in FileEngine protected. Will make any possible subclasses easier to work with.
  • fbf054b Making FileEngine emit errors when a path does not exist but is used for caching. Should make cryptic errors coming from Cache easier to figure out. Removed useless private property. Tests added. Fixes #384
  • b1a3e05 Fixing failing tests in ControllerTask.
  • 8615274 Fixing issue where baking a model non-interactively would omit hasMany associations. Tests added.
  • 8ce9560 Correcting forcing of debug = 1 in console. Updating order of bootstrapping to match the one used for web requests. Fixes #366
  • 7075aa5 Fixing DboSource not quoting table/field names with - in them. Tests expanded . Fixes #323
  • 416abed Test of ticket #323.
  • 763aa52 Fixing recursive directory creation when nested create() calls fail. Fixes #347
  • 06fc87f Fixing lack of space in meta tags lacking a link attribute. Fixes #371
  • f4c670e Fixing lack of space in meta tags lacking a link attribute. Fixes #371
  • 96bbbb2 Applying fixes made to JavascriptHelper to JsBaseEngine.
  • ab688b8 Adding test to check that postfix and prefix options don't go into inner objects. Tests added, fixes #348
  • 2209f19 Adding test to check that postfix and prefix options don't go into inner objects. Tests added, fixes #348
  • 63f7900 Checking if the last query returned a error, tests added. Fixes #72.
  • 14911cf Fixing typo and introducing 'Overwrite all' functionallity. Fixes #333.
  • bff7ce6 Refactoring Dispatcher::asset() to remove code left behind from previous refactoring. Simplifies asset location as well.
  • 0b1efd3 Fixing delivery of plugin assets that reside in the root of a plugin webroot directory. Tests added.
  • eb96f4a Minor refactor of ConnectionManager::__connectionData(). Uses pluginSplit() now to consolidate plugin dot notation handling.
  • 2279b1a Adding patches, and tests from tkykmw. Add support for plugin datasource drivers. Fixes #297
  • fc499ac Reversing order of short cut checks. Fixes issues in PHP 5.1.x. Fixes #351
  • d7b49e3 Not forcing the use of ds, so will use $useDbConfig instead, tests added. Fixes #324.
  • f04add4 Fixing querystring parameters being chopped off of absolute webroot asset paths.
  • dc8f49f Modifying the bootstrap process, to match the documented changes. $pluginPaths style variables will no longer work. You need to use App::build() to set paths in the bootstrap file. Added a build() call before the bootstrap is included. This allows cold cache import() calls to work from bootstrap.php.
  • d7dd63d Adding the ability to bake all views for one specific action. Tests added. Fixes #251
  • effbbec Simplifying App::core() path generation.
  • 6ccc43d Adding tests for Cache not generating errors when Cache.disable = true. Refs #286
  • 3f667eb Adding skipTables to ModelTask. Allows skipping of predefined tables. Adding i18n table to the default list of skipped tables. Fixes #327
  • b89f40b Adding file omitted from [46948dd2c046049bae07baeedb62c8fa4cf258f0]
  • 8b6423e Renaming properties to be protected.
  • 5f5aae7 Adding property to signal which actions to skip finding templates for. Fixes #330
  • 2e8e233 Fixing syntax error for baked component test case. Updated relevant test case.
  • a479f32 Clarifying the behaviour of FormHelper::button() fixes #335
  • 7a655f7 Fixing broken skipIf commited in 46948dd2c046049bae07baeedb62c8fa4cf258f0
  • 5653c72 Fixing an small error with token parsing, tests added. Refs #333.
  • f6f04b6 Clearing variables after running all the methods. Fixes #333.
  • d975dc3 Adding tests for previous commit. Refs #310.
  • 46948dd Fixing memory leak in ThemeView where __paths would grow each time _paths() was called. Fixes #329
  • d5ea6b7 Flushing the CR after a model is baked, tests added. Refs #310.
  • 0ce14ce Adding return statement, preventing infinite loops when no default fields are bound, and unbindTranslation() is called with no fields. Fixes #307
  • 0611f1b Flushing the CR after a model file is created, so a controller can be full baked without the need of restarting an bake session. Fixes #310.
  • 3a03672 Fixing formatting of code.
  • 0fda18d Fixing entity encoding of url strings inside remoteFunctions contained in safe CDATA blocks. Fixes #127
  • b90a64c Adding Android and iPod as Mobile useragent names. Fixes #319
  • 7384f56 Fixing issues with old method names being used in EmailComponent.
  • 8c1c0e6 Allowing a html tag's attribute to be omitted from ouput by setting its value to null or false. Closes #316
  • 1febd77 Fixing include errors caused by empty asset filters in Dispatcher::asset(). Fixes #313
  • 6f08d86 Links generated by PaginatorHelper::prev and PaginatorHelper::next are now wrapped in 'span' or the tag specified in options. Fixes #311
  • 2cf294a Fixing typo in Finland for sv-fi language. Fixes #308
  • 104da15 Making built-in Canadian postal code validation accept postal codes with no spaces. Fixes #289
  • e6404f2 Making built-in Canadian postal code validation accept postal codes with no spaces. Fixes #289
  • 2c1e6de Another fix for array_values() throwing a warning when using Tree Behavior under certain situations.
  • f585630 Test case: EmailComponent $to accepts array (closes 293)
  • a20c809 EmailComponent: Accept arrays for $to variable (closes #293)
  • 447e953 Add exact comparison to Debugger::checkSecurityKeys(). Fixes issues with modifying the value by one digit. Fixes #298
  • 4b269e3 Fixing RequestHandler::beforeRedirect() and issues with array urls, where incompatibilities between standard url arrays and requestAction url arrays caused incorrect results. Tests added. Fixes #276
  • 2adac05 Fixing RequestHandler::beforeRedirect() and issues with array urls, where incompatibilities between standard url arrays and requestAction url arrays caused incorrect results. Tests added. Fixes #276
  • 205c95e Fix array_values() warning when using Tree Behavior under certain situations.
  • 8d382d9 Fixes #288. TextHelper truncation not playing nice with html in ending.
  • a81d57a Changing the class name to lowercase before ordering the ClassRegistry in PHP 4 to not have problems of duplication of tasks in the shell. Fixes #186.
  • aadf62d Improving tests for Set::diff
  • a89d9e4 Extra optimization for Set::diff(). Refer commit fde10b1.
  • 59a4732 Fixing issue where value of '$and' was appended to output string even when list array contained only one element. Fixed #285
  • be7ddfb Updating version numbers to 1.2.6
  • 7ac87d8 Updating links on home.ctp to point at github and lighthouse.
  • 3f9813a Removing unused statement, thanks jrbasso
  • fde10b1 Improving performance of Set::diff()
  • f2a94f5 Adding file omitted from [30cb38eb93b416f53abd946b5a48e2794cf61b70]
  • 887ddb9 Adding tests for deletion of multiple habtm associations. Reverting changes made in [15518b8c9ac6e022eda29cd907b8f1fe3537a188] that caused incorrect removal of links when deleting records. Fixes #247
  • 7cfb5ab Minor refactor of Model::_deleteLinks to improve readability.
  • 1dd0a64 Optimizations for DbouSource. Now the result for some methods is stored in a memory cache inside the poperty $methodCache
  • 832b15b Fixing issues in JqueryEngineHelper where eval()'ed responses wouldn't run code contained inside $js->domReady() due to implementation differences between $(document).ready() and $(document).bind('ready'). Tests updated.
  • 3836592 Removing deprecated and unused class property.
  • e8be5ba Expanding doc blocks for router::url.
  • 30cb38e Refactoring extensions in ScaffoldView to reflect removal of magic .thtml extension. Adding test for interaction of Themed views and Scaffolded views. Fixes #255
  • 2b353e9 Minor optimizations in Router
  • c9e047c Adding 'orderYear' option for FormHelper::year to allow control over ordering of select options
  • 57997e7 Refactory of DboSource::name() to improve performance. Added more tests to it.
  • 2d81d25 Fixing issue where webroot paths would be incorrect when using a virtual host setup and no mod_rewrite. An additional app/webroot would be appended. Incorrect tests updated. Fixes #259
  • 66a8910 Fixing cakephp domain name.
  • cdd8784 Fixing @link tags to ease merging.
  • 527eec1 Fixing doc tags to make merge easier.
  • a318ba4 Enabling code coverage to run on 'All tests' group.
  • 3a1b092 Additional doc tag fixes for Router.
  • fc30405 Removing Session deletion of nonce token on blackhole. Fixes possible CSRF risk from multiple submissions of the same invalid data. Refs #214
  • 81414b7 Enabling group code coverage on plugins outside APP/plugins path.
  • c195d65 Fixing TranslateBehavior test to run in php4.
  • 9cbb9d1 Fixing php4 compatibility and errors from array to string conversion.
  • 16eaa99 optimization in AuthComponent class startup method
  • b1a0eb1 Fixing double DS when requiring cache engines. Fixes #254
  • 3e4a963 Fixing notice due by using a non-existent variable.
  • c2e7e56 Updating doc blocks for View and Theme View.
  • a77a064 Updating doc blocks for the helpers. Unifying formatting and adding missing @access tags and fixing various formatting differences.
  • 134ce68 Updating and correct doc blocks for lib classes. Removing unused private property in Router.
  • b24b43b Fixing docblock
  • 38eac37 Removing optional group flag for routed parameters. Fixes issues with trailing empty route parameters. Tests added for correct parsing of these routes. Fixes #252
  • f6d12db Adding support for CURRENT_TIMESTAMP to all dbo's.
  • 5fcbc33 Adding tests for CURRENT_TIMESTAMP to DboSource.
  • 98749a5 Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
  • 7459da2 Updating doc blocks for HttpSocket and File.
  • b33fdba Updating doc blocks on Folder class and implementing a few small refactors to make code simpler.
  • ddf938c Correcting error message in test
  • 9c24c72 Fixing regression introduced in commit c2d19c2011d39867a34c3ffc45bd8090f36288fd, closes #258
  • 0320044 Fixing TranslateBehavior and $tablePrefix. Closes #168
  • 3c26528 Added support for Message-ID headers.
  • 0387907 Adding Security.cipherSeed generation to bake project task, closes #237
  • c2d19c2 Various Optimizations, thanks jrbasso. Closes #232
  • 23a62b4 Updating and expanding documentation blocks in Dispatcher and CakeLog.
  • 1877281 Expanding doc blocks for Cache.
  • 7e2079b Removing use of Object::dispatchMethod() in Dispatcher::_invoke(). This has a miniscule performance increase as well as makes protected methods not prefixed with '_' inaccessible by url. Fixes #21
  • ad496ce Optimized Security::cipher(). Fixes #176
  • 5d35fd8 Fixing issues in DboSource::defaultConditions() and DboSource::conditions() where doubly deleting a record from the beforeDelete and delete() could create incorrect conditions that would delete all records in a table. Fixes #250
  • 2e46504 Fixed failing test case due to changes in 1.3.
  • f4e837d Removing all methods currently issuing warnings about being deprecated.
  • 513db9a Removing repeated checks, as they've been refactored into Cache::increment() and Cache::decrement(). Adding skipIf()'s to ApcEngineTest in case apc_inc, and apc_dec are not available.
  • ff7e906 Removing php5 visibility keywords. Fixing increment count tests in xcache test.
  • 47c7387 Fixing various errors related to Cache::increment() and Cache::decrement(). Removing php5 only keywords from test cases. Updating memcache tests, to correctly skip multiple server test when multiple memcached servers cannot be found.
  • e150db2 Removing test ignore
  • 2d3cde1 Updating doc block for ConnectionManager and including note about possible PHP4 issues.
  • b21538c Getting a list of connections in the constructor of ConnectionManager class. Fixes issues where using ConnectionManager::create() before the standard connections are enumerated will result in the standard connections never being enumerated. Fixes #206
  • c5a5d1d Making Session.model the required setting and not Session.table. Session.table can still be used to set the table name used when configuring sessions, but the default value is cake_session as before. Fixes #223
  • dff7e17 Adding atomic increment and decrement methods to cache engines, closes #234
  • a804050 Fixing spacing between button tag attributes. Fixes #241
  • 913450d Additional tests for virtualFields and fixing issues with index 0 being removed. Fixes #208
  • 570c9e5 Cleaning up commented and unneeded test cases and moving tests to more appropriate file
  • 3174630 Refactoring tests in l10n that use object properties.
  • ae4a31f Making DEFAULT_LANGUAGE also set $language var which sets Config.language to a correct value. Fixes #228
  • 6e22261 small optimization in time units
  • 85b1930 Fixing ConsoleShell's use of Router. Fixes #236
  • c4afeb3 Minor optimization on datasource and Mysql[i].
  • e328043 Minor optimization in helper. No need cast, always is array.
  • 8d5acf0 Infector::_cache is a protected method and no need be singleton.
  • d2d19ee Fixing import in CakeSession.
  • 6882d96 Caching charset in h(). It's save round 50% over each call by helpers.
  • 96fd0bf Fixing error introduced in previous commit due to bad merge
  • 22073e3 Renaming Configure var 'Security.cipher_seed' to 'Security.cipherSeed'. Also added a srand() call at end of Security::cipher function to reset seed. Closes #73 , #183 , #218
  • 39dd15d
  • e1b0c41 Making Model::isVirtualField() and Model::getVirtualField() work with both `Model.field` as `field`. This fixes a number of issues in conditions, and fields arrays when model aliases are used. Fixes #208 and #220
  • 49ad582 Fixes #222 . Fixed ShellDispatcher constructors to not issue warnings on PHP5.3 with E_STRICT
  • 9f8e0e1 Removing getTests included by accident.
  • 080e347 Minor refactor, and adding tests from previous commit. Fixes #208
  • 7943f3d allowing vritual fields to work whether specified with a model alias or not. by concequence allows find('list', array('fields' => array('id', 'virtual'))) to work
  • cb4a1f0 Fixing issue with persistModels and plugin models, closes #192 and #198
  • 06ba7ac Adding omitted default route, and test cases to test its functionality. Fixes #212
  • d60a66f Separate the variables of internationalized strings in controllers of cake bake.
  • 473e07a Putting __() in strings that missing internationalization.
  • 0ac99ed Replacing "echo sprintf" by "printf" where possible. Fixes #209.
  • 5c47d8d Trimming trailing whitespace from files. Refs #201
  • 15b8a3e Updating copyright date on all files.
  • 4e3aede Fixing persitModel and plugin Behaviors. Closes #192
  • 5149d65 Adding redirect to baked controllers so when no delete could be done an error page is not displayed. Fixes #188
  • 5654aa0 last commit broke schema, this works better with the help of markstory
  • 671cdbf Corrected docblock.
  • e5836ff Implemented rendered e-mail retrieval.
  • a9a3138 Cleaning up tests for EmailComponent
  • a52a4fb Renaming EmailComponent::_renderTemplate() to EmailComponent::_render().
  • 6f0f559 Adding a test for loading of custom view class for email layout rendering.
  • c3aa0de Removing redundant class attribute - debug mode should always be enabled by setting EmailComponent:: to 'debug'.
  • 2c5eb20 Tightening up some some email pattern test cases.
  • 8a9dfb5 Adding test for EmailComponent::send() where is a numerically indexed array.
  • cddfd71 Adding tests for testSendDebug
  • 73e6597 Moving __osFix to top of file. Adding test for EmailComponent::startup().
  • d43041b First pass at email component header refactor.
  • 4dbdf1e Converting EmailComponent private methods to protected.