view mod_muc_log_http.wiki @ 494:fb9e558dd1df

add page
author Kim Alvefur <zash@zash.se>
date Tue, 18 Nov 2014 14:03:41 +0100
parents 4573bb828a4d
children
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 global (server-wide) options section:

{{{
	Component "conference.example.com" "muc"
	modules_enabled = {
		.....
		"muc_log";
		"muc_log_http";
		.....
	}

	muc_log_http = { -- These are the defaults
		show_join = true;
		show_presences = true;
		show_status = true;
		theme = "prosody";
		url_base = "muc_log";
	}
}}}

*show_join* sets the default for showing joins or leaves.
*show_status* sets the default for showing status changes.

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


= TODO =
  * Log bans correctly
  * Quota ~ per day ?!
  * Testing testing :)