/[smecontribs]/rpms/smeserver-ddclient/contribs10/smeserver-ddclient-1.3.0-Update-SM2-code-for-new-services-and-protocols.patch
ViewVC logotype

Diff of /rpms/smeserver-ddclient/contribs10/smeserver-ddclient-1.3.0-Update-SM2-code-for-new-services-and-protocols.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.3 by brianr, Mon Dec 4 15:19:27 2023 UTC Revision 1.7 by brianr, Mon Dec 18 10:50:14 2023 UTC
# Line 1  Line 1 
1    diff -urN smeserver-ddclient-1.3.0.old/createlinks smeserver-ddclient-1.3.0/createlinks
2    --- smeserver-ddclient-1.3.0.old/createlinks    2023-11-10 16:11:05.855271810 +0000
3    +++ smeserver-ddclient-1.3.0/createlinks        2023-12-18 10:46:05.082393198 +0000
4    @@ -48,3 +48,6 @@
5     $event = 'post-upgrade';
6      templates2events("/etc/ddclient/ddclient.conf", $event);
7      templates2events("/etc/ppp/ip-up.local", $event);
8    +
9    +# and create an empty cache
10    +safe_touch("/var/cache/ddclient/ddclient.cache")
11  diff -urN smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers smeserver-ddclient-1.3.0/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers  diff -urN smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers smeserver-ddclient-1.3.0/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers
12  --- smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers        2023-11-10 16:11:05.911271972 +0000  --- smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers        2023-11-10 16:11:05.911271972 +0000
13  +++ smeserver-ddclient-1.3.0/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers    2023-12-04 14:55:00.000000000 +0000  +++ smeserver-ddclient-1.3.0/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers    2023-12-14 11:40:00.000000000 +0000
14  @@ -57,10 +57,11 @@  @@ -52,15 +52,16 @@
15            } elsif ( $method eq 'ip') {
16                    # we want to force manually
17                    $OUT.="usev4=ipv4, ipv4=$ForceIP \n";
18    -       } elsif ( $method eq 'cmd') {
19    -               $OUT .="usev4=cmd, cmdv4='$cmd'\n";
20    +       } elsif ( $method eq 'cmdv4') {
21    +               $OUT .="usev4=cmdv4, cmdv4='$cmd'\n";
22          } else {          } else {
23                  # fw method                  # fw method
24                  my $fwaddress = $ddclient{'fwaddress'}||'';                  my $fwaddress = $ddclient{'fwaddress'}||'';
# Line 14  diff -urN smeserver-ddclient-1.3.0.old/r Line 31  diff -urN smeserver-ddclient-1.3.0.old/r
31                  $OUT .= ", fw-login=$fwlogin " if ( $fwlogin ne '' );                  $OUT .= ", fw-login=$fwlogin " if ( $fwlogin ne '' );
32                  $OUT .= ", fw-password=$fwpassword " if ( $fwpassword ne '' );                  $OUT .= ", fw-password=$fwpassword " if ( $fwpassword ne '' );
33                  $OUT .= ", fwv4-skip='$fwskip' " if ( $fwskip ne '' );                  $OUT .= ", fwv4-skip='$fwskip' " if ( $fwskip ne '' );
34    diff -urN smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/ddclient.service.d/50koozali.conf/20Service smeserver-ddclient-1.3.0/root/etc/e-smith/templates/usr/lib/systemd/system/ddclient.service.d/50koozali.conf/20Service
35    --- smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/ddclient.service.d/50koozali.conf/20Service  2023-11-10 16:11:05.857271816 +0000
36    +++ smeserver-ddclient-1.3.0/root/etc/e-smith/templates/usr/lib/systemd/system/ddclient.service.d/50koozali.conf/20Service      2023-12-16 10:40:00.000000000 +0000
37    @@ -1,7 +1,7 @@
38     {
39     $debug   = (($ddclient{'debug'}   eq 'enabled') ? "debug"   : "nodebug");
40     $verbose = (($ddclient{'verbose'} eq 'enabled') ? "verbose" : "noverbose");
41    -$quiet   = (($ddclient{'quiet'}   eq 'enabled') ? "quiet"   : "noquiet");
42    +$quiet   = (($ddclient{'quiet'}   eq 'disabled') ? "noquiet"   : "quiet");
43     $syslog  = (($ddclient{'syslog'}  eq "enabled") ? "syslog"  : "nosyslog");
44     $OUT .= "\n";
45     $OUT .= "[Service]\n";
46    diff -urN smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates.metadata/etc/ddclient/ddclient.conf smeserver-ddclient-1.3.0/root/etc/e-smith/templates.metadata/etc/ddclient/ddclient.conf
47    --- smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates.metadata/etc/ddclient/ddclient.conf 2023-11-10 16:11:05.785271609 +0000
48    +++ smeserver-ddclient-1.3.0/root/etc/e-smith/templates.metadata/etc/ddclient/ddclient.conf     2023-12-15 11:54:47.841967164 +0000
49    @@ -1,3 +1,3 @@
50     UID="ddclient"
51     GID="ddclient"
52    -PERMS=0644
53    +PERMS=0600
54  diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/lib/SrvMngr/Controller/Ddclient.pm smeserver-ddclient-1.3.0/root/usr/share/smanager/lib/SrvMngr/Controller/Ddclient.pm  diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/lib/SrvMngr/Controller/Ddclient.pm smeserver-ddclient-1.3.0/root/usr/share/smanager/lib/SrvMngr/Controller/Ddclient.pm
55  --- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/lib/SrvMngr/Controller/Ddclient.pm     2023-11-10 16:11:05.915271983 +0000  --- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/lib/SrvMngr/Controller/Ddclient.pm     2023-11-10 16:11:05.915271983 +0000
56  +++ smeserver-ddclient-1.3.0/root/usr/share/smanager/lib/SrvMngr/Controller/Ddclient.pm 2023-12-04 14:53:00.000000000 +0000  +++ smeserver-ddclient-1.3.0/root/usr/share/smanager/lib/SrvMngr/Controller/Ddclient.pm 2023-12-14 11:33:00.000000000 +0000
57  @@ -114,90 +114,164 @@  @@ -114,90 +114,164 @@
58    
59   my %ddc_datas = ();   my %ddc_datas = ();
# Line 26  diff -urN smeserver-ddclient-1.3.0.old/r Line 63  diff -urN smeserver-ddclient-1.3.0.old/r
63  +       # Router/Firewall devices from which it can get ip address  +       # Router/Firewall devices from which it can get ip address
64  +       #  +       #
65  +       my $devices = ( [  +       my $devices = ( [
66  +               [ '2wire' => '2Wire 1701HG Gateway' ],  +               [ '2Wire 1701HG Gateway' => '2wire' ],
67  +               [ '3com-3c886a' => '3com 3c886a 56k Lan Modem' ],  +               [ '3com 3c886a 56k Lan Modem' => '3com-3c886a' ],
68  +               [ '3com-oc-remote812' => '3com OfficeConnect Remote 812' ],  +               [ '3com OfficeConnect Remote 812' => '3com-oc-remote812' ],
69  +               [ 'alcatel-510' => 'Alcatel Speed Touch 510' ],  +               [ 'Alcatel Speed Touch 510' => 'alcatel-510' ],
70  +               [ 'alcatel-530' => 'Alcatel/Thomson SpeedTouch 530' ],  +               [ 'Alcatel/Thomson SpeedTouch 530' => 'alcatel-530' ],
71  +               [ 'alcatel-stp' => 'Alcatel Speed Touch Pro' ],  +               [ 'Alcatel Speed Touch Pro' => 'alcatel-stp' ],
72  +               [ 'allnet-1298' => 'Allnet 1298' ],  +               [ 'Allnet 1298' => 'allnet-1298' ],
73  +               [ 'cayman-3220h' => 'Cayman 3220-H DSL' ],  +               [ 'Cayman 3220-H DSL' => 'cayman-3220h' ],
74  +               [ 'dlink-524' => 'D-Link DI-524' ],  +               [ 'D-Link DI-524' => 'dlink-524' ],
75  +               [ 'dlink-604' => 'D-Link DI-604' ],  +               [ 'D-Link DI-604' => 'dlink-604' ],
76  +               [ 'D-Link DI-614+' => 'dlink-614' ],  +               [ 'dlink-614' => 'D-Link DI-614+' ],
77  +               [ 'E-tech Router' => 'e-tech' ],  +               [ 'e-tech' => 'E-tech Router' ],
78  +               [ 'ELSA LanCom DSL/10 DSL FW' => 'elsa-lancom-dsl10' ],  +               [ 'elsa-lancom-dsl10' => 'ELSA LanCom DSL/10 DSL FW' ],
79  +               [ 'ELSA LanCom DSL/10 DSL FW (isdn ch01)' => 'elsa-lancom-dsl10-ch01' ],  +               [ 'elsa-lancom-dsl10-ch01' => 'ELSA LanCom DSL/10 DSL FW (isdn ch01)' ],
80  +               [ 'ELSA LanCom DSL/10 DSL FW (isdn ch01)' => 'elsa-lancom-dsl10-ch02' ],  +               [ 'elsa-lancom-dsl10-ch02' => 'ELSA LanCom DSL/10 DSL FW (isdn ch01)' ],
81  +               [ 'Linksys FW' => 'linksys' ],  +               [ 'linksys' => 'Linksys FW' ],
82  +               [ 'Linksys RV042 Dual Homed Router WAN Port 2' => 'linksys-rv042-wan1' ],  +               [ 'linksys-rv042-wan1' => 'Linksys RV042 Dual Homed Router WAN Port 2' ],
83  +               [ 'Linksys RV042 Dual Homed Router WAN Port 2' => 'linksys-rv042-wan2' ],  +               [ 'linksys-rv042-wan2' => 'Linksys RV042 Dual Homed Router WAN Port 2' ],
84  +               [ 'Linksys FW version 2' => 'linksys-ver2' ],  +               [ 'linksys-ver2' => 'Linksys FW version 2' ],
85  +               [ 'Linksys FW version 3' => 'linksys-ver3' ],  +               [ 'linksys-ver3' => 'Linksys FW version 3' ],
86  +               [ 'Linksys WCG200 FW' => 'linksys-wcg200' ],  +               [ 'linksys-wcg200' => 'Linksys WCG200 FW' ],
87  +               [ 'Linksys WRT854G FW' => 'linksys-wrt854g' ],  +               [ 'linksys-wrt854g' => 'Linksys WRT854G FW' ],
88  +               [ 'MaxGate UGATE-3x00 FW' => 'maxgate-ugate3x00' ],  +               [ 'maxgate-ugate3x00' => 'MaxGate UGATE-3x00 FW' ],
89  +               [ 'NetComm NB3' => 'netcomm-nb3' ],  +               [ 'netcomm-nb3' => 'NetComm NB3' ],
90  +               [ 'netgear-dg834g' => 'netgear-dg834g' ],  +               [ 'netgear-dg834g' => 'netgear-dg834g' ],
91  +               [ 'Netgear RP614 FW' => 'netgear-rp614' ],  +               [ 'netgear-rp614' => 'Netgear RP614 FW' ],
92  +               [ 'Netgear FW' => 'netgear-rt3xx' ],  +               [ 'netgear-rt3xx' => 'Netgear FW' ],
93  +               [ 'Netgear WGT624' => 'netgear-wgt624' ],  +               [ 'netgear-wgt624' => 'Netgear WGT624' ],
94  +               [ 'Netgear WPN824 FW' => 'netgear-wpn824' ],  +               [ 'netgear-wpn824' => 'Netgear WPN824 FW' ],
95  +               [ 'Netopia R910 FW' => 'netopia-r910' ],  +               [ 'netopia-r910' => 'Netopia R910 FW' ],
96  +               [ 'olitec-SX200' => 'olitec-SX200' ],  +               [ 'olitec-SX200' => 'olitec-SX200' ],
97  +               [ 'Linksys RTP300' => 'rtp300' ],  +               [ 'rtp300' => 'Linksys RTP300' ],
98  +               [ 'Siemens SpeedStream 4200' => 'siemens-ss4200' ],  +               [ 'siemens-ss4200' => 'Siemens SpeedStream 4200' ],
99  +               [ 'Sitecom DC-202 FW' => 'sitecom-dc202' ],  +               [ 'sitecom-dc202' => 'Sitecom DC-202 FW' ],
100  +               [ 'SMC Barricade FW' => 'smc-barricade' ],  +               [ 'smc-barricade' => 'SMC Barricade FW' ],
101  +               [ 'SMC Barricade FW (7004VBR model config)' => 'smc-barricade-7004vbr' ],  +               [ 'smc-barricade-7004vbr' => 'SMC Barricade FW (7004VBR model config)' ],
102  +               [ 'SMC Barricade 7401BRA FW' => 'smc-barricade-7401bra' ],  +               [ 'smc-barricade-7401bra' => 'SMC Barricade 7401BRA FW' ],
103  +               [ 'SMC Barricade FW (alternate config)' => 'smc-barricade-alt' ],  +               [ 'smc-barricade-alt' => 'SMC Barricade FW (alternate config)' ],
104  +               [ 'SOHOWare BroadGuard NBG800' => 'sohoware-nbg800' ],  +               [ 'sohoware-nbg800' => 'SOHOWare BroadGuard NBG800' ],
105  +               [ 'Sveasoft WRT54G/WRT54GS' => 'sveasoft' ],  +               [ 'sveasoft' => 'Sveasoft WRT54G/WRT54GS' ],
106  +               [ 'Thomson SpeedTouch 536v6' => 'thomson-st536v6' ],  +               [ 'thomson-st536v6' => 'Thomson SpeedTouch 536v6' ],
107  +               [ 'Thomson/Technicolor TG782' => 'thomson-tg782' ],  +               [ 'thomson-tg782' => 'Thomson/Technicolor TG782' ],
108  +               [ 'Vigor 2200 USB' => 'vigor-2200usb' ],  +               [ 'vigor-2200usb' => 'Vigor 2200 USB' ],
109  +               [ 'Watchguard Edge X FW' => 'watchguard-edge-x' ],  +               [ 'watchguard-edge-x' => 'Watchguard Edge X FW' ],
110  +               [ 'Watchguard SOHO FW' => 'watchguard-soho' ],  +               [ 'watchguard-soho' => 'Watchguard SOHO FW' ],
111  +               [ 'Westell C90-610015-06 DSL Router' => 'westell-6100' ],  +               [ 'westell-6100' => 'Westell C90-610015-06 DSL Router' ],
112  +               [ 'Xsense Aero' => 'xsense-aero' ]  +               [ 'xsense-aero' => 'Xsense Aero' ]      
113  +       ] );  +       ] );
114  +        return $devices;  +        return $devices;
115  +  +
# Line 93  diff -urN smeserver-ddclient-1.3.0.old/r Line 130  diff -urN smeserver-ddclient-1.3.0.old/r
130  +       # Web Services from which it can get ip address  +       # Web Services from which it can get ip address
131  +       #  +       #
132  +       my $webservices = ( [  +       my $webservices = ( [
133  +               [ 'dyndnshttp://checkip.dyndns.org/' => 'dyndns' ],  +               [ 'dyndns-http://checkip.dyndns.org/' => 'dyndns' ],
134  +               [ 'freednshttps://freedns.afraid.org/dynamic/check.php' => 'freedns' ],  +               [ 'freedns-https://freedns.afraid.org/dynamic/check.php' => 'freedns' ],
135  +               [ 'googledomainshttps://domains.google.com/checkip' => 'googledomains' ],  +               [ 'googledomains-https://domains.google.com/checkip' => 'googledomains' ],
136  +               [ 'hehttps://checkip.dns.he.net/' => 'he' ],  +               [ 'he-https://checkip.dns.he.net/' => 'he' ],
137  +               [ 'ip4only.mehttps://ip4only.me/api/' => 'ip4only.me' ],  +               [ 'ip4only.me-https://ip4only.me/api/' => 'ip4only.me' ],
138  +               [ 'ip6only.mehttps://ip6only.me/api/' => 'ip6only.me' ],  +               [ 'ip6only.me-https://ip6only.me/api/' => 'ip6only.me' ],
139  +               [ 'ipify-ipv4https://api.ipify.org/' => 'ipify-ipv4' ],  +               [ 'ipify-ipv4-https://api.ipify.org/' => 'ipify-ipv4' ],
140  +               [ 'ipify-ipv6https://api6.ipify.org/' => 'ipify-ipv6' ],  +               [ 'ipify-ipv6-https://api6.ipify.org/' => 'ipify-ipv6' ],
141  +               [ 'loopiahttps://dns.loopia.se/checkip/checkip.php' => 'loopia' ],  +               [ 'loopia:-https://dns.loopia.se/checkip/checkip.php' => 'loopia' ],
142  +               [ 'myonlineportalhttps://myonlineportal.net/checkip' => 'myonlineportal' ],  +               [ 'myonlineportal-https://myonlineportal.net/checkip' => 'myonlineportal' ],
143  +               [ 'noip-ipv4http://ip1.dynupdate.no-ip.com/' => 'noip-ipv4' ],  +               [ 'noip-ipv4-http://ip1.dynupdate.no-ip.com/' => 'noip-ipv4' ],
144  +               [ 'noip-ipv6http://ip1.dynupdate6.no-ip.com/' => 'noip-ipv6' ],  +               [ 'noip-ipv6-http://ip1.dynupdate6.no-ip.com/' => 'noip-ipv6' ],
145  +               [ 'nsupdate.info-ipv4https://ipv4.nsupdate.info/myip' => 'nsupdate.info-ipv4' ],  +               [ 'nsupdate.info-ipv4-https://ipv4.nsupdate.info/myip' => 'nsupdate.info-ipv4' ],
146  +               [ 'nsupdate.info-ipv6https://ipv6.nsupdate.info/myip' => 'nsupdate.info-ipv6' ],  +               [ 'nsupdate.info-ipv6-https://ipv6.nsupdate.info/myip' => 'nsupdate.info-ipv6' ],
147  +               [ 'zoneedithttps://dynamic.zoneedit.com/checkip.html' => 'zoneedit' ]  +               [ 'zoneedit-https://dynamic.zoneedit.com/checkip.html' => 'zoneedit' ]
148  +       ] );  +       ] );
149  +       return $webservices  +       return $webservices
150  +  +
# Line 278  diff -urN smeserver-ddclient-1.3.0.old/r Line 315  diff -urN smeserver-ddclient-1.3.0.old/r
315  +                       [ $c->l('Router/Firewall') => 'router' ],  +                       [ $c->l('Router/Firewall') => 'router' ],
316  +                       [ $c->l('Interface') => 'if' ],  +                       [ $c->l('Interface') => 'if' ],
317  +                       [ $c->l('IP') => 'ip' ],  +                       [ $c->l('IP') => 'ip' ],
318  +                       [ $c->l('Command') => 'cmd' ]  +                       [ $c->l('Command') => 'cmdv4' ]
319  +               ]  +               ]
320       );       );
321    
# Line 443  diff -urN smeserver-ddclient-1.3.0.old/r Line 480  diff -urN smeserver-ddclient-1.3.0.old/r
480       }       }
481       else { $ddc_datas{"error"} = $retmsg; }       else { $ddc_datas{"error"} = $retmsg; }
482       do_display( $c, %ddc_datas );       do_display( $c, %ddc_datas );
483    @@ -450,7 +541,7 @@
484    
485             foreach $domain ( sort @virtualDomains ) {
486                 my %properties = $domaindb->get($domain)->props;
487    -            my $test = $domaindb->get_prop( $domain, "dns" ) || '';
488    +            my $test = $domaindb->get($domain) || '';
489                 my %extraprops;
490                 if ( $test ne '' ) {
491                     %extraprops = $domaindb->get($domain)->props;
492  @@ -567,6 +658,8 @@  @@ -567,6 +658,8 @@
493       my $Extinterface = $ddretrieve->prop('Extinterface') || '';       my $Extinterface = $ddretrieve->prop('Extinterface') || '';
494       my $cmd          = $ddretrieve->prop('cmd') || '';       my $cmd          = $ddretrieve->prop('cmd') || '';
# Line 632  diff -urN smeserver-ddclient-1.3.0.old/r Line 678  diff -urN smeserver-ddclient-1.3.0.old/r
678       else {       else {
679  diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Ddclient/en.pm smeserver-ddclient-1.3.0/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Ddclient/en.pm  diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Ddclient/en.pm smeserver-ddclient-1.3.0/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Ddclient/en.pm
680  --- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Ddclient/en.pm        2023-11-10 16:11:05.916271986 +0000  --- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Ddclient/en.pm        2023-11-10 16:11:05.916271986 +0000
681  +++ smeserver-ddclient-1.3.0/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Ddclient/en.pm    2023-12-01 16:35:00.000000000 +0000  +++ smeserver-ddclient-1.3.0/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Ddclient/en.pm    2023-12-18 09:29:00.000000000 +0000
682  @@ -80,7 +80,7 @@  @@ -80,46 +80,48 @@
683   'CLOUDNS'=>'CLOUDNS www.cloudns.net',   'CLOUDNS'=>'CLOUDNS www.cloudns.net',
684   # End of Service descriptions   # End of Service descriptions
685    
686  -# v3.11.1 Service descriptions:  -# v3.11.1 Service descriptions:
687  +# v3.11.x Service descriptions:  -"1984" => "https://kb.1984hosting.com/doku.php?id=freedns",
688   "1984" => "https://kb.1984hosting.com/doku.php?id=freedns",  -"changeip" => "https://changeip.com",
689   "changeip" => "https://changeip.com",  -"cloudflare" => "https://cloudflare.com",
690   "cloudflare" => "https://cloudflare.com",  -"cloudns" => "https://cloudns.com",
691  @@ -118,7 +118,7 @@  -"digitalocean" => "https://digitalocean.com",
692   "woima" => "http://woima.com",  -"dinahosting" => "https://dinahosting.com",
693   "yandex" => "https://yandex.com",  -"dnsexit" => "https://dnsexit.com/",
694   "zoneedit" => "https://www.zoneedit.com/dynamic-dns/",  -"dnsmadeeasy" => "https://dnsmadeeasy.com",
695    -"domeneshop" => "https://domeneshop.com",
696    -"dondominio" => "https://dondominio.com",
697    -"dslreports" => "https://www.dslreports.com/",
698    -"duckdns" => "https://duckdns.com",
699    -"dyndns1" => "https://account.dyn.com/",
700    -"dyndns2" => "https://account.dyn.com/",
701    -"easydns" => "https://easydns.com",
702    -"enom" => "https://enom.com",
703    -"freedns" => "http://freedns.com",
704    -"freemyip" => "https://freemyip.com",
705    -"gandi" => "https://gandi.com",
706    -"godaddy" => "https://godaddy.com",
707    -"googledomains" => "https://googledomains.com",
708    -"hetzner" => "https://hetzner.com",
709    -"infomaniak" => "https://infomaniak.com",
710    -"keysystems" => "https://keysystems.com",
711    -"mythicdyn" => "https://www.mythic-beasts.com/support/api/dnsv2/dynamic-dns",
712    -"namecheap" => "https://namecheap.com",
713    -"nfsn" => "http://nfsn.com",
714    -"njalla" => "https://njalla.com",
715    -"noip" => "https://noip.com",
716    -"nsupdate" => "http://nsupdate.com",
717    -"ovh" => "https://ovh.com",
718    -"porkbun" => "https://porkbun.com",
719    -"regfishde" => "regfishde",
720    -"sitelutions" => "https://sitelutions.com",
721    -"woima" => "http://woima.com",
722    -"yandex" => "https://yandex.com",
723    -"zoneedit" => "https://www.zoneedit.com/dynamic-dns/",
724  -# end of v3.11.1 Service descriptions:  -# end of v3.11.1 Service descriptions:
725    +# v3.11.x Service descriptions:
726    +"1984" => "1984-https://kb.1984hosting.com/doku.php?id=freedns",
727    +"changeip" => "changeip-https://changeip.com",
728    +"cloudflare" => "cloudflare-https://cloudflare.com",
729    +"cloudns" => "cloudns-https://cloudns.com",
730    +"digitalocean" => "digitalocean-https://digitalocean.com",
731    +"dinahosting" => "dinahosting-https://dinahosting.com",
732    +"dnsexit" => "dnsexit-https://dnsexit.com/",
733    +"dnsmadeeasy" => "dnsmadeeasy-https://dnsmadeeasy.com",
734    +"domeneshop" => "domeneshop-https://domeneshop.com",
735    +"dondominio" => "dondominio-https://dondominio.com",
736    +"dslreports" => "dslreports-https://www.dslreports.com/",
737    +"duckdns" => "duckdns-https://duckdns.com",
738    +"dyndns1" => "dyndns1-https://account.dyn.com/",
739    +"dyndns2" => "dyndns2-https://account.dyn.com/",
740    +"easydns" => "easydns-https://easydns.com",
741    +"enom" => "enom-https://enom.com",
742    +"freedns" => "freedns-http://freedns.com",
743    +"freemyip" => "freemyip-https://freemyip.com",
744    +"gandi" => "gandi-https://gandi.com",
745    +"godaddy" => "godaddy-https://godaddy.com",
746    +"googledomains" => "googledomains-https://googledomains.com",
747    +"hetzner" => "hetzner-https://hetzner.com",
748    +"infomaniak" => "infomaniak-https://infomaniak.com",
749    +"keysystems" => "keysystems-https://keysystems.com",
750    +"mythicdyn" => "mythicdyn-https://www.mythic-beasts.com/support/api/dnsv2/dynamic-dns",
751    +"namecheap" => "namecheap-https://namecheap.com",
752    +"nfsn" => "nfsn-http://nfsn.com",
753    +"njalla" => "njalla-https://njalla.com",
754    +"noip" => "noip-https://noip.com",
755    +"nsupdate" => "nsupdate-http://nsupdate.com",
756    +"ovh" => "ovh-https://ovh.com",
757    +"porkbun" => "porkbun-https://porkbun.com",
758    +"regfishde" => "regfishde-regfishde",
759    +"sitelutions" => "sitelutions-https://sitelutions.com",
760    +"woima" => "woima-http://woima.com",
761    +"yandex" => "yandex-https://yandex.com",
762    +"zoneedit" => "zoneedit-https://www.zoneedit.com/dynamic-dns/",
763  +# end of v3.11.x Service descriptions:  +# end of v3.11.x Service descriptions:
764    
765    +'MODIFY_DESCRIPTION' => "You can modify the Dynamic DNS Service that you use and change the username and password",
766    +'CREATE_DESCRIPTION' => "You can create a domain to use for the Dynamic DNS Service that you use and set or change the username and password",
767   'CUSTOMDNS' => 'Custom Dynamic DNS Provider',   'CUSTOMDNS' => 'Custom Dynamic DNS Provider',
768   'CUSTOMDNS_LABEL' => 'Custom server Address',   'CUSTOMDNS_LABEL' => 'Custom server Address',
769  @@ -136,8 +136,8 @@   'CUSTOM_PROTOCOL_LABEL' => 'Custom ddclient Protocol',
770    @@ -136,8 +138,8 @@
771   'DESCRIPTION_LABEL' => 'Domain description',   'DESCRIPTION_LABEL' => 'Domain description',
772   'SUCCESSFULLY_MODIFIED_RETRIEVE_IP' => 'You have successfully modified the retrieve IP options.',   'SUCCESSFULLY_MODIFIED_RETRIEVE_IP' => 'You have successfully modified the retrieve IP options.',
773   'RETRIEVE_METHOD' => 'Method to retrieve new IP:',   'RETRIEVE_METHOD' => 'Method to retrieve new IP:',
# Line 664  diff -urN smeserver-ddclient-1.3.0.old/r Line 780  diff -urN smeserver-ddclient-1.3.0.old/r
780   'web' => 'Web query',   'web' => 'Web query',
781  diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_create_cust.html.ep smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_create_cust.html.ep  diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_create_cust.html.ep smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_create_cust.html.ep
782  --- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_create_cust.html.ep     2020-06-28 09:57:52.000000000 +0100  --- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_create_cust.html.ep     2020-06-28 09:57:52.000000000 +0100
783  +++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_create_cust.html.ep 2023-11-15 16:10:00.000000000 +0000  +++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_create_cust.html.ep 2023-12-18 09:35:00.000000000 +0000
784  @@ -1,6 +1,6 @@  @@ -1,41 +1,43 @@
785   <div id='ddc_createcustom'>  -<div id='ddc_createcustom'>
786    +<div id='createcustom'>
787        <h2>        <h2>
788  -     %= l 'ddc_CUSTOM_DESCRIPTION'  -     %= l 'ddc_CUSTOM_DESCRIPTION'
789  +     %= l 'CUSTOM_DESCRIPTION'  +     %= l 'CREATE_DESCRIPTION'
790        </h2><br>        </h2><br>
791       % my $btn = l('ddc_APPLY');  -    % my $btn = l('ddc_APPLY');
792    +    % my $btn = l('APPLY');
793       %= form_for '/ddclient7' => (method => 'POST') => begin       %= form_for '/ddclient7' => (method => 'POST') => begin
794                    <span class=label>
795    -                       %=l 'ddc_DOMAIN_NAME_LABEL'
796    +                       %=l 'DOMAIN_NAME_LABEL'
797                    </span><span class=data>
798                            %=text_field 'domainName'
799                    </span><br>
800                    <span class=label>
801    -                       %=l 'ddc_DESCRIPTION_LABEL'
802    +                       %=l 'DESCRIPTION_LABEL'
803                    </span><span class=data>
804                            %=text_field 'desc'
805                    </span><br>
806                    <span class=label>
807    -                       %=l 'ddc_SERVERS_LABEL'
808    +                       %=l 'SERVERS_LABEL'
809                    </span><span class=data>
810                            %=select_field dns=>$dnslabels
811                    </span><br>
812    +<!--
813                    <span class=label>
814    -                       %=l 'ddc_CUSTOMDNS_LABEL'
815    +                       %=l 'CUSTOMDNS_LABEL'
816                    </span><span class=data>
817                            %=text_field  'customdns'
818                    </span><br>
819                    <span class=label>
820    -                       %=l 'ddc_CUSTOM_PROTOCOL_LABEL'
821    +                       %=l 'CUSTOM_PROTOCOL_LABEL'
822                    </span><span class=data>
823                            %=text_field  'customprotocol'
824                    </span><br>
825    +-->
826                    <span class=label>
827    -                       %=l 'ddc_NAME_LABEL'
828    +                       %=l 'NAME_LABEL'
829                    </span><span class=data>
830                            %=text_field  'login'
831                    </span><br>
832                    <span class=label>
833    -                       %=l 'ddc_PASSWORD_LABEL'
834    +                       %=l 'PASSWORD_LABEL'
835                    </span><span class=data>
836                            %=password_field 'password',id=>"ddcPass"
837                            %=label_for show=>"Show"
838    @@ -52,7 +54,7 @@
839                            % end
840                    </span><br>
841                    <span class=label>
842    -                       %=l 'ddc_MX'
843    +                       %=l 'MX'
844                    </span><span class=data>
845                            %=text_field 'mx'
846                    </span><br>    
847  diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep  diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep
848  --- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep   2023-11-10 16:11:05.901271943 +0000  --- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep   2023-11-10 16:11:05.901271943 +0000
849  +++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep       2023-11-18 14:56:00.000000000 +0000  +++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep       2023-11-18 14:56:00.000000000 +0000
# Line 735  diff -urN smeserver-ddclient-1.3.0.old/r Line 906  diff -urN smeserver-ddclient-1.3.0.old/r
906                  </span><span class=data>                  </span><span class=data>
907  diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep  diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep
908  --- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep       2023-11-10 16:11:05.902271946 +0000  --- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep       2023-11-10 16:11:05.902271946 +0000
909  +++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep   2023-12-04 10:53:00.000000000 +0000  +++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep   2023-12-14 11:36:00.000000000 +0000
910  @@ -1,4 +1,9 @@  @@ -1,4 +1,9 @@
911   <div id='paramlist'>   <div id='paramlist'>
912  +  <script>  +  <script>
# Line 796  diff -urN smeserver-ddclient-1.3.0.old/r Line 967  diff -urN smeserver-ddclient-1.3.0.old/r
967  +                       %= javascript begin  +                       %= javascript begin
968  +                       function SelectInput() {  +                       function SelectInput() {
969  +                         var method = document.querySelector("#retrievemethod");  +                         var method = document.querySelector("#retrievemethod");
970  +                         const types=['smeIF','smeCMD','web','router','if','ip','cmd','custom'];  +                         const types=['smeIF','smeCMD','web','router','if','ip','cmdv4','custom'];
971  +                         types.forEach((type)=>{  +                         types.forEach((type)=>{
972  +                                 var service = document.querySelector(`.${type}`);  +                                 var service = document.querySelector(`.${type}`);
973  +                                 if (service != null) {  +                                 if (service != null) {
# Line 854  diff -urN smeserver-ddclient-1.3.0.old/r Line 1025  diff -urN smeserver-ddclient-1.3.0.old/r
1025  +                               %=l 'Web service'  +                               %=l 'Web service'
1026  +                       </span><span class=data>  +                       </span><span class=data>
1027  +                               % param retrievewebservice=>$ddc_datas->{"params"}->{"urlcheckip"} unless param 'retrievewebservice';  +                               % param retrievewebservice=>$ddc_datas->{"params"}->{"urlcheckip"} unless param 'retrievewebservice';
1028  +                               %=select_field  retrievewebservice=>$dnslabels  +                               %=select_field  retrievewebservice=>$webservices
1029  +                       </span><br />  +                       </span><br />
1030  +               </div>  +               </div>
1031  +  +
# Line 869  diff -urN smeserver-ddclient-1.3.0.old/r Line 1040  diff -urN smeserver-ddclient-1.3.0.old/r
1040  +               </div>  +               </div>
1041  +                +              
1042  +               %# Only if "cmd" is chosen  +               %# Only if "cmd" is chosen
1043  +               <div class=cmd>  +               <div class=cmdv4>
1044  +                       <span class=label cmd>  +                       <span class=label cmd>
1045  +                               %=l 'RETRIEVE_CMD'  +                               %=l 'RETRIEVE_CMD'
1046  +                       </span><span class=data cmd>  +                       </span><span class=data cmd>
1047  +                               % param retrievecmd=>$ddc_datas->{"params"}->{"cmd"} unless param 'retrievecmd';  +                               % param retrievecmd=>$ddc_datas->{"params"}->{"cmdv4"} unless param 'retrievecmd';
1048  +                               %=text_field  'retrievecmd'  +                               %=text_field  'retrievecmd'
1049  +                       </span><br>  +                       </span><br>
1050  +               </div>  +               </div>


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed