[root]/Tests/Package
Controller
(0 files, 0 lines)
Documentation
(0 files, 0 lines)
Fixtures
(0 files, 0 lines)
XMLReaderTest
(0 files, 0 lines)
XMLWriterTest
(0 files, 0 lines)
Meta
(0 files, 0 lines)
MetaData
(0 files, 0 lines)

| Author | Changes | Lines of Code | Lines per Change |
|---|---|---|---|
| Totals | 66 (100.0%) | 1123 (100.0%) | 17.0 |
| robert | 23 (34.8%) | 538 (47.9%) | 23.3 |
| networkteam_hlubek | 9 (13.6%) | 438 (39.0%) | 48.6 |
| k-fish | 33 (50.0%) | 144 (12.8%) | 4.3 |
| andi | 1 (1.5%) | 3 (0.3%) | 3.0 |
Removed everything in trunk after move to git.
0 lines of code changed in 8 files:
[+TASK] FLOW3 (Package): The package manager now accepts underscores "_" as part of the package key. Use them wisely!
16 lines of code changed in 2 files:
[+FEATURE] FLOW3 (AOP): Parse errors in AOP proxy code (introduced by a potential bug) will now be treated properly by throwing a meaningful exception.
[-FEATURE] FLOW3 (Configuration): Removed support for PHP-based configuration files. This caused a lot of overhead and in practice we want everyone to use YAML files anyway.
[+FEATURE] FLOW3 (Configuration): Implemented support for cached ("compiled") configuration. When the new FLOW3.yaml option "configuration: comileConfigurationFiles" is turned on, all configuration will be compiled into a PHP file which from then on is read instead of parsing the YAML files everytime. Please see the updated documentation for more information. Resolves #4460
[~TASK] FLOW3 (Configuration): Completely refactored the Configuration Manager and a few related classes. Its methods now each fullfil a clear purpose and work more effective. The method names now also better describe what each method is doing. Resolves #2711
[-TASK] FLOW3 (Configuration): Removed the WritableSourceInterface - this is now a standard feature of a configuration source.
[+TASK] FLOW3 (Core): Refactored and cleaned up the FLOW3 Bootstrap. Constants are now defined by a static method and all configuration related functionality has been moved to the Configuration sub package. Also replaced the evil die() calls by more handsome exit() calls. Relates to #2117
[+TASK] FLOW3 (Object): Moved some object initialization code from the Bootstrap to the Object Manager and further cleaned up the Object Manager's code. Wrote additional tests - now this class has 100% test coverage. Relates to #2117
[+API] FLOW3 (MVC): Added a few @api annotations to properties of the AbstractController and ActionController.
[-API] FLOW3 (Utility): Removed the getSAPIType() method from the Environment class. Just use the constant FLOW3_SAPITYPE instead. Resolves #3567 and relates to #2117.
22 lines of code changed in 1 file:
[+FEATURE] FLOW3 (Cache): The FileBackend now uses a shorter hash for the directory names which relaxes the situation for Windows users with a limited path length. The hash is now rendered from the Web path, SAPI type, process user name and application context. Please manually delete everything the Data/Temporary/ directory to get rid of old caches files.
[+FEATURE] FLOW3 (Configuration): The configuration manager now sets the FLOW3 setting "core.context" to the current application context. Resolves #4084
[+BUGFIX] FLOW3 (Core): Reimplemented the detection of various paths which are later available as FLOW3_PATH_ constants. Now supports any setup with symlinks which makes sense. It's important though that the flow3 script is a real file in the installation and no symlink. FLOW3's root path is now determined by an environment variable. This is optional in web mode but mandatory in CLI mode. The environment variable is set automatically by the flow3 script. Resolves #4082 and relates to #3990.
[+BUGFIX] FLOW3 (Package): Files in the directory Packages/ are now ignored by the package manager and the package directory scan was optimized for better performance. Resolves #4085
[~TASK] FLOW3 (Utility): The Arrays::trimExplode() function now removes empty values from the result by default.
1 lines of code changed in 1 file:
[+TASK] FLOW3: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] Fluid: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] Kickstart: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] PHP6: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] PHPUnit: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] Testing: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] Welcome: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] YAML: Removed file level docblocks and @package/@subpackage annotations.
0 lines of code changed in 3 files:
[!!!][~TASK] FLOW3: Renamed the directory "Public" to "Web" and the constant FLOW3_PATH_PUBLIC to FLOW3_PATH_WEB accordingly.
[!!!][~TASK] FLOW3: Renamed the folder for packages which are included in the FLOW3 distribution from "Distribution" to "Framework".
[~TASK] FLOW3: Improved and refactored the bootstrap script (index.php)
1 lines of code changed in 1 file:
[TASK] FLOW3 (Tests): replaced try/catch by @expectedException in two Package\ManagerTest tests
4 lines of code changed in 1 file:
[-API] FLOW3 (Package): Removed the getPackagePAth() and getPackageClassesPath() from the Package Manager because they were redundant. Please use $package->getPackagePath() and $package->getClassesPath() respectively.
[~API] FLOW3 (Package): In the class Package renamed getPackageMetaDataPath() and getPackageDocumentationPath() to getMetaPath() and getDocumentationPath() respectively. Now their naming is consistent with the remaining functions in the Package class.
10 lines of code changed in 2 files:
[!!!] FLOW3: Packages.yaml configuration renamed to Package.yaml, configuration in single package is no longer indexed with package key
[FEAT] FLOW3 (Configuration): Package state configuration will be handled by a special writable configuration source, resolves #3639
[FEAT] FLOW3 (Package): Active packages will be read from the package states configuration and activation / deactivation updates the configuration, resolves #3639
[FIX] FLOW3 (Configuration): Fixed YAMLSource saving with comment headers
120 lines of code changed in 1 file:
Added svn:keywords where missing...
2 lines of code changed in 1 file:
FLOW3:
* forgotten test "fix" for #2516
1 lines of code changed in 1 file:
FLOW3:
* removed useless use statements from three testcases
9 lines of code changed in 1 file:
Renamed Meta to MetaData according to the namespace. Fixed error in PackageTest.
6 lines of code changed in 1 file:
* Implemented a Documentation object model for packages
* Renamed file MetaTest to MetaDataTest
* Added new objects to Objects.yaml
Resolves #3435
202 lines of code changed in 3 files:
* Packages will be created using the object factory
* getPackageMetaDataPath() returns only the path to the Meta directory, so the metadata reader and the tests were adjusted
* Some small code format fixes
Resolves #3434
13 lines of code changed in 1 file:
Removed the functional test createPackageCreatesPackageMetaDataFile and fixed the deletePackage test
14 lines of code changed in 1 file:
Rewrote most of the package manager tests to use the VFS
83 lines of code changed in 2 files:
FLOW3(Package):
* refactored the last unit test, that used the TestPackage.
3 lines of code changed in 1 file:
This is a commit of work in progress. If you're already using FLOW3 (semi-) productively, you better skip this version because the MVC framework currently lacks validation and might lead to some other unexpected behavior. OTOH the code seems to be quite stable, so nothing to really worry about. More code related to the MVC framework and especially validation will follow soon, I just had to get rid of all these changes ...
* FLOW3: (Persistence) Made sure that the object name "...\Persistence\ManagerInterface" is used everywhere instead of "...\Persistence\Manager".
* FLOW3: (Error) Annotated the "Error" and "Warning" class as prototype and renamed *ErrorMessage() and *ErrorCode() to *Message() and *Code().
* FLOW3: (MVC) Fixed and re-enabled tests of the Abstract Controller
* FLOW3: (MVC) !!! Started rewriting the argument mapping mechanism. It should work but be aware that NO VALIDATION and NO FILTERING is active at the moment!
* FLOW3: (MVC) The automatic argument registration in the Action Controller now detects optional arguments and registers them as such.
* FLOW3: (MVC) Cleaned up the Argument(s) classes and implemented an early version of identity support in setValue()
* FLOW3: (MVC) Added initial implementation of identity support for the resolve() method of a DynamicRoutePart. I'll give more information on this topic as soon as it's completely implemented.
* FLOW3: (MVC) Removed the emit* method in the router and replaced it by a call to the System Logger: Now the log contains an entry stating which route has been chosen.
* FLOW3: (Persistence) In the ClassSchema renamed the (is)RepositoryManaged property and methods to (is)AggregateRoot.
* FLOW3: (Persistence) Added safeguard to the Persistence\Manager::getClassSchema() method
* FLOW3: (Property / MVC) For now, completely removed the concept of Property Converters!
* FLOW3: (Property) Started reimplementing the Property Mapper. Most of the old functionality has been removed but much of it will return soon.
* FLOW3: (Reflection) Changed the order of access method detection in the ObjectAccess class. Any other order causes proplems in the MVC mechanism. If a property could not be accessed, now NULL is returned (instead of throwing an exception)
* FLOW3: (Validation) Moved the AbstractValidator and Validation interfaces to the Validator sub package
* Fluid: (ViewHelpers) Added support for an "arguments" attribute in the FormViewHelper which allows for specifying arguments for the action URI.
44 lines of code changed in 1 file:
FLOW3:
* renamed Package\Meta to Package\MetaData, fixes #2511
20 lines of code changed in 3 files:
* FLOW3: (Package) Implemented support for multiple package directories and symlinked packages. This will surely break your current installation - some documentation and fixes for the distributions are on the way ...
* FLOW3: !!! Removed the FLOW3_PATH_PACKAGES constant. Please use relative packages within your own package or ask the Package Manager for paths if you need one.
* FLOW3: (Testing) Quick fix for the only-execute-this-testcase-function in the test runner (by Karsten)
* FLOW3: (Resource) Implemented a feature for publishing package-independent resources: Just place any installation specific resources into the /Data/Resources/Public folder. Kind of a "fileadmin" folder for FLOW3.
* FLOW3: (Resource) Resources are not mirrored anymore in CLI context
* FLOW3: Cleaned up a few testcases
20 lines of code changed in 2 files:
!!! Globally renamed all class files to the new shorter version. Resolves #2524
FLOW3: (Resource) Adapted the class loader and other related parts of FLOW3 to the new class filename convention
FLOW3: Moved the FLOW3 bootstrap into the F3\FLOW3 namepace
47 lines of code changed in 3 files:
* FLOW3: (Package) Integrated the patches from the F3PR project by Thomas, Tobias and Christoph. Introduces Meta xml reading / writing support, create and delete packages and a new command line tool "flow3". The whole Package subpackage needs some tuning and cleanup and most of the new Package Manager tests are currently disabled. Addresses #935, addresses #936, resolves #937, addresses #940, and addresses #116.
344 lines of code changed in 3 files:
FLOW3:
* fixed license name in @license annotation, fixes #2454
2 lines of code changed in 2 files:
FLOW3, Lucene, PHP6, PHPCR, Smarty, Testing, TYPO3, TYPO3CR, TypoScript:
* fixed broken @version $Id$ annotations that got hosed during new namespace refactoring. Sorry!
4 lines of code changed in 2 files:
FLOW3:
* changed license to LGPL v3 or later
28 lines of code changed in 2 files:
FLOW3:
* refactored a bunch of unit tests so they no longer need a real FLOW3 to run, refs #2123
10 lines of code changed in 1 file:
!!! 5.3.0alpha3 namespaces refactoring:
* changed namespace delimiter from :: to \
* all class references in namespaced code prepended by \
PHPUnit:
* adapted mock object handling to the new namespaces syntax
FLOW3:
* PropertyReflection now uses setAccessible() instead of array cast to access protected properties
PHPCR:
* added a missing interface already used for type hints
32 lines of code changed in 2 files:
* FLOW3: (Component) Renamed "component" to "object" - everywhere. That means we now have an Object Manager instead of a Component Manager, an Object Factory etc. Resolves #2119
Globally adjusted all code for the above change.
1 lines of code changed in 1 file:
* FLOW3: (Component) Renamed the method Component::Factory->getComponent() to Component::Factory->create(). Resolves #1846
* FLOW3: (Component) Component::Factory->create() will now throw an exception on trying to create a component of scope != prototype
* FLOW3: (Component) The Component::Manager->getComponent() method can still be used as a last resort to retrieve components of any scope. However dependency injection for singletons and the component factory for prototype should always be the first choice!
Refactored all packages of the TYPO3 distribution to match the above changes.
Note: The test "F3::TYPO3CR::NodeTest::setPropertySetsValue" currently fails on my machine with the following message:
Error in setPropertySetsValue with data set #34 Detail
TYPO3CR/Classes/F3_TYPO3CR_Node.php:577
Unable to convert value of type string to Name: Namespace prefix is invalid
1 lines of code changed in 1 file:
Globally (manually) replaced all occurrences of "key_exists()" with either isset() or array_key_exists().
4 lines of code changed in 2 files:
!!! Major change, will break existing code.
Part 3 - Packages
FLOW3, most other packages:
* added namespaces to the code of FLOW3 and all packages in the current TYPO3v5 distribution.
PHPUnit:
* some changes to make PHPUnit (more) namespace-compatible.
Some notes:
* Documentation updates will follow
* you might need to change your class names when adapting namespaces to avoid using "Class", "Empty", "Default", ...
* expect FLOW3CGL and/or PHPCodeSniffer to be broken (I'll have a look)
* some parts might still be broken, especially in edge-cases where the global namespace needs to explicitly used
32 lines of code changed in 2 files:
* FLOW3: (MVC) Implemented support for case insensitve URLs. The package key and controller component name can now be any case, the action name must still be studly caps (like the action method name). Resolves #1253.
* FLOW3: (Package) Added new method getCaseSensitivePackageKey() to the package manager
* FLOW3: (Session) Exceptions which occur during session_write are now converted into FLOW3 exceptions
* TYPO3: Added some helpful output to the different controller stubs and adapted the routes configuration to the recent changes in the MVC routing.
12 lines of code changed in 1 file:
* FLOW3: (Configuration) Configuration containers are now locked recursively. Fixes #1064.
* FLOW3: (MVC) Since recently it was allowed to set keys like "FLOW3_MVC" as package key in the Request object in order to route into sub packages. That was kind of dirty. Now there's a new option setControllerComponentNamePattern() which can be reached from the routes configuration. This doesn't work in CLI mode though (routing into sub packages that is)
* FLOW3: (Package) The package object did not check if the specified package key is valid - now it does.
* TYPO3: Further experiments with the routing and the different controllers.
14 lines of code changed in 1 file:
!!! Important global change !!!
Extracted the getComponent() method from the Component Manager into its own class, the Component Factory. From now on, use the factory if you only need the getComponent() functionality and use the manager if you need the more advanced functions.
1 lines of code changed in 1 file:
Pending commit, fixes #477.
0 lines of code changed in 4 files: