Jo-Philipp Wich
3ddce490db
* luci/applications: create empty asterisk app folder
...
* luci/libs/uvl: move asterisk scheme to app folder
2008-09-25 14:01:49 +00:00
Jo-Philipp Wich
729c5a24a8
* luci/libs/uvl: move most schemes to their corresponding packages
2008-09-25 13:57:28 +00:00
Steven Barth
0227e3cea1
httpd sections are not unique anymore
2008-09-23 23:08:29 +00:00
Jo-Philipp Wich
225de06244
* luci/libs/uvl: add "device" option to wireless scheme
2008-09-22 16:26:05 +00:00
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
3315203f2f
* luci/libs/uvl:
...
- implement bytecode loading in luci.uvl.read_scheme()
- add "uvlc" executable to byte-compile arbitary schemes
- add lib/uci/schema/bytecode/ directory
2008-09-05 16:46:51 +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
eedb43da9b
* luci/libs/uvl:
...
- fix command line switches for uvl
- honour STRICT_UNKOWN_OPTIONS in luci.uvl._validate_option()
2008-09-03 02:08:38 +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
Jo-Philipp Wich
aa94931fa0
* luci/libs: uvl: Major rewrite of internal element handling, reworked error model, dropped loghelper and get_dependencies(), introduced luci.uvl.errors api
2008-08-27 16:44:07 +00:00
Jo-Philipp Wich
70aa9bb855
* luci/libs: uvl: add support for list values in schemes and configurations
2008-08-18 20:37:13 +00:00
Jo-Philipp Wich
3944408637
* luci/libs: set svn property on uvl executable
2008-08-17 23:50:56 +00:00
Jo-Philipp Wich
d0cbcfa458
* luci/libs: further fixes in uvl cli and library
2008-08-17 23:40:51 +00:00
Jo-Philipp Wich
6d5efc7925
* luci/libs: properly implement and document --schemedir in uvl cli
2008-08-17 23:30:23 +00:00
Jo-Philipp Wich
13439a8ac5
* luci/libs: fix typo in uvl utility
2008-08-17 22:44:15 +00:00
Jo-Philipp Wich
ed05a304d9
* luci/libs: add missing shebang to uvl cli
2008-08-17 22:38:10 +00:00
Jo-Philipp Wich
f9edabb142
* luci/libs: add uvl cli utility
2008-08-17 22:34:09 +00:00