summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-compat
AgeCommit message (Collapse)Author
2019-12-07luci-base: network.lua: fix bridge related functionsAnton Kikin
This commit fixes these bugs: 1. Functions interface.bridge_id() and interface.bridge_stp() uses self.br field that is not exists at all 2. Function interface.is_bridgeport() return true only for bridge interface, not for bridge port interfaces. Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-12-07luci-base: network.lua: fix interface.ports() function return valueAnton Kikin
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-11-16treewide: fix "Unhandled token" errors with Lua CBI mapsJo-Philipp Wich
The `data-type` attribute is used to bind datatype validators to a widget while some templates used the same attribute to denote the name of the underlying widget. Change the `data-type` attributes referring to the widget name to `data-widget` in order to stop the JS token error spam. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-14luci-compat: network.lua: recognize wifi interfaces with nonstandard namesJo-Philipp Wich
Ref: https://github.com/openwrt/luci/issues/3306 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03treewide: move server side CBI support to luci-compatJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03treewide: move templates and libraries not used by the core to luci-compatJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>