view mod_muc_log_http.wiki @ 163:85482789e90e

mod_group_bookmarks: Fixed typo in example.
author Waqas Hussain <waqas20@gmail.com>
date Fri, 24 Dec 2010 11:43:02 +0500
parents 2b79ecd3ece6
children 646476e373af
line wrap: on
line source

#summary Provides a web interface to stored chatroom logs
#labels Stage-Beta

= Introduction =

This module provides a built-in web interface to view chatroom logs stored by [mod_muc_log].

= Installation =

Just copy the folder muc_log_http as it is, into the modules folder of your Prosody installation.

= Configuration Details =

You need to add muc_log_http to your global modules_enabled, and the configuration options similarly must be put into your Host "`*`" section.

{{{
Host "*"
   modules_enabled = {
       .....
       "muc_log_http";
       .....
   }

   muc_log_http = {
       http_port = 5290; -- default is 5290
       showJoin = false; -- default is true
       showStatus = false; -- default is true
       theme = "prosody"; -- default is theme "prosody"
   }
}}}

*showJoin* sets the default for showing joins or leaves.
*showStatus* sets the default for showing status changes.

The web interface would then be reachable at the address:
{{{
http://example.com:5290/muc_log/
}}}


= TODO =
  * Log bans correctly
  * Let the admin choose to enable logging via room config
  * Quota ~ per day ?!
  * Testing testing :)