Comparison

spec/scansion/pubsub_config.scs @ 11631:6641ca266d94

mod_pubsub,mod_pep: Support "max" as 'pubsub#max_items' Fixes #1643 API change: The argument to archive_itemstore() changes type to integer
author Kim Alvefur <zash@zash.se>
date Wed, 09 Jun 2021 15:58:49 +0200
parent 9597:17d43543f9b6
child 11854:b605cbd5f13b
comparison
equal deleted inserted replaced
11630:855b065d5fd6 11631:6641ca266d94
46 </field> 46 </field>
47 <field var="pubsub#title" label="Title" type="text-single"/> 47 <field var="pubsub#title" label="Title" type="text-single"/>
48 <field var="pubsub#description" label="Description" type="text-single"/> 48 <field var="pubsub#description" label="Description" type="text-single"/>
49 <field var="pubsub#type" label="The type of node data, usually specified by the namespace of the payload (if any)" type="text-single"/> 49 <field var="pubsub#type" label="The type of node data, usually specified by the namespace of the payload (if any)" type="text-single"/>
50 <field var="pubsub#max_items" label="Max # of items to persist" type="text-single"> 50 <field var="pubsub#max_items" label="Max # of items to persist" type="text-single">
51 <validate xmlns="http://jabber.org/protocol/xdata-validate" datatype="xs:integer"/> 51 <validate xmlns="http://jabber.org/protocol/xdata-validate" datatype="pubsub:integer-or-max"/>
52 <value>1</value> 52 <value>1</value>
53 </field> 53 </field>
54 <field var="pubsub#persist_items" label="Persist items to storage" type="boolean"> 54 <field var="pubsub#persist_items" label="Persist items to storage" type="boolean">
55 <value>1</value> 55 <value>1</value>
56 </field> 56 </field>
122 <value>Nice tunes</value> 122 <value>Nice tunes</value>
123 </field> 123 </field>
124 <field var="pubsub#description" type="text-single" label="Description"/> 124 <field var="pubsub#description" type="text-single" label="Description"/>
125 <field var="pubsub#type" type="text-single" label="The type of node data, usually specified by the namespace of the payload (if any)"/> 125 <field var="pubsub#type" type="text-single" label="The type of node data, usually specified by the namespace of the payload (if any)"/>
126 <field var="pubsub#max_items" type="text-single" label="Max # of items to persist"> 126 <field var="pubsub#max_items" type="text-single" label="Max # of items to persist">
127 <validate xmlns="http://jabber.org/protocol/xdata-validate" datatype="xs:integer"/> 127 <validate xmlns="http://jabber.org/protocol/xdata-validate" datatype="pubsub:integer-or-max"/>
128 <value>1</value> 128 <value>1</value>
129 </field> 129 </field>
130 <field var="pubsub#persist_items" type="boolean" label="Persist items to storage"> 130 <field var="pubsub#persist_items" type="boolean" label="Persist items to storage">
131 <value>1</value> 131 <value>1</value>
132 </field> 132 </field>