1786
|
1 |
#summary Provides a web interface to stored chatroom logs |
|
2 |
#labels Stage-Beta |
|
3 |
|
|
4 |
= Introduction = |
|
5 |
|
|
6 |
This module provides a built-in web interface to view chatroom logs stored by [mod_mam_muc]. |
|
7 |
|
|
8 |
= Installation = |
|
9 |
|
|
10 |
Just copy the folder muc_log_http as it is, into the modules folder of your Prosody installation. |
|
11 |
|
|
12 |
= Configuration Details = |
|
13 |
|
|
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: |
|
15 |
|
|
16 |
{{{ |
|
17 |
Component "conference.example.com" "muc" |
|
18 |
modules_enabled = { |
|
19 |
..... |
|
20 |
"mam_muc"; |
|
21 |
"http_muc_log"; |
|
22 |
..... |
|
23 |
} |
|
24 |
storage = { |
|
25 |
muc_log = "sql2"; -- for example |
|
26 |
} |
|
27 |
}}} |
|
28 |
|
|
29 |
The web interface would then be reachable at the address: |
|
30 |
{{{ |
|
31 |
http://conference.example.com:5280/muc_log/ |
|
32 |
}}} |
|
33 |
|
|
34 |
See [http://prosody.im/doc/http the page about Prosodys HTTP server] for info about the address. |
|
35 |
|
|
36 |
= Compatibility = |
|
37 |
|
|
38 |
Requires Prosody 0.10 or above and a storage backend with support for stanza archives. |