[root]/Tests/Configuration
Fixture
(0 files, 0 lines)
Source
(0 files, 0 lines)

| Author | Changes | Lines of Code | Lines per Change |
|---|---|---|---|
| Totals | 48 (100.0%) | 1100 (100.0%) | 22.9 |
| robert | 17 (35.4%) | 714 (64.9%) | 42.0 |
| k-fish | 28 (58.3%) | 229 (20.8%) | 8.1 |
| bwaidelich | 2 (4.2%) | 95 (8.6%) | 47.5 |
| networkteam_hlubek | 1 (2.1%) | 62 (5.6%) | 62.0 |
Removed everything in trunk after move to git.
0 lines of code changed in 5 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.
351 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 2 files:
[FIX] FLOW3 (Configuration): Subroute placeholders are now ignored if the package they refer to is not active, fixes #3537
25 lines of code changed in 1 file:
[!!!] 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
62 lines of code changed in 1 file:
FLOW3:
* !!! BREAKING CHANGE !!! F3\FLOW3\Configuration\Manager is now able to load sub routes from packages and merge them with main routes. Resolves #2126 (This needs further testing and some cleanup!)
* !!! BREAKING CHANGE !!! Routes are not processed in reverse order anymore. Resolves #3441.
* Query string won't be lowercased anymore by the routing framework. Relates to #2237.
* Added some missing type hints to F3\FLOW3\Configuration\Manager
* Improved exception messages in F3\FLOW3\MVC\Web\Routing\Route
FLOW3 Distribution:
* !!! BREAKING CHANGE !!! adapted global routes to the changes mentioned above and added subroutes to FLOW3/TYPO3CR packages.
2 lines of code changed in 1 file:
* FLOW3: Renamed a few classes / moved them in the namespaces hierarchy to make naming more consistent. Resolves #2515
* FLOW3: (MVC) Removed the AbstractWidget
8 lines of code changed in 1 file:
* 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
33 lines of code changed in 1 file:
!!! 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
39 lines of code changed in 2 files:
FLOW3:
* fixed license name in @license annotation, fixes #2454
2 lines of code changed in 2 files:
This is a big commit (sorry - not exactly Continuous Integration ...)
While all seems to be fine and stable, many features introduced in this commit are not complete. Especially AOP Proxy Caching, Logging (API), the System Logger and the Signal Slots mechanism need some further work.
* TYPO3 Distribution: Added a Log directory
* TYPO3 Distribution: Disabled security (for now) because some thing need to be refactored and tested again after this commit
* FLOW3: Further cleanup of the bootstrap. Addresses #2117
* FLOW3: Removed manual registration of objects from all classes and created an Objects.yaml configuration instead which declares the objects and configures their dependencies. This manual registration is necessary for objects such as the AOP Framework because at the time it is created, the Object Manager is not yet fully initialized.
* FLOW3: (AOP) Refactored and cleaned up the AOP initialization process. Resolves #441.
* FLOW3: (AOP) Completely rewrote all unit tests and added many new ones. Now no AOP test relies on the TestPackage anymore. Addresses #1868
* FLOW3: (AOP) Improved the automatic documentation rendering of the Proxy Class Builder. Resolves #35.
* FLOW3: (AOP) Externalized the creation of the AOP proxy and instead use the Caches.yaml configuration.
* FLOW3: (AOP) Removed all use of PHP's Reflection classes and replaced them with calls to the Reflection Service
* FLOW3: (AOP) Converted all classes involved in the proxy building process from static into dynamic calls
* FLOW3: (Cache) Introduced an (semi) automatic cache registration feature which assures that all necessary caches are registered when file changes are detected. In order to register a cache, just define it in the new "Caches.yaml" configuration file. See the FLOW3 package for examples. Resolves #1787
* FLOW3: (Cache) Wrote more tests for the File Backend. Resolves #1843
* FLOW3: (Configuration) Improved the performance of the special configuration management
* FLOW3: (Configuration) Added support for Caches.* configuration
* FLOW3: (Error) The exception handlers now log uncaught exceptions to the System Logger
* FLOW3: (Monitor) Introduced a new sub package "Monitor" which provides a mechanism for automatic detection of changes on monitored files. If monitored files or directories (the latter not yet implemented) change, a signal is emitted which can be catched by a slot taking further action. Currently all cache entries tagged with a class tag are flushed automatically if a class file changes.
* FLOW3: (Log) Introduced a special System Logger which is created automatically and can be injected if needed. Although it works quite well already, the general concept of injecting the logger and the LoggerInterface itself is not final! Watch for log files in the Data/Log/ directory when running TYPO3 / FLOW3 in development context.
* FLOW3: (Log) Introduced a Logger Factory for use in Objects configuration. Warning: the API might still change
* FLOW3: (Log) Made the SEVERITY constants conform to RFC3164 and PHP's LOG_* constants
* FLOW3: (Object) Refactored and detached more unit tests from the TestPackage. Addresses #2123
* FLOW3: (Object) Implemented an early configuration parse step which allows for configuring objects in the Objects.yaml file of the FLOW3 package even before the Package Manager is initialized.
* FLOW3: (Object) Introduced a lifecycle shutdown method (default is "shutdownObject") which can be used as a clean alternative to __destruct().
* FLOW3: (Reflection) Added new API methods: isClassReflected, getInterfaceNamesImplementedByClass, isMethodFinal, isMethodStatic, isMethodPublic, isMethodProtected, isMethodPrivate
* FLOW3: (Reflection) getMethods() now returns information about the method visibility
* FLOW3: (Security) Refactored the ACL Policy Service - might still need some final work
* FLOW3: (SignalSlot) Fixed some small issues in the Dispatcher and implemented support for System Logger
* FLOW3: (Utility) Fixed a bug in Arrays::getValueByPath
* Testing: Implemented a method buildAccessibleProxy() in the BaseTestCase which allows for conveniently calling protected methods of a class. See FLOW3 unit tests for examples.
* TestPackage: Removed many classes which became obsolete due to the AOP tests refactoring. refs #1868
2 lines of code changed in 1 file:
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
23 lines of code changed in 2 files:
!!! 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
65 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.
4 lines of code changed in 2 files:
* Fixed FLOW3's yaml configuration: exceptional errors were defined as plain strings instead of constants resulting in even (catchable) fatal errors being ignored
* Fixed several tests which still used the object configuration instead of arrays
4 lines of code changed in 1 file:
COMMIT PART 1
* FLOW3: Implemented a YAML configuration source, resolves #1852
* Globally refactored code and converted configuration files to use the new YAML configuration format
Note: FLOW3 is now getting even slower because the whole YAML parsing results are not cached yet.
You can still use .php based configuration but it is recommended to switch over to YAML ASAP.
Documentation and speed improvements follow
62 lines of code changed in 1 file:
!!! 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
78 lines of code changed in 2 files:
* FLOW3: (Configuration) Finally fixed the behaviour of a configuration container's lock() method. Instead of locking the container for any write access, it is now only protected against introduction of new option keys. Adapted the configuration manager and tests accordingly.
* FLOW3: (Locale) Introduced two new configuration options for setting / retrieving the default locale of the application.
17 lines of code changed in 2 files:
FLOW3:
* fixed a bunch of CGL violations
* some TODO comments converted into @todo annotations
3 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:
* FLOW3: (Utility) added concatenatePaths() helper method which combines file paths and -names by taking care of correct slashes between directories.
* FLOW3: (Utility) added test case for F3_FLOW3_Utility_Files Class. Includes unit tests for getUnixStylePath() and concatenatePaths().
* FLOW3: (Configuration) added unit tests for "magic setter" feature of F3_FLOW3_Configuration_Container introduced in r1043.
93 lines of code changed in 1 file:
* FLOW3: (Configuration) Implemented the configuration cascade for Routes settings as well - now each package can truly define routes in their Routes.php which are merged into the master routing configuration
* TYPO3: Implemented some dummy output for the backend controller and a matching route - try calling http://yourhost/typo3 ...
20 lines of code changed in 1 file:
* Global Configuration: Moved the default routes configuration to within the FLOW3 package
* FLOW3: (Configuration) Refactored the configuration manager. Now there's a dedicated method getSettings() for retrieving settings for a certain package. You will most likely want to use this method instead of the now called "getSpecialConfiguration()" method.
* FLOW3: (Configuration) Converted the configuration source into a non-static class.
* FLOW3: (Configuration) Implemented proper tests for the Configuration Manager
* TYPO3CR and TYPO3: Adapted the code to use the new configuration manager methods
* FLOW3: The special "FLOW3 configuration" (as defined in FLOW3.php) technically are now just settings for the package "FLOW3" with the only difference that they are loaded earlier than other settings and can only be set in the FLOW3 package and the global configuration.
* FLOW3: (MVC) Refactored the Routing mechanism - mainly cosmetic changes. Among other things removed the Route Interface.
* FLOW3: (MVC) Refactored the Web Request Builder a bit.
* FLOW3: (Security) Fixed the Context Holder Session destructor which was throwing uncatched exceptions while trying to close an uninitalized session. Needs further cleanup / handling.
141 lines of code changed in 1 file:
* FLOW3: (Configuration) Configuration containers are now locked by the configuration manager when they are retrieved. Fixes #1064.
* FLOW3: Little speed optimization (reflection) in the bootstrap.
2 lines of code changed in 1 file:
FLOW3:
* Package configuration and settings now need to specify their package and are returned only for the package key given to getConfiguration().
Smarty, TestPackage:
* Adjusted configuration files accordingly.
1 lines of code changed in 1 file:
* FLOW3: (Configuration) Fixed a fatal bug which ocurred in the configuration cascade when the container tried to override an existing array with a container. See test mergeDoesNotTryToMergeAContainerWithAnArray()
* FLOW3: (Cache) Added a check into the Memcached backend constructor which asserts that the Memcached PHP extension is loaded.
* FLOW3: (Reflection) Optimized the caching of the reflection service.
17 lines of code changed in 1 file:
Pending commit, fixes #477.
0 lines of code changed in 6 files: