Jochen Rau [Thu, 8 Oct 2009 13:15:09 +0000 (13:15 +0000)]
[~CONFIGURATION] Extbase: Set lockType to empty string instead of 'system'.
[+BUGFIX] Extbase (Tests): Fixed and renamed BaseTestCase. It supports now Data Providers.
[+TASK] Extbase (Tests): Added Data Provider for Typo3DbBackend.
[+BUGFIX] Extbase (Persistence): Added LazyObjectStorage to the list of types in property meta-data.
[+BUGFIX] Extbase (Persistence): Fixed a problem with value object database tables without deleted and/or hidden column.
[~BUGFIX] Extbase (Persistence): Added the same ugly hack (setRespectStoragePage(FALSE)) to mm-relations.
[+BUGFIX] Extbase (Persistence): The Lazy Object Storage really counts stored items (foreign key, relation table) without loading them.
Sebastian Kurfürst [Mon, 5 Oct 2009 15:10:56 +0000 (15:10 +0000)]
* Committing some changes Bastian made on the translate viewhelper which I forgot to forward-port. Always do an svn update before you start working ;-)
Sebastian Kurfürst [Mon, 5 Oct 2009 14:57:32 +0000 (14:57 +0000)]
[!!!][BUGFIX] Extbase (Configuration): Moved _LOCAL_LANG from plugin.tx_XXX.settings._LOCAL_LANG to plugin.tx_XXX._LOCAL_LANG. THIS IS A BREAKING CHANGE for Users. Resolves #4905.
[BUGFIX] Extbase (Utility): Extracting translation code from Translation ViewHelper to utility class. Related to #4905.
Jochen Rau [Mon, 28 Sep 2009 10:02:03 +0000 (10:02 +0000)]
[+TASK] Extbase: Recreated ext_autoload.php.
Bastian Waidelich [Fri, 25 Sep 2009 13:11:59 +0000 (13:11 +0000)]
[+TASK] Extbase: Re-created ext_autoload.php
Jochen Rau [Thu, 24 Sep 2009 22:50:34 +0000 (22:50 +0000)]
[~BUGFIX] Extbase (Persistence): Added table names to ORDER statement. Relates to #4470.
[+TASK] Extbase (Persistence): Added several unit tests for the Storage Backend.
[~TASK] Extbase: Tweaked the icon.
Bastian Waidelich [Thu, 24 Sep 2009 16:24:58 +0000 (16:24 +0000)]
[+FEATURE] Extbase (Configuration): Cleaned up FlexForm Configuration source and added support for multiple FlexForm sheets. This resolves #4756
Sebastian Kurfürst [Thu, 24 Sep 2009 09:00:18 +0000 (09:00 +0000)]
Raising version to 0.9.9
Bastian Waidelich [Wed, 23 Sep 2009 15:36:47 +0000 (15:36 +0000)]
!!![~BUGFIX] Extbase: Changed registration of extbase dispatcher in BE mode. See bug report at bugs.typo3.org/view.php?id=12037
[+TASK] Extbase (Tests): Added require statement to Base_testcase to avoid error message in case Tx_Extbase_Utility_ClassLoader has not been loaded yet
Sebastian Kurfürst [Mon, 21 Sep 2009 13:11:38 +0000 (13:11 +0000)]
Raising extbase version number to 0.9.8
Sebastian Kurfürst [Mon, 21 Sep 2009 13:06:24 +0000 (13:06 +0000)]
[+BUGFIX] Extbase (Reflection): Made reflection service caching work correctly
[+BUGFIX] Extbase (Persistence): Resolved an error inside Typo3DbBackend when wanting to use Lower or Upper case. Thanks to Christoph Daehne for reporting this.
[+BUGFIX] Extbase: Adjusted cache configuration to fit to the improved caching framework
Bastian Waidelich [Mon, 21 Sep 2009 09:53:20 +0000 (09:53 +0000)]
[~BUGFIX] Extbase (Utility): Fixed typo in default TypoScript setup. This resolves #4689
[~TASK] Extbase (Utility): Tweaked and cleaned up default TypoScript setup. Now all common settings will appear in the "TypoScript Object Browser"
Sebastian Kurfürst [Fri, 18 Sep 2009 13:10:46 +0000 (13:10 +0000)]
Raising version to 0.9.7
Sebastian Kurfürst [Fri, 18 Sep 2009 13:10:15 +0000 (13:10 +0000)]
[+BUGFIX] Extbase (Caching): Using reworked caching framework now. Patch by Olly Hader.
Sebastian Kurfürst [Fri, 18 Sep 2009 10:29:25 +0000 (10:29 +0000)]
[+FEATURE] Extbase (Utility): Added a check for the new TYPO3 backend module "Reports" which checks whether PHP Doc Comments are stripped away or not. Resolves #3309.
Sebastian Kurfürst [Fri, 18 Sep 2009 09:31:14 +0000 (09:31 +0000)]
[+BUGFIX] Extbase (Persistence): Replaced an "empty" by "!isset" as this fits here better inside the DataMapper. Might lead to better caching.
Sebastian Kurfürst [Fri, 18 Sep 2009 09:21:20 +0000 (09:21 +0000)]
[+BUGFIX] Extbase (Persistence): Wrote unit tests for the AbstractEntity to ensure the last bug will not happen again, and fixed another smaller bug.
[+BUGFIX] Extbase (Persistence): Changed some doc comments.
Sebastian Kurfürst [Fri, 18 Sep 2009 08:19:43 +0000 (08:19 +0000)]
[+BUGFIX] Extbase (Persistence): Fixed a severe bug which always updated all loaded records, making Extbase quite slow.
Sebastian Kurfürst [Fri, 18 Sep 2009 07:35:04 +0000 (07:35 +0000)]
[+BUGFIX] Extbase (Persistence): Corrected a wrong exception message in Persistence Repository.
Sebastian Kurfürst [Thu, 17 Sep 2009 13:59:01 +0000 (13:59 +0000)]
Raising Version Number to 0.9.6 in preparation for 4.3beta1
Bastian Waidelich [Thu, 17 Sep 2009 13:56:32 +0000 (13:56 +0000)]
[+FEATURE] Extbase (MVC): flashMessages work in backend mode too now
Sebastian Kurfürst [Thu, 17 Sep 2009 10:50:35 +0000 (10:50 +0000)]
[-API] Extbase (MVC): Removed enableValidation() and disableValidation() on the Controller Argument. They are not needed anymore.
[!!!][+BUGFIX] Extbase (MVC): Now, in case people do not specify an @param annotation, they will get an exception instead of Text being used.
[+BUGFIX] Extbsee (MVC): Cleaned up validator registration in ActionController. Now, @dontvalidate annotations only disable the model-based validators.
[+BUGFIX] Extbase (Validation): Cleaned up ValidatorResolver. Now, Validators which check the data type from the @param annotation are also added to the validator chain.
[!!!][+BUGFIX] Extbase (Validation): @param string is now validated as string, and not anymore as Text. This fixes numerous bug reports in Fluid.
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
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".
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.
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.
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
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.
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.
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.
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
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
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.
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!).
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).
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
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.
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.
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
Sebastian Kurfürst [Mon, 14 Sep 2009 17:35:52 +0000 (17:35 +0000)]
[+BUGFIX] Extbase: fixed testcases
Sebastian Kurfürst [Mon, 14 Sep 2009 17:11:56 +0000 (17:11 +0000)]
[+BUGFIX] Extbase (Reflection): Fixed buildClassSchema() to prevent a PHP warning.
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 :-)
Jochen Rau [Mon, 14 Sep 2009 09:51:58 +0000 (09:51 +0000)]
[+FEATURE] Extbase (MVC): Implemented flash messages.
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.
Jochen Rau [Mon, 14 Sep 2009 07:45:12 +0000 (07:45 +0000)]
[~TASK] Extbase: Some minor cleanup.
Jochen Rau [Mon, 14 Sep 2009 07:04:28 +0000 (07:04 +0000)]
[-TASK] Extbase: Some cleanup of ext_typoscript_setup.txt.
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.
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.
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)
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()
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
Bastian Waidelich [Fri, 4 Sep 2009 15:52:40 +0000 (15:52 +0000)]
[~TASK] Fluid (Tests): Renamed "URIBuilder_testcase" to "UriBuilder_testcase"
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
Sebastian Kurfürst [Tue, 1 Sep 2009 06:58:13 +0000 (06:58 +0000)]
[~TASK] Extbase: Raised version number to 0.9.5.
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
Bastian Waidelich [Mon, 31 Aug 2009 19:03:31 +0000 (19:03 +0000)]
Renaming UriBuilder as preparation for upcoming commit.
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.
Sebastian Kurfürst [Mon, 31 Aug 2009 11:35:49 +0000 (11:35 +0000)]
Added a comment
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.
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.
Sebastian Kurfürst [Sun, 30 Aug 2009 12:06:32 +0000 (12:06 +0000)]
[~TASK] (Persistence): Fixed indentation in DataMapper
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"
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.
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.
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.
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.
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
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.
Jochen Rau [Fri, 14 Aug 2009 09:24:27 +0000 (09:24 +0000)]
[+BUGFIX] Extbase (Persistence): Added missing return statement. Resolves #4242.
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.
Steffen Kamper [Tue, 11 Aug 2009 08:22:09 +0000 (08:22 +0000)]
corrected TX to Tx
Steffen Kamper [Tue, 11 Aug 2009 07:17:47 +0000 (07:17 +0000)]
[!!!][~TASK] Extbase (Dispatcher): committed initial version of BackendDispatcher
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.
Sebastian Kurfürst [Mon, 10 Aug 2009 04:45:19 +0000 (04:45 +0000)]
[+BUGFIX] Extbase (MVC): Fixed wrong exception name. Resolves #4200.
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.
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.
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
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Steffen Kamper [Tue, 4 Aug 2009 00:18:02 +0000 (00:18 +0000)]
[BUGFIX] moved cache definition for FE to ext_localconf
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
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.
Bastian Waidelich [Mon, 3 Aug 2009 09:30:49 +0000 (09:30 +0000)]
[~BUGFIX] Configuration: Fixed storagePid detection in Configuration Manager. This fixes #4087
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
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.)
Sebastian Kurfürst [Fri, 31 Jul 2009 07:39:36 +0000 (07:39 +0000)]
[~TASK] Extbase (Dispatcher): Small whitespace and doc comment changes
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.
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.
Jochen Rau [Thu, 30 Jul 2009 09:35:27 +0000 (09:35 +0000)]
[BUGFIX] Extbase (Domain): Fixed typo in FrontendUserGroupRepository.
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.
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.
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.