Commit graph

71 commits

Author SHA1 Message Date
Ansuel Smith
b46e8c5a69
luci-app-ddns: fix div conversion
This fix some error from conversion of #1854

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-07 21:54:21 +02:00
jollaman999
2d410379c1 luci-app-ddns: Convert HTML tables to div 2018-06-05 10:09:44 +09:00
Ansuel Smith
09c3a8385e
luci-app-ddns: make param opt, optional, add myself as maintainer
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-04 09:37:05 +02:00
Ansuel Smith
299121fc84
luci-app-ddns: improve performance
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-06-02 18:52:22 +02:00
Helge Mader
7a9957e727 luci-app-ddns: fix HTML page rendering in globals section
Signed-off-by: Helge Mader <ma@dev.tdt.de>
2018-05-16 06:45:04 +02:00
fy1128
00d242918f luci-app-ddns: fix typo: CRTL should be CTRL
Reference to https://github.com/openwrt/luci/pull/1756
cherry picked from commit d9cd43fee1

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-04-28 08:58:53 +03:00
Jo-Philipp Wich
c0d9c4f3ce treewide: filter shell arguments through shellquote() where applicable
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-05 09:37:43 +02:00
Christian Schoenebeck
1cd12c4498 luci.app-ddns: Update to 2.4.9-1
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-27 16:11:07 +01:00
Vladimir
d74ff878e1 i18n-ru: fixed and updated russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-26 16:57:15 +03:00
Vladimir
bb87aac852 i18n-ru: Edits on the general pattern of Russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-20 14:02:48 +03:00
Vladimir
94f7c302bb i18n-sync change, added project info...
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-16 21:06:05 +03:00
Vladimir
2162fbcd5a added project info, were reviewed in graphical mode, ready for a stable release
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-14 11:53:50 +03:00
Vladimir
80181410f2 added project info, were reviewed in graphical mode
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-13 21:30:52 +03:00
Vladimir
0f80bcfd8f fixed russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-13 13:32:58 +03:00
Vladimir
b9bb8649ba fixed russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-05 21:42:52 +03:00
Vladimir
76b12b242a fixed and updated russian translation
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>
2018-01-03 21:44:55 +01:00
INAGAKI Hiroshi
7f48b25038 i18n: Sync translations
Synchronized translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-11-11 12:14:52 +09:00
yangfl
4dc055be85 i18n: Update Chinese translation
Signed-off-by: David Yang <mmyangfl@gmail.com>
2017-10-29 16:00:27 +08:00
yangfl
7dd75df093 i18n: Update Chinese translation
Signed-off-by: David Yang <mmyangfl@gmail.com>
2017-10-28 18:57:21 +08:00
Jo-Philipp Wich
27fbdada6c i18n: synchronize and fix translation files
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-10-17 22:15:35 +02:00
Bubu83
bd7c65405d luci-app-ddns: Updated Italian translation
Signed-off-by: Alessio Casagrande bubu83@gmail.com
2017-09-06 03:28:24 +02:00
Kristoffer Grundström
5410f6c381 luci-app-ddns: Updated Swedish translation
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-09-02 17:33:12 +02:00
Hannu Nyman
3603e27e30 i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-07-27 19:40:47 +03:00
Kristoffer Grundström
e97e690aeb Some translation for Swedish done.
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-06-14 18:08:43 +02:00
Christian Schoenebeck
3e0492fee9 luci-app-ddns: fix to correct system status
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-04-26 21:54:57 +02:00
Luiz Angelo Daros de Luca
fe9d39c06c i18n: complete pt-br translation
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2017-02-22 20:34:38 -03:00
Daniel Dickinson
c5287ef15f Merge pull request #663 from NeoRaider/styleable-checkboxes
luci-base: view: make checkboxes and radio buttons styleable
2016-12-10 06:36:01 -05:00
Christian Schoenebeck
475b74b9bf luci-app-ddns: update to support ddns-scripts 2.7.6
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-12-04 21:37:17 +01:00
Hannu Nyman
185e4c1332 i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-09-30 09:48:56 +03:00
Christian Schoenebeck
a043bca0ed luci-app-ddns: correct required ddns-script version
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-09-25 10:57:29 +02:00
Christian Schoenebeck
2d9472db9f luci-app-ddns: ignore if name lookup progs not supporting force ip version
- 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-09-25 10:53:13 +02:00
Matheus Dal Mago
23fa83dc7f luci-app-ddns: adding pt-br translation
Signed-off-by: Matheus Dal Mago <matheusdalmago10@gmail.com>
2016-07-02 17:57:39 -03:00
Christian Schoenebeck
c37eb36207 luci-app-ddns: - fix handling of parameter "is_glue" and "dns_seerver"
- fix handling of parameter "is_glue" and "dns_seerver"
- depends on https://github.com/openwrt/packages/pull/2875

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-06-18 21:58:02 +02:00
Mathias Kresin
59d391b5bd luci-app-ddns: pass the is_glue option value to the helper
Signed-off-by: Mathias Kresin <dev@kresin.me>
2016-06-12 12:41:17 +02:00
Hannu Nyman
f4af114dbc i18n: sync translations
sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-05-30 10:24:47 +03:00
Christian Schoenebeck
db8bb549aa luci-app-ddns: adapt to support khost (Knot DNS) and drill (ddns-scripts 2.7.1)
adapt to support khost (Knot DNS) and drill (ddns-scripts 2.7.1)

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-05-08 19:26:53 +02:00
Christian Schoenebeck
c2f22c90ac fix problem not correctly handling "Bind Network" field
- fix problem not correctly handling "Bind Network" field #699
- some german translation extensions

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-04-09 19:44:08 +02:00
Stefan Weil
7dbf3644ac applications/luci-app-ddns: Fix typos (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-03-29 09:12:27 +02:00
Hannu Nyman
6b9a7433bc i18n: sync translations
Sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-03-21 12:46:46 +02:00
Christian Schoenebeck
e1fb9e579a luci-app-ddns: fixes because uclient-fetch support "force ip version"
- 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-03-07 10:56:07 +01:00
Matthias Schiffer
4de35274ca luci-base: view: make checkboxes and radio buttons styleable
Add an empty, normally invisible label after checkboxes and radio buttons
with cbi-input-{checkbox,radio} classes to allow CSS styling them as
suggested on http://www.paulund.co.uk/style-checkboxes-with-css

Signed-off-by: Nils Schneider <nils@nilsschneider.net>
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2016-03-03 22:06:39 +01:00
Hannu Nyman
06cf8b1b6f i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-02-26 15:17:01 +02:00
Christian Schoenebeck
e4856c7631 luci-app-ddns: some fixes
- fixes for https://dev.openwrt.org/ticket/21787
- changed detection of BusyBox nslookup compiled with musl, thanks to Arjen de Korte

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-02-06 16:33:59 +01:00
Hannu Nyman
8ae57f6204 i18n: Sync translations
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-02-03 11:43:10 +02:00
Christian Schöenebeck
7f57a70110 luci-app-ddns: bump to version 2.4.0-1
- 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>
2016-01-30 19:32:55 +01:00
Jo-Philipp Wich
8eaac4b637 Use numeric prefixes for uci-defaults scripts
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-27 16:50:19 +01:00
Christian Schoenebeck
2dd9ccef69 luci-app-ddns: removing unneeded assert
- remove unneeded assert() in tools/ddns.lua
- correct PKG_VERSION to the correct value from controller/ddns.lua

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-12-31 12:14:13 +01:00
Jan Čermák
6abd84269d luci-app-ddns: use relative path to luci.mk
Signed-off-by: Jan Čermák <jan.cermak@nic.cz>
2015-12-21 14:08:47 +01:00
Hannu Nyman
bac5f2cebf i18n: sync translations
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-12-06 13:23:38 +02:00
Christian Schoenebeck
28d86aeec5 luci-app-ddns: rollup to 2.3.0 to reflect changes on ddns-scripts
- 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-11-15 11:42:43 +01:00