Commit Graph
35 Commits
Author SHA1 Message Date
James Valleroy dda0f311b2 xmpp: Disable TLS on http-bind port (Closes: #239). 2015-10-04 18:57:40 -04:00
Sunil Mohan Adapa 35d3244636 xmpp: Minor identation fixes 2015-09-01 22:41:53 +05:30
James Valleroy 162b28aafe xmpp: Replace host list instead of adding during domainname change (Closes #167). 2015-08-30 19:16:14 -04:00
Sunil Mohan Adapa c417c12436 xmpp: Implement diagnostics
- Mostly moved from freedombox-setup.
2015-08-29 06:22:01 -04:00
James Valleroy d144f6634a Bug fixes:
Check if ejabberd is installed when running actions triggered by signals.
Encode LDAP passwords as bytes.
2015-07-23 22:30:50 +05:30
James Valleroy 97220b89f3 xmpp: Update module layout to match other modules.
Split forms and views into separate files.
Add configuration form to enable/disable the service.
2015-07-23 22:30:50 +05:30
James Valleroy 6bbc622b1a xmpp: Remove account registration and in-band configuration. 2015-07-23 22:30:50 +05:30
James Valleroy b840875c16 xmpp: Always use LDAP authentication. 2015-07-23 22:30:50 +05:30
Sunil Mohan Adapa d650273760 xmpp: Use webserver action utilties 2015-07-19 19:56:05 -04:00
Sunil Mohan Adapa 3b6af2f29c Use only action utilities for service management
- When disabling a service, ignore if unable to stop the service.
2015-07-19 19:54:13 -04:00
Sunil Mohan Adapa 82090af423 ldap: Minor styling fixes 2015-06-25 23:40:24 +05:30
James Valleroy 73a03c3b39 xmpp: Merge actions into single file. 2015-06-12 15:49:41 +05:30
Sunil Mohan Adapa 393095db4e xmpp: Remove special handling for empty arguments
- As tested in the updated test case, subprocess module can send empty
  arguments properly to the invoked commands.  No special handling is
  necessary.
2015-05-26 16:10:54 +05:30
James Valleroy 128aa42873 xmpp: Enable jwchat apache conf after install. 2015-05-24 17:25:54 +05:30
James Valleroy ca61649105 xmpp: Preseed debconf values before ejabberd and jwchat packages are installed. 2015-05-24 17:25:54 +05:30
Sunil Mohan Adapa a4b33e07c8 xmpp: List all configured vhosts during user registration
Try to make the terminology a bit more consistent by renaming server ->
vhost and server -> domainname according to the situation.
2015-03-30 01:52:31 +05:30
James Valleroy dae7abd00f Use domainname as ejabberd host.
Only use hostname when domainname is blank.
2015-03-30 01:52:31 +05:30
Sunil Mohan Adapa b3e8e53c73 Use package framework for installing ejabberd and jwchat 2015-01-05 00:27:45 +05:30
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 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 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 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
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 2751a8e848 Convert xmpp-register action to python. 2014-11-30 15:24:32 +05:30
James Valleroy 39e441e2b9 Add action to check if ejabberd is installed.
If not installed, show instructions on how to install it.
2014-11-30 15:23:25 +05:30