Packages/TYPO3.CMS.git
10 years ago[FEATURE] Fluid (TemplateView): Made templateRootPath configurable via TypoScript...
Sebastian Kurfürst [Mon, 31 Aug 2009 11:20:14 +0000 (11:20 +0000)]
[FEATURE] Fluid (TemplateView): Made templateRootPath configurable via TypoScript "view.templateRootPath". Resolves #3296.

10 years ago[BUGFIX] Extbase (Reflection): Made class schemas return correct information. Before...
Sebastian Kurfürst [Mon, 31 Aug 2009 07:37:22 +0000 (07:37 +0000)]
[BUGFIX] Extbase (Reflection): Made class schemas return correct information. Before, it only worked if the reflection cache was already filled. Related to #4357.

10 years ago[~TASK] (Persistence): Fixed indentation in DataMapper
Sebastian Kurfürst [Sun, 30 Aug 2009 12:06:32 +0000 (12:06 +0000)]
[~TASK] (Persistence): Fixed indentation in DataMapper

10 years ago[+TASK] Extbase (MVC): added initializeView() to ViewInterface, it's expected in...
Bastian Waidelich [Fri, 28 Aug 2009 18:30:56 +0000 (18:30 +0000)]
[+TASK] Extbase (MVC): added initializeView() to ViewInterface, it's expected in ActionController and unit tests
[~BUGFIX] Extbase (Utility): renamed non-existing variable $file to $filePath in extractClassNames()
[~BUGFIX] Extbase (Tests): Fixed autoload registering in Tx_Extbase_Base_testcase
[~BUGFIX] Extbase (Tests): fixed failing unit tests. @Jochen: please have a look at this, I just did the smallest possible changes to get the tests "green"

10 years ago[+BUGFIX] Extbase: Fixed array keys. Thanks to Xavier Perseguers who provided the...
Jochen Rau [Thu, 27 Aug 2009 19:30:24 +0000 (19:30 +0000)]
[+BUGFIX] Extbase: Fixed array keys. Thanks to Xavier Perseguers who provided the patch. Related to #3995.

