Commit graph

7 commits

Author SHA1 Message Date
Ansuel Smith
e478875c6c
luci-app-ddns: rework with new ddns changes
This commit rework the app with the new ddns changes. DDns services are now stored in a dedicated list and the service specific data is stored in a dedicated json. This json can both preinstalled with a companion package or be downloaded on demand. The new app now check if the script is present and give a button to install it if not present in the system.
The app now will search for all the available service in the services directory and optionally if present will include in the list the service not installed from a static list. Special service that use a separate script (for example cloudflare-v4) will install directly in the services directory and will be included automatically.
The app now reset the ddns rule settings on service change.
Also rework the app to drop any global function and rework the function to use more default way to get data.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-10-02 14:30:20 +02:00
Jo-Philipp Wich
f4651cb129 treewide: fix trailing commans in ACL JSON files
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-17 23:40:14 +02:00
Jo-Philipp Wich
8f34e105c0 treewide: add ACL annotations to menu entries
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-17 12:40:31 +02:00
Jo-Philipp Wich
df892cc167 luci-app-ddns: add uci write permission
Fixes: #3919
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-15 17:55:00 +02:00
Jo-Philipp Wich
625abbfdbe treewide: convert simple Lua controllers to declarative JSON
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-05 16:52:58 +01:00
Kevin Darbyshire-Bryant
08d56108d2 luci-app-ddns: remove dos line endings
Remove dos line endings from applications/luci-app-ddns/root/usr/share/rpcd/acl.d/luci-app-ddns.json

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2019-11-13 13:15:04 +00:00
Ansuel Smith
34fa5122f9
luci-app-ddns: convert to client side implementation
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-11-11 20:47:16 +01:00