Directory Tests/Validation/Validator/

Directory Created:
2008-05-17 17:04
Directory Deleted:
2010-08-24 10:42
Total Files:
0
Deleted Files:
46
Lines of Code:
0

[root]/Tests/Validation/Validator

Lines of Code

Tests/Validation/Validator/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 279 (100.0%) 4607 (100.0%) 16.5
robert 83 (29.7%) 2030 (44.1%) 24.4
k-fish 180 (64.5%) 1997 (43.3%) 11.0
andi 12 (4.3%) 262 (5.7%) 21.8
networkteam_hlubek 3 (1.1%) 247 (5.4%) 82.3
sebastian 1 (0.4%) 71 (1.5%) 71.0

Most Recent Commits

k-fish 2010-08-24 10:42 Rev.: 5057

Removed everything in trunk after move to git.

0 lines of code changed in 46 files:

  • Tests/Validation/Validator: AlphanumericTest.php (del), AlphanumericValidatorTest.php (del), ChainTest.php (del), ChainValidatorTest.php (del), ConjunctionValidatorTest.php (del), CountValidatorTest.php (del), DateTimeValidatorTest.php (del), DisjunctionValidatorTest.php (del), EmailAddressTest.php (del), EmailAddressValidatorTest.php (del), F3_FLOW3_Validation_Validator_AlphanumericTest.php (del), F3_FLOW3_Validation_Validator_ChainTest.php (del), F3_FLOW3_Validation_Validator_EmailAddressTest.php (del), F3_FLOW3_Validation_Validator_FloatTest.php (del), F3_FLOW3_Validation_Validator_IntegerTest.php (del), F3_FLOW3_Validation_Validator_NotEmptyTest.php (del), F3_FLOW3_Validation_Validator_NumberRangeTest.php (del), F3_FLOW3_Validation_Validator_NumberTest.php (del), F3_FLOW3_Validation_Validator_ObjectValidatorChainTest.php (del), F3_FLOW3_Validation_Validator_RawTest.php (del), F3_FLOW3_Validation_Validator_RegularExpressionTest.php (del), F3_FLOW3_Validation_Validator_TextTest.php (del), F3_FLOW3_Validation_Validator_UUIDTest.php (del), FloatTest.php (del), FloatValidatorTest.php (del), GenericObjectValidatorTest.php (del), IntegerTest.php (del), IntegerValidatorTest.php (del), NotEmptyTest.php (del), NotEmptyValidatorTest.php (del), NumberRangeTest.php (del), NumberRangeValidatorTest.php (del), NumberTest.php (del), NumberValidatorTest.php (del), ObjectValidatorChainTest.php (del), ObjectValidatorChainValidatorTest.php (del), RawTest.php (del), RawValidatorTest.php (del), RegularExpressionTest.php (del), RegularExpressionValidatorTest.php (del), StringLengthValidatorTest.php (del), StringValidatorTest.php (del), TextTest.php (del), TextValidatorTest.php (del), UUIDTest.php (del), UUIDValidatorTest.php (del)
robert 2009-09-30 18:39 Rev.: 3252

[!!!][~API] FLOW3 (Validation): The RangeValidator now expects the arguments "minimum" and "maximum" instead of "startRange" and "endRange". The CountValidator also uses "minimum" and "maxmimum", previously it was "min" and "max"
[!!!][~API] FLOW3 (MVC): The recently introduced class "FlashMessages" was renamed to "FlashMessageContainer" and the property name within the AbstractController was changed to "flashMessageContainer" accordingly. Check your controller code for use of $this->flashMessages!
[!!!][~API] Fluid (ViewHelper): Renamed the "RenderFlashMessages" view helper to "FlashMessages". Replace "<f:renderFlashMessages" by "<f:flashMessages" in your templates if you already used this new feature.

8 lines of code changed in 2 files:

  • Tests/Validation/Validator: CountValidatorTest.php (+2 -2), NumberRangeValidatorTest.php (+6 -6)