10 years ago[+FEATURE] Extbase (MVC): It is now possible to pass a template format (like html...
Jochen Rau [Wed, 26 Aug 2009 22:44:43 +0000 (22:44 +0000)]
[+FEATURE] Extbase (MVC): It is now possible to pass a template format (like html, json, txt or pdf) in the $_GET parameters. Example from the BlogExample: "&tx_blogexample_pi1[format]=txt". Resolves #4120.

10 years ago[+BUGFIX] Extbase (Persistence): Fixed a problem with legacy tables where the foreign...
Jochen Rau [Wed, 26 Aug 2009 21:41:40 +0000 (21:41 +0000)]
[+BUGFIX] Extbase (Persistence): Fixed a problem with legacy tables where the foreign_class was not set and therefore no Data Map was found. Related to #4148.

10 years ago[!!!][~API] Extbase: Renamed configureDispatcher() to configurePlugin() in order...
Jochen Rau [Wed, 26 Aug 2009 10:44:47 +0000 (10:44 +0000)]
[!!!][~API] Extbase: Renamed configureDispatcher() to configurePlugin() in order to distinguish between plugins and modules. Renamed setModuleConfiguration() to  configureModule(). Please update your file ext_localconf.php! In order to use backend modules you have to apply the actual patches of #11651 and #11652!
[!!!][~API] Extbase (Utility): Moved all methods to convert TypoScript array to Utility TypoScript. Renamed postProcessSettions() to convertTypoScriptArrayToPlainArray() and convertExtbaseToClassicTS() to convertPlainArrayToTypoScriptArray().
[~TASK] Extbase: Moved folder Scripts to Resources.
[~TASK] Extbase (Utility): Extracted the autoload function to an own utility class.
[-TASK] Extbase (MVC): Removed unnecessary Standard Controller.
[~TASK] Extbase: Moved methods from Backend Dispatcher to the Dispatcher and removed the Backend Dispatcher.
[+FEATURE] Extbase (MVC): It is now possible to have different templates for different formats (".html", ".json"). We do not have an appropriate $_GET parameter (in combination with RealURL or CoolURI. Relates to #4120.
[+TASK] Extbase (MVC): Added interfaces for Request and Response.

10 years agoBugfix: #4252: Tx_Extbase_Utility_Extension::setModuleConfiguration() expects paramet...
Steffen Kamper [Mon, 17 Aug 2009 16:23:38 +0000 (16:23 +0000)]
Bugfix: #4252: Tx_Extbase_Utility_Extension::setModuleConfiguration() expects parameters 3 and 4 to be references but gets values from t3lib_loadmodules

10 years ago[~BUGFIX] Extbase {Persistence): Added a check if $columnConfiguration['config']...
Jochen Rau [Fri, 14 Aug 2009 10:37:04 +0000 (10:37 +0000)]
[~BUGFIX] Extbase {Persistence): Added a check if $columnConfiguration['config'] exits in DataMap:: setRelations(). Related to #4203.

10 years ago[+BUGFIX] Extbase (Persistence): Added missing return statement. Resolves #4242.
Jochen Rau [Fri, 14 Aug 2009 09:24:27 +0000 (09:24 +0000)]
[+BUGFIX] Extbase (Persistence): Added missing return statement. Resolves #4242.

10 years ago[+BUGFIX] Extbase (Persistence): Check for existing Value Objects respects now delete...
Jochen Rau [Fri, 14 Aug 2009 09:19:03 +0000 (09:19 +0000)]
[+BUGFIX] Extbase (Persistence): Check for existing Value Objects respects now deleted and hidden. Rsolves #4243.
[+BUGFIX] Extbase (Persistence): The properties are now fully quoted (t3lib_db::fullQuoteStr). This may not work with DBAL, because we do not pass a table name.

10 years agocorrected TX to Tx
Steffen Kamper [Tue, 11 Aug 2009 08:22:09 +0000 (08:22 +0000)]
corrected TX to Tx

10 years ago[!!!][~TASK] Extbase (Dispatcher): committed initial version of BackendDispatcher
Steffen Kamper [Tue, 11 Aug 2009 07:17:47 +0000 (07:17 +0000)]
[!!!][~TASK] Extbase (Dispatcher): committed initial version of BackendDispatcher

10 years ago[!!!][~TASK] Extbase (Utility): Moved configureDispatcher() and registerPlugin()...
Jochen Rau [Mon, 10 Aug 2009 23:20:05 +0000 (23:20 +0000)]
[!!!][~TASK] Extbase (Utility): Moved configureDispatcher() and registerPlugin() from Tx_Extbase_Utility_Plugin to Tx_Extbase_Utility_Extension. THIS WILL BREAK YOUR EXISTING EXTENSIONS. Please Rename all occurrences of Tx_Extbase_Utility_Plugin  to Tx_Extbase_Utility_Extension and clear your caches. Resolves #4162.
[!!!][~BUGFIX] Extbase (Persistence): Restructured responsibilities of Repository and Session. You don't need to register reconstituted, added, and removed objects in your Repositories anymore. Please remove all occurrences of $this->persistenceManager->getSession()->register*Object($object). Resolves #3916.
[+FEATURE] Extbase (Utility): Added registerModule() to Tx_Extbase_Utility_Extension. Related to #3995.
[+TASK] Extbase (DomainModel): Added (internal) method _hasProperty() to AbstractDomainModel.
[~TASK] Extbase (Property): Improved mapping of properties (not finished yet).
[~BUGFIX] Extbase (MVC): The RequestBuilder now merges $_GET and $_POST using t3lib_div::_GPmerged(). It expects the $_POST parameter to be namespaced now. Resolves #3316.
[+FEATURE] Extbase(Reflection): Backported the ClassSchema from FLOW3. This was necessary to support the Property Mapper.

10 years ago[+BUGFIX] Extbase (MVC): Fixed wrong exception name. Resolves #4200.
Sebastian Kurfürst [Mon, 10 Aug 2009 04:45:19 +0000 (04:45 +0000)]
[+BUGFIX] Extbase (MVC): Fixed wrong exception name. Resolves #4200.

10 years ago[+BUGFIX] Extbase (Persistence): For now fixed the RELATION_HAS_ONE, but acutally...
Sebastian Kurfürst [Mon, 10 Aug 2009 04:38:42 +0000 (04:38 +0000)]
[+BUGFIX] Extbase (Persistence): For now fixed the RELATION_HAS_ONE, but acutally this is not yet the correct solution. Related to #4083.

10 years ago[+FEATURE] Extbase (MVC): Added "absolute" argument to URIBuilder::URIFor() and URIBu...
Bastian Waidelich [Sun, 9 Aug 2009 19:33:36 +0000 (19:33 +0000)]
[+FEATURE] Extbase (MVC): Added "absolute" argument to URIBuilder::URIFor() and URIBuilder::typolinkURI. Relates to #4202.

10 years ago[TASK] Extbase (Utility): Extracted cache clearing methods into new Utility class
Sebastian Kurfürst [Fri, 7 Aug 2009 16:54:00 +0000 (16:54 +0000)]
[TASK] Extbase (Utility): Extracted cache clearing methods into new Utility class
[+BUGFIX] Extbase (MVC): The cache is now cleared if ActionController's errorAction is called. Resolves #4185.
[+BUGFIX] Extbase (Configuration): Cleaned up the ConfigurationManager a bit. Resolves #4181.
[+BUGFIX] Extbase (AbstractDomainObject): Fixed typo introduced in last commit.
[+BUGFIX] Extbase (Forms): Added default CSS for displaying wrong form values

10 years ago[+FEATURE] Extbase (DomainObject): Added _isClone() property on abstract domain objec...
Sebastian Kurfürst [Fri, 7 Aug 2009 06:18:40 +0000 (06:18 +0000)]
[+FEATURE] Extbase (DomainObject): Added _isClone() property on abstract domain object. Relates to #4178.

10 years ago[TASK] Extbase (ValidatorResolver): Fixed order of ConjunctionValidators. Related...
Sebastian Kurfürst [Thu, 6 Aug 2009 21:37:57 +0000 (21:37 +0000)]
[TASK] Extbase (ValidatorResolver): Fixed order of ConjunctionValidators. Related to #4178
[+FEATURE] Extbase (Repository): Implemented an "Update" method. this is work in progress. Related to #4178.

10 years ago[+FEATURE] Extbase (MVC): Added support of @dontvalidate annotations. Relates to...
Sebastian Kurfürst [Thu, 6 Aug 2009 21:21:13 +0000 (21:21 +0000)]
[+FEATURE] Extbase (MVC): Added support of @dontvalidate annotations. Relates to #4178.

10 years ago[!!!][+FEATURE] Extbase (Settings): Custom settings now reside in plugin.tx_extension...
Sebastian Kurfürst [Thu, 6 Aug 2009 21:01:16 +0000 (21:01 +0000)]
[!!!][+FEATURE] Extbase (Settings): Custom settings now reside in plugin.tx_extensionnname.settings instead of plugin.tx_extensionname. THIS IS A BREAKING CHANGE, big impact as every Extension using settings needs to be adjusted. Resolves #4177
[!!!][+FEATURE] Extbase (Settings): Persistence settings now reside in plugin.tx_extensionnname.persistence instead of tt_content.list.20. ... THIS IS A BREAKING CHANGE, but of a really new feature. Resolves #4177
[!!!]?\027[TASK] Extbase (Dispatcher): Renamed Tx_Extbase_Dispatcher::getSettings() to Tx_Extbase_Dispatcher::getExtbaseFrameworkConfiguration(). THIS IS A BREAKING CHANGE, but of a non-public API. Related to #4177
[TASK] Extbase (Configuration): Cleaned up configuration manager and renamed methods there.

10 years ago[~BUG] Extbase (Persistence): The findByFooBar maps the property name to column name...
Jochen Rau [Thu, 6 Aug 2009 08:12:44 +0000 (08:12 +0000)]
[~BUG] Extbase (Persistence): The findByFooBar maps the property name to column name (fooBar -> foo_bar) now. Renamed method DataMapper::convertClassNameToSelectorName to DataMapper::convertClassNameToTableName(). Added Method DataMapper::convertPropertyNameToColumnName(). Resolves #4033.
[+FEATURE] Extbase (Persistence): Parameters can be passed separately to Query::statement($statement, array $parameters, $language) now. This enables us to build prepared queries in the Storage Backend. Related to #4163.
[~BUG] Extbase (Validation): Changed TextValidator to allow special characters and newlines (backported patch from FLOW3). Still not secure enough! Related to #4111.

10 years ago[+BUGFIX] Extbase (Persistence): Fixed a typo in the Typo3QuerySettings. Thanks to...
Sebastian Kurfürst [Thu, 6 Aug 2009 06:23:33 +0000 (06:23 +0000)]
[+BUGFIX] Extbase (Persistence): Fixed a typo in the Typo3QuerySettings. Thanks to Mathias Gisch for pointing this out! Resolves #4164.

10 years ago[TASK] Extbase (Documentation): Added preliminary (and really ugly) script to render...
Sebastian Kurfürst [Wed, 5 Aug 2009 21:59:22 +0000 (21:59 +0000)]
[TASK] Extbase (Documentation): Added preliminary (and really ugly) script to render API documentation
[TASK] Extbase (Documentation): Added generated API documentation so people can have a look at them right now. I think we will still move that API documentation to a different place before final release. Relates to #3917.

10 years ago[TASK] Extbase (Persistence): Removed PreparedQuery for now, as it is not used at...
Sebastian Kurfürst [Wed, 5 Aug 2009 21:51:32 +0000 (21:51 +0000)]
[TASK] Extbase (Persistence): Removed PreparedQuery for now, as it is not used at all.
[TASK] Extbase (Persistence): Removed work-in-progress TCEMAIN hook as it was not working reliably anyways.
[TASK] Extbase: Added all @api tags and cleaned up doc comments. Resolves #3917.

10 years ago[TASK] Extbase: Removed Extbase_Exception and renamed everything to use Extbase_MVC_E...
Sebastian Kurfürst [Wed, 5 Aug 2009 20:42:09 +0000 (20:42 +0000)]
[TASK] Extbase: Removed Extbase_Exception and renamed everything to use Extbase_MVC_Exception instead. This is consistent with FLOW3.
[TASK] Extbase: Removed @internal annotations and started with @api annotations. This is still work in progress. Related to #3917.

10 years ago[!!!][TASK] Extbase (Persistence): Renamed two QuerySettings: from "setRespectStorage...
Sebastian Kurfürst [Wed, 5 Aug 2009 19:25:58 +0000 (19:25 +0000)]
[!!!][TASK] Extbase (Persistence): Renamed two QuerySettings: from "setRespectStoragePageState()" to "setRespectStoragePage()" and from "setCheckVisibilityState()" to "setRespectEnableFields()". This change is non-backwards-compatible! Please adjust your repositories accordingly.

10 years ago[BUGFIX] moved cache definition for FE to ext_localconf
Steffen Kamper [Tue, 4 Aug 2009 00:18:02 +0000 (00:18 +0000)]
[BUGFIX] moved cache definition for FE to ext_localconf

10 years ago[BUGFIX] use cache table "cache_extbase_reflection" as default for extbase, make...
Steffen Kamper [Mon, 3 Aug 2009 13:21:27 +0000 (13:21 +0000)]
[BUGFIX] use cache table "cache_extbase_reflection" as default for extbase, make it clearable with "clear all cache" command. Resolves #4086

10 years ago[!!!] [TASK] Extbase (Persistence): Renamed Persistence_Backend->getUidByObject to...
Sebastian Kurfürst [Mon, 3 Aug 2009 10:42:30 +0000 (10:42 +0000)]
[!!!] [TASK] Extbase (Persistence): Renamed Persistence_Backend->getUidByObject to getIdentifierByObject to be compatible with FLOW3 (and to ease backporting). This change is non-backwards-compatible, but it is unlikely that you use this method in custom code.

10 years ago[~BUGFIX] Configuration: Fixed storagePid detection in Configuration Manager. This...
Bastian Waidelich [Mon, 3 Aug 2009 09:30:49 +0000 (09:30 +0000)]
[~BUGFIX] Configuration: Fixed storagePid detection in Configuration Manager. This fixes #4087

10 years ago[TASK] Extbase (View): Added assign() and assignMultiple() to AbstractView, as it...
Sebastian Kurfürst [Mon, 3 Aug 2009 07:31:19 +0000 (07:31 +0000)]
[TASK] Extbase (View): Added assign() and assignMultiple() to AbstractView, as it is in FLOW3

10 years ago[!!!][+FEATURE] Extbase (Persistence): Improved handling of PID columns. There are...
Sebastian Kurfürst [Fri, 31 Jul 2009 08:03:23 +0000 (08:03 +0000)]
[!!!][+FEATURE] Extbase (Persistence): Improved handling of PID columns. There are now only three concepts explaining the mapping of records to pages. 1) For FETCHING objects, a configurable list of pages is used. This list is configurable inside the FE plugin options (startingpoint). If that is empty, fall back to "General record storage page" of the current page. If empty, fall back to the storage PIDs of the website. (getStorageSiterootPids). 2) PIDs of UPDATED objects are never changed by the system. Of course, you can include a "pid" property inside your domain model and thus change the PID explicitely. 3) The PID of INSERTED objects is determined by a TypoScript setting: [extensionConfiguration].classes.MODEL_CLASSNAME.newRecordStoragePid. If this setting is empty, the first entry of the PID list used for fetching objects is used. NOTE: It is the user's responsibility that all _added_ records are fetchable as well. THIS CHANGE BREAKS BACKWARDS COMPATIBILITY: If no storage PID is explicitely defined, the method "getStorageSiterootPids" is used. (Before, it used the current page.)

