aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub/mod_pubsub.lua
Commit message (Collapse)AuthorAgeFilesLines
* Merge 0.11->trunkKim Alvefur2020-11-061-1/+1
|\
| * mod_pubsub: Fix notification stanza type setting (fixes #1605)Kim Alvefur2020-11-061-1/+1
| |
* | Merge 0.11->trunkKim Alvefur2020-11-051-5/+6
|\ \ | |/ |/|
| * mod_pubsub: Comment on itemstore typeKim Alvefur2020-10-251-1/+1
| |
| * Merge 0.11->trunkKim Alvefur2020-02-271-1/+1
| |\
| * | mod_pubsub: Move a comment to where it makes senseKim Alvefur2019-07-101-1/+1
| | | | | | | | | | | | This code has moved but the comment did not follow it.
| * | Merge 0.11->trunkKim Alvefur2019-02-221-1/+3
| |\ \
| * | | mod_pubsub: Split line in config check to improve readabilityKim Alvefur2018-12-231-1/+2
| | | | | | | | | | | | | | | | Also makes it easier to compare with mod_pep
| * | | mod_pubsub: Change order of luacheck directives to match arguments they apply toKim Alvefur2018-12-231-1/+1
| | | |
| * | | mod_pubsub: Add semicolon (code style)Kim Alvefur2018-12-231-1/+1
| | | |
* | | | mod_pubsub: Lower priority of default <body> generatorKim Alvefur2020-11-051-1/+1
| |_|/ |/| | | | | | | | | | | | | | | | | in order to avoid conflict with a handler at the default (0) priority, making it easier to write your own formatting in plugins. this follows the common pattern of default modules having lower priority
* | | mod_pubsub, mod_pep: Ensure correct number of children of <item/> (fixes #1496)Kim Alvefur2020-02-271-1/+1
| |/ |/|
* | mod_pubsub: Simplify configuration for node data (see #1302)Kim Alvefur2019-02-221-1/+3
|/
* pubsub: Set pubsub#title as name attribute in disco#items (fixes #1226)Kim Alvefur2018-10-301-1/+1
|
* mod_pubsub: Fix summary generation for Atom entries to use the correct fieldKim Alvefur2018-08-311-1/+1
|
* mod_pubsub: Add support for thin notifications (without the full payload)Kim Alvefur2018-08-161-0/+3
|
* 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: Prepare to support turning notifications off for each kind of ↵Kim Alvefur2018-08-161-0/+5
| | | | broadcast
* 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
* 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: Add comment to document nodestore/itemstore methodsMatthew Wild2018-08-041-0/+14
|
* 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: 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: Move include_body option into subscription optionsKim Alvefur2018-07-141-6/+11
|
* mod_pubsub: Move service discovery to pubsub.lib to allow reuseKim Alvefur2018-07-061-17/+2
|
* mod_pubsub: Remove feature flag for data persistence since node config is ↵Kim Alvefur2018-07-011-9/+0
| | | | now persistent
* 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: Add support for generation of a plain text <body> from Atom payloadsKim Alvefur2018-05-211-0/+20
| | | | See https://xmpp.org/extensions/xep-0060.html#impl-body
* mod_pubsub: Make the 'type' attribute on broadcast messages configurableKim Alvefur2018-05-211-2/+4
| | | | | 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
|
* mod_pubsub: Add nodestore to service configurationMatthew Wild2018-02-021-0/+3
|
* mod_pubsub: Some variable renames for clarityMatthew Wild2018-02-021-5/+5
|
* mod_pubsub: Move service feature dection to pubsub.lib to allow reuseKim Alvefur2017-10-181-26/+2
|
* mod_pep_plus, mod_pubsub: Remove unused reference to pubsub.lib handlers ↵Kim Alvefur2017-10-181-1/+0
| | | | [luacheck]
* mod_pubsub: Add support for Create and ConfigureKim Alvefur2017-10-181-1/+1
|
* mod_pubsub: Move dispatch function into pubsub.libKim Alvefur2017-10-181-12/+1
|
* mod_pubsub: Fix feature advertising of config-node and retrieve-defaultKim Alvefur2017-10-171-2/+2
| | | | It confused pubsub.lib handler names with util.pubsub service methods
* mod_pubsub: Remove expose_publisher argument since it is handled in broadcasterKim Alvefur2017-10-171-1/+1
|
* mod_pubsub, mod_pep_plus: Rename simple_itemstore to reflect that it's based ↵Kim Alvefur2017-10-121-1/+1
| | | | on archive storage
* mod_pubsub: Hide item persistence behind option (at least until affiliations ↵Kim Alvefur2017-10-091-0/+9
| | | | are also persisted)
* mod_pubsub: Restore persistence with one archive per nodeKim Alvefur2017-10-091-8/+1
|