CakePHP : the rapid development php framework

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

Changelogs

Version 1.2.4.

  • d41a28c Fixing PHP4 compatibility issues for SecurityComponent.
  • 72d90f2 Adding tests for array_diff_key() in php4. Increasing test compatibility with php4
  • 57552c2 updating some tests for php4
  • 303b488 fixing doc block indentation.
  • bab62df Fixing fails caused by PHP4 and all lowercase classnames.
  • 401796e Adding missing reference operators in Controller::paginate().
  • 29dd4dd Fixing issues in Scaffold Test case with PHP4. Cleaning up code formatting in Scaffold.
  • 07d1ecd adding change to DboSource test that was not committed in [8267]
  • 3f46bf9 Updating doc block for Model::invalidate. Fixes #4583.
  • 6b0bbc4 Updating doc block for Object::requestAction. Fixes #6391.
  • f426017 Changing l10n language name from 'Slovack' to 'Slovak', as per ISO 693-1 guidelines. Thanks to savant for the patch. Fixes #5870.
  • 70c331f Updating doc blocks for paginator helper. Thanks to savant for the patch. Fixes #4994.
  • e9e8951 Updating doc blocks for datasource - thanks to savant for patch. Fixes #5738.
  • 12e4db0 Rewriting HttpSocket::parseCookies() to not use a negative lookbehind regex, due to a bug in PCRE engine in PHP 5.1.x. Fixes #6533.
  • 5172035 Adding table prefix detection for sequence maps in DboOracle::describe(). Fixes #6527.
  • 887f833 fixes #6539 quoting in buildIndex
  • 878f336 Updating doc block on JavascriptHelper::object(). Thanks BrendonKox. Fixes #6540.
  • 76e50ef Adding support for Model.* syntax, which translates to a list of fields from Model. Fixing buildColumn for null values. Fixing small containable merge, it was duplicating values, tests added.
  • 9e1dec3 fixes #6538, xml serialization on multi dimensional
  • 90445e9 Fixing "DEFAULT NULL" sentence, which for some reason does not work. It needs to be only "NULL", and "DEFAULT NULL NULL" works too.
  • ee8d12c Fixing issue with "DEFAULT NULL NULL" generated by buildColumn. Making the tests pass by just changing the start and end quotes. Providing "created" values for CakeTestFixtureTestFixture Fixture.
  • f710ae7 Minor refactorings + fix for dbo mysqli related to previous commit
  • f88cc56 Coding standards fixes
  • 47cd941 Applying optimization patch to PaginatorHelper and test refactorings to PaginatorHelper test case. Thanks Phally. Fixes #6526
  • 9da7b6e Bringing Router coverage up to 94.45%, minor router refactorings
  • f53181b fixes #6467, cake bake on windows drive. thanks burzum
  • a6f25f5 Removing ending html tags, they were being generated before the page ended.
  • 9d7b560 Splitting model tests into separate files to allow more fine-grained test running.
  • 565cd96 Fixing issue in CakeTestCase where fixture tables were incorrectly detected and dropped when running tests with no $test config or $test config and $default config on the same database. Updating TestAppsPostsController to fix compatibility issues with postgres. Defining $name in CakeTestFixture to remove notice errors, when constructing a nameless Fixture. Fixes #6518
  • 9eaad75 Removing usage of up() and low() from core
  • 8f61c66 Removing usage of r() from core
  • 30281d6 fixes #6506, notice on 5.2.10 for habtm save with empty value
  • 93d64c4 Removing use of e() from core classes. Refs #6525
  • e382f53 Fixing duplicated test case class name.
  • 3e14d28 fixes #6397, removing unneeded line feed in email component headers, adding tests
  • 07096f3 fixes #6403, removing unreachable code in router
  • 7ca8510 Updating env(HTTPS); to more accurately reflect the PHP $_SERVER docs. Fixes #6524
  • d6a12ce 2nd param init value for Router::stripPlugin(), improving router's coverage by adding tests for stripPlugin()
  • ecd0015 fixing error in api.test.php from #8203 so it can run again
  • a75d1fa Modifying quoting method used in conditions with array values in DboSource, fixes #6519
  • caeac73 Applying patch from ' matsinet', fixes #6475, EmailComponent ignoring sendAs when attachments present, adding tests
  • fefbe77 Minor refactorings for DboMysql, DboSource and TextHelper
  • f9ff43b Refactoring paginator.test.php to use assertTags() where it makes sense.
  • 56bee6e fixes #6507 paginator sort directions
  • 4cfdd31 fixes #6476, crash on missing layout in session flash
  • c1bb970 fixes #6509, dispatcher uri error on IIS
  • d2245fd Fixing Router::normalize() so that a url containing the base param more than once, which is passed into normalize() multiple times does not get url segments removed. Fixes #6338 and #5978
  • 74fd484 Fixing issue in Router where generating plugin shortcut controller routes with admin prefixes left a :controller param behind. Fixes #6252
  • 76d5855 Applying patch from 'Phally' Fixes multiple issues in PaginatorHelper related to first and last option in numbers(). Fixes #6516
  • 7fd6cc5 Fixing issue with timeout when reading socket.
  • 3b872a2 Removing supressing errors from HttpSocket, using condition instead. Fixes #6483.
  • baea319 Applying patch from 'Dremora' fixes JavascriptHelper::codeBlock() and blockEnd() bugs where content vanished due to incorrectly structured buffers. Minor behavior change in that codeBlock(null) no longer returns an opening script tag. The entire script tag is returned when blockEnd() is called. Test cases updated and refactored. Fixes #6504
  • 02ed77a Adding tests for calling RequestHandlerComponent::renderAs() twice. Fixing issue where viewPath was not updated. Fixes #6466
  • f712d84 Applying patch from 'slywalker'. Updating datetime generation in baked files. Fixed #6505
  • 44fa8d5 Getting the time helper code coverage up to 99%
  • 11c6641 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8227 3807eeeb-6ff5-0310-8944-8be069107fe0
  • 4f44a15 EmailComponent::reset now empties out attachments array. Fixes #6498.
  • fb6b16c Fixing empty time value handling in Model::deconstruct(). Both null and 00:00:00 are valid values now. Test cases added and refactored. Fixes #6488, #6018, Refs #5659
  • 9918583 Adding testcases to disprove #6111
  • 508f065 fixes #6492, removing use of define LC_MESSAGES due to inconsistency on different operating systems
  • bc5de16 Fixing bug introduced in r5219 that was preventing model save operations from working in Console shell
  • 72546f3 fixes #6455, adding define for LC_MESSAGES
  • 68d333d Applying patches by ADMad updating HtmlHelper and adding test. Adding missing properties in test case. Preventing bleed through in test case. Fixes #6490
  • d2a6be2 Splitting Model test into several classes for ease of testing. Creating new 'Database' test group for schema, db_acl and datasource tests. Model group test now only encompasses model & behavior test cases.
  • 7818eae fixes #6455, i18n locale message category bug
  • f2b7a26 fixes #5710, HABTM - constraining unique ids, but removing non-unique
  • 45a51ed Changing return of Model::deleteAll(). When no records are matched by the delete conditions return is now (bool)true as no records matching those conditions exist. Test case added. Fixes #6453
  • f79a68b Minor refactor of variable names.
  • 8971aad closes #6413, scaffoldFields not working with add/edit methods
  • 9e143bc fixes #6473, dot notation for sort in next/prev
  • 92b8e87 fix for cross database joins when recursive < 1
  • a6d3193 Updated EmailComponent::__strip regex for mailto: links. Fixes #6464.
  • c30dd48 Updating doc block for Set::combine first parameter - may accept an object as first param, in addition to arrays.
  • 975e445 Fixing Xml parsing where multiple child elements of the same name, with no value are collapsed causing data errors when Xml object was converted to an array. Test cases from 'burzum' added.
  • ff5d9ed Fixing issues created in [8205] where allowedActions check was done incorrectly. Fixes #6482
  • 5d0ee6d Initial Project Commit
  • fb6b2ae Renaming {{{SimpleTestOptions::ignore()}}} to {{{SimpleTest::ignore()}}} Refs #6425
  • fd7cf5e Adding test cases for boolean and boolean-ish values. Fixes false being converted to '' when using Xml::toString(). Fixes #6478
  • 8c7883f Fixing camel cased methods in checks for allowedActions in AuthComponent under PHP5. Normalizes to lowercase method name. Fixes #6142
  • 6a34c9e Fixing Model::saveAll() PHP4 compatibility. Minor API change in __save(). __save() no longer takes a model instance as the first parameter. Because of Model implementation details in PHP4 this caused broken references. Fixes #6389, #6223
  • 285fdc2 Adding test case for api console. Fixing issue where methods with no parameters were omitted from api method lists. Fixes #6474
  • fd818bc Applying patch from 'mulleto'. Fixes plugin view file location with CamelCase plugin names. Test cases added. Fixes #6334
  • 16eb51e Adding ControllerMergeVarsTestCase to more extensively test merging of vars in Controller::__mergeVars. Fixing issue where components declared in AppController would get doubled settings if no components were declared in subclasses. Fixes #6459
  • 3e8e7a2 Adding tests to Component.test. Disproves #6459
  • a2a7727 Fixing plugin prefix handling when using plugin task to bake plugin controllers. Plugin Models are correctly found, allowing bake to work. Fixes #5069
  • 1ea5f94 Updating JavascriptHelper::escapeString to properly encode utf8 characters as per the JSON spec. Test cases added, with comparisons to json_encode() Fixes #6400
  • 88e0cfa fixes #6427, default datasource not loaded when ds is specified
  • a903a45 fixes #6359, array_intersect_key compatibility with php4
  • 9caae67 removing delete from cache write refs #5206
  • d335fef Adding a 'client' option to EmailComponent:: for specifying the host to be used in the SMTP HELO request; defaults to env('HTTP_HOST'). Fixes #6264.
  • e54dbd4 fixes #6419, redirect with cached view page
  • 6064019 Refactoring model.test.php for 100 col display.
  • d9489b9 Removing duplicate START TRANSACTION sql execution in mysqli environment, fixes #6422
  • 2c1b7fc Adding nullish value handling for date, datetime, and timestamp column types to DboPostgres. Empty string values now return instead of "". Fixes #6386
  • 4a076b3 Small return-home-early refactoring for the File class
  • b055db1 Increasing Model test compatibility with SQLite and Postgres
  • f983340 Changing setUp() and tearDown() to startTest() and endTest(). Fixing test failures when app/controllers/pages_controller.php or app/views/pages/home.ctp was present.
  • 7401b0c Updating Session path handling to fix cases when path = ''. Test cases added.
  • d2b4995 Updating Model::deconstruct to handle db expressions correctly. Fixes #6372; thanks to mattcurry for the patch.
  • a9bbae3 Fixing primary key column length in DboSqlite. UUID primary keys now return defined length. Test cases added for describe() Fixes #6412
  • 2842fe7 fixes #6401, Session path on IIS
  • 9aa64ef Ensuring that 'ext' param added by RequestHandler does not end up as a queryString parameter in Auth.redirect. Adding test case. Fixes #6211
  • 50f4d91 Adding test case to disprove #6411
  • f498ba0 Adding german error string to dbo_mssql::lastError() Fixes #6352
  • a6017e6 Updating code coverage manager to work with application-level datasources.
  • f0752fe Adding patch from 'burzum'. Fixes ambiguous field sql error when joining two trees with a defined scope. Test cases and fixtures added.
  • 2cc00ac Adding test case for acl shell. Fixing display of nodes with no alias when using 'cake acl view aro' Fixes #6393
  • a44e69e Adding test case to disprove #6387
  • 1910e54 Updating doc block for HtmlHelper::css(). Fixes #6059
  • 41f32d8 Updating doc block for Model::beforeDelete(). Fixes #6219
  • 4f2d659 Fixing form helper checkbox hidden input generation for disabled fields. Thanks to 'trevorsg' for the patch & test case.
  • 8c243ee Applying patch from 'mete0r', adding tests for Scaffold variable setting. Fixes #6361
  • cd90f8c Fixing persistent option being forced to false when new database connections are baked. Fixes #6350
  • 8b24d97 Placing uninflected check before irregular rules. Refs [8169] and #6351
  • 109bda9 Correcting order of inflection rules in pluralize(). Places uninflected rules before irregular rules. Fixes compatibility with non-english languages. Fixes #6351
  • 029f422 Adding patch from 'CSdread_' Adds test coverage to Model::getAssociated()
  • bf7e257 Updating coding standards in bake templates and scaffolds. Fixes #6346
  • 6535e62 merging 1.2
  • 94c01ac Support for non-valid cookie values, fixes #6327
  • 5cf96a0 adding app/tmp to gitignore
  • 38b7a34 adding gitignore with "vendors"