luci-app-mwan3: fix legacy uci api usage
authorJo-Philipp Wich <jo@mein.io>
Fri, 6 Apr 2018 07:35:39 +0000 (09:35 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 6 Apr 2018 07:35:39 +0000 (09:35 +0200)
commit08a2b27df5e282a6b5221fbe72f700523c7b0913
treec4b636553f3364790dda0fb06d336c0729e86810
parent24ac0d81ee56c5630b38aefbb5526e8bfcf6cd88
luci-app-mwan3: fix legacy uci api usage

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>
applications/luci-app-mwan3/Makefile
applications/luci-app-mwan3/luasrc/controller/mwan3.lua
applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua
applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua
applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua