Directory Classes/Validation/Validator/

Directory Deleted:
2010-08-24 10:42
Total Files:
0
Deleted Files:
54
Lines of Code:
0

[root]/Classes/Validation/Validator

Lines of Code

Classes/Validation/Validator/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 456 (100.0%) 4036 (100.0%) 8.8
robert 135 (29.6%) 2230 (55.3%) 16.5
k-fish 296 (64.9%) 791 (19.6%) 2.6
networkteam_hlubek 8 (1.8%) 471 (11.7%) 58.8
andi 14 (3.1%) 348 (8.6%) 24.8
kgusak 2 (0.4%) 147 (3.6%) 73.5
sebastian 1 (0.2%) 49 (1.2%) 49.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 54 files:

  • Classes/Validation/Validator: AbstractCompositeValidator.php (del), AbstractJunctionValidator.php (del), AbstractObjectValidator.php (del), AbstractValidator.php (del), Alphanumeric.php (del), AlphanumericValidator.php (del), Chain.php (del), ChainValidator.php (del), ConjunctionValidator.php (del), CountValidator.php (del), DateTimeValidator.php (del), DisjunctionValidator.php (del), EmailAddress.php (del), EmailAddressValidator.php (del), F3_FLOW3_Validation_Validator_Alphanumeric.php (del), F3_FLOW3_Validation_Validator_Chain.php (del), F3_FLOW3_Validation_Validator_EmailAddress.php (del), F3_FLOW3_Validation_Validator_Float.php (del), F3_FLOW3_Validation_Validator_Integer.php (del), F3_FLOW3_Validation_Validator_NotEmpty.php (del), F3_FLOW3_Validation_Validator_Number.php (del), F3_FLOW3_Validation_Validator_NumberRange.php (del), F3_FLOW3_Validation_Validator_ObjectValidatorChain.php (del), F3_FLOW3_Validation_Validator_Raw.php (del), F3_FLOW3_Validation_Validator_RegularExpression.php (del), F3_FLOW3_Validation_Validator_Text.php (del), F3_FLOW3_Validation_Validator_UUID.php (del), Float.php (del), FloatValidator.php (del), GenericObjectValidator.php (del), Integer.php (del), IntegerValidator.php (del), LabelValidator.php (del), NotEmpty.php (del), NotEmptyValidator.php (del), Number.php (del), NumberRange.php (del), NumberRangeValidator.php (del), NumberValidator.php (del), ObjectValidatorChain.php (del), ObjectValidatorChainValidator.php (del), ObjectValidatorInterface.php (del), Raw.php (del), RawValidator.php (del), RegularExpression.php (del), RegularExpressionValidator.php (del), StringLengthValidator.php (del), StringValidator.php (del), Text.php (del), TextValidator.php (del), UUID.php (del), UUIDValidator.php (del), UuidValidator.php (del), ValidatorInterface.php (del)
k-fish 2010-08-13 16:21 Rev.: 4969

[-TASK] FLOW3: Removed @version keyword from files, resolves #8835.

0 lines of code changed in 24 files:

  • Classes/Validation/Validator: AbstractCompositeValidator.php (-1), AbstractObjectValidator.php (-1), AbstractValidator.php (-1), AlphanumericValidator.php (-1), ConjunctionValidator.php (-1), CountValidator.php (-1), DateTimeValidator.php (-1), DisjunctionValidator.php (-1), EmailAddressValidator.php (-1), FloatValidator.php (-1), GenericObjectValidator.php (-1), IntegerValidator.php (-1), LabelValidator.php (-1), NotEmptyValidator.php (-1), NumberRangeValidator.php (-1), NumberValidator.php (-1), ObjectValidatorInterface.php (-1), RawValidator.php (-1), RegularExpressionValidator.php (-1), StringLengthValidator.php (-1), StringValidator.php (-1), TextValidator.php (-1), UuidValidator.php (-1), ValidatorInterface.php (-1)
