aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* mod_pubsub: Enforce max_items on insertionKim Alvefur2018-07-311-0/+4
|
* mod_pubsub: Make generation of notification body into an event to allow ↵Kim Alvefur2018-07-141-11/+17
| | | | extensibility
* mod_pubsub: Skip checks for adding body if no body generatedKim Alvefur2018-07-141-1/+1
|
* mod_pubsub: Remove unneeded stanza API callKim Alvefur2018-07-141-1/+0
|
* mod_pubsub: Add support for changing subscription optionsKim Alvefur2018-07-141-0/+30
|
* mod_pubsub: Add support for retrieving subscription optionsKim Alvefur2018-07-141-0/+20
|
* mod_pubsub: Move include_body option into subscription optionsKim Alvefur2018-07-142-15/+17
|
* mod_pubsub: Revert disco#info part from previous commitKim Alvefur2018-07-141-1/+4
|
* mod_pubsub: Refactor translation to/from XEP-0060-specific node ↵Kim Alvefur2018-07-141-30/+28
| | | | configuration format
* mod_pubsub: Add support for modifying subscriptionsKim Alvefur2018-07-131-0/+38
| | | | https://xmpp.org/extensions/xep-0060.html#owner-subscriptions-modify
* mod_pubsub: Add support for owner subscription retrievalKim Alvefur2018-07-131-0/+17
| | | | https://xmpp.org/extensions/xep-0060.html#owner-subscriptions-retrieve
* mod_pubsub: Update max_items on resize (fixes #1082)Kim Alvefur2018-07-101-0/+1
|
* mod_pubsub: Cache only max_items to avoid holding reference to possibly ↵Kim Alvefur2018-07-101-1/+2
| | | | | | outdated config Only max_items is used anyways
* mod_pubsub: Advertise title and description in disco#infoKim Alvefur2018-07-061-0/+22
|
* mod_pubsub: Move service discovery to pubsub.lib to allow reuseKim Alvefur2018-07-062-17/+26
|
* mod_pubsub: Support configurable title and description fieldsKim Alvefur2018-07-061-0/+14
|
* mod_pubsub: Translate missing fields into node configKim Alvefur2018-07-061-0/+2
|
* mod_pubsub: Remove feature flag for data persistence since node config is ↵Kim Alvefur2018-07-011-9/+0
| | | | now persistent
* mod_pubsub: Make pubsub.lib aware of internal-server-error conditionKim Alvefur2018-07-011-0/+1
|
* mod_pubsub: Handle optional item (thanks jonasw)Kim Alvefur2018-06-281-2/+5
| | | | | The ‘item’ argument is optional, so it needs to handle it not being included, or util.stanza will throw an error in add_child
* mod_pubsub: Apply normalization to JIDs retrieved from attributesKim Alvefur2018-06-261-0/+4
|
* mod_pubsub: Handle :set_affiliation errors (not completely in line with the XEP)Kim Alvefur2018-06-261-0/+6
|