# HG changeset patch # User souliane # Date 1457087167 -3600 # Node ID b76cbf59772b62b5a1ecee75e922d55ccec99d39 # Parent 8d939378f023d47813b4fdee82487b031c1085fc update INSTALL file, we don't use remote roster anymore diff -r 8d939378f023 -r b76cbf59772b INSTALL --- a/INSTALL Fri Jan 08 20:47:52 2016 +0100 +++ b/INSTALL Fri Mar 04 11:26:07 2016 +0100 @@ -7,8 +7,9 @@ - uuid.py (Python 2.5 std. lib. or http://pypi.python.org/pypi/uuid) - Wokkel >= 0.5.0 (http://wokkel.ik.nu/) - A Jabber server that supports the component protocol (XEP-0114), - and, to enable the micro-blogging feature, the remote roster - management protocol (XEP-0321). We recommend using Prosody. + and, to enable the micro-blogging feature, the Namespace Delegation + (XEP-0355) and Privileged Entity (XEP-0356) protocols. We recommend + using Prosody. For the PostgreSQL backend, the following is also required: @@ -96,36 +97,45 @@ =============================== To enable the micro-blogging feature with Prosody XMPP server, you need -the remote_roster plugin. Check if the remote_roster plugin is already -in your Prosody installation: +the delegation and privilege plugins: - cd prosody/plugins - ls mod_remote_roster.lua + https://modules.prosody.im/mod_delegation.html + https://modules.prosody.im/mod_privilege.html -If you can't see it, download it from here: - - wget http://prosody-modules.googlecode.com/hg/mod_remote_roster/mod_remote_roster.lua +Your prosody.cfg.lua file needs to look a bit like that: -You need to patch the file (commenting two lines to make all contacts available): - - wget http://paste.debian.net/download/12106 - patch -p2 < paste_1206 - -Edit the prosodi.cfg.lua file to add this module: - - modules_enabled = { - [...] - "remote_roster"; - [...] +[...] +modules_enabled = { + [...] + "delegation"; + "privilege"; +} +[...] +VirtualHost "" + privileged_entities = { + ["sat-pubsub."] = { + roster = "get"; + message = "outgoing"; + }, + } + delegations = { + ["urn:xmpp:mam:1"] = { + filtering = {"node"}; + jid = "sat-pubsub."; + }, + ["http://jabber.org/protocol/pubsub"] = { + jid = "sat-pubsub."; + }, } -Also add these two lines at the end of the file, adapting them to your XMPP server -domain (virtual host) and selecting a password of your choice: +Component "sat-pubsub." + component_secret = "" + modules_enabled = {"delegation", "privilege"} - Component "sat-pubsub." - component_secret = "" +Of course, you have to replace and with the good +values. -For a more complete installation and configuration of Prosody to be used with -sat_pubsub, please report yourself to the Salut à Toi wiki: +For a more complete installation and configuration of Prosody to be used +with sat_pubsub, please report yourself to the Salut à Toi wiki: http://wiki.goffi.org/wiki/Libervia/en#XMPP_server \ No newline at end of file