annotate mod_muc_log.wiki @ 65:5e0888fc128a

Edited wiki page through web user interface.
author t.ephraim
date Mon, 19 Oct 2009 18:32:23 +0000
parents 1445b5e36674
children 27be871cfa46
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
59
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
1 #summary Module which logs muc conversations to a file
61
70425a2e230f Edited wiki page through web user interface.
t.ephraim
parents: 59
diff changeset
2 #labels Stage-Alpha
59
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
3
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
4 = Introduction =
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
5
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
6 This module logs the conversation of muc running on this server to a daily changing file.
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
7 There is a file per room.
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
8
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
9 = Details =
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
10
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
11 Here is a example config with just the muclogging parts added to the right sections:
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
12 {{{
62
d7a687cb24e4 Edited wiki page through web user interface.
t.ephraim
parents: 61
diff changeset
13 component "rooms.example.com" "muc"
63
c05ce0ae01e2 Edited wiki page through web user interface.
t.ephraim
parents: 62
diff changeset
14 modules_enabled = {
c05ce0ae01e2 Edited wiki page through web user interface.
t.ephraim
parents: 62
diff changeset
15 "muc_log";
c05ce0ae01e2 Edited wiki page through web user interface.
t.ephraim
parents: 62
diff changeset
16 }
c05ce0ae01e2 Edited wiki page through web user interface.
t.ephraim
parents: 62
diff changeset
17
59
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
18 muc_log = {
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
19 folder = "/var/log/prosody/rooms";
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
20 http_port = 5290;
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
21 }
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
22 }}}
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
23
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
24 The http server part would then be reachable at the url:
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
25 {{{
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
26 http://example.com:5290/muc_log/
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
27 }}}
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
28
4410f015d570 Created wiki page through web user interface.
t.ephraim
parents:
diff changeset
29 = TODO =
64
1445b5e36674 added some todos, so I can remember them
t.ephraim
parents: 63
diff changeset
30 * out the presence stanzas correct join/leave/status change
1445b5e36674 added some todos, so I can remember them
t.ephraim
parents: 63
diff changeset
31 * out muc room title changes correctly
1445b5e36674 added some todos, so I can remember them
t.ephraim
parents: 63
diff changeset
32 * out kicks or bans correctly
65
5e0888fc128a Edited wiki page through web user interface.
t.ephraim
parents: 64
diff changeset
33 * try to split html and code
64
1445b5e36674 added some todos, so I can remember them
t.ephraim
parents: 63
diff changeset
34 * testing testing