Projects tigase _server tigase-pubsub Issues #114
pubsub#persist_items is not advertised (#114)
Closed
wojciech.kapcia@tigase.net opened 4 years ago

edhelas encouraged me to try movim and it turned out that our pubsub doesn't support/advertise pubsub#persist_items

<iq type='get'
    to='pubsub.tigase.org'
    id='info3'>
  <query xmlns='http://jabber.org/protocol/disco#info'/>
</iq>

<!--   2020-10-01T16:49:33Z   <<<<   -->
<iq type='result' to='wojtek@tigase.org/1009101153-tigase-25' from='pubsub.tigase.org' xmlns='jabber:client' id='info3'>
<query xmlns='http://jabber.org/protocol/disco#info'>
<identity type='service' name='PubSub acs-clustered' category='pubsub'/>
<feature var='http://jabber.org/protocol/pubsub#retrieve-default'/>
<feature var='http://jabber.org/protocol/pubsub#purge-nodes'/>
<feature var='http://jabber.org/protocol/pubsub#subscribe'/>
<feature var='http://jabber.org/protocol/pubsub#member-affiliation'/>
<feature var='http://jabber.org/protocol/pubsub#subscription-notifications'/>
<feature var='http://jabber.org/protocol/pubsub#create-nodes'/>
<feature var='http://jabber.org/protocol/pubsub#outcast-affiliation'/>
<feature var='http://jabber.org/protocol/pubsub#get-pending'/>
<feature var='http://jabber.org/protocol/pubsub#presence-notifications'/>
<feature var='urn:xmpp:ping'/>
<feature var='http://jabber.org/protocol/pubsub#delete-nodes'/>
<feature var='http://jabber.org/protocol/pubsub#config-node'/>
<feature var='http://jabber.org/protocol/pubsub#retrieve-items'/>
<feature var='http://jabber.org/protocol/pubsub#access-whitelist'/>
<feature var='http://jabber.org/protocol/pubsub#access-presence'/>
<feature var='http://jabber.org/protocol/disco#items'/>
<feature var='urn:xmpp:mam:1'/>
<feature var='http://jabber.org/protocol/pubsub#instant-nodes'/>
<feature var='http://jabber.org/protocol/pubsub#modify-affiliations'/>
<feature var='http://jabber.org/protocol/pubsub#multi-collection'/>
<feature var='http://jabber.org/protocol/pubsub#create-and-configure'/>
<feature var='http://jabber.org/protocol/pubsub#publisher-affiliation'/>
<feature var='http://jabber.org/protocol/pubsub#access-open'/>
<feature var='http://jabber.org/protocol/pubsub#retrieve-affiliations'/>
<feature var='http://jabber.org/protocol/pubsub#access-authorize'/>
<feature var='jabber:iq:version'/>
<feature var='http://jabber.org/protocol/pubsub#retract-items'/>
<feature var='http://jabber.org/protocol/pubsub#manage-subscriptions'/>
<feature var='http://jabber.org/protocol/commands'/>
<feature var='http://jabber.org/protocol/pubsub#auto-subscribe'/>
<feature var='http://jabber.org/protocol/pubsub#publish-options'/>
<feature var='http://jabber.org/protocol/pubsub#access-roster'/>
<feature var='http://jabber.org/protocol/pubsub#publish'/>
<feature var='http://jabber.org/protocol/pubsub#collections'/>
<feature var='http://jabber.org/protocol/pubsub#retrieve-subscriptions'/>
<feature var='http://jabber.org/protocol/disco#info'/>
<x type='result' xmlns='jabber:x:data'>
<field type='hidden' var='FORM_TYPE'>
<value>http://jabber.org/network/serverinfo</value>
</field>
<field type='text-multi' var='abuse-addresses'>
<value>mailto:support@tigase.net</value>
<value>xmpp:tigase@muc.tigase.org</value>
<value>https://tigase.tech/projects/tigase-xmpp-installations</value>
</field>
</x>
</query>
</iq>

Possibly it would be prudent to add "feature" test to TTS-NG

wojciech.kapcia@tigase.net commented 4 years ago
Andrzej Wójcik (Tigase) commented 3 years ago

I've reviewed all features which could be advertised and compared them with what do we support and found out that we support (but didn't advertise) the following features:

  • filtered-notifications (depends on a config setting)
  • item-ids
  • multi-items
  • persistent-items
  • metadata (partially)

In the case of metadata we were missing 1 config field and disco#info was not returning a number of subscribers, so I've added those to disco#info and added support for metadata feature.

I think that with those features advertised and supported Movim should now work (at least from my understanding of its requirements).

Andrzej Wójcik (Tigase) commented 3 years ago

Changes are in a branch issue #114.

Andrzej Wójcik (Tigase) commented 3 years ago
issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Version
tigase-server-8.2.0
Spent time
2h 15m
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/tigase-pubsub#114
Please wait...
Page is in error, reload to recover