Commit graph

131 commits

Author SHA1 Message Date
Jo-Philipp Wich
85fbb033cf * luci-0.8: merge r3607, r3608, r3611 and r3612 2008-10-21 01:56:50 +00:00
Steven Barth
662217d7e5 Fixed a typo which prevented proper dependency tracking for additional fields 2008-09-30 21:13:33 +00:00
Jo-Philipp Wich
564c363e9d * luci-0.8: remove doubled line breaks from cbi dynlist template 2008-09-28 22:59:10 +00:00
Jo-Philipp Wich
b9cf0e6355 * luci-0.8: backport new layout for apply messages 2008-09-25 14:37:51 +00:00
Steven Barth
1999bfc066 Overall CBI improvements: DummyValue handling, dependency conflicts, ... 2008-09-19 10:44:35 +00:00
Steven Barth
4f354ea95a Work around an ugly Opera and Internet Explorer event handling bug. 2008-09-18 14:36:53 +00:00
Steven Barth
3915eb48ae Don't validate dependencies for fields which are not part of the form 2008-09-17 12:07:09 +00:00
Steven Barth
64f835a291 More IE compatibility fixes 2008-09-16 15:51:35 +00:00
Steven Barth
5761b6e2dc Internet suXplorer JavaScript compatibility fixes 2008-09-16 10:09:14 +00:00
Steven Barth
c6793efe93 libs/cbi: Fix option initialisation errors 2008-09-14 22:02:03 +00:00
Steven Barth
11482835c8 Backport: Overall CBI-UVL ineraction fixes 2008-09-13 12:24:33 +00:00
Steven Barth
4d1d384f52 Fixed DHCP-Options and some CBI stuff 2008-09-07 23:53:20 +00:00
Steven Barth
39c3569a36 libs/cbi: Fixed DynamicLists 2008-09-07 23:03:35 +00:00
Steven Barth
2bf6516a7f Backported dynamic section optional field generating 2008-09-07 22:57:59 +00:00
Steven Barth
20ebf826d2 libs/cbi: Catch errors while creating named sections 2008-09-07 22:00:06 +00:00
Jo-Philipp Wich
3373bdfca6 * luci-0.8: backport fix for reparse bug in cbi which caused invalidation of sections 2008-09-07 16:59:42 +00:00
Steven Barth
37b79596bb Backported UCI-Dependency Tracking and Responsiveness Improvements 2008-09-07 14:17:29 +00:00
Jo-Philipp Wich
c3d41e6cba * luci-0.8: merge cbi error handling fixes 2008-09-06 22:42:55 +00:00
Jo-Philipp Wich
7f7a600b12 * luci/libs/cbi: remove dead code 2008-09-05 23:25:51 +00:00
Jo-Philipp Wich
898c45743a * luci/libs/cbi: improved error integration with uvl 2008-09-05 23:21:37 +00:00
Steven Barth
3e9e582572 Heavy memory/performance optimizations #1 2008-09-05 18:34:46 +00:00
Steven Barth
8af9060efd libs/cbi: Pass default values from UVL 2008-09-05 15:58:19 +00:00
Steven Barth
9243e20e27 Added .href parameter to DummyValues 2008-09-05 13:32:59 +00:00
Steven Barth
cc4c0688b5 Fix whitespace issues in CBI template 2008-09-05 11:36:47 +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
Steven Barth
34ab619ee3 libs/cbi: Compatibility changes for non-standards-compliant browsers 2008-09-03 22:51:27 +00:00
Steven Barth
3568e2ba50 libs/cbi: Forward errors (like syntactical errors) from CBI model parser to the user output 2008-09-01 19:51:37 +00:00
Steven Barth
05d6b9684c libs/cbi: Make sure newly created sections have optional field selectors 2008-08-30 20:32:13 +00:00
Steven Barth
d5cfb28f9b libs/cbi: Add a check whether a section was recently created 2008-08-30 20:32:07 +00:00
Steven Barth
171cbec25d libs/cbi: Simplified _uvl_validate_section 2008-08-30 15:41:02 +00:00
Steven Barth
0e05dbb02e libs/cbi: Use :is instead of .code == for UVL error tests 2008-08-30 15:29:09 +00:00
Steven Barth
63706a9f43 libs/cbi: Disable strict mode for now 2008-08-30 12:47:14 +00:00
Steven Barth
055cef5336 Optimized UVL validation handling 2008-08-30 12:11:27 +00:00
Steven Barth
7e792dad2e libs/cbi: Create section after validation to avoid validation errors with empty fields 2008-08-30 10:18:56 +00:00
Steven Barth
ccf73ec14e libs/cbi: Temporarily allow invalid configuration values to be saved 2008-08-30 09:21:38 +00:00
Steven Barth
8003e3b648 libs/cbi: Make sure options in ListValues are unique 2008-08-28 21:30:49 +00:00
Steven Barth
4ca6f02af2 CBI-UVL Validation Integration part #1 2008-08-28 19:31:25 +00:00
Steven Barth
ba22660cb8 libs/core: Add recursion detection to dumptable, serialize_data
Dumptable now writes to stderr
2008-08-28 15:50:27 +00:00
Steven Barth
12912ba7a4 Fixed enum dependencies 2008-08-28 09:11:16 +00:00
Steven Barth
a3fcd87a71 Fixed incompatible APIs in CBI 2008-08-27 22:02:38 +00:00
Steven Barth
d463d0b835 Renamed reworked UCI API to uci2 to allow a peaceful coexistence with the old one
Minor bugfixes
2008-08-27 08:53:40 +00:00
Steven Barth
91ba7c42f5 UCI API changes 2008-08-26 23:00:44 +00:00
Steven Barth
43b3217e55 libs/cbi: Added support for enum dependencies 2008-08-26 19:36:41 +00:00
Jo-Philipp Wich
1e6001c235 * luci/libs: cbi: implement get_scheme() on some more map-like objects; whitespace cleanup 2008-08-25 00:36:07 +00:00
Steven Barth
d97d6329c3 libs/cbi: Fixed UVL integration 2008-08-24 20:44:47 +00:00
Steven Barth
d68d03085a CBI-UVL integration part #2 2008-08-24 19:51:09 +00:00
Steven Barth
451eacf8da CBI-UVL integration part #1 2008-08-24 16:22:49 +00:00
Jo-Philipp Wich
71c3d30f46 * luci/themes: several xhtml fixes 2008-08-20 19:44:16 +00:00
Jo-Philipp Wich
18dfd21c39 * luci/libs: use striptags() in cbi <option> elements 2008-08-20 16:58:29 +00:00