Steven Barth
55cf7dbf34
Reworked UVL schemes
2008-09-11 21:45:23 +00:00
Steven Barth
ecf5ed021f
UVLDoc: Rendering optimizations and CSS style
2008-09-11 15:21:56 +00:00
Steven Barth
e5cb252043
UVL: Fixed dependency handling
2008-09-11 12:58:57 +00:00
Steven Barth
c6492df613
UVLDoc: Fixed referencing
2008-09-11 01:08:46 +00:00
Steven Barth
c8ef012b3a
Completed first part of UVLDoc
2008-09-11 00:50:19 +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
1a4c192c65
More luci.util optimizations
2008-09-10 12:47:21 +00:00
Steven Barth
9e2759ec34
Optimized luci.util.class
2008-09-10 12:22:29 +00:00
Steven Barth
52c9166a7a
uvldoc: Added preliminary section support, optimized menu generating
2008-09-09 21:55:54 +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
Steven Barth
9ffd02f8d6
Main library optimizations #1
2008-09-09 15:39:54 +00:00
Steven Barth
2d409a3586
Optimized uvl.dependencies
2008-09-09 15:39:43 +00:00
Steven Barth
64a4270a59
Fixed uvl.errors
2008-09-09 15:39:38 +00:00
Steven Barth
1bfd6b667b
Optimized uvl.validation
2008-09-09 15:39:30 +00:00
Steven Barth
c939a799ce
Optimized uvl.errors
2008-09-09 15:39:25 +00:00
Steven Barth
9a8cd55c36
Optimized uvl.datatypes
2008-09-09 15:39:17 +00:00
Steven Barth
c287c8ca7e
Scheme parsing optimizations
2008-09-09 15:39:10 +00:00
Steven Barth
68ecfaf698
Revert UVL optimizations
2008-09-09 12:44:51 +00:00
Steven Barth
8dbf29e86e
Performance optimisations:
...
In-line expressions are faster than function calls
2008-09-09 12:44:41 +00:00
Steven Barth
023b4ddf64
Fixed UVL
2008-09-08 18:34:26 +00:00
Steven Barth
5d3bddd899
Fixed last commit
2008-09-08 17:55:24 +00:00
Jo-Philipp Wich
8d372d2f28
* luci/libs/cbi: better layout for apply output
...
* luci/themes: introduce new css class for apply ul
2008-09-08 16:51:50 +00:00
Steven Barth
9890c99d0b
UVL optimizations round 1
2008-09-08 14:39:47 +00:00
Jo-Philipp Wich
eff278317e
* luci/libs/cbi: fix html errors in cbi templates
2008-09-08 00:34:27 +00:00
Steven Barth
19c79a30b9
Fixed DHCP-Options and some CBI stuff
2008-09-07 23:50:58 +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
Steven Barth
2590722de0
libs/cbi: Fixed DynamicLists
2008-09-07 23:03:05 +00:00
Steven Barth
7fb577f21e
Fixed last commit
2008-09-07 22:55:59 +00:00
Steven Barth
7334fc65b2
Fixed a swap of keys and descriptions in additional fields of dynamic sections
2008-09-07 22:55:10 +00:00
Steven Barth
d8282d382b
libs/cbi: Catch errors while creating named sections
2008-09-07 21:22:39 +00:00
Steven Barth
d8e11218b4
Remove "done." message from luci-reload
2008-09-07 18:54:25 +00:00
Jo-Philipp Wich
a8f137973b
* luci/libs/uvl: add asterisk uci config scheme
2008-09-07 18:53:15 +00:00
Steven Barth
7bcd7e67d4
Fixed last commit
2008-09-07 16:27:01 +00:00
Steven Barth
85f9c51016
libs/cbi: Don't validate on reparse after commiting
2008-09-07 16:25:42 +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
071f485a69
* luci/libs/uvl: prepare support for @type[n] notation in luci.uvl.uvlitem.cid()
2008-09-07 03:29:54 +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
98ff081c9f
* luci/libs/uvl: allow combined enum/valueof options
2008-09-07 00:44:54 +00:00
Jo-Philipp Wich
c5278e17dc
* luci/libs/cbi: fix error assignment in cbi sections
2008-09-06 22:37:56 +00:00
Steven Barth
a9875adb29
Merge branch 'uvldoc'
2008-09-06 20:18:00 +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
Steven Barth
3001586c04
Cosemtical changes
2008-09-06 16:27:40 +00:00
Steven Barth
38bdb5f504
Fixed a whitespace issue
2008-09-06 16:09:58 +00:00
Steven Barth
f297be56e9
Fixed permissions of luci-reload
2008-09-06 16:05:34 +00:00
Steven Barth
9befed193a
cbi: Increare responsiveness of "Save & Apply"
2008-09-06 14:59:48 +00:00
Steven Barth
03e11688ca
One more
2008-09-06 14:31:17 +00:00
Steven Barth
1c2ab810b2
Bump version to 0.9
2008-09-06 14:07:21 +00:00
Steven Barth
dbde0216c2
Rewrote UCI apply logic
2008-09-06 13:51:51 +00:00
Steven Barth
8e00d27ae7
Removed unneeded exports
2008-09-06 09:58:32 +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
7f7a600b12
* luci/libs/cbi: remove dead code
2008-09-05 23:25:51 +00:00
Steven Barth
40d4e839ef
Added bytecodecache
2008-09-05 23:24:39 +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
898c45743a
* luci/libs/cbi: improved error integration with uvl
2008-09-05 23:21:37 +00:00
Steven Barth
e63d3f03eb
Added memory tracer
2008-09-05 20:32:20 +00:00
Steven Barth
ac05bea1be
Small dispatcher improvement
2008-09-05 19:17:48 +00:00
Steven Barth
a8a72c1ec8
Fixed luci.config
2008-09-05 18:39:42 +00:00
Steven Barth
4483ebd74d
Removed inefficient environment manipulation functions
2008-09-05 18:35:14 +00:00
Steven Barth
6a6edda049
Heavy memory/performance optimizations #4
2008-09-05 18:35:09 +00:00
Steven Barth
37b5ef40df
Heavy memory/performance optimizations #3
2008-09-05 18:35:03 +00:00
Steven Barth
45319b232b
Heavy memory/performance optimizations #2
2008-09-05 18:34:56 +00:00
Steven Barth
3e9e582572
Heavy memory/performance optimizations #1
2008-09-05 18:34:46 +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
Steven Barth
8af9060efd
libs/cbi: Pass default values from UVL
2008-09-05 15:58:19 +00:00
Jo-Philipp Wich
94996dd639
* luci/libs/uvl: translation fixes
2008-09-05 15:32:33 +00:00
Steven Barth
c03bde275f
Inprove sanity check for luci.sauth.read
2008-09-05 14:52:06 +00:00
Steven Barth
47c07adf75
libs/web: Turn dependency tracking on by default
2008-09-05 14:34:59 +00:00
Steven Barth
e2e1cf5497
Fixed some minor session handling issues
2008-09-05 14:28:36 +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
Steven Barth
aa0617e4ed
libs/sys: Added luci.sys.call
2008-09-05 13:55:49 +00:00
Steven Barth
9243e20e27
Added .href parameter to DummyValues
2008-09-05 13:32:59 +00:00
Steven Barth
9cae9dabf2
Fixed luci.uci.Cursor.delete_all
2008-09-05 12:05:06 +00:00
Steven Barth
f62839fde9
Fixed HTTP stack to parse urlencoded data from Internet Explorer correctly
...
Internet Explorer appends a whitespace character after the last parameter which will now be stripped
2008-09-05 11:36:53 +00:00
Steven Barth
cc4c0688b5
Fix whitespace issues in CBI template
2008-09-05 11:36:47 +00:00
Steven Barth
cac36db080
Optimized error handling
2008-09-05 09:37:02 +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
Steven Barth
d1c078e1a7
Use /usr/bin/env lua instead of /usr/bin/lua in development environment startscript
2008-09-04 20:13:17 +00:00
Steven Barth
e4cbd59c39
Add table-comparators to luci.model.uci.delete_all
2008-09-04 11:48:27 +00:00
Steven Barth
1f2289b41e
libs/cbi: Use a Combobox for optional values if a section is dynamic and has defined optional fields
2008-09-04 09:55:46 +00:00
Steven Barth
ccc02d4188
Fixed event handlers to be more standards compliant
...
(fixed dependency tracking not working correctly on Konqueror and others)
2008-09-04 09:31:54 +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
Steven Barth
34ab619ee3
libs/cbi: Compatibility changes for non-standards-compliant browsers
2008-09-03 22:51:27 +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
Steven Barth
43a730c88a
libs/web: Fixed luci.template
2008-09-03 11:01:21 +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