CakePHP : the rapid development php framework

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

Changelogs

Version 2.0.0-dev.

  • be96338 Updating version numbers for 2.0.0-dev
  • 6f1eca7 Fixing calltime pass by reference deprecation warnings.
  • 4009b6b Fixing more @package tags, and removing duplicate tags in classes.
  • 2385d9c Updating console class @package tags.
  • d858932 Missed a package tag.
  • ef77e60 Removing @subpackage tags, moving contents of @subpackage into @package. Removing duplicate cake.cake in @package tags. Renaming cake.app -> app
  • ff18fe4 Optimization in postLink and create methods from FormHelper.
  • 3fc8a1f Removing whitespace.
  • e20ea8a Renaming Dispatcher::__loadRoutes -> Dispatcher::_loadRoutes to match naming conventions. Updating method name usage, as assertType is deprecated as of PHPUnit 3.5.6
  • 8eaba29 Fixing an entirely wrong condition that prevented routes from being loaded.
  • a37b3a1 Adding more documentation to DboSource.
  • 98c356a Adding some more documentation to ModelBehavior as well as basic usage.
  • aff5cd7 Adding a doc block and code sample for MediaView.
  • 27477bb Removing extra parameter.
  • 3c6fc55 Removing strlower() calls as they are not needed in php5 land.
  • af2a512 Fixing issue where prefixes would not be correctly loaded for a request.
  • 1c6b261 Correcting and expanding documentation on console classes.
  • afbc73a More documentation.
  • d5589d2 more doc blocks.
  • 4312a26 Removing View::$autoRender it wasn't used. Removing @access tags, which just restated the visibility keywords. Adding documentation to a number of parameters and methods.
  • f85567a Removing @author tags that snuck in.
  • de7b324 Fixing more strict warnings. Removing & on component callbacks. Updating incorrect method signatures.
  • 24373ae Removing uses() it was deprecated in 1.3. Use App::import() instead.
  • f50a97b Making PagesController test unskipped in all_tests.
  • 42754c6 Making more tests no longer skip in test suites.
  • 95f5832 Removing a duplicate test, and extra classes.
  • 339cb41 Using $_mergeParent to unskip tests in test suites.
  • 6206fef Starting to switch to a _mergeParent. This will allow un skipping of many tests, and make mergeVars more flexible.
  • 862a2bc Removing duplicate class definition that could cause test suite inconsistencies. Adding skip for when AppController is defined. Changing how mock models are constructed to better use Model::__construct parameters.
  • 9dcea30 making assertions run against the test case, not the subject test case.
  • 5ff376e Adding parent calls.
  • a054695 Fixing failing tests.
  • 97c82e2 Fixed problems where running all tests will fail due to duplicate classes
  • 1531a72 Removing duplicated tests, and tests for methods that are not implemented in the subclasses.
  • 7b4ffa2 Fixing incorrect exception type.
  • a6014cf Fixed the define name to run all socket tests.
  • 29441ca Added ObjectCollection test to libs group
  • 754c9b2 Updated to HttpSocket, HttpResponse and CakeSocket use SocketException.
  • b9143dc Added ControllerTestCase class for testing controllers. Fixes #1244
  • ad5e724 Fixed documentation.
  • 575da67 Fixed basic proxy test.
  • 478d158 Removing a var_dump because I'm a muppet.
  • 9940728 Updated the config of auth in digest method.
  • 84414ee Removing CakeSession::watch() and CakeSession::ignore(). You should use logging, or an interactive debugger instead.
  • 75af48b Updating bake templates to let PUT methods through as well.
  • 10bf41a Merge commit '42a5ebf47b73bbdf200f0238e30e6d4893695f80' into 2.0
  • 19f9cae Fixing tests so they initialize the session, before trying to test things.
  • 9fa1bec Move Controller::paginate() into PaginatorComponent
  • 296aef2 Removed the import. It is called in request.
  • 2cbece6 Removed the lineBreak attribute, this is fixed in RFC.
  • cf7aae7 Removed parseHeader from HttpSocket (it was not used). Moved the tests of parseHeader to HttpResponse.
  • bd95179 Removing forced start of sessions now that they are lazily started.
  • daf6084 Converting assertions to not use compatibility wrappers.
  • 106c118 Making the id() test pass.
  • 8eebdff Updating session to lazy start after the first time an operation has been performed. This should make controllers that only use sessions on some actions perform better.
  • 9e1c85e Removing auto-start from CakeSession. Lazy starting will be more performant in most cases.
  • 37303d9 HttpResponse::getHeader() is more flexible to accept a custom header list.
  • 2f64afe Allowing the user change the response class.
  • 176da15 Moved the response methods from HttpSocket to HttpResponse.
  • 60a9d34 Updated the HttpSocket to use the new HttpResponse.
  • f45027e Adjusting HttpResponse responses in array to be more compatible.
  • dfb76d6 Created the HttpResponse to get HttpSocket responses.
  • 2fe6014 Fixing more strict warnings.
  • 0ac8d04 Fixing more strict warnings.
  • f84871a Fixing strict errors that were causing shell tests to fail. Fixing test case for bake test that has been getting skipped.
  • c20b5d7 Renamed setAuthConfig to configAuth, and setProxyConfig to configProxy.
  • 017385d Fixing most of the strict errors in the helper test suite.
  • f3445cd Making ModelBehavior::beforeFind() return true by default. Since returning null causes the find to abort, behaviors should return true if they are not going to return a query array.
  • dc7ff89 Fixing tests in ComponentCollection and HelperCollection as return of trigger now depends on the triggered objects. Removing annoying test that broke anytime something changed in Model.
  • bf22af6 Fixing more strict errors and usage errors in BehaviorCollection test. Making modParams only work if the result is an array. This is for compatibility with previous behaviour.
  • ce2e605 Adding containable to the AllBehaviors test as it now runs.
  • 3c69d9b Making ModelBehavior beforeX callbacks default to returning true. Returning null or false from a Behavior::before method will abort the operation. It felt illogical to have null continue, but false stop.
  • 48879f8 Fixing strict errors in translate and acl behaviors. Removing conditional definition of I18nModel. There is no reason for it to exist anymore. Removing duplicate class definition.
  • cc81f6d Fixing strict errors in Set class.
  • df21d19 Making a bunch of properties public so containable can hack around. Need to refactor and fix visibility issues. Fixing failing tests in containable.
  • 10c3587 Making modParams ignore null results. Test added.
  • a05baaa Removing BehaviorCollection::trigger() so it uses the parent method. Updating model to use the new behaviorcollection trigger method signature.
  • 81e009b Fixing additional strict warnings.
  • 33b8a35 Fixing strict warnings in TreeBehavior and a few other classes.
  • b135e38 Adding documentation.
  • 96968f7 Moving the modParams option into ObjectCollection, so it can replace the specific trigger method in BehaviorCollection. Changed how break behaves, so it is works better with modParams and collectReturn options. Tests updated and expanded.
  • d14d148 Making scaffold form view names consistent with those used in bake. Renaming test_app files. Fixes #501
  • 11df321 Updating scaffold templates to use post forms for delete buttons. Updating test case.
  • 4950615 Changing Scaffold to use exceptions to indicate error states. Starting to convert record deletion to POST only.
  • 661195d Updating __() use in scaffold to take advantage of sprintf() being built into __() now.
  • daffe3a Making baked code throw 404 errors when you try to edit, delete, or view records that do not exist. Updated tests.
  • 44c080d Making all core classes throw CakeException subclasses, this allows developers to catch framework exceptions with one catch. Adding package specific exceptions. Replacing generic exceptions in the codebase with CakeException + package exceptions.
  • 7ed19ea Allowed comma-delimited list in smtp $to var to be consistent with standard mail delivery. Fixes #1353
  • b3f55bf Added shorter timeout to fsockopen checks
  • d332f06 Making the cookies independent for each host.
  • 6c0efb6 Adding a base HttpException for all the various HttpExceptions that cake provides, this should make it easier to write concise catch blocks.
  • 60ada44 Making unknown errors with codes higher than 500 render as error500. Test added.
  • 504b4d4 Adding stack traces to logged exceptions, as I forgot them last time around.
  • eeafb55 Support to download requests.
  • 9bfd170 Making behaviour of debug() consistent between cli and web.
  • ceca179 Fixing more tests that were failing post merge.
  • 1e10874 Fixing validation methods + features lost in [f51ce734] due to a bad merge. Fixing additional tests to reflect changes in 2.0
  • 453c536 Putting the auth and proxy data in request attribute after request.
  • d97103d Making the format attribute customizable in helpers.
  • 0deaa6e Update basics test for debug() changes.
  • 1548b7b Expanding and correcting the doc block for ObjectCollection.
  • e9907cb Made debug() output html-safe strings by default.
  • 33d2f9a Refs #621. Provides default maxLimit for pagination to prevent url manipulation causing long queries.
  • bcacace Updating docs.
  • 7c23d28 Minor optimizations.
  • d656bda Renamed proxy method and calling togheter from host config.
  • 30a70b7 HttpSocket::_configUri() always change config attribute and it is public. This function dont need return it.
  • 33bb253 Minor optimization in HttpSocket::reset().
  • 151ea28 Default value to raw key, avoiding warnings if line is false.
  • c096eea Fixing failing tests caused by constants changing.
  • 0ec1e65 Removing collisions that prevent TestTask from being loaded.
  • 97fe32f Request return a pointer to body. It will reduce the memory usage in big responses.
  • 5eab027 Removed unnecessary pass by references
  • 5f47de7 Adding @package tags. Moving MissingModelException with the other exceptions.
  • d202ea6 Fixing issue loading plugin models when uses == false.
  • 9dd78c7 Updating Multibyte class to use new Configure api.
  • 5ad8d8a Adding a parameter to configured() to allow you to check if a particular config has been configured.
  • c52d532 Replaced the *printf with i18n aliases by i18n aliases with params.
  • 30661ed Support to vsprintf in i18n aliases (__*() functions).
  • 0b18fc2 Changing some requires so things run smoother.
  • ba63a29 Fixing failing test caused by additional trailing space.
  • b49c440 Implementing store and restore for Configure. Test cases added.
  • f4d4811 Fixed wrong documentation.
  • 539f2cd Removing a cakeError that slipped through the cracks.
  • 94258e1 Doing some reformatting and removing calls to read() since we are already in Configure.
  • af768c0 Removing non-existant databases from comments.
  • 0cf02ec Fixing issues caused by CORE_PATH not being reliable.
  • ae814db Changing IniAcl to use IniReader.
  • 8031d33 Fixing more E_STRICT notices and adding a type check to DboSource::dropSchema().
  • a6c5065 Fixing a few more E_STRICT errors in postgres test/class.
  • 843f5c6 Fixing E_STRICT error in ConsoleErrorHandler.
  • 7e29859 Fixing E_STRICT errors in test models.
  • 7e3c980 Removing reference operators in ModelBehavior.
  • 18fb12c Removing & pass by ref operators as they aren't needed any more. Fixing a bunch of E_STRICT errors.
  • 64d1f79 Adding fixtures that fixed MissingTableExceptions I was getting.
  • d137595 Removing strtolower() calls. You must now call model magic findBy and findAllBy using camelcase forms.
  • 4661374 Removing a duplicated property. Changing is_a() to instanceof as it marginally faster. Adding a comment to getConnection as it was missing it. Minor optimization to a regular expression.
  • 159f25f Adding ini file and more tests for types.
  • 98704d3 Adding nested value support to IniReader. Adding boolean conversions. Adding test cases.
  • 26980c2 Adding file that was omitted from previous commits.
  • 1e569f5 Changing IniFile to be a ConfigReader for use with Configure. Test case updated.
  • 9e32c13 Updating doc blocks.
  • dd18efb Append Controller to error class name for isAuthorized() not implemented.
  • 7eab3b2 Moving load() logic out of Configure, and putting it into PhpReader. Updating test cases. store() still needs to be properly implemented.
  • 6618178 Adding more checks into PhpReader that currently exist in Configure.
  • 9b55487 Removing a dead isset() and collapsing an if.
  • aef53cd Adding some more basic methods.
  • da632fe Renaming method to match other core classes with similar features.
  • 9b8456c Adding an interface to define the necessary public methods. Adding insertion of configure readers. Adding tests.
  • c4743a2 Changing the test with get to use version instead auth.
  • 123b225 Formatting
  • 3f910dc Formatting
  • 874a117 Cleaning auth and proxy configuration in full reset.
  • 075bdeb Moved the proxy configuration from request to class attribute.
  • f004bef DigestAuthentication adapted to new auth in HttpSocket.
  • 66d0986 Pepending table name to index generation to avoid name clashes Finally, all tests using a Sqlite database pass
  • e167271 Making more DboSlite tests pass
  • 3370b25 Fixing a couple more tests
  • 7863f14 Adding new test cases into configure suite.
  • bbb15c2 Adding more tests and better errors for PhpReader.
  • ae328ff Adding plugin support for PhpReader. Tests added.
  • fdb5955 Adding PhpReader to implement php file reading as per #1334
  • 4325e67 Fixing setAuthConfig to accept false as param to remove auth config. Tests added.
  • cd24aca Removing auth key from request and putting this as attribute.
  • 32af53a Fixing test for sqlite
  • cdc4cb9 Implementing method in DboSqlite to avoid error while running the test suite
  • 2e04c52 Fixing some tests to make them run on sqlite
  • aa0bad9 Ignore errorHandler if warning suppressor (@command()) is used.
  • e1e8026 Support to proxy authentication in basic authentication.
  • 64dcca6 Throw exception when authentication class dont support authentication/proxyAuthentication method.
  • b9010b0 Support to proxy in HttpSocket.
  • 2e9283a Fixing fixture loading for sqlite
  • 0d93520 Fixing test case for sqlite
  • ffaec10 Fixing the result of App::import() when name of class have slash.
  • a791687 Adding try catch for pdo exception on DboSource::_execute
  • 130fe60 Skipping test incompatiblw with mysql
  • 592dda9 Fixing test to make it pass using DboSqlite
  • 372123f Moving common method put from DboMysl into DboSource, this makes more sqlite tests pass
  • 40585a3 Adding support for userPath in IniAcl. Test case added. Fixes #1291
  • 2495b3c Trimming whitespace and adding a file header.
  • 3ddff87 Converting IniAcl to use IniFile, this removes one of the classes responsibilities.
  • 35611d5 Fleshing out IniFile a bit more.
  • 071cd9b Adding very naive implementation of an ini file parser.
  • 9d3b3a7 Starting to extract Ini file parsing out of IniAcl as it breaks single responsibility, and ini file parsing should be generic enough to be reused. Adding a test case.
  • cc18c15 Fixing coding standards.
  • 43c184b Fixing issues with CLI test runner where the error handler would continue to be cakephp's instead of PHPUnit's.
  • 1f72e50 Fixing incorrect imports that caused test case to fail in CLI when run by itself.
  • 91b5a52 Making ConsoleErrorHandler be invoked with the correct error reporting level.
  • 284a8db Moving error handling classes into a separate directory. Moving error handling test cases into a directory that matches the one in libs. Updating imports.
  • e40ee25 Minor optimization in h() Minor optimizations in FormHelper, as calls to ArrayAccess methods are avoided now.
  • 7bfdbff Adding more documentation to core.php.
  • da98791 Adding some more documentation about precedence of configuration.
  • 1411e94 Fixed failing test due to missing CakeRequest class
  • 8492f20 Added tests for object collection
  • f08fa52 Syncing skel/config/core.php
  • 3457797 Fixing issue where an AppController::appError would cause errors as $method was not a real method.
  • d3f0d25 Removing error masking in ErrorHandler, instead correctly calling set_error_handler() works better.
  • 492bcea mproving decribing process of tables in sqlite
  • 0ff0133 Making dates deconstruction in model more consistent for different datasources
  • 41ee035 Starting to bring sqlite dbo up to date
  • 547f48f Changing to be compatible with PHP 5.2+
  • c717ff2 Adding logging of errors when debug = 0 for console applications. Fixes #1311
  • 0d5ed01 Removing constants and configuration settings that don't are repeated or deprecated/not used.
  • 9b4f7a1 More documentation.
  • f3feb15 Removing support for AppError. It doesn't make sense to have hardcoded class references when there is better configuration available. Updating doc blocks for exceptions. Updating core.php file.
  • 1cffea3 More documentation.
  • 04d3feb Unknown errors cannot be mapped as they generate another error. Having a default case doesn't make much sense here. Adding additional coverage to ErrorHandler.
  • 845edf3 Removing core classes using App::import() with an array(). This usage incurs an additional call to App::import(). Removing Set from core class imports, as Set is required as part of the framework bootstrapping.
  • e88cdc8 Adding more documentation.
  • 55623ac Adding deprecated error level to the map switch.
  • f2f3f13 Adding exception logging configuration setting. Allows uncaught exceptions to be logged. Implementing logging, and adding a test case.
  • af4447d Removing Configure::write('log'). This feature is now part of Error configuration. Removing log check from Debugger::showError(). This method only show's errors, it shouldn't be logging them as well.
  • 14a6368 Adding missed isset() check Making ConsoleErrorHandler handle both errors, and exceptions in CLI.
  • 74bf455 Updating ConsoleErrorHandler to match ErrorHandler. Updating test cases for ConsoleErrorHandler.
  • 3bc708b Adding the new group to AllTests. Removing ErrorHandler test from AllLibs.
  • fac222e Removing classes that were not used in the ErrorHandler test case. Adding a new test suite for error classes.
  • e2c8e20 Pulling exception page rendering out into a separate class, ErrorHandler felt very large and confusing, as it had a few too many jobs.
  • 8a35b76 Fixing error caused by removed method.
  • 722b1a0 Adding Debugger output to ErrorHandler::handleError, and adding tracing for log writes. Renaming Debugger::_output() -> Debugger::outputError() and making it public instead of protected.
  • f373fc1 Removing logError from CakeLog, it will be moved into ErrorHandler::handleError()
  • 6c2c4f9 Removing dead tests and updating ones to reflect changes in how Configure works.
  • a621ac1 Adding level to the core.php file, this lets you choose which error levels you are interested in for your application. Removing hardcoded error_reporting levels in Configure.
  • 561fe7b Adding basic configuration for Error and Exception handling.
  • a8ba73d Removing wrapper method that didn't contribute anything. Adding doc blocks for the sequence bootstrapping takes.
  • b371de8 Moving error handler configuration setting after application bootstrap is done, this will allow classes to be imported using the cache.
  • e68a1a0 Moving error and exception handler configuration into Configure, as settings. You can use Error.handler and Exception.handler to define the error and exception handlers for your application.
  • 4960b6e Changing method names on CakeLog and Debugger to better reflect what they do. Updating test cases.
  • da3bf1c Adding ErrorHandler::handleError for consolidating core error handling out of CakeLog and Debugger.
  • 6d5cf96 Making instance method use the instance, and not call itself statically.
  • af06b8f Added test to a request that server dont response WWW-Authenticate.
  • 7013a8f Fixing typo. Should be AppShell, not AppModel.
  • 2d21e9c Removing cache hits, as App::core() is almost always called before Cache is initialized, as Cache uses App::core to load the first configured engine. This Cache::read call can never succeed so it should be removed.
  • fdcfd03 Fixing typo that prevented html coverage reports from being generated.
  • 4c0e69b Removing constant checks, they aren't used anymore.
  • 8e1f7cc Removing extra line.
  • 8aabf36 Making BehaviorCollection more consistent with other object collections. Fixing failing tests caused by not being updated when behavior changed.
  • cb657b1 Fixing failing test and adding skip for test that will fail in a non-isolated case.
  • a729d29 Updating ModelTask test to have fewer skips and collisions with the rest of the testsuite.
  • d7b1f70 Adding some additional output to bake tasks to make them more consistent. Adding flags for Quiet output so the shells give minimal output.
  • d373dde Fixing notice errors in bake all. Moving some message printing around.
  • 8a129ec Adding a normalize parameter to Object::_mergeVars(). This allows existing behavior to be maintained. Updating Controller and Shell usage to match new parameters.
  • 8821bec Moving _mergeVars() into Object as its common to Controller, Model and Shell.
  • 8f82156 Adding _mergeVars to Controller (this duplicated method will be re-factored away). Updating tests in ControllerMergeVarsTest to use PHPUnit assertions.
  • e2aeae3 Adding _mergeVars() into Model. Refactoring how Model does its property merging. Eventually _mergeVars() could be moved into Object.
  • b805355 Adding _mergeVars to Shell. This allows $tasks and $uses to work much like $uses in Controllers, and provides consistency in the framework. Adding tests for merging vars.
  • a8554df Fixing call to a help method that doesn't exist.
  • cbd88ed Adding support for AppShell into App. When you import a Shell class, App will automatically load Shell and AppShell.
  • a2bc369 Fixing missing include in HelpFormatter.
  • 4f68917 Moving Shell test to the same path as the shell class.
  • 66c9b79 Removing App::__overload() it does nothing anymore.
  • 0d7ecea Adding AppShell to the ignored shell list in CommandListShell.
  • b914709 Moving AppShell to where the other shells live.
  • b0ddfa0 Added the placeholder class for an 'AppShell'.
  • 3056fbf Changing authentication classes to use suffix Authentication instead of Method.
  • 40418de Freeing up some memory in dbos after the result set has been completly fetched. Adding dbo_mysql and dbo_postgres to the AllDAtabase testsuite
  • ba10003 Fixing failing tests when HtmlHelper test was run by itself.
  • c0f1043 Adding a few transactions to speed up a little tests involving fixtures
  • 1326707 Implementing transaction nesting, this will allow to open multiple transactions that will only be commited if all transactions succesfully calls commit()
  • 47f6a29 Small optimizations in env() and Helper::_parseAttributes().
  • d89581d Changing object construction and method call to use file_put_contents.
  • a335891 mapping lastNumRows to lastAffectedRows as it is not possible to do the first one using PDO
  • 5a881c4 Fixing acl testcase so it runs smoothly on postgres
  • f0ac462 Updating test cases with failing tests.
  • 7e0d349 Removed use of reference in params of http methods.
  • 7bea5d9 Added the http directory to AllSocket tests.
  • 293ef95 Adding more documentation, and adding some return early changes.
  • db3f74d Moving a method around.
  • 070066b Expanding doc blocks for Dispatcher. Extracting _isPrivateAction() so subclasses could change the behavior.
  • 1631f31 Adding doc comments to Configure and App.
  • b91566d Removing ini_set() in project root. Fixing notice errors that would happen when mod_rewrite wasn't enabled.
  • 27287e4 Moving AppTest into a separate file. Updating test suite.
  • 1b89547 Pulling App out into its own file. Trying to stick with one class per file conventions. Removing class_exists check, as Set is loaded during the framework bootstrap.
  • 8e29595 Updating test.php to bootstrap like index.php Updating skel file to match app one.
  • cb4dfc4 Changing import() to require, as its a fraction faster.
  • afd2683 Adding a check for loaded routes. This prevents routes being loaded on each dispatched action, such as when requestAction is called.
  • f275663 Renaming private method to protected. Removing return by reference operator.
  • f36f38e Adding doc blocks and adding type hints for _invoke().
  • f02e048 Reworking parameter munging specific to requestAction into requestAction. Updating tests cases for Object. As request->data is an array() not null. And leading / is trimmed off of [url][url].
  • 55cc329 Making the Debugger tests pass when you have debug = 0 in your config file. Tests are runnable while debug = 0 from CLI.
  • 557d797 Making Dispatcher test cases pass when Dispatcher expects a CakeRequest instead of a string.
  • ea80a6d Removing instance variables that were no longer needed, as they weren't actually being used for much.
  • 1fe84c0 Starting to try and simplify the bootstrap process, and give a choice over which GET param is used for cake's url.
  • dad7963 Moving Dispatcher inside libs directory, as it is part of CakePHP's libs.
  • 6073ac5 Fixing errors caused by accessing things that don't exist.
  • c7fed2e Removing duplicate calls to Inflector.
  • 974161c Changed the name of header to use in Digest method.
  • 85607a9 Removed interference in the name of the headers.
  • 44629bd Support to digest method in HttpSocket. Thanks to jmcneese and Adrien Gibrat.
  • 1d56625 If method is false, dont send the authentication. Fixed throw message.
  • 1dfd3ce Changing the auth value only if auth not is setted.
  • 6c8c7ca Turning __get() back into methods. There were so few properties being accessed that it didn't make sense to have __get(), over a handful of methods. Tests updated.
  • f9b7cbc Making ConsoleOptionParser allow subclasses of the option, argument and subcommand classes to be supplied as arguments to the builder methods. Adding tests.
  • 8e1dd9e Adding __get() to access protected properties of ConsoleOptionParser components for upcoming changes.
  • e63f81c Fixing test case that was missing request access.
  • faa23e8 Updating tests to reflect changes in bake templates.
  • 01894b3 Fixing issues caused by not accessing the request object correctly.
  • 18bb5f6 Removing =& operators for construction of objects.
  • 47fa471 Pulling ScaffoldView into a separate file.
  • 85e072a Removing reference operators in view class constructors.
  • d044cdd Fixing test case that was missing request access.
  • 91e2d88 Moving method back to DboSourceTest, as it was very difficult to adapt it to use mock objects
  • ec2884f Making routing suite include RedirectRoute.
  • 4e3b62e Removing vestigial method in App. Fixing E_STRICT error in Router.
  • f4b0ec1 Updating E_STRICT issues in view test. Removing dead methods and classes.
  • 00a3eda Fixing broken test because of change done in previous commit
  • 106379b Removing all methods with mysql syntax or dependent on anyway of this Dbo out form DboSourceTest.
  • d46f953 Changing test case to reflect that stats option was removed from DboSource::execute and merged into "log" option
  • b297bf6 Updating test to be correct.
  • 76c3e1a Adding cache comment stripping to the CacheHelper, it was recently removed from View, and needed to be added here to fix failing tests.
  • 6c0dfe9 Fixing error where params[url] has moved.
  • ee0dc78 Removing cache comment stripping, they are harmless in html/xml.
  • 1f5999f Adding some tests for element caching.
  • 7ad4068 Refactoring to remove some duplication.
  • 1cf5e72 Removing duplicated calls to slug() Extracting getElementFilename() into a method, this should allow developers to more easily replace how elements are found. Refs #1268
  • 777afb6 separeted auth from HttpSocket. Refs #880
  • ef2a7d4 Replaced trigger_error by throw Exception.
  • 8a4faa1 Updated doc to avoid E_STRICT messages.
  • c6dd77d Removed unsed attribute.
  • 2bed662 Added tests to thown in connect.
  • 8c29847 Simplified the CakeSocket and fixed some phpdocs.
  • fb5495f Throws an exception on fail in connect.
  • b46b861 Removed unsed variable.
  • b20becc Extracting remaning methods with Mysql specific syntax out of DboSourceTest
  • 539b907 Moving more methods out of DboSourceTest
  • 66779ee Moving some more method out of DboSourceTest
  • 47c6132 cleaning up some tests, adding missing parameters in DboSource to match declaration on DataSource
  • 8c2f9e1 Removing E_STRICT errors from router
  • afa5ee6 Removing E_STRICT errors from connection manager
  • 2fa653d Removing E_STRICT errors from i18n
  • 398adbb Removing E_STRICT errors from debugger
  • 4cba8a1 Removing E_STRICT errors from Configure and App class
  • 62017b2 Removing E_STRICT errors from ClassRegistry
  • 09011d1 Removing E_STRICT errors from CakeSession
  • 44e9783 Removin E_STRICT errors from dispatcher
  • b413aa9 Removing instance by reference.
  • dfefc2d Very initial pass at getting elements cached with Cache. Refs #1268
  • a9a9bc0 Removing bogus crud in the test.
  • 7630580 Added support for redirection routes. Fixes #1151
  • 060f149 Added configurable ellipsis on Paginator::numbers(), Paginator::first(), Paginator::last(). Fixes #1086
  • cad6fc7 Force console output tests to output as color
  • 5214c56 More instructions on how to install phpunit.
  • b8cc605 Updating instructions for installing phpunit.
  • 3216c90 Removing the enable parameter on HelperCollection, BehaviorCollection, and ComponentCollection. They all now support the enabled option that Behaviors have historically supported. This provides a simpler API with fewer arguments, and allows callbacks to be disabled on objects in their declared arrays. Test cases updated.
  • 22497eb Fixing failing tests in controller test.
  • 88c717d Removing the 3rd param from ObjectCollection::load() and adding a uniform setting of 'callbacks'. This setting is used to disable callbacks on objects by convention. Test cases updated.
  • 1ba28c2 Adding settings['callbacks'] as a way to define enabled/disabled state of helpers in settings arrays. This should replace the separate parameter. Tests updated.
  • 92fec45 Making private things protected.
  • 4c0fd76 Changing <cake:nocache></cake:nocache> into <!--nocache--><!--/nocache--> This makes no cache tags valid html/xml at all times, and will not interfere with validation.
  • 4739d7f Adding tests for CacheHelper callback methods.
  • f7f9c3f Removing a test case that doesn't need to exist anymore as the conditions for cache generation are now in CacheHelper.
  • c92ecdc Initial pass at decoupling CacheHelper from View. CacheHelper does all caching using helper callbacks now.
  • 1bc6433 Removing duplicate import() and fixing missing dependency.
  • 23c69b2 Adding an import, as I hit an error when trying to bake tests for models.
  • aaff059 Moving output into a property, and removing extra arguments from helpers. Having a view property reduces the number of strings that are copied around.
  • 2dff74d Removing local and using output property.
  • 2e140a9 Adding tests for element callbacks.
  • 32587c1 Adding callback support to elements. You can use the 3rd parameter to control whether or not before/afterRender callbacks should be fired for a particular element.
  • 1b19ad4 Adding parameters to helper callbacks, these allow helpers to introspect more on the view/layout being rendered. Updating tests.
  • 882efa8 Removing the trigger_error and view re-renders and replacing them with exceptions.
  • 7691990 Removing direct tests of protected method. Refactoring View with the intention of eventually removing coupling with CacheHelper. Making Helpers load after the first rendering method is called. Moving callbacks out of _render() to make logic simpler, and with the idea that elements will get a callback too.
  • 540f142 Removing View::error(). Instead you should be handling error states in your controller, or throwing exceptions and letting the application error handling deal with the error.
  • 3f61fa0 Removing dead import.
  • 8f31ef7 Making $scripts_for_layout and $content_for_layout regular viewVars. This will allow helpers to manipulate them in callbacks. Made $___dataForView an optional parameter, it defaults to $this->viewVars if left undefined. Refs #624
  • 157bdfa Moving beforeLayout, before additional viewVars are processed. Refs #624
  • 09d3a06 Updating l10n to use the new CakeRequest method.
  • 22bb07a Adding visibility to a few methods.
  • 1424e02 Adding a method to CakeRequest to parse out the accept-language header. This will help remove features from l10n.
  • af303f0 Fixing baked actions to use request object. Fixes #1091
  • 3a8016b Even more methods containing quoting specific to mysql out of DboSource
  • 6028705 Moving more methods out from DboSourceTest
  • 1c37751 Adding missign option to testsuite shell
  • a39adf2 Adding missign option to testsuite shell
  • 86f1309 iMoving a couple of methods out from DboSourceTest
  • f2f378c Moving testGenerateInnerJoinAssociationQuery out from DboSourceTest
  • 605a6b1 Moving another method out of DboSourceTest
  • 146af7f Stating to move quoting test out from dbosource into mysql test
  • 224f65a Preventing bug in testsuite shell
  • 557c527 Making file argument optional in console testsuite in order to show complete list of test cases for a category
  • 9afd4d7 Fixing option parsing and help for testsuite after new console libraries merge
  • adb2d90 Changed the regex to follow the RFC 3986, working to protocols like "svn+ssh://" and "ed2k://"
  • c9ca3c3 Fixing path constants in DbConfig and FixtureTask to be more consistent between web and cli.
  • b752766 Using full base when $url is empty.
  • 6d54202 Adding another group test case file for all the console tests at once.
  • 94f9f7a Fixing failing tests from merge with 1.3. Most tests were failing due to internal changes and PHPUnit being more specific than SimpleTest.
  • a3da915 Fixing issue where value in difference array was always the string value instead of the original value.
  • b67d3fa Updating FormHelper to fix failing test from merge.
  • 7f448a1 Allowed the use of empty() and isset() in Controllers aliases properties.
  • e380b76 Created an exception to error 405 (Method Not Allowed) and changed the delete action in bake to use it.
  • 4eed660 Changed the form style to not affect layout.
  • a040c9a Changed the cake bake to use postLink for delete actions.
  • 3b5dafa Adding value option documentation.
  • 593c45b Whitespace changes
  • 9eb533b dateTime functions + tests
  • a876c77 meridian function
  • 6d97aed __selectOptions function
  • d3c1e8c minute function + tests
  • 5f07003 hour function + tests
  • 6620b3b month function + tests
  • 5297918 year function + tests
  • a1b1a07 __dateTimeSelected and day functions done, with tests
  • 30f3494 Select function signature changed. Corresponding tests changed.
  • 115c610 Changes to make tests pass...
  • 5674ac4 Added the require to dispatcher in skel to cake bake.
  • 2d9d454 Importing File class, used by some methods.
  • daa8d1f Added a message to avoid the use of postLink and postButton in forms.
  • 148870f Using a simple regexp instead of a strpos to ensure the protocol is at the beginning of the url.
  • 3a95a54 Doing some code cleanup and moving conditionals around.
  • dbce29a Doing some refactoring, to reduce code duplication.
  • 3ca0cdb Adding support for route objects to return full urls. These urls are not changed by Router, and just returned. This will allow subdomain route classes to be created. Tests added.
  • 14ec870 Removing dirty hack in Router for detecting requestAction.
  • fff8279 Using patch from 'wals' to add generic exclude option to the ExtractTask. Allows you to exclude path segments from the generated PO files. Fixes #1138
  • d784728 Adding Fennec as a built-in mobile browser. Refactoring a test case to pull out the exceptional case. Fixes #932
  • 1166806 Removing shutup operator from View::_render() Errors in your views will not be suppressed when debug = 0 anymore. Fixes #943
  • efac10d Making the cake --help shortcut pass along the other options.
  • 558bd7e Adding a --sort param to view the command_list sorted in a different way. Test cases added. Fixes #574
  • 8d80188 Updating more tests with boolean handling, maybe in the near future fixing this for both mysql and postgres is coming
  • eb49181 Bringing more boolean tests up to date in postgres
  • b3d8a61 Updating test for booleans in postgres
  • ff9748c Adding some workaround in traslate behavior tests for postgres, all tests passing now
  • ce490b1 Fixing issues with translatable field aliasing in TranslateBehavior
  • cc32ac8 Simplifying tests for translatable behavior as they were hard to understand
  • 16524bc Fixing test case for translate behavior
  • 9f27fa7 Fixing parsing of translated data after switching to virtualFields
  • 0263569 Removing function from created virtual fields in translate behavior as it was not needed
  • 90274ef restoring commented code to make more tests pass
  • e989f71 making a backup of model virtual fields in traslate behavrio to avoid side effects
  • f94f79e Initial steps to start using virtual fields in TranslateBehavior, this will ease Dbo abstraction
  • 25c213e Preventing zero length of fields using prostgres
  • 2eb0392 Removing forced trucation of tables in fixture loading, it was not really needed
  • cec3512 Fixing more errors in tests related to type casting
  • f027bf0 Fixing some errors in tests
  • a6b6720 Fixing bug in boolean conversion for postgres
  • 49ed8ed Trucating tables in postgres now correctly resets the associated sequences
  • a57f8d3 Adding another test for csrfUseOnce.
  • cda0ce4 Testing the build of XML. If it is invalid will generate a Exception.
  • f00f4ea Implementing getClientEncoding using postgres
  • 2ec9a49 Resolving yet more problems with booleans in postgres
  • 1acb619 Implementing DboSource::insertMulti so it uses prepared statements, also changing internal uses of this method to reflect the new api, this brings as consequence a better abstracttion for datasources in model and fixtures, but breaks BC
  • 22239b4 Making the ability to use longer shared csrf tokens possible. This should make for fewer blackholed' requests when doing complicated javascript.
  • c6c3295 Making default bake templates escape HTML. Fixes #1186
  • eb3cc3d Making default scaffold views html escape contents. Refs #1186
  • 02ade65 Unwinding several ifs used in debug(). Creating simple string templates instead. Fixes #818
  • cef9927 Tiny Improvement of debug() output when running on console
  • 1384827 Adding question style to ConsoleOutput. Made Shell::in() draw as magenta text.
  • 6f29519 Making shells attach args and params by reference. Adding test.
  • 0a022f1 Updating tasks to not rely on the dispatcher being available.
  • c169de6 Updating tasks to not take ShellDispatcher as a parameter.
  • 5edb277 Updating shells and shell tests for changes in __construct.
  • ba17e2c Removing ShellDispatcher as a constructor argument for Shell. Updating the AclShell test case.
  • bf7b8b0 Fixing issues with RssHelper and updating tests to reflect changes in how Xml::build() differs from previous versions' Xml.
  • 3e2d09a Making h() preserve keys when escaping an array.
  • 7aaf7e6 Fixing issue where Xml would not read CDATA blocks.
  • a72d6da Making plugin schema tests less likely to stomp on tables they shouldn't be changing.
  • b22da5a Fixing missing parameter.
  • e6ab0e2 Making schema shell work with app/console. No app prefix is needed.
  • c8b0267 Making project task and bake play nice with creating a new project.
  • 1b5cc91 Reformatting default values. Fixing issue with undefined variables caused by missing extract().
  • a081188 Fixing file permissions errors that occurred when creating a new project.
  • cf9166a Starting to remove Dispatch->params in favor of the constants ShellDispatcher makes, this will make removing the dependency from Shell much easier.
  • 68e176b Adding tests for plain output.
  • a5dd06b Adding raw output to xml help generation.
  • 0be2208 Adding a few new constants and a new method to control colouring of output. Added raw mode for outputting things like XML.
  • 139702e Moving methods from Dbo's to the parent class as PDO already abstract what they do
  • c7763b3 Fixing some boolean issues in DboPostgres
  • 88289f0 Restarting sequences by default qhen calling DboSource::truncate(), removing option to drop the sequence as it does not match behavior from other dbos
  • 2262844 Implementing set encoding in DboPostgres
  • ba1eb62 Calling right method in DboPostgres::trucante
  • 0ffe6de Allowing multiple sql sentences to be executed only for creting or altering databases
  • 09487f8 Preventing false positive in queries returning fields but havinf Count(*) inside them in DboPostgres
  • c3b70dc Fixing issue where a missing style would consume a tag on the xml output.
  • 1d5f730 Removing unused variable from Shell. Making subcommand parsers correctly output XML help.
  • a6a627b Making xml help work. Need to update tests.
  • 65686a0 Fixing doc string.
  • a866d62 Adding startup override for xml output.
  • d126f27 Doing a bunch of refactoring to the CommandList shell. Adding XML output to the command list shell.
  • 8f9adc7 Adding return of xml object to xml() method.
  • ad62e0e Adding xml output to HelpFormatter.
  • 52a4944 Moving tests over to the HelpFormatter.
  • 78e76a2 Removing unused methods.
  • 4e44ff9 Moving code into HelpFormatter to help separate the help generation from the option parser.
  • d0fc2fd Fixing describing of table columns for postgres
  • 3f0c79f Fixing some problems in in DboPostgres::connect()
  • 1954c7c Moving tests around and starting to build out HelpFormatter for generating both text and xml help. Xml help in consoles is great for IDE consumption.
  • 6291f1b Fixing issues with schema shell test when run in certain group combinations.
  • 6900f47 Moving code from BakeShell to BakeTask. Adding a base execute method to contain common code shared amongst all the bake tasks. Updating test cases as $name attributes value has changed.
  • bd156bb Adding a connection object for use with bake all.
  • de61596 Removing dead code from the PluginTask.
  • 6f29441 Adding a blank line after the epilog on generated help. Makes for slightly more readable output.
  • 373fa78 Created the method FormHelper::postLink() to create a link with form to send data via POST. This feature require javascript.
  • 4c10649 Created the method FormHelper::postButton() to create a button with form to send data via POST.
  • edd448f Implementing resultSet and fetchResult in DboPostgres
  • ad22bc3 Updating DboPosgres::describe() to use PDO
  • c1ca039 Fixing typo in listSources
  • ab9c890 Implementing lastInsertId for postgres
  • 5c87daf Implementing listSources for postgres
  • aedf69d More refactoring to DboSource::value()
  • 6778d4b Updating test case for floats
  • 1646322 Fixing return value of DboSource::boolean()
  • d9c9a32 Refactoring DboSource::value() so postgres and mysq behavior is the same, updating test case
  • 159776f Refactoring possible common code to DboSource, now that PDO abstract disconnection from source
  • f3d3ee9 Implementing basic connection to postgres using PDO
  • df55c08 Fixing typo. Fixing bad import which caused fails when running tests from the webrunner.
  • 01a20f6 Adding omitted test.
  • 5eb8c8f Adding a test and trimming whitespace.
  • 01b1fb8 Removing the old help method.
  • 529527a Removing ability of plugin task to pass through to a few but not all parts of bake. Adding OptionParser definition.
  • 1d974f5 Fixing issue that caused db config generation to fail.
  • 6a9ca7f Adding a test to DbConfigTask.
  • 9ebd015 Adding omitted return statements.
  • ae94036 Making the project task correctly replace the __CAKE_PATH__ constant when creating new projects.
  • 8f0a96d Adding Shel::$command back in as it was still being used, oops. Updating Bakeshell to do its tricks at the correct time.
  • 561067e Making the skel tmp dirs world writable.
  • ae68462 Updating text that doesn't make sense as Cake uses PHPunit now.
  • e807cc0 Removing a bunch of dead properties from ShellDispatcher and Shell. They are no longer needed/used. Moving Shell back to console/shells so App::import() can easily find it.
  • d771239 Fixed support to save XML data in Models.
  • 28685dc More replacements of assignation by reference
  • 122cb1e Removing mor assignments by reference
  • db6149a Adding some more colour to the project task. Making regular expressions easier to read.
  • bcc1417 Making database stats dependent of fullDebug Leaving lastNumRows commented out until some bugs are solved
  • 53a1663 Adding console dir to skel. Updating project task to test for directories and files in a more readable way.
  • 52d958d Removing .DS_Store file that was accidentally commited.
  • 0e61b34 Fixing bad include in AllTasks suite.
  • 8476edd Moving console lib classes into a new directory.
  • d64aed5 Adding console libs into AllTests
  • a11a121 Refactoring file scanning into a method which allows the removal of sketchy regular expressions. Adding some colour for pimpness. Updating tests as additional bootstrapped paths are treated as app paths now.
  • 2adbb0a Removing useless tearDown()
  • 10646ba Removing duplicate assignation of same object that didn't make much sense
  • b2035a5 Fixing tests that failing in Set because merge of Xml class.
  • 78ba1d1 Splitting up test suites.
  • ee4add9 Fixing test case
  • 14820fe Moving more vendors/shells into console dirs.
  • 5737cf7 Making TaskCollection use App::import instead of goofy shell paths. Moving files in the testsuite around to reflect changed paths.
  • f215cd0 Fixing tests for CakeSchema
  • 8c63f15 Renaming + moving test and task files around. Updating tests to use import for tasks.
  • 2cdbd67 Updating ShellDispatcher to use import() and new paths.
  • a76ce4a Renaming console/libs to console/shells so its more consistent with app directories.
  • cbdfb3f Removing all references to mysqli
  • 78717ab Fixing some test cases
  • c016f1d Impriving documentation
  • 7e2fe43 FIxing query caching to take in account bound parameters
  • 0971912 Removing use of third parameter of fetchAll()
  • 65a641a Improving fetchAll method to accept an array of aprameters to be bound to the query, so now it is possible to use proper prepared statements
  • 183e9c9 Removing some asignations by reference
  • 642bfe3 Fixing some problem on fetching result data with multiple columns with same name
  • 0828737 Changing param order in execute() to maintain compatibility, making all tests pass
  • d83c95c Fixing bug in DboMysql::value()
  • 88a2fb5 Fixing bug in DboMysql::describe()
  • 463eedb Adding shell directories, so vendors/shells can be deprecated.
  • c04307a Adding app/console with a link back to the distro cake directory. Need to update project bake to update app/console + add to skel.
  • 17f2471 Replacing reference assignation for normal assignation in test case
  • 84283ed Fixing DboMysql::listDetailedSources()
  • e03cbcb Fixing model describing and making pass testBlobSaving
  • cb16605 Fetching result rows PDO style
  • f772527 Using PDO method to get lastInsertId
  • a5f3f95 Simplifying DboMysql::getCharsetName()
  • 09ee1b7 Fixing issue where schema create would always dry run.
  • cf98942 Updating Acl and i18n shells to use dispatchShell.
  • abea729 Adding some documentation for Shell::dispatchShell() Fixing string dispatching.
  • 28fc07c Adding Shell::dispatchShell() will replace $this->Dispatch->dispatch use in Shells.
  • e85482f Making a missing method generate help, when a shell lacks a main() method.
  • a234eeb Updating test cases for project task to not need to turn on verbose output.
  • 134f483 Adding some colours to project task, and fixing verbose output question.
  • 4627cc0 Updating SchemaShell to use optionparser and removing old help. Updating test case to use new param names.
  • 6ec4e07 Updating testsuite test case.
  • ced7243 Making ConsoleOptionParser not default options to true. Having them this way made it pretty difficult to write simple conditions in shells, as options would always be truthy.
  • 02f42f3 Making colouring wrap lines.
  • 46dcf8b Fixing formatting on generated help in ConsoleOptionParser. Updating tests. Making Shell::wrapText a simple wrapper for String::wrap()
  • 98a654c Expanding String::wrap to be able to indent and start indenting at a specific offset.
  • 21f5707 Implementing disconnection in DboMysql
  • 7a7659d Removing DboMysqlBase as the inner driver selection will be delegated to PDO, extracting _execute() and adding it to DboSource
  • 526205b Fixing test case in DboMysql
  • 5e80cf8 Improving DboMysql::index()
  • c54448d Initial steps toward getting complete query results in DboMysql using PDO
  • bd856c7 Fixing value quoting in DboMysql
  • 0fb2ac0 Chaging implementation of DboMysql::getVersion(), improving connection options
  • 70ed9a7 Fixing DboMysql::index() method
  • 52ea8fb Fixing mysql connection string
  • 5202308 Using the PDO conenction inside DboMysql::getCharsetName()
  • dc362d1 Adding test for DboMysql::getEncoding()
  • 09e06d5 Implementing DboMysql::getVersion()
  • 5f90ac2 Adding width wrapping to the generated help. Should help with having content that is too long.
  • 7f70c8a Removing a test that doesn't need to be implemented.
  • 0492a18 Adding Shell::wrapText() to extend String methods, with indenting which can be useful in shell output.
  • 7b5ae6a Adding String::wrap() to handle wrapping strings for console output.
  • b846716 Making ConsoleOutput work correctly when multiple identical tags are used.
  • 0428320 Adding verbose/quiet flags back to testsuite shell.
  • b847945 Inital work for connecting to mysql using PDO and gettng the table list, testing is easier as it now uses mocks
  • 124a910 Adding documentation for output levels.
  • 4be57a2 Adding output levels to Shell Adding tests for output levels.
  • c6ef589 Adding filter option to the testsuite, seems I forgot it.
  • 037bc6c Changing how arguments are shown in help output.
  • 3e1554f Adding incomplete tests so I remember what to do next.
  • 81d61a6 Re-formatting code and removing old help method.
  • 03688bc Adding an option parser to controller task. Converting the public and admin positional arguments into switches. Updating the task and test cases to reflect the switches changes.
  • 5fd85c1 Adding a very basic option parser to DbConfigTask.
  • 6b6d9e9 Adding option parser to model task. Adding omitted options to view task.
  • 4985572 Adding option parser to the project task.
  • 50139b1 Adding OptionParser to view task. Adding epilog information about interactive mode to view and fixture tasks.
  • d3e4ced Updating test task to use the option parser. Removing dead help method.
  • 52c1c71 Updating fixture task to use the OptionParser Fixing failing tests caused by changing tasks to lazy loading.
  • 1009069 Making boolean switches behave.
  • b328276 Adding default values into the parsed output. This makes it so options with default values are always part of the parsed options regardless of whether or not they were included. This will allow shells to include less logic checking for existence of parameters.
  • 3585620 Adding a ghetto option parser to the testsuite shell. Still need to add in all the options from phpunit, and the other cake options.
  • 2af684c Fixing issue where exceptions for missing required arguments would be raised when trying to get help.
  • 43646b9 Updating AclShell to use new formatting and removing methods that are no longer needed.
  • 0fd8d2b Adding addSubcommands, and support for subcommands to buildFromArray.
  • 577603f Adding documentation, and improving error messages.
  • c3750d1 Updating AclShell to use features of ConsoleOptionParser.
  • 99407e7 Fixing issue where choices would not be correctly validated.
  • 6774e40 Correcting error message.
  • 8c990a9 Fixing failing tests caused by API changes.
  • 9540f9a Removing dead help method.
  • 970a6c8 Adding the ability for parse() to use a subcommand parser. Adding text on how to get help on subcommands.
  • 1cf2613 Starting to convert bake to use option parsers.
  • 822aeb3 Reformatting help text.
  • ae04ae6 Removing implode(), as its done in the OptionParser now.
  • b5630a5 Making description() and epilog() accept arrays.
  • 412864c Porting AclShell help to use the OptionParser.
  • 7a31eb4 Adding ability to define a subcommand parser as an array.
  • 1fec75e Adding omitted __()
  • ef027f6 Adding choices to usage and generated help text.
  • b398877 Adding missing default value.
  • ed04768 Adding documentation for choices options.
  • 4e91012 Adding validation for positional arguments.
  • 8ee1582 Changing error message.
  • 56292b6 Adding option value validation to ConsoleOptionParser.
  • 8b46645 Making properties protected.
  • 49006b2 Adding accessor method.
  • dc9a05d Extracting subcommand as a separate object.
  • 8261581 Pulling out some duplicated code into methods.
  • 5e8222e Pulling out classes into separate files.
  • 2774493 Refactoring arguments into a separate object.
  • 12fba88 Refactoring options into a separate object.
  • 27a4f3c Adding test to make sure tags that are unknown are not removed.
  • ad367fe Adding addOptions and addArguments as convience methods for adding multiple options/arguments.
  • 72e1a96 Renaming a Shell::_getOptionParser -> getOptionParser
  • ab794b3 Adding support for help generating help for subcommands. Adding tests for subcommand help generation.
  • 3be24d0 Adding subcommand docs for i18n shell. Adding execute checks to shell, this is a temporary fix that stops extra clears being done.
  • fe7c7a1 Adding some colour to Shell::createFile()
  • 56339e0 Adding subcommand to help output.
  • 278f699 Updating extract task.
  • 41b8aff Updating i18n shell to start using new OptionParser class. Removing more dead attributes from Shell. Making Shell::$name the name used to invoke the shell, not the classname. This makes it similar to other objects with names.
  • 2a2428a Updating ApiShell to use ConsoleOptionParser correctly. Removing old help method.
  • c0d15a4 Changing name of parser attribute.
  • f1ee467 Fixing failing tests in Schema shell.
  • 193721a Fixing notice errors in ShellDispatcher Removing ShellDispatcher tests that are now inside Shell. Changing exception type to match the one used in ShellDispatcher.
  • e700898 Adding some more array_unshift. These fix issues where tasks would receive their name in the argv which is not correct.
  • 79d1739 Adding tests for task methods in runCommand.
  • cea9dad Fixing ShellDispatcher::parseParams tests to reflect the changes in what they do. Adding tests for Shell::runCommand().
  • 3d351e7 Dramatically changing how ShellDispatcher and Shell interact.
  • cd18c82 Adding Shell::hasMethod and tests for it.
  • 18c5a62 Removing a dead test and adding tests for hasTask
  • 830238c Removing $this->AppModel from shells.
  • fbcc9c1 Making Tasks lazy load.
  • 4d199cf Removing Shell::_loadDbConfig() and Shell::$DbConfig
  • 0d522f3 Changing ShellDispatcher to use --help and -h like the option parser does.
  • 7f5b5c4 Adding exception for unknown option usage.
  • d3c95bc Adding epilog and description to the generate help.
  • 501e63e Adding argument help generation in the long help and usage string. Fixing output of option help, formatting was calculated in 2 places.
  • 09adc38 Doing some fixes as the longest option + a short would cause incorrect formatting.
  • 0eb6822 Adding ConsoleOptionParser to the AllShells test.
  • 733394d Adding usage generation for options.
  • cea6cef Adding smart defaults for verbose, quiet, and help options. Adding help formatting for options.
  • a325974 Making error output style have an underline. Adding a comment style which has blue text.
  • f5ad54e Adding required argument checking.
  • 505e59a Adding support for boolean options.
  • 3e402e2 Adding support for positional arguments. Adding tests and support for positional arguments. Renaming description key to help as its shorter.
  • 6f1dae2 Adding method skeleton
  • b392f30 Adding docs about how options work.
  • 3b9921a Adding support for -abc style combination of short options. Renaming shortcut to short as its shorter :)
  • 01a7fc7 Removing dead code.
  • 07bda82 Adding test for parsing multiple options.
  • 2c2c9a3 Removing required, and type from option flag as they didn't really make sense to include at this point. Adding support for --foo=bar type parameters.
  • 7b1b835 Adding very basic implementation for parsing long and short options.
  • d5d9adb Starting to implement options and option parsing.
  • 6945379 Adding description() and epilog() to ConsoleOptionParser. Starting to build out addOption.
  • d914c0a Adding ConsoleOptionParser and its test.
  • 41db148 Updating test cases to use new objects. Preventing ConsoleOutput and ConsoleInput constructors from being run as it causes too many files open exceptions.
  • 73ad304 Fixing more console tests to use new internals.
  • a302343 Updating test cases to use new Shell internals. Cleaning up some mocks.
  • 7921ef1 Fixing Shell tests to use ConsoleInput.
  • e816a49 Moving ShellDispatcher::getInput() into Shell as a protected method.
  • 67f03af Moving ConsoleInput to the correct directory.
  • d64078d Adding ConsoleInput for reading stdin.
  • cd8d29e Removing conceal, because its a stupid option.
  • 76c6dec Updating tests for Shell so they pass with the changes in the Shell internals.
  • 1314337 Removing dead test stubs and test methods. Moving clear() into Shell, it should be a shell method. Changing shell methods to use ConsoleOutput objects, instead of methods on Dispatcher.
  • a55098b Making TaskCollection require a Shell instead of a ShellDispatcher. This will help reduce the coupling between ShellDispatcher and other objects. Since ShellDispatcher never directly uses or interacts with TaskCollection, it doesn't make much sense for it to have one. Instead shells will either get their own, or be passed one in.
  • b6602f1 Converting more stderr() use into exceptions.
  • 749e9c1 Adding success style. Adding some additional formatting to the default welcome method.
  • b11f2bf Adding ConsoleOutput to the AllShells group.
  • 9a6b04d Removing double header output and adding some pizazz to the command list.
  • 7719df7 Removing code from ShellDispatcher that is now in CommandList.
  • 02c4e00 Starting to move command list out to a separate class so ShellDispatcher can stop having stderr/stdout connections.
  • 317e32f Making ShellDispatcher use exceptions instead of returning false and doing other goofy things. Adding MissingShellMethodException, MissingShellClassException and MissingShellFileException for use with ShellDispatcher. Removing duplicated tests, and refactoring them into separate tests with expected exceptions.
  • ffbb4e6 Integrating ConsoleOutput with ConsoleErrorHandler. Updating test cases to match new output.
  • ce4fe64 Initial integration of ConsoleOutput into cake console tools.
  • 5c55c28 Adding support for uncoloured output for windows environments without ansicon.
  • 90d5c12 Fixing issues with background colours, and adding tests for options.
  • d5b5fbe Adding formatting methods for coloured output.
  • aec1770 Adding style format manipulation methods.
  • 7dea9b0 Starting to refactor console output into ConsoleOutput.
  • 3d65b68 Renaming cake.test Updating AllShells suite.
  • 9b8ce2d Updating includes for shell + task includes to point at the new file.
  • 0a86b7f Moving the ShellDispatcher into is own file. This makes testing easier and will make app/console easier to create.
  • 079c556 Updating doc block for console error handler.
  • efbefeb Stating migration to PDO, a driver is available if listed as available by PDO
  • 0c070f7 Fixing tests that were failing due to SimpleTest being less sensitive to types than PHPUnit. Fixing tests that were failing due to XmlHelper being removed in 2.0.
  • 137c4f7 Added backwards compatibility to h()'s second param
  • b58899c Added 'double' option to Santize::html() to pass double_encode parameter to htmlentities()
  • c686362 Added double_encode paramater to h()
  • 5c025d0 More testing over the MediaView class
  • 9daab17 Improving test case for MediaView class
  • 018def8 Cleaning up the MediaView class
  • bdade0f Adding the ability to compress the response sent from the MeviaView class
  • cf48ee7 Refactoring MediaView to fully use the response object Improved the way cache headers are sent for delivered files, now it is possible to set cache for files marked for download
  • bf22928 Improving the CakeResponse::cache() method
  • d117300 Improving feedback for developer in case media view does not find the specified file
  • 0ba5023 Updating testcase and fixing small bug in last commit
  • 6f5ce8a Refactoring media view to start using the response object, improving CakeResponse::cache()
  • f847080 Changing more php version strings.
  • 3ab7701 Fixing OpenTest license mentions to use MIT License Fixing PHP versions 4 and 5 to only be PHP5.
  • b908365 Changing the @license tag on test files, as tests can now be MIT like the rest of CakePHP.
  • 6cabfce Removing dead tests from SessionHelper test case.
  • d83c51c Fixing expiration conditions on CSRF tokens.
  • 7f7c202 Removing old CSRF token validation checks. Removing failing test because the feature moved. Adding tests for expired and wrong keys.
  • ac90916 Adding some documentation about token consumption.
  • a10f147 Adding support for nonce expiry.
  • 711e736 Adding very minimal and incomplete implementation of csrf consumption. Tests added for consuming csrf tokens on each request.
  • dc6b33f Making tokens persist across 'requests'. Removing more serialize/unserialize calls.
  • f5ed911 Adding csrfCheck related properties. nonces are now being populated into the session.
  • b088daf Adding tests for csrf feature separation. Removing serialize() calls as they didn't really add anything.
  • 72a1c95 Adding CakeSession::clear() which is primarily useful when testing, and offers an alternative to using CakeSession::destroy()
  • 597058b Reordering tests in AllRouting case. Changing how output buffers are emptied, so that its only done in cli.
  • cff2864 Fixing testcase
  • 9d35ea0 Upgrading CodeCoverage repoting fo phpunit 3.5
  • 45a4077 Updating options help
  • f2b51d2 Fixing parse error
  • 87d5a79 Fixing helper tests
  • c3ccf15 Replacing the use of removed "sharedFixture" and adding custom "fixtureManager" property to CakeTestCase
  • 3a14f78 Moving parent call to fix fatal errors caused by registry being empty.
  • ba168d1 Initial steps towards migrating to phpunit 3.5
  • 237b66d Adding support for httpOnly cookies to CookieComponent. Fixes #1127
  • 3395f42 Adding Inflector::reset(). This makes non-isolated test runs possible. Adding inflector to the libs suite.
  • 54fa2e3 Uncommenting model group in all tests.
  • 27dfe2d Adding all_model suite to the all_tests one
  • 2b1bc99 Fixing failing tests in auth and scaffold. Fixing more tests that had stray buffers.
  • 18b38f6 Fixing CakeTestFixture import feature
  • 92b57d8 Moving common setup and teardown functionality in to CakeTestCase. Removing repeated setup/teardown logic from test cases. Switching tests to use setup/teardown instead of startTest/endTest.
  • 5538529 Fixing some issues with tables that were not beign droppend at the end of test suite execution
  • 24dd0af Adding debug backup for view test.
  • f60a7fb Adding all libs to the all tests.
  • 843ada2 Removing AppController from ErrorHandler test as it can make testing harder. Removing broken buffering from tests that trigger errors / exceptions. Adding a loadHelper() to the test_app layout so the layout always has the required helper.
  • 714d829 Fixing all tasks include. Removing drop table queries that cause other tests to fail.
  • 26057c5 Fixing issue in DboSource test case where buffer would eat all the output. Removing dead tests from TestManager test.
  • cd7bc3f Removing disabling of tests from last commit. Using assertContains instead of assertPattern as its easier to read.
  • d8b39a3 Changing startTest and endTest to setup and teardown. Adding an App::build() to reset paths.
  • d7b5e12 Removing methods from TestManager and putting them into CakeTestSuite.
  • 8e6277c Updating schema shell test so it doesn't fail in groups. Updating suites to use new method.
  • 6124eb6 Moving All Tasks suite.
  • d7b958f Starting to move test suite manipulation methods into CakeTestSuite.
  • ca167d5 Changing schema test to not alter the table and break other tests.
  • 5c94bdd Fixing failing tests in group context caused by state being stuck in static objects.
  • 3e6b655 removing old file.
  • 4e5ebc5 Renaming all bake tasks to all tasks. Updating all tests.
  • 94d738e Fixing failing tests and group test situational fails in console tests. Adding console tests to all tests.
  • 0bb2309 Making schema shell test more robust by deleting files it makes in teardown().
  • 309d08d Mocking out clear() on all the shell tests as it wreaks havoc on the CLI runner.
  • 6974a87 Removing a test that used eval(). It caused issues in group tests.
  • 12d0bdd Adding a missing require to make tests run in cli. Adding test_suite suite to all tests as it now runs.
  • 460a8bc test_suite suite now runs. Still has a few failing tests from the fixture test case.
  • 32dc4aa Fixing usage of mb_internal_encoding so it doesn't bone group tests.
  • d45788e Changing order of test run in AllShells group to avoid errors
  • 5c3b4cf Removing all uses of the test_suite connection in the test cases
  • 9d2e4b1 Start removal of magin "test_suite" connection
  • e89860e Skiping memcache test if Memcache is not installed
  • 5308663 Adding CakeRequest and CakeResponse to the routing group. Making more tests not fail in cli.
  • 0a1bc06 Skiping ApcCache test if APC is not installed
  • b52f782 Removing dependencies on AppController because it can be a bit crazy. Uncommenting more groups from the AllTests.
  • e6824e6 Fixing duplicate class names.
  • 608ea6d Making the console define a FULL_BASE_URL so tests run properly.
  • 973841a Fixing issues in tests that caused group test to fail, and removing duplicate environment backup.
  • d64bd2a Making cookie component not send gobs of headers when being tested. Making test case pass in cli.
  • b590336 Making private properties and methods protected so they can be manipulated with mocks.
  • c5a47d4 Clearing referrer more thoroughly.
  • 03d99d4 Fixing unbalanced ob_start(). Removing dead code.
  • 92ed1e7 Fixing file included in all_models. Adding skip as tests fail when classes already exist. Fixing skip condition to use newer api.
  • 78c838b Fixing failing tests caused by fixture data changes.
  • 2385747 Some more fixes to make tests run better under all tests.
  • 76ef390 Updating CakeSchema test case to run in suites. It did not account for additional tables being in the database when it ran.
  • 7202a5e Starting something that will hopefully become a real All Tests.
  • 326ae97 Updating debugger and error_handler tests to remove errors in CLI.
  • 98d1272 Some fixes to make the test more reliable.
  • d0028bf Fixing issue in HtmlHelper test where test files would be left behind.
  • c9a6eba Fixing scaffold test so all_controllers suite runs in cli.
  • d6b747c Updating Dispatcher test to run correctly in CLI.
  • cdda1bf Correcting comment.
  • 443e523 Adding tests for clearing the cache with memcache.
  • 7518d0e Removing dead code in Cache. Adding tests for ApcEngine::clear().
  • b6d845a Updating calls of Cache::set() inside Cache. Updating the documentation for set() so it better explains how the temporary settings work. Updating APC and Memcache engine tests to reflect the lack of state being stored inside Cache.
  • 5e725e6 Making MemcacheEngine match the interface.
  • b432e60 Making Cache::set() work with 2 or 3 parameters. Test cases added.
  • 1eb746b Fixing fatal error caused by missing argument.
  • 9ccbe5e Removing unnecessary call to config().
  • dc65f23 Making Cache methods always need a config name. This allows the removal of hidden and often confusing state that gets remembered by Cache each time config() is called. Removing the hidden state makes Cache more predictable.
  • 1707c92 Removing duplicated code.
  • c255539 Removing assignment of reference to theme view. Removing cruft in ThemeView test.
  • f34cfd1 Updating EmailComponent to use new methods on the ComponentCollection to ensure it always has a controller reference. Removing triggerDisabled key as its no longer needed or wanted.
  • 273a189 Adding some documentation about component callbacks.
  • 30589e2 Removing dead method.
  • 0ef76eb Adding a reference of the controller to the component collection, so components can easily access the controller in their constructor.
  • 7a14d3a Fixing issue where mockObject expectations were not counted hiding fails. Fixing all objects not actually being iterated.
  • 5d697b9 Fixing tests where objects were not added to the mockObjects lists, making their expects() not count.
  • 8e97a5e Fixing failing tests caused by missing index in Security component testcase.
  • 0baaf68 Removing call to RequestHandler as its just a pass through to the request object which is available in that scope. Updating the test cases to not use deprecated and non-existent things.
  • 97dd7c7 Adding support to ObjectCollection and its subclasses to trigger callbacks on all objects instead of just the enabled ones. Fixes issues where inner components would not get access to the controller as the initialize callback wasn't fired. This fixes some backwards compatibility issues. Tests updated.
  • 2906927 Adding BC wrappers for helpers. Updating paginator test case to use non deprecated properties.
  • 003d02d Making view test pass by moving property assignment on mock.
  • e4b2fb1 Removing the deprecated properties. Removing property copying to helpers. Making the view test cases pass again.
  • 634cea2 Adding 'action' into View::__get() to make an integration test pass.
  • a521291 Adding a __set() method to make some tests pass. Updating internal usage to not use deprecated attributes. Updating test cases to not use deprecated attributes.
  • 8456515 Removing all the deprecated properties from Controller. Adding a __get() method to provide the properties that were moved to CakeRequest. Tests added.
  • c7fb20d Reformatting doc block indentation.
  • 834c44b Fixing return value tag.
  • ef14727 Added test to use Xml with Model.
  • 578674f Reformatting some code in Set::classicExtract test case.
  • 404e49b Adding tests for writing falsey values.
  • 6519de3 Adding CakeRequest::data() to make reading/writing data similar to CakeSession. Tests added.
  • 213c834 Added test to generate Soap Request from array using namespaces.
  • 89be9b0 Added test to generate Rss from array using namespaces.
  • 46f784f Support to DOMDocument/DOMNode in Xml::toArray().
  • a006ee0 Updating docs.
  • 7237713 Added test to dont use encoding in XML.
  • 2e7851c Support to namespaces in Xml::fromArray().
  • 8625d7b Making debugger test case pass.
  • fbd0741 Making a test more resilient when additional fixtures are loaded.
  • f8dbeb2 Adding documentation for a new feature.
  • 4a0e34a Applying patch from 'jeremyharris' to make RequestHandler::renderAs() accept an array of options that can be used to send a file as a download. Fixes #950
  • bdb3feb Adding stack trace to the console error handler. Updating tests. Changing require to require_once so the test case for ConsoleErrorHandler doesn't blow up in cli.
  • d5e906f Adding deprecation flags.
  • 12338a0 Updating instance method calls in AclComponent.
  • c8c20ea Xml::build now supports options and can return DOMDocument.
  • 071ff04 Xml::fromArray now receives a list of options unless simple format.
  • a8b6182 Changing Xml::fromArray to use DOMDocument unless SimpleXMLElement. The return continue as SimpleXMLElement.
  • 5d703c4 Fixing + adding imports for Scaffold.
  • 58d62cb Fixing issues with tests failing because exception messages changed.
  • fa9eb94 Adding base class import for view classes.
  • 2d86c12 Adding view import to fix xml suite from not running.
  • f677c4a Fixing bake task tests and adding ConsoleErrorHandler to the AllShells suite.
  • f94fcfb Updating Api shell test case to account for changes in controller api.
  • b02d961 Adding ConsoleErrorHandler to the shell group.
  • 6e5e32b Updating AclShell test to use AclComponent correctly.
  • 4ff52da Making import() ing a component ensure that the Component base class is loaded.
  • ca7e327 Fixing the documentation.
  • 2b3099f Removing duplicate method call.
  • c1a75cb Support to namespaces in Xml::toArray().
  • 5f902d4 Changing the default format of fromArray from attributes to tags.
  • 87604f9 Adding a missing assert to tests.
  • 0f23634 Adding stack traces to error400 and error500 when debug > 0. Adding the stack trace element.
  • 09fd8ba Adding stack trace output to the framework errors.
  • 45dab88 Adding a cast to fix a failing test from the merge.
  • 464d221 Renaming model_behavior test to behavior_collection test as that's the class that contains the tested methods.
  • 5789aaf Applying patch from 'tkykmw'. Behavior mapped methods are no longer run through strtolower(). Mapped methods are now case sensitive. Fixes #318
  • 2e46d2f Changing gif to png, so baked apps have the correct icon. Fixes #1081
  • fd50c2a Adding some tests for the constructor.
  • d54c901 Moving _setupDatabase() into the Database session class, as that's the only place its used.
  • c8ad4f1 Updating test session classes to not use static methods.
  • 474ace0 Adding CakeResponse to the list of included files for Controller.
  • d62ae29 Fixing issue where ConnectionManager wasn't triggering session close, causing issues with database sessions.
  • 27ae7f1 Making session storage classes not static, there was no real reason they were static before, and removing the static methods allows them to have constructors. This will allow moving database specific features from CakeSession to DatabaseSession.
  • 01eb0bf Making messages optional for HTTP exceptions.
  • 8bd0f18 Adding a new line to the ConsoleErrorHandler Refactoring ConsoleErrorHandler test to use dynamic mocks.
  • 9fee81c Updating ConsoleErrorHandler to use new exception names and method renames.
  • e5b4dd9 Renaming exceptions to not use Error400, Error500. Instead HTTP status words are used. Adding more common HTTP status errors. Updating tests for ErrorHandler.
  • b7791dd Removing variable that wasn't provided by the exception.
  • cc17e1a Adding more doc blocks to error classes.
  • 954676c Adding doc blocks to the new exception classes.
  • d198230 Fixing issue where errors that did not have a 500+ code would use the incorrect status code.
  • 4d86361 Refactoring exception handling so codes are much more flexible and easy to change. Made error404 and error500 more generic. Removed error() as it didn't really make that much sense.
  • dbd34c7 Removing newlines and trailing space.
  • 4980f42 Renaming file.
  • 42d998c Fixing up the include for the console error handler, and adding a test for stderr handle.
  • fa7549d Fixing comments and removing cakeError(). Instead you should be throwing exceptions.
  • af87e5d Adding a skip when AppError is present, as its behaviour is unknown.
  • 8c428ff Moving where AppError is used, as infinite recursion is no fun.
  • f2db197 Adding in support for AppError.
  • 2c7ef67 Fixing stupid output buffering error.
  • 29ade86 Adding cases for Error404 and Error500 exceptions.
  • a1e01e4 Adding a tests for CakeExceptions and non CakeExceptions
  • a44b353 Integrating the ConsoleErrorHandler into the console environment.
  • 60e4466 Moving ErrorHandler to ConsoleErrorHandler so it doesn't have classname conflicts. Making the console use a subclass of ErrorHandler.
  • 034aaa7 Creating optional boot variable that informs Configure if it should bootstrap the app. Changing how ShellDispatcher checks for app existence it sets the $boot var now and reuses the framework bootstrap file instead of a second custom one.
  • 81e6ca2 Moving dispatcher include so that cake/bootstrap.php is only bootstrapping the framework. This should allow reusing the bootstrap file for console and web once console error handler is fixed.
  • d6b43c0 Removing TIME_START global, use $_SERVER['REQUEST_TIME'] instead.
  • ffa8b95 Changing classname and importing base class.
  • 3940b05 Adding a big docblock to explain how to setup application exception handling.
  • 2e8a60f Removing some mentions of cakeError as its been removed. Also adding information about exceptions that can be raised.
  • 9239caa Added tests to use Xml with SOAP.
  • 063fcf5 Moving error handler inclusion to before Configure::bootstrap() so app error handlers can be created. Fixing issue where unknown exception types would not be handled spewing out errors. Unknown exception types are interpreted as 500 errors.
  • a1eeb03 Added tests to use Xml with XML-RPC.
  • ff29897 Moving the rss content to a file.
  • 26b514e Chaning tests of Xml to public.
  • edcb5e4 Added tests to use Xml with RSS.
  • a8d4015 Updating bootstrap process in CLI to match the one in web. Updating all_libs to use new file. Updating error_handler test to run in cli. Updating Controller so it imports required classes.
  • 1f30c06 Fixing method coercion in error404 so it only coerces CakeExceptions. Test Added.
  • 534f600 Adding omitted parent call.
  • 612c52b Adding a beforeRender() that automatically escapes all the content sent to errors handled by CakeErrorController.
  • 78ac5bd Removing sprintf() placeholders that don't work.
  • efaa2e1 Refactoring test case to use a dataprovider for the uniform/copy paste test cases.
  • f1164c9 Updating the various CakeExceptions to take arrays in their constructors. This allows for the existing templates to continue working, as well as generalize the way in which errors are handled. This change also makes the messages coming out of exceptions more readable and removes string hackery.
  • 741f297 Removing non required attribute from missing controller error page.
  • 99cde14 No more skipped tests for ErrorHandler. Removing missing_model as it was never called.
  • 465b15c Removing reference assignments.
  • 7fb62e9 Updating more error messages to use exceptions.
  • 041aeec Renaming test case file to match class file. Updating tests and methods for missing_action, missing_view, private_action.
  • 88c66c0 Renaming error.php to error_handler.php to better match its class name.
  • 756baea Making CakeErrorController get the most recent request, this will help when using requestAction. Updating test cases for error404. Updating ErrorHandler
  • 8712a90 Adding some tests for construction.
  • a30721b Moving exception classes around and making all the core exceptions extend one class that overrides the code to 500. The code value will be used as the HTTP status code for the error page.
  • 5d942ee Extracting a few methods to make testing easier, and subclasses easier to create.
  • 26f4ad4 Modifying bootstrap so it sets a default exception handler. Making a ghetto implementation of exception handling. Adding a crude test case, adding incomplete markers to all other tests.
  • 04d3353 Adding access specifiers to methods
  • 9b3e910 Adding omitted types of exceptions.
  • 5de88c0 Moving CakeErrorController to its own file.
  • f7addab Whitespace removal
  • c1209a1 Added RequestObject output in place of Controller:$output whicch no longer exists.
  • 93b8004 Fix failing scaffold tests.
  • a2186c4 Updating doc blocks for CakeRequest and CakeResponse.
  • d8b2bcd Making view + helpers groups pass.
  • dcb7a16 Fixing controller test cases.
  • e4545db Fixing failing tests in Dispatcher.test.
  • c76f205 Adding exceptions file.
  • dc67b9c Moving all the exceptions into one file for the short term.
  • f0d938c Fixing failing tests in scaffold.
  • 0683dc4 Replacing cakeError calls with exceptions in ConnectionManager and Model.
  • c4cb629 Replacing cakeError with exceptions in Scaffold.
  • e600f86 Updating Dispatcher test to test for exceptions instead of cake error returns. Removing a test that is no longer valid.
  • b301b0d Adding MissingModelException.
  • caf7668 Adding documentation for Dispatcher::dispatch throwing exceptions.
  • a15c4f8 Moving calls of cakeError() to using exceptions.
  • 1980c92 Adding RuntimeException classes for Dispatcher.
  • 1e6064c Removing the last exclusion from the AllHelper group.
  • 1a52442 Removing class_exists() check as the class is now lazy loaded.
  • 6c87a02 Updating base class.
  • 4cc2229 Updating CacheHelper to use correct View API. Updating View to make CacheHelper tests pass.
  • 19e301c Updating test view to use correct helper syntax.
  • 52b0918 Adding fail tests to Xml::toArray().
  • 84cf5d5 Changing to use array in tests.
  • f8b4d92 Arrays with @ as key now is the value of tag in Xml.
  • ac36bc5 Adding some docblocks to Xml.
  • f777bd9 Making Xml::fromArray() parse @ in attibutes keys.
  • 9611ab1 Changing to Xml::toArray() return @ after attributes to dont conflict with tags with same name.
  • b1c41e5 Making tests use dataProviders instead of repeated test methods.
  • b5b7595 Fixing issue in scaffold where it accessed $output, which no longer exists.
  • 91c9c74 Removing response injection into controller from dispatcher. Modifying Dispatcher to use accessor method.
  • 7221f9c Moving response construction into Controller, this will let controller classes more easily modify the response subclass they want to use. Test case updated.
  • 44f1687 Adding another test.
  • efc1a20 Adding spaces infront of comment blocks.
  • ec22db5 Adding methods to get host, domain and subdomains for a request. Tests added.
  • 0ec0962 Adding CakeRequest::method() to find the name of the HTTP method name used for the request. Test case added.
  • 6d8c761 Adding a missing s.
  • 750fe3a Removing text() and password() as the new __call method handles them. Updating test cases and adding a test for allowing a magic method to override the type.
  • 4efc170 Adding some documentation.
  • e79df23 Adding a magic __call method to handle html5 inputs and simplify input generation logic.
  • e2fee17 Adding an ob_end_flush() to clean up an unclosed buffer.
  • 4622ec4 Updating the skel and app test.php's to not make a global variable for the dispatcher. This dramatically improves the performance of the web test runner.
  • c4a978d Adding changes missed in the merge.
  • 36e585b Starting to update a test that was previously marked incomplete.
  • 238c734 Moving a test case that should be implemented in controller, as that is where the code that needs to be tested is located.
  • 4506431 Fixing a comment.
  • bd89ef5 Updating session helper constructor to fix failing tests in Controller::render() integration tests.
  • 62d646d Removing tests that have been implemented elsewhere.
  • 74a1294 Removing incorrect method implementation. Adding documentation to Component::beforeRedirect() Adding documentation to ObjectCollection::trigger().
  • 4463ff7 Moving all components suite.
  • 2494156 Removing reference operators that caused tests to fail. Adding an alias as several tests relied on a User object being in the registry to autodetect fields.
  • 3d5d6f6 Removing two helpers from the exclusions as they don't cause issues anymore.
  • fdfe806 Adding collection tests to test suites.
  • 6d9cee5 Fixing failing tests from merge with 1.3
  • 59c692d Fixing incorrect/failing test in Security component.
  • f5bebc9 Adding an Acl property to AuthComponent and updating tests to use new API's
  • c6a63ba Fixing incorrect method call from merge with 1.3
  • db1acb4 Making SessionComponent extend Component. Updating test case.
  • 6dbe5b0 Fixing failing test caused by undefined variable.
  • 5068d62 Fixing issue that came up in rebasing.
  • cd48ee4 Removing comment about a feature that no longer exists.
  • d01708b Adding temporary $View property to controller until I figure out a better way to provide access for it. Test case updated to reflect View not being in the registry anymore.
  • 07a7e18 Removing ClassRegistry access in RssHelper.
  • ab0f21f Fixing tests failing in ThemeView test as they were not expecting exceptions that should be expected.
  • 65c2350 Removing ability to register View and ThemeView into ClassRegistry.
  • dfa5273 Making SessionHelper not use ClassRegistry to access View. SessionHelper still needs to not inherit from CakeSession.
  • 576eba3 Removing ClassRegistry use from FormHelper and its test case.
  • 90b0ac7 Removing remaining ClassRegistry::getObject() in HtmlHelper.
  • 7b3f2f7 Updating methods in Helper to use $this->_View.
  • 7efe163 Making HtmlHelper not use ClassRegistry to access the View instance. Updating test cases.
  • e0acd21 Fixing ShellDispatcher tests and making ShellDispatcher/Shell use TaskCollection to loadTasks.
  • cb3c7fe Adding test file to test loading.
  • 9804ed0 Adding tests for loading plugin files.
  • 457f24d Adding TaskCollection, much like Helper and Component collection TaskCollection will be used to reduce global space pollution.
  • 19f008b Fixing broken tests in HelperCollectionTest Moving unload into ObjectCollection as its common between 2 child classes, and possibly a 3rd.
  • 426d35d Fixing string that got changed in a rebase.
  • 55d71dc Updating Controller test case to use new ComponentCollection.
  • ca65fae Starting to fix SecurityComponent test case. SessionComponent still causing lots of trouble.
  • fa8a43f Updating tests to use new Component api. There are still a pile of tests failing because of SessionComponent.
  • 0f5e881 Fixing typo.
  • 7b4916e Updating AclComponent to new Component API.
  • efc5054 Updating CookieComponent Test case to new Component api.
  • a4e2f7c Updating intialiize() callbacks. Moving $this->_set() int Component::__construct as all the core components did it. Updating constructors and including parent calls.
  • 052c817 Removing some code duplication.
  • 22fbc24 Adding 'collectReturn' option to ObjectCollection::trigger. lets a callback collect the return of each object and return that. Adding tests.
  • 54132cb Adding return checks, and changing mock creation.
  • fac9773 Making Controller use ComponentCollection.
  • 256532b Updating Components to use Component as the parent class.
  • bf75ab5 Starting to update Component into a base class instead of a loader class.
  • 3666643 Adding ComponentCollection and a test case.
  • 337ab19 Updating ObjectCollection::trigger() so it doesn't call __get(). Updating HelperCollection test which was passing by coincidence.
  • 6201988 Changing file headers to reflect accurate licences and versions created.
  • c44c276 Removing ModelBehavior::dispatchMethod(), replacing with call_user_func_array() as its faster and the php4 workaround is no longer needed.
  • 409b129 Simplifying logic and data structures used to store enabled-ness of objects in an object collection.
  • b225085 Moving BehaviorCollection into its own file. Changing how behaviors are stored in the collection object. Makes it work the same as HelperCollection.
  • fcbfb55 Moving loaded helpers into a protected array. Adding magic methods to access the object array.
  • c78e869 Removing PHP4 workarounds in BehaviorCollection. Making BehaviorCollection throw exceptions instead of use cakeError.
  • d048813 Adding in property copying until this branch gets merged with 2.0-request.
  • d6362f1 Converting spaces to tabs.
  • 6a88452 Updating TextHelper to not use create_function(). The create_function calls leaked memory and didn't work with the new helper constructors.
  • 2d791e1 TextHelper test case constructor issues fixed. There are still fails caused by create_function in the helper.
  • 3379e53 Updating test case to use correct methods. Updating test case to run in CLI.
  • ba80585 Adding test for attachedness of Helper helpers.
  • 4672cee Removing dispatchMethod from JsHelper, its not really that useful, and is good at hiding bugs in mock tests. Updating test cases.
  • 0e933e8 Updating most helper test cases to use View in their constructors.
  • 68ff2e5 Adding additional tests for Helper lazy loading.
  • fc33797 Moving methods around. ObjectCollection now normalizes helpers arrays. Plugin helpers now lazy load. Tests updated.
  • 98982a6 First attempt at lazy loading helpers done. Plugin support not complete.
  • ab815a5 Helper test case is passing again.
  • 087ccab Starting to modify Helper constructors.
  • 1d983e1 Making MissingView and MissingLayout cake errors into exceptions.
  • a2320779 Modifying View to accept HelperCollection. Removing methods that are no longer needed.
  • f8ecb10 Adding stub callbacks so errors aren't generated.
  • 1c1c4be Fixing errors that would occur when call_user_func_array() triggered failures.
  • c15d228 Initial integration of HelperCollection into View.
  • 16d5b26 Adding a way to load helpers in a disabled state. Updating tests and subclasses.
  • d0de468 Removing options that were not used in the generic application.
  • aa61a25 Deprecating BehaviorCollection::attach() and BehaviorCollection::detach(). load() and unload() are more generic and make sense in other contexts. Adding base trigger implementation. Adding tests for helper triggering.
  • 9fd881c Moving methods down and adding some tests.
  • 6db3dbc Starting to create HelperCollection which will be responsible for loading and constructing helpers. Making an abstract class that will be the base of all object collections. Adding test cases.
  • 4a8e44b Adding test case for CakeResponse::mapType()
  • 7e1426e Fixing doc block
  • e7c7008 Changing behavior of RequestHandlerComponent::responseType(), it will return the current content type set int the response object It will not return null as default as it did prior 2.0
  • 1acbf15 Removing RequestHandlerComponent::_header() method
  • 8968204 Adding test method for CakeResponse::download()
  • cb63cd1 Fixing typo
  • bbbb81e Adding CakeResponse::download() method
  • 5fb320f Refactoring RequestHandler methods to use the response object
  • 4fd032b Refactoring RequestHandlerComponent::mapType() and added response object property to the component
  • 040740c Changing the order for comparisson checking on some types, when looking for a mime type
  • ae2fa90 Dont use private attributes as tables in CakeSchema. Fixes #7
  • 87eb1ec Adding the ability to add custom content types to CakeResponse
  • 077f71a Refactoring controller rendering to use the CakeResponse object
  • 0824348 Removing Controller::output property and refactoring methods to not use it. CakeResponse::body() should be used instead
  • 1b58084 Removing Dispatcher::header() as it is now longer used
  • f9c9738 Refactored Controller::disableCache() to use the CakeResponse object, method was also deprecated
  • 60f504a Refactored Controller::header() to use the CakeResponse object, deprecated Controller::header() and Controller::httpCodes()
  • 9d104fe Refactoring Controller::redirect() to use the CakeResponse object
  • 3ab4e09 Moving Controller::httpCodes() to CakeResponse
  • 754c077 Skipping response compression test when running in web tester
  • 95bc6a7 Refactoring Dispatcher to use the response class when delivering assets
  • abafdb0 Implementing the CakeResponse::compress() method
  • 8780f0b Implementing CakeResponse::cache()
  • 5ba0e43 Implementing CakeResponse::disableCache()
  • 20d1e48 Implementing and tesing CakeResponse::send()
  • d1808db Changing the encoding method for "charset"
  • 2a4b30d Implementing CakeResponse::header() method
  • a2eac24 Removing second parameter from CakeResponse, the response should not be magical
  • 159ac20 Testing remaining implemented methods
  • 2c7b21b Completinng mime types array
  • f432de8 Implementing some function in the response object, adding test case
  • ffd7066 Adding the CakeREquest object with initial function signatures and parameters
  • 527446a Changing the RequestHandler to use new Xml class.
  • 53f8353 Updating Set to use new Xml class.
  • b862d68 Support to namespaces in Xml::toArray.
  • f4d5230 Fixing the read for toArray of content when have child or attribute in xml.
  • 8f1bdd5 Change to RssHelper use Xml class instead XmlHelper.
  • 272b327 Fixing issue where $error would be set to an array.
  • 19d8c9e Removing a call to __setError() that isn't an error.
  • 8db0a19 Refactoring duplicated logic into a method.
  • ef586d9 Updating test case to use autoRegenerate.
  • f5bf4c5 Changing config value name to more accurately represent what it does.
  • 6ff7ad6 Fixing some infinite loop issues in the test cases for CakeSession.
  • b3febb4 Fixing incorrect use of Cache::gc(). It has no parameters for now.
  • 2f1aa0a Making CakeHtmlReporter dump a stack trace when an exception is caught.
  • 81f6f43 Moving a few things around to better replicate how CakeSession behaved in 1.3. Also fixes the countdown & session id regeneration feature. Still need to write a test case for it though.
  • d2097c5 Fixing issue where infinite loops would occur when a session was first created.
  • 977ffa9 Removing dead properties and methods from SessionComponent. Sessions should be started as soon as the component is constructed. So there is no reason to have an active()/activate() method.
  • 574bfe6 Changing clear of $_SESSION to null instead of array(), makes checks later easier. Removing _checkValid call from destroy and making it run in start(), as destroy() calls start().
  • a857e45 Adding files from previous commit.
  • db5c44e Adding support + test cases for plugin and app/libs session handlers.
  • 5673ceb Updating core.php files with new session configuration.
  • 18b6668 Moving tests from SessionComponent to CakeSession, as that is where the features actually are. Removing Security.level/Security::inactiveMins() calculations.
  • eb30c12 Adding a test case for DatabaseSession::gc();
  • 28b9ed7 Adding test cases for DatabaseSession and fixing a test case in CacheSession.
  • 7d2d2aa Adding test case stub for DatabaseSession and test case for CacheSession.
  • 951eeae Extracting handler location into a method. Moving DatabaseSession and CacheSession into separate files. Tests to come soon.
  • 736d336 Adding tests for using a custom session config with CacheSession.
  • 49397c7 Making cache config used for cache session storage configurable.
  • f5d81e5 Refactoring Cache and Database session handlers into a separate class, and adding an interface for custom session handlers. Tests updated.
  • a8b05c2 Adding a check for '' and failure. When trying to Cache '', FileEngine will return false. This shouldn't trigger an error inside Cache.
  • 339fa29 Updating CakeSession test case and fixing a few issues in the default settings.
  • b247559 Starting to implement new session configuration setup. Test case updated.
  • f05a13a Added test for empty key write on CakeSession
  • 7501fcf Add test for empty read() calls on CakeSession
  • 623998f Added test for empty session check.
  • ca65689 Change _setHost() on CakeSession to accept parameter to ease testing, add test cases for host setting, and port stripping.
  • a63474a Add test for path containing question, and fix assignment of CakeSession::path
  • f556589 Removing __regenerateId method, and moving code to renew().
  • afede66 Reducing redundant code for CakeSession.
  • 725bfc3 Create _setPath() and _setHost to simplify startup.
  • 4b65ebd Making SessionComponent mostly a wrapper for CakeSession. Adding CakeSession::begin() to replace SessionComponent::__start(). Tests updated. Tests related to autoStart were removed/skipped as that feature isn't really around right now.
  • e660416 Making CakeSession::write() able to write hashes of data.
  • 59ea917 Fixing a few failing tests, and splitting a big test into two smaller ones.
  • 4e9d76e Fixing session write use issue.
  • dd3e0fa Trim down CakeSession::started()
  • db97df3 Adding static to regen
  • 1dd02b7 Adding static to destroy()
  • f47ee0d Making CakeSession destory() make started() not return true. Fixing tests that tried to modify session config while a session was active.
  • daab018 Removing code for PHP < 5.1 which is not supported by 2.0
  • 1938e57 Making userAgent check test pass. Reformatting code inside valid().
  • b60b077 Fix __startSession being called after method rename to _startSession.
  • 34a6808 Move CakeSession database configuration to separate method, cutting down init().
  • 632d1f1 Minor refactor for CakeSession.
  • 9bddd9a Minor refactor of if()'s
  • e5b8454 Update test Start with fresh watchKeys.
  • 06f9d74 Fix session path/base for init()
  • 16f4899 Fix destroy() calling old constructor on CakeSession
  • ea7d45c Remove unset()
  • b0e4a09 Rename constructor to init() and add init() call at bottom of CakeSession.
  • 3430930 Remove Session helepr disabling tests.
  • 86a7263 Fix cookielifetime variable declaration for CakeSession.
  • b054e12 Comment out testValid() for SessionHelper
  • 6f2cee6 Fix removed valid() test.
  • 913d54c Remove __start from SessionHelper
  • 04b67e5 Fix tests to remove checking of session ID directly on Session Helper.
  • 17688a6 Chaned CakeSessn o use static approache.
  • 0a72de6 Removing @access doc block lines from CakeSession.
  • 58c94b8 Add access to started() on CakeSession.
  • c8c677a Change SessionHelper to extend AppHelper instead of CakeSession.
  • 390274f Remove function exists check on session_write_close()
  • df12e5b Removing @static and @access from Xml class.
  • 5de7fa5 Adding PHP Doc to XML class.
  • 921dfb2 Split of exception tests by tests using @expectedException
  • 9725d12 Adding sample.xml and changing the path in tests.
  • 43d4909 Removing xml helper. Use SimpleXML instead.
  • 294bef6 Refactory of Xml class. Now uses SimpleXMLElement to manipulate XML data.
  • 1cfcec9 Removin use of File class in favor of SplFileObject
  • 91b0a4b Changing Tree behavior's function names to be camel cased as per convention
  • 43127ca Making Cache::write() trigger warnings when a cache engine returns false from a write. Tests added. Fixes #877
  • 88ea68af Using keyword self instead of Configure, removing use of File class in favor of SplFileObject
  • 766d7d5 Updating HtmlReporter so it doesn't make notice errors when printing stack traces.
  • 572f79b Fixing failing tests caused by strtolower() in AuthComponent.
  • bc27d1e Returning only booleans in Model::__isset() and removing return by reference in Model::getDataSource()
  • c7f1650 Fixing test case
  • b8b4647 Removing use of cakeError in Model and replacing it with an Exception
  • 6fb930c Removing assignments by reference in model class
  • e30904f Removing some of the loaded fixtures to show that tables are not needed in the process of model construction
  • a57e5e8 Replacing direct reads to schema cache and routing them to the correct method
  • 5d1e6f9 Fixing errors with displayField
  • a13be62 Making the model require database connection only wen needed or requested
  • 6761287 Removing non used fixtures
  • e165f7d Changing how dynamic "with" models are loaded Changing all calls to get model's datasourse to use Model::getDatasource()
  • 71af126 Changing HtmlReporter to print out testname and stack trace instead of trying to guess where things went wrong.
  • 0ec30be Improving tests for model associations lazy loading
  • c1a9a2e Correctly registering plugin models in CR, initial test case onmodel associations lazy loading
  • 96f834a Various bugfixes in model associations lazy loafing for "with" associations
  • fdf9119 Initial approach for model associations lazy loading, all model tests passing
  • 91c3cd8 Refactoring Model::__createLinks to not loose the plugin name when creating the association
  • 2a3e64b Removing skip as the supported php version does have the memory_get_usage function available
  • 62bc184 Fixing ModelWrite Test
  • 478cbd0 Adding test case for TestSuiteShell and refactoring to ease this testing
  • 1c08d48 Showing the available testcases when the testsuite shell is run with no params
  • 7f7de13 Improving the help screen in the testsuite shell
  • c9079c8 Removing magical un-removable plugin concatenation in Controller::loadModel(). Adding test case from 'real34'. Fixes #858
  • fb3c3a6 Removing non functional -coverage option from the help Removing now dead code. Adding support for documented -filter option.
  • fb9faf1 Added missing option arrays to abstract function definitions in JsBaseEngineHelper. Fixed test cases accordingly. Fixes #704 .
  • 01cfe32 Adding a test case list to the test suite cli runner
  • eed9d93 Fixing failing tests because cache paths did not have trailing / on them.
  • 03288e5 Updating imports on ThemeView test so it runs in CLI.
  • 5c076d4 Adding import to Helper so its tests run in CLI.
  • 9fe5f36 Adding a default value to options param in JsEngine effect to avoid error in some php versions.
  • 5d2c48f Fixing failing tests caused by strtolower() in AuthComponent.
  • eeda60b Fixing failing test in Dispatcher caused by strtolower of method names.
  • 5c4d46a Removing reference operators.
  • a04c87c Adding App::init() to bootstrap App now that its static.
  • d28f7f4 Fixing failing test.
  • f202f89 Initial port of App to a static class, one test is failing.
  • 0e2a313 Removing reference operators from controller. Removing cakeDebug as its no longer used.
  • 10be0e5 Updating ModelTaskTest so it runs in a TestSuite.
  • ec84f57 Updating ControllerTaskTest so it runs in a TestSuite context.
  • 3ae1501 Removing more strtolower loops.
  • b7310af Removing strtolower() loops on method names, as casing is preserved in php5.
  • e64a187 Marking problem test cases, as things that might need to be skipped or fixed.
  • b15948c Updating merged tests from 1.3
  • fbc84cb Switching assertTrue() for assertContains, as its more readable.
  • a3bf367 Adding unique fixtures to ControllerTaskTest and updating the test cases.
  • 82ae533 Updating FixtureTest to account for removal of ?> in templates.
  • 906ef65 Refactoring header sending in dispatcher to be able to test it properly
  • 38d8e03 Fixing some errors on SchemaShellTest
  • da9d1c6 Importing controller in bake test to make it pass under the cli runner
  • d5c51b9 Fixing notices introduced in last commit
  • 7b51feb Fixing constant declaration as it was not consistent in web runner and cli runner
  • fa8db57 Fixing test case
  • 7dae4a7 Avoiding error to unlink files in Windows. Fixed lock in file cache.
  • 1b97af2 Making necessary changes to use the PHPUnit cli tool in testsuite shell
  • f8ed997 Adding the test runner class to be able to load unit test cases using the PHPUnit cli tool
  • 21ffdb0 Starting to refactor testsuite shell to use the PHPUnit Cli runner
  • 5b999e6 Renaming and refactoring method for checking existence of PHPUnit test framework
  • feec7f9 Created a loadCase method in TestManager and changing visibility of some methods
  • cdf52a8 Adding a params var to the TestManager to hold through the lifecicle of the object
  • cbccd16 Adding visibility and static keywords to connection manager.
  • 5d8e27d Removing @access and @static where they are not needed anymore.
  • 09e04c5 Removed old use of Configure class in tests.
  • fdafa6b Adding visibility and static keywords to ClassRegistry.
  • a0647e5 Making static methods static.
  • a2c1ca9 Converting Multibyte class to use static methods and properties.
  • b8085cd Removing PHP5 and all its uses.
  • 4a32a39 Updating doc blocks.
  • 02e25f7 Changing Configure::read() to not have a default value, and instead return all values in configure when no param is supplied. Test cases updated. Fixes #503
  • 2fee0b5 Updating console bootstrap process.
  • b2351ef Updating Configure to be a fully static class.
  • 90b2123 Updating Inflector to use static methods and properties. Reducing the number of cache properties to one. Deleting PHP4 specific tests.
  • 999a878 Removing closing ?> on bake templates so they match the rest of CakePHP.
  • 62e16c7 Fixing issues where permissions would not be set to world writable on file caches.
  • d03ea3b Adding CakeRoute and PluginShortRoute to the test suite for routing.
  • a8e5e58 Making RequestHandler able to use the accept header to detect and switch layout/view paths. Fixes #729
  • 81d0385 Updating doc block and exception in CakeRequest.
  • a7a4285 Renaming __requestContent to _contentTypeMap
  • 427e859 Refactoring how prefers() works. Tests updated. Removing support for array args in setContent().
  • ba287ec Updating accepts() and doing some refactoring.
  • 8d32ad2 Starting to update RequestHandler methods to use CakeRequest. RequestHandler will provide alias/mapped access to features in CakeRequest. Tests updated and expanded.
  • 6e516ca Expanding doc blocks for CakeRequest.
  • bb5eab5 Fixing missed tests in RequestHandler test case.
  • ea0f9cf Moving accepts() into CakeRequest. Adding test cases.
  • 9e3a41e Fixing failing tests.
  • ef6e01f Making themePath work with E_STRICT.
  • dedc853 Adding header() to get header/server vars. Adding OPTIONS to the detector list.
  • 3e6cd0b Removing inheritance on Object as Dispatcher has no use for the inherited methods. Removing flush() call as it was causing the test suite to not display anything.
  • ea322b8 Fixing issue where getCrumbList() was overwriting attributes.
  • dae14ac Removing debug.
  • a84db71 Fixing comments in file.
  • d7ff6cf Updating simpletest error page to reflect PHPUnit.
  • 1c47702 Updating formatting to match coding standards.
  • 5e79a45 Removing some more grouptest artifacts.
  • ec04c4f Removing CLI reporter. Its no longer used.
  • 68a9c9c Added HtmlHelper::getCrumbList() to generate semantically correct (x)html breadcrumb navigation path and a test to it. Fixes #856
  • cb3100f Applying patch from 'tbhot3ww' to make Dispatcher::asset() more forgiving with whitespace. Fixes #864
  • 16b7d3b Fixing assertIdentical wrapper as assertIdentical used to type check, much like assertSame does.
  • 139c377 Updating help for testsuite shell. Updating testsuite shell interface so it takes fewer arguments. Making -coverage an option instead of a positional argument.
  • e9ba86b Fixing typo and implementing -filter in testsuite shell. Fixes #211
  • bd43866 Removing commented code and code never used anymore.
  • b4c061b Testsuiteshell now runs again with PHPUnit tests.
  • bbf5a05 Making CakeTextReporter work a little nicer in a CLI context. Updating documentation on TestManager.
  • 0baab93 Doing some tweaks to CakeTestSuiteDispatcher to make CLI testing easier.
  • 3ebbaf1 Removing SimpleTest method calls.
  • f814970 Fixing compatibility issues in CakeTextReporter that have come up.
  • 206d4d4 Removing 'group tests' PHPUnit implements them as testsuites, which do not need to be handled differently than test cases.
  • a166ea7 Fixing fails in dbo source test caused by not enough fixtures being loaded.
  • c084456 Moving console and database groups to PHPUnit. Both have some fails caused by the current fixture implementation. Removing groups folder as its no longer used.
  • 4689be6 Migrating EmailTest to phpunit
  • 0fb9a9c Porting Behavior group to PHPUnit. Containable is commented out because its test crashes the group.
  • e2e2669 Moving 'group' files to top of the list.
  • 7f9f76d Migrating Controller group to PHPUnit.
  • b3faa7f Fixing skips in ControllerMergeVarsTest.
  • e1bdf57 Migrating Test Suite group to phpunit
  • 4129ca4 Changing classes names to match their filename and make pass the CakeTestCase test
  • bd02a2b Removing test method for testing inclusion of "test groups", as we're dropping supoort in TestManager to load groups in favor of composing test suites in phpunit
  • 10c0494 Migrating configure group test to phpunit and fixing docs
  • 5d9c0ee Migrating socket group to phpunit
  • 2fcaa8d Migrating models group to phpunit
  • 72c7c3f Completing migration of ModelIntegration test case to phpunit
  • 1ce18ee Migrating CakeTestFixtureTest to phpunit
  • d8ac21b Migrating bake group to PHPUnit.
  • 6109b90 Removing Acl group its not really needed, all the classes are parts of other groups.
  • e9684fb Porting Libs group to PHP Unit.
  • 747847e Moving restore_error_handler up into TestManager and out of CakeTestSuite.
  • d1a06f3 Adding a restore_error_handler() so the Debugger test doesn't interfere with other tests.
  • 069c270 Calling parent methods from overridden methods. Deleting commented garbage test.
  • 22baf7f Fixing fatal errors that would arise if the Exception did not have a parent class.
  • 7ac76f3 Making Debugger test case play nicely with TestSuites.
  • 9df7268 Changing require for App::import() so tests are more composable.
  • f8ff859 Porting component group to PHPUnit.
  • b85bbd0 Porting localization group to phpunit.
  • e60f18e Porting Routing test group to PHPUnit.
  • ebd2a67 Porting Xml group test to PHPUnit.
  • 7bfd5ee Fixing comment.
  • d7a44e4 Updating @since tag and renaming AllCacheEngines test suite.
  • 4a5353e Migrating Cache group case to PHPUnit.
  • 9ace010 Updating ExtractTaskTest to pass under PHPUnit.
  • fad2610 Fixing the failing tests in ObjectTest for PHPUnit. Also marking tests as incomplete as there are several issues with Object::persist() and private properties.
  • e14d8e5 Updating test cases to work with JsBaseEngineHelper being abstract.
  • 2d20215 Converted JsBaseEngineHelper to an abstract class. Fixes #703 .
  • 0c8088c Fixing parse error.
  • 268b269 Updating file headers on test cases. Changing license on test cases to match the rest of the framework as the tests no longer interact with GPL code.
  • 129098e Moving View group over to PHPUnit style group test.
  • 7c694bf Fixing comment.
  • aee1c54 Renaming test case classes to better reflect the filenames.
  • d59544b Renaming test case classes to better match the filenames.
  • 7467a8d Moving converted group tests into cases tree. Eventually groups directory will disappear.
  • 629c0ae Updating Helper group test.
  • 535c92d Updating Javascript group test to recommended usage. Removing code from the TestManager.
  • d894f01 Updating Javascript group test to PHPUnit.
  • 4b2e9d3 Seems that htmlhelper test is fine now.
  • 4556b6b First pass at moving the GroupTest to a TestSuite.
  • 6300027 Adding a condition for the fixture creation so it doesn't cause errors.
  • 86eb46c Fixing path location for group tests.
  • f20cc81 Adding a skip for persistModel as the feature is horribly broken right now. Controller test case is running with PHPUnit now.
  • 2c037c0 Removing methods that are no longer called by PHPUnit.
  • b2e6123 Removing paintError() as it is no longer called. Removing paintMethodStart() and paintMethodEnd() as they are no longer called and reference classes that no longer exist. Implementing a skip printout for incomplete tests.
  • 2ec6f75 Adding two incomplete tests as they are not implemented. Pulling component tests out of the controller test case.
  • 6955995 Adding ommitted new line.
  • 9cdf11a Updating ModelTask test case to PHPUnit.
  • ad8d5fa Updating some tests to use onConsecutiveCalls() as its easier to read and maintain.
  • 5013ec0 Updating ViewTask test case to PHPUnit.
  • 0f33560 Migrating Xcache test to phpunit
  • 4021095 Migrating TestManager test to phpunit
  • bfb023f Removing unused methods and documenting fixtures property
  • fb23b98 Migrating ClassRegistryTest to phpunit
  • 754376c Migrating AclComponent test to phpunit
  • 42e02bf Partially migrating EmailComponent test to phpunit, some tests need to have installed a local smtp server
  • aa8d909 Updating ProjectTask test case to PHPUnit.
  • d3ec9e1 Converting CookieComponentTest to phpunit
  • fa8df12 Converting AuthTest to phpunit. Adding setter and getter method loggedIn()
  • d35e02a Sending correct patch for previous commit
  • a91e8b8 Updating FixtureTask test case to use PHPUnit.
  • f4cf945 Migrating DboSqliteTest to phpunit
  • 1b9eb03 Migrating DboMyqli to phpunit
  • 0a3e27b Migrating DboPostgres to phpunit
  • b3d9de1 Improving migration of DboMysqlTest to phpunit
  • a8328f3 Migrating DboMysqlTest to PHPUnit
  • 9b3df1e Migrating DboSourceTest to PHPUnit
  • 98a3239 Updating TestTask test case to use PHPUnit.
  • b723b92 Fixing issues where App test case list could not be viewed. Removing protected methods that only had one caller.
  • 574e1e7 Updating PluginTask test case to use PHPUnit.
  • 2c6bf51 Converting SessionComponent over to PHPUnit. Adding a few getter/setter methods to fix visibility issues in the test cases.
  • 255d0c9 Fixing basics.php test for phpunit.
  • d27381f Adding skipUnless compatibility method.
  • fa1ae28 Migrating SessionComponentTest to PHPUnit and adding public accessor method for varible in SessionComponent
  • 17054db Migrating ErrorTest to PHPUnit
  • b553954 Removing unused code from DebuggerTest
  • c8399a8 Removing assignments by reference in DebuggerTest
  • 08bcf4a Migrating DispatcherTest to PHPUnit, alos removing class dependencies from test folder home.ctp file
  • f09a5bd Updating TemplateTask test cases to use PHPUnit.
  • ac68f5c Updating Component test case to run on PHPUnit.
  • c5e4ab2 Adding return to RequestHandlerComponent::accepts() as it was missing. Updating RequestHandlerComponent tests to work with PHPUnit.
  • dad4b5a Updating DbConfigTask to PHPUnit. Making protected methods and properties protected for easier mocking.
  • ebfbbfe Partially fixing DbConfig tests to work with phpunit.
  • d0309d0 Fixing access violations in DbAcl test case.
  • d3844de Migrating DebuggerTest to phpunit
  • bd7ce38 Migrating CakeSchemaTest to PHPUnit
  • e381be7 Migrating AclBehaviorTest to PHPUnit
  • 0aff378 Migrating TreeBehaviorTest to phpunit
  • d951e4a Migrating TranslateBehaviorTest to phpunit
  • fd4db41 Migrated ConnectionManager to phpunit
  • 7aa01c4 Migrating SessionHelperTest to phpunit
  • 94dd8a2 Migrating ModelBehaviorTest to phpunit
  • d573be1 Adding compatibility method assertNotIdentical
  • d04278c Migrating ModelIntegrationTest to PHPUnit
  • c23fe5d Migrating ModelReadTest to PHPUnit
  • 2e7d2d5 Migrating ModelWriteTest to phpunit
  • 7d6ac75 Migrating ModelValidationTest to phpunit
  • 375dde8 Migrating ModelDeleteTest to phpunit
  • c4b35eb Fixing CakeFixtureManager::loadSingle to create the table if not exists
  • 82da9be Fixing issue with fixtures not being unloaded if the test method throws exceptions or fails in some unexpected way
  • ae4f3b2 Moving logic from methods that will be probably deprecated
  • 33b2f04 Migrating ThemeViewTest to phpunit
  • 0743cee Migrating ViewTest to phpunit
  • b2f7afc Migrating SetTest to phpunit
  • 499b8cf migrating HttpSocketTest to phpunit
  • 02a04ab Fixing return values of methods, and updating tests to run properly in Phpunit which uses exceptions instead of errors.
  • ea2f032 Reverting change made in [7cde309]. Readding trim() to fix issues on windows. Updating tests so they continue to pass on macos. Fixes #769
  • 22e942c Fixing most of the File test case issues with phpunit.
  • 713e6e6 Fixing parse error that caused scaffold test to not run and not pass.
  • 75d7b46 Updating memcacheEngine test case so it passes under phpunit.
  • 5ef9103 Updating the rest of the controller task test case to use phpunit.
  • ca5fb9f Fixing tests broken by changes in default bake templates. Fixing issue where admin methods wouldn't be correctly generated. Fixes #664
  • 62ec258 Making more tests work in phpunit.
  • 7e6773c Updating ErrorHandler and CakeErrorController to use CakeRequest. Tests updated.
  • 3e3265a Adding omitted echo.
  • f4abc51 Removing dependency on RequestHandler from Security component.
  • 8acb82f Updating Security component to use CakeRequest and updating its test case.
  • 5a6db36 Fixing PagesController test case to use CakeRequest.
  • a737b77 Fixing bridged method assertIdentical. The corrent interpretetion in PHPUnit was assertEquals and not assertSame, as the former is to assert references to the same object
  • 0dc6271 updating helper and component tests for controller task to use phpunit.
  • e4ccaba Adding a filter GET parameter which allows you filter which test methods get run. It accepts preg_match() compatible patterns.
  • 8ac46c3 Adding return from _stop() to help testing. Updating tests for getName()
  • 9647e35 First test passing for controllertask test
  • 08bcf55 Starting to convert controller task test to phpunit.
  • 66699df Updating Shell.test to use PHPUnit. There may still be some errors with the windows tests as I don't have access to windows at this time.
  • 265609d Moving test to work with PHPUnit. Fixing incorrect count amount in SchemaShell.
  • 81c2169 Fixing BakeShell test for PHPUnit. Mock expectation numbers are off due to some oddities in PHPUnit.
  • 0436e93 Fixing typo in class name.
  • 89a8ef3 Updating API shell to use reflection as the regular expression was not working with visibility keywords. Updating tests for changes in output. Updating tests to work with PHPUnit.
  • 1955b0f Updating Acl cli tool test case to use PHPUnit mock objects.
  • b73870c Removing reference operators in the AclComponent.
  • 1c36c1f Updating ShellDispatcher test case to use PHPUnit mock objects.
  • 326f33f Adding wrapper for assertIsA() assertion in simpletest.
  • cd4e634 Exposing Object::_set() as a public method for testing and updating tests. There are still several fails caused by _persist().
  • 94ac914 Changing Router::$__validExtensions so Router::extensions() always returns an array like the doc block says. Updating test cases for PHPUnit.
  • df6989e Fixing Sanitize test to run under PHPUnit.
  • 0759c0b Removing trailing whitespace.
  • 7cef278 Fixing missing boolean return in Validation::cc() Fixing Validation test case to pass under PHPUnit.
  • 625d120 Migrating MultibyteTest to phpunit
  • 1fa430c Migrating SetTest to phpunit
  • e60cc99 Migrating SecurityTest to phpunit
  • bcc3321 Migrating SetTest to phpunit
  • f1eaec1 Migrating StringTest to phpunit
  • 103d5c2 Partially migrated JsHelperTest to phpunit
  • 07c957e Making PaginatorHelper test run under PHPUnit.
  • 3f881ae Fixing message for completed test cases
  • c1c8008 Refactoring repeated blocks of code into a method.
  • f6edbfa Removing unused properties from Scaffold.
  • 76f94d5 Fixing form attribute access and broken test.
  • ef85fb1 Making scaffold methods protected instead of private. Adding visibility keywords
  • 1d884cc Updating Scaffold to use the CakeRequest object. Updating Scaffold tests.
  • 327d42d Fixing CacheHelperTest for phpunit
  • d7803dc Implementing skipped tests message in html reporter
  • f7949d6 Fixing FormHelperTest for phpunit
  • 8b66a90 Fixing syntax error caused by bad merge.
  • 6c2fe39 Changing how the cursor appears.
  • 32a46e9 Converting HtmlHelperTest to phpunit
  • b2d8536 Fixing Authcomponent tests. Updating the component + tests to use the new request object. Deprecating a number of Authcomponent properties.
  • 36a7158 Fixing issues with Controller::referer() and CakeRequest::referer(). Tests updated.
  • 4520ff7 Making View pass request onto helpers and extract it from a Controller.
  • e6a743b Making JsHelper use its request object methods.
  • 4453c91 Fixing JsHelper test cases to use the request object.
  • 322cceb Updating Text and Time test cases.
  • 0eebda9 Updating HtmlHelper test to use request object. Removing reference operators.
  • 3983bf3 Updating PaginatorHelper and its test cases to use the request object.
  • c5dfd12 Updating FormHelper and its tests to use the request object.
  • 0d3011d Updating CacheHelper to use CakeRequest.
  • 657073a Marking a number of Helper properties as deprecated as they are contained within the CakeRequest object. Adding a new property for the new request object. Updating the internals of Helper to use the request object. Updating the tests to use the request object.
  • 67e32e2 Additional refactoring in the coverage classes.
  • 9303de9 Fixing fatal error trying to run coverage on the coverage reporter. Removing old CodeCoverageManager implementation.
  • 5e29cfc Adding TextCoverageReport and extracting a base class. Updating the coverage classes to use the new class structure.
  • db4f7a2 Fixing search of test cases and groups for PHP 5.2.
  • 689e46b Converting ConfigureTest to phpunit
  • f3f37a1 Converting CakeSocketTest to phpunit
  • 01e36ce Improving compatobility method detection in paintError, so the failing line and method is correctly pointed out in the reporter
  • 72959e7 Converting CAkeSessionTest to phpunit
  • 6613cfb Migrating CacheTest to phpunit
  • c1dc753 Replacing call of static:: for self as it is php 5.3 specific
  • 17f338a Moving methods up into CakeBaseReporter. Starting to make CakeTextReporter work well with PHPUnit so the Text code coverage reporting can be implemented.
  • d349551 Adding tests for generating method coverage with the reporter. Adding method visibility
  • cb9d6f4 Making coverage reports show what tests covered the line being hovered over. Updating CSS to help facilitate hover effects.
  • 8f88073 Removing closing PHP tags.
  • 687eab9 Adding a toggle all button to the coverage report. Makes it easier to see the test subject at a glance. Adding ability to only show files that match the extension-less basename of the test case file. This hides much of the noise the new reports have.
  • e8e2235 Updating coverage report and tests to include hiding javascript.
  • 765de65 Fixing PaginatorHelperTest to be compatible with PHPUnit
  • 1e01e21 Impriving the default for expectExpection
  • bc9479e Fixing XmlTest to be compatible with PHPUnit
  • 508d707 Adding another compatibility test method: assertWithinMargin
  • 88d21fb Experimental change: restoring the error handler to steps back in the stack to let PHPUnit take over when running tests
  • 8095500 Finxing ThemeTest to be compatible with PHPUnit
  • c96b145 Adding new compatibility method for CakeTestCase
  • d252fde Fixing View test case to be compatible with PHPUnit
  • f084a82 Refactoring how coverage diffs are generated to better use data from phpunit. Removing methods made redundant by data changes.
  • ac318fa Switching back to using non raw code coverage data as it has been filtered by phpunit's filters. combining the data from phpunit into a singular cohesive report.
  • 3c3655a Fixing failing tests.
  • 75d7146 Updating code coverage tools to use raw data which includes dead and uncovered line data.
  • 9a20a23 Continuing work on updated code coverage reports.
  • 955c6be Verbose coverage generation has been added and tests added.
  • b8e83e6 Adding documentation for CakeFixtureManager
  • f6b49cd Updating file headers.
  • ccf5601 Updating coverage report initialization.
  • fad99ad Adding tests for merging of report data.
  • f5cfc32 Adding some missing doc blocks
  • ac5f731 Starting work on HtmlCoverageReport and adding a test case.
  • 72f162f Adding docs to CakeTestSuite
  • fd07380 Removing references to non phpunit code coverage parsing. Adding stub of new code coverage report generator. Updating related files.
  • fb09adc Adding tests for skipIf
  • 4d3a6e8 Fixing and testing for CakeTestCase::loadFixtures()
  • 2b5cd26 Adding tests for CakeTestCase fixtures
  • 5d041c5 Using the CakeTesSuite in TestManager and calling accordingly the load and unload of fixtures using the variable $sharedFixture
  • ec9c8b4 Adding the new class CakeTestSuite to setup some utility stuff like fixtures outside of CakeTestCase
  • acb9733 Convertint CakeFixtureManager into a non-static class to be able to replace it with custom implementations and to test it more easily
  • 507c3b2 Adding the CakePHP testing classes to the coverage ignore filter for PHPUnit. Starting to refactor how coverage is generated, to use more features of PHPUnit.
  • 9333782 Updating CakeLog tests to use @expectedException annotation.
  • e7ff0bd Adding missing parameters to assertEqual() wrapper. Adding assertNotEqual() wrapper. Adding expectError() but it doesn't work because of Debugger's error handler being set. Fixing fatal error where getDescription would not be defined.
  • 4b637a0 Updating more methods to use request object method instead of deprecated methods.
  • 82a1bd6 Cleaning up CakeTestCase and adding some tests for it
  • 5040eb7 Updating RequestHandler and its tests to use the features moved to CakeRequest. Marking a number of methods as deprecated.
  • 78bd730 Moving features from RequestHandler into CakeRequest.
  • df91002 Updating Controller::referer() to use the request object if available. Tests updated.
  • 77264da Updating Controller tests to always pass in a CakeRequest. Fixing some notice errors that come up in the test cases.
  • 2216187 Deprecating a number of Controller properties and adding $request.
  • 7124e6d Refactoring CakeTestCase to remove fixture specific code and use the new class CakeFixtureManager. It lacks support to auto-drop tables after test case end, but it is already usable for testing
  • ef142b1 Adding the class CakeFixtureManager to delegate the task of creating and droping the fixtures Tests and docs still pending
  • 26f7fce Updating Controller and its tests to use CakeRequest.
  • 2b7723f Removing reference operators and making Controller::__construct take a CakeRequest. If one is passed all the necessary properties will be populated. This lightens the Dispatcher, and gives more control to the end developer.
  • 1a460e4 Removing reference operators in Controller and its tests.
  • bed87b8 Removing code from CakeTestCase around the method "testAction" which was a bad way of testing controllers, often making it more difficult. This also removes class contamination in newly created test cases
  • b53d21f Fixing a group test case to show how to create one, and to make pass TestManager test case
  • fd4a82d Adding test for TestManager::runGroupTest()
  • 856a52a Changing runGrouptTest to find for conventional class names. This commit removes the support for loading more than one groupt test class per file
  • 6215767 Fixing failing test in Dispatcher caused by removed method.
  • b9a00cc Updating test case to use new Router constants.
  • 4168372 Making more methods static in TestManager
  • c23f66e Removing "extends" from TestManager as it wasn't used anyway. Making some methods static as they were called statically More testing on TestManager
  • cdf4006 Refactoring TestManager::runAllTests() and improving the TestManager test case
  • 4a152d3 Adding number of assertion runned in html reporter enabling "show passes" (that in contrast of simpletest only reports the passed test method instead of the assertion) cleaning up a bit
  • 10434c3 Improving PHPUnit path detection when it is installed via pear
  • 9afbeaa Converting CakeHtmlReporter in a TestCase listener. this apparently shows that it is easy to make the transition to PHPUnit.
  • ce7f892 Removing simpletest dependency in CakeBaseReporter
  • 15dd798 Some experimental movements inside TEstManager to make it work with PHPUnit
  • 14559aa Adding compatibility assert methods for CakeTestCase to ease the transition to PHPUnit
  • 7417a00 Initial step to replace simpletest for PHPUnit This is probably temporary, still needed to see if PHPUnit is already in path (installed with pear or something)
  • e9a7d6d Splitting CakeRoute and PluginShortRoute into their own files. Also splitting out the test cases.
  • f76d320 Making Router a fully static class. Tests updated.
  • c91d74a Making CakeRequest toss an exception when it can't handle a method call.
  • c5fdeec Updating FormHelper tests to use CakeRequest.
  • 69275c8 Adding a parameter to CakeRequest to allow it to skip parsing the environment.
  • 87db966 Remove PHP5 conditional statements.
  • c1eaa4b Fixed access and removed @access tags.
  • 8c7cfb2 Changing string offset access.
  • dc08aed Fixing constructors for reporter classes.
  • e11f7da Adding support for Router::reverse() to operate on CakeRequest objects.
  • 7e25d94 Renaming internals of Router. Adding tests for legacy setRequestInfo() support.
  • 2627985 Making Router::setRequestInfo() able to accept arrays. It will convert older style arrays into a CakeRequest object for later use. Updating uses of Router::setRequestInfo() to just pass the object where possible.
  • e336df6 Updating some uses of Router::setRequestInfo().
  • 9a18583 Removing unused and untested feature.
  • 9824375 Fixing errors caused by API changes.
  • 4eef2c1 Making CakeRequest::addParams() chainable. Adding CakeRequest::addPaths() to allow easy settings of path variables, its also chainable. Tests added.
  • bd1365f Changing interactions inside Router so it doesn't need a CakeRequest object, makes changes to Router test not necessary.
  • 12cbf31 Removing addslashes/stripslashes in cache file generation as they were creating corrupted serialized objects. Replacing with a simple str_replace() on ' instead.
  • 13cc8e7 Moving tests into CakeRequest from dispatcher test. Dispatcher tests are all working again.
  • e4cf8a6 Fixing issue where 'data' could not be accessed with array access, there were tests in Dispatchers tests that expected this.
  • d2ea077 Moving parameter parsing below asset dispatching, should speed up asset dispatching. Updating + fixing tests to reflect API changes and fixing some issues where router was breaking assets.
  • aa234bc Making CakeRequest keep [url][url] for compatibility issues.
  • 0eb4849 Renaming a method.
  • 2b08ad6 Updating fatal tests in Dispatcher tests. Updating Router to use a method instead of a raw array_merge.
  • 0a7ba70 Adding tests for CakeRequest::addParams()
  • 40bca71 Adding tests and features for CakeRequest to parse querystring args from the url parameter in the constructor. Added tests.
  • fbd70bf Making Dispatcher::parseParams require a CakeRequest object instead of as string url. Updating tests in the Dispatcher, and fixing an issue where POST params would be wiped out by Router.
  • ffd05ff Removing methods from Dispatcher that have been moved to CakeRequest. Removing test cases for features that don't exist anymore. Updating Router and Dispatcher to use the request object.
  • 558aea0 Moving tests and helper methods from Dispatcher into CakeRequest
  • 1b5c0cc Removing duplicated code and moving methods to protected.
  • 4deacf0 Existing tests are now all passing.
  • c7f4334 Moving test code around and starting to refactor things in tests.
  • 85b8616 Starting to move additional methods from Dispatcher into CakeRequest. Tests have been moved, and updated.
  • 51db3c8 Moving query string params around. Updating test cases.
  • 0bbd7fa Adding more tests to CakeRequest::addDetector() for callback type.
  • 6dcc680 implementing CakeRequest::addDetector() and adding test cases.
  • 4fbed67 Fixing bad method call again.
  • 0daf6e4 Adding skeleton for addDetector.
  • a6ee9e3 Expanding doc blocks for methods. Adding ArrayAccess implementation and test cases.
  • 476a76b Adding __get() and test cases.
  • c11095b Adding __call() for undefined method handling. Tests added.
  • 3a0ad6f Starting CakeRequest::is() and adding tests for various core is() types.
  • aab4a94 Adding CakeRequest::referer() and test cases.
  • 64aafd3 Expanding coverage for CakeRequest. Expanding doc blocks in CakeRequest.
  • 93f4c66 Adding tests for CakeRequest's ability to munge through the FILES array. Fixing issue where files would be in the wrong place.
  • 8f207a5 Moving getClientIp into CakeRequest. Moving relevant tests as well.
  • 15a4607 Fixing some issues with parameter handling. Adding test cases.
  • f17eebe Adding CakeRequest and its test case. Moving features from Dispatcher into CakeRequest.
  • 7ea8640 Fixing issue where table name was not using fully qualified table names, causing issues with models using table prefixes. Tests added. Fixes #623
  • 2420bce Updated vesion numbers to 1.3.0
  • 4efb07b Model::deleteAll() now returns false if the 'find' to fetch records ids returns false (in case of sql error). Closes #272
  • a691edb Adding tests for passed arguments with dots when parseExtensions() has been called. Refs #620
  • e725ae1 Adding tests for dispatcher to show periods not being removed. Refs #620
  • 0800483 Adding tests that show that Router is not chopping off periods from passed arguments. Refs #620
  • 70b3225 Fixing group path checking in test manager.
  • 57648c5 Fixing parameters from leaking into the script tag when calling JsHelper::submit(). Added test cases and refactored JsHelper::link(). Fixes #613
  • e4ea82d Adding htmlentities() to all parameters passed into the HtmlReporter.
  • a08c09a Fixing security vulnerabilities in the test suite runner.
  • 33a3811 Making tests more accurate to normal use, removing extra params and adding some tests for sortKey. Refs #614
  • a6f60c1 Implementing cache lockig in FileEngine using SplFileObject
  • 5dce79e First steps into removing internal usage of File and Folder class in favor of SPL equivalents
  • d3b257f Implementing cache lockig in FileEngine using SplFileObject
  • 977f897 First steps into removing internal usage of File and Folder class in favor of SPL equivalents
  • d5073d7 Fixed failing Set tests from Model class visibility.
  • b13a5c2 Added access modifiers and static delcarations on Set class.
  • 9ddbd6f Removing dependancy on Object from CakeSocket. Making tests less dependant on having a network connection.
  • e8b6d45 Fixing fatal errors in HttpSocket test case.
  • a17a38d Fixing fatal errors in View test. Removing =& and making tests use instanceof instead of is_object()
  • c03974e Expanding documentation for Router::queryString().
  • 35ec5ce Updating test method names and moving parameter modification around.
  • e111735 Changing AclBase into AclInterface as it is now an interface. Splitting the test case into separate test cases for each class.
  • 523eda0 Deprecating AclComponent::revoke() and AclComponent::grant() they were simply aliases that create a larger API with no real benefit.
  • 62982c5 Making AclComponent throw exceptions when it encounters an error. Making AclBase an abstract class. Adding AclComponent::adapter() for runtime modification of the Acl implementation. Tests added, updated and fixed.
  • 33a2907 Adding CakeLogInterface and implementing it in core and test suite classes. The new interface is used for method detection instead of a hard method check. Making CakeLog throw exceptions instead of trigger errors when things go wrong.
  • 35c8f99 Adding @throws to methods that could throw exceptions.
  • 50c0433 Moving methods that do not need to be private into protected.
  • 4d4d9e7 Adding App::setObjects() as a temporary way to modify App's cache of plugins. This allows the DispatcherTest to successfully run.
  • 0a8aafe Fixing reference to method name.
  • 02c56ba Updating visibility in the various bake tasks.
  • 854583f Fixing visibility on ModelTask and making a private method protected.
  • d000a11 Removing params() from Sanitize.
  • d926a37 Removing params() it was a pretty much useless function, and was deprecated.
  • 8400268 Making Security a static class. Fixing static access issues in test case.
  • 33bfe0e Making Helper extend Object, this fixes issues where Helpers would not have dispatchMethod or requestAction available. Correcting JsHelper::call__ into JsHelper::__call Updating test cases to remove reference operators
  • 9e08196 More tests for ajax link delegation.
  • bf566e1 Fixing failing tests in PaginatorHelper and moving tests related to JsHelper interaction into a separate test method.
  • da31033 Revert "Change URL Validation to use filter_var"
  • 4e53916 Change URL Validation to use filter_var
  • 557a634 Minor adjustment to ip validation variables.
  • 999eb4b Fixing illegal access in HtmlHelper tests, replacing with mock object.
  • c9f1034 Updating Model to use call_user_func_array instead of methods that were previously inherited from Object.
  • 65ddc2b Fixing fatal errors caused by calling methods that no longer exist.
  • 8cce386 Simplifying route configuration failure test case.
  • 0fc1064 Adding exception tossing for invalid cacheengine configuration.
  • 6f0b43f Fixing fatal error in Cache stub classes.
  • 797fa00 Making Router throw exceptions when invalid route classes are used for routes.
  • f65e481 Consoloidate duplicate regex strings in money() validation.
  • 396c025 Converted validation to use filter_var with ipv4/ipv6 separation matching 1.3 operation.
  • 298b44a Removing Object extension on Validation.
  • 4c769ea Typo fix in doc block.
  • f51ce73 Import Validation from old 2.0 branch.
  • 120fdd9 Removing other uses of Routing.admin as it has been removed from Router.
  • 2fb4d7a Removing mention of Routing.admin
  • a71a8a8 Removing support for Routing.admin. Use Routing.prefixes instead.
  • 661c768 Making singleton access use a class property.
  • 7bf594f Removing private method access, and removing tests for features that will be removed.
  • e92e212 Fixing Router's constructor. Adding static visibility to Router methods. Adding a method for testing Router extensions. Router::mapResources() now returns the mapped resources Fixing visibility issues in test cases.
  • ea7b323 Removing some of the singleton access in Debugger.
  • 2bf9504 Removing inheritance from Object. Adding missing visibility keywords, and adding static keywords. Removing @tags.
  • c05c985 Removing exception throwing from CacheEngine::gc() and subclasses as it randomly caused errors when using one of the affected engines.
  • b7e4e46 Removing lonely comment.
  • 40e310c Adding a no-op constructor for Object. Fixes issues where numerous sub-classes break because of a missing constructor in Object.
  • 146ec00 Removing inheritance from Object. Constructor workarounds are no longer needed and Object methods are not used on these classes.
  • c9f3fa5 Updating constructor.
  • 4f0a9c4 Removing PHP4 constructor and __destruct workarounds.
  • 9046083 Removing Overloadable and Overloadable2 they are not needed in PHP5. Removing inheritance and test cases related to Overloadable.
  • 92289e5 Updating ApcEngine so it implements the missing method in the abstract class..
  • 8ea4475 Removing extra call to unset().
  • ca8110a Updating MemcacheEngine to use exceptions and implement missing CacheEngine methods.
  • d7f1681 Adding translation to exceptions in FileEngine.
  • a886e13 Making CacheEngine an abstract class, and updating FileEngine to include the not implemented methods.
  • 7640ba5 Convert index.php microtime() usage.
  • c7fcaf9 Convert getMictime() php4 hack to microtime(true)
  • 0384eca Removed remaining @filesource lines.
  • 591eb43 Finalise shortcut translation function application.
  • 74d7682 Fix translation shortcut usage through testing console for updates
  • c98021d Converted views, router and security classes to new translation shotcut function use.
  • 6bd9f0f Convert models, datasources and file/folders to new version of translation shortcut function.
  • 2f8d30d Convert controllers and sockets to new formate for shorthand translation functions.
  • 41fe51d Cache classes converted to new shortcut translation usage.
  • 1e42590 Change Cake Console files to new use of shortcut for translations.
  • c87d97b Removed echo default from translation shortcut functions.
  • 1fef9e4 Making Configure/App methods static, removing reference operators. Removing deprecated methods.
  • 23b75f4 Moving private members/methods to protected. Changing Cache methods/members to static. Removing singleton access to Cache.
  • 17949ff Adding accessor to fix issues in test cases. Removing check for php4 method name.
  • 286e966 Removing reference operators and removing DS in TestManager and CakeTestCase.
  • 20b0b1f Removing reference operators in CakeTestFixture..
  • 7705c40 Fixing / adding visibility. Removing DS usage as its not needed in php5. Removing reference operators.
  • 50243f3 Fixing tests failing because of visibility.
  • 79eeb33 Fixing constructors Adding method visibility. Removing reference operators.
  • 4ef899f Updating test suite to say 2.0!
  • dbe4747 Making static methods static.
  • f13e70b Changing object constructor. Adding visibility keyword.
  • cd42047 Making CakeLog a static class, removing PHP4 workarounds and no longer needed singleton. Removes CakeLog::getInstance()
  • c4d57bd Removing AjaxHelper and JavascriptHelper as they were deprecated in 1.3 and are replaced by JsHelper + HtmlHelper.
  • 508e0a2 Removing all the deprecated PHP4 compatibility functions, and the shortform aliases. Removing associated tests.
  • 958578c Fixing magic method visibility on Helper.
  • af71787 Fixing title_for_layout not being set in apps made with bake. Fixes #567
  • a4cf737 Fixing access specified on DboSource.
  • 2e3d45c Added public access to public method in CakeTestFixture
  • 4cb06d8 Fix CakeSession tests so they dont call protected methods.
  • ed02b0f Fixing access modifier test on Test task.
  • 4b91938 Fix Console Model test to correct index changes for validation.
  • b22b3b1 Fix a bunch of fixture tests testing for access modifiers.
  • 75c741f Fix scaffold test on console, replaced 'var' with 'public'.
  • ac81ba7 Added timezone setting to allow tests to pass in all timezones.
  • ea635d6 Fix protected call for _build on CakeSchema, and associated references.
  • 59fb134 Change private methods to specify access, and add proected on methods that missed mass updates.
  • 19b66b8 Change luhn validation to public.
  • 1d39b93 Change access modifier on _stop() to protected.
  • 94603b2 Making dispatcher constructor public and removing return statement.
  • 51d71b4 Adjust view __scripts to be a protected instance variable, and add test methods for View addScript tests.
  • 34c7c15 Added default constructor.
  • f5fa56f Remove Overloadable from Helper class.
  • 5f2d091 Cleanup some whitespace.
  • e0534a7 Remove PHP4 code from dynamic call, and change call__ to __call.
  • b65395c Moved PHP5 Overloadable class to Overloadable.
  • 57b52cf Fix access not being specified on certain methods in Helper.
  • 34077c9 Removed PHP4 Overloadable class.
  • e05d670 Remove PHP4 option in overloadable class include.
  • 50a5471 Changing protected methods to specify protected access.
  • 1497ec3 Changed all public methods to specify public access.
  • 14b6a7a Fixing access to private and protected variables in Xml class.
  • 3039645 Fix testing of protected baseConfig in CakeSocket.
  • 3c2e7a0 Changed access to private __associations on Model to associations() calls.
  • 97388d2 Fixed access to protected property in CakeSession tests.
  • e1e96e2 Changed public vars to use public keyword in app/
  • 850ca02 Changed all public 'var' declarations to be 'public $var'
  • 4c93fc9 Uopdate default bake template to assign public to functions and variables.
  • 329a13f Changed all $_ declared variables to protected.
  • 29dc12d Changed all $__ declared variables to private.