Mercurial > prosody-wiki
annotate mod_muc_log_http.wiki @ 123:333338d999e2
Fixed list formatting.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sat, 06 Mar 2010 22:40:09 +0500 |
parents | 0abc8d412aad |
children | 2b79ecd3ece6 |
rev | line source |
---|---|
114 | 1 #summary Provides a web interface to stored chatroom logs |
2 #labels Stage-Beta | |
95 | 3 |
4 = Introduction = | |
5 | |
114 | 6 This module provides a built-in web interface to view chatroom logs stored by [mod_muc_log]. |
95 | 7 |
111
291ee152eea9
added a short install description and a note about the default port.
t.ephraim
parents:
101
diff
changeset
|
8 = Installation = |
291ee152eea9
added a short install description and a note about the default port.
t.ephraim
parents:
101
diff
changeset
|
9 |
114 | 10 Just copy the folder muc_log_http as it is, into the modules folder of your Prosody installation. |
95 | 11 |
12 = Configuration Details = | |
13 | |
114 | 14 You need to add muc_log_http to your global modules_enabled, and the configuration options similarly must be put into your Host "`*`" section. |
15 | |
95 | 16 {{{ |
17 Host "*" | |
18 modules_enabled = { | |
19 ..... | |
20 "muc_log_http"; | |
21 ..... | |
22 } | |
23 | |
24 muc_log_http = { | |
111
291ee152eea9
added a short install description and a note about the default port.
t.ephraim
parents:
101
diff
changeset
|
25 http_port = 5290; -- default is 5290 |
95 | 26 showJoin = false; -- default is true |
27 showStatus = false; -- default is true | |
101 | 28 theme = "default"; -- default is theme "default" |
95 | 29 } |
30 }}} | |
31 | |
114 | 32 *showJoin* sets the default for showing joins or leaves. |
33 *showStatus* sets the default for showing status changes. | |
34 | |
35 The web interface would then be reachable at the address: | |
95 | 36 {{{ |
37 http://example.com:5290/muc_log/ | |
38 }}} | |
39 | |
40 | |
41 = TODO = | |
114 | 42 * Log bans correctly |
43 * Let the admin choose to enable logging via room config | |
44 * Quota ~ per day ?! | |
45 * Testing testing :) |