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:05:20 +0000 (23:05 +0100)
commit5d1bd9ea299e15b343e917836fd4b90846e57cad
tree3e936b5cc89e8d53e7b7ca5e3ed2747de982ba3a
parenta6d642673c21032c809d69baafa643468d4ccd46
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