view doc/index.rst @ 451:0e6e176cb572

pgsql: fix items order: Due to a misinterpretation, items where returned in wrong order when RSM was used. Pubsub vanilla `max_items` is reversing the items order to get last items, but when this attribute is not used (RSM being used or not), the items must be in chronological order. This patch fixes it, so RSM returns oldest items by defaut, and empty `<before/>` must be used to get last page (and thus most recent items). Items are always finally ordered chronologically inside the returned page (default by `update` time, but this can be modified when a specific order is requested). Reference field is also fixed to use `updated` instead of `item_id` when item are ordered by `update`.
author Goffi <goffi@goffi.org>
date Sun, 06 Jun 2021 19:42:57 +0200
parents 105a0772eedd
children
line wrap: on
line source

.. SàT PubSub documentation master file, created by
   sphinx-quickstart on Wed Jul 24 08:06:59 2019.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

SàT PubSub documentation
========================

SàT PubSub is a XMPP PubSub service 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
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…


.. toctree::
   :maxdepth: 3
   :caption: Contents:

   installation.rst


Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`