CakePHP Changelogs

Version 1.2.2

  • fc7773f merging fixes to trunk. set version to 1.2.2.8120
  • 3d4c5b4 adding models/behaviors for object persist tests
  • 641a483 Adding test for Auth login redirect to url with query string parameters. Disproves #6211.
  • 5c53fcf fixes #6209, persistModel and undefined $Behaviors
  • 3c3b852 Changing package of tests from "cake.tests" to "cake". Moving tearDown et al. to the top of each test class. Adding short descriptions to docblocks. Adding missing docblocks. Removing unnecessary blank lines and whitespaces. Updating labels of test groups.
  • 78daa13 Defining the default answer as the current path. Fixes #6204
  • 76e0f17 Updating documentation to improve code completion
  • de59073 fixes #6203, Model::invalidFields respecting Model::whitelist
  • 7f85353 updating ShellDispatcher to pass tests
  • 1c76e2e Fixing ShellDispatcher tests. Order of paths should not be taken into account. CONSOLE_LIBS constant is not guaranteed to hold a relative path only. Matching expectations for the output of help command to show correct shortened paths.
  • 0ead896 Adding tests for Controller::redirect. Proves #6200 is invalid. Making original tests more strict.
  • a9062e2 Adding new email validation
  • eba2e78 Fixing typo in last commit.
  • 4dceb5b Adding doc blocks for properties that previously had no documentation. Closes #6199
  • beb6aee Fixing incorrect doc blocks for connection_manager.php. Thanks to ADmad for noticing the inconsistency.
  • 056402e moving checks for Set::extract() so that null will be returned when empty data is passed and classicExtract is expected.
  • 93bf4fd Fixing debug() test making it match truncated paths too. Adding skip to uses() test to make running all tests in sequence more smooth.
  • e3b0272 Removing unused setting in Session configuration. Fixed bug in CakeSession::watch(); that allowed setting multiple vars to watch and CakeSession::ignore(); would only unset the first one found. Fixed errors being thrown when testing database sessions and the database was dropped before script process ended.
  • 3748987 Adding fix from davidpersson: sort not working for subdirectories in Folder::findRecursive
  • e89bc0b Committed [8099] before I finished changing variable names
  • 70f18af Adding Folder tests, fixes cases where ordered directory entries were expected
  • ed43e95 Adding methods for setting headers and handling header output, will make testing easier on the class
  • f1d25bc Removing need to explicitly set IDs for Containable test, added in r6989
  • 1985480 cleaning up some Set::extract, adding tests for empty data and results. Removing some checks from Cache engine.
  • b184d07 Adding tests for ShellDispatcher, Shell, ExtractTask and TestTask. Adding console test group.
  • 36d3540 Adding native-type-generation fixes for JavascriptHelper::object()
  • 2009f4b fixes #6152, removal of automatic setting of App.encoding in l10n
  • bf4fa09 Removing whitespace introduced in [8014]
  • de6541f fixes #6189, paginator sort direction for associated fields of the same name
  • 149995c Adding tests for env, fileExistsInPath, debug, pr, params, stripslashes_deep and ife.
  • fdbf102 Fixing issue where disallowing plugin was not possible in PaginatorHelper, fixes #6159
  • 92cc331 Updating docblocks and code formatting in XML classes, adding test change to previous commit.
  • 80d4dfa Cleaning up previous commit.
  • 4466c9f Reverting changes to Behavior so that all models use the same behavior instance, fixes #6038, refs #4408.
  • 55e72bb Better support for regex matching, fixes #6184
  • cb95f13 Correcting issue in String::insert() where 0 offsets were handled incorrectly, affecting issue where values were not properly quoted and inserted into conditions strings. Fixes #6163.
  • eea46e7 Fixing issue where calculated columns were getting quoted incorrectly. Test included. Reformatting code to be 100 characters or less.
  • ba78e04 Fixing doc block for parameter of Controller::flash. Thanks 'ADmad'.
  • 1497fdd Applying patch from 'rafaelbandeira3' fixing formatting of generated code to better follow cake coding standards. Fixes #5754
  • 965b8e9 Updating doc blocks on tree behavior.
  • 62ea98b Fixing minor typo in model.php. Closes #6176
  • b0a0f2a Refactoring last change to cover issues like [7636]
  • c164be8 Enabling Asset.timestamp for HtmlHelper::image() making it consistent with Javascript::link(). Tests added. Fixes #6170
  • ffc537a Minor optimization. Removing additional variable assignment.
  • 18a7115 Adding test to show proper escaping of escaped strings in Javscript::object() closes #6167.
  • a3809d6 Updating doc blocks for CakeTestCase::testAction()
  • 7dc627d refs #4119, another check for binary uuid
  • 1654c3f Updating links to SimpleTest in Shell. Fixes #6162
  • 591b9f0 Fixing wrong usage of array_shift added in r7013
  • 571f578 Refactoring NumberHelper::toReadableSize to properly use I18n functionality.
  • 0888158 fixes #4119, refs #6151 binary uuid
  • 79cba70 Updating number helper to allow output of main currency symbol in the 'after' slot. Also added some basic i18n for NumberHelper::toReadableSize Fixes #6150.
  • d9cbb85 Adding test case for RequestHandler::beforeRedirect() when request is an ajax request. Ensures that requestAction() is properly triggered.
  • 259ecbe Updating doc blocks on formhelper
  • f2b698a Updating Media View to throw a 404 cakeError if the requested file does not exist; thanks 'aidan' for suggested patch. Fixes #6120.
  • b8d21c6 closes #6142, shows Auth works as expected with camelCased actions
  • 811eb90 Updating doc blocks on RequestHandler to improve parsing in API.
  • b8feef2 Adding tests for Validation::notEmpty using ISO-8859-1 for App.encoding value, along with additional non-ascii utf-8 assertions. Disproves & closes #6101.
  • 0be4f64 Adding test cases for URL encoded values. Refs #6134
  • af021cb Adding Html entity conversion to all urls generated by helpers, fixing potential for merged passedArgs to create xss vectors. Adding integer cast in paginate() to page param. Tests added/updated. Fixes #6134
  • 2849bb0 adding check in core home.ctp to throw a 404 when debug == 0
  • f20ccc7 Applying patch from 'phally' to update Set::extract to properly tokenize xpath selectors which contain hyphens (-). Fixes #6140
  • 5ded592 Updating L10n to write to App.encoding. Removing Configure::write('charset') from core. Fixes #3937
  • 2a139b1 Applying patch from 'farhadi' correcting regular expression when using magic findBy and fields that contain findBy in them. Fixes #6138
  • 779b367 adding some more test for dispatcher with array urls mainly used by request action. updated docblock
  • 082ef2e Adding patch from 'mattcurry' Fixes Set::extract and parent selectors that with more than one element in the source array. Fixes #6043
  • b1d0522 Adding tests to show filtering of page param when using Controller::paginate(). Refs #6134
  • 74bf622 Fixes #6071
  • 31cd461 Correcting singluarizing of taxes, faxes, waxes, and pluralization of crisis in Inflector. Tests added. Fixes #6130, #6131
  • 5dfa7bf Updating CakeTestCase::testAction() to respect $dropTables. Test case added Fixes #6123
  • 52f4cd4 Fixing issue when Model::$translateTable is set
  • 82a8599 Adding test case for Model::saveAll for HABTM data with additional fields saved in join table.
  • 01340e8 Fixing docblocks in HtmlHelper
  • 42ef8bf Updating doc strings in Javascript helper for better api generation.
  • 96e84c2 Fixes improper return from Xcache::clear(); Adds test see #6110
  • 0beda26 Updating doc blocks in FormHelper.
  • 8f2efce Adding asserts forgot in last commit. Fixes #6115
  • 19ec376 Adding tests case to disprove #6115 Closes #6115
  • b62202f fixes #6117, wrong controller name in debug messages
  • 9217a85 adding router test and patch for plugin reverse routing
  • 5378c79 Fixing issue where MediaView doesnt properly force download on IE, fixes #6064
  • 93ab1be fixes #6110, xcache::clear()
  • 27c3211 Applying patch from 'mcurry' Fixes Set::extract with mixed numeric and stringKeys. Tests added. Fixes #6072
  • 5bb9223 fixes #6106, dispatcher plugin controller params
  • 6e6c5dc Removing getTests commited in [8033]
  • 03ca513 Applying patch from 'ruben' updates Date header to comply with RFC 822 and RFC 1123. Fixes #6102
  • 55cc02b Fixing other uses of glob() to check for false values. Fixes #6044
  • b35de27 fixes #5866 and fixes #6069, bugs in dispatcher with plugins and params
  • ce4fa20 Fixing escaping of fields in hasAny() also adding in correct model aliases. Tests added. Fixes #6089
  • 43ad3d7 updating code from [8024] [8025]
  • a3f4c60 Adding test case to prove #6069
  • 9122ad7 Commit tests to prove #5866
  • fdd6ad8 Fixing issue in error handler, where URL was not escaped with debug == 0. Tests added.
  • 2a36e5f Adding Test case for TestTask Fixing path appending issues caused by continual baking. Fixes #6099
  • 440c629 Fixing glob() handling in extract shell, added extract shell test, partial fix for #6044, code formatting changes in CakeTestCase.
  • 712fea6 updating code from [8024]
  • e045e68 Fixing Session from being added to components array twice. Fixing greedy mergeVars with AppController. Tests Added Fixes #6091
  • 2fc1778 Applying patch from 'mattcurry' fixes Basic authentication case sensitivity in HttpSocket. Fixes #6088
  • 5026a6c Fixed memcache support for durations greater than 30 days. Fixes #6085
  • b1b67c8 Applying patch from 'ralph.marchildon' Fixes saving habtm data using 'with' data. Fixes #6077
  • d3ee6b3 Added conditional check for compatibility with MySQL 4.x result sets to DboMySqlBase::index(). Tests added. Thanks to 'teknoid' for the help. Closes #4503
  • b71457f Adding test case to show how auto-computed fields should be removed from data if using to clone records, closes #6066
  • f7dd080 fixes #6062, AuthComponent and Controller::scaffold
  • bf1e080 updating cache documentation and tests refs #5347
  • 9d24c174 Adding test case to validation for sbcglobal.net addresses closes #6065
  • 4b00c29 Updating doc blocks to improve readability in API.
  • e7c71b4 Updating doc blocks in helpers. Helps generate cleaner API.
  • ddc0477 Adding submitted test cases from harking Closes #6047
  • 2da0c20 Fixing Helper::value() when only a fieldname is used. Refactoring Helper::value() to reduce method calls. Added tests to Helper. Fixes #6033
  • 27065d7 Fixed bug in AuthComponent that allowed uppercase actions to pass checks
  • 1895f1c Fixing saveAll() when used in conjunction with belongsTo data and validate => first. Tests added.
  • af49aec Adding session->delete() to remove bleed through in tests.
  • 65a0475 Adding test case to disprove regression in Auth component. Closes #5961
  • dcf1c1e Added tests to disprove TreeBehavior can generate warning. Closes #5975.
  • b5d7f18 Disproving FormHelper::textarea always escapes value. Closes #6016.
Back

Changelogs