1. 14 Jul, 2009 6 commits
    • Sebastian Kurfürst's avatar
      Extbase: · 525c977f
      Sebastian Kurfürst authored
      * Fixed issue that cache is tried to be cleared even if a relation is changed
    • Sebastian Kurfürst's avatar
      Extbase: · dd17a789
      Sebastian Kurfürst authored
      * fixed a potential bug in Persistence_Query. Please review @Jochen!
    • Jochen Rau's avatar
      Extbase: · a00ac9fa
      Jochen Rau authored
      * Implemented the handling of values === NULL in Queries; related to #3838 (needs feed-back)
      * Changed all calls to t3lib_div::makeInstance('Tx_Extbase_Persistence_Manager') to Tx_Extbase_Dispatcher::getPersistenceManager()
      * Fixed conversion of DateTime objects in Query values
      * Eliminated unnecessary braces
      * Fixed "NOT" ( from "(NOT foo='bar')" to "NOT (foor='bar')" )
    • Jochen Rau's avatar
      Extbase: · af040c06
      Jochen Rau authored
      * Implemented a static function Tx_Extbase_Dispatcher::getPersistenceManager()
      * Changed Repository to invoke Tx_Extbase_Dispatcher::getPersistenceManager()
      * These changes should enable the Repository to be called from outside (itemProcFunc); related to #3899
    • Jochen Rau's avatar
      Extbase: · 3b96e1e5
      Jochen Rau authored
      * The Persistence Backend will now be injected via setter injection rather than via constructor injection. The Persistence Manager can be reached at any "place" via t3lib_div::makeInstance('Tx_Extbase_Persistence_Manager') after its first initialization (in the Dispatcher).
    • Jochen Rau's avatar
      Extbase: · 8bc2e42f
      Jochen Rau authored
      * Changed Argument: Check for is_object($result) instead of $result !== NULL prevents fatal error; empty result should be catched anyway
      * Change: The database handler is now injected to the Typo3DbBackend (for better testability)
      * bindVariable() uses now a unique variable name; resolves #3885
      * Typo3DbBackend: the variable $sql (and its subparts) are now initialized as arrays (related to #3885 and #3826)
      * Typo3DbBackend: Implemented a class variable $useEnableFields (by now only used for better testability)
  2. 13 Jul, 2009 5 commits
    • Sebastian Kurfürst's avatar
      Extbase: · b9a0d318
      Sebastian Kurfürst authored
      * Implemented cache clearing by TYPO3s clearCacheCmd. This is not particularily fine-grained, but works. references #3421
      * Made AbstractEntity have a different compare method inside _isDirty() which compares objects in-depth, and not just their references.
    • Sebastian Kurfürst's avatar
      Extbase: · a12f79cf
      Sebastian Kurfürst authored
      * added small comments and cleaned up PHPDoc
    • Jochen Rau's avatar
      Extbase (follow up to r930): · 71b8dcba
      Jochen Rau authored
      * The SQL string should be syntactically correct now (needs some more testing)
      * Implemented a test before calling enableFields()
    • Jochen Rau's avatar
      Extbase: · 8a3f44ca
      Jochen Rau authored
      * Fixed internal method _memorizeCleanState($propertyName); nothing was memorized if $property name was set
      * Removed call to $GLOBASL['TYPO3_DB']->fullQuoteString() as this should be the job of the persistence backend
      * Fixed Query and Query Object Model Factory (patch contributed by Frans van der Veen); Resolves #3879
      * Removed obsolete commit() method in Session
      * Fixed invalid SQL without enableFields; Resolves #3826
      * First step taken to implement the parsing of Orderings
    • Jochen Rau's avatar
      Extbase: · a1365f76
      Jochen Rau authored
      * Fixed typo in Action Controller; Resolves #3531
  3. 11 Jul, 2009 4 commits
    • Sebastian Kurfürst's avatar
      Extbase: · f42f247f
      Sebastian Kurfürst authored
      * Reviewed code
      * Biggest issue: Objects must be registered manually as reconstituted in the Persistence Session. I think this should be done by the data mapper.
      * I still need to understand JOINs and relations fully.
    • Jochen Rau's avatar
      Extbase: · 3d3c9eda
      Jochen Rau authored
      * Removed unused class Literal
      * Added check for having the same number of $parameters and placeholders ("?") in a statement
    • Sebastian Kurfürst's avatar
      Extbase: · eb8d7696
      Sebastian Kurfürst authored
      * Added some review comments for Extbase persistence rewrite
    • Jochen Rau's avatar
      Extbase: · d19f3514
      Jochen Rau authored
      * Change: Using $GLOBALS['EXEC_TIME'] instead of time(); resolves #3782
      * Fixed: back-ported LiteralInterface
  4. 10 Jul, 2009 1 commit
    • Sebastian Kurfürst's avatar
      Extbase: · db92f57d
      Sebastian Kurfürst authored
      (Changes by Jochen)
      This commit merges the rewrite of the persistence layer back to trunk. It will probably break your existing installation. Please check out fluid and blog_example again.
      * Implemented an Object Manager (a wrapper for t3lib_div::makeInstance())
      * !!! Backport of the Query and the Query Object Model from FLOW3.
      * !!! Removed Repository->fetch*()
      * Splited the functionality of the Object Relational Mapper into the Persistence Backend, the Data Mapper and the SQL Storage Backend.
      * Implemented the Lazy Loading Proxy.
      * supported Request types is now Tx_Extbase_MVC_Request instead of Tx_Extbase_MVC_Web_Request.
      * Changed _reconstituteProperty() to _setProperty() (according to FLOW3).
      * Added _getProperty() to the Domain Object.
      * The Dispatcher now instanciates and uses a PersistenceManager to commit changes.
      * Added TypoScript converter method (to convert from new TS to classic TS). Fixes #3293.
      * Renamed SqlBackend to Typo3DbBackend
      * Now using constants in Tx_Extbase_Persistence_PropertyType instead of Tx_Extbase_Persistence_Mapper_ColumnMap
      * Improved conversion from table value to property value
      * Persistence_Repository: findByUid() checks now for positive integer
      * Fixed: Only Aggregate Roots are now registered as Reconstituted Objects
      * !!! Added _isNew() to the Domain Object Interface
      * Revision of the Persistence Backend (CRUD operations work now - again)
      * Fixed Query Object Model "UpperCase"
      * Implemented addRow(), deleteRow() and updateRow()
      * Fixed: _memorizeCleanState() now clones a property value if it is an object
      * Argument->findObjectByUid() memorizes now the clean state (todo: check if the object is an Aggregate Root)
      * Removed unnecessary method getRelations()
      * Fixed wrong class name of PropertyError; resolves issue #3855
      * Fixed typo in Persistence Query; resolves issue #3831
      * Changed: Equivalent Value Objects (all properties are equal) are now persisted only once
      * Backport and enhanced several Unit Tests (not finished yet)
      * Enhanced Base Test Case
      * Changed signature of hasValueObject()
      * Changed: hasValueObject() returns the uid of the already persisted value object - if any
      * Fixed: relation tables are now filled with the right values if a value object already exists in the database
      * Changed: The Persistence Manager and the Query Factory are now "injected" into the Arguments and Argument
      * Deleted obsolete files
  5. 02 Jul, 2009 1 commit
    • Sebastian Kurfürst's avatar
      Extbase: · 8b698268
      Sebastian Kurfürst authored
      [+FEAT]: Added TypoScript converter method (to convert from new TS to classic TS). Fixes #3293.
  6. 19 Jun, 2009 1 commit
    • Sebastian Kurfürst's avatar
      Extbase: · 74af9628
      Sebastian Kurfürst authored
      * Added injectSettings evaluation, so settings are passed to the View (fixes #3413)
  7. 18 Jun, 2009 1 commit
    • Sebastian Kurfürst's avatar
      Extbase: · 2fea87a1
      Sebastian Kurfürst authored
      * Added Reflection Cache patch by Niels Pardon. Thanks a lot! (fixes #3294)
  8. 14 Jun, 2009 1 commit
  9. 12 Jun, 2009 1 commit
    • Bastian Waidelich's avatar
      Extbase: · 13beb735
      Bastian Waidelich authored
      * Tx_Extbase_MVC_Web_Routing_URIBuilder:
        * $additionalArguments is an array now. URIFor() merges additionalArguments with arguments. Fixes #3575
        * DomainObjects in arguments are now replaced recursively. DomainObjects are replaced in additionalArguments too.
        * cache hash is disabled if noCache is set
        * added test cases
        * some smaller tweaks and typo-fixes
      * Fixed Tx_Extbase_MVC_Controller_AbstractController_testcase - was still refering to "Tx_Extbase_MVC_View_Helper_URIHelper"
  10. 08 Jun, 2009 1 commit
    • Jochen Rau's avatar
      Extbase: · a8060219
      Jochen Rau authored
      * Removed new lines after ?>; resolves #
  11. 28 May, 2009 1 commit
    • Sebastian Kurfürst's avatar
      Extbase: · 34a7724f
      Sebastian Kurfürst authored
      * Backported major changes from FLOW3 to Extbase.
      * !!! Some of these changes are not backwards-compatible!
      * MVC:
      ** Controller:
      *** Added ControllerContext
      *** AbstractController:
      **** !!! removed initializeArguments(). Use ActionController::initializeAction() instead.
      *** ActionController:
      **** !!! removed $initializeView
      **** !!! new method signature of protected function initializeView(Tx_Extbase_View_ViewInterface $view)
      ** View:
      *** !!! Removed Helper (and URIHelper)
      **** !!! URIHelper has been moved to MVC_Web_Routing_URIBuilder and can be accessed through $this->controllerContext available in View and (Fluid) ViewHelpers
      *** AbstractView:
      **** !!! removed $request
      **** removed $viewHelpers
      **** !!! removed getViewHelper()
      **** removed $contextVariables
      **** added $controllerContext
      * Validation:
      ** !!! ValidatorResolver: now internal! You should not need to use it!
      ** !!! renamed ChainValidator to ConjunctionValidator
      ** Introduced PropertyError
      ** Added new validators (f.e. DisjunctionValidator and some others missing from FLOW3)
  12. 22 May, 2009 3 commits
    • Jochen Rau's avatar
      Extbase: · cf26610f
      Jochen Rau authored
      * Started to backport the test cases for the Repository
    • Jochen Rau's avatar
      Extbase: · de35aef7
      Jochen Rau authored
      * Removed debug code
      * Removed TODO comment (now issue on forge) 
    • Jochen Rau's avatar
      Extbase: · 29d7a1c4
      Jochen Rau authored
      * Added comment to all backported FLOW3 classes ("Credits go to v5 team")
  13. 19 May, 2009 3 commits
    • Jochen Rau's avatar
      Extbase: · 12039a7f
      Jochen Rau authored
      * Tx_Extbase_Utility_Plugin::registerPlugin(): removed debug code
      * re-implementet underscoredToUpperCamelCase() in Utility Plugin
    • Jochen Rau's avatar
      Extbase: · 3c3f9a7b
      Jochen Rau authored
      * Changed Tx_Extbase_Utility_Plugin::registerPlugin(): You are now free to choose whether you want to pass the extension name (in UpperCamelCase) or the extension key available in $_EXTKEY (in lower_underscore) as first argument
    • Jochen Rau's avatar
      Extbase: · 92057339
      Jochen Rau authored
      * Fixed wrong class name of Tx_Extbase_Utility_Plugin_testcase (not mission critical)
  14. 18 May, 2009 3 commits
    • Jochen Rau's avatar
      Extbase: · 0821b831
      Jochen Rau authored
      * Added a new registerPlugin() method to Extbase
      UtilityTx_Extbase_Utility_Plugin::registerPlugin('BlogExample', 'Pi1', 'A Blog Example', array('Blog' => 'index,show,edit'));
      * Added Unit Tests
    • Jochen Rau's avatar
      Extbase: · 6e274374
      Jochen Rau authored
      * Some minor code cleanup
      * Added some release notes
    • Bastian Waidelich's avatar
      Extbase: · b07fa0bf
      Bastian Waidelich authored
      * changed the default value of the section parameter from NULL to '' as that's the default of the link/uri view helpers of Fluid.
      * The check whether $section is set was not type-safe. fixed that.
  15. 17 May, 2009 1 commit
    • Sebastian Kurfürst's avatar
      Extbase: · 92b50ebd
      Sebastian Kurfürst authored
      * Corrected all @package and @subpackage annotations
      * added preliminary @internal annotations
      * Fixed URIHelper based on a patch by Bastian Waidelich
      * Set version number in ext_emconf.php to 0.9.0
      This version can now go into TYPO3 4.3 alpha3.
  16. 16 May, 2009 7 commits
    • Jochen Rau's avatar
      Extbase: · a963d0e6
      Jochen Rau authored
      * Removed all Query related class files and tests (will be reverted after TYPO3 4.3alpha3 was released)
    • Jochen Rau's avatar
      Extbase: · caa24ca7
      Jochen Rau authored
      * Changed all method calls using Tx_Extbase_Utility_Strings to the correspondant t3lib_div methods
      * Deleted Tx_Extbase_Utility_Strings
    • Jochen Rau's avatar
      Extbase: · d3743fbc
      Jochen Rau authored
      * Extensive code cleanup
      * Deleted obsolete files
    • Jochen Rau's avatar
      Extbase: · 47ea6989
      Jochen Rau authored
      * Removed outdated documentation files
    • Jochen Rau's avatar
      Extbase: · 92b0c7f8
      Jochen Rau authored
      * TypoScriptSource: All trailing dots are removed recursively from TypoScript Settings. The node value (like 10 = TEXT) is now stored assigned to a "private" array key called "_typoScriptNodeValue".
    • Jochen Rau's avatar
      Extbase: · caa84393
      Jochen Rau authored
      * Done some more remaining renaming from pluginKey to pluginName
    • Jochen Rau's avatar
      Extbase: · 439e3e47
      Jochen Rau authored
      * Done some remaining renaming from pluginKey to pluginName