Explicitely require libuci-lua in model classes that use legacy /var/state
cursor handling.
Also add a specific dependency on libuci-lua to the luci-app-mwan3
Makefile in preparation of the upcoming default removal of libuci-lua.
Finally fix the post data dispatching on the notification tab, see #1722
for reference.
Fixes #1726.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
include $(TOPDIR)/rules.mk
LUCI_TITLE:=LuCI support for the MWAN3 multiwan hotplug script
include $(TOPDIR)/rules.mk
LUCI_TITLE:=LuCI support for the MWAN3 multiwan hotplug script
-LUCI_DEPENDS:=+mwan3 +luci-mod-admin-full +luci-app-firewall +luci-lib-nixio
+LUCI_DEPENDS:=+mwan3 +libuci-lua +luci-mod-admin-full +luci-app-firewall +luci-lib-nixio
LUCI_PKGARCH:=all
PKG_LICENSE:=GPLv2
LUCI_PKGARCH:=all
PKG_LICENSE:=GPLv2
arcombine(cbi("mwan/rule"), cbi("mwan/ruleconfig")),
_("Rules"), 40).leaf = true
entry({"admin", "network", "mwan", "notify"},
arcombine(cbi("mwan/rule"), cbi("mwan/ruleconfig")),
_("Rules"), 40).leaf = true
entry({"admin", "network", "mwan", "notify"},
_("Notification"), 50).leaf = true
end
_("Notification"), 50).leaf = true
end
-- Licensed to the public under the GNU General Public License v2.
dsp = require "luci.dispatcher"
-- Licensed to the public under the GNU General Public License v2.
dsp = require "luci.dispatcher"
function interfaceWarnings(overview, count, iface_max)
function interfaceWarnings(overview, count, iface_max)
-- Licensed to the public under the GNU General Public License v2.
dsp = require "luci.dispatcher"
-- Licensed to the public under the GNU General Public License v2.
dsp = require "luci.dispatcher"
-- Licensed to the public under the GNU General Public License v2.
dsp = require "luci.dispatcher"
-- Licensed to the public under the GNU General Public License v2.
dsp = require "luci.dispatcher"