Commit graph

8 commits

Author SHA1 Message Date
Huangbin Zhan
4d5facb315 luci-app-ddns: fix wget-ssl path
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2021-01-18 22:00:23 +08:00
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
Paul Spooren
c4a4e43e2e treewide: replace which with command -v
Fix shellcheck SC2230
> which is non-standard. Use builtin 'command -v' instead.

Once applied to everything concerning OpenWrt we can disable the busybox
feature `which` and save 3.8kB.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-08-20 15:54:54 -10:00
Hannu Nyman
eaa193336f
Merge pull request #3318 from Ansuel/rework-ddns
luci-app-ddns: fix missing check for bindhost
2019-11-16 19:20:16 +02:00
Ansuel Smith
bb7038edb2
luci-app-ddns: fix missing check for bindhost
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-11-16 17:39:43 +01:00
Chen Minqiang
e0d01ee267 luci-app-ddns: fix typo err in luci.ddns
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2019-11-16 15:16:32 +08:00
Dirk Brenken
4111d54a8e
luci-app-ddns: fix 'luci.ddns' file permission
* make 'luci.ddns' executable

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-11-13 13:24:51 +01: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