Commit graph

80 commits

Author SHA1 Message Date
Jo-Philipp Wich
2da8f3324e * luci-0.8: merge ppp config support (r3562-r3568) 2008-10-12 22:38:30 +00:00
Jo-Philipp Wich
82730423e4 * luci-0.8: backport portuguese-brazilian translation to luci-0.8 2008-10-06 17:55:08 +00:00
Jo-Philipp Wich
29052f08df * luci-0.8: backport uvl scheme reorganisation 2008-09-25 14:09:58 +00:00
Steven Barth
b70d78d41c httpd sections are not unique anymore 2008-09-23 23:08:47 +00:00
Jo-Philipp Wich
93dc16c976 * luci-0.8: backport olsr and wireless scheme fixes 2008-09-22 19:01:17 +00:00
Steven Barth
5805267164 Fixed a typo for broadcom maclist, Improved general maclist handling 2008-09-19 10:44:45 +00:00
Jo-Philipp Wich
5679f19503 * luci-0.8: backport dhcp scheme fix 2008-09-17 23:15:59 +00:00
Jo-Philipp Wich
5d103ba1a9 * luci-0.8: backport fstab fix 2008-09-17 22:22:45 +00:00
Steven Barth
1932ef3294 Backport scheme and uci fixes 2008-09-14 19:12:23 +00:00
Steven Barth
11482835c8 Backport: Overall CBI-UVL ineraction fixes 2008-09-13 12:24:33 +00:00
Steven Barth
078e6212d3 Backported UVL schemes 2008-09-13 09:09:48 +00:00
Steven Barth
1fe083b59a Backported UVL optimizations 2008-09-13 09:09:38 +00:00
Jo-Philipp Wich
3ec269b8d0 * luci-0.8: backport network scheme fix 2008-09-07 23:08:58 +00:00
Jo-Philipp Wich
f95576cd57 * luci-0.8: backport firewall scheme fix 2008-09-07 15:28:02 +00:00
Jo-Philipp Wich
0d12944af5 * luci-0.8: backport firewall scheme fixes 2008-09-07 13:39:16 +00:00
Jo-Philipp Wich
094f2fa534 * luci-0.8: backport /etc/hosts configuration pages 2008-09-06 23:29:58 +00:00
Steven Barth
71b7fcb7e9 Backported network scheme 2008-09-06 17:06:53 +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
2b0f1af5cc * luci/libs/uvl: fix an error message in luci.uvl.read_scheme() 2008-09-05 16:49:17 +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
94996dd639 * luci/libs/uvl: translation fixes 2008-09-05 15:32:33 +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
85461e4226 * luci/libs/uvl: fix error handling of OPT_INVVALUE too 2008-09-03 22:02:35 +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
d1a035a62d * luci/libs: uvl: reenable xml translations, adept to new method="text" conversation method 2008-09-02 01:11:46 +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
c230b83679 * luci/libs: uvl: fix possible "attempt to index field '?' (a nil value)" in uvl.uvlitem.config() 2008-09-01 20:48:18 +00:00
Jo-Philipp Wich
4afe2a3d3e * luci/libs: uvl: add reference meta scheme 2008-08-31 18:20:08 +00:00
Jo-Philipp Wich
ec8047cf3b * luci/libs: uvl: fix errors in xml translations 2008-08-31 13:51:33 +00:00
Jo-Philipp Wich
83ecefc76c * luci/libs: uvl: hide xml translations, revert lua translations to non-bracket form (\n) and replace "<nil>" with "(nil)" in uvl.errors 2008-08-31 13:49:14 +00:00
Jo-Philipp Wich
4cfd1d25d1 * luci/libs: uvl: add error translations in german and english 2008-08-31 13:31:11 +00:00
Jo-Philipp Wich
8f0f4a04f5 * luci/libs: uvl: add i18n support to error handling, remove former debug code in error.string() 2008-08-31 12:42:29 +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
5778eae369 * luci/libs: uvl: invalid wrong "option not found in config" errors 2008-08-28 21:44:14 +00:00
Steven Barth
565bc6d4c2 libs/uvl: Set an own savedir to avoid UCI problems 2008-08-28 18:57:49 +00:00
Jo-Philipp Wich
c2f79950b2 * luci/libs: uvl: add uci error mechanism to uvl error handling 2008-08-28 00:21:43 +00:00
Jo-Philipp Wich
8be65461bc * luci/libs: uvl: fix crash when trying to validate malformed or not-existing configuration, more verbose error message for uci load failure 2008-08-27 18:55:42 +00:00
Jo-Philipp Wich
339042c46a * luci/libs: uvl: allow optional uci config as argument in validate_*() 2008-08-27 17:51:35 +00:00