summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ddns/root
AgeCommit message (Collapse)Author
2022-10-20luci-app-ddns: gracefully handle missing control fileJo-Philipp Wich
In case `pcall()` fails, `ctrl` will contain an error message. Fixes: 3395656b9f ("luci-app-ddns: get rid of luci-lib-ipkg depdency") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-20luci-app-ddns: get rid of luci-lib-ipkg depdencyJo-Philipp Wich
Invoking opkg to obtain the installed package version is very slow and resource intensive, parse the related control file directly to avoid the extraneous dependency and resource consumption. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-03-10luci-app-ddns: assume IPv6 support if nftables is presentJo-Philipp Wich
Fixes: #5692 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-07-06luci-app-ddns: fix next_update errorDeYu Liu
* Fix the error that next_update sometimes display Verify Signed-off-by: DeYu Liu <vito_sam@outlook.com>
2021-03-04luci-app-ddns: fix update time calculationsmall_5
* Fix last_update overflow * Fix next_update wrong when the router is just started * Fix missing check_seconds for next_update Signed-off-by: Small_5 <61473216+small-5@users.noreply.github.com>
2021-01-18luci-app-ddns: fix wget-ssl pathHuangbin Zhan
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2020-10-02luci-app-ddns: rework with new ddns changesAnsuel Smith
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-08-20treewide: replace `which` with `command -v`Paul Spooren
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-04-17treewide: fix trailing commans in ACL JSON filesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-17treewide: add ACL annotations to menu entriesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-15luci-app-ddns: add uci write permissionJo-Philipp Wich
Fixes: #3919 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-14luci.mk: move /tmp/luci-indexcache remove to package postinst scriptFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-02-05treewide: convert simple Lua controllers to declarative JSONJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-16Merge pull request #3318 from Ansuel/rework-ddnsHannu Nyman
luci-app-ddns: fix missing check for bindhost
2019-11-16luci-app-ddns: fix missing check for bindhostAnsuel Smith
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-11-16luci-app-ddns: fix typo err in luci.ddnsChen Minqiang
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2019-11-13luci-app-ddns: remove dos line endingsKevin Darbyshire-Bryant
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-13luci-app-ddns: fix 'luci.ddns' file permissionDirk Brenken
* make 'luci.ddns' executable Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-11-11luci-app-ddns: convert to client side implementationAnsuel Smith
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2016-12-04luci-app-ddns: update to support ddns-scripts 2.7.6Christian Schoenebeck
needed changes to support ddns-scripts 2.7.6 - new command line options of dynamic_ddns_lucihelper.sh - renamed global config options - new location of services files Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-01-27Use numeric prefixes for uci-defaults scriptsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-11luci-app-ddns: adaption to new luci structure and cleanupChristian Schoenebeck
- adaption to LuCI's new directory structure on github - adaption to LuCI's new Makefile optional settings - remove CHANGELOG from github - directory structure cleanup not all patches of 2.1.0-3 and before were applied to new directory structure Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-01-08Rework LuCI build systemJo-Philipp Wich
* Rename subdirectories to their repective OpenWrt package names * Make each LuCI module its own standalone package * Deploy a shared luci.mk which is used by each module Makefile Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>