Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mod_pubsub: Split line in config check to improve readability | Kim Alvefur | 2018-12-23 | 1 | -1/+2 |
| | | | | Also makes it easier to compare with mod_pep | ||||
* | mod_pubsub: Change order of luacheck directives to match arguments they apply to | Kim Alvefur | 2018-12-23 | 1 | -1/+1 |
| | |||||
* | mod_pubsub: Add semicolon (code style) | Kim Alvefur | 2018-12-23 | 1 | -1/+1 |
| | |||||
* | pubsub: Set pubsub#title as name attribute in disco#items (fixes #1226) | Kim Alvefur | 2018-10-30 | 1 | -1/+1 |
| | |||||
* | mod_pubsub: Fix summary generation for Atom entries to use the correct field | Kim Alvefur | 2018-08-31 | 1 | -1/+1 |
| | |||||
* | mod_pubsub: Add support for thin notifications (without the full payload) | Kim Alvefur | 2018-08-16 | 1 | -0/+3 |
| | |||||
* | mod_pubsub: Only attach publisher on normal "item" broadcasts | Kim Alvefur | 2018-08-16 | 1 | -2/+4 |
| | | | | The 'publisher' is only on <item> in the schema. | ||||
* | mod_pubsub: Prepare to support turning notifications off for each kind of ↵ | Kim Alvefur | 2018-08-16 | 1 | -0/+5 |
| | | | | broadcast | ||||
* | util.pubsub: Pass "retract" as the type of such broadcasts | Kim Alvefur | 2018-08-16 | 1 | -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 Wild | 2018-08-08 | 1 | -78/+0 |
| | | | | util.pubsub to avoid duplication | ||||
* | mod_pubsub, mod_pep: The "restricted" affiliation should be allowed to be ↵ | Kim Alvefur | 2018-08-06 | 1 | -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 affiliations | Kim Alvefur | 2018-08-05 | 1 | -0/+2 |
| | | | | | | Like ca5228a7d907 did for mod_pep Thanks pep. | ||||
* | mod_pubsub: Add a public method for retrieving the service object | Kim Alvefur | 2018-08-05 | 1 | -0/+4 |
| | | | | There is already a set_service() | ||||
* | mod_pubsub: Add comment to document nodestore/itemstore methods | Matthew Wild | 2018-08-04 | 1 | -0/+14 |
| | |||||
* | mod_pubsub: Restrict access model to 'whitelist' and 'open' | Kim Alvefur | 2018-08-04 | 1 | -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 items | Kim Alvefur | 2018-08-04 | 1 | -0/+9 |
| | | | | Like aefb96a52f5f | ||||
* | mod_pubsub: Make generation of notification body into an event to allow ↵ | Kim Alvefur | 2018-07-14 | 1 | -11/+17 |
| | | | | extensibility | ||||
* | mod_pubsub: Skip checks for adding body if no body generated | Kim Alvefur | 2018-07-14 | 1 | -1/+1 |
| | |||||
* | mod_pubsub: Remove unneeded stanza API call | Kim Alvefur | 2018-07-14 | 1 | -1/+0 |
| | |||||
* | mod_pubsub: Move include_body option into subscription options | Kim Alvefur | 2018-07-14 | 1 | -6/+11 |
| | |||||
* | mod_pubsub: Move service discovery to pubsub.lib to allow reuse | Kim Alvefur | 2018-07-06 | 1 | -17/+2 |
| | |||||
* | mod_pubsub: Remove feature flag for data persistence since node config is ↵ | Kim Alvefur | 2018-07-01 | 1 | -9/+0 |
| | | | | now persistent | ||||
* | mod_pubsub: Handle optional item (thanks jonasw) | Kim Alvefur | 2018-06-28 | 1 | -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 payloads | Kim Alvefur | 2018-05-21 | 1 | -0/+20 |
| | | | | See https://xmpp.org/extensions/xep-0060.html#impl-body | ||||
* | mod_pubsub: Make the 'type' attribute on broadcast messages configurable | Kim Alvefur | 2018-05-21 | 1 | -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 messages | Kim Alvefur | 2018-05-21 | 1 | -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 method | Kim Alvefur | 2018-05-21 | 1 | -5/+1 |
| | |||||
* | mod_pubsub: Reject publishing of non-items | Kim Alvefur | 2018-03-21 | 1 | -0/+5 |
| | |||||
* | mod_pubsub: Ignore unused parameter [luacheck] | Matthew Wild | 2018-02-02 | 1 | -1/+1 |
| | |||||
* | mod_pubsub: Add nodestore to service configuration | Matthew Wild | 2018-02-02 | 1 | -0/+3 |
| | |||||
* | mod_pubsub: Some variable renames for clarity | Matthew Wild | 2018-02-02 | 1 | -5/+5 |
| | |||||
* | mod_pubsub: Move service feature dection to pubsub.lib to allow reuse | Kim Alvefur | 2017-10-18 | 1 | -26/+2 |
| | |||||
* | mod_pep_plus, mod_pubsub: Remove unused reference to pubsub.lib handlers ↵ | Kim Alvefur | 2017-10-18 | 1 | -1/+0 |
| | | | | [luacheck] | ||||
* | mod_pubsub: Add support for Create and Configure | Kim Alvefur | 2017-10-18 | 1 | -1/+1 |
| | |||||
* | mod_pubsub: Move dispatch function into pubsub.lib | Kim Alvefur | 2017-10-18 | 1 | -12/+1 |
| | |||||
* | mod_pubsub: Fix feature advertising of config-node and retrieve-default | Kim Alvefur | 2017-10-17 | 1 | -2/+2 |
| | | | | It confused pubsub.lib handler names with util.pubsub service methods | ||||
* | mod_pubsub: Remove expose_publisher argument since it is handled in broadcaster | Kim Alvefur | 2017-10-17 | 1 | -1/+1 |
| | |||||
* | mod_pubsub, mod_pep_plus: Rename simple_itemstore to reflect that it's based ↵ | Kim Alvefur | 2017-10-12 | 1 | -1/+1 |
| | | | | on archive storage | ||||
* | mod_pubsub: Hide item persistence behind option (at least until affiliations ↵ | Kim Alvefur | 2017-10-09 | 1 | -0/+9 |
| | | | | are also persisted) | ||||
* | mod_pubsub: Restore persistence with one archive per node | Kim Alvefur | 2017-10-09 | 1 | -8/+1 |
| | |||||
* | mod_pubsub: Comment out data persistence for now (weird without config ↵ | Kim Alvefur | 2017-09-13 | 1 | -0/+6 |
| | | | | persistence) | ||||
* | mod_pubsub: Pass 'user' to simple_itemstore | Kim Alvefur | 2017-04-26 | 1 | -1/+1 |
| | |||||
* | mod_pubsub: Add item persistence using mod_storage_*?s archive store. | Emmanuel Gil Peyrot | 2017-04-15 | 1 | -0/+7 |
| | |||||
* | mod_pubsub: Fix a few warnings [luacheck] | Emmanuel Gil Peyrot | 2017-04-14 | 1 | -7/+6 |
| | |||||
* | mod_pubsub: Fix syntax error introduced in 241f02bd66ce | Matthew Wild | 2017-03-17 | 1 | -1/+1 |
| | |||||
* | mod_pubsub: Rely on type checking in module API | Kim Alvefur | 2017-03-16 | 1 | -2/+1 |
| | |||||
* | Backed out changeset f1af4edd5722, doesn't work as intended (node is the ↵ | Kim Alvefur | 2016-10-18 | 1 | -5/+1 |
| | | | | name of the node and always present) | ||||
* | plugins: Explicitly return to halt event propagation (session.send sometimes ↵ | Kim Alvefur | 2015-09-21 | 1 | -1/+2 |
| | | | | does not return true) | ||||
* | mod_pubsub: Add option for default affiliation of non-existent nodes (thanks ↵ | Kim Alvefur | 2015-05-05 | 1 | -1/+5 |
| | | | | Flow) | ||||
* | mod_pubsub: Add support for including the publisher in item broadcasts | Philipp Hancke | 2014-11-20 | 1 | -1/+5 |
| |