summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ddns
AgeCommit message (Collapse)Author
2019-01-05Merge pull request #2427 from leonghui/fix_has_curlssl_typoDirk Brenken
luci-app-ddns: fix typo for has_curlssl()
2019-01-05luci-app-ddns: remove first grepleonghui
Signed-off-by: Leong Hui Wong <wong.leonghui@gmail.com>
2019-01-05Merge pull request #2384 from davidjb/patch-1Dirk Brenken
luci-app-ddns: check existence of nslookup util rather than making DNS request
2019-01-05luci-app-ddns: update wiki link for global settingsleonghui
Signed-off-by: Leong Hui Wong <wong.leonghui@gmail.com>
2019-01-05luci-app-ddns: fix typo for has_curlssl()leonghui
Fixes the incorrect message "HTTPS not supported please disable !" when curl with https support is present. grep returns exit code 0 when a match is found. Signed-off-by: Leong Hui Wong <wong.leonghui@gmail.com>
2018-12-21luci-app-ddns: check existence of nslookup util rather than making DNS requestDavid Beitey
This saves a DNS request whenever the check is performed. For systems with nameservers configured in `/etc/resolv.conf`, nslookup will sent a request to those servers (eg bypassing /etc/hosts), thus taking a lot more time than necessary. For servers that are remote, this will take a *lot* longer than just checking if the nslookup util exists. This change follows in the same vein as all the other checks and just using `which` without actually invoking the util's functionality. Signed-off-by: David Beitey <david@davidjb.com>
2018-12-20luci-app-*: use default poll intervalFlorian Eckert
Replace all XHR poll time number with -1 so they will use the default poll interval time value from "/etc/config/luci". If this is not set then 5 seconds as default is used. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-14luci-lib-ipkg: move out of luci-baseJo-Philipp Wich
Move the old luci.model.ipkg utility class into a separate package and let the components using it depend on the new library package. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-07i18n: sync translations, add location annotatationsHannu Nyman
Thanks to a recent commit, the translation files will now have info about locations where the string is used. That can help is deciding the correct translation, as all contexts are more easily found. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-10-28Add missing variable declarations in JavaScript codeStefan Weil
This fixes errors reported by LGTM. Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-10treewide: Fix typos in commentsyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-09-19Merge pull request #2164 from Ansuel/ddns_fixHannu Nyman
luci-app-ddns: fix overview page
2018-09-19i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-09-19luci-app-ddns: fix overview pageAnsuel Smith
Small fix for wrong display of next update data Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-09-02luci-app-ddns: various fixAnsuel Smith
Rework overview page, sync with new style and simplify the code by removing unnecessary check. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-09-01i18n: sync translationsINAGAKI Hiroshi
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-08-11luci-app: update Chinese translationyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-08-02luci-app-ddns: fix huge typo in luasrc/tools/ddns.luayangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-07-30luci-app-ddns: remove myself as PKG_MAINTAINERChristian Schoenebeck
remove myself as PKG_MAINTAINER Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2018-07-20luci-app-ddns: update and improve Russian translationAnton Kikin
Update existing not quite correct translations. Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-06-11luci-app-ddns: use standard pkg info functionAnsuel Smith
DDns script call another sh script to check ddns-scripts version. We can use the quicker IPKG.info function instead of execute another slow command. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-07luci-app-ddns: fix div conversionAnsuel Smith
This fix some error from conversion of #1854 Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-05luci-app-ddns: Convert HTML tables to divjollaman999
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-05-16luci-app-ddns: fix HTML page rendering in globals sectionHelge Mader
Signed-off-by: Helge Mader <ma@dev.tdt.de>
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-04-05treewide: filter shell arguments through shellquote() where applicableJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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>
2018-01-26i18n-ru: fixed and updated russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-20i18n-ru: Edits on the general pattern of Russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-16i18n-sync change, added project info...Vladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-14added project info, were reviewed in graphical mode, ready for a stable releaseVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-13added project info, were reviewed in graphical modeVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-13fixed russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-05fixed russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-03fixed and updated russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru> [renamed swedish advanced-reboot.po as well, fixed a syntax error, filtered updated files through ./build/i18n-sync.sh] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-11-11i18n: Sync translationsINAGAKI Hiroshi
Synchronized translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-10-29i18n: Update Chinese translationyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2017-10-28i18n: Update Chinese translationyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2017-10-17i18n: synchronize and fix translation filesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-09-06luci-app-ddns: Updated Italian translationBubu83
Signed-off-by: Alessio Casagrande bubu83@gmail.com
2017-09-02luci-app-ddns: Updated Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-07-27i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-06-14Some translation for Swedish done.Kristoffer Grundström
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-04-26luci-app-ddns: fix to correct system statusChristian Schoenebeck
preset network "wan", if not configured in ddns config to correct display system status #1117 Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2017-02-22i18n: complete pt-br translationLuiz Angelo Daros de Luca
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2016-12-10Merge pull request #663 from NeoRaider/styleable-checkboxesDaniel Dickinson
luci-base: view: make checkboxes and radio buttons styleable
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-30i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>