Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
| * | 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() | ||||
* | | pubsub.lib: auto-create node with publish-options if autocreation is enabled | Jonas Wielicki | 2018-08-05 | 1 | -2/+12 |
| | | |||||
* | | pubsub.lib: ignore FORM_TYPE field in config_from_xep0060 | Jonas Wielicki | 2018-08-05 | 1 | -1/+1 |
|/ | |||||
* | mod_pubsub: Rename variable subscription options form to improve readability | Kim Alvefur | 2018-08-05 | 1 | -4/+4 |
| | | | | "options_form" ... options for what? | ||||
* | pubsub.lib: Support for publish-options behind a feature flag, ↵ | Matthew Wild | 2018-08-05 | 1 | -24/+70 |
| | | | | 'enable_publish_options' | ||||
* | pubsub.lib: Add support for precondition-not-met error | Matthew Wild | 2018-08-04 | 1 | -0/+1 |
| | |||||
* | pubsub.lib: Advertise peristent-items feature when nodes and items are persisted | Matthew Wild | 2018-08-04 | 1 | -0/+4 |
| | |||||
* | mod_pubsub: Add comment to document nodestore/itemstore methods | Matthew Wild | 2018-08-04 | 1 | -0/+14 |
| | |||||
* | mod_pubsub: Advertise default access model in disco | Kim Alvefur | 2018-08-04 | 1 | -0/+4 |
| | |||||
* | 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: Add access model to configuration form | Kim Alvefur | 2018-08-04 | 1 | -0/+14 |
| | |||||
* | pubsub.lib: Support for not-acceptable error | Matthew Wild | 2018-08-01 | 1 | -0/+1 |
| | |||||
* | mod_pubsub: Enforce max_items on insertion | Kim Alvefur | 2018-07-31 | 1 | -0/+4 |
| | |||||
* | 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: Add support for changing subscription options | Kim Alvefur | 2018-07-14 | 1 | -0/+30 |
| | |||||
* | mod_pubsub: Add support for retrieving subscription options | Kim Alvefur | 2018-07-14 | 1 | -0/+20 |
| | |||||
* | mod_pubsub: Move include_body option into subscription options | Kim Alvefur | 2018-07-14 | 2 | -15/+17 |
| | |||||
* | mod_pubsub: Revert disco#info part from previous commit | Kim Alvefur | 2018-07-14 | 1 | -1/+4 |
| | |||||
* | mod_pubsub: Refactor translation to/from XEP-0060-specific node ↵ | Kim Alvefur | 2018-07-14 | 1 | -30/+28 |
| | | | | configuration format | ||||
* | mod_pubsub: Add support for modifying subscriptions | Kim Alvefur | 2018-07-13 | 1 | -0/+38 |
| | | | | https://xmpp.org/extensions/xep-0060.html#owner-subscriptions-modify | ||||
* | mod_pubsub: Add support for owner subscription retrieval | Kim Alvefur | 2018-07-13 | 1 | -0/+17 |
| | | | | https://xmpp.org/extensions/xep-0060.html#owner-subscriptions-retrieve | ||||
* | mod_pubsub: Update max_items on resize (fixes #1082) | Kim Alvefur | 2018-07-10 | 1 | -0/+1 |
| | |||||
* | mod_pubsub: Cache only max_items to avoid holding reference to possibly ↵ | Kim Alvefur | 2018-07-10 | 1 | -1/+2 |
| | | | | | | outdated config Only max_items is used anyways | ||||
* | mod_pubsub: Advertise title and description in disco#info | Kim Alvefur | 2018-07-06 | 1 | -0/+22 |
| | |||||
* | mod_pubsub: Move service discovery to pubsub.lib to allow reuse | Kim Alvefur | 2018-07-06 | 2 | -17/+26 |
| | |||||
* | mod_pubsub: Support configurable title and description fields | Kim Alvefur | 2018-07-06 | 1 | -0/+14 |
| | |||||
* | mod_pubsub: Translate missing fields into node config | Kim Alvefur | 2018-07-06 | 1 | -0/+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: Make pubsub.lib aware of internal-server-error condition | Kim Alvefur | 2018-07-01 | 1 | -0/+1 |
| | |||||
* | 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: Apply normalization to JIDs retrieved from attributes | Kim Alvefur | 2018-06-26 | 1 | -0/+4 |
| | |||||
* | mod_pubsub: Handle :set_affiliation errors (not completely in line with the XEP) | Kim Alvefur | 2018-06-26 | 1 | -0/+6 |
| |