Commit graph

9 commits

Author SHA1 Message Date
Steven Barth
de80e2a708 Added UVL values minlength, maxlength, minimum, maximum 2008-11-02 21:42:16 +00:00
Jo-Philipp Wich
96e7e81d1d * luci/libs/uvl: fix description of default option in meta scheme 2008-09-07 02:57:47 +00:00
Jo-Philipp Wich
885e54007f * luci/libs/uvl: implement default value option for variable sections 2008-09-07 02:55:42 +00:00
Jo-Philipp Wich
19e22598fd * luci/libs/uvl:
- implement aliasing in luci.uvl.read_scheme()
	- fixed wrong enum definition in reference scheme
	- fixed boolean() datatype validator to actually accept "true" and "false" literals
	- extend uvl cli to validate schemes against the reference scheme (incomplete)
2008-09-04 00:56:13 +00:00
Jo-Philipp Wich
727e9878fb * luci/libs/uvl:
- implement host datatype which matches hostname, ip4addr or ip6addr datatype
	- implement multival flag for options
	- fix handling of OPT_BADVALUE errors
	- add multival flag spec to reference scheme
2008-09-03 21:49:13 +00:00
Jo-Philipp Wich
15eb2bcbb0 * luci/libs: uvl: remove deprecated notice from reference scheme 2008-09-02 22:26:36 +00:00
Jo-Philipp Wich
6b6abc95d0 * luci/libs/uvl:
- fix handling of missing package/section/variable fields in scheme specs
	- fix dereferencing of scheme tables in luci.uvl.uvlitem.scheme()
	- unify TYPE_VARIABLE and TYPE_OPTION
	- implement external "regexp:..." validators
	- extend reference scheme to implement "lazylist" type for lists
2008-09-02 22:13:52 +00:00
Jo-Philipp Wich
6179e46ff5 * luci/libs: uvl: add definition of package sections to meta scheme 2008-09-02 00:39:26 +00:00
Jo-Philipp Wich
4afe2a3d3e * luci/libs: uvl: add reference meta scheme 2008-08-31 18:20:08 +00:00