10 years ago[~TASK] Extbase (Dispatcher): Small whitespace and doc comment changes
Sebastian Kurfürst [Fri, 31 Jul 2009 07:39:36 +0000 (07:39 +0000)]
[~TASK] Extbase (Dispatcher): Small whitespace and doc comment changes

10 years ago[BUGFIX] Extbase (Persistence): TYPO3DbBackend->addEnableFieldsStatement is now Backe...
Jochen Rau [Thu, 30 Jul 2009 22:49:44 +0000 (22:49 +0000)]
[BUGFIX] Extbase (Persistence): TYPO3DbBackend->addEnableFieldsStatement is now Backend aware (patch provided by Xavier). Resolves #4081.

10 years ago[TASK] Extbase: Revised and cleaned up autoloader. Autoloader is now registered insid...
Jochen Rau [Thu, 30 Jul 2009 22:36:40 +0000 (22:36 +0000)]
[TASK] Extbase: Revised and cleaned up autoloader. Autoloader is now registered inside the Dispatcher (at construction time). The autoloader of Extbase is only invoked for extension classes. The core autoloader takes care of the Extbase and Fluid classes (auto-generated ext_autoload.php file). Medium performance improvement.
[~TASK] Extbase (Utility): Improved the conversion CamelCase to under_scored. Implemented Ulility methods. Small performance improvement.
[BUGFIX] Extbase (Persistence): Fixed issue if MM_match_fields was not set. Checks for array now. Reported by Joerg Schoppet. Resolves #4072.
[TASK] Extbase (Persistence): Cleaned-up the Persistence Backend. Deleted unused methods deleteRelatedObjects() and deleteRelationInRelationTable(). They will be re-implemented later on.
[+FEATURE] Extbase (Utility): Adapted the createAutoloadRegistryForExtension() feature from exdeveval.

