Mercurial > prosody-wiki
annotate mod_muc_log_http.wiki @ 331:ca974ba20455
changed mod_bidi.wiki
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 25 Mar 2013 04:09:49 +0100 |
parents | 646476e373af |
children | 8b4e2a05f450 |
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 | |
222 | 14 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: |
114 | 15 |
95 | 16 {{{ |
17 modules_enabled = { | |
18 ..... | |
19 "muc_log_http"; | |
20 ..... | |
21 } | |
22 | |
23 muc_log_http = { | |
111
291ee152eea9
added a short install description and a note about the default port.
t.ephraim
parents:
101
diff
changeset
|
24 http_port = 5290; -- default is 5290 |
95 | 25 showJoin = false; -- default is true |
26 showStatus = false; -- default is true | |
135 | 27 theme = "prosody"; -- default is theme "prosody" |
95 | 28 } |
29 }}} | |
30 | |
114 | 31 *showJoin* sets the default for showing joins or leaves. |
32 *showStatus* sets the default for showing status changes. | |
33 | |
34 The web interface would then be reachable at the address: | |
95 | 35 {{{ |
36 http://example.com:5290/muc_log/ | |
37 }}} | |
38 | |
39 | |
40 = TODO = | |
114 | 41 * Log bans correctly |
42 * Let the admin choose to enable logging via room config | |
43 * Quota ~ per day ?! | |
44 * Testing testing :) |