Packages/TYPO3.CMS.git
10 years ago[+FEATURE] Extbase (Persistence): Implemented support for mm_opposite_field now....
Jochen Rau [Wed, 22 Jul 2009 08:54:21 +0000 (08:54 +0000)]
[+FEATURE] Extbase (Persistence): Implemented support for mm_opposite_field now. Still needs some testing in the wild. Relates to #3947.

10 years ago[TASK] Extbase: Added some comments
Jochen Rau [Tue, 21 Jul 2009 22:06:46 +0000 (22:06 +0000)]
[TASK] Extbase: Added some comments
[TASK] Extbase: Added unit test class for the TYPO3DbBackend (empty by now)

10 years ago[+FEATURE] Extbase (MVC): Added automatic form highlighting if there is an error...
Sebastian Kurfürst [Tue, 21 Jul 2009 20:14:50 +0000 (20:14 +0000)]
[+FEATURE] Extbase (MVC): Added automatic form highlighting if there is an error. Fixes #3861.
[+TASK] Extbase (Property): Updated Property Mapper to latest FLOW3 version.
[+BUGFIX] Extbase (Persistence): Fixed cache clearing. Now it works and takes pageTSConfig into account.

10 years ago[+BUGFIX] Extbase (Utility): Fixed a really severe caching issue. The TS conditions...
Sebastian Kurfürst [Tue, 21 Jul 2009 19:12:11 +0000 (19:12 +0000)]
[+BUGFIX] Extbase (Utility): Fixed a really severe caching issue. The TS conditions were wrong - mixed up = and :. I'm really happy I've found this :-)

10 years ago[~CONF] Extbase (Configuration): The configuration is now stored in ext_typoscript_se...
Jochen Rau [Tue, 21 Jul 2009 15:47:30 +0000 (15:47 +0000)]
[~CONF] Extbase (Configuration): The configuration is now stored in ext_typoscript_setup.txt. The TS path is now "config.tx_extbase.". You don't need to include a static template anymore. But clear your caches, please.

