Feature #303

Environment for system validators

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

Status:CLOSEDStart date:
Priority:LowDue date:
Assignee:-% Done:

100%

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

Description

A new system validation API is required to separate the domain-specific validation logic and the GUI logic.

  • Add an /etc/e-smith/validators directory to place the validator scripts
  • Add /sbin/e-smith/validate command to invoke the scripts
  • Add a script() method to NethGui_Core_Validator class

Related issues

Related to Nethgui - Feature #69: Environment for Predefined validators CLOSED 04/07/2011
Related to NethServer 6 - Task #240: Group/User name validation CLOSED 06/15/2011
Related to Nethgui - Task #524: User module: complete change-password action CLOSED 09/27/2011
Related to Nethgui - Task #676: Call environment validators from framework CLOSED 11/22/2011

Associated revisions

Revision 7528223f
Added by Davide Principi almost 10 years ago

Refs #303. Nethgui_Core_HostConfigurationInterface: new signalEvent() signature.

  • signalEvent now returns a Nethgui_Core_SystemCommandInterface object to obtain the command output and exit status.
  • added exec() operation

History

#1 Updated by Davide Principi almost 10 years ago

  • Priority changed from Normal to Low

#2 Updated by Giacomo Sanchietti over 9 years ago

  • Status changed from NEW to MODIFIED

See: #676

Also available in: Atom PDF