Feature #478

VALID_HOSTNAME Validator

Added by Davide Principi almost 10 years ago. Updated over 8 years ago.

Status:CLOSEDStart date:09/14/2011
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-nethgui
Target version:LiveDemo1
Resolution: NEEDINFO:

Description

Add a builtin validator that checks if a string is an IPv[46] address or an host name.


Related issues

Related to Nethgui - Feature #69: Environment for Predefined validators CLOSED 04/07/2011

Associated revisions

Revision 62ef8925
Added by Davide Principi almost 10 years ago

Refs #478. Module Standard: Added VALID_HOSTNAME e VALID_HOSTADDRESS validators

Added test cases in ValidatorTest.php.

Revision 5fa2df07
Added by Davide Principi almost 10 years ago

Refs #12 #478. Updated ValidationReportInterface

Two methods are now available to notify a validation error:

  • addValidationError()
    gets the validator object
  • addValidationErrorMessage()
    gets a string (and optional placeholder arguments)

Revision 918f0d30
Added by Davide Principi almost 10 years ago

Refs #478. Update tests for VALID_HOSTNAME.

History

#1 Updated by Davide Principi almost 10 years ago

  • Target version changed from Sigma to LiveDemo1

#2 Updated by Davide Principi almost 10 years ago

  • Status changed from NEW to ON_DEV

#3 Updated by Davide Principi almost 10 years ago

  • Subject changed from VALID_HOSTADDRESS Validator to VALID_HOSTNAME Validator

#4 Updated by Davide Principi almost 10 years ago

  • Status changed from ON_DEV to CLOSED
  • Assignee set to Davide Principi
  • % Done changed from 0 to 100

Also available in: Atom PDF