Instant Message and Chat via Prosody and Movim
We provide XMPP services via prosody. And we provide an XMPP client via movim.
Prosody
Prosody is installed via debian. It authenticates via Cyrus
SASL, which is configured to
check /etc/passwd via PAM. The control panel simply uses useradd to add
users to the system in order to enable their ability to login to our prosody
server.
Movim
Movim is installed via git.
Initial configuration
After installing movim, run: php daemon.php setAdmin <jid> to set the admin jid.
Once set, the user that logs in with that jid can set administrative settings. We have the following set:
- Restrict suggestions - Only suggest chatrooms, Communities and other contents that are available on the user XMPP server and related services
- Chat only - Disable all the social feature (Communities, Blog…) and keep only the chat ones
- Disable the XMPP registration feature - Remove the XMPP registration flow and buttons from the interface
- Whitelisted servers - We only list mayfirst.org - you cannot use our movim to login to any other XMPP server.
I also manually uploaded the May First banner and configured the banner path.
Upgrade
To upgrade Movim:
- Become the movim-src user:
su - movim-src -s /bin/bash - Change into the src directory:
cd /var/www/movim/web - Run git pull:
git pull - Run composer:
composer install - Exit to root:
exit - Become the www-data user:
su - www-data -s /bin/bash - Change into the src directory:
cd /var/www/movim/web - Run any database upgrade:
composer movim:migrate