[root]/Tests/Unit/Validation/Validator

| Author | Changes | Lines of Code | Lines per Change |
|---|---|---|---|
| Totals | 104 (100.0%) | 472 (100.0%) | 4.5 |
| k-fish | 70 (67.3%) | 251 (53.2%) | 3.5 |
| robert | 32 (30.8%) | 116 (24.6%) | 3.6 |
| kgusak | 2 (1.9%) | 105 (22.2%) | 52.5 |
Removed everything in trunk after move to git.
0 lines of code changed in 20 files:
[-TASK] FLOW3: Removed @version keyword from files, resolves #8835.
0 lines of code changed in 19 files:
[~TASK] ExtJS: Added doc comments to a few methods. Added basic parameter check for transaction arguments.
[+BUGFIX] ExtJS (ExtDirect): Fixed a bug which resulted in a broken communication between client and server via ExtDirect if a shared action method had optional arguments. Resolves #9279
[~TASK] FLOW3 (MVC): Cleaned up the code and documentation of the JsonView
[+FEATURE] FLOW3 (Persistence): The base repository now only sets the repository's object type if it has not been defined before. By that it is possible to define a custom object type in the property declaration of a concrete repository.
[+FEATURE] FLOW3 (Property): The property mapper now supports creation and recreation of objects specified by a UUID in an identity array even if they are just part of the overall source object / array to be mapped.
[+BUGFIX] FLOW3 (Validation): Fixed a few failing tests of composite validators, caused by incorrect mock building.
4 lines of code changed in 3 files:
[+FEATURE] FLOW3 (I18n): Locale-aware validators added. Relates to #9246.
105 lines of code changed in 2 files:
[+BUGFIX] FLOW3 (Validation): Some validators did not reset stale errors on isValid() calls, fixes #8558.
212 lines of code changed in 24 files:
[+FEATURE] FLOW3 (Validation): Implemented a "label" validator which matches characters you usually would want to allow in labels. Resolves #7474
0 lines of code changed in 1 file:
[-API] FLOW3 (MVC): Controller\Argument no longer has setNewValidatorConjunction() - it was unused.
[+BUGFIX] FLOW3 (Persistence): Fixed building of hash for value objects.
[~TASK] FLOW3 Distribution (Build system): Moved vfsStream to a new folder; PHPUnit target fails build on error and failure now;
[-TASK] FLOW3: Fixed/removed some incomplete unit tests.
[-TASK] Fluid: Removed some incomplete unit tests.
[~TASK] Testing: Adjusted Bootstrap.php file to fixed FLOW3 Bootstrap behavior.
0 lines of code changed in 1 file:
[+FEATURE] FLOW3 (Validation): The @validate annotations in action methods now support an object accessor syntax ($argument.subobject.subsubobject) for declaring additional validation rules referring to a property of a nested object. Resolves #6993
[~TASK] FLOW3 (Validation): Brushed up and unified the messages of most validators.
[~TASK] FLOW3 (Error): The var_dump method now also filters PHPUnit Invocation Mokers.
14 lines of code changed in 17 files:
[+BUGFIX] FLOW3 (Object): The object serializer now serializes only the properties of the target class if the given object is proxied.
[+BUGIFX] FLOW3 (Property): The property mapper now handles optional constructor arguments of target objects correctly.
[+BUGFIX] FLOW3 (Validation): The Generic Object Validator now also accepts NULL as a valid value.
[+BUGFIX] FLOW3 (Validation): The Validator Resolver now correctly builds validator conjunctions even recursively for properties of the given data type.
10 lines of code changed in 1 file:
[+BUGFIX] FLOW3 (Validation): EmailAddressValidator accepts valid IP addresses now, fixes #6806.
1 lines of code changed in 1 file:
[+FEATURE] FLOW3 (Object): Implemented a static object container which is automatically built. It's essentially a hardcoded version of the autowired and configured object dependencies - just a lot faster. Many tests are still missing, but the version in this commit should be mostly functional. Addresses #3740 and resolves #2123.
[!!!][~API] FLOW3 (Object): Heavily refactored the Object Manager and its tests. The most important change is the removal of the Object Factory whose create() method is now located in the Object Manager. Furthermore, the getObject() method has been renamed to get() and a few minor important API functions within the Object Manager have been modified. This commit also contains a script which allows for semi automatically migrating existing code to the new API (see ./flow3 migrate objectmanagerusage). Resolves #6562
[~TASK] FLOW3 (Configuration): The Configuration Manager and its YAML source now doesn't depend on the YAML package anymore but refers to a YAML parser class within the FLOW3 package. Resolves #6564.
9 lines of code changed in 2 files:
[+BUGFIX] FLOW3 (Reflection): ObjectAccess::getProperty() now throws an exception when a property does not exist, fixes #6005.
[~TASK] FLOW3 (Reflection): GenericObjectValidator now checks properties even if they are not accessible normally.
30 lines of code changed in 1 file:
[~TASK] FLOW3 (Validation): The EmailAddressValidator now rejects addresses with more than one @ sign as well as non-word characters at the end. Fixes #6089.
5 lines of code changed in 2 files:
[~TASK] Global: Commit of those files whose case of the filename changed. Relates to #5658
1 lines of code changed in 1 file:
[~TASK] FLOW3 (Documentation): Updated the Coding Guidelines: removed inconsistent exceptions from the general class naming rules. Also added the rule that names of aspect classes must end with "Aspect". Relates to #5658
[~TASK] Global: Renamed many classes and interfaces in order to be consistent with FLOW3's naming rules. A migration script to update third-party applications will follow soon. Resolves #5658
78 lines of code changed in 7 files:
[~API] FLOW3 (Log): setLogFileURL() was renamed to setLogFileUrl() in FileBackend.
[~API] FLOW3 (MVC): redirectToURI() was renamed to redirectToUri() in AbstractController.
[~API] FLOW3 (MVC): setRequestURI(), getRequestURI(), setBaseURI() and getBaseURI() were renamed to *Uri() in Request.
[~API] FLOW3 (Property): DataType\URI was renamed to DataType\Uri.
[~API] FLOW3 (Utility): getRequestURI() was renamed to getRequestUri() in Environment.
[~TASK] Fluid (Service): Refactored XML generators a little.
[~TASK] DocumentationBrowser: Moved towards more consistent class, function and variable naming: changed uppercase acronyms to studlyCaps or StudlyCaps as needed.
[~TASK] FLOW3: Moved towards more consistent class, function and variable naming: changed uppercase acronyms to studlyCaps or StudlyCaps as needed.
[~TASK] Fluid: Moved towards more consistent class, function and variable naming: changed uppercase acronyms to studlyCaps or StudlyCaps as needed.
[~TASK] Kickstart: Moved towards more consistent class, function and variable naming: changed uppercase acronyms to studlyCaps or StudlyCaps as needed.
[~TASK] Testing: Moved towards more consistent class, function and variable naming: changed uppercase acronyms to studlyCaps or StudlyCaps as needed.
[~TASK] Welcome: Moved towards more consistent class, function and variable naming: changed uppercase acronyms to studlyCaps or StudlyCaps as needed.
3 lines of code changed in 2 files: