luci-app-tor: add config for tor
authorSergey Ponomarev <stokito@gmail.com>
Fri, 9 Feb 2024 01:07:22 +0000 (03:07 +0200)
committerPaul Donald <newtwen@gmail.com>
Wed, 14 Feb 2024 22:13:32 +0000 (23:13 +0100)
commit9020dca40fc8b3813690b183fce68ccfb9f3ffdb
treeced8579eadc0eb05ada82ffcbac653ed26b465ba
parent208787ff512eb740cc0d83588b09c9ab0c2f68ea
luci-app-tor: add config for tor

Currently the UCI for the Tor allows to set only a list of configs to include.
The only way to configure it for a user is to upload its own config and add it to list of included.
We can simplify this with the app.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
(cherry picked from commit c170dfab9197f714c5e4483caad924631779122a)
applications/luci-app-tor/Makefile
applications/luci-app-tor/htdocs/luci-static/resources/view/tor/tor.js [new file with mode: 0644]
applications/luci-app-tor/root/usr/share/luci/menu.d/luci-app-tor.json
applications/luci-app-tor/root/usr/share/rpcd/acl.d/luci-app-tor.json