k-fish 2009-09-23 16:30 Rev.: 3219

[+FEATURE] FLOW3 (Validation): Added CountValidator, resolves #3956.

2 lines of code changed in 1 file:

  • Tests/Validation/Validator: CountValidatorTest.php (new 2)
sebastian 2009-09-17 10:57 Rev.: 3192

[-API] FLOW3 (MVC): Removed enableValidation() and disableValidation() on the Controller Argument. They are not needed anymore.
[!!!][+BUGFIX] FLOW3 (MVC): Now, in case people do not specify an @param annotation, they will get an exception instead of Text being used.
[+BUGFIX] FLOW3 (MVC): Cleaned up validator registration in ActionController. Now, @dontvalidate annotations only disable the model-based validators.
[+BUGFIX] FLOW3 (Validation): Cleaned up ValidatorResolver. Now, Validators which check the data type from the @param annotation are also added to the validator chain.
[!!!][+BUGFIX] FLOW3 (Validation): @param string is now validated as string, and not anymore as Text. This fixes numerous bug reports in Fluid.

71 lines of code changed in 1 file:

  • Tests/Validation/Validator: StringValidatorTest.php (new 71)
robert 2009-07-24 16:34 Rev.: 2885

[~BUGFIX] FLOW3 (Validation): The ValidatorResolver test case failed - but only if the Blog package was installed. This was due to some Blog model being used by a data provider which in reality should have been a sample, not existing class. Fixed that.
[~TASK] FLOW3 (Validation): The TextValidator was too restrictive because it did not allow line breaks and other common characters - now it does. However, it's not really secure yet. Relates to #3977
[+BUGFIX] Fluid (Core): Added some safe guard and aception to the Abstract Node which would exit with a fatal error in some cases.

21 lines of code changed in 1 file:

  • Tests/Validation/Validator: TextValidatorTest.php (+21)
k-fish 2009-07-16 15:02 Rev.: 2813

