Commit graph

33 commits

Author SHA1 Message Date
Steven Barth
1c7cc8501c Fixed a typo for broadcom maclist, Improved general maclist handling 2008-09-19 10:42:18 +00:00
Jo-Philipp Wich
ce4236acff * luci/libs/uvl: set type of "dhcp_option" variable to lazylist in dhcp scheme, breaks webif if only one option is set 2008-09-17 23:15:23 +00:00
Jo-Philipp Wich
8b53a27b5c * luci/libs/uvl: mark "enabled" option as required in fstab scheme, this prevents the deletion from uci 2008-09-17 22:22:12 +00:00
Steven Barth
713454cefa Fix some too strict validation schemes 2008-09-14 19:01:05 +00:00
Jo-Philipp Wich
a8d165a5bf * luci/libs/uvl:
- only check option dependencies if option has a value
	- remove option required for atheros mode in wireless scheme - breaks broadcom
* luci/model/admin-full:
	- override section validation if we create a new network on demand
2008-09-13 04:26:37 +00:00
Steven Barth
55cf7dbf34 Reworked UVL schemes 2008-09-11 21:45:23 +00:00
Jo-Philipp Wich
0345180f72 * luci/libs/uvl: prevent "Value "" of option "qos.wan.enabled" does not validate as datatype "boolean"" error in qos pages 2008-09-09 16:21:21 +00:00
Jo-Philipp Wich
554286bdc6 * luci/libs/uvl: extend network scheme to allow proto=none for interfaces 2008-09-07 23:08:13 +00:00
Jo-Philipp Wich
a8f137973b * luci/libs/uvl: add asterisk uci config scheme 2008-09-07 18:53:15 +00:00
Jo-Philipp Wich
1dcd836a30 * luci/libs/uvl: fix firewall scheme issue with custom rules 2008-09-07 15:27:24 +00:00
Jo-Philipp Wich
6a5ce5e45f * luci/libs/uvl: extend firewall scheme to include more sane dependencies for custom rules 2008-09-07 13:38:23 +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
1bc3365f02 * luci/libs/uvl: add scheme for luci_hosts configuration 2008-09-06 18:14:17 +00:00
Steven Barth
a59d6a7877 Added proto: none to network scheme 2008-09-06 16:46:27 +00:00
Jo-Philipp Wich
cc7e96e352 * luci/libs/uvl: add definition for route sections to network scheme 2008-09-06 03:05:27 +00:00
Jo-Philipp Wich
a37ba532ff * luci/libs/uvl: fix dependencies in qos scheme 2008-09-05 23:22:00 +00:00
Jo-Philipp Wich
406de82821 * luci/libs/uvl: make "proto=dhcp" the default value in network scheme 2008-09-05 14:26:54 +00:00
Jo-Philipp Wich
35a529a5c5 * luci/libs/uvl:
- implement port and portrange datatypes
	- fix datatype of port ranges in firewall scheme
2008-09-04 23:39:55 +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
5cf454019c * luci/libs/uvl: fix zone references in firewall scheme 2008-09-03 21:11:05 +00:00
Jo-Philipp Wich
ba3c967d65 * luci/libs/uvl: completed firewall scheme 2008-09-03 21:07:07 +00:00
Jo-Philipp Wich
7c91b79121 * luci/libs/uvl: add "network" option to firewall scheme 2008-09-03 10:52:40 +00:00
Jo-Philipp Wich
3817e51402 * luci/libs/uvl: add missing username, password and server options to network schame, fix c-n-p errors 2008-09-03 01:51:12 +00:00
Jo-Philipp Wich
2b767fc45c * luci/libs/uvl: completed network scheme, add "uint" and "ipaddr" datatypes 2008-09-03 01:45:43 +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
51bfdb1377 * luci/libs: uvl: implement package sections in the uvl scheme format 2008-09-02 20:24:06 +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
Jo-Philipp Wich
1b36a57d3e * luci/libs: uvl: added qos and network schemes, fixes in uvl error handling 2008-08-30 15:15:42 +00:00
Jo-Philipp Wich
d564e036b3 * luci/libs: uvl: first round of uci schemes 2008-08-30 03:46:55 +00:00