Mercurial > prosody-wiki
comparison mod_muc_log.wiki @ 94:82e7feef398c
Edited wiki page through web user interface.
author | t.ephraim |
---|---|
date | Tue, 17 Nov 2009 20:29:40 +0000 |
parents | dc62fc777239 |
children | 058ede538839 |
comparison
equal
deleted
inserted
replaced
93:70c5740549a5 | 94:82e7feef398c |
---|---|
2 #labels Stage-Beta | 2 #labels Stage-Beta |
3 | 3 |
4 = Introduction = | 4 = Introduction = |
5 | 5 |
6 This module logs the conversation of muc running on this server to a daily changing file. | 6 This module logs the conversation of muc running on this server to a daily changing file. |
7 There is a file per room. | 7 There are files per room and day. |
8 | 8 |
9 = Details = | 9 = Details = |
10 | 10 |
11 Here is a example config with just the muclogging parts added to the right sections: | 11 Here is a example config with just the muclogging parts added to the right sections: |
12 {{{ | 12 {{{ |
13 Host "*" | 13 component "rooms.example.com" "muc" |
14 modules_enabled = { | 14 modules_enabled = { |
15 ..... | 15 "muc_log"; |
16 "muc_log"; | 16 }; |
17 ..... | |
18 } | |
19 | |
20 muc_log = { | |
21 http_port = 5290; | |
22 showJoin = false; -- default is true | |
23 showStatus = false; -- default is true | |
24 } | |
25 | |
26 component "rooms.example.com" "muc" | |
27 logging = true; | |
28 | |
29 }}} | 17 }}} |
30 | 18 |
31 The http server part would then be reachable at the url: | 19 The logs are stored via datamanager. |
32 {{{ | |
33 http://example.com:5290/muc_log/ | |
34 }}} | |
35 | |
36 showJoin sets the default for showing joins or leaves. | |
37 showStatus sets the default for showing status changes. | |
38 | |
39 = TODO = | |
40 * log/output bans correctly | |
41 * show a nice errormessage when lfs is not installed | |
42 * let the admin choose to enable logging via room config | |
43 * show the scrollbars only when needed | |
44 * resize the messages div when size of window changes | |
45 * make /me message displayed correctly | |
46 * support speeqe.com to directly join the room | |
47 * when viewing a specific day, add previous/next buttons | |
48 * show the available days in a kind of calender way | |
49 * testing testing |