Commit Graph
3161 Commits
Author SHA1 Message Date
Daniel Steglich 6c214c915c Merge remote-tracking branch 'upstream/master' into dynamicdns 2015-01-04 23:52:14 +01:00
fonfon 0cbdd5cf51 bugfix: changing user password didn't work
We manually have to call the form.save() method in form_valid().
Plus tiny cleanups like using SetPasswordForm instead of
AdminPasswordChangeForm.
Note: this allows any logged-in user to change all other user passwords.
2015-01-04 23:32:32 +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
Sunil Mohan Adapa 2015b52798 Release 0.4.2 v0.4.2 2015-01-05 02:38:48 +05:30
Daniel Steglich 7cb98f2122 added install command to action script 2015-01-04 22:04:40 +01:00
Daniel Steglich 08b0f37527 fixed pep8 issue 2015-01-04 20:00:05 +01:00
Daniel Steglich 69bb4f1b36 fixed file permissions 2015-01-04 19:58:07 +01:00
fonfon e905d1a8f2 packagekit: use TemplateView instead of FormView
For the installation procedure a TemplateView is sufficient, and the user
won't be able to edit any form-data on the client-side.
2015-01-05 00:27:45 +05:30
Sunil Mohan Adapa b3e8e53c73 Use package framework for installing ejabberd and jwchat 2015-01-05 00:27:45 +05:30
Daniel Steglich a6de17f4d9 fixed file permissions 2015-01-04 19:57:14 +01:00
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
Sunil Mohan Adapa a4be460538 Introduce framework for checking/installing packages
- Uses PackageKit dameon, Glib library wrapping packagekit DBUS API and
  Python bindings for the Glib library.

- Implement a decorator to wrap views requiring packages.

- Framework allows for parallel operations.  However, doing parallel
  operations hangs because of what appears to be PackageKit backend
  limitations.
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 8e15511b44 some pylint related adjustments 2015-01-04 14:07:55 +01:00
Daniel Steglich 375b591d7e fixed permissions 2015-01-04 13:55:01 +01:00
Daniel Steglich eb63f5c74f pep8 coding guidline adaption 2015-01-04 13:53:29 +01:00
daniel steglich 3bf0079b3b pep8 coding guidline adaption 2015-01-04 13:50:26 +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 588eb7250e Fix xmpp change-hostname options. 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
James Valleroy 298938de73 Signal xmpp module before and after hostname is changed. 2015-01-03 14:43:50 +05:30
James Valleroy 10b234921b Track which section of ejabberd config we are in, and only edit the hosts section.
Check for jwchat config and ejabberd dumpfile before trying to modify them.
2015-01-03 14:43:50 +05:30
James Valleroy 6fc721a727 Convert xmpp-hostname-change to python, merge into xmpp action file. 2015-01-03 14:43:50 +05:30
James Valleroy ff4fd4728c Don't use dpkg-reconfigure to modify configuration files.
It will fail if the files have been modified another way.
2015-01-03 14:43:50 +05:30
James Valleroy 20318b2f25 Use invoke-rc.d to avoid service mask error. Fixes #9. 2015-01-03 14:43:50 +05:30
fonfon 4010b81ecc fixed some flake8 errors 2014-12-15 16:02:56 +01:00
fonfon ae83566653 removed unused 'title' from subsubmenus 2014-12-15 15:54:40 +01:00
Sunil Mohan Adapa 61fefcff01 Minor styling and doc updates related to module cleanup 2014-12-14 17:27:11 +05:30
Sunil Mohan Adapa 90203986f2 Remove modules 'expert_mode' and 'lib'.
The login/logout URLs are now in the 'users' module.
2014-12-14 17:26:05 +05:30