Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.pubsub, pubsub.lib and tests: Add text to precondition-not-met error ↵ | Matthew Wild | 2019-10-27 | 1 | -0/+4 |
| | | | | (fixes #1455) | ||||
* | mod_pubsub: Remove the unwanted check for @notify on <purge/>. | Emmanuel Gil Peyrot | 2019-09-28 | 1 | -3/+2 |
| | | | | | | This most likely was copied from the handling of <retract/>, where it actually is required by the spec (XEP-0060 ?7.2.2.1), but this attribute doesn?t exist for purge. | ||||
* | mod_pubsub: Eliminate dead code | Kim Alvefur | 2019-07-25 | 1 | -8/+3 |
| | | | | `data` is a stanza and always truthy | ||||
* | mod_pubsub: Move a comment to where it makes sense | Kim Alvefur | 2019-07-10 | 1 | -1/+1 |
| | | | | This code has moved but the comment did not follow it. | ||||
* | mod_pubsub: Expose pubsub#access_model and pubsub#publish_model (fixes #1387) | Kim Alvefur | 2019-07-06 | 1 | -0/+10 |
| | |||||
* | Merge 0.11->trunk | Kim Alvefur | 2019-02-22 | 1 | -1/+3 |
|\ | |||||
| * | mod_pubsub: Simplify configuration for node data (see #1302) | Kim Alvefur | 2019-02-22 | 1 | -1/+3 |
| | | |||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-01-28 | 1 | -3/+9 |
|\| | |||||
| * | mod_pubsub: Support requests for multiple items (fixes #1305) | Kim Alvefur | 2019-01-28 | 1 | -3/+9 |
| | | |||||
* | | 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: Exclude value of FORM_TYPE from stored data | Kim Alvefur | 2018-09-07 | 1 | -3/+3 |
| | |||||
* | mod_pubsub: Fix dataforms error handling | Kim Alvefur | 2018-09-01 | 1 | -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 integer | Kim Alvefur | 2018-09-01 | 1 | -0/+1 |
| | |||||
* | mod_pubsub: Use field mapping in util.dataforms | Kim Alvefur | 2018-09-01 | 1 | -75/+30 |
| | |||||
* | mod_pubsub: Preserve current subscription options if given a partial form | Kim Alvefur | 2018-08-31 | 1 | -1/+2 |
| | |||||
* | mod_pubsub: Fix summary generation for Atom entries to use the correct field | Kim Alvefur | 2018-08-31 | 1 | -1/+1 |
| | |||||
* | mod_pubsub: Add missing default value for deliver_payloads | Kim Alvefur | 2018-08-19 | 1 | -0/+1 |
| | |||||
* | mod_pubsub: Fix boolean value in form | Kim Alvefur | 2018-08-19 | 1 | -1/+1 |
| | |||||
* | mod_pubsub: Add a semicolon for consistency | Kim Alvefur | 2018-08-19 | 1 | -1/+1 |
| | |||||
* | util.pubsub, pubsub.lib: Improve error on attempt to publish invalid item | Matthew Wild | 2018-08-18 | 1 | -0/+1 |
| | |||||
* | Pubsub: Add tests for :get_last_item() and fix for non-persistent nodes | Matthew Wild | 2018-08-18 | 1 | -2/+2 |
| | |||||
* | pubsub.lib, util.pubsub: Move precondition checks to util.pubsub | Matthew Wild | 2018-08-18 | 1 | -31/+3 |
| | |||||
* | mod_pubsub: Advertise support for subscription-options | Kim Alvefur | 2018-08-18 | 1 | -1/+1 |
| | | | | Initial support was added in d614003a82c1 | ||||
* | mod_pubsub: Advertise support for node meta-data | Kim Alvefur | 2018-08-18 | 1 | -1/+1 |
| | | | | Node metadata in disco initially added in b6cb0a8f75b1 | ||||
* | mod_pubsub: Add support for thin notifications (without the full payload) | Kim Alvefur | 2018-08-16 | 2 | -0/+10 |
| | |||||
* | 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: Use the correct form field | Kim Alvefur | 2018-08-16 | 1 | -3/+3 |
| | |||||
* | mod_pubsub: Specify defaults for notification settings | Kim Alvefur | 2018-08-16 | 1 | -0/+3 |
| | |||||
* | mod_pubsub: Make notification of item retraction configurable | Kim Alvefur | 2018-08-16 | 1 | -0/+7 |
| | |||||
* | mod_pubsub: Make notification of node deletion configurable | Kim Alvefur | 2018-08-16 | 1 | -0/+7 |
| | |||||
* | mod_pubsub: Add support for "quiet nodes" (disabling notifications) | Kim Alvefur | 2018-08-16 | 1 | -0/+7 |
| | |||||
* | mod_pubsub: Prepare to support turning notifications off for each kind of ↵ | Kim Alvefur | 2018-08-16 | 1 | -0/+5 |
| | | | | broadcast | ||||
* | mod_pubsub: Add payload type metadata field | Kim Alvefur | 2018-08-13 | 1 | -0/+12 |
| | |||||
* | 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 | ||||
* | pubsub.lib: fix more form fields | Jonas Wielicki | 2018-08-06 | 1 | -3/+3 |
| | |||||
* | Merge jonasw->trunk | Kim Alvefur | 2018-08-06 | 1 | -5/+5 |
|\ | |||||
| * | pubsub.lib: correctly emit data form fields | Jonas Wielicki | 2018-08-06 | 1 | -5/+5 |
| | | |||||
* | | pubsub.lib: Enable publish-options unconditionally | Matthew Wild | 2018-08-06 | 1 | -4/+2 |
| | | |||||
* | | pubsub.lib: Add support for pubsub#publish_model | Matthew Wild | 2018-08-06 | 1 | -0/+12 |
| | | |||||
* | | pubsub.lib: Code formatting change | Matthew Wild | 2018-08-06 | 1 | -5/+5 |
| | | |||||
* | | pubsub.lib: Add comment about tonumber hack | Matthew Wild | 2018-08-06 | 1 | -0/+3 |
| | | |||||
* | | pubsub.lib: Enable publish-options by default | Matthew Wild | 2018-08-06 | 1 | -1/+1 |
| | | |||||
* | | Merge with jonasw | Matthew Wild | 2018-08-06 | 2 | -10/+15 |
|\ \ | |/ |/| | |||||
| * | mod_pubsub: Pass the current values to dataforms | Kim Alvefur | 2018-08-05 | 1 | -1/+6 |
| | | |||||
| * | mod_pubsub: Use util.pubsub API for retrieving node config instead | Kim Alvefur | 2018-08-05 | 1 | -9/+3 |
| | | | | | | | | | | | | Normalizes access control to the 'get_configuration' capability Thanks pep. |