1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 08:45:04 -05:00

XEP-0060: introduce feature 'config-node-max'

This commit is contained in:
Daniel Gultsch 2019-10-09 17:28:33 +02:00
parent fa30666494
commit fbecb6618c

View File

@ -1085,7 +1085,7 @@ And by opposing end them?
<field var='pubsub#publish_model' label='Publish model' type='list-single'> <field var='pubsub#publish_model' label='Publish model' type='list-single'>
<value>publishers</value> <value>publishers</value>
</field> </field>
<field var='pubsub#max_items' label='Max # of items to persist. for no specific limit other than a server imposed maximum.' type='text-single'> <field var='pubsub#max_items' label='Max # of items to persist. `max` for no specific limit other than a server imposed maximum.' type='text-single'>
<value>120</value> <value>120</value>
</field> </field>
<field var='pubsub#owner' label='Node owners' type='jid-multi'> <field var='pubsub#owner' label='Node owners' type='jid-multi'>
@ -3523,11 +3523,11 @@ And by opposing end them?
<value>1</value> <value>1</value>
</field> </field>
<field var='pubsub#max_items' type='text-single' <field var='pubsub#max_items' type='text-single'
label='Max # of items to persist. for no specific limit other than a server imposed maximum.'> label='Max # of items to persist. `max` for no specific limit other than a server imposed maximum.'>
<value>10</value> <value>10</value>
</field> </field>
<field var='pubsub#item_expire' type='text-single' <field var='pubsub#item_expire' type='text-single'
label='Time after which to automatically purge items. for no specific limit other than a server imposed maximum.'> label='Time after which to automatically purge items. `max` for no specific limit other than a server imposed maximum.'>
<value>604800</value> <value>604800</value>
</field> </field>
<field var='pubsub#subscribe' type='boolean' <field var='pubsub#subscribe' type='boolean'
@ -3865,11 +3865,11 @@ And by opposing end them?
<value>1</value> <value>1</value>
</field> </field>
<field var='pubsub#max_items' type='text-single' <field var='pubsub#max_items' type='text-single'
label='Max # of items to persist. for no specific limit other than a server imposed maximum.'> label='Max # of items to persist. `max` for no specific limit other than a server imposed maximum.'>
<value>10</value> <value>10</value>
</field> </field>
<field var='pubsub#item_expire' type='text-single' <field var='pubsub#item_expire' type='text-single'
label='Time after which to automatically purge items. for no specific limit other than a server imposed maximum.'> label='Time after which to automatically purge items. `max` for no specific limit other than a server imposed maximum.'>
<value>604800</value> <value>604800</value>
</field> </field>
<field var='pubsub#subscribe' type='boolean' <field var='pubsub#subscribe' type='boolean'
@ -6021,6 +6021,11 @@ xmpp:pubsub.shakespeare.lit?pubsub;action=retrieve;node=princely_musings;item=ae
<desc>Configuration of node options is supported.</desc> <desc>Configuration of node options is supported.</desc>
<doc>XEP-0060</doc> <doc>XEP-0060</doc>
</var> </var>
<var>
<name>http://jabber.org/protocol/pubsub#config-node-max</name>
<desc>Server supports `max` being set as a value for node configuration options: pubsub#max_items, pubsub#item_expire and pubsub#children_max</desc>
<doc>XEP-0060</doc>
</var>
<var> <var>
<name>http://jabber.org/protocol/pubsub#create-and-configure</name> <name>http://jabber.org/protocol/pubsub#create-and-configure</name>
<desc>Simultaneous creation and configuration of nodes is supported.</desc> <desc>Simultaneous creation and configuration of nodes is supported.</desc>
@ -6411,7 +6416,7 @@ xmpp:pubsub.shakespeare.lit?pubsub;action=retrieve;node=princely_musings;item=ae
label='The child nodes (leaf or collection) associated with a collection.'/> label='The child nodes (leaf or collection) associated with a collection.'/>
<field var='pubsub#children_max' <field var='pubsub#children_max'
type='text-single' type='text-single'
label='The maximum number of child nodes that can be associated with a collection. for no specific limit other than a server imposed maximum.'/> label='The maximum number of child nodes that can be associated with a collection. `max` for no specific limit other than a server imposed maximum.'/>
<field var='pubsub#collection' <field var='pubsub#collection'
type='text-multi' type='text-multi'
label='The collection(s) with which a node is affiliated'/> label='The collection(s) with which a node is affiliated'/>
@ -6437,7 +6442,7 @@ xmpp:pubsub.shakespeare.lit?pubsub;action=retrieve;node=princely_musings;item=ae
label='A description of the node'/> label='A description of the node'/>
<field var='pubsub#item_expire' <field var='pubsub#item_expire'
type='text-single' type='text-single'
label='Number of seconds after which to automatically purge items. for no specific limit other than a server imposed maximum.'/> label='Number of seconds after which to automatically purge items. `max` for no specific limit other than a server imposed maximum.'/>
<field var='pubsub#itemreply' <field var='pubsub#itemreply'
type='list-single' type='list-single'
label='Whether owners or publisher should receive replies to items'> label='Whether owners or publisher should receive replies to items'>
@ -6453,7 +6458,7 @@ xmpp:pubsub.shakespeare.lit?pubsub;action=retrieve;node=princely_musings;item=ae
label='The default language of the node'/> label='The default language of the node'/>
<field var='pubsub#max_items' <field var='pubsub#max_items'
type='text-single' type='text-single'
label='The maximum number of items to persist. for no specific limit other than a server imposed maximum.'/> label='The maximum number of items to persist. `max` for no specific limit other than a server imposed maximum.'/>
<field var='pubsub#max_payload_size' <field var='pubsub#max_payload_size'
type='text-single' type='text-single'
label='The maximum payload size in bytes'/> label='The maximum payload size in bytes'/>