view README @ 430:5a0ada3b61ca

Full-Text Search implementation: /!\ pgsql schema needs to be updated /!\ /!\ Minimal PostgreSQL required version is now 12 /!\ A new options is available to specify main language of a node. By default a `generic` language is used (which uses the `simple` configuration in PostgreSQL). When a node owner changes the language, the index is rebuilt accordingly. It is possible to have item specific language for multilingual nodes (but for the moment the search is done with node language, so the results won't be good). If an item language is explicitely set in `item_languages`, the FTS configuration won't be affected by node FTS language setting. Search is parsed with `websearch_to_tsquery` for now, but this parser doesn't handle prefix matching, so it may be replaced in the future. SetConfiguration now only updates the modified values, this avoid triggering the FTS re-indexing on each config change. `_checkNodeExists` is not called anymore as we can check if a row has been modified to see if the node exists, this avoid a useless query. Item storing has been slighly improved with a useless SELECT and condition removed. To avoid 2 schema updates in a row, the `sat_pubsub_update_5_6.sql` file also prepares the implementation of XEP-0346 by updating nodes with a schema and creating the suitable template nodes.
author Goffi <goffi@goffi.org>
date Fri, 11 Dec 2020 17:18:52 +0100
parents d58599801c23
children 074037832daf
line wrap: on
line source

SàT PubSub

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

SàT PubSub is a PubSub/PEP component 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/PEP component (XEP-0060) It's based on Ralph
Meijer's Idavoll, and provides special features necessary for the « Salut à
Toi » project (https://salut-a-toi.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
https://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 **

Please check doc/ directory


** CREDITS **

The base project (Idavoll) was made by Ralph Meijer and can be found on
http://idavoll.ik.nu/.
The main authors of SàT Pubsub (beside original work) are Jérôme Poisson and
Adrien Cossa.

Idavoll has also received a contribution which have been inherited in SàT
Pubsub from Christopher Zorn.

SàT Pubsub has received contributions from:

- Arnaud Joset
- W. Martin Borgert


** CONTRIBUTIONS **

Here are the URIs you can use to publish/retrieve tickets or merge requests:

tickets: xmpp:pubsub.goffi.org?;node=org.salut-a-toi.tickets%3A0 (please use "SàT Pubsub" label)
merge requests: xmpp:pubsub.goffi.org?;node=org.salut-a-toi.merge_requests%3A0 (please use "SàT Pubsub" label)

Tickets and merge requests are handled by SàT itself using XMPP.


** 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