Commit graph

200 commits

Author SHA1 Message Date
Jo-Philipp Wich
50a26ced11 libs/cbi: remove auto-i18n, does not work anymore 2009-10-31 16:48:31 +00:00
Jo-Philipp Wich
7c76587588 all: change most translate statements to new format, some need manual cleanup 2009-10-31 15:54:11 +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
Jo-Philipp Wich
bec91e4caf libs/cbi: fixes for widget templates 2009-10-27 21:42:40 +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
536430d0ee libs/cbi: change widgets using model.network to new api 2009-10-15 16:37:29 +00:00
Jo-Philipp Wich
e2147feb63 libs/cbi: fix error in previous commit 2009-10-14 00:02:38 +00:00
Jo-Philipp Wich
5ce9bd5fc8 libs/cbi: support horizontal display for radio button groups 2009-10-13 23:59:50 +00:00
Jo-Philipp Wich
42e1f743b3 libs/cbi: fix dynamic tab hiding 2009-10-10 22:18:50 +00:00
Jo-Philipp Wich
17f2921341 libs/cbi: add network picker widget 2009-10-10 14:51:59 +00:00
Jo-Philipp Wich
988de587ee libs/cbi: various widget fixes 2009-10-10 14:47:37 +00:00
Jo-Philipp Wich
5c4a002a46 libs/cbi: allow underscores in AbstractSection.create() 2009-10-09 00:45:47 +00:00
Jo-Philipp Wich
a5b315694d libs/cbi: add interface picker widget 2009-10-08 10:26:57 +00:00
Jo-Philipp Wich
6c64745e2c libs/cbi: comply with changed firewall interface 2009-10-08 01:26:09 +00:00
Jo-Philipp Wich
d3e65f3e1d libs/cbi: auto-select appropriate option if create field is focused 2009-10-08 00:46:01 +00:00
Jo-Philipp Wich
33c8b37310 libs/cbi: i18n for zone picker 2009-10-08 00:27:39 +00:00
Jo-Philipp Wich
f4ce127051 libs/cbi: add a firewall zone picker widget 2009-10-08 00:17:40 +00:00
Jo-Philipp Wich
da2b40c9e3 libs/cbi: fix wrong value handling in FileUpload widgets () 2009-10-07 19:50:20 +00:00
Steven Barth
7bd891326d Fix Save & Apply for lists 2009-09-24 16:40:32 +00:00
Jo-Philipp Wich
2903acf1f2 libs/cbi: preserve tab state across page reloads 2009-08-20 01:53:24 +00:00
Jo-Philipp Wich
bda237d0fd libs/cbi: remove redundant line break in listvalue template 2009-08-19 23:17:55 +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
6b1be858be libs/cbi: properly escape values in dynlist widget () 2009-08-13 14:36:18 +00:00
Jo-Philipp Wich
68af07222c libs/cbi: fix default property of ListValue fields 2009-07-31 23:22:10 +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
30b216f774 Drop support for luaposix and bitlib (obsoleted by nixio)
Mark luci.fs as deprecated
2009-06-21 13:42:26 +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
Steven Barth
0acedfff3e Fix some fallout 2009-04-09 13:59:50 +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
Steven Barth
1eec55dd47 Fix option dependencies, this was lost in some IE fixing stuff 2009-02-23 22:53:42 +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
Jo-Philipp Wich
c730262d14 libs/cbi: implement .sectionhead and .sectiondesc properties to allow labelling the id column in table layouts 2009-01-12 17:31:19 +00:00
Jo-Philipp Wich
dfbd41b2dc libs/cbi: also set id attribute for hidden fields 2009-01-11 15:45:34 +00:00
Jo-Philipp Wich
fb7aea55e8 libs/cbi: add support for hidden form fields in sections 2009-01-11 03:44:04 +00:00
Steven Barth
014d971eab Fix urltoken passing on several pages 2008-12-22 21:54:20 +00:00