Commit graph

135 commits

Author SHA1 Message Date
Jo-Philipp Wich
0799c5f9ea libs/uvl: convert luci.uvl.validation to new luci.uvl.error api 2010-03-18 22:39:48 +00:00
Jo-Philipp Wich
30f7206c59 libs/uvl: convert luci.uvl.dependencies to new luci.uvl.error api 2010-03-18 22:36:59 +00:00
Jo-Philipp Wich
1661add529 libs/uvl: local symbol error shadows error class declaration, drop it 2010-03-18 17:25:25 +00:00
Jo-Philipp Wich
c91c64b927 libs/uvl: fix syntax error introduced with r5861 2010-03-18 17:03:14 +00:00
Jo-Philipp Wich
3d426e48d4 libs/uvl: rework error handling to prevent triggering lvm issues 2010-03-18 16:58:58 +00:00
Jo-Philipp Wich
249ebe3622 i18n: fix references to po files 2009-11-01 14:30:02 +00:00
Jo-Philipp Wich
5f0ecfe984 libs/uvl: fix i18n handling for errors 2009-11-01 13:19:03 +00:00
Jo-Philipp Wich
3efff022f2 libs/uvl: fix some memory wasting 2009-07-26 21:24:48 +00:00
Jo-Philipp Wich
281c92b1d6 libs/uvl: convert uvlc to nixio.fs api, fix error condition when no schema is found 2009-07-23 03:23:48 +00:00
Jo-Philipp Wich
074b5dfc4a fix fallout from nixio.fs transition 2009-07-19 00:38:52 +00:00
Jo-Philipp Wich
8fcd841aa9 convert luci.fs users to nixio.fs api 2009-07-19 00:24:58 +00:00
Steven Barth
30b216f774 Drop support for luaposix and bitlib (obsoleted by nixio)
Mark luci.fs as deprecated
2009-06-21 13:42:26 +00:00
Jo-Philipp Wich
ce6aec0a91 i18n: remove obsolete lua i18n files 2009-05-19 02:35:25 +00:00
Jo-Philipp Wich
7bf803250b build: integrate po files in the build system 2009-05-19 02:18:28 +00:00
Steven Barth
8eadc262d0 Drop XML i18n files 2009-03-11 15:21:59 +00:00
Jo-Philipp Wich
14c485e117 libs/uvl: update inline documentation 2009-01-18 00:02:13 +00:00
Jo-Philipp Wich
9ee2ef5623 libs/uvl:
- allow overriding the config directory in luci.uvl
	- support --configdir for uvl verify too
2009-01-17 23:50:32 +00:00
Jo-Philipp Wich
e933d1a678 * luci/libs/uvl: remove max_nil option for now 2008-11-04 23:55:49 +00:00
Jo-Philipp Wich
03b4acea13 * luci/libs/uvl:
- recursively check error-tree of option-level dependencies
	- mask all non-critical errors when walking error tree
2008-11-04 23:49:20 +00:00
Jo-Philipp Wich
d1796b2991 * luci/libs/uvl: fix option dependency error handling in case of different non-critical reasons 2008-11-04 16:11:25 +00:00
Jo-Philipp Wich
7aee80de5c * luci/libs/uvl: revert accidentally committed changes in dependency handler 2008-11-04 16:02:47 +00:00
Jo-Philipp Wich
8d75d524f9 * luci/libs/uvl: more sensitive checking of error reasons in evaluation of option dependencies 2008-11-04 16:00:58 +00:00
Jo-Philipp Wich
4219ec1754 * luci/libs/lua: process option dependencies first, allows mixing of required flags with dependencies 2008-11-04 15:38:44 +00:00
Steven Barth
9d67f6db01 Fixed new UVL options 2008-11-02 22:22:50 +00:00
Steven Barth
de80e2a708 Added UVL values minlength, maxlength, minimum, maximum 2008-11-02 21:42:16 +00:00
Jo-Philipp Wich
725719c221 * luci/libs/uvl: add new datatype "device" 2008-10-12 22:24:41 +00:00
Jo-Philipp Wich
255449a1e2 * luci/i18n: rename *.pt_br.* to *.pt-br.*, extend luci.i18n to convert "_" to "-" in language tags 2008-10-05 16:08:33 +00:00
Jo-Philipp Wich
b0cbce0da2 * luci/i18n/portuguese_brazilian: add uvl lua translation too 2008-10-02 14:12:04 +00:00
Jo-Philipp Wich
76f8ba692f * luci/i18n/portuguese_brazilian: add uvl translations 2008-10-02 14:11:18 +00:00
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
Steven Barth
f9303705a0 Overall CBI-UVL ineraction fixes 2008-09-13 12:20:39 +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
Steven Barth
e5cb252043 UVL: Fixed dependency handling 2008-09-11 12:58:57 +00:00
Steven Barth
ef8f835894 UVL: Fixed dependency parsing 2008-09-10 23:16:36 +00:00
Steven Barth
38691ce540 UVL: Export raw value of "valueof" for references 2008-09-10 15:35:11 +00:00
Steven Barth
a4a77446e9 UVL: Add missing export for loadfile 2008-09-09 18:47:45 +00:00
Jo-Philipp Wich
77432eb047 * luci/libs/uvl: allow empty strings or undefined options as booleans too 2008-09-09 16:28:19 +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
Steven Barth
abad8af0e7 again 2008-09-09 16:20:56 +00:00
Steven Barth
cd1db0eda2 Fixed last commit 2008-09-09 16:19:52 +00:00
Steven Barth
8766b050bd Replace some util.splits with gmatch and match 2008-09-09 16:04:49 +00:00
Steven Barth
9f7832b827 Main library optimizations #2 2008-09-09 15:40:00 +00:00