Prosody: New Webmin Module

I would like to request a feature - new module for Prosody XMPP server (https://prosody.im). It's very light and fast XMPP. Up-to-date and supported. It's been added to CentALT repo recently!

It has only one configuration file and very easy to set up!

Could you make a basic module for manually editing .conf file, then display its status and seeing/opening its log files?

There is no really a module for contemporary XMPP servers? How about Prosody?

Status: 
Active

Comments

I'm using Prosody too at the moment, and a Webmin module for it would be great indeed.

Although I guess a simple editor wouldn't really be sufficient, you can easily do that in an SSH shell. A more complex module probably wouldn't be trivial to implement. :) It CAN have multiple config files (by default, all the config files for your domains are in a separate directory), modules have their own files and stuff. It's much more complex than it would seem at first glance.

Otherwise, there's a rudimentary web config interface available for Prosody in its module repository.

Ilia's picture
Submitted by Ilia on Wed, 01/22/2014 - 03:59

It's better to start from basic implementation that can take up to an hour. And then move to more complex one!

Honestly, I don't feel good editing conf files using module fields. It's much safer and easier to edit directly. All I personally need is basic code highlights!

Locutus: Have you updated to latest Prosody or you still using 0.8.2?

It certainly can't hurt to start with it, yes. :) I'm using the Prosody 0.9 nightlies.

Nice! I'm using Ubuntu though. ;) But there's already a repository for the nightlies there you can use with the line deb http://packages.prosody.im/debian precise main in your apt sources.list file.

If you just want to edit the config file, you can use Webmin's Custom Commands module (at Webmin -> Others -> Custom Commands) to create a button that allows editing of the appropriate file. You can also create a button to apply the configuration by restarting the server or whatever is needed.

Ilia's picture
Submitted by Ilia on Thu, 01/23/2014 - 00:40

That sounds like all I need! Thanks!

Having bundled module would be good, anyway! :)