luci-app-firewall: initial firewall4 compatibility
authorStijn Tintel <stijn@linux-ipv6.be>
Thu, 4 Nov 2021 02:01:43 +0000 (04:01 +0200)
committerStijn Tintel <stijn@linux-ipv6.be>
Thu, 6 Jan 2022 13:03:57 +0000 (15:03 +0200)
commit48599d8d1dbb1f9f2777d74c2a873aa9c873b7eb
treeaab4307320af4e7bc1dd33974e12fa6c308e6e1b
parentdc0ed9ca93c842d48613003e6f47b66c373e7148
luci-app-firewall: initial firewall4 compatibility

Initial changes required for firewall4 compatibility:
* depend on uc-firewall instead of firewall
* detect installed version of firewall and hide incompatible features

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Reviewed-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-firewall/Makefile
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js
applications/luci-app-firewall/root/usr/share/luci/menu.d/luci-app-firewall.json
modules/luci-base/root/usr/libexec/rpcd/luci