10 years ago[+TASK] Extbase: Added Extbase Settings Configuration/Settings/setup.txt (defines...
Jochen Rau [Tue, 21 Jul 2009 12:48:39 +0000 (12:48 +0000)]
[+TASK] Extbase: Added Extbase Settings Configuration/Settings/setup.txt (defines table to object mapping); please include the static template (only a preliminary solution)
[-TASK] Extbase: Removed Typo3Query files (follow up)

10 years ago[!!! +FEATURE] Extbase (DataMapper, DataMap): Extbase resolves the table name for...
Jochen Rau [Tue, 21 Jul 2009 12:44:52 +0000 (12:44 +0000)]
[!!! +FEATURE] Extbase (DataMapper, DataMap): Extbase resolves the table name for a given class name. Extbase searches for configured mappings by crawling thorough the extended classes. As default, it takes the class name in lower case as table name. The configuration of the mapping can be found in EXT:extbase/Configuration/Settings/setup.txt. The place for the settings (plugin.tx_extbase) is only a preliminary solution. PLEASE INSERT THE STATIC TEMPLATE!
[~CONF] Extbase: Changed the initialization of the Plugin and Extbase Settings; These are now initialized in the Dispatcher; The Extbase settings are now available through Tx_Extbase_Dispatcher::getSettings(); related to #3665
[+FEATURE] Extbase: The data array of the cObj is availabe through the settings of extbase (this needs further discussion); related to #
[+BUGFIX] Extbase: Fixed FlexFormSettings with section (thanks to Steffen Kamper); Resolves #3949
[+TASK] Extbase: Moved method postProcessSettings() to the Configuration Manager and made it static
[+FEATURE] Extbase: Added generic Domain Models FrontendUser and FrontendUserGroup; added Repository for FrontendUser (not fully functional by now)
[+BUGFIX] Extbase (Argument): Renamed setNewValidatorChain() to setNewValidatorConjunction()
[+TASK] Extbase (URIBuilder): Removed unnecessary require_once statements
[~TASK] Extbase: Changed the handling of storagePid; this setting is now available through the Extbase Settings Tx_Extbase_Dispatcher::getSettings() (this may change in future); related to #3698
[!!! ~CONF] Extbase: The default setting for the storagePid is now 0; related to #3698
[+TASK] Extbase: Moved extractStoragePageId() to the Configuration Manager and renamed it
[+TASK] Extbase (PersistenceManager): Removed the reference to the DataMapper
[+FEATURE] Extbase: Implemented limit and offset for the Query object; resolves #3874
[+BUGFIX] Extbase (Typo3DbBackend: Fixed statement creation of hasValueObject(); resolves #3939
[!!! ~API] Extbase: Removed Typo3Query and its interface; integrated methods in Query object (will be integrated in the extbase settings in the next step)
[+BUGFIX] Extbase (Typo3DbBackend): Fixed issue with question mark in property; resolves #3943

10 years ago[+BUGFIX][~API]: Extbase (Utility): Fixed caching issue by providing two methods...
Jochen Rau [Sun, 19 Jul 2009 11:18:04 +0000 (11:18 +0000)]
[+BUGFIX][~API]: Extbase (Utility): Fixed caching issue by providing two methods to register a plugin now: Tx_Extbase_Utility_Plugin::configureDispatcher() invoked in ext_localconf.php and Tx_Extbase_Utility_Plugin::registerPlugin() invoked in ext_tables.php. Thanks to Xavier Persegures who provided the patch.

10 years ago[+BUGFIX] Extbase (Configuration): Tx_Extbase_Configuration_Manager is not t3lib_Sing...
Sebastian Kurfürst [Sun, 19 Jul 2009 10:05:00 +0000 (10:05 +0000)]
[+BUGFIX] Extbase (Configuration): Tx_Extbase_Configuration_Manager is not t3lib_Singleton anymore, as it needs to be Plugin-local. This fixes a strange problem experienced by Steffen Kamper.

10 years ago[+BUGFIX][~API] Extbase (Persistence): Cleaned up implementation of TYPO3-specific...
Sebastian Kurfürst [Sun, 19 Jul 2009 09:16:34 +0000 (09:16 +0000)]
[+BUGFIX][~API] Extbase (Persistence): Cleaned up implementation of TYPO3-specific query options, like PID checking or enableFields. CHANGES API! $this->createQuery(FALSE) is not available anymore inside the repository. Instead, create the query and call $query->useStoragePage(FALSE)->... instead. Related to #3698. Related to #3912.

10 years ago[+FEATURE] Extbase (Dispatcher): dispatcher::extractStoragePageId() now takes pages...
Nikolas Hagelstein [Thu, 16 Jul 2009 12:42:38 +0000 (12:42 +0000)]
[+FEATURE] Extbase (Dispatcher): dispatcher::extractStoragePageId() now takes pages storage_pid into account. Relates to #3698

10 years ago[+BUGFIX] Extbase (Persistence): Now, _isDirty() works correctly if checking a single...
Sebastian Kurfürst [Wed, 15 Jul 2009 18:46:15 +0000 (18:46 +0000)]
[+BUGFIX] Extbase (Persistence): Now, _isDirty() works correctly if checking a single property only. Fixes #3907.

10 years ago[+FEATURE] Extbase (Persistence): Added Ordering class (follow up); related to #3874
Jochen Rau [Wed, 15 Jul 2009 09:34:10 +0000 (09:34 +0000)]
[+FEATURE] Extbase (Persistence): Added Ordering class (follow up); related to #3874

10 years ago[+FEATURE] Extbase (Persistence): Implemented ordering (eg. $query->setOrderings...
Jochen Rau [Wed, 15 Jul 2009 09:31:24 +0000 (09:31 +0000)]
[+FEATURE] Extbase (Persistence): Implemented ordering (eg. $query->setOrderings(array('name' => Tx_Extbase_Persistence_QueryInterface::ORDER_DESCENDING));

10 years ago[+BUGFIX] Extbase (DataMapper): Fixed wrong key in $row array (credit goes to Frans...
Jochen Rau [Tue, 14 Jul 2009 22:19:03 +0000 (22:19 +0000)]
[+BUGFIX] Extbase (DataMapper): Fixed wrong key in $row array (credit goes to Frans van der Veen)

10 years ago[+BUGFIX] Extbase (AbstractDomainObject): Made Identifier return NULL in case it...
Sebastian Kurfürst [Tue, 14 Jul 2009 21:41:11 +0000 (21:41 +0000)]
[+BUGFIX] Extbase (AbstractDomainObject): Made Identifier return NULL in case it is not set yet.

10 years ago[+BUGFIX] Extbase (Persistence): Only set the PID in case it is not part of your...
Sebastian Kurfürst [Tue, 14 Jul 2009 20:44:39 +0000 (20:44 +0000)]
[+BUGFIX] Extbase (Persistence): Only set the PID in case it is not part of your domain object.

10 years ago[+FEATURE] Extbase (Persistence): Added autopopulation of PID column and use of selec...
Sebastian Kurfürst [Tue, 14 Jul 2009 20:25:04 +0000 (20:25 +0000)]
[+FEATURE] Extbase (Persistence): Added autopopulation of PID column and use of selected storage folder. Resolves #3698
[TASK] Extbase (Persistence): Added an exception in case of an SQL error by the database.

10 years agoExtbase:
Sebastian Kurfürst [Tue, 14 Jul 2009 18:32:18 +0000 (18:32 +0000)]
Extbase:
* Fixed issue that cache is tried to be cleared even if a relation is changed

10 years agoExtbase:
Sebastian Kurfürst [Tue, 14 Jul 2009 18:24:26 +0000 (18:24 +0000)]
Extbase:
* fixed a potential bug in Persistence_Query. Please review @Jochen!

10 years agoExtbase:
Jochen Rau [Tue, 14 Jul 2009 16:04:49 +0000 (16:04 +0000)]
Extbase:
* 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')" )

10 years agoExtbase:
Jochen Rau [Tue, 14 Jul 2009 15:37:06 +0000 (15:37 +0000)]
Extbase:
* 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

10 years agoExtbase:
Jochen Rau [Tue, 14 Jul 2009 12:27:21 +0000 (12:27 +0000)]
Extbase:
* 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).

10 years agoExtbase:
Jochen Rau [Tue, 14 Jul 2009 10:04:29 +0000 (10:04 +0000)]
Extbase:
* 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)

10 years agoExtbase:
Sebastian Kurfürst [Mon, 13 Jul 2009 21:34:36 +0000 (21:34 +0000)]
Extbase:
* 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.

10 years agoExtbase:
Sebastian Kurfürst [Mon, 13 Jul 2009 16:36:56 +0000 (16:36 +0000)]
Extbase:
* added small comments and cleaned up PHPDoc

10 years agoExtbase (follow up to r930):
Jochen Rau [Mon, 13 Jul 2009 13:15:45 +0000 (13:15 +0000)]
Extbase (follow up to r930):
* The SQL string should be syntactically correct now (needs some more testing)
* Implemented a test before calling enableFields()

10 years agoExtbase:
Jochen Rau [Mon, 13 Jul 2009 08:45:19 +0000 (08:45 +0000)]
Extbase:
* 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

10 years agoExtbase:
Jochen Rau [Mon, 13 Jul 2009 07:40:10 +0000 (07:40 +0000)]
Extbase:
* Fixed typo in Action Controller; Resolves #3531

10 years agoExtbase:
Sebastian Kurfürst [Sat, 11 Jul 2009 16:32:01 +0000 (16:32 +0000)]
Extbase:
* 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.

10 years agoExtbase:
Jochen Rau [Sat, 11 Jul 2009 10:12:10 +0000 (10:12 +0000)]
Extbase:
* Removed unused class Literal
* Added check for having the same number of $parameters and placeholders ("?") in a statement

10 years agoExtbase:
Sebastian Kurfürst [Sat, 11 Jul 2009 09:59:15 +0000 (09:59 +0000)]
Extbase:
* Added some review comments for Extbase persistence rewrite

10 years agoExtbase:
Jochen Rau [Sat, 11 Jul 2009 09:35:22 +0000 (09:35 +0000)]
Extbase:
* Change: Using $GLOBALS['EXEC_TIME'] instead of time(); resolves #3782
* Fixed: back-ported LiteralInterface

10 years agoExtbase:
Sebastian Kurfürst [Fri, 10 Jul 2009 15:42:28 +0000 (15:42 +0000)]
Extbase:
(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

10 years agoExtbase:
Sebastian Kurfürst [Thu, 2 Jul 2009 20:58:23 +0000 (20:58 +0000)]
Extbase:
[+FEAT]: Added TypoScript converter method (to convert from new TS to classic TS). Fixes #3293.

10 years agoExtbase:
Sebastian Kurfürst [Fri, 19 Jun 2009 10:21:14 +0000 (10:21 +0000)]
Extbase:
* Added injectSettings evaluation, so settings are passed to the View (fixes #3413)

10 years agoExtbase:
Sebastian Kurfürst [Thu, 18 Jun 2009 11:33:04 +0000 (11:33 +0000)]
Extbase:
* Added Reflection Cache patch by Niels Pardon. Thanks a lot! (fixes #3294)

10 years agoFixed typo where Tx_Extbase was wrongly typed without underscore as TxExtbase.
Ingmar Schlecht [Sun, 14 Jun 2009 14:07:03 +0000 (14:07 +0000)]
Fixed typo where Tx_Extbase was wrongly typed without underscore as TxExtbase.

10 years agoExtbase:
Bastian Waidelich [Fri, 12 Jun 2009 16:36:59 +0000 (16:36 +0000)]
Extbase:
* 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 years agoExtbase:
Jochen Rau [Mon, 8 Jun 2009 10:42:16 +0000 (10:42 +0000)]
Extbase:
* Removed new lines after ?>; resolves #

10 years agoExtbase:
Sebastian Kurfürst [Thu, 28 May 2009 21:22:33 +0000 (21:22 +0000)]
Extbase:
* 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)

10 years agoExtbase:
Jochen Rau [Fri, 22 May 2009 11:12:41 +0000 (11:12 +0000)]
Extbase:
* Started to backport the test cases for the Repository

10 years agoExtbase:
Jochen Rau [Fri, 22 May 2009 10:21:16 +0000 (10:21 +0000)]
Extbase:
* Removed debug code
* Removed TODO comment (now issue on forge)

10 years agoExtbase:
Jochen Rau [Fri, 22 May 2009 10:18:29 +0000 (10:18 +0000)]
Extbase:
* Added comment to all backported FLOW3 classes ("Credits go to v5 team")

10 years agoExtbase:
Jochen Rau [Tue, 19 May 2009 10:31:46 +0000 (10:31 +0000)]
Extbase:
* Tx_Extbase_Utility_Plugin::registerPlugin(): removed debug code
* re-implementet underscoredToUpperCamelCase() in Utility Plugin

10 years agoExtbase:
Jochen Rau [Tue, 19 May 2009 10:25:13 +0000 (10:25 +0000)]
Extbase:
* 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

10 years agoExtbase:
Jochen Rau [Tue, 19 May 2009 08:15:39 +0000 (08:15 +0000)]
Extbase:
* Fixed wrong class name of Tx_Extbase_Utility_Plugin_testcase (not mission critical)

10 years agoExtbase:
Jochen Rau [Mon, 18 May 2009 19:16:25 +0000 (19:16 +0000)]
Extbase:
* 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

10 years agoExtbase:
Jochen Rau [Mon, 18 May 2009 08:36:26 +0000 (08:36 +0000)]
Extbase:
* Some minor code cleanup
* Added some release notes

10 years agoExtbase:
Bastian Waidelich [Mon, 18 May 2009 08:34:32 +0000 (08:34 +0000)]
Extbase:
* 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.

10 years agoExtbase:
Sebastian Kurfürst [Sun, 17 May 2009 19:23:23 +0000 (19:23 +0000)]
Extbase:
* 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.

10 years agoExtbase:
Jochen Rau [Sat, 16 May 2009 16:54:59 +0000 (16:54 +0000)]
Extbase:
* Removed all Query related class files and tests (will be reverted after TYPO3 4.3alpha3 was released)

10 years agoExtbase:
Jochen Rau [Sat, 16 May 2009 16:38:27 +0000 (16:38 +0000)]
Extbase:
* Changed all method calls using Tx_Extbase_Utility_Strings to the correspondant t3lib_div methods
* Deleted Tx_Extbase_Utility_Strings

10 years agoExtbase:
Jochen Rau [Sat, 16 May 2009 13:54:16 +0000 (13:54 +0000)]
Extbase:
* Extensive code cleanup
* Deleted obsolete files

10 years agoExtbase:
Jochen Rau [Sat, 16 May 2009 10:53:14 +0000 (10:53 +0000)]
Extbase:
* Removed outdated documentation files

10 years agoExtbase:
Jochen Rau [Sat, 16 May 2009 10:48:58 +0000 (10:48 +0000)]
Extbase:
* 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".

10 years agoExtbase:
Jochen Rau [Sat, 16 May 2009 09:27:57 +0000 (09:27 +0000)]
Extbase:
* Done some more remaining renaming from pluginKey to pluginName

10 years agoExtbase:
Jochen Rau [Sat, 16 May 2009 09:25:43 +0000 (09:25 +0000)]
Extbase:
* Done some remaining renaming from pluginKey to pluginName

10 years agoExtbase:
Jochen Rau [Sat, 16 May 2009 08:57:32 +0000 (08:57 +0000)]
Extbase:
* Declared the getUid() method in the AbstractDomainObject to be final (it should never be overwritten by concrete implementations)

10 years agoExtbase:
Jochen Rau [Fri, 15 May 2009 19:32:23 +0000 (19:32 +0000)]
Extbase:
* Fixed Bug #3320: Double & in URL parameters

10 years agoExtbase:
Jochen Rau [Fri, 15 May 2009 14:50:39 +0000 (14:50 +0000)]
Extbase:
* Moved class.tx_extbase_dispatcher.php to Classes/Dispatcher.php

10 years agoExtbase:
Jochen Rau [Fri, 15 May 2009 11:20:27 +0000 (11:20 +0000)]
Extbase:
* Changed naming $pluginKey to $pluginName
* Deleted patches from the Documentation folder
* Removed spl_autoload_register() from the BaseTestcase
* Taken a few more steps towards the implementation of a Query object

10 years agoExtbase:
Sebastian Kurfürst [Thu, 14 May 2009 07:12:40 +0000 (07:12 +0000)]
Extbase:
* The autoloader is now registered in ext_localconf, thus as soon as extbase is installed.

10 years agoFixed wrong subclass (was not backported properly)
Christopher Hlubek [Mon, 11 May 2009 14:41:17 +0000 (14:41 +0000)]
Fixed wrong subclass (was not backported properly)

10 years agoExtbase:
Jochen Rau [Mon, 11 May 2009 06:36:28 +0000 (06:36 +0000)]
Extbase:
* Fixed typo in ActionController (Bug #3253)
* Adjusted the unit tests to cover that issue

10 years agoExtbase:
Jochen Rau [Fri, 8 May 2009 14:27:15 +0000 (14:27 +0000)]
Extbase:
* The Request Builder is now aware of the Request Method
* URIHelper translates a Domain Object into an foo[uri]=123 part
* Argument: fixed findObjectByUid()
* AbstractDomainObject now returns TRUE after successful _reconstituteProperty()
* Several Unit Tests added
* Some code clean-up

10 years agoExtbase:
Jochen Rau [Fri, 8 May 2009 14:26:46 +0000 (14:26 +0000)]
Extbase:
* The Request Builder is now aware of the Request Method
* URIHelper translates a Domain Object into an foo[uri]=123 part
* Argument: fixed findObjectByUid()
* AbstractDomainObject now returns TRUE after successful _reconstituteProperty()
* Several Unit Tests added
* Some code clean-up

10 years agoExtbase:
Bastian Waidelich [Fri, 8 May 2009 10:46:23 +0000 (10:46 +0000)]
Extbase:
 * improved URIFor-helper after discussion with Jochen: pageUid is required now, fallback to current page is done in link view helpers. Replaced parameter $prefixedExtensionKey by the two parameters $extensionName & $pluginName. Added $pageType parameter.
  The current signature of URIFor is:
  public function URIFor(
   $pageUid,
   $actionName = NULL,
   $arguments = array(),
   $controllerName = NULL,
   $extensionName = NULL,
   $pluginName = NULL,
   array $options = array(),
   $pageType = 0
  )
 * modified typolinkURI-helper accordingly: $pageUid is required. If $options['no_cache'] is set, cHash is disabled. $options['additionalParams'] can now be set in order to add custom arguments to the query that won't be prefixed.
 * removed obsolete Classes/Persistence/Tests directory from repository

10 years agoExtbase:
Bastian Waidelich [Wed, 6 May 2009 18:23:30 +0000 (18:23 +0000)]
Extbase:
* replaced lcfirst() calls by lib_div::lcfirst() as this is only available for PHP5.3+

10 years agoExtbase:
Bastian Waidelich [Tue, 5 May 2009 20:21:23 +0000 (20:21 +0000)]
Extbase:
* URIHelper:
  * fixed PHP warnings by removing unused variables
  * only set action/controller arguments if they are specified
  * argument $extensionName was ignored
  * additionalParams can be multi-dimensional now, query is built with http_build_query
  * useCacheHash is automatically enabled when there are additional parameters. This can be avoided by setting $option['useCacheHash'] = 0
  * Note: URIHelper needs further investigation in FLOW3 & Extbase.
* ObjectRelationalMapper:
  * added fallback if no t3lib_DB is specified while instantiating to avoid exceptions. This is just a temporary fix with the least side-effects and might need a rework!

10 years agoExtbase:
Jochen Rau [Tue, 5 May 2009 10:30:06 +0000 (10:30 +0000)]
Extbase:
* Renamed UriHelper to URIHelper again (to be as compatible to FLOW3 as possible)

10 years agoExtbase:
Jochen Rau [Tue, 5 May 2009 10:23:28 +0000 (10:23 +0000)]
Extbase:
* Fixed Bug #3221: When EXT:fluid is not loaded or unavailable, the ActionController looks for a non-existing view.
* Fixed Bug #3224: Call to undefined method Tx_Extbase_Reflection_ParameterReflection::getPosition().
* Fixed Bug #3215: Tx_Extbase_MVC_Controller_AbstractController::forward() does not work.
* Renamed DefaultController to StandardController
* Renamed ExtensionName to ControllerExtensionName in the Request class
* Tx_Extbase_MVC_Controller_AbstractController: URIHelper, ValidationResolver are now "injected"
* Tx_Extbase_MVC_Controller_AbstractController: added canProcessRequest()
* Tx_Extbase_MVC_Controller_ActionController: ReflectionService is now "injected"
* (Re-)backported the Validation framework according to the latest changes in FLOW3
* Backported parts of the Property Mapper
* Added several Unit Tests
* Added buildAccessibleProxy() method to the Base testcase
* First step to backport the Query object (only QueryRawSQL and QueryByExample)

10 years agoExtbase:
Jochen Rau [Thu, 30 Apr 2009 14:31:15 +0000 (14:31 +0000)]
Extbase:
* Rename URIHelper to UriHelper (2nd step)

10 years agoExtbase:
Jochen Rau [Thu, 30 Apr 2009 14:28:54 +0000 (14:28 +0000)]
Extbase:
* Rename URIHelper to UriHelper (1st step)

10 years agoExtbase:
Jochen Rau [Thu, 30 Apr 2009 09:05:15 +0000 (09:05 +0000)]
Extbase:
* Fixed an issue where Extbase throws an exception if no TS Setup was defined (reported by Thomas Hempel)

10 years agoMoved old documentation
Sebastian Kurfürst [Fri, 17 Apr 2009 16:12:07 +0000 (16:12 +0000)]
Moved old documentation

10 years agoExtbase:
Jochen Rau [Thu, 16 Apr 2009 15:57:57 +0000 (15:57 +0000)]
Extbase:
* Removed debug code

10 years agoExtbase:
Jochen Rau [Thu, 16 Apr 2009 15:49:29 +0000 (15:49 +0000)]
Extbase:
* Revised Request Builder according to the latest syntax of t3lib_extMgm::addExtbasePlugin()
* Added necessary core patch and unit tests

10 years agoExtbase:
Jochen Rau [Wed, 15 Apr 2009 09:14:22 +0000 (09:14 +0000)]
Extbase:
* Some adjustments to the code according to the renaming of "blogexample" to "blog_example"

10 years agoExtBase:
Jochen Rau [Wed, 15 Apr 2009 08:09:57 +0000 (08:09 +0000)]
ExtBase:
* Changed Configuration Manager: You don't have to call loadGlobalSettings() anymore
* Adapted test cases
* Added test cases for Configuration Manager

10 years agoExtBase: Removed call-time pass-by-references in ObjectRelationalMapper (Bug #3090)
Niels Pardon [Wed, 15 Apr 2009 07:51:28 +0000 (07:51 +0000)]
ExtBase: Removed call-time pass-by-references in ObjectRelationalMapper (Bug #3090)

11 years agoExtbase:
Jochen Rau [Wed, 8 Apr 2009 22:43:56 +0000 (22:43 +0000)]
Extbase:
* Persistence layer completely revised
* Decoupled ORM from Persistence Session
* Order of CRUD now the same as in FLOW3
* Added addAll() and removeAll() to Object Storage
* Added Identity Map

11 years agoExtbase:
Jochen Rau [Mon, 6 Apr 2009 13:09:01 +0000 (13:09 +0000)]
Extbase:
* !!!Renamed ExtBase to Extbase (extension key is now extbase)

11 years agoExtBase:
Jochen Rau [Fri, 3 Apr 2009 15:00:28 +0000 (15:00 +0000)]
ExtBase:
* Revised RequestBuilder and Request
* Added Unit Tests for the Request Builder

11 years agoExtBase:
Jochen Rau [Fri, 3 Apr 2009 11:47:51 +0000 (11:47 +0000)]
ExtBase:
* Started to back-port parts of the FLOW3 manual
* Removed isNonCachableAction() method
* Implemented validation error handling (errorAction() and preProcessArgument() methods in Action Controller)
* Removed property $dataTypeValidator (using $validator instead)
* Added getErrors() and areValid() to Arguments
* Removed dependency to TYPO3 v4.3

11 years agoExtBase:
Sebastian Kurfürst [Tue, 31 Mar 2009 12:02:42 +0000 (12:02 +0000)]
ExtBase:
* Request->arguments is now an array instead of an ArrayObject
* AbstractController: Fixed redirect() and forward() helpers

11 years agoExtbase:
Sebastian Kurfürst [Tue, 31 Mar 2009 11:53:27 +0000 (11:53 +0000)]
Extbase:
* Moved URIHelper to View
* Did some cleanup

11 years agoUpdated todo list
Sebastian Kurfürst [Mon, 30 Mar 2009 11:22:56 +0000 (11:22 +0000)]
Updated todo list

11 years agoAdded TODO for deletion of value objects
Christopher Hlubek [Sat, 28 Mar 2009 23:34:56 +0000 (23:34 +0000)]
Added TODO for deletion of value objects

11 years agoAdded TODO for recursive delete, commented out broken recursive delete
Christopher Hlubek [Sat, 28 Mar 2009 23:33:55 +0000 (23:33 +0000)]
Added TODO for recursive delete, commented out broken recursive delete

11 years agoImplemented the URIHelper and backported new redirect for the controller
Christopher Hlubek [Sat, 28 Mar 2009 23:18:23 +0000 (23:18 +0000)]
Implemented the URIHelper and backported new redirect for the controller

11 years agoAdded update to TYPO3 refindex for insert and delete
Christopher Hlubek [Sat, 28 Mar 2009 23:17:35 +0000 (23:17 +0000)]
Added update to TYPO3 refindex for insert and delete

11 years agoExtBase:
Jochen Rau [Sat, 28 Mar 2009 23:06:24 +0000 (23:06 +0000)]
ExtBase:
* Fixed call to the fetch method from the repository (signature lacked the $from)

11 years agoExtbase - first attempt for hook
Sebastian Kurfürst [Sat, 28 Mar 2009 22:12:29 +0000 (22:12 +0000)]
Extbase - first attempt for hook

11 years agoExtBase:
Jochen Rau [Sat, 28 Mar 2009 21:37:40 +0000 (21:37 +0000)]
ExtBase:
* Fixed registration of allowed actions of a controller

11 years agoExtBase:
Jochen Rau [Sat, 28 Mar 2009 20:43:34 +0000 (20:43 +0000)]
ExtBase:
* $defaultViewObjectName = "Tx_Fluid_View_TemplateView" is now defined in the  Action Controller
* Added a Request Builder
* Refactored and revised Dispatcher
* Added Empty View and Default View
* Added Controller and View folder inside Classes folder

11 years agoSplitted logic between entities and ValueObjects
Sebastian Kurfürst [Sat, 28 Mar 2009 20:13:28 +0000 (20:13 +0000)]
Splitted logic between entities and ValueObjects

11 years agoValue objects will be reused by looking up existing objects when inserting
Christopher Hlubek [Sat, 28 Mar 2009 20:10:33 +0000 (20:10 +0000)]
Value objects will be reused by looking up existing objects when inserting

11 years ago* The object relational mapper will gather statistics about database operations and...
Christopher Hlubek [Sat, 28 Mar 2009 17:27:18 +0000 (17:27 +0000)]
* The object relational mapper will gather statistics about database operations and reconstitutions
* Implemented a simple first level cache for object reconstitution in the mapper

11 years agoExtbase:
Sebastian Kurfürst [Sat, 28 Mar 2009 14:54:41 +0000 (14:54 +0000)]
Extbase:
* Arguments: we now support default arguments