aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub
Commit message (Collapse)AuthorAgeFilesLines
* 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()
* 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
|
* mod_pubsub: Support for setting affiliations (#622)Kim Alvefur2018-06-261-2/+11
|
* mod_pubsub: Add boilerplate for changing affiliationsKim Alvefur2018-06-261-2/+19
|
* mod_pubsub: Add the list of affiliations to replyKim Alvefur2018-06-261-0/+4
|
* mod_pubsub: Retrieve the node objectKim Alvefur2018-06-261-0/+6
|
* mod_pubsub: Boilerplate checks for affiliation retrievalKim Alvefur2018-06-261-1/+17
|
* mod_pubsub: Add stubs for affiliation handlingKim Alvefur2018-06-261-0/+9
|
* mod_pubsub: Add support for parsing subscription options form (no options ↵Kim Alvefur2018-05-231-3/+9
| | | | | | | supported yet) This was actually to silence luacheck warnings options andoptions_tag variables.
* mod_pubsup: Ignore unused 'self' argument [luacheck]Kim Alvefur2018-05-231-1/+1
|
* mod_pubsub: Fix syntax errorKim Alvefur2018-05-231-0/+1
|
* mod_pubsub: Add support for generation of a plain text <body> from Atom payloadsKim Alvefur2018-05-212-0/+27
| | | | See https://xmpp.org/extensions/xep-0060.html#impl-body
* mod_pubsub: Make the 'type' attribute on broadcast messages configurableKim Alvefur2018-05-212-3/+15
| | | | | This adds support for the pubsub#notification_type field in the node config form.
* mod_pubsub: Set an id attribute on outgoing event messagesKim Alvefur2018-05-211-1/+4
| | | | | | | https://xmpp.org/extensions/xep-0060.html#impl-bounce > a pubsub service SHOULD ensure that the <message/> stanza for each > event notification it generates possesses an 'id' attribute with a > value
* mod_pubsub: Use moduleapi broadcast methodKim Alvefur2018-05-211-5/+1
|
* mod_pubsub: Reject publishing of non-itemsKim Alvefur2018-03-211-0/+5
|
* mod_pubsub: Ignore unused parameter [luacheck]Matthew Wild2018-02-021-1/+1
|