annotate CHANGELOG @ 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 cc29a62fb64c
children 1a179ad10125
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
420
7a43c039c261 changelog: update
Goffi <goffi@goffi.org>
parents: 410
diff changeset
1 v 0.4.0 (NOT RELEASED YET):
447
cc29a62fb64c renaming following global Salut à Toi => Libervia renaming:
Goffi <goffi@goffi.org>
parents: 432
diff changeset
2 - /!\ renamed to "Libervia Pubsub", application name is now "libervia-pubsub"
420
7a43c039c261 changelog: update
Goffi <goffi@goffi.org>
parents: 410
diff changeset
3 - Python 3 port
7a43c039c261 changelog: update
Goffi <goffi@goffi.org>
parents: 410
diff changeset
4 - publish-options implementation
422
c21f31355ab9 configuration: "max_items" option:
Goffi <goffi@goffi.org>
parents: 420
diff changeset
5 - max_items configuration option
432
d9745fe5db46 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 422
diff changeset
6 - Full-Text Search, with node setting to specify language
d9745fe5db46 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 422
diff changeset
7 - XEP-0346 (Form Discovery and Publishing) implementation (replacing the non standard node schema)
d9745fe5db46 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 422
diff changeset
8 - environment variables can now be used to set options
420
7a43c039c261 changelog: update
Goffi <goffi@goffi.org>
parents: 410
diff changeset
9 - bug fixes
7a43c039c261 changelog: update
Goffi <goffi@goffi.org>
parents: 410
diff changeset
10
410
0861da6975b5 0.3.0 release
Goffi <goffi@goffi.org>
parents: 408
diff changeset
11 v 0.3.0 (16/08/2019)
383
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
12 - PEP: presence and +notify initial support
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
13 - PEP: notifications for auto subscribers
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
14 - added "presence" access model
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
15 - implemented affiliations
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
16 - items are now ordered by default using last update date. This is actually the order corresponding to the XEP
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
17 - item creation and modification are now saved in 2 separate fields
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
18 - "roster" access model has been renamed to "publisher-roster"
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
19 - re-implemented feature which allows an entity to retract an item from somebody else node (i.e. a node from which he is neither owner or publisher) if he is the publisher of the item.
376
b80f7848d8a2 version + CHANGELOG update
Goffi <goffi@goffi.org>
parents: 305
diff changeset
20 - implemented "Order-By" protoXEP
383
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
21 - node schema experimental features (use a data form as a schema for a node)
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
22 - serial ids experimental feature (ids in series like 1, 2, 3, etc.)
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
23 - pubsub admin experimental feature (publish item and specify the publisher, only for admin users)
408
3c2c602ce399 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 387
diff changeset
24 - consistent_publisher experimental feature (preserve publisher when owner or admin update an item)
383
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
25 - SàT Pubsub can now be configured using the same config file as SàT itself, i.e. "sat.conf"
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
26 - new "admins_jids_list" setting, to specify a comma separated list of admin bare jids.
408
3c2c602ce399 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 387
diff changeset
27 - admins can delete node, change schema, change config, delete or overwrite items even if they are not owner of a node
383
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
28 - MAM: filtering by categories
408
3c2c602ce399 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 387
diff changeset
29 - MAM and RSM various improvements
383
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
30 - replaced sat.tmp by new independent sat_tmp module, so now SàT Pubsub can be used independently of SàT
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
31 - item id is returned on publish if it is not provided already
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
32 - (bug fix) fixed security check which was rejecting all delegations from external servers
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
33 - (bug fix) fixed publisher check on item publishing
408
3c2c602ce399 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 387
diff changeset
34 - removed some old code inherited from Idavoll
3c2c602ce399 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 387
diff changeset
35 - various other fixes/improvements, checks the mercurial logs for details
3c2c602ce399 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 387
diff changeset
36 - documentation in /doc (using ReStructuredText and Sphinx)
376
b80f7848d8a2 version + CHANGELOG update
Goffi <goffi@goffi.org>
parents: 305
diff changeset
37
408
3c2c602ce399 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 387
diff changeset
38 v 0.2.0 (02/12/2015):
383
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
39 - schema updated (unversioned => version 1)
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
40 - sync with Idavoll
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
41 - use of sat.tmp.wokkel as a workaround for change not merged upstream
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
42 - RSM (XEP-0059) implementation
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
43 - MAM (XEP-0313) implementation
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
44 - Namespace Delegation (XEP-0355) implementation
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
45 - Privileged Entity (XEP-0356) implementation
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
46 - removed remote-roster hack
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
47 - SàT PubSub can be used as a PEP service (PEP implementation not complete yet)
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
48 - item publisher is enforced
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
49 - categories handling (not complete)
ff796dd7b632 CHANGELOG: update
Goffi <goffi@goffi.org>
parents: 376
diff changeset
50 - pgsql: schema version is checked, and a message asking to upgrade is displayed if needed
305
642dffb9d6f1 fixed version change and CHANGELOG update
Goffi <goffi@goffi.org>
parents: 284
diff changeset
51
284
dfc47748d8d8 CHANGELOG update
Goffi <goffi@goffi.org>
parents: 264
diff changeset
52 v 0.1.1 (09/09/2014):
dfc47748d8d8 CHANGELOG update
Goffi <goffi@goffi.org>
parents: 264
diff changeset
53 bugfix release
dfc47748d8d8 CHANGELOG update
Goffi <goffi@goffi.org>
parents: 264
diff changeset
54
dfc47748d8d8 CHANGELOG update
Goffi <goffi@goffi.org>
parents: 264
diff changeset
55 v 0.1.0 (24/02/2014):
264
86e767dc6abb packaging for release
souliane <souliane@mailoo.org>
parents:
diff changeset
56 ** FIRST PUBLIC RELEASE **