view README @ 330:82d1259b3e36

backend, pgsql storage: better items/notification handling, various fixes: - replaced const.VAL_AMODEL_ROSTER by const.VAL_AMODEL_PUBLISHER_ROSTER to follow change in pgsql schema - implemented whitelist access model - fixed bad access check during items retrieval (access was checked on recipient instead of requestor/sender) - getItemsData and notification filtering now use inline callbacks: this make these complexe workflows far mor easy to read, and clarity is imperative in these security critical sections. - publisher-roster access model now need to have only one owner, else it will fail. The idea is to use this model only when owner=publisher, else there is ambiguity on the roster to use to check access - replaced getNodeOwner by node.getOwners, as a node can have several owners - notifications filtering has been fixed in a similar way - psql: simplified withPEP method, pep_table argument is actually not needed - removed error.NotInRoster: error.Forbidden is used instead - notifications now notify all the owners, not only the first one
author Goffi <goffi@goffi.org>
date Sun, 26 Mar 2017 20:52:32 +0200
parents a776544d84e5
children 9fbb31ce495b
line wrap: on
line source

SàT PubSub component v0.1.1
This program is heavily based on Idavoll (0.9.1), which was written by Ralph Meijer

Copyright (c) 2014-2016 Adrien Cossa
Copyright (c) 2012-2016 Jérôme Poisson
Copyright (c) 2003-2011 Ralph Meijer

Sàt PubSub is a PubSub component service for XMPP




** LICENSE **

Sàt PubSub is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Sàt PubSub is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with Sàt PubSub.  If not, see <http://www.gnu.org/licenses/>.


** ABOUT **

SàT PubSub is a XMPP PubSub service component (XEP-0060)
It's based on Ralph Meijer's Idavoll, but provide special features necessary for the « Salut à Toi » project ( http://sat.goffi.org ), but it can also be used for any other XMPP project.
The use of a standard external component allow to use this features with most XMPP servers.
One of the main addition is fine access tuning for PubSub, which allow the publication of items for only some groups, even if the entire node is open. The protocol is explained on http://www.goffi.org/post/2012/06/24/Fine-access-tuning-for-PubSub for the moment, and a protoxep should be proposed to the XSF in the future...


** INSTALLATION **

Instructions for installation are the same as for Idavoll, so follow what is written in INSTALL and UPGRADING files.


** CREDIT **

The base project (Idavoll) was made by Ralph Meijer and can be found on http://idavoll.ik.nu/


** CONTACT **

Goffi (Jérôme Poisson): goffi@goffi.org (e-mail) or goffi@jabber.fr (jid)
Souliane (Adrien Cossa): souliane@mailoo.org (e-mail) or souliane@libervia.org (jid)

XMPP MUC: sat@chat.jabberfr.org