aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub
Commit message (Collapse)AuthorAgeFilesLines
...
* mod_pubsub: Fix dataforms error handlingKim Alvefur2018-09-011-8/+27
| | | | | The :data method returns the table holding parsed values always. The second return value is a table in case some fields had problems.
* mod_pubsub: Use dataforms validation to specify that max_items is an integerKim Alvefur2018-09-011-0/+1
|
* mod_pubsub: Use field mapping in util.dataformsKim Alvefur2018-09-011-75/+30
|
* mod_pubsub: Preserve current subscription options if given a partial formKim Alvefur2018-08-311-1/+2
|
* mod_pubsub: Fix summary generation for Atom entries to use the correct fieldKim Alvefur2018-08-311-1/+1
|
* mod_pubsub: Add missing default value for deliver_payloadsKim Alvefur2018-08-191-0/+1
|
* mod_pubsub: Fix boolean value in formKim Alvefur2018-08-191-1/+1
|
* mod_pubsub: Add a semicolon for consistencyKim Alvefur2018-08-191-1/+1
|
* util.pubsub, pubsub.lib: Improve error on attempt to publish invalid itemMatthew Wild2018-08-181-0/+1
|
* Pubsub: Add tests for :get_last_item() and fix for non-persistent nodesMatthew Wild2018-08-181-2/+2
|
* pubsub.lib, util.pubsub: Move precondition checks to util.pubsubMatthew Wild2018-08-181-31/+3
|
* mod_pubsub: Advertise support for subscription-optionsKim Alvefur2018-08-181-1/+1
| | | | Initial support was added in d614003a82c1
* mod_pubsub: Advertise support for node meta-dataKim Alvefur2018-08-181-1/+1
| | | | Node metadata in disco initially added in b6cb0a8f75b1
* mod_pubsub: Add support for thin notifications (without the full payload)Kim Alvefur2018-08-162-0/+10
|
* mod_pubsub: Only attach publisher on normal "item" broadcastsKim Alvefur2018-08-161-2/+4
| | | | The 'publisher' is only on <item> in the schema.
* mod_pubsub: Use the correct form fieldKim Alvefur2018-08-161-3/+3
|
* mod_pubsub: Specify defaults for notification settingsKim Alvefur2018-08-161-0/+3
|
* mod_pubsub: Make notification of item retraction configurableKim Alvefur2018-08-161-0/+7
|
* mod_pubsub: Make notification of node deletion configurableKim Alvefur2018-08-161-0/+7
|
* mod_pubsub: Add support for "quiet nodes" (disabling notifications)Kim Alvefur2018-08-161-0/+7
|
* mod_pubsub: Prepare to support turning notifications off for each kind of ↵Kim Alvefur2018-08-161-0/+5
| | | | broadcast
* mod_pubsub: Add payload type metadata fieldKim Alvefur2018-08-131-0/+12
|
* util.pubsub: Pass "retract" as the type of such broadcastsKim Alvefur2018-08-161-0/+4
| | | | | | | | This moves some XEP-0060 awkwardness out of util.pubsub and into mod_pubsub A retraction is broadcast in an <items> container, whereas most other kinds of broadcasts are in a container with a name matching the 'kind' attribute.
* mod_pubsub, mod_pep, util.pubsub: Move capability definitions into ↵Matthew Wild2018-08-081-78/+0
| | | | util.pubsub to avoid duplication
* mod_pubsub, mod_pep: The "restricted" affiliation should be allowed to be ↵Kim Alvefur2018-08-061-0/+4
| | | | | | unsubscribed but nothing else Can't revoke their subscriptions on change of access model otherwise
* pubsub.lib: fix more form fieldsJonas Wielicki2018-08-061-3/+3
|
* Merge jonasw->trunkKim Alvefur2018-08-061-5/+5
|\
| * pubsub.lib: correctly emit data form fieldsJonas Wielicki2018-08-061-5/+5
| |
* | pubsub.lib: Enable publish-options unconditionallyMatthew Wild2018-08-061-4/+2
| |
* | pubsub.lib: Add support for pubsub#publish_modelMatthew Wild2018-08-061-0/+12
| |
* | pubsub.lib: Code formatting changeMatthew Wild2018-08-061-5/+5
| |
* | pubsub.lib: Add comment about tonumber hackMatthew Wild2018-08-061-0/+3
| |
* | pubsub.lib: Enable publish-options by defaultMatthew Wild2018-08-061-1/+1
| |
* | Merge with jonaswMatthew Wild2018-08-062-10/+15
|\ \ | |/ |/|
| * mod_pubsub: Pass the current values to dataformsKim Alvefur2018-08-051-1/+6
| |
| * mod_pubsub: Use util.pubsub API for retrieving node config insteadKim Alvefur2018-08-051-9/+3
| | | | | | | | | | | | Normalizes access control to the 'get_configuration' capability Thanks pep.
| * mod_pubsub: Add 'get_configuration' capability to relevant affiliationsKim Alvefur2018-08-051-0/+2
| | | | | | | | | | | | Like ca5228a7d907 did for mod_pep Thanks pep.
| * mod_pubsub: Add a public method for retrieving the service objectKim Alvefur2018-08-051-0/+4
| | | | | | | | There is already a set_service()
* | pubsub.lib: auto-create node with publish-options if autocreation is enabledJonas Wielicki2018-08-051-2/+12
| |
* | pubsub.lib: ignore FORM_TYPE field in config_from_xep0060Jonas Wielicki2018-08-051-1/+1
|/
* mod_pubsub: Rename variable subscription options form to improve readabilityKim Alvefur2018-08-051-4/+4
| | | | "options_form" ... options for what?
* pubsub.lib: Support for publish-options behind a feature flag, ↵Matthew Wild2018-08-051-24/+70
| | | | 'enable_publish_options'
* pubsub.lib: Add support for precondition-not-met errorMatthew Wild2018-08-041-0/+1
|
* pubsub.lib: Advertise peristent-items feature when nodes and items are persistedMatthew Wild2018-08-041-0/+4
|
* mod_pubsub: Add comment to document nodestore/itemstore methodsMatthew Wild2018-08-041-0/+14
|
* mod_pubsub: Advertise default access model in discoKim Alvefur2018-08-041-0/+4
|
* mod_pubsub: Restrict access model to 'whitelist' and 'open'Kim Alvefur2018-08-041-0/+3
| | | | | 'presence' and 'roster' makes more sense for PEP 'auithorize' needs additional code for authorization flow
* mod_pubsub: Add configurable maximum on number of itemsKim Alvefur2018-08-041-0/+9
| | | | Like aefb96a52f5f
* mod_pubsub: Add access model to configuration formKim Alvefur2018-08-041-0/+14
|
* pubsub.lib: Support for not-acceptable errorMatthew Wild2018-08-011-0/+1
|