project/luci2/ui.git
10 years agoluci2: keep scroll position when redrawing CBI forms, fix crash when deleting last...
Jo-Philipp Wich [Tue, 1 Oct 2013 16:20:52 +0000 (16:20 +0000)]
luci2: keep scroll position when redrawing CBI forms, fix crash when deleting last uci section of a TypedSection group

10 years agoluci2: make login view readonly if acls are missing
Jo-Philipp Wich [Mon, 30 Sep 2013 16:51:43 +0000 (16:51 +0000)]
luci2: make login view readonly if acls are missing

10 years agoluci2: fix little typo in login manager
Jo-Philipp Wich [Mon, 30 Sep 2013 16:48:04 +0000 (16:48 +0000)]
luci2: fix little typo in login manager

10 years agoluci2: add view for managing LuCI2 login accounts
Jo-Philipp Wich [Mon, 30 Sep 2013 16:41:50 +0000 (16:41 +0000)]
luci2: add view for managing LuCI2 login accounts

10 years agoluci2: Switch LuCI2.ui.renderView() from new Function() to eval() and use "//@ source...
Jo-Philipp Wich [Mon, 30 Sep 2013 12:28:02 +0000 (12:28 +0000)]
luci2: Switch LuCI2.ui.renderView() from new Function() to eval() and use "//@ sourceUrl" annotation to make demand-loaded views debuggable

10 years agoluci2: make LuCI2.cbi.AbstractSection and LuCI2.cbi.AbstractValue public
Jo-Philipp Wich [Wed, 18 Sep 2013 11:22:06 +0000 (13:22 +0200)]
luci2: make LuCI2.cbi.AbstractSection and LuCI2.cbi.AbstractValue public

10 years agoluci2: wrap luci2.ui.crypt rpc call as LuCI2.ui.cryptPassword()
Jo-Philipp Wich [Wed, 18 Sep 2013 11:21:39 +0000 (13:21 +0200)]
luci2: wrap luci2.ui.crypt rpc call as LuCI2.ui.cryptPassword()

10 years agorpcd: add luci2.ui.crypt call
Jo-Philipp Wich [Tue, 17 Sep 2013 18:15:48 +0000 (20:15 +0200)]
rpcd: add luci2.ui.crypt call

10 years agoluci2: fix LuCI2.cbi.NetworkList after RPC changes
Jo-Philipp Wich [Tue, 17 Sep 2013 17:07:35 +0000 (19:07 +0200)]
luci2: fix LuCI2.cbi.NetworkList after RPC changes

10 years agoluci2: fix session heartbeat and serialization of cbi section creations
Jo-Philipp Wich [Tue, 17 Sep 2013 17:01:06 +0000 (19:01 +0200)]
luci2: fix session heartbeat and serialization of cbi section creations

10 years agoluci2: major changes to RPC implementation
Jo-Philipp Wich [Tue, 17 Sep 2013 12:49:53 +0000 (14:49 +0200)]
luci2: major changes to RPC implementation

- rework LuCI2.rpc namespace to support batching arbritary requests
- use new LuCI.rpc.declare() generator function to declare RPC proxy functions
- thoroughly use jQuery promises for chaining RPC responses, drop callback model
- drop internal rcall() and retcb() helpers in favor to the new RPC implementation
- adjust existing views for new RPC model
- implement session alive check to automatically prompt for a login if the server session is expired

10 years agorpcd: add luci2.ui.acls call to fetch list of known access groups
Jo-Philipp Wich [Wed, 11 Sep 2013 14:26:36 +0000 (16:26 +0200)]
rpcd: add luci2.ui.acls call to fetch list of known access groups

10 years agoshare: rename acl.d/main.json to acl.d/luci2.json
Jo-Philipp Wich [Wed, 11 Sep 2013 12:00:50 +0000 (14:00 +0200)]
share: rename acl.d/main.json to acl.d/luci2.json

10 years agojs: switch to ubus rpc login instead of luci-login
Jo-Philipp Wich [Wed, 11 Sep 2013 11:55:36 +0000 (13:55 +0200)]
js: switch to ubus rpc login instead of luci-login

10 years agorpcd: move menu.d to /usr/share/rpcd
Jo-Philipp Wich [Wed, 11 Sep 2013 11:51:35 +0000 (13:51 +0200)]
rpcd: move menu.d to /usr/share/rpcd

10 years agoio: remove luci-login, login is now handled by rpcd
Jo-Philipp Wich [Wed, 11 Sep 2013 11:43:07 +0000 (13:43 +0200)]
io: remove luci-login, login is now handled by rpcd

10 years agorpcd: use "access-group" meta scope when checking menu permissions
Jo-Philipp Wich [Wed, 11 Sep 2013 11:39:02 +0000 (13:39 +0200)]
rpcd: use "access-group" meta scope when checking menu permissions

10 years agoio: whitespace cleanup
Jo-Philipp Wich [Tue, 10 Sep 2013 10:11:56 +0000 (12:11 +0200)]
io: whitespace cleanup

10 years agoInitial commit of LuCI2
Jo-Philipp Wich [Mon, 9 Sep 2013 15:01:22 +0000 (17:01 +0200)]
Initial commit of LuCI2