105 Commits

Author SHA1 Message Date
Daniel Steglich
1075665a90 fixed indention 2015-03-04 10:28:28 +00:00
Daniel Steglich
ad1d94f6a6 changed success/failure storage after update is done via update URL 2015-03-04 10:17:48 +00:00
Daniel Steglich
68bd749164 sorround update URL with double qoutes 2015-03-04 10:01:48 +00:00
Daniel Steglich
5c5134f233 store successful update events to be displayed on status page 2015-03-04 09:18:53 +00:00
Daniel Steglich
8bcea1fdae do not show single quotes arround the update URL 2015-03-03 22:46:32 +01:00
Daniel Steglich
145028d518 added function to replace vars from update URL 2015-03-03 22:35:28 +01:00
Daniel Steglich
81ad2019b1 use global defined string variables 2015-03-03 21:18:31 +01:00
Daniel Steglich
875c24e213 added comment lines 2015-03-03 21:14:55 +01:00
Daniel Steglich
b782f36b28 consistent use of dollar bracket to assign variables from system call 2015-03-03 21:10:04 +01:00
Daniel Steglich
f611614c14 consistent use of curly brackets 2015-03-03 21:07:07 +01:00
Daniel Steglich
a2e8a0ec8a prepared update URL functionality (implemented new parameters) 2015-03-02 23:39:28 +01:00
Daniel Steglich
ffcfccb20f beautyfied and refactored code 2015-03-02 20:56:46 +01:00
Daniel Steglich
5b71ce815c cat on a empty string will block the script 2015-02-24 08:05:54 +00:00
Daniel Steglich
fa3b5ae9e6 create config dir if not exist 2015-02-23 20:03:36 +00:00
Daniel Steglich
c0587fd9df reduce retry conuter to avoid UI blocking time 2015-02-23 12:41:28 +00:00
Daniel Steglich
411abfe954 use start-stop-daemon to avoid hanging web page if ez-ipupdate tool is blocking 2015-01-15 21:30:25 +00:00
Daniel Steglich
d2fdf1d403 fixed an issue where first update after initial configuration will not work because the cronjob does not recognize the ip change 2015-01-05 21:14:07 +00:00
Daniel Steglich
91cc161f96 fixed indention 2015-01-05 20:48:45 +00:00
Daniel Steglich
6b6e7f695f improved robustness of update script in case of connection trouble (wget may hang a long time if DNS fails or route is unavailable) 2015-01-05 17:08:15 +00:00
Daniel Steglich
cb52d7fcf0 do not report errors on first run 2015-01-05 16:20:28 +00:00
Daniel Steglich
e91aa7fa44 removed obsolete install options because installation process is done by package framework now 2015-01-05 11:33:28 +00:00
Daniel Steglich
6c214c915c Merge remote-tracking branch 'upstream/master' into dynamicdns 2015-01-04 23:52:14 +01:00
Daniel Steglich
a2ffb64996 fixed status update if nothing was done 2015-01-04 22:24:32 +00:00
Daniel Steglich
69c043fefb fixed reading uptime from system 2015-01-04 23:16:46 +01:00
Daniel Steglich
7cb98f2122 added install command to action script 2015-01-04 22:04:40 +01:00
Sunil Mohan Adapa
b3e8e53c73 Use package framework for installing ejabberd and jwchat 2015-01-05 00:27:45 +05:30
Daniel Steglich
0f66b22a4a refactored naming from dynamicDNS to lowercase dynamicdns 2015-01-04 18:53:39 +00:00
Sunil Mohan Adapa
c7f27e493e Use package framework for installing tor 2015-01-05 00:13:20 +05:30
Sunil Mohan Adapa
7b45ad1813 Use package framework for installing pagekite 2015-01-05 00:13:19 +05:30
Sunil Mohan Adapa
d79f346591 Use package framework for installing firewalld 2015-01-05 00:13:19 +05:30
Sunil Mohan Adapa
9b9d112927 Use package framework for installing ownCloud 2015-01-05 00:13:19 +05:30
Daniel Steglich
eb80d3c68a some args are optional, do not return errors 2015-01-04 14:31:41 +01:00
Daniel Steglich
af22962bbe fixed indentions 2015-01-04 14:28:02 +01:00
Daniel Steglich
56208e007d added a module and a action script to manage ez-ipupdate tool, which provides dynamic IP updates to a gnudip dynamic DNS Server 2015-01-04 12:14:23 +00:00
James Valleroy
7680d398a6 Use FQDN instead of hostname when registering an account. 2015-01-03 14:43:51 +05:30
James Valleroy
3d7de0778b Allow user to change domain name, then determine the FQDN from it. 2015-01-03 14:43:51 +05:30
James Valleroy
87b860bff4 Add a configuration field to change FQDN. 2015-01-03 14:43:50 +05:30
James Valleroy
01bea7808c Don't change ejabberd hosts or jwchat sitename when changing hostname.
Update these only when the domain name is changed.
2015-01-03 14:43:50 +05:30
James Valleroy
b8a7007552 Remove unnecessary ejabberdctl call. 2015-01-03 14:43:50 +05:30
James Valleroy
8c96519e34 Use correct node names for ejabberd. 2015-01-03 14:43:50 +05:30
James Valleroy
126d466dc7 Use mnesia-change-nodename to update ejabberd backup database.
As Sunil suggested, rearrange commands so we can do this with only 1 ejabberd restart.
2015-01-03 14:43:50 +05:30
James Valleroy
90c9e3b9a8 Convert xmpp-pre-hostname-change to python, merge into xmpp action file. 2015-01-03 14:43:50 +05:30
James Valleroy
219b7ff862 Apply patch from Sunil to correctly set hostname in systemd environment. 2015-01-03 14:43:50 +05:30
James Valleroy
b98a9ad84d Don't delete the ejabberd backup database if it fails to load. 2015-01-03 14:43:50 +05:30
James Valleroy
5bee775bc8 Fix some issues with replacing hostname in xmpp config. 2015-01-03 14:43:50 +05:30
James Valleroy
079d774476 Use regexes to relax matches when updating xmpp hostname. 2015-01-03 14:43:50 +05:30
James Valleroy
6d3c39d166 Make sure new hostname will show up immediately. 2015-01-03 14:43:50 +05:30
James Valleroy
c12fbec30f Change hostname for some more fields that may appear in ejabberd backup database. 2015-01-03 14:43:50 +05:30
James Valleroy
7fd611a5c9 Only modify specified lines in ejabberd backup database when changing hostname. 2015-01-03 14:43:50 +05:30
James Valleroy
48b6ff3728 Store ejabberd backup in non-world-readable location. 2015-01-03 14:43:50 +05:30