10 years ago[BUGFIX] Extbase (Domain): Fixed typo in FrontendUserGroupRepository.
Jochen Rau [Thu, 30 Jul 2009 09:35:27 +0000 (09:35 +0000)]
[BUGFIX] Extbase (Domain): Fixed typo in FrontendUserGroupRepository.

10 years ago[FEATURE] Extbase (Persistence): Comma separated lists are now fully supported to...
Jochen Rau [Wed, 29 Jul 2009 21:40:45 +0000 (21:40 +0000)]
[FEATURE] Extbase (Persistence): Comma separated lists are now fully supported to store relations - although this way is deprecated. Use foreign keys instead.
[BUGFIX] Extbase (Persistence): Related objects are now deleted if they were detached from the parent object (e.g. $blog->removePost($post)). Still pending: Strategy for recursive deletions.
[BUGFIX] Extbase (Persistence): Adding relation to an ownerless Record works now. Resolves #4011.
[-TASK] Extbase (Persistence): Removed $useStoragePid from the method signature of $queryFactory->create($className).
[!!!][~TASK] Extbase (Persistence): All Query Settings are now stored inside a QuerySettings object. It is created and injected by the Query Factory with the default setting. To change the settings, you have to say $query->getQuerySettings(); an manipulate them before executing the Query. The API functions are now called setRespectStoragePageState(TRUE) for PID checking, and setCheckVisibilityState(TRUE) for adding enable fields. The method names may change in future!
[TASK] Extbase (Persistence): Improved parsing of the PID query part.
[TASK] Extbase (MVC): An Object Manager is now injected into the Abstract Controller (better testability).
[!!!][BUGFIX] Extbase (Domain): Username and password was not set after passing it to the constructor. CAUTION: Auto-Populating the BlogExample will add Frontend Users to your installation. Don't use the BlogExample in productive environments! No username and password will be set.
[TASK] Extbase (Domain): Optional properties are now set to a default value.
[TASK] Extbase (DomainObject): Added an internal method _getCleanProperties().
[TASK] Extbase (Persistence): The Lazy Loading Proxy->_loadRealInstance() invokes now $dataMapper->fetchRelatedObjects(). Removed duplicated code.
[+FEATURE] Extbase (Persistence): Implemented support for MM_table_where.
[~CONFIGURATION] extbase: Changed from "plugin" to "fe" in ext_emconf.php.
[BUGFIX] Extbase (Tests): Fixed some Unit Tests.

