Software /
code /
prosody-modules
Comparison
mod_http_muc_log/README.markdown @ 1977:cc29ec49776d
mod_http_muc_log/README: Replace text that seems to have been copied from mod_muc_log_http
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 17 Dec 2015 16:50:46 +0100 |
parent | 1976:cd36e5bf00b3 |
child | 2589:89a3f049689f |
comparison
equal
deleted
inserted
replaced
1976:cd36e5bf00b3 | 1977:cc29ec49776d |
---|---|
6 | 6 |
7 Introduction | 7 Introduction |
8 ============ | 8 ============ |
9 | 9 |
10 This module provides a built-in web interface to view chatroom logs | 10 This module provides a built-in web interface to view chatroom logs |
11 stored by [mod\_mam\_muc](mod_mam_muc.html). | 11 stored by [mod\_mam\_muc]. |
12 | 12 |
13 Installation | 13 Installation |
14 ============ | 14 ============ |
15 | 15 |
16 Just copy the folder muc\_log\_http as it is, into the modules folder of | 16 Same as any other module, be sure to include the HTML template |
17 your Prosody installation. | 17 `http_muc_log.html` alongside `mod_http_muc_log.lua`. |
18 | 18 |
19 Configuration Details | 19 Configuration |
20 ===================== | 20 ============= |
21 | 21 |
22 You need to add muc\_log\_http to your global modules\_enabled, and the | 22 For example: |
23 configuration options similarly must be put into your global | |
24 (server-wide) options section: | |
25 | 23 |
26 Component "conference.example.com" "muc" | 24 ``` lua |
27 modules_enabled = { | 25 Component "conference.example.com" "muc" |
28 ..... | 26 modules_enabled = { |
29 "mam_muc"; | 27 "mam_muc"; |
30 "http_muc_log"; | 28 "http_muc_log"; |
31 ..... | 29 } |
32 } | 30 storage = { |
33 storage = { | 31 muc_log = "sql"; -- for example |
34 muc_log = "sql"; -- for example | 32 } |
35 } | 33 ``` |
36 | 34 |
37 The web interface would then be reachable at the address: | 35 The web interface would then be reachable at the address: |
38 | 36 |
39 http://conference.example.com:5280/muc_log/ | 37 http://conference.example.com:5280/muc_log/ |
40 | 38 |
41 See [the page about Prosodys HTTP server](http://prosody.im/doc/http) | 39 See [the page about Prosodys HTTP server][doc:http] for info about the |
42 for info about the address. | 40 address. |
43 | 41 |
44 Compatibility | 42 Compatibility |
45 ============= | 43 ============= |
46 | 44 |
47 Requires Prosody 0.10 or above and a storage backend with support for | 45 Requires Prosody 0.10 or above and a storage backend with support for |
48 stanza archives. | 46 stanza archives. See [mod\_storage\_muc\_log] for using legacy data from |
47 [mod\_muc\_log]. |