comparison mod_archive.wiki @ 148:5d350ab051f8

Edited wiki page through web user interface.
author shinysky1986@gmail.com
date Fri, 13 Aug 2010 13:15:01 +0000
parents 94a2c518cdfc
children 757684c251d9
comparison
equal deleted inserted replaced
147:de13306634bb 148:5d350ab051f8
1 #summary XEP-0136: Message Archiving 1 #summary XEP-0136: Message Archiving
2 #labels Stage-Beta
2 3
3 = Introduction = 4 = Introduction =
4 5
5 Implementation of [http://xmpp.org/extensions/xep-0136.html XEP-0136: Message Archiving]. 6 Currently many XMPP clients save the messages locally and it's not convenient or even possible to retrieve the historical messages, especially when one switches the clients a lot.
7
8 So it will be much easier if the XMPP server supports server-side message archiving. In this case, the clients can retrieve archived messages anytime and anywhere. XMPP Extension Proposal XEP-0136 is defined for this purpose. This module is an implementation of [http://xmpp.org/extensions/xep-0136.html XEP-0136: Message Archiving].
9
10 = Details =
11
12 The server will have the ability to archive messages passing through.
6 13
7 = Usage = 14 = Usage =
8 Load mod_archive. 15
16 First copy the module to the prosody plugins directory.
17
18 Then add "archive" to your modules_enabled list:
19 {{{
20 modules_enabled = {
21 -- ...
22 "privacy",
23 "archive",
24 -- ...
25 }}}
26
27 = Configuration =
28 || *Name* || *Description* || *Type* || *Default value* ||
29 || default_max || the maximum number of items to return when requesting collection list or archived messages || integer || 100 ||
30 || force_archiving || archive every message automatically, and do NOT consider the preferences || boolean || false ||
31 || auto_archiving_enabled || applied when no any preferences available || boolean || true ||
32
33
34 = Compatibility =
35 || 0.7.0 || Works ||
9 36
10 = TODO = 37 = TODO =
11 All the features 38 * consider '`exactmatch`' attribute when do JID matching.
12 39 * return a `<feature-not-implemented/>` error when the client set the value of the '`save`' attribute to '`stream`'.
13 = Compatibility =
14 || 0.7.0 || temporarily ||