10 years ago[~TASK] Extbase (Configuration): Removed some method signature for getSettings which...
Sebastian Kurfürst [Wed, 29 Jul 2009 16:47:10 +0000 (16:47 +0000)]
[~TASK] Extbase (Configuration): Removed some method signature for getSettings which were not used.

10 years ago[!!!] [~TASK] BlogExample (Domain): The directory structure of the Domain has changed...
Jochen Rau [Thu, 23 Jul 2009 23:23:17 +0000 (23:23 +0000)]
[!!!] [~TASK] BlogExample (Domain): The directory structure of the Domain has changed accordting to changes in FLOW3. The Domain folder holds now different folders for the Model, the Repository, and-if needed-the Validator, and Service. Please Change your folder structure AND your class names!
[!!!] [~TASK] Extbase (Domain): The directory structure of the Domain has changed accordting to changes in FLOW3 (see above). Please Change your class names!
[FEATURE] Extbase (Domain): Implemented FrontendUserGroup (no comma separated lists yet, only on usergroup possible)
[+BUGFIX] Extbase (Persistence): Fixed wrong tablenames in *_mm tables. Thanks to Christian Mueller who provided a patch. Resolves #3974.
[+BUGFIX] Extbase (Persistence): Fixed Query::lessThan, Query::lessThanOrEqual, Query::greaterThan. Resolves #3960.
[~FEATURE] Extbase (Persistence): Support for mm_opposite_field. Related to #3947.
[-API] Extbase (DomainModel): Removed getIdentifier() from AbstractDomainObject.
[-TASK] Extbase (Persistence): Removed unused DataMapperInterface.
[+API] Extbase (Persistence): Re-added possibility to set "useStoragePageId" in $queryFactory->create($className, $useStoragePageId).
[~TASK] Extbase: Messed up with the QuerySettings ;-) Will be fixed later.

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