summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ddns/luasrc/model
AgeCommit message (Collapse)Author
2019-01-22luci-app-ddns: fix package installation linkFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-01-05luci-app-ddns: update wiki link for global settingsleonghui
Signed-off-by: Leong Hui Wong <wong.leonghui@gmail.com>
2018-10-10treewide: Fix typos in commentsyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-06-04luci-app-ddns: make param opt, optional, add myself as maintainerAnsuel Smith
Currently these params should be optional but in the current script then are required for any configuration to save. We add an "optional" boolean value to the validate function so that we can make this pram optional as it should be. Also adds me as maintainer Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-02luci-app-ddns: improve performanceAnsuel Smith
Every request directed to the ddns app call ddns tools module. Ddns tools module have lots of global variable that call slow os.execute function. This adds 10 second to every ddns request even if the function that is requested doesn't need that global variable. This commit introduce env_info function that execute os.execute command by executing what is actually requested and not process all the variables. Also remove 2 unecessary module that are not used. More researh find that major slowdown was caused by the calling of ddns script for the version check. Now we check if opkg is present and use it to check ddns-scripts version. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-04-28luci-app-ddns: fix typo: CRTL should be CTRLfy1128
Reference to https://github.com/openwrt/luci/pull/1756 cherry picked from commit d9cd43fee1d9e0b01c91e569820ba83120d8840b Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-01-27luci.app-ddns: Update to 2.4.9-1Christian Schoenebeck
Read registered IP from file, updated by ddns-scripts. Only read from DNS if file does not exist or outdated (check_interval). Require ddns-scripts v 2.7.7 Signed-off-by: Christian Schoenebeck <christian.schoenebeck@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-09-25luci-app-ddns: ignore if name lookup progs not supporting force ip versionChristian Schoenebeck
- no longer verify installed name lookup programs to set has_forceip flag inside tools/ddns.lua - adapt messages inside hints.lua Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-05-08luci-app-ddns: adapt to support khost (Knot DNS) and drill (ddns-scripts 2.7.1)Christian Schoenebeck
adapt to support khost (Knot DNS) and drill (ddns-scripts 2.7.1) Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-04-09fix problem not correctly handling "Bind Network" fieldChristian Schoenebeck
- fix problem not correctly handling "Bind Network" field #699 - some german translation extensions Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-03-29applications/luci-app-ddns: Fix typos (found by codespell)Stefan Weil
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-03-07luci-app-ddns: fixes because uclient-fetch support "force ip version"Christian Schoenebeck
- corrections because uclient-fetch now support "force ip version" - remove translations already part of base.po/base.pot Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-01-30luci-app-ddns: bump to version 2.4.0-1Christian Schöenebeck
- fixes for #611 and #620 - adaptions for ddns-scripts 2.6.0 -- add hint for problems with BusyBox nslookup compiled with musl and offer installing hostip package -- add hint for not installed certificates inside /etc/ssl/certs and offer installing ca-certificates package https://github.com/openwrt/packages/pull/2243 -- check if malfunctional BusyBox nslookup installed, so disable using option dns_server if not Bind host or hostip installed - optimizations - cleanup: remove .po files without any translations Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-11-15luci-app-ddns: rollup to 2.3.0 to reflect changes on ddns-scriptsChristian Schoenebeck
- support for new options "lookup_host", "param_enc" and "param_opt" - rewritten ddns provider handling to only show/check needed options "domain", "username", etc. - modified version check/handling incl. using new ipkg.compare_versions function - modified map.title and map.description generation - changed XHR.poll interval to 15 seconds on system status page - using new value_parse function for testing and later implementation into cbi.lua - some optimizations Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-10-12luci-app-ddns: fix typo in previous commitJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-12luci-app-ddns: remove title <a> hacksJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-05-12luci-app-ddns: reflect changes on ddns-scriptsChristian Schoenebeck
* reflect updated language file for zh-cn * change default for retry_count to 0 compatible to ddns-scripts 2.4.2-1 * addition to retry_count help description * modified dependency on ddns-scripts 2.4.2-1 Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-03-20luci-app-ddns: fix errors in global.luaChristian Schoenebeck
fix dispatcher and validation errors in global.lua Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-03-01luci-app-ddns: patches for #298 #334 #335Christian Schoenebeck
* remove usage of opkg via system call for version handling thanks to Jo-Philipp Wich #335 * remove special handling of bootstrap theme #298 #334 Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-02-10luci-app-ddns: update to version 2.2.0-1Christian Schoenebeck
- implement new option bind_interface - fixes problems when updating status displays (i.e. showing Software update needed) - new links to OpenWrt wiki - new screen to set global settings - implements global option use_curl Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-01-18luci-app-ddns: Update to version 2.1.1-0Christian Schoenebeck
- adaption Makefile to changed luci.mk - description in Makefile for correct version handling - modified handling to detect and display installed version - new functions ipkg_ver_installed() and ipkg_ver_compare - correct wrong spellings - modified language template and German translation Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-01-16Update my email addresses in the license headersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16Globally reduce copyright headersJo-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>