robert 2010-08-12 15:54 Rev.: 4956

[~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.

2 lines of code changed in 1 file:

  • Classes/Validation/Validator: AbstractCompositeValidator.php (+2 -2)
kgusak 2010-08-11 11:55 Rev.: 4952

[+FEATURE] FLOW3 (I18n): Locale-aware validators added. Relates to #9246.

147 lines of code changed in 2 files:

  • Classes/Validation/Validator: DateTimeValidator.php (+75 -2), NumberValidator.php (+72 -2)
k-fish 2010-08-06 14:25 Rev.: 4948

[+BUGFIX] FLOW3 (Validation): Some validators did not reset stale errors on isValid() calls, fixes #8558.

6 lines of code changed in 5 files:

  • Classes/Validation/Validator: ConjunctionValidator.php (+1), DisjunctionValidator.php (+1), GenericObjectValidator.php (+1), RawValidator.php (+2 -2), StringValidator.php (+1)
robert 2010-04-26 17:41 Rev.: 4213

[+FEATURE] FLOW3 (Validation): Implemented a "label" validator which matches characters you usually would want to allow in labels. Resolves #7474

1 lines of code changed in 1 file:

  • Classes/Validation/Validator: LabelValidator.php (new 1)
robert 2010-03-30 10:55 Rev.: 4031

[+BUGFIX] FLOW3 (Resource): Added a safeguard into the ResourceObjectConverter which detects if a file upload has previously been converted to an object. Without this check it could happen that FLOW3 tries to move the uploaded file multiple times, which doesn't work of course.
[+BUGFIX] FLOW3 (Validation): Added a type safeguard to the StringLengthValidator

8 lines of code changed in 1 file:

  • Classes/Validation/Validator: StringLengthValidator.php (+8 -1)
robert 2010-03-25 17:49 Rev.: 4013

[+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.

39 lines of code changed in 14 files:

  • Classes/Validation/Validator: AlphanumericValidator.php (+1 -1), CountValidator.php (+1 -1), DateTimeValidator.php (+1 -1), EmailAddressValidator.php (+1 -1), FloatValidator.php (+1 -1), GenericObjectValidator.php (+17), IntegerValidator.php (+1 -1), NotEmptyValidator.php (+2 -2), NumberRangeValidator.php (+2 -2), NumberValidator.php (+1 -1), StringLengthValidator.php (+3 -3), StringValidator.php (+6 -2), TextValidator.php (+1 -1), UuidValidator.php (+1 -1)
robert 2010-03-17 11:30 Rev.: 3973

[+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.

5 lines of code changed in 2 files:

  • Classes/Validation/Validator: GenericObjectValidator.php (+4), StringLengthValidator.php (+1 -1)
k-fish 2010-03-15 17:52 Rev.: 3949

[~TASK] FLOW3 (Validation): Some documentation cleanup to DisjunctionValidator, resolves #6727.

5 lines of code changed in 1 file:

  • Classes/Validation/Validator: DisjunctionValidator.php (+5 -3)
k-fish 2010-03-15 16:26 Rev.: 3945

[+BUGFIX] FLOW3 (Validation): EmailAddressValidator accepts valid IP addresses now, fixes #6806.

1 lines of code changed in 1 file:

  • Classes/Validation/Validator: EmailAddressValidator.php (+1 -1)
k-fish 2010-03-04 11:06 Rev.: 3903

[+FEATURE] FLOW3 (Core): The flow3 hell script now uses the PHP binary specified in the PHP environment variable, resolves #6681.
[~TASK] FLOW3: Some SVN property maintenance.

1 lines of code changed in 1 file:

  • Classes/Validation/Validator: StringValidator.php (+1 -1)
robert 2010-02-22 16:17 Rev.: 3837

[+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.

7 lines of code changed in 2 files:

  • Classes/Validation/Validator: AbstractValidator.php (+6 -6), GenericObjectValidator.php (+1 -1)
robert 2010-01-26 10:54 Rev.: 3758

[+FEATURE] FLOW3 (Cache): Implemented a PHP Cache Frontend which allows for effective caching of PHP code which is included with require_once() instead of runtime parsing with eval(). This significantly improves speed when used in combination with an opcode cache such as APC. Currently only the FileBackend supports PHP code caching. Resolves #6137
[+FEATURE] FLOW3 (AOP): The AOP Framework now uses the new PHP cache frontend for storing AOP proxy classes. Speeds up the initial startup of FLOW3 enormously. Relates to #6137
[~TASK] FLOW3: Removed all dependencies from the PHP6 package because the unicode support we were using didn't really make sense in the respective situations.
[+BUGFIX] FLOW3 (Utility): Fixed a bug in Files::emptyDirectoryRecursively() which wrongly recognized certain files as directories due to incorrect usage of the directory iterator.

1 lines of code changed in 1 file:

  • Classes/Validation/Validator: StringLengthValidator.php (+1 -1)
k-fish 2010-01-20 21:10 Rev.: 3739

[+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.

9 lines of code changed in 1 file:

  • Classes/Validation/Validator: GenericObjectValidator.php (+9 -2)
k-fish 2010-01-20 11:56 Rev.: 3731

[~TASK] FLOW3 (Validation): The EmailAddressValidator now rejects addresses with more than one @ sign as well as non-word characters at the end. Fixes #6089.

2 lines of code changed in 1 file:

  • Classes/Validation/Validator: EmailAddressValidator.php (+2 -3)
robert 2010-01-15 15:49 Rev.: 3644

[~TASK] Global: Commit of those files whose case of the filename changed. Relates to #5658

1 lines of code changed in 1 file:

  • Classes/Validation/Validator: UuidValidator.php (+1 -1)
robert 2010-01-15 15:38 Rev.: 3643

[~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

67 lines of code changed in 5 files:

  • Classes/Validation/Validator: AbstractCompositeValidator.php (+1 -1), AbstractValidator.php (+3 -3), AlphanumericValidator.php (+1 -1), StringLengthValidator.php (+3 -3), UuidValidator.php (new 59)
k-fish 2009-10-22 18:22 Rev.: 3345

[~TASK] FLOW3: Added @api annotations on class level and adjusted CGL to explain class-level @api handling.

24 lines of code changed in 22 files:

  • Classes/Validation/Validator: AbstractCompositeValidator.php (+1), AbstractValidator.php (+1), AlphanumericValidator.php (+1), ConjunctionValidator.php (+1), CountValidator.php (+1), DateTimeValidator.php (+1), DisjunctionValidator.php (+1), EmailAddressValidator.php (+1), FloatValidator.php (+1), GenericObjectValidator.php (+1), IntegerValidator.php (+1), NotEmptyValidator.php (+1), NumberRangeValidator.php (+1), NumberValidator.php (+1), ObjectValidatorInterface.php (+2 -1), RawValidator.php (+1), RegularExpressionValidator.php (+1), StringLengthValidator.php (+1), StringValidator.php (+1), TextValidator.php (+1), UUIDValidator.php (+1 -2), ValidatorInterface.php (+2 -1)
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.

10 lines of code changed in 2 files:

  • Classes/Validation/Validator: CountValidator.php (+2 -2), NumberRangeValidator.php (+8 -8)
k-fish 2009-09-23 16:30 Rev.: 3219

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

2 lines of code changed in 1 file:

  • Classes/Validation/Validator: CountValidator.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.

49 lines of code changed in 1 file:

  • Classes/Validation/Validator: StringValidator.php (new 49)
k-fish 2009-09-16 14:36 Rev.: 3189

[~TASK] FLOW3: Fixed method parameter documentation found by new reflection service checks.
[+FEATURE] FLOW3 (Persistence): added removeAll() to base repository, resolves #3852.

1 lines of code changed in 1 file:

  • Classes/Validation/Validator: AbstractCompositeValidator.php (+1 -1)
k-fish 2009-09-03 22:32 Rev.: 3120

[~API] FLOW3 (Property): The map() method of the Mapper now accepts a class name as $target and tries to do the right thing (fetch, fetch/clone or create the right object).
[+FEATURE] FLOW3 (Property): When mapping to objects, UUIDs and identity arrays are now mapped to objects recursively.
[+BUGFIX] FLOW3 (Property): Mapping to plain arrays is now possible, fixes #4443.
[~TASK] FLOW3 (MVC): Streamlined setValue() in Controller\Argument.
[~TASK] FLOW3 (Validation): UUIDValidator - moved regular expression match pattern for UUID to class constant.
[~TASK] FLOW3 (Property): Fixed inheritance chain for some exceptions.
[~TASK] FLOW3 (Cache): Changed string character access from {} to [].

7 lines of code changed in 1 file:

  • Classes/Validation/Validator: UUIDValidator.php (+7 -1)
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.

1 lines of code changed in 1 file:

  • Classes/Validation/Validator: TextValidator.php (+1 -1)
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 21 files:

  • Classes/Validation/Validator: AbstractCompositeValidator.php (-8), AbstractObjectValidator.php (-8), AbstractValidator.php (-8), AlphanumericValidator.php (-8), ConjunctionValidator.php (-8), DateTimeValidator.php (-8), DisjunctionValidator.php (-8), EmailAddressValidator.php (-8), FloatValidator.php (-8), GenericObjectValidator.php (-8), IntegerValidator.php (-8), NotEmptyValidator.php (-8), NumberRangeValidator.php (-8), NumberValidator.php (-8), ObjectValidatorInterface.php (-8), RawValidator.php (-8), RegularExpressionValidator.php (-8), StringLengthValidator.php (-8), TextValidator.php (-8), UUIDValidator.php (-8), ValidatorInterface.php (-8)
k-fish 2009-07-15 12:28 Rev.: 2794

[TASK] FLOW3: moved from @internal to @api, resolves #3883

36 lines of code changed in 20 files:

  • Classes/Validation/Validator: AbstractCompositeValidator.php (+6), AbstractValidator.php (+4), AlphanumericValidator.php (+1), ConjunctionValidator.php (+1), DateTimeValidator.php (+1), DisjunctionValidator.php (+1), EmailAddressValidator.php (+1), FloatValidator.php (+1), GenericObjectValidator.php (+4 -1), IntegerValidator.php (+1), NotEmptyValidator.php (+1), NumberRangeValidator.php (+1), NumberValidator.php (+1), ObjectValidatorInterface.php (+2), RawValidator.php (+3), RegularExpressionValidator.php (+1), StringLengthValidator.php (+1), TextValidator.php (+1), UUIDValidator.php (+1), ValidatorInterface.php (+3)
k-fish 2009-06-24 16:12 Rev.: 2644

[FIX] FLOW3 (MVC): Moved mapping of UUIDs to objects into ArgumentsValidator, fixes #3726
[TASK] FLOW3 (MVC): Removed Argument\setNewFilterChain() and related tests, as Filter\Chain does no longer exist
[TASK] FLOW3: Some cleanup to documentation, added type hint, removed use statement

1 lines of code changed in 1 file:

  • Classes/Validation/Validator: ConjunctionValidator.php (+1)
k-fish 2009-06-02 11:35 Rev.: 2523

Added svn:keywords where missing...

6 lines of code changed in 3 files:

  • Classes/Validation/Validator: AbstractCompositeValidator.php (+2 -2), DisjunctionValidator.php (+2 -2), StringLengthValidator.php (+2 -2)
k-fish 2009-05-25 17:14 Rev.: 2374

FLOW3:
* fixed wrong object name in GenericObjectValidator (never use leading \ in strings!)

1 lines of code changed in 1 file:

  • Classes/Validation/Validator: GenericObjectValidator.php (+1 -1)
k-fish 2009-05-25 12:10 Rev.: 2363

FLOW3:
* some whitespace paranoia^Wcleanup
* removed a use statement
* (re-)introduced some inject methods - in FLOW3 itself we do not use @inject

4 lines of code changed in 1 file:

  • Classes/Validation/Validator: GenericObjectValidator.php (+4 -3)
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

21 lines of code changed in 1 file:

  • Classes/Validation/Validator: GenericObjectValidator.php (+21 -6)
networkteam_hlubek 2009-05-14 17:43 Rev.: 2212

Renamed AbstractJunctionValidator to AbstractCompositeValidator

121 lines of code changed in 3 files:

  • Classes/Validation/Validator: AbstractCompositeValidator.php (new 119), ConjunctionValidator.php (+1 -1), DisjunctionValidator.php (+1 -1)
networkteam_hlubek 2009-05-14 17:03 Rev.: 2210

* Added DisjunctionValidator for a disjunction of validators
* Introduced a new AbstractJunctionValidator as a base class for the conjunction and disjunction validators

189 lines of code changed in 3 files:

  • Classes/Validation/Validator: AbstractJunctionValidator.php (new 119), ConjunctionValidator.php (+1 -78), DisjunctionValidator.php (new 69)
networkteam_hlubek 2009-05-12 19:44 Rev.: 2203

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

140 lines of code changed in 1 file:

  • Classes/Validation/Validator: ConjunctionValidator.php (new 140)
k-fish 2009-04-30 16:52 Rev.: 2187

FLOW3:
* fixed error message created by AlphanumericValidator

1 lines of code changed in 1 file:

  • Classes/Validation/Validator: AlphanumericValidator.php (+1 -1)
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

232 lines of code changed in 17 files:

  • Classes/Validation/Validator: AbstractObjectValidator.php (new 43), AbstractValidator.php (+13 -1), AlphanumericValidator.php (+1 -1), ChainValidator.php (+36 -32), DateTimeValidator.php (+1 -1), EmailAddressValidator.php (+1 -1), FloatValidator.php (+1 -1), GenericObjectValidator.php (new 120), IntegerValidator.php (+1 -1), NotEmptyValidator.php (+2 -2), NumberRangeValidator.php (+2 -2), NumberValidator.php (+1 -1), ObjectValidatorInterface.php (+1 -13), RegularExpressionValidator.php (+3 -3), StringLengthValidator.php (+4 -4), TextValidator.php (+1 -1), UUIDValidator.php (+1 -1)
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.

242 lines of code changed in 18 files:

  • Classes/Validation/Validator: AbstractValidator.php (+30), AlphanumericValidator.php (+5 -6), ChainValidator.php (+34 -4), DateTimeValidator.php (+5 -8), EmailAddressValidator.php (+4 -5), FloatValidator.php (+4 -7), IntegerValidator.php (+4 -6), NotEmptyValidator.php (+5 -7), NumberRangeValidator.php (+8 -8), NumberValidator.php (+4 -6), ObjectValidatorChainValidator.php (+51 -31), ObjectValidatorInterface.php (+8 -21), RawValidator.php (+22 -3), RegularExpressionValidator.php (+11 -10), StringLengthValidator.php (+20 -16), TextValidator.php (+4 -6), UUIDValidator.php (+3 -10), ValidatorInterface.php (+20 -7)
k-fish 2009-03-26 23:55 Rev.: 2097

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

2 lines of code changed in 1 file:

  • Classes/Validation/Validator: TextValidator.php (+2 -1)
andi 2009-03-26 23:48 Rev.: 2096

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

16 lines of code changed in 1 file:

  • Classes/Validation/Validator: StringLengthValidator.php (new 16)

(27 more)

Generated by StatSVN 0.5.0