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
2b767fc45c
* luci/libs/uvl: completed network scheme, add "uint" and "ipaddr" datatypes
2008-09-03 01:45:43 +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
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
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
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
Jo-Philipp Wich
4e15641c24
* luci/libs: uvl: actually create error constants in luci.uvl.error
2008-08-27 16:56:38 +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
8e6d1e682a
* luci/libs: uvl: implement dependencies for enum values
2008-08-25 18:30:25 +00:00
Jo-Philipp Wich
a0b9f952e5
* luci/libs: uvl: store valueof values as associative table
2008-08-24 18:33:25 +00:00
Jo-Philipp Wich
e124eec0e8
* luci/libs: uvl: implement "valueof" option
2008-08-24 18:06:51 +00:00
Jo-Philipp Wich
75aac77206
* luci/libs: uvl: remove a brain-dead unpack()
2008-08-24 17:14:31 +00:00
Jo-Philipp Wich
5117fc703e
* luci/libs: uvl: use python-style format syntax for errors
2008-08-24 17:12:16 +00:00
Jo-Philipp Wich
1946740198
* luci/libs: uvl: implement "named" flag for schemes
2008-08-24 16:09:02 +00:00
Jo-Philipp Wich
23101e7137
* luci/libs: uvl: implement get_scheme() and get_dependencies()
2008-08-24 14:20:20 +00:00
Jo-Philipp Wich
8000a4e704
* luci/libs: change default scheme directory to /lib/uci/schema/ in uvl
2008-08-19 17:19:32 +00:00
Jo-Philipp Wich
e5608ae6b2
* luci/libs: fix datatype validation of list values
2008-08-18 23:43:20 +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
0fb1e9267b
* luci/libs: use one common quoting style for error messages in luci.uvl
2008-08-18 02:30:15 +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
5e606c8fe2
* luci/libs: uvl: rename validate() to validate_config() and reimplement validate() as "catch all" variant
2008-08-17 21:43:56 +00:00
Jo-Philipp Wich
a966a3b2b4
* luci/libs: uvl: implement scheme loading on demand, add inline documentation
2008-08-17 18:47:32 +00:00
Jo-Philipp Wich
1d08361bea
* luci/libs: uvl: add support for external validation commands, various cleanups
2008-08-17 17:40:57 +00:00
Jo-Philipp Wich
ed5c3eacf0
* luci/libs: uvl: fix handling of boolean options, better error descriptions, implement "required" and "unique" scheme properties for sections
2008-08-17 15:31:48 +00:00
Steven Barth
75d4cca7ae
Fixed a design flaw in luci.model.uci
2008-08-17 10:20:36 +00:00
Jo-Philipp Wich
f5046bbca7
* luci/libs: uvl - cleanup round #3 , flush lookup tables to prevent circular depency errors when reusing scheme instance
2008-08-16 21:02:46 +00:00
Jo-Philipp Wich
ef0be82b31
* luci/libs: uvl - cleanup round #2 , reinitroduce validate_section() and validate_option()
2008-08-16 20:41:13 +00:00
Jo-Philipp Wich
5237b79adf
* luci/libs: uvl - cleanup round #1
2008-08-16 20:06:51 +00:00
Jo-Philipp Wich
4ed96bb95e
* luci/libs: more UVL hacking, needs to be rewritten later
2008-08-16 03:41:57 +00:00
Jo-Philipp Wich
23a4d764d9
* luci/libs: make uvl code usable
2008-08-14 21:52:06 +00:00
Jo-Philipp Wich
7726e73725
* luci/libs: add preliminary uvl code
2008-08-14 20:24:31 +00:00