Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Dyn. validation: Add support for constraint violation messages

  1. … 1 more file in changeset.
Dyn. validation: Add missing type aliases for Number subtypes

- This is to ensure that constraint validators for numbers

can be used for all type of numbers e.g. MaxValidatorForNumber

should work for Long, Double, Integer, BigDecimal, etc.

  1. … 1 more file in changeset.
ERRAI-975: Remove temporary client-side replacements of Optional, Function, Supplier, etc.

  1. … 23 more files in changeset.
Cleanup and fixes based on FindBugs analysis

  1. … 35 more files in changeset.
Filter out mvel NullType when generating dynamic validator.

Write generated source to correct package folders in .errai dir.

  1. … 6 more files in changeset.
Support validation of values by individual constraints.

    • -0
    • +119
    ./org/jboss/errai/validation/client/dynamic/DynamicValidator.java
  1. … 4 more files in changeset.
Add missing license headers and update copyright notice in existing headers.

  1. … 3050 more files in changeset.
Revert "Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header."

Changes from the reverted commit did not preserve original copyright dates.

This reverts commit d8e735dfe2f6ed25fe9e06b753ae2f6154d76b02.

  1. … 3076 more files in changeset.
Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header.

  1. … 3158 more files in changeset.
Fixed ERRAI-839: Class-level validation now works independently.

Add class types that are annotated with validation annotations to the set of

validatable beans in the GwtValidatorGenerator.

Test for proper validation of types annotated with class-level annotations

that do not contain any field-level validation annotations.

  1. … 4 more files in changeset.
Move Validator log statement so that it is only printed when the validator is being generated.

Refactored and improved performance of validator generator

Added logging to validator factory generator

Validator gen. no longer fails for classpaths that contain no @Contraints

    • -0
    • +90
    ./org/jboss/errai/validation/client/NoopValidator.java
Use Predicate to filter file paths when scanning in GwtValidationGenerator.

  1. … 7 more files in changeset.
Improved fix for ERRAI-745 to work with all collection types

  1. … 2 more files in changeset.
Only run validator generator when needed (it triggers heavy reflection scanning)

Fix and regression test for ERRAI-672

  1. … 3 more files in changeset.
Fix and tests for ERRAI-624.

Validation scanner uses list in ErraiApp.properties (like the IOC black-

and whitelists).

The behaviour of built-in scanners in errai reflections can now easily

be overridden.

  1. … 13 more files in changeset.
errai-validation: also scan methods for @Valid and @Constraints

errai-validation: now discovers beans that use @Valid but no other @Constraints

  1. … 2 more files in changeset.
refactoring: removed API package (bean validator doesn't need tbe exposed as API, the standard javax.validation.Validator can be used)"

  1. … 1 more file in changeset.
errai-validation: bindable type aware validators can now also be retrieved using the standard factory in addition to injection

    • -16
    • +0
    ./org/jboss/errai/validation/Validation.gwt.xml
    • -0
    • +41
    ./org/jboss/errai/validation/client/ValidatorProvider.java
  1. … 3 more files in changeset.
Added missing license headers

The files I've created in my last 2 pull requests were missing the license headers.

  1. … 3 more files in changeset.
Added generation of the GWT Validator factory.

    • -1
    • +6
    ./org/jboss/errai/validation/Validation.gwt.xml
    • -0
    • +118
    ./org/jboss/errai/validation/rebind/GwtValidatorGenerator.java
  1. … 10 more files in changeset.
Added GWT-friendly validator for email addresses

ERRAI-448: Initial work on a new errai-validation module

    • -0
    • +22
    ./org/jboss/errai/validation/Validation.gwt.xml
    • -0
    • +74
    ./org/jboss/errai/validation/client/api/BeanValidator.java
  1. … 12 more files in changeset.