Jo-Philipp Wich
ede4aca4b9
libs: merge libs/cbi into libs/web
2010-10-12 05:15:32 +00:00
Jo-Philipp Wich
f735ef30bd
libs/cbi: don't run apply on render, this is a quick hack and will be reworked soon
2010-10-11 22:55:49 +00:00
Jo-Philipp Wich
4dc420efd3
libs/cbi: fix crash with tabless sections
2010-04-27 07:25:20 +00:00
Jo-Philipp Wich
eca5a0abf0
libs/cbi:
...
- skip client side field validation if corrsponding field was removed due to dependencies
- human readable error strings in uci section summary
- implement field validation for dnyamic lists
- render optional fields when section has tabs
2010-04-27 00:27:37 +00:00
Jo-Philipp Wich
e75cb4f5ba
libs/cbi: drop UVL, introduce server side datatype validation
2010-04-26 22:27:18 +00:00
Jo-Philipp Wich
3cb299dc10
libs/cbi: try to load fully qualified model path first, drop support for .lua.gz models
2010-04-21 19:41:46 +00:00
Jo-Philipp Wich
e301256632
libs/cbi: change usage of uvl error api after r5861
2010-03-18 17:00:23 +00:00
Steven Barth
1f83b916ac
NIU: Minor fixes
2009-11-23 19:36:37 +00:00
Steven Barth
cba506cb70
CBI:
...
Allow skipping of non-routing wizard steps
2009-11-22 20:33:00 +00:00
Steven Barth
19758fae43
CBI:
...
Implement reverse dependencies
Allow wiazrd steps without buttons
2009-11-22 20:32:56 +00:00
Steven Barth
23e0a7da6a
CBI: Allow lazy loading of wizard pages (improving RAM usage)
2009-11-17 16:12:53 +00:00
Steven Barth
7aed1e4b9d
NIU: More pages
2009-11-10 16:02:48 +00:00
Steven Barth
284f85fb4e
CBI: Fix subdependencies
2009-11-09 11:22:29 +00:00
Jo-Philipp Wich
c70edf0f94
libs/cbi: implement on_parse hook for maps
2009-11-09 00:32:05 +00:00
Jo-Philipp Wich
392bfd38f8
libs/cbi: implement SimpleForm on_cancel hook in main class
2009-11-08 02:31:41 +00:00
Jo-Philipp Wich
f5a760168b
all: remove references to old i18n files
2009-11-01 14:24:04 +00:00
Jo-Philipp Wich
50a26ced11
libs/cbi: remove auto-i18n, does not work anymore
2009-10-31 16:48:31 +00:00
Steven Barth
e93a3e0c74
CBI: Delegators: Don't proceed when step is not completed yet
2009-10-28 17:38:11 +00:00
Jo-Philipp Wich
910f48117f
libs/cbi: add on_init, on_before_commit, on_after_commit, on_before_apply, on_after_apply hooks
2009-10-27 23:21:11 +00:00
Steven Barth
36e18e87ef
CBI: Cancelaction and event callbacks for Delegators
...
LuCId: Send Keep-Alive headers to avoid browser quirks
2009-10-26 17:40:44 +00:00
Jo-Philipp Wich
5c4a002a46
libs/cbi: allow underscores in AbstractSection.create()
2009-10-09 00:45:47 +00:00
Steven Barth
7bd891326d
Fix Save & Apply for lists
2009-09-24 16:40:32 +00:00
Jo-Philipp Wich
7c0ea17623
libs/cbi: implement tabbing to split large sections and group options in tabs
2009-08-16 03:29:46 +00:00
Jo-Philipp Wich
892ed55ba0
libs/cbi: attach pcdata() to template scope and use it
2009-08-13 17:14:25 +00:00
Jo-Philipp Wich
f311d13ca1
libs/cbi: fix error reporting in map loading
2009-07-31 00:13:24 +00:00
Steven Barth
2561ed9b7a
Fix errorhandling in Delegators
2009-07-30 16:58:37 +00:00
Steven Barth
d7a90e994a
Fix delegators
2009-07-30 16:05:12 +00:00
Jo-Philipp Wich
8fcd841aa9
convert luci.fs users to nixio.fs api
2009-07-19 00:24:58 +00:00
Steven Barth
341f757255
Merge fixes / improvements
2009-06-20 07:14:36 +00:00
Steven Barth
4209a47b6e
Extend CBI Delegators, fix some CBI issue
2009-05-25 10:31:12 +00:00
Steven Barth
ee690abb0f
CBI Delegators (Wizards)
...
Example CBI-Map:
d = Delegator()
d.allow_back = true -- Back-button
d:add("step1", load("mywizard/form1")) -- model/cbi/mywizard/form1
d:add("step2", load("mywizard/form2"))
return d
2009-05-24 17:17:53 +00:00
Jo-Philipp Wich
9835296ba2
trunk: prepare LuCI to handle .lua.gz files
2009-04-04 22:54:16 +00:00
Steven Barth
f3deef9ec5
Backport Skip-Button support
2009-04-03 18:08:25 +00:00
Jo-Philipp Wich
0c7effc0c0
libs/cbi: properly handle uvl errors without childs
2009-03-29 22:13:26 +00:00
Steven Barth
8368432a63
Fix last commit
2009-03-26 12:39:43 +00:00
Steven Barth
b9fbed39ca
Correctly set status FORM_PROCEED instead of FORM_CHANGED if user
...
creates / deletes a field or section
2009-03-26 12:37:26 +00:00
Steven Barth
7b5d67305e
Allow SimpleForm handler to set CBI status
2009-03-09 14:28:55 +00:00
Steven Barth
ad57125f41
Allow combination of SimpleForms as Forms into pages with Maps
...
Allow subsequent changes of Table data
2009-03-07 11:30:41 +00:00
Jo-Philipp Wich
eedf535996
libs/cbi: remove workaround for libuci
2009-01-20 00:51:01 +00:00
Jo-Philipp Wich
10ab31ef5f
libs/cbi:
...
- add workaround for libuci-lua bug when writing list values
- compare values against keyllist not vallist when validating StaticList
-> fixes StaticList and DynamicList widgets
2009-01-20 00:05:18 +00:00
Steven Barth
4957144262
Autoapplying on creation / deletion of sections is annoying, disable it.
2009-01-17 13:06:18 +00:00
Steven Barth
0b34ab07d4
Scope compatibility fixes
2008-11-29 21:58:39 +00:00
Steven Barth
6b6359a7ef
Enable rmempty by default
2008-11-27 22:03:50 +00:00
Steven Barth
a5cb3b04cb
Skip validation of options on second parse cycle
2008-11-06 21:00:16 +00:00
Steven Barth
caf05a86f3
Workaround some Heisenbug
2008-11-06 18:32:07 +00:00
Steven Barth
9f28871ffc
Fix error handling for SimpleForms
2008-11-05 21:12:26 +00:00
Steven Barth
5c36f21751
Handle empty fields correctly
2008-11-05 14:53:37 +00:00
Steven Barth
e0e58e842d
Overall CBI improvements
2008-11-03 19:20:21 +00:00
Steven Barth
14a2e32142
Merge CBI change-detection
2008-11-03 10:05:48 +00:00
Steven Barth
c7a06b61c7
Extend CBI state handling
2008-11-01 18:32:02 +00:00