From a57f86315ebaf8228e0a14205fb8a83c5862c15c Mon Sep 17 00:00:00 2001 From: Daniel Steglich Date: Fri, 6 Mar 2015 22:04:42 +0100 Subject: [PATCH] added freedns provider --- plinth/modules/dynamicdns/dynamicdns.py | 5 +++-- .../templates/dynamicdns_configure.html | 17 +++++++++++------ 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/plinth/modules/dynamicdns/dynamicdns.py b/plinth/modules/dynamicdns/dynamicdns.py index 94c24561e..cffab9e2e 100644 --- a/plinth/modules/dynamicdns/dynamicdns.py +++ b/plinth/modules/dynamicdns/dynamicdns.py @@ -103,7 +103,8 @@ class ConfigureForm(forms.Form): ('1', 'GnuDIP'), ('2', 'noip.com'), ('3', 'selfhost.bz'), - ('4', 'other update URL')) + ('4', 'freedns.afraid.org'), + ('5', 'other update URL')) enabled = forms.BooleanField(label=_('Enable Dynamic DNS'), required=False) @@ -294,7 +295,7 @@ def get_status(): if not status['dynamicdns_server'] and not status['dynamicdns_update_url']: status['service_type'] = '1' elif not status['dynamicdns_server'] and status['dynamicdns_update_url']: - status['service_type'] = '4' + status['service_type'] = '5' else: status['service_type'] = '1' diff --git a/plinth/modules/dynamicdns/templates/dynamicdns_configure.html b/plinth/modules/dynamicdns/templates/dynamicdns_configure.html index d4c059c2d..356e98ae6 100644 --- a/plinth/modules/dynamicdns/templates/dynamicdns_configure.html +++ b/plinth/modules/dynamicdns/templates/dynamicdns_configure.html @@ -41,13 +41,20 @@ {% block page_js %}