Packages/TYPO3.CMS.git
11 years ago[+FEATURE] Extbase (MVC): made layoutRootPath and partialRootPath configurable. Now...
Bastian Waidelich [Thu, 17 Sep 2009 10:30:44 +0000 (10:30 +0000)]
[+FEATURE] Extbase (MVC): made layoutRootPath and partialRootPath configurable. Now view.templateRootPath defines the path to the "Templates" folder. view.layoutRootPath & view.partialRootPath can be specified independently. Related to #3296.
[~TASK] Extbase (MVC): Fixed doc comment in UriBuilder

11 years ago[+BUGFIX] Extbase (Persistence): The function in_array is now used to determine which...
Jochen Rau [Thu, 17 Sep 2009 10:25:16 +0000 (10:25 +0000)]
[+BUGFIX] Extbase (Persistence): The function in_array is now used to determine which objects of an aggregate were removed as array_diff tries to convert objects to strings. Resolves #4655.
[~BUGFIX] Extbase (Persistence): Reverted the method to count elements of a comma separated list relation because it ignores hidden elements. Related to #3596, #4669, #4635.
[~TASK] Extbase: Changed status from alpha to beta. Extbase is now attached to category "misc".

11 years ago[+BUGFIX] Extbase (Tests): Added and fixed unit tests for the Repository. We are...
Jochen Rau [Thu, 17 Sep 2009 08:46:28 +0000 (08:46 +0000)]
[+BUGFIX] Extbase (Tests): Added and fixed unit tests for the Repository. We are now green again.

11 years ago[+BUGFIX] Extbase (MVC): Fixed instanciation of Reflection Service (instanciated...
Jochen Rau [Thu, 17 Sep 2009 07:23:38 +0000 (07:23 +0000)]
[+BUGFIX] Extbase (MVC): Fixed instanciation of Reflection Service (instanciated twice).
[+BUGFIX] Extbase (Persistence): Fixed wrong variable name ($uid -> $identifier).
[+TASK] Extbase (Persistence): Implemented a first level cache to reduce number of calls to the storage backend (in the Repository).
[+TASK] Extbase: Minor cleanups.

11 years ago[~TASK] Extbase (Tests): fixed configuration manager tests that were broken in r1269
Bastian Waidelich [Wed, 16 Sep 2009 11:23:51 +0000 (11:23 +0000)]
[~TASK] Extbase (Tests): fixed configuration manager tests that were broken in r1269

11 years ago[!!!][~FEATURE] Extbase (MVC): Improved the way flash messages are handled. Now there...
Sebastian Kurfürst [Wed, 16 Sep 2009 10:00:10 +0000 (10:00 +0000)]
[!!!][~FEATURE] Extbase (MVC): Improved the way flash messages are handled. Now there is a separate "FlashMessages" object which encapsulates handling the flash messages. This removes $this->pushFlashMessage and $this->popFlashMessages inside the Controller and {flashMessages} inside Fluid Template. PLEASE UPGRADE by replacing "$this->pushFlashMessage(" with "$this->flashMessages->add(" inside your Controllers, and use <f:renderFlashMessages /> instead of the custom for loop inside your templates. Note: You can set a custom CSS class for outputting flash messages by using <f:renderFlashMessages class="..." /> inside your templates. Related to #4638.

11 years ago[+BUGFIX] Extbase (Configuration): Fixed the configuration manager so that the storag...
Sebastian Kurfürst [Wed, 16 Sep 2009 09:56:09 +0000 (09:56 +0000)]
[+BUGFIX] Extbase (Configuration): Fixed the configuration manager so that the storage PID can be set from the plugins "Startingpoint" selector.

11 years ago[+BUGFIX] Extbase (Persistence): Removed call to undefined method Tx_Extbase_Persiste...
Jochen Rau [Tue, 15 Sep 2009 22:36:08 +0000 (22:36 +0000)]
[+BUGFIX] Extbase (Persistence): Removed call to undefined method Tx_Extbase_Persistence_Query::getSource(). Thanks to Nikolas Hagelstein. Resolves #4642.

11 years agoRenamed reflection cache table to "tx_extbase_cache_reflection" to fit conventions
Steffen Kamper [Tue, 15 Sep 2009 18:45:18 +0000 (18:45 +0000)]
Renamed reflection cache table to "tx_extbase_cache_reflection" to fit conventions

11 years ago[+FEATURE] Extbase (Configuration): Configuration is available in Backend modules...
Bastian Waidelich [Tue, 15 Sep 2009 14:45:33 +0000 (14:45 +0000)]
[+FEATURE] Extbase (Configuration): Configuration is available in Backend modules now! Depending on TYPO3_MODE the dispatcher now creates an instance of Frontend- or BackendConfigurationManager. TypoScriptSource has been adjusted to support Backend mode. This resolves #4418
[~TASK] Extbase (Configuration): Moved Configuration Source Interface from Classes/Configuration to Classes/Configuration/Source
[+TASK] Extbase (MVC): AbstractController::redirectToURI() prepends 'typo3/' to the absolute URI when in Backend mode
[+FEATURE] Extbase (MVC): added a call to t3lib_div::getFileAbsFileName() for templateRootPath to allow notations like "EXT:extension/path" and to validate the template path
[+FEATURE] Extbase (MVC): settings are now assigned to the view in AbstractController::resolveView. Now settings are available in your template as {settings}!
[+FEATURE] Extbase (MVC): UriBuilder can now create absolute URIs in Backend mode too
[+BUGFIX] Extbase (Persistence): added t3lib_BEfunc::deleteClause() call to enableFieldsStatement in Backend mode. Otherwise deleted records would be selected in BE

11 years ago[+BUGFIX] Extbase (Persistence): Fixed sorting of m:m relations (sorting and sorting_...
Jochen Rau [Tue, 15 Sep 2009 14:41:23 +0000 (14:41 +0000)]
[+BUGFIX] Extbase (Persistence): Fixed sorting of m:m relations (sorting and sorting_foreign fields in the relation table). Resolves #4470.

11 years ago[+TASK] Extbase: The Configuration Manager is now stored in a static class member...
Jochen Rau [Tue, 15 Sep 2009 14:23:25 +0000 (14:23 +0000)]
[+TASK] Extbase: The Configuration Manager is now stored in a static class member variable and can be retrieved by Tx_Extbase_Dispatcher::getConfigurationManager() (not an API function!).

11 years ago[~TASK] Extbase (Domain): Changed property usergroups to usergroup (FrontendUser...
Jochen Rau [Tue, 15 Sep 2009 14:10:53 +0000 (14:10 +0000)]
[~TASK] Extbase (Domain): Changed property usergroups to usergroup (FrontendUser) and sungroups to subgroup (FrontendUserGroup) equal to the field names in the database (to avoid confusion).

11 years ago[+FEATURE] Extbase (MVC): Now, non-domain-objects can be mapped inside an argument...
Sebastian Kurfürst [Tue, 15 Sep 2009 11:40:09 +0000 (11:40 +0000)]
[+FEATURE] Extbase (MVC): Now, non-domain-objects can be mapped inside an argument as well. Additionally, improved the exceptions in these cases. Related to #4631

11 years ago[+BUGFIX] Extbase (Persistence): Fixed a problem with empty $fieldValue causing an...
Jochen Rau [Tue, 15 Sep 2009 11:22:59 +0000 (11:22 +0000)]
[+BUGFIX] Extbase (Persistence): Fixed a problem with empty $fieldValue causing an SQL error.
[!!!][+BUGFIX] Extbase (Domain): Fixed support for usergroups and subgroups. Renamed properties subgroup to subgroups and usergroup to usergroups as they can hold multiple instances. Added mapping configuration. Resolves #4620.

11 years ago[-TASK] Extbase (MVC): Removed check for multiple data types. It makes no sense to...
Jochen Rau [Tue, 15 Sep 2009 10:26:32 +0000 (10:26 +0000)]
[-TASK] Extbase (MVC): Removed check for multiple data types. It makes no sense to allow multiple types.

11 years ago[~BUGFIX] Extbase (MVC): fixed a typo in reflection service that was introduced in...
Bastian Waidelich [Tue, 15 Sep 2009 08:59:06 +0000 (08:59 +0000)]
[~BUGFIX] Extbase (MVC): fixed a typo in reflection service that was introduced in r1242 and completely disabled reflection for arguments

11 years ago[+BUGFIX] Extbase: fixed testcases
Sebastian Kurfürst [Mon, 14 Sep 2009 17:35:52 +0000 (17:35 +0000)]
[+BUGFIX] Extbase: fixed testcases

11 years ago[+BUGFIX] Extbase (Reflection): Fixed buildClassSchema() to prevent a PHP warning.
Sebastian Kurfürst [Mon, 14 Sep 2009 17:11:56 +0000 (17:11 +0000)]
[+BUGFIX] Extbase (Reflection): Fixed buildClassSchema() to prevent a PHP warning.

11 years ago[+BUGFIX] Extbase (Persistence): Reverted a small change from Jochen, as I think...
Sebastian Kurfürst [Mon, 14 Sep 2009 17:05:04 +0000 (17:05 +0000)]
[+BUGFIX] Extbase (Persistence): Reverted a small change from Jochen, as I think  he broke behavior here. @Jochen, please recheck :-)

11 years ago[+FEATURE] Extbase (MVC): Implemented flash messages.
Jochen Rau [Mon, 14 Sep 2009 09:51:58 +0000 (09:51 +0000)]
[+FEATURE] Extbase (MVC): Implemented flash messages.

11 years ago[+FEATURE] Extbase (Persistence): Implemented a second Lazy Loading strategy called...
Jochen Rau [Mon, 14 Sep 2009 09:37:35 +0000 (09:37 +0000)]
[+FEATURE] Extbase (Persistence): Implemented a second Lazy Loading strategy called "storage". In contrast to the LazyLoadingProxy it is a StorageObject which loads its internal storage array lazy. This enables the framework to intercept count($propertyValue). Furthermore, you don't have to load the real instance inside your domain model class. Related to #3596.
[+BUGFIX] Extbase (Persistence): It is now possible to pass an object as operand of a comparison.

11 years ago[~TASK] Extbase: Some minor cleanup.
Jochen Rau [Mon, 14 Sep 2009 07:45:12 +0000 (07:45 +0000)]
[~TASK] Extbase: Some minor cleanup.

11 years ago[-TASK] Extbase: Some cleanup of ext_typoscript_setup.txt.
Jochen Rau [Mon, 14 Sep 2009 07:04:28 +0000 (07:04 +0000)]
[-TASK] Extbase: Some cleanup of ext_typoscript_setup.txt.

11 years ago[+BUGFIX] Extbase: Removed a var_dump I committed accidentaly in the last commit
Sebastian Kurfürst [Sun, 13 Sep 2009 18:50:42 +0000 (18:50 +0000)]
[+BUGFIX] Extbase: Removed a var_dump I committed accidentaly in the last commit
[TASK] Extbase: Went through TODO in code and changed some of them
[TASK] Extbase (Persistence): Deleted ChildNodeJoinCondition, as it is never used.

11 years ago[+BUGFIX] Extbase (Property): Fixed the property mapper by backporting the FLOW3...
Sebastian Kurfürst [Sat, 12 Sep 2009 14:19:17 +0000 (14:19 +0000)]
[+BUGFIX] Extbase (Property): Fixed the property mapper by backporting the FLOW3 changes. Now we support mapping of 1:1 relations as well. Resolves #4357.

11 years ago[+BUGFIX] Extbase (Validation): Temporarily fixed the ValidatorResolver so that it...
Ingmar Schlecht [Sat, 12 Sep 2009 10:17:58 +0000 (10:17 +0000)]
[+BUGFIX] Extbase (Validation): Temporarily fixed the ValidatorResolver so that it checks the Validator ends with "Validator" (by Sebastian)

11 years ago[+BUGFIX] Extbase (MVC): format was not reset in Tx_Extbase_MVC_Web_Routing_UriBuilde...
Bastian Waidelich [Fri, 4 Sep 2009 16:22:16 +0000 (16:22 +0000)]
[+BUGFIX] Extbase (MVC): format was not reset in Tx_Extbase_MVC_Web_Routing_UriBuilder::reset()

11 years ago[+FEATURE] Extbase (MVC): Tx_Extbase_MVC_Web_Routing_UriBuilder::reset() now returns...
Bastian Waidelich [Fri, 4 Sep 2009 16:05:43 +0000 (16:05 +0000)]
[+FEATURE] Extbase (MVC): Tx_Extbase_MVC_Web_Routing_UriBuilder::reset() now returns itself to support method chaining. This resolves #4411
[+FEATURE] Extbase (MVC): Added Tx_Extbase_MVC_Web_Routing_UriBuilder::setFormat(). This allows you to specify the format of the target (e.g. <f:link.action format="xml" />). Some smaller tweaks in UriBuilder

11 years ago[~TASK] Fluid (Tests): Renamed "URIBuilder_testcase" to "UriBuilder_testcase"
Bastian Waidelich [Fri, 4 Sep 2009 15:52:40 +0000 (15:52 +0000)]
[~TASK] Fluid (Tests): Renamed "URIBuilder_testcase" to "UriBuilder_testcase"

11 years ago[+BUGFIX] Extbase (Utility): Fixed TypoScript array conversion by now using _typoScri...
Sebastian Kurfürst [Tue, 1 Sep 2009 11:49:13 +0000 (11:49 +0000)]
[+BUGFIX] Extbase (Utility): Fixed TypoScript array conversion by now using _typoScriptNodeValue always. Resolves #4300

11 years ago[~TASK] Extbase: Raised version number to 0.9.5.
Sebastian Kurfürst [Tue, 1 Sep 2009 06:58:13 +0000 (06:58 +0000)]
[~TASK] Extbase: Raised version number to 0.9.5.

11 years ago!!! [~TASK] Extbase (MVC): Rewrite of URIBuilder. Renaming to "UriBuilder" and big...
Bastian Waidelich [Mon, 31 Aug 2009 19:04:51 +0000 (19:04 +0000)]
!!! [~TASK] Extbase (MVC): Rewrite of URIBuilder. Renaming to "UriBuilder" and big restructuruing & refactoring. If you used UriBuilder directly, please check your code; this is a breaking change. Otherwise updating should work smoothly. Resolves #4030. Resolves #3981

11 years agoRenaming UriBuilder as preparation for upcoming commit.
Bastian Waidelich [Mon, 31 Aug 2009 19:03:31 +0000 (19:03 +0000)]
Renaming UriBuilder as preparation for upcoming commit.

11 years ago[TASK] Extbase (MVC): Removed subextensionName for now. We will implement this cleanl...
Sebastian Kurfürst [Mon, 31 Aug 2009 11:40:22 +0000 (11:40 +0000)]
[TASK] Extbase (MVC): Removed subextensionName for now. We will implement this cleanly after 4.3 is out.

11 years agoAdded a comment
Sebastian Kurfürst [Mon, 31 Aug 2009 11:35:49 +0000 (11:35 +0000)]
Added a comment

11 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.

11 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.

11 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

11 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"

11 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.

11 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.

11 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.

11 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.

11 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

11 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.

11 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.

11 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.

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

11 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

11 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.

11 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.

11 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.

11 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.

11 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

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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

11 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

11 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.

11 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

11 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

11 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.)

11 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

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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)

11 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.

11 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 :-)

11 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.

11 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)

11 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

11 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.

11 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.

11 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.

11 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

11 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.

11 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

11 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));

11 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)

11 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.

11 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.

11 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.

11 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

11 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!

11 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')" )

11 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