[+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 16 files:

  • Tests/Validation/Validator: AlphanumericValidatorTest.php (-8), ConjunctionValidatorTest.php (-8), DateTimeValidatorTest.php (-8), DisjunctionValidatorTest.php (-8), EmailAddressValidatorTest.php (-8), FloatValidatorTest.php (-8), GenericObjectValidatorTest.php (-8), IntegerValidatorTest.php (-8), NotEmptyValidatorTest.php (-8), NumberRangeValidatorTest.php (-8), NumberValidatorTest.php (-8), RawValidatorTest.php (-8), RegularExpressionValidatorTest.php (-8), StringLengthValidatorTest.php (-8), TextValidatorTest.php (-8), UUIDValidatorTest.php (-8)
k-fish 2009-06-02 11:35 Rev.: 2523

Added svn:keywords where missing...

4 lines of code changed in 2 files:

  • Tests/Validation/Validator: DisjunctionValidatorTest.php (+2 -2), StringLengthValidatorTest.php (+2 -2)
k-fish 2009-05-25 17:22 Rev.: 2375

FLOW3:
* fixed test broken since r2374
* tweaked another test

9 lines of code changed in 1 file:

  • Tests/Validation/Validator: GenericObjectValidatorTest.php (+9 -9)
networkteam_hlubek 2009-05-22 16:48 Rev.: 2342

Object validation: Introduced PropertyError for nested errors and changed property mapper and mapping results. Resolves #3401

77 lines of code changed in 1 file:

  • Tests/Validation/Validator: GenericObjectValidatorTest.php (+77 -2)
networkteam_hlubek 2009-05-14 17:04 Rev.: 2211

* Added testcase for the DisjunctionValidator

8 lines of code changed in 1 file:

  • Tests/Validation/Validator: DisjunctionValidatorTest.php (new 8)
networkteam_hlubek 2009-05-12 19:44 Rev.: 2203

Refactored ChainValidator to ConjunctionValidator and changed behaviour to validate all nested validators

162 lines of code changed in 1 file:

  • Tests/Validation/Validator: ConjunctionValidatorTest.php (new 162)
k-fish 2009-04-30 17:01 Rev.: 2188

FLOW3:
* fixed testcase for AlphanumericValidator. Argh.

3 lines of code changed in 1 file:

  • Tests/Validation/Validator: AlphanumericValidatorTest.php (+3 -3)
robert 2009-04-30 16:15 Rev.: 2185

This commit is all about validation. Although the new features basically work, a few smaller features and tweak are missing before the whole concept works as intended. Documentation will follow (hopefully soon).

* FLOW3: (Validation) Implemented annotation based validation for models. That means you now can define validation rules by adding @validate annotations to class properties and these rules will be enforced when arguments of this type are passed as controller arguments. Resolves #3093 but some fine tuning and small additional features are missing.
* FLOW3: (Validation) Note that #3130 is not solved yet in this commit.
* FLOW3: (MVC) Implemented a MVC Controller Arguments Validator which is able to validate a whole Arguments object. This is used during the mapAndValidate process in the controller. Addresses #3093.
* FLOW3: (Property) The property mapper now accepts arrays as source and / or target.
* FLOW3: (Property) mapAndValidate() will now truly validate the result of the mapping. If the result does not validate, the target remains unchanged.
* FLOW3: (Validation) Removed the Filter Chain for now - it will surely come back but didn't work like it was currently implemented.
* FLOW3: (Validation) Improved the AbstractValidator and added a new AbstractObjectValidator
* FLOW3: (Validation) Adapted all validators to the new Validator interface and AbstractValidator
* FLOW3: (Validation) Implemented a new Generic Object validator which can validate properties of any object
* FLOW3: (Validation) Simplified the chaining of validators and during that process removed the ObjectValidatorChainValidator
* FLOW3: Added and adapted many tests

193 lines of code changed in 14 files:

  • Tests/Validation/Validator: AlphanumericValidatorTest.php (+6 -12), ChainValidatorTest.php (+53 -28), DateTimeValidatorTest.php (+3 -9), EmailAddressValidatorTest.php (+4 -12), FloatValidatorTest.php (+4 -10), GenericObjectValidatorTest.php (new 68), IntegerValidatorTest.php (+4 -14), NotEmptyValidatorTest.php (+8 -32), NumberRangeValidatorTest.php (+10 -36), NumberValidatorTest.php (+4 -13), RegularExpressionValidatorTest.php (+4 -11), StringLengthValidatorTest.php (+15 -24), TextValidatorTest.php (+5 -15), UUIDValidatorTest.php (+5 -17)
robert 2009-04-22 16:03 Rev.: 2175

* FLOW3: Raised required PHP version to 5.3.0RC1
* FLOW3: (Error) The \F3\FLOW3\Error\Error class now supports __toString()
* FLOW3: (MVC) Finished implementation of validation rules in the action methods. Now these rules are actually enforced. Now really resolves #3092.
* FLOW3: (MVC) The ActionController now checks if it can process the request ? didn't do that before. Fixes #3121.
* FLOW3: (Property) The property mapper's mapAndValidate() method now actually validates the source.
* FLOW3: (Reflection) The Reflection Service now detects class file changes again. (Problem was that the settings were not injected anymore because autowiring was turned off for the Reflection Service in the Objects.yaml) Fixes #3152.
* FLOW3: (Validation) Removed the Validation\Errors class - now a simple array is used instead.
* FLOW3: (Validation) Removed the $errors argument from FilterInterface::filter(). More changes to this interface will follow.
* FLOW3: (Validation) Validation options must be set with the new setOptions() method instead of passing them to the isValid() method.
* FLOW3: (Validation) The errors array is not passed to the isValid() method of a validator anymore - instead it can be retrieved by a new getErrors() method which is defined in the ValidatorInterface.
* FLOW3: (Validation) Validators may now be singleton or prototype. Marked all those validators as prototype which require options and let others be singletons.
* FLOW3: (Validation) Removed the public resolveValidatorClassName() method from the ValidatorResolver class.
* FLOW3: (Validation) !!! changed the option names of the StringLength validator: now they are "minimum" and "maximum"
* FLOW3: (Validation) Changed the ObjectValidatorInterface: canValidateType() is now canValidate() and asks for an objects instead of a class name.
* FLOW3: (Validation) The first argument of the Validator Resolver's createMethodValidator() has changed: Now either the short name or a fully qualified object name of a _validator_ is expected (instead of the data type)! Maybe also addresses #3130.
* FLOW3: (Documentation) Added a few lines of documentation and an example for the validation rules feature. More to come.

* Fluid: (Core) Fixed a test which was referring to the \F3\FLOW3\Validation\Errors class.

113 lines of code changed in 15 files:

  • Tests/Validation/Validator: AlphanumericValidatorTest.php (+3 -9), ChainValidatorTest.php (+9 -4), DateTimeValidatorTest.php (+2 -5), EmailAddressValidatorTest.php (+3 -7), FloatValidatorTest.php (+3 -8), IntegerValidatorTest.php (+3 -7), NotEmptyValidatorTest.php (+6 -12), NumberRangeValidatorTest.php (+13 -12), NumberValidatorTest.php (+3 -8), ObjectValidatorChainValidatorTest.php (+18 -12), RawValidatorTest.php (+5 -6), RegularExpressionValidatorTest.php (+7 -7), StringLengthValidatorTest.php (+29 -42), TextValidatorTest.php (+4 -11), UUIDValidatorTest.php (+5 -9)
k-fish 2009-03-26 23:55 Rev.: 2097

FLOW3:
* TextValidator now uses filter_var() to check value, refs #2851

15 lines of code changed in 1 file:

  • Tests/Validation/Validator: TextValidatorTest.php (+15 -3)
andi 2009-03-26 23:48 Rev.: 2096

FLOW3(Validation):
* Implemented the StringLengthValidator. Resolves #2832.

42 lines of code changed in 1 file:

  • Tests/Validation/Validator: StringLengthValidatorTest.php (new 42)
k-fish 2009-03-26 21:41 Rev.: 2091

FLOW3:
* added DateTime validator
* made some validator unit tests actually test what they test

82 lines of code changed in 11 files:

  • Tests/Validation/Validator: AlphanumericValidatorTest.php (+1 -7), DateTimeValidatorTest.php (new 70), EmailAddressValidatorTest.php (+1 -7), FloatValidatorTest.php (+3 -9), IntegerValidatorTest.php (+1 -5), NotEmptyValidatorTest.php (+1 -5), NumberRangeValidatorTest.php (+1 -5), NumberValidatorTest.php (+1 -5), RegularExpressionValidatorTest.php (+1 -7), TextValidatorTest.php (+1 -5), UUIDValidatorTest.php (+1 -9)
robert 2009-03-12 14:59 Rev.: 1990

* FLOW3: (MVC) For now removed the ArgumentsValidator. It will surely reappear in a different form, but currently doesn't fit anymore.
* FLOW3: (Validation) Refactored the ValidatorInterface and the ObjectValidatorInterface and adapated all of their implementations including tests. The interfaces are cleaner and more intuitive now.
* TestPackage: Removed a few classes which were not used anymore. We're really close to getting rid of the whole TestPackage once and for all!

1438 lines of code changed in 13 files:

  • Tests/Validation/Validator: AlphanumericValidatorTest.php (new 88), ChainValidatorTest.php (new 128), EmailAddressValidatorTest.php (new 125), FloatValidatorTest.php (new 122), IntegerValidatorTest.php (new 120), NotEmptyValidatorTest.php (new 123), NumberRangeValidatorTest.php (new 134), NumberValidatorTest.php (new 88), ObjectValidatorChainValidatorTest.php (new 181), RawValidatorTest.php (new 57), RegularExpressionValidatorTest.php (new 78), TextValidatorTest.php (new 88), UUIDValidatorTest.php (new 106)
robert 2009-03-12 10:07 Rev.: 1987

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.

83 lines of code changed in 13 files:

  • Tests/Validation/Validator: AlphanumericTest.php (+4 -4), ChainTest.php (+13 -13), EmailAddressTest.php (+4 -4), FloatTest.php (+4 -4), IntegerTest.php (+4 -4), NotEmptyTest.php (+7 -7), NumberRangeTest.php (+8 -8), NumberTest.php (+4 -4), ObjectValidatorChainTest.php (+22 -22), RawTest.php (+1 -1), RegularExpressionTest.php (+3 -3), TextTest.php (+4 -4), UUIDTest.php (+5 -5)
robert 2009-01-28 13:04 Rev.: 1811

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

83 lines of code changed in 13 files:

  • Tests/Validation/Validator: AlphanumericTest.php (new 4), ChainTest.php (new 13), EmailAddressTest.php (new 4), FloatTest.php (new 4), IntegerTest.php (new 4), NotEmptyTest.php (new 7), NumberRangeTest.php (new 8), NumberTest.php (new 4), ObjectValidatorChainTest.php (new 22), RawTest.php (new 1), RegularExpressionTest.php (new 3), TextTest.php (new 4), UUIDTest.php (new 5)
k-fish 2009-01-15 16:06 Rev.: 1749

FLOW3:
* fixed license name in @license annotation, fixes #2454

13 lines of code changed in 13 files:

  • Tests/Validation/Validator: F3_FLOW3_Validation_Validator_AlphanumericTest.php (+1 -1), F3_FLOW3_Validation_Validator_ChainTest.php (+1 -1), F3_FLOW3_Validation_Validator_EmailAddressTest.php (+1 -1), F3_FLOW3_Validation_Validator_FloatTest.php (+1 -1), F3_FLOW3_Validation_Validator_IntegerTest.php (+1 -1), F3_FLOW3_Validation_Validator_NotEmptyTest.php (+1 -1), F3_FLOW3_Validation_Validator_NumberRangeTest.php (+1 -1), F3_FLOW3_Validation_Validator_NumberTest.php (+1 -1), F3_FLOW3_Validation_Validator_ObjectValidatorChainTest.php (+1 -1), F3_FLOW3_Validation_Validator_RawTest.php (+1 -1), F3_FLOW3_Validation_Validator_RegularExpressionTest.php (+1 -1), F3_FLOW3_Validation_Validator_TextTest.php (+1 -1), F3_FLOW3_Validation_Validator_UUIDTest.php (+1 -1)
k-fish 2009-01-09 16:39 Rev.: 1723

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:

  • Tests/Validation/Validator: F3_FLOW3_Validation_Validator_ChainTest.php (+2 -2), F3_FLOW3_Validation_Validator_NumberTest.php (+2 -2)
k-fish 2009-01-07 11:37 Rev.: 1707

FLOW3:
* changed license to LGPL v3 or later

182 lines of code changed in 13 files:

  • Tests/Validation/Validator: F3_FLOW3_Validation_Validator_AlphanumericTest.php (+14 -7), F3_FLOW3_Validation_Validator_ChainTest.php (+14 -7), F3_FLOW3_Validation_Validator_EmailAddressTest.php (+14 -7), F3_FLOW3_Validation_Validator_FloatTest.php (+14 -7), F3_FLOW3_Validation_Validator_IntegerTest.php (+14 -7), F3_FLOW3_Validation_Validator_NotEmptyTest.php (+14 -7), F3_FLOW3_Validation_Validator_NumberRangeTest.php (+14 -7), F3_FLOW3_Validation_Validator_NumberTest.php (+14 -7), F3_FLOW3_Validation_Validator_ObjectValidatorChainTest.php (+14 -7), F3_FLOW3_Validation_Validator_RawTest.php (+14 -7), F3_FLOW3_Validation_Validator_RegularExpressionTest.php (+14 -7), F3_FLOW3_Validation_Validator_TextTest.php (+14 -7), F3_FLOW3_Validation_Validator_UUIDTest.php (+14 -7)
k-fish 2008-12-18 12:05 Rev.: 1657

FLOW3:
* refactored a bunch of unit tests so they no longer need a real FLOW3 to run, refs #2123

137 lines of code changed in 12 files:

  • Tests/Validation/Validator: F3_FLOW3_Validation_Validator_AlphanumericTest.php (+10 -3), F3_FLOW3_Validation_Validator_ChainTest.php (+6 -18), F3_FLOW3_Validation_Validator_EmailAddressTest.php (+10 -3), F3_FLOW3_Validation_Validator_FloatTest.php (+10 -3), F3_FLOW3_Validation_Validator_IntegerTest.php (+10 -3), F3_FLOW3_Validation_Validator_NotEmptyTest.php (+20 -5), F3_FLOW3_Validation_Validator_NumberRangeTest.php (+20 -6), F3_FLOW3_Validation_Validator_NumberTest.php (+10 -3), F3_FLOW3_Validation_Validator_ObjectValidatorChainTest.php (+6 -18), F3_FLOW3_Validation_Validator_RegularExpressionTest.php (+10 -2), F3_FLOW3_Validation_Validator_TextTest.php (+10 -3), F3_FLOW3_Validation_Validator_UUIDTest.php (+15 -4)
k-fish 2008-12-10 15:39 Rev.: 1599

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

162 lines of code changed in 13 files:

  • Tests/Validation/Validator: F3_FLOW3_Validation_Validator_AlphanumericTest.php (+9 -9), F3_FLOW3_Validation_Validator_ChainTest.php (+22 -22), F3_FLOW3_Validation_Validator_EmailAddressTest.php (+9 -9), F3_FLOW3_Validation_Validator_FloatTest.php (+9 -9), F3_FLOW3_Validation_Validator_IntegerTest.php (+9 -9), F3_FLOW3_Validation_Validator_NotEmptyTest.php (+14 -14), F3_FLOW3_Validation_Validator_NumberRangeTest.php (+16 -16), F3_FLOW3_Validation_Validator_NumberTest.php (+11 -11), F3_FLOW3_Validation_Validator_ObjectValidatorChainTest.php (+31 -31), F3_FLOW3_Validation_Validator_RawTest.php (+5 -5), F3_FLOW3_Validation_Validator_RegularExpressionTest.php (+7 -7), F3_FLOW3_Validation_Validator_TextTest.php (+9 -9), F3_FLOW3_Validation_Validator_UUIDTest.php (+11 -11)
robert 2008-11-11 12:16 Rev.: 1481

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

35 lines of code changed in 10 files:

  • Tests/Validation/Validator: F3_FLOW3_Validation_Validator_AlphanumericTest.php (+3 -3), F3_FLOW3_Validation_Validator_EmailAddressTest.php (+3 -3), F3_FLOW3_Validation_Validator_FloatTest.php (+3 -3), F3_FLOW3_Validation_Validator_IntegerTest.php (+3 -3), F3_FLOW3_Validation_Validator_NotEmptyTest.php (+5 -5), F3_FLOW3_Validation_Validator_NumberRangeTest.php (+6 -6), F3_FLOW3_Validation_Validator_NumberTest.php (+3 -3), F3_FLOW3_Validation_Validator_RegularExpressionTest.php (+2 -2), F3_FLOW3_Validation_Validator_TextTest.php (+3 -3), F3_FLOW3_Validation_Validator_UUIDTest.php (+4 -4)
k-fish 2008-10-31 13:45 Rev.: 1419

FLOW3:
* cleaned up some more validator tests
* using filter_var() for integer validator now (other validators cannot be switched, as they don't do what we want)

63 lines of code changed in 2 files:

  • Tests/Validation/Validator: F3_FLOW3_Validation_Validator_FloatTest.php (+30 -61), F3_FLOW3_Validation_Validator_IntegerTest.php (+33 -63)
k-fish 2008-10-31 12:36 Rev.: 1418

FLOW3:
* streamlined the test for the email address validator

33 lines of code changed in 1 file:

  • Tests/Validation/Validator: F3_FLOW3_Validation_Validator_EmailAddressTest.php (+33 -107)
k-fish 2008-10-22 18:21 Rev.: 1379

FLOW3:
* the email address validator now accepts IP addresses as host parts
* the regex is formatted more readable

61 lines of code changed in 1 file:

  • Tests/Validation/Validator: F3_FLOW3_Validation_Validator_EmailAddressTest.php (+61 -1)
k-fish 2008-09-30 17:30 Rev.: 1291

FLOW3:
* fixed/enhanced documentation in validators
* changed/fixed float and integer validation from strings
* added some is_string() checks to speed up validation for invalid properties

79 lines of code changed in 2 files:

  • Tests/Validation/Validator: F3_FLOW3_Validation_Validator_FloatTest.php (+53), F3_FLOW3_Validation_Validator_IntegerTest.php (+26)
andi 2008-09-26 00:01 Rev.: 1283

FLOW3 (Validation): Fixed the integer validator. Now it handles strings correctly
FLOW3 (Security): Implemented the missing decision and ACL classes. No we can authenticate a user and authorize methods over AOP!

24 lines of code changed in 1 file:

  • Tests/Validation/Validator: F3_FLOW3_Validation_Validator_IntegerTest.php (+24)
k-fish 2008-09-19 19:27 Rev.: 1264

Set svn:keywords property to Id on all PHP files.

18 lines of code changed in 9 files:

  • Tests/Validation/Validator: F3_FLOW3_Validation_Validator_AlphanumericTest.php (+2 -2), F3_FLOW3_Validation_Validator_EmailAddressTest.php (+2 -2), F3_FLOW3_Validation_Validator_FloatTest.php (+2 -2), F3_FLOW3_Validation_Validator_IntegerTest.php (+2 -2), F3_FLOW3_Validation_Validator_NotEmptyTest.php (+2 -2), F3_FLOW3_Validation_Validator_NumberRangeTest.php (+2 -2), F3_FLOW3_Validation_Validator_ObjectValidatorChainTest.php (+2 -2), F3_FLOW3_Validation_Validator_RegularExpressionTest.php (+2 -2), F3_FLOW3_Validation_Validator_TextTest.php (+2 -2)
k-fish 2008-09-18 12:52 Rev.: 1246

FLOW3: Enhanced the email address validator. I love RFC822. :)

52 lines of code changed in 1 file:

  • Tests/Validation/Validator: F3_FLOW3_Validation_Validator_EmailAddressTest.php (+52 -1)
k-fish 2008-09-18 12:51 Rev.: 1245

FLOW3: Cleaned up the validators a little to reduce code duplication

66 lines of code changed in 8 files:

  • Tests/Validation/Validator: F3_FLOW3_Validation_Validator_AlphanumericTest.php (+6 -3), F3_FLOW3_Validation_Validator_EmailAddressTest.php (+7 -4), F3_FLOW3_Validation_Validator_FloatTest.php (+8 -4), F3_FLOW3_Validation_Validator_IntegerTest.php (+8 -4), F3_FLOW3_Validation_Validator_NotEmptyTest.php (+10 -5), F3_FLOW3_Validation_Validator_NumberTest.php (+6 -3), F3_FLOW3_Validation_Validator_TextTest.php (+6 -3), F3_FLOW3_Validation_Validator_UUIDTest.php (+15 -8)
andi 2008-09-17 17:23 Rev.: 1242

* FLOW3 (Error): Fixed the constructor of the Error class
* FLOW3 (Validation): Validators now fill the passed Errors object with Error objects, if validation fails
* FLOW3 (MVC): Fixed the arguments validator to handle the validation errors correctly
* FLOW3 (Property): Changed the property mapper. Now it can handle nested errors (Validation::Errors objects as well as Validation::Error objects) added to the errors object by object validators

196 lines of code changed in 10 files:

  • Tests/Validation/Validator: F3_FLOW3_Validation_Validator_AlphanumericTest.php (+16 -2), F3_FLOW3_Validation_Validator_EmailAddressTest.php (+16 -2), F3_FLOW3_Validation_Validator_FloatTest.php (+17 -3), F3_FLOW3_Validation_Validator_IntegerTest.php (+17 -3), F3_FLOW3_Validation_Validator_NotEmptyTest.php (+31 -3), F3_FLOW3_Validation_Validator_NumberRangeTest.php (+34), F3_FLOW3_Validation_Validator_NumberTest.php (+16 -2), F3_FLOW3_Validation_Validator_RegularExpressionTest.php (+16), F3_FLOW3_Validation_Validator_TextTest.php (+16 -2), F3_FLOW3_Validation_Validator_UUIDTest.php (+17 -3)
k-fish 2008-09-12 16:07 Rev.: 1210

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

148 lines of code changed in 13 files:

  • Tests/Validation/Validator: F3_FLOW3_Validation_Validator_AlphanumericTest.php (+8 -7), F3_FLOW3_Validation_Validator_ChainTest.php (+22 -21), F3_FLOW3_Validation_Validator_EmailAddressTest.php (+8 -7), F3_FLOW3_Validation_Validator_FloatTest.php (+10 -9), F3_FLOW3_Validation_Validator_IntegerTest.php (+10 -9), F3_FLOW3_Validation_Validator_NotEmptyTest.php (+10 -9), F3_FLOW3_Validation_Validator_NumberRangeTest.php (+12 -11), F3_FLOW3_Validation_Validator_NumberTest.php (+8 -7), F3_FLOW3_Validation_Validator_ObjectValidatorChainTest.php (+33 -32), F3_FLOW3_Validation_Validator_RawTest.php (+5 -4), F3_FLOW3_Validation_Validator_RegularExpressionTest.php (+6 -5), F3_FLOW3_Validation_Validator_TextTest.php (+8 -7), F3_FLOW3_Validation_Validator_UUIDTest.php (+8 -7)
robert 2008-08-12 08:35 Rev.: 1123

* FLOW3: (Validation) Added a "raw" validator which accepts just everything. Resolves #1092

49 lines of code changed in 1 file:

  • Tests/Validation/Validator: F3_FLOW3_Validation_Validator_RawTest.php (new 49)
robert 2008-08-11 11:53 Rev.: 1116

* FLOW3: (Validation) Implemented new validator for UUIDs.
* TYPO3: (Domain) Enhanced the Page model by implementing start and end time.
* TYPO3: (Domain) Created initial models for workspace and content.
* TYPO3: (Service) Implemented the Time Service which is used everywhere in the TYPO3 Domain where the current time is needed.

7 lines of code changed in 1 file:

  • Tests/Validation/Validator: F3_FLOW3_Validation_Validator_UUIDTest.php (new 7)
k-fish 2008-05-17 17:04 Rev.: 845

Making FLOW3 run green(er) in FLOW3CGL, part 2. Down to 40 errors and 0 warnings from hundreds each...

864 lines of code changed in 11 files:

  • Tests/Validation/Validator: F3_FLOW3_Validation_Validator_AlphanumericTest.php (new 56), F3_FLOW3_Validation_Validator_ChainTest.php (new 132), F3_FLOW3_Validation_Validator_EmailAddressTest.php (new 56), F3_FLOW3_Validation_Validator_FloatTest.php (new 67), F3_FLOW3_Validation_Validator_IntegerTest.php (new 67), F3_FLOW3_Validation_Validator_NotEmptyTest.php (new 67), F3_FLOW3_Validation_Validator_NumberRangeTest.php (new 78), F3_FLOW3_Validation_Validator_NumberTest.php (new 56), F3_FLOW3_Validation_Validator_ObjectValidatorChainTest.php (new 183), F3_FLOW3_Validation_Validator_RegularExpressionTest.php (new 46), F3_FLOW3_Validation_Validator_TextTest.php (new 56)
Generated by StatSVN 0.5.0