aboutsummaryrefslogtreecommitdiffstats
path: root/spec/scansion/pubsub_preconditions.scs
Commit message (Collapse)AuthorAgeFilesLines
* scansion: Add roster groups setting to pubsub form in testsKim Alvefur2024-06-121-0/+2
|
* scansion: Fix tests failing after addition of pubsub#itemreply config fieldMatthew Wild2023-03-231-0/+15
| | | | This is a newly added field, and we expect to see it in these places now.
* mod_pubsub,mod_pep: Advertise maximum number of items via XEP-0122Kim Alvefur2021-10-201-2/+2
| | | | | | Clients would generally be using the "max" symbol instead of discovering this, but this also gets us validation and earlier rejection of out of bounds values.
* mod_pubsub: Prevent max_items from being set to zeroKim Alvefur2021-10-201-2/+6
| | | | | | | Disable persistence instead if no items should be persisted. XEP-0060 is not entirely clear on what either of those option really mean.
* mod_pubsub,mod_pep: Implement 'send_last_published_item' option #1436Kim Alvefur2021-10-191-0/+15
| | | | | | | | Default left as 'never' in mod_pubsub to preserve the previous behavior. Unclear if this is desirable, but can always be changed later. In mod_pep this allows turning off the automatic resending of most recent item.
* mod_pubsub,mod_pep: Support "max" as 'pubsub#max_items'Kim Alvefur2021-06-091-2/+2
| | | | | | Fixes #1643 API change: The argument to archive_itemstore() changes type to integer
* util.pubsub, pubsub.lib and tests: Add text to precondition-not-met error ↵Matthew Wild2019-10-271-0/+234
(